From: Sanjib Sikder <sanjibju2002@gmail.com>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org
Subject: Re: #+LATEX_CLASS: IEEEtran
Date: Tue, 16 Oct 2012 15:42:47 +0530 [thread overview]
Message-ID: <CAL1SgUocrEuq2EB4pw_QZigdVQty3fWkqRtc--BJcUOAFohx+w@mail.gmail.com> (raw)
In-Reply-To: <9619.1350380316@alphaville>
[-- Attachment #1: Type: text/plain, Size: 2245 bytes --]
Hi, Dokos,
Thanks again.
After incorporating those lines, I am getting following error.
File error: Cannot open load file, org-e-latex
>
If it is complex (as I am new in orgmode), then I will go for normal latex
instead of orgmode for this particular task as I have a template for
IEEEtran but I would love to do the job in orgmode.
Eagerly waiting for your comments
Thanks.
-----------------------------
*Sanjib Sikder
*Ph.D. Fellow
Chemical Engineering
IIT Bombay*
*
On Tue, Oct 16, 2012 at 3:08 PM, Nick Dokos <nicholas.dokos@hp.com> wrote:
> Sanjib Sikder <sanjibju2002@gmail.com> wrote:
>
> > Hi,
> >
> > I want to latex export my paper which has to use the document class
> IEEEtran
> >
> > With the following in the preamble
> >
> > #+LATEX_CLASS: IEEEtran
> >
> > I am getting following error
> >
> > org-export-latex-set-initial-vars: No definition for class `IEEEtran'
> in `org-export-latex-classes'
> >
>
> As it says, you need to add a definition for the class `IEEEtran' to
> the variable org-export-latex-classes (for the old exporter - the
> corresponding variable for the new exporter is org-e-latex-classes).
> You should read the docs for these variables: they do a few different
> things and they are somewhat complicated.
>
> Here is a trivial example to start with:
>
> --8<---------------cut here---------------start------------->8---
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ;;; latex export
> (setq ieeetran-class
> '("IEEEtran" "\\documentclass[11pt]{IEEEtran}"
> ("\\section{%s}" . "\\section*{%s}")
> ("\\subsection{%s}" . "\\subsection*{%s}")
> ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
> ("\\paragraph{%s}" . "\\paragraph*{%s}")
> ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
>
> (require 'org-latex)
> (add-to-list 'org-export-latex-classes ieeetran-class t)
>
> (require 'org-e-latex)
> (add-to-list 'org-e-latex-classes ieeetran-class t)
> --8<---------------cut here---------------end--------------->8---
>
> It's basically the article class spec with a different name.
> You should add the code above to your .emacs (or similar init file).
> You can then elaborate it as necessary.
>
> Nick
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 3380 bytes --]
next prev parent reply other threads:[~2012-10-16 10:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-16 9:08 #+LATEX_CLASS: IEEEtran Sanjib Sikder
2012-10-16 9:38 ` Nick Dokos
2012-10-16 10:12 ` Sanjib Sikder [this message]
2012-10-16 10:21 ` Nick Dokos
2012-10-17 11:07 ` Sanjib Sikder
2012-10-17 15:25 ` Nick Dokos
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=CAL1SgUocrEuq2EB4pw_QZigdVQty3fWkqRtc--BJcUOAFohx+w@mail.gmail.com \
--to=sanjibju2002@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=nicholas.dokos@hp.com \
/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).