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

2014-03-08 Thread Eric S Fraga
Xavier Garrido xavier.garr...@gmail.com 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

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

2014-03-07 Thread Eric S Fraga
Ista Zahn istaz...@gmail.com 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

[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

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

2014-03-03 Thread Richard Lawrence
Hi Xavier, Xavier Garrido xavier.garr...@gmail.com 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

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

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

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

2014-03-03 Thread Richard Lawrence
Xavier Garrido xavier.garr...@gmail.com 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 div with class=org-src-container, and the actual code appears

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 and

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 xavier.garr...@gmail.com 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 div with