|
| From: | Mark Elston |
| Subject: | Re: [Orgmode] Re: IMPORTANT: (possibly) incompatible Change |
| Date: | Sun, 04 Apr 2010 12:44:09 -0700 |
| User-agent: | Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
Henri, On 4/4/2010 10:36 AM, Henri-Paul Indiogine wrote:
Carsten Dominik<address@hidden> writes:OK, you can now specify the position where the usepackage definitions should appear in your header by putting the string [PACKAGES] into the header definition in org-export-latex-classes. Default (if you do not include this placeholder) is at the end.Sorry, but I am totally confused now. I want my packages defined in org-export-latex-classes at the end of the LaTeX file preamble. So, according to your instructions, if I understand them correctly, I should not use this [PACKAGES] string. But, when I generate the tex file the packages from org-export-latex-classes are at the top of my preamble not at the end. Basically, I would like to have the packages in the following order: 1. org-export-latex-default-packages-alist 2. org-export-latex-packages-alist 3. org-export-latex-classes Sorry for being so dense, but I am really trying to understand.
I didn't see Carsten's notice on this but I think what he is getting at
is that the [PACKAGES] directive will put the items from
org-export-latex-default-packages-alist and
org-export-latex-packages-alist in the output *in place of* the
[PACKAGES] string. All the things in your org-export-latex-classes
will appear as you have them.
So, say your class looks like this:
"\\documentclass[letter,twoside,openright]{memoir}
\\usepackage{varioref}
\\usepackage{shorttoc}
\\usepackage{color}
...
[PACKAGES]"
What I expect to see is all the stuff from
org-export-latex-default-packages-alist and
org-export-latex-packages-alist at the end of your preamble.
If, OTOH, you put the [PACKAGES] before any of your other usepackage
commands, then you would get the stuff from
org-export-latex-default-packages-alist and
org-export-latex-packages-alist just after the documentclass line.
Does that sound right?
Mark
| [Prev in Thread] | Current Thread | [Next in Thread] |