[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to export a single subtree but include document preamble?
From: |
Richard Stanton |
Subject: |
Re: How to export a single subtree but include document preamble? |
Date: |
Thu, 4 Apr 2024 11:11:55 -0700 |
> I don't know if this does what you want, but I use a ‘PROPERTIES’ drawer
> right below the subtree's headline and in that drawer, I put the following
> code:
>
> :EXPORT_LATEX_HEADER_EXTRA: \input{latex-preamble.tex}
>
> Scott Randby
Thanks for the suggestion!
It would still be nice (i.e., you wouldn’t have to do this for every section
you ever want to export) to have a way of specifying a line that gets executed
for EVERY (say) LaTeX export. Or else an option to do something like include
everything in the file before the first section header.