Re: [O] #+LATEX_CLASS: IEEEtran

2012-10-17 Thread Sanjib Sikder
Dear Dokos,

It is working perfectly.

Thank you very much for your incessant helps.

-
*Sanjib Sikder
*Ph.D. Fellow
Chemical Engineering
IIT Bombay*

*



On Tue, Oct 16, 2012 at 3:51 PM, Nick Dokos nicholas.do...@hp.com wrote:

 Sanjib Sikder sanjibju2...@gmail.com wrote:

  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
 

 Two options:

 o if you are not going to use the new exporter, just delete the two lines:

 (require 'org-e-latex)
 (add-to-list 'org-e-latex-classes ieeetran-class t)

 o alternatively, teach emacs where to find org-e-latex by augmenting the
   load-path:

   (add-to-list 'load-path /path/to/org/mode/contrib/lisp)

   This needs to be done before the (require 'org-e-latex) and of course,
   the path needs to be modified for your particular setup.

 Nick



Re: [O] #+LATEX_CLASS: IEEEtran

2012-10-17 Thread Nick Dokos
Sanjib Sikder sanjibju2...@gmail.com wrote:

 It is working perfectly.
 
 Thank you very much for your incessant helps.
 

:-) You are welcome.



[O] #+LATEX_CLASS: IEEEtran

2012-10-16 Thread Sanjib Sikder
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'

Can anybody guide me please ?

Thanks

-
*Sanjib Sikder
*Ph.D. Fellow
Chemical Engineering
IIT Bombay*

*


Re: [O] #+LATEX_CLASS: IEEEtran

2012-10-16 Thread Nick Dokos
Sanjib Sikder sanjibju2...@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






Re: [O] #+LATEX_CLASS: IEEEtran

2012-10-16 Thread Sanjib Sikder
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.do...@hp.com wrote:

 Sanjib Sikder sanjibju2...@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






Re: [O] #+LATEX_CLASS: IEEEtran

2012-10-16 Thread Nick Dokos
Sanjib Sikder sanjibju2...@gmail.com wrote:

 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
 

Two options:

o if you are not going to use the new exporter, just delete the two lines:

(require 'org-e-latex)
(add-to-list 'org-e-latex-classes ieeetran-class t)

o alternatively, teach emacs where to find org-e-latex by augmenting the
  load-path:

  (add-to-list 'load-path /path/to/org/mode/contrib/lisp)

  This needs to be done before the (require 'org-e-latex) and of course,
  the path needs to be modified for your particular setup.

Nick