emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Tweaking org-laxtex-export-classes
@ 2010-10-21 13:46 Marvin Doyley
  2010-10-22 16:51 ` Chris Malone
  0 siblings, 1 reply; 3+ messages in thread
From: Marvin Doyley @ 2010-10-21 13:46 UTC (permalink / raw)
  To: emacs-orgmode


[-- 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-23 17:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-21 13:46 Tweaking org-laxtex-export-classes Marvin Doyley
2010-10-22 16:51 ` Chris Malone
2010-10-23 17:09   ` Marvin Doyley

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).