From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Why is text marked as ~verbatim~ exported in LaTeX as \texttt{} Date: Fri, 28 Jan 2011 18:40:39 -0500 Message-ID: <15472.1296258039@gamaville.americas.hpqcorp.net> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=33470 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PixzN-0006o1-AT for emacs-orgmode@gnu.org; Fri, 28 Jan 2011 18:44:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pixvm-0007ut-PG for emacs-orgmode@gnu.org; Fri, 28 Jan 2011 18:40:44 -0500 Received: from g4t0014.houston.hp.com ([15.201.24.17]:6847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pixvm-0007up-Kv for emacs-orgmode@gnu.org; Fri, 28 Jan 2011 18:40:42 -0500 In-Reply-To: Message from Michael Broschinsky of "Fri, 28 Jan 2011 16:25:39 MST." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Broschinsky Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Michael Broschinsky 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