From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: ~verbatim~ and =code= inconsistency exporting to Latex/HTML Date: Fri, 13 Mar 2009 18:46:41 +0100 Message-ID: References: <20090312203957.GA22160@t61> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LiBrZ-0004dK-B5 for emacs-orgmode@gnu.org; Fri, 13 Mar 2009 14:12:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LiBrU-0004a9-AZ for emacs-orgmode@gnu.org; Fri, 13 Mar 2009 14:12:04 -0400 Received: from [199.232.76.173] (port=57226 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LiBrT-0004Zv-P7 for emacs-orgmode@gnu.org; Fri, 13 Mar 2009 14:11:59 -0400 Received: from nf-out-0910.google.com ([64.233.182.191]:50855) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LiBrT-00024f-Bi for emacs-orgmode@gnu.org; Fri, 13 Mar 2009 14:11:59 -0400 Received: by nf-out-0910.google.com with SMTP id b11so655135nfh.26 for ; Fri, 13 Mar 2009 11:11:59 -0700 (PDT) In-Reply-To: <20090312203957.GA22160@t61> 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: Emilio Garcia Cota Cc: emacs-orgmode@gnu.org On Mar 12, 2009, at 9:39 PM, Emilio Garcia Cota wrote: > #+TITLE: (bug|feature)? report -- exporting ~verbatim~ and =3Dcode=3D =20= > into Latex > #+AUTHOR: me > #+EMAIL: e@ma.il > # I use latest Git (that's 1 commit ahead of 6.24c) on Emacs 22.3.1 > > * ~verbatim~ and =3Dcode=3D---inconsistency exporting to Latex and = HTML > > #+BEGIN_EXAMPLE > [a-zA-Z_] > [!#&*+-/:;<=3D>?] > [\t\n\r ,] > This works OK > #+END_EXAMPLE > > However if I want to randomly inline any of those in a paragraph, > =3D[!#&*+-/:;<=3D>?]=3D they're not properly escaped =3D[a-zA-Z_]=3D = for Latex > ---while for HTML =3D[\t\n\r ,]=3D org-mode does the Right Thing(tm). The reason for this is that in LaTeX, inline pieces use \verb=3D[a-zA-Z_]=3D If "=3D" is part of the string, this construct fails. Whatever = character I choose, it will fail for someone. I guess I could use the paragraph symbol =A7, maybe this is the least likely one of them all? it works in my LaTeX installation - could a few more people try this on their systems? does \verb=A7bladibla=A7 work in LaTeX? > I also find odd that ~verbatim~'ed text is =3Dmonospaced=3D in Latex =20= > while > it is not in HTML. Yes, I know this, both constructs use \verb in LateX. I'd say this is clearly good enough, though. Is there a non-monospaced, verbatim equivalent for \verb in LaTeX? > > * Another little thing---EMAIL option for Latex seems to have no =20 > effect > The +EMAIL option below is not shown in Latex---whereas I can see =20 > it in > the exported HTML. Is that a feature, a bug, or both? What should it influence? The standard LaTeX header we use (maketitle) does not list the email. You can build your own title, using =20 {{{email}}} as a place holder. - Carsten > > * Thanks! > > > _______________________________________________ > 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