[Orgmode] Bug: LaTeX fragments export to invalid XHTML

2010-11-23 Thread Uriel Avalos
This is the sample file: * Hello world \begin{align*} x=\frac{-b^2\pm\sqrt{b^2-4ac}}{2a} \end{align*} When you validate the resulting HTML file at the w3c site (http://validator.w3.org/check), it fails the check. If you recall, when org-export-with-latex-fragments is set to dvipng, it

[Orgmode] { in Latex fragments

2010-08-25 Thread Christian Wittern
Hi there, In my org-mode document, I have a special sequence to switch to a Japanese font defined as \J. When using this, I have to do something like {\J (Japanese characters here}. However, when I run the org-mode export, the braces { and } are escaped as \{ and \} and thus loosing their

Re: [Orgmode] { in Latex fragments

2010-08-25 Thread Giovanni Ridolfi
Christian Wittern cwitt...@gmail.com writes: In my org-mode document, I have a special sequence to switch to a Japanese font defined as \J. When using this, I have to do something like {\J (Japanese characters here}. However, when I run the org-mode export, the braces { and } are escaped as

Re: [Orgmode] { in Latex fragments

2010-08-25 Thread Scot Becker
Or what about \J{japanese characters here}? I do the same with Hebrew, \heb{לִפְנֵי יְהוָה} and (without claiming to have done extensive testing), it seems to work. Org mode is set up to let arbitrary macros of the format \mymacro{data} pass through to LaTeX. You might not even have to change

Re: [Orgmode] { in Latex fragments

2010-08-25 Thread Eric S Fraga
On Wed, 25 Aug 2010 10:21:43 +0200, Giovanni Ridolfi giovanni.rido...@yahoo.it wrote: Christian Wittern cwitt...@gmail.com writes: In my org-mode document, I have a special sequence to switch to a Japanese font defined as \J. When using this, I have to do something like {\J (Japanese

Re: [Orgmode] { in Latex fragments

2010-08-25 Thread Christian Wittern
Christian Wittern, on the road On Aug 25, 2010, at 17:39, Eric S Fraga ucec...@ucl.ac.uk wrote: to hello [\J ウ ] or: (\J ウ) [] and () are not escaped cheers, Giovanni I think because the {}'s define a scope in latex and so the \J only affects text surrounded by the {}.

Re: [Orgmode] configure latex fragments preview

2009-09-15 Thread Carsten Dominik
Hi Nick, :scale is use to change the -D dpi setting, which also changes the image size. - Carsten On Sep 14, 2009, at 8:39 PM, Nick Dokos wrote: Nicolas Goaziou n.goaz...@gmail.com wrote: This is some minor annoyance, but I would like to find a solution for it anyway. The preview

Re: [Orgmode] configure latex fragments preview

2009-09-15 Thread Carsten Dominik
Hi Nick, :scale is use to change the -D dpi setting, which also changes the image size. - Carsten On Sep 14, 2009, at 8:39 PM, Nick Dokos wrote: Nicolas Goaziou n.goaz...@gmail.com wrote: This is some minor annoyance, but I would like to find a solution for it anyway. The preview

[Orgmode] configure latex fragments preview

2009-09-14 Thread Nicolas Goaziou
Hello, This is some minor annoyance, but I would like to find a solution for it anyway. The preview image of a latex fragment produced by C-c C-x C-l is so small that I sometimes find it hard to read. In order to solve that situation, I modified org-format-latex-header so that the template for

Re: [Orgmode] configure latex fragments preview

2009-09-14 Thread Nick Dokos
Nicolas Goaziou n.goaz...@gmail.com wrote: This is some minor annoyance, but I would like to find a solution for it anyway. The preview image of a latex fragment produced by C-c C-x C-l is so small that I sometimes find it hard to read. In order to solve that situation, I modified