emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
To: emacs-orgmode list <emacs-orgmode@gnu.org>
Subject: how putting \begin{document} at the right place to export a specific latex class ?
Date: Mon, 11 Jun 2018 14:42:23 +0200	[thread overview]
Message-ID: <87muw1a40g.fsf@gmail.com> (raw)

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	other threads:[~2018-06-11 12:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-11 12:42 Joseph Vidal-Rosset [this message]
2018-06-11 14:01 ` how putting \begin{document} at the right place to export a specific latex class ? John Kitchin
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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87muw1a40g.fsf@gmail.com \
    --to=joseph.vidal.rosset@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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 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).