From mboxrd@z Thu Jan 1 00:00:00 1970 From: Titus von der Malsburg Subject: Re: [Bug] ~Verbatim~ in headlines breaks LaTeX Date: Sat, 30 May 2015 08:19:41 -0700 Message-ID: <87twuu5bzv.fsf@posteo.de> References: <87382eg2f4.fsf@posteo.de> <87617a65y5.fsf@alphaville.usersys.redhat.com> <87vbfa63ud.fsf@posteo.de> <87wpzqxz9m.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyiY9-0003ON-OG for emacs-orgmode@gnu.org; Sat, 30 May 2015 11:19:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YyiY6-0002vz-H8 for emacs-orgmode@gnu.org; Sat, 30 May 2015 11:19:49 -0400 Received: from mx02.posteo.de ([89.146.194.165]:51463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyiY6-0002uP-Bh for emacs-orgmode@gnu.org; Sat, 30 May 2015 11:19:46 -0400 In-reply-to: <87wpzqxz9m.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: Nick Dokos , emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2015-05-30 Sat 01:09, Nicolas Goaziou wrote: > Hello, > > Titus von der Malsburg writes: > >> Yes, I saw this thread after sending the previous email. According to >> `org-latex-text-markup-alist', protectedtexttt should be used, which >> seems like a good-enough solution for this problem. But for some reason >> that doesn=E2=80=99t happen. > > It happens. However, verbatim is =3D...=3D whereas ~...~ is code. The for= mer > uses protectedtexttt while the latter uses \verb. Huh, ~code~ is translated to \verb and =3Dverbatim=3D is translated to \texttt (plus escaping of some special characters)? If \verb is used at all, shouldn=E2=80=99t it be generated by =3Dverbatim=3D instead of by ~cod= e~? > Note that we could do better anyway and switch command depending on > context. Yes, I suppose anything is better than producing malformed LaTeX. Titus --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVadUOAAoJEK40WfPGE2idT84H/1SeTFBwrDiPhkuF4oWGjTZi 5abbJ1sNOfFh6gRm6trUi2RfSrKkXWeNeptbw6iwnyXNhae5iMqeWBPdjnXGUFem MPToDB4CncAzYwJ+J2VE/dSLom7ABPtfnVCQaXBoPMXy1vHMy7+WTD4kjNUj/dJD jkbZZKiMzqSIka0b7p5Cxa68G+zp487jK9emYx0rz2VWXXAAnESkVmL7yalX8ede dpPTw9DvsCOgaxJ6LWbnz1UzIaBTUyiTmUwgEplNGrLYvnf3cWqDnuZF1kC+bS/K KDiOZKYfmMUHQIFXfxqOJymzA8UvA1F0IfK4jIzXG4haOKep+bGny90E4NdqHB8= =wmyb -----END PGP SIGNATURE----- --=-=-=--