Re: [O] Exporting LaTeX source blocks with HTML backend

2014-03-08 Thread Eric S Fraga
Xavier Garrido writes: [...] > The non export is due to this setup > > #+BEGIN_SRC emacs-lisp >(org-babel-do-load-languages > 'org-babel-load-languages > '((emacs-lisp . t) > (latex . t))) > #+END_SRC Actually, this wasn't enough for me (I already had both of these enabled).

Re: [O] Exporting LaTeX source blocks with HTML backend

2014-03-07 Thread Eric S Fraga
Ista Zahn writes: > Hi Xavier, > > I think > > #+begin_src latex :results drawer :exports results > \begin{align*} > x&=x\\ > y&=y > \end{align*} > #+end_src > > will give both syntax highlighting (in the code block) as well as > properly displayed equations in both latex and html export.

Re: [O] Exporting LaTeX source blocks with HTML backend

2014-03-03 Thread Xavier Garrido
Le 03/03/2014 21:54, Richard Lawrence a écrit : Xavier Garrido writes: #+BEGIN_SRC latex \begin{align*} x&=x\\ y&=y \end{align*} #+END_SRC When I export this using the HTML exporter, the LaTeX code is wrapped in a with class="org-src-container", and th

Re: [O] Exporting LaTeX source blocks with HTML backend

2014-03-03 Thread Xavier Garrido
Hi Ista, Le 03/03/2014 20:55, Ista Zahn a écrit : Hi Xavier, I think #+begin_src latex :results drawer :exports results \begin{align*} x&=x\\ y&=y \end{align*} #+end_src will give both syntax highlighting (in the code block) as well as properly displayed equations in both latex an

Re: [O] Exporting LaTeX source blocks with HTML backend

2014-03-03 Thread Richard Lawrence
Xavier Garrido writes: >>> #+BEGIN_SRC latex >>> \begin{align*} >>> x&=x\\ >>> y&=y >>> \end{align*} >>> #+END_SRC >> When I export this using the HTML exporter, the LaTeX code is wrapped in >> a with class="org-src-container", and the actual code appears >> insi

Re: [O] Exporting LaTeX source blocks with HTML backend

2014-03-03 Thread Ista Zahn
Hi Xavier, I think #+begin_src latex :results drawer :exports results \begin{align*} x&=x\\ y&=y \end{align*} #+end_src will give both syntax highlighting (in the code block) as well as properly displayed equations in both latex and html export. Best, Ista On Mon, Mar 3, 2014 at 2:39 P

Re: [O] Exporting LaTeX source blocks with HTML backend

2014-03-03 Thread Xavier Garrido
Hi Richard, Le 03/03/2014 20:24, Richard Lawrence a écrit : I am facing one issue when I am exporting from orgmode to html. I like to write LaTeX code within #+BEGIN_SRC latex ... #+END_SRC block mainly to take benefit/advantage of the syntax highlighting (debugging long LaTeX equations is "simp

Re: [O] Exporting LaTeX source blocks with HTML backend

2014-03-03 Thread Richard Lawrence
Hi Xavier, Xavier Garrido writes: > I am facing one issue when I am exporting from orgmode to html. I like > to write LaTeX code within #+BEGIN_SRC latex ... #+END_SRC block mainly > to take benefit/advantage of the syntax highlighting (debugging long > LaTeX equations is "simpler"). The prob

[O] Exporting LaTeX source blocks with HTML backend

2014-03-03 Thread Xavier Garrido
Dear Orgers, I am facing one issue when I am exporting from orgmode to html. I like to write LaTeX code within #+BEGIN_SRC latex ... #+END_SRC block mainly to take benefit/advantage of the syntax highlighting (debugging long LaTeX equations is "simpler"). The problem is that these code blocks