emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marvin Doyley <marvinpas@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Tweaking org-laxtex-export-classes
Date: Thu, 21 Oct 2010 09:46:47 -0400	[thread overview]
Message-ID: <AANLkTin+_mgkcMm4pnHd_1e=AJ3bRUjBZ9F6X7HQ8FJW@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1384 bytes --]

Dear all,

I am planning to write an article using org - most of my notes are =
already in org so this seems logical.  The journal that I plan to submit =
to  provides latex  class so it just a matter of customizing  =
org-export-latex-classes, which I have done=20

(add-to-list 'org-export-latex-classes=20
 '("pmb"
"\\documentclass[t]{iopart}
\\usepackage{graphicx}
\\usepackage{graphics}
\\usepackage{amssymb,amsmath}
\\usepackage{calc}
\\usepackage{harvard}
\\usepackage{apacite}
\\bibliographystyle{apacite}
[NO-DEFAULT-PACKAGES]
\\renewcommand{\\baselinestretch}{1.5}"
   ("\\section{%s}" . "\\section*{%s}")
   ("\\subsection{%s}" . "\\subsection*{%s}")
   ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
   ("\\paragraph{%s}" . "\\paragraph*{%s}")
   ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))


Although this work almost perfect, I can figure out how get the exporter =
to  to produce (i.e., I want the title, author, address,  and \maketilte =
after the begin{document} rather than before

\HEADERS
\begin{document}
\title{BLAH BLAH BLAY}
\author{ME}
\address{WWW}

\begin{abstract}
Testing one to
\end{abstract}
\maketitle

\section{Introduction}
\section{Materials and methods}
\section{Results}
\section{Discussion}

\end{document}

My short term fix  is to simple cut and paste, but it would be nice to =
know if there is more elegant solution


Best Wishes,

M

[-- Attachment #1.2: Type: text/html, Size: 1691 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

             reply	other threads:[~2010-10-21 13:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-21 13:46 Marvin Doyley [this message]
2010-10-22 16:51 ` Tweaking org-laxtex-export-classes Chris Malone
2010-10-23 17:09   ` Marvin Doyley

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='AANLkTin+_mgkcMm4pnHd_1e=AJ3bRUjBZ9F6X7HQ8FJW@mail.gmail.com' \
    --to=marvinpas@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).