Xiao-Yong Jin <[EMAIL PROTECTED]> writes:

> But I would like to propose a work-around.  How about make
> `^' and `_' in those regions marked as =this_code= or
> something similar not be interpreted as super- and
> subscripts?

You can already protect strings from conversion by playing with 
`org-export-latex-emphasis-alist', which default value is:

  '(("*" "\\textbf{%s}" nil)
    ("/" "\\emph{%s}" nil)
    ("_" "\\underline{%s}" nil)
    ("+" "\\texttt{%s}" nil)
    ("=" "\\texttt{%s}" nil))

If you use `t' instead of `nil' for the last element of this list, then
=this_string= will be converted as \texttt{this_string} instead of

  \texttt{$this_{string}$}  when ^:t
  \texttt{this\_{}string}   when ^:nil

I do agree that all this could be improved, and I hope I'll come with a
general solution for the next release.  Ideas welcome!

In the meanwhile, testing latest org-export-latex.el will help *a lot*:

  http://www.cognition.ens.fr/~guerry/u/org-export-latex.el

Thanks!

-- 
Bastien


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to