emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
To: John Kitchin <jkitchin@andrew.cmu.edu>
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 16:16:45 +0200	[thread overview]
Message-ID: <CAD-VTcHeN7pChs_Lf_qaUwteZOH3jmzyaEdmQBWfk2+LyBkVjQ@mail.gmail.com> (raw)
In-Reply-To: <CAJ51ETrQXNBkBwNKVpdcCr9GSo-fc4Hvji15sZUkdr7_X0QEmg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2141 bytes --]

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 <jkitchin@andrew.cmu.edu>:

> 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: 4275 bytes --]

  reply	other threads:[~2018-06-11 14:17 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
2018-06-11 14:16   ` Joseph Vidal-Rosset [this message]
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=CAD-VTcHeN7pChs_Lf_qaUwteZOH3jmzyaEdmQBWfk2+LyBkVjQ@mail.gmail.com \
    --to=joseph.vidal.rosset@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    /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).