From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marvin Doyley Subject: Tweaking org-laxtex-export-classes Date: Thu, 21 Oct 2010 09:46:47 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0210467489==" Return-path: Received: from [140.186.70.92] (port=49867 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8vX7-0001vV-6Z for emacs-orgmode@gnu.org; Thu, 21 Oct 2010 09:50:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8vTm-0003bR-OL for emacs-orgmode@gnu.org; Thu, 21 Oct 2010 09:46:52 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:64405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8vTm-0003bH-IZ for emacs-orgmode@gnu.org; Thu, 21 Oct 2010 09:46:50 -0400 Received: by pzk7 with SMTP id 7so1352414pzk.0 for ; Thu, 21 Oct 2010 06:46:49 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============0210467489== Content-Type: multipart/alternative; boundary=000e0cd2152edcad72049320c1dd --000e0cd2152edcad72049320c1dd Content-Type: text/plain; charset=ISO-8859-1 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 --000e0cd2152edcad72049320c1dd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear all,

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

(add-to-list 'o= rg-export-latex-classes=3D20
=A0'("pmb"
"\\documen= tclass[t]{iopart}
\\usepackage{graphicx}
\\usepackage{graphics}
\\= usepackage{amssymb,amsmath}
\\usepackage{calc}
\\usepackage{harvard}
\\usepackage{apacite}
\\b= ibliographystyle{apacite}
[NO-DEFAULT-PACKAGES]
\\renewcommand{\\base= linestretch}{1.5}"
=A0=A0 ("\\section{%s}" . "\\sect= ion*{%s}")
=A0=A0 ("\\subsection{%s}" . "\\subsection*{%s}")
= =A0=A0 ("\\subsubsection{%s}" . "\\subsubsection*{%s}")=
=A0=A0 ("\\paragraph{%s}" . "\\paragraph*{%s}")
= =A0=A0 ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))=


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

\= HEADERS
\begin{document}
\title{BLAH BLAH BLAY}
\author{ME}
\address{WWW}<= br>
\begin{abstract}
Testing one to
\end{abstract}
\maketitle
\section{Introduction}
\section{Materials and methods}
\section= {Results}
\section{Discussion}

\end{document}

My short term fix=A0 is t= o simple cut and paste, but it would be nice to =3D
know if there is mor= e elegant solution


Best Wishes,

M
--000e0cd2152edcad72049320c1dd-- --===============0210467489== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0210467489==--