emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sven Bretfeld <sven.bretfeld@gmx.ch>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: emacs-orgmode@gnu.org
Subject: Re: Using the file as 1st level headline
Date: Sat, 19 Sep 2015 11:05:21 +0200	[thread overview]
Message-ID: <87pp1e22zy.fsf@ntnu.no> (raw)
In-Reply-To: <87zj0k5fj1.fsf@delle7240.chemeng.ucl.ac.uk>

Eric S Fraga writes:

> On Thursday, 17 Sep 2015 at 19:55, Sven Bretfeld wrote:
>
> [...]
>
> Have you looked at exporting the sub-tree?  If you define the
> appropriate EXPORT_xxx properties in the sub-tree, it should be
> equivalent to having that sub-tree as a file alone.  Check the export
> options at the top of the help window when you type "C-c C-e ?"

Hmm. Not sure how this is actually working. (By the way C-c C-e ? does
not work for me [orgmode 8.3.1 on Emacs 24.5.1, ArchLinux]). What I have
tried now:

,----test.org
| 
| * TODO Write Article on Test
| ** Title of the Article
| *** First Chapter
| **** First Section of First Chapter
|      Some Text. Some Text. Some Text. Some Text. Some Text. Some Text. Some
|      Text. Some Text. Some Text. Some Text.  Some Text. Some Text. Some
|      Text.  
| *************** NEXT Find books on tests             :@library:
| *************** END
| 
`----

This works if I export the subtree with the mark somewhere in the 2nd
line. Otherwise the export would be reduced to the subtree I'm in. The
2nd line must necessarily contain the article title. This makes the
#+TITLE header superfluous.

I could live with such a structure. Even if it means that the first
level of sectioning corresponds to the third org level. What annoys me
more, is the necessity to jump to the 2nd line of the file before doing
an export. Is there a way around this? Maybe by configuring which
subtree to export, no matter where the mark currently is? Is that what
you meant with the EXPORT property definition?

Anyway, thanks for your help. You brought me a good step further. The
rest is a matter of making the solution more convenient.

Sven

-- 
Sven Bretfeld
Department of Philosophy and Religious Studies
NTNU Trondheim

  reply	other threads:[~2015-09-19  9:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-16 16:49 Using the file as 1st level headline Sven Bretfeld
2015-09-17  9:42 ` Eric S Fraga
2015-09-17 17:55   ` Sven Bretfeld
2015-09-18  7:54     ` Eric S Fraga
2015-09-19  9:05       ` Sven Bretfeld [this message]
2015-09-19 10:25     ` Suvayu Ali
2015-09-19 10:59       ` Sven Bretfeld
2015-09-21  8:25       ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pp1e22zy.fsf@ntnu.no \
    --to=sven.bretfeld@gmx.ch \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).