[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [Bug] beamer backend and org-reload
From: |
Suvayu Ali |
Subject: |
Re: [O] [Bug] beamer backend and org-reload |
Date: |
Tue, 5 Mar 2013 23:26:52 +0100 |
User-agent: |
Mutt/1.5.21 (2012-12-30) |
Hi Achim,
On Tue, Mar 05, 2013 at 09:50:29PM +0100, Achim Gratz wrote:
> Suvayu Ali writes:
> > (add-to-list 'org-latex-classes
> > '("beamer"
> > "\\documentclass\[presentation\]\{beamer\}"
> > ("\\section\{%s\}" . "\\section*\{%s\}")
> > ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
> > ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))
>
> Pilot error, I'd say: org-latex-classes is a defcustom, I don't think it
> is a good idea to muck with the data directly (it doesn't have
> getter/setter methods IIRC, but still). So what happens when you add
> the beamer classes properly, via customize — and then do an org-reload?
I see the same problem when I put the following in my minimal-org.el
(custom-set-variables
'(org-latex-classes (quote (("beamer" "\\documentclass[presentation]{beamer}"
("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("chapter"
"\\documentclass[11pt]{report}" ("\\chapter{%s}" . "\\chapter*{%s}")
("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("article"
"\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" .
"\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report"
"\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}"
. "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" .
"\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("book"
"\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" .
"\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" .
"\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))))
)
I did encounter another curious problem though. When in the customise
buffer I try to add a new class, I get a customize interface similar to
what is shown below.
[INS] [DEL] List:
LaTeX class: beamer
LaTeX header: \documentclass[presentation]{article}
Choice: [Value Menu] Heading:
numbered: \section{%s}
unnumbered: \section*{%s}
[INS] [DEL] List:
LaTeX class: article
LaTeX header: \documentclass[11pt]{article}
Levels:
[INS] [DEL] Choice: [Value Menu] Heading:
numbered: \section{%s}
unnumbered: \section*{%s}
[INS] [DEL] Choice: [Value Menu] Heading:
numbered: \subsection{%s}
unnumbered: \subsection*{%s}
[...]
As you can see, there is no way to add deeper sectioning entries for the
new entry (beamer). I worked around it for the moment to proceed with
my test, but I find this very curious indeed.
Cheers,
--
Suvayu
Open source is the future. It sets us free.
- [O] URGENT Need help fixing beamer exporting, can someone jump on IRC?, James Harkins, 2013/03/05
- Re: [O] URGENT Need help fixing beamer exporting, can someone jump on IRC?, James Harkins, 2013/03/05
- Re: [O] URGENT Need help fixing beamer exporting, can s omeone jump on IRC?, Achim Gratz, 2013/03/05
- Re: [O] URGENT Need help fixing beamer exporting, can someone jump on IRC?, Suvayu Ali, 2013/03/05
- Re: [O] [Bug] beamer backend and org-reload, Nicolas Goaziou, 2013/03/05
- Re: [O] [Bug] beamer backend and org-reload, Suvayu Ali, 2013/03/06