Re: [O] problem exporting org to latex: sections with math

2017-10-26 Thread Eric S Fraga
On Thursday, 26 Oct 2017 at 16:55, Uwe Brauer wrote: >> My suggestion would be to use top level headlines (level 1) as >> sections and subheadlines as questions/solutions. I.e. change the >> org-latex-classes entry. > > That is a possibility, thanks, but I think right now I will stick t

Re: [O] problem exporting org to latex: sections with math

2017-10-26 Thread Uwe Brauer
> On Thursday, 26 Oct 2017 at 10:24, Uwe Brauer wrote: > [...] > My suggestion would be to use top level headlines (level 1) as > sections and subheadlines as questions/solutions. I.e. change the > org-latex-classes entry. That is a possibility, thanks, but I think right now I

Re: [O] problem exporting org to latex: sections with math

2017-10-26 Thread Uwe Brauer
> Hello, > Uwe Brauer writes: > IIUC, you write the above directly in the document. Org has very limited > support for raw LaTeX syntax. It can only understand simple macros with > simple arguments -- i.e., no nested arguments. > If you need to write more complicated construc

Re: [O] problem exporting org to latex: sections with math

2017-10-26 Thread Nicolas Goaziou
Hello, Uwe Brauer writes: > The problem is that my document also contains latex \section commmands. > These are exported correctly *only* if they don't contain math. > > Works > \section{Adaptive methods using hopt} > > Does not work: > \section{Adaptive methods using $h_{\text{op}}$} IIUC, y

Re: [O] problem exporting org to latex: sections with math

2017-10-26 Thread Eric S Fraga
On Thursday, 26 Oct 2017 at 10:24, Uwe Brauer wrote: > Hello > > I export a org file to latex using the exam class and therefore thanks > to Thomas Hunter I have defined. [...] > So what shall I do? My suggestion would be to use top level headlines (level 1) as sections and subheadlines as quest

[O] problem exporting org to latex: sections with math

2017-10-26 Thread Uwe Brauer
Hello I export a org file to latex using the exam class and therefore thanks to Thomas Hunter I have defined. (org-latex-classes (quote ( ("exam" "\\documentclass[12pt, addpoints, answers]{exam}" ("\\begin{questions}%%%s" "\\end{questions}" "\\begin{questions}%%%s" "\\end{questions}")