From mboxrd@z Thu Jan 1 00:00:00 1970 From: Titus von der Malsburg Subject: Re: [Bug] ~Verbatim~ in headlines breaks LaTeX Date: Fri, 05 Jun 2015 15:58:54 -0700 Message-ID: <878ubx224x.fsf@posteo.de> References: <87382eg2f4.fsf@posteo.de> <87617a65y5.fsf@alphaville.usersys.redhat.com> <87vbfa63ud.fsf@posteo.de> <87wpzqxz9m.fsf@nicolasgoaziou.fr> <87twuu5bzv.fsf@posteo.de> <87r3px5ee3.fsf@nicolasgoaziou.fr> <877fri6jl7.fsf@posteo.de> <87a8wdongv.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]:37099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z10a9-0005UU-Dj for emacs-orgmode@gnu.org; Fri, 05 Jun 2015 18:59:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z10a6-0007ym-3v for emacs-orgmode@gnu.org; Fri, 05 Jun 2015 18:59:21 -0400 Received: from mx02.posteo.de ([89.146.194.165]:49427) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z10a5-0007yS-TV for emacs-orgmode@gnu.org; Fri, 05 Jun 2015 18:59:18 -0400 In-reply-to: <87a8wdongv.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-06-05 Fri 14:27, Nicolas Goaziou wrote: > Titus von der Malsburg writes: > >> Below is a list of things that I tested. This list of test cases is >> probably not exhaustive. > > Thanks. > >> Things that don't work with \verb (produce malformed LaTeX): >> >> #+TITLE: ~test~ >> >> #+CAPTION: ~test~ >> [[/tmp/img.png]] >> >> * ~test~ >> ** ~test~ >> =E2=80=A6 Thee can be handled by protectedtexttt. The obvious questions is of course: Wouldn=E2=80=99t it be more consistent to handle all instances of ~= code~ using protectedtexttt? And if you want to support the use of \verb at all, shouldn=E2=80=99t that be done via =3Dverbatim=3D not ~code~? >> These two did not produce the intended results (sub and super script >> don=E2=80=99t work) but the LaTeX is not malformed: >> >> test^~test~ >> test_~test~ This really seems to be an independent issue (because test^*test* doesn=E2=80=99t work either) but I think it should produce this LaTeX: test\(^{\text{\texttt{test}}}\) test\(_{\text{\texttt{test}}}\) But this works, too: test\(^{\text{\verb~test~}}\) test\(_{\text{\verb~test~}}\) Titus --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVcimvAAoJEK40WfPGE2id6cMIALgYP2zOAapIBueV7/ssOzvf Otxe3lkmbXmTbSSjEaAswUxlFgMc0w+N35uMPtdvORNJ9OUkf/Sn2koRAL9jtvVd 4hAx33D4rKIlz+HAEGt9OFcUkcun4pdGu4xIERjQwn/R9oXXNXLSyqWbGQmvyB+D ITGm/ULPtSolVROn9DJOWHdmj6TZxJ9lfr3dCngrMzY/WKdC/rgVvwYgsdM0EzE3 ODVqBmDplcx1kmJvJ/DwLyeNOO5WCm6HuwdCBgjmy+Qmwrw/DZNrz3YCgmjRAp/p tLTzT6CJjGpu04mP6RFJwysNEpe7ReUYmDKh7s2llTyWQ2eofE1eGS4uQo9N8vY= =/TW7 -----END PGP SIGNATURE----- --=-=-=--