> 
> You may be trying to modify `org-latex-classes' before having `ox-latex'
> loaded.
> 
> You can either explicitly (require 'ox-latex) before that, which will
> load all export framework along with Org, or use the following
> construct:


I don't know why this is turning out to be so difficult. I have got
ox-latex loaded, and have defined beamer class in org-latex-classes. 

But I still get an error with the simple org file that I am trying to
export. I am attaching both the org file, and the log of errors thrown
by pdftex. 

Will be grateful if somebody could explain what may be wrong now. This
is turning out to be quite frustrating.

Vikas
#+STARTUP: hidestars
#+TITLE: Title
#+AUTHOR: My name
#+OPTIONS: H:2 toc:nil
#+EMAIL: usern...@email.org
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [presentation]
#+BEAMER_THEME: default
#+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) %4BEAMER_col(Col) 
%8BEAMER_opt(Opt)
#+PROPERTY: BEAMER_col_ALL 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.0 :ETC


* Introduction
** temp1
+ temp123
** temp2
+ skjdskjdk


This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian)
 restricted \write18 enabled.
entering extended mode
(/home/vikas/Rural-credit/credit.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
! Undefined control sequence.
l.2 \usetheme
             {default}

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.2 \usetheme{d
               efault}
! Undefined control sequence.
l.6 \hypersetup
               {
(/home/vikas/Rural-credit//credit.aux)

! LaTeX Error: The font size command \normalsize is not defined:
               there is probably something wrong with the class file.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.10 \begin{document}
                     
! Undefined control sequence.
l.12 \maketitle
               

! LaTeX Error: The font size command \normalsize is not defined:
               there is probably something wrong with the class file.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.31 \end{document}
                   
[1
! Undefined control sequence.
<write> \newlabel{sec-1}{{1}{\thepage 
                                      }}
l.31 \end{document}
                   
] (/home/vikas/Rural-credit//credit.aux) )
(see the transcript file for additional information)
Output written on /home/vikas/Rural-credit//credit.pdf (1 page, 988 bytes).
Transcript written on /home/vikas/Rural-credit//credit.log.

Reply via email to