From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
Cc: emacs-orgmode list <emacs-orgmode@gnu.org>
Subject: Re: how putting \begin{document} at the right place to export a specific latex class ?
Date: Mon, 11 Jun 2018 07:01:57 -0700 [thread overview]
Message-ID: <CAJ51ETrQXNBkBwNKVpdcCr9GSo-fc4Hvji15sZUkdr7_X0QEmg@mail.gmail.com> (raw)
In-Reply-To: <87muw1a40g.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1884 bytes --]
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
@johnkitchin
http://kitchingroup.cheme.cmu.edu
On Mon, Jun 11, 2018 at 5:42 AM, Joseph Vidal-Rosset <
joseph.vidal.rosset@gmail.com> 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
>
>
[-- Attachment #2: Type: text/html, Size: 3575 bytes --]
next prev parent reply other threads:[~2018-06-11 14:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-11 12:42 how putting \begin{document} at the right place to export a specific latex class ? Joseph Vidal-Rosset
2018-06-11 14:01 ` John Kitchin [this message]
2018-06-11 14:16 ` Joseph Vidal-Rosset
2018-06-11 14:23 ` John Kitchin
2018-06-11 15:29 ` Joseph Vidal-Rosset
2018-06-11 16:51 ` John Kitchin
2018-06-11 19:17 ` Nick Dokos
2018-06-11 22:58 ` Tim Cross
2018-06-12 7:08 ` Joseph Vidal-Rosset
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ51ETrQXNBkBwNKVpdcCr9GSo-fc4Hvji15sZUkdr7_X0QEmg@mail.gmail.com \
--to=jkitchin@andrew.cmu.edu \
--cc=emacs-orgmode@gnu.org \
--cc=joseph.vidal.rosset@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.