Re: Switch language on heading lines in Latex export (was Re: [Orgmode] Re: org-beamer: How to get items appear sequentially rather than all at once)

2010-03-26 Thread Darlan Cavalcante Moreira
As I understand, whenever org sees something like \something it will understand that this is a latex command and it will just write it as it is in the exported latex file. Therefore, if you put something like #+LATEX_HEADER: \newcommand{\blue}[1] {\textcolor{blue}{#1}} in the beginning of the org

Re: Switch language on heading lines in Latex export (was Re: [Orgmode] Re: org-beamer: How to get items appear sequentially rather than all at once)

2010-03-25 Thread Darlan Cavalcante Moreira
I think this behavior in org-mode is correct. For instance, suppose we have the heading below , | * Some heading | - \textbf{lalala} | - {\textbf lelele} | - \alert{lilili} ` In the first item org will recognize this is a Latex command and the brackets will be passed to Latex

Re: Switch language on heading lines in Latex export (was Re: [Orgmode] Re: org-beamer: How to get items appear sequentially rather than all at once)

2010-03-25 Thread Christian Wittern
Darlan, Thank you again. I think I understand the problem now. On 2010-03-25 20:02, Darlan Cavalcante Moreira wrote: Summarizing, define your macros as Latex macros instead of TeX ones and they should work. That is, something like \J{XXX}. Currently, the definition is

Switch language on heading lines in Latex export (was Re: [Orgmode] Re: org-beamer: How to get items appear sequentially rather than all at once)

2010-03-24 Thread Christian Wittern
Dear Darlan, Thanks for your detailed explanation. I now got it working and am really happy with it. Now there is one remaining problem with my presentation (which is different, which is why I changed the header line): I do have some words on some heading line that are in a different language