Re: [O] preview latex fragment with latex_header

2013-04-15 Thread Bastien
Thanks! -- Bastien

Re: [O] preview latex fragment with latex_header

2013-04-15 Thread Nicolas Goaziou
Hello, Bastien writes: > Nicolas Goaziou writes: > >> I introduced LATEX_HEADER_EXTRA keyword, which will do the same as >> LATEX_HEADER but will not be used to preview latex snippets. > > We need to document this in the manual. Can you add a note? Done. > Also, the docstring of `org-latex-c

Re: [O] preview latex fragment with latex_header

2013-04-15 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > I introduced LATEX_HEADER_EXTRA keyword, which will do the same as > LATEX_HEADER but will not be used to preview latex snippets. We need to document this in the manual. Can you add a note? Also, the docstring of `org-latex-classes' uses [EXTRA] and [NO-E

Re: [O] preview latex fragment with latex_header

2013-03-07 Thread Andreas Leha
Hi Nicolas, Nicolas Goaziou writes: > Hello, > > Andreas Leha writes: > >> Achim Gratz writes: >> >>> Andreas Leha writes: In this particular situation (the \subtitle will always be document specific) the latex class is not possible here -- I won't create latex classes per docum

Re: [O] preview latex fragment with latex_header

2013-03-07 Thread Nicolas Goaziou
Hello, Andreas Leha writes: > Achim Gratz writes: > >> Andreas Leha writes: >>> In this particular situation (the \subtitle will always be document >>> specific) the latex class is not possible here -- I won't create latex >>> classes per document. >> >> Classes can have arguments and the argum

Re: [O] preview latex fragment with latex_header

2013-03-06 Thread Andreas Leha
Achim Gratz writes: > Andreas Leha writes: >> In this particular situation (the \subtitle will always be document >> specific) the latex class is not possible here -- I won't create latex >> classes per document. > > Classes can have arguments and the argument would be the subtitle to > set, so I

Re: [O] preview latex fragment with latex_header

2013-03-06 Thread Achim Gratz
Andreas Leha writes: > In this particular situation (the \subtitle will always be document > specific) the latex class is not possible here -- I won't create latex > classes per document. Classes can have arguments and the argument would be the subtitle to set, so I don't understand that objection

Re: [O] preview latex fragment with latex_header

2013-03-06 Thread Andreas Leha
Nicolas Goaziou writes: > Hello, > > Andreas Leha writes: > >> I have a beamer presentation in org-mode that contains a line like >> #+LaTeX_HEADER: \subtitle{foo} >> >> This prevents me from using 'org-preview-latex-fragment' as that one -- >> naturally, as it uses the article class -- fails wi

Re: [O] preview latex fragment with latex_header

2013-03-06 Thread Nicolas Goaziou
Hello, Andreas Leha writes: > I have a beamer presentation in org-mode that contains a line like > #+LaTeX_HEADER: \subtitle{foo} > > This prevents me from using 'org-preview-latex-fragment' as that one -- > naturally, as it uses the article class -- fails with > 'Failed to create dvi file from

[O] preview latex fragment with latex_header

2013-03-06 Thread Andreas Leha
Hi all, I have a beamer presentation in org-mode that contains a line like #+LaTeX_HEADER: \subtitle{foo} This prevents me from using 'org-preview-latex-fragment' as that one -- naturally, as it uses the article class -- fails with 'Failed to create dvi file from /tmp/orgtex49760oq.tex' due to ,