emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] how putting \begin{document} at the right place to export a spec


From: Joseph Vidal-Rosset
Subject: Re: [O] how putting \begin{document} at the right place to export a specific latex class ?
Date: Mon, 11 Jun 2018 16:16:45 +0200

Thank you John. Therefore I am afraid I will have to give up the export of this latex class. Too bad.

Jo.

2018-06-11 16:01 GMT+02:00 John Kitchin <address@hidden>:
It looks like that is probably not possible.  By your description, everything after \\pagestyle{myheadings}\\markboth{Author}{Title of the paper} belongs in the document, and this variable is for setting the header.

 \\LaLPonline{??} \\setcounter{page}{1} \\thispagestyle{LLPrrobezissn}
\\label{p} should probably go in your org file as the first line.

John

-----------------------------------
Professor John Kitchin 
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803

On Mon, Jun 11, 2018 at 5:42 AM, Joseph Vidal-Rosset <address@hidden> wrote:
Hello,

Here  is my  problem: for  a specific  latex class  (xxllp.cls), I  have
difficulties  to get  the \begin{document}  at the  right place  in this
add-to-list:

(add-to-list 'org-latex-classes
             '("xxllp"
               "\\documentclass\[oumk,xs]\{xxllp\}
 [NO-DEFAULT-PACKAGES]
 [NO-PACKAGES]
\\usepackage{amsmath}
\\usepackage{amssymb}
\\usepackage{blabla}
\\usepackage{blablabla}   
\\pagestyle{myheadings}\\markboth{Author}{Title of the paper}
               \\LaLPonline{??} \\setcounter{page}{1} \\thispagestyle{LLPrrobezissn} \\label{p}
\\AuthorTitle{Joseph Vidal-Rosset}{\\uppercase{Title of the paper}}"
               ("\\section\{%s\} . \\section*\{%s\}")
               ("\\subsection\{%s\} . \\subsection*\{%s\}")
               ))


For this class, the \begin{document} should be just after
\\pagestyle{myheadings}\\markboth{Author}{Title of the paper}
and just before
 \\LaLPonline{??} \\setcounter{page}{1} \\thispagestyle{LLPrrobezissn}
\\label{p}

but because I do not understand  clearly the syntax of the function, I
do not succeed and the export does not work correctly.

Any suggestion?

--
Joseph




reply via email to

[Prev in Thread] Current Thread [Next in Thread]