Re: [O] LaTeX export: inline markup underscore problem

2011-04-11 Thread Thomas S. Dye
Aloha Mauro, It appears that the new link type is not defined. Have you executed the source block, define-citep-link? Also, version 6.21 is probably too old for at least some of the LaTeX export. It is probably not worth the trouble to try to set things up for that version of Org-mode.

Re: [O] LaTeX export: inline markup underscore problem

2011-04-11 Thread Mauro Rovezzi
Hello Thomas, On Mon, Apr 11, 2011 at 6:58 PM, Thomas S. Dye wrote: > Aloha Mauro, > On my system I define a citep link: > > #+source: define-citep-link > #+begin_src emacs-lisp :results silent >     (org-add-link-type >      "citep" 'ebib >      (lambda (path desc format) >        (cond >       

Re: [O] LaTeX export: inline markup underscore problem

2011-04-11 Thread Thomas S. Dye
Aloha Mauro, On my system I define a citep link: #+source: define-citep-link #+begin_src emacs-lisp :results silent (org-add-link-type "citep" 'ebib (lambda (path desc format) (cond ((eq format 'html) (format "(%s)" path)) ((eq format 'latex)

Re: [O] LaTeX export: inline markup underscore problem

2011-04-11 Thread Mauro Rovezzi
On Mon, Apr 11, 2011 at 3:44 AM, Nick Dokos wrote: > Thomas S. Dye wrote: >> >> The code the OP cited passes desc to \cite{}.  The code I pointed to >> passes path to \cite{}.  It does this to get around the problem of >> escaped underscores, if I remember correctly.  In any case, I use this >> c

Re: [O] LaTeX export: inline markup underscore problem

2011-04-10 Thread Thomas S. Dye
Thanks Nick. Feel free to change the LaTeX export tutorial as you see fit. All the best, Tom On Apr 10, 2011, at 3:44 PM, Nick Dokos wrote: Thomas S. Dye wrote: Aloha Nick, The code the OP cited passes desc to \cite{}. The code I pointed to passes path to \cite{}. It does this to get

Re: [O] LaTeX export: inline markup underscore problem

2011-04-10 Thread Nick Dokos
Thomas S. Dye wrote: > Aloha Nick, > > The code the OP cited passes desc to \cite{}. The code I pointed to > passes path to \cite{}. It does this to get around the problem of > escaped underscores, if I remember correctly. In any case, I use this > code with bibliography keys that include und

Re: [O] LaTeX export: inline markup underscore problem

2011-04-10 Thread Thomas S. Dye
Aloha Nick, The code the OP cited passes desc to \cite{}. The code I pointed to passes path to \cite{}. It does this to get around the problem of escaped underscores, if I remember correctly. In any case, I use this code with bibliography keys that include underscores, so it should wor

Re: [O] LaTeX export: inline markup underscore problem

2011-04-10 Thread Nick Dokos
Thomas S. Dye wrote: > Aloha Mauro, > > Please see > > http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-17_2 > Excuse the intrusion, but I don't see anything in there that looks like a solution to the OP's problem (the undesired quoting of the underscore when exporting the org

Re: [O] LaTeX export: inline markup underscore problem

2011-04-10 Thread Thomas S. Dye
Aloha Mauro, Please see http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-17_2 All the best, Tom On Apr 9, 2011, at 6:55 AM, Mauro Rovezzi wrote: Dear all, I implemented the inline markup for latex export as suggested on Worg by Tom Dye: http://orgmode.org/worg/org-tutorials/

[O] LaTeX export: inline markup underscore problem

2011-04-10 Thread Mauro Rovezzi
Dear all, I implemented the inline markup for latex export as suggested on Worg by Tom Dye: http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-10_3 and I have a big problem in exporting references with underscores. Example: [[latex:cite][some_thing]] is rendered by the latex exporte