emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Why is text marked as ~verbatim~ exported in LaTeX as \tex


From: Nick Dokos
Subject: Re: [Orgmode] Why is text marked as ~verbatim~ exported in LaTeX as \texttt{}
Date: Fri, 28 Jan 2011 18:40:39 -0500

Michael Broschinsky <address@hidden> wrote:

> I have a small test document:
> 
>  #+TITLE: Title
> 
>  This is normal text.
> 
>  =This is teletype text.=
> 
>  ~This is verbatim text.~
> 
> When I choose the LaTeX export option and inspect the LaTeX output, I
> see that both the text marked as =code= and the text marked as
> ~verbatim~ are exported as \texttt{}.
> 
> I expected that =code= would be exported as \texttt{}, but I expected
> ~verbatim~ to be expected with the LaTeX \verb command.
> 
> Then when I explored org-export-latex-emphasis-alist, I see that the
> documentation indicates that if the string to wrap the fontified text
> is \verb, then "Org will automatically select a delimiter character
> not in the string", which also leads me to believe that that
> ~verbatim~ will be exported as \verb.
> 
> What simple thing am I missing to export ~verbatim~ text as \verb?
> 

See http://thread.gmane.org/gmane.emacs.orgmode/14256/focus=14257 for
an explanation and some references.

Nick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]