emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to handle titles for latex export, multiple subtrees in a single file?
@ 2010-10-20 21:29 Alan E. Davis
  2010-10-20 22:04 ` Thomas S. Dye
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alan E. Davis @ 2010-10-20 21:29 UTC (permalink / raw)
  To: org-mode


[-- Attachment #1.1: Type: text/plain, Size: 363 bytes --]

I am keeping large files, with multiple subtrees, in accordance with
recommendations/suggestions.  A common roadblock for he has been that a
#+TITLE directive in a file is not local to a subtree, at least so far as I
have figured out.

What is a best practice for keeping multiple subtrees with individual titles
for export?

Thank you for any suggestions,

Alan

[-- Attachment #1.2: Type: text/html, Size: 393 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to handle titles for latex export, multiple subtrees in a single file?
  2010-10-20 21:29 How to handle titles for latex export, multiple subtrees in a single file? Alan E. Davis
@ 2010-10-20 22:04 ` Thomas S. Dye
  2010-10-20 23:04 ` Nick Dokos
  2010-10-21  2:07 ` Matt Lundin
  2 siblings, 0 replies; 6+ messages in thread
From: Thomas S. Dye @ 2010-10-20 22:04 UTC (permalink / raw)
  To: Alan E. Davis; +Cc: org-mode


[-- Attachment #1.1: Type: text/plain, Size: 626 bytes --]


On Oct 20, 2010, at 11:29 AM, Alan E. Davis wrote:

> I am keeping large files, with multiple subtrees, in accordance with  
> recommendations/suggestions.  A common roadblock for he has been  
> that a #+TITLE directive in a file is not local to a subtree, at  
> least so far as I have figured out.
>
> What is a best practice for keeping multiple subtrees with  
> individual titles for export?
>
> Thank you for any suggestions,
>
> Alan

Hi Alan,

Does Nick Dokos' idea how to redefine \maketitle{} have a possible  
application here?

http://orgmode.org/worg/org-tutorials/org-latex-export.php#sec-11

All the best,
Tom

[-- Attachment #1.2: Type: text/html, Size: 1029 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to handle titles for latex export, multiple subtrees in a single file?
  2010-10-20 21:29 How to handle titles for latex export, multiple subtrees in a single file? Alan E. Davis
  2010-10-20 22:04 ` Thomas S. Dye
@ 2010-10-20 23:04 ` Nick Dokos
  2010-10-20 23:09   ` Nick Dokos
  2010-10-21  2:07 ` Matt Lundin
  2 siblings, 1 reply; 6+ messages in thread
From: Nick Dokos @ 2010-10-20 23:04 UTC (permalink / raw)
  To: Alan E. Davis; +Cc: nicholas.dokos, org-mode

Alan E. Davis <lngndvs@gmail.com> wrote:


> I am keeping large files, with multiple subtrees, in accordance with
> recommendations/suggestions.  A common roadblock for he has been that a
> #+TITLE directive in a file is not local to a subtree, at least so far as I
> have figured out.
> 
> What is a best practice for keeping multiple subtrees with individual titles
> for export?
> 

I don't understand: if you export an individual subtree, say to LaTeX,
with C-c e 1 l, the title of the document is taken from the subtree
heading.  The #+TITLE option applies only when you export the whole file. Is
that not enough? Or is that not how it works for you? In which case, more detail
is required.

Nick

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to handle titles for latex export, multiple subtrees in a single file?
  2010-10-20 23:04 ` Nick Dokos
@ 2010-10-20 23:09   ` Nick Dokos
  0 siblings, 0 replies; 6+ messages in thread
From: Nick Dokos @ 2010-10-20 23:09 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: org-mode

Nick Dokos <nicholas.dokos@hp.com> wrote:


> I don't understand: if you export an individual subtree, say to LaTeX,
> with C-c e 1 l, ...

That should be

       C-c C-e 1 l

Sorry about that,
Nick

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to handle titles for latex export, multiple subtrees in a single file?
  2010-10-20 21:29 How to handle titles for latex export, multiple subtrees in a single file? Alan E. Davis
  2010-10-20 22:04 ` Thomas S. Dye
  2010-10-20 23:04 ` Nick Dokos
@ 2010-10-21  2:07 ` Matt Lundin
  2010-10-21  3:41   ` Nick Dokos
  2 siblings, 1 reply; 6+ messages in thread
From: Matt Lundin @ 2010-10-21  2:07 UTC (permalink / raw)
  To: Alan E. Davis; +Cc: org-mode

"Alan E. Davis" <lngndvs@gmail.com> writes:

> I am keeping large files, with multiple subtrees, in accordance with
> recommendations/suggestions.  A common roadblock for he has been that a
> #+TITLE directive in a file is not local to a subtree, at least so far
> as I have figured out. 
>
> What is a best practice for keeping multiple subtrees with individual
> titles for export?
>

If you use C-c C-e 1, or C-c @ C-c C-e, the heading of the subtree is
exported as the title. But you can also set a title explicitly with the
EXPORT_TITLE property:

,----[ (info "(org) Export options") ]
|    When exporting only a single subtree by selecting it with `C-c @'
| before calling an export command, the subtree can overrule some of the
| file's export settings with properties `EXPORT_FILE_NAME',
| `EXPORT_TITLE', `EXPORT_TEXT', `EXPORT_AUTHOR', `EXPORT_DATE', and
| `EXPORT_OPTIONS'.
`----

Best,
Matt

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: How to handle titles for latex export, multiple subtrees in a single file?
  2010-10-21  2:07 ` Matt Lundin
@ 2010-10-21  3:41   ` Nick Dokos
  0 siblings, 0 replies; 6+ messages in thread
From: Nick Dokos @ 2010-10-21  3:41 UTC (permalink / raw)
  To: Matt Lundin; +Cc: org-mode, nicholas.dokos

Matt Lundin <mdl@imapmail.org> wrote:

> If you use C-c C-e 1, or C-c @ C-c C-e, the heading of the subtree is
> exported as the title. But you can also set a title explicitly with the
> EXPORT_TITLE property:
> 
> ,----[ (info "(org) Export options") ]
> |    When exporting only a single subtree by selecting it with `C-c @'
> | before calling an export command, the subtree can overrule some of the
> | file's export settings with properties `EXPORT_FILE_NAME',
> | `EXPORT_TITLE', `EXPORT_TEXT', `EXPORT_AUTHOR', `EXPORT_DATE', and
> | `EXPORT_OPTIONS'.
> `----
> 

I forgot about these - thanks, Matt!

Nick

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-10-21  3:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-20 21:29 How to handle titles for latex export, multiple subtrees in a single file? Alan E. Davis
2010-10-20 22:04 ` Thomas S. Dye
2010-10-20 23:04 ` Nick Dokos
2010-10-20 23:09   ` Nick Dokos
2010-10-21  2:07 ` Matt Lundin
2010-10-21  3:41   ` Nick Dokos

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).