[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] Protect active characters such as `~' when exporting to
From: |
Nick Dokos |
Subject: |
Re: [O] [PATCH] Protect active characters such as `~' when exporting to LaTeX |
Date: |
Fri, 16 Jan 2015 11:42:17 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Sebastien Vauban <address@hidden>
writes:
> Hello,
>
> When ~code~ is converted to LaTeX, it becomes \verb~code~; i.e., it uses
> a potentially "dangerous" character, in this case `~' which is active.
>
> In most cases, it is unnoticeable, but in some environments, it breaks.
>
> The solution is to protect the command, what the attached patch does.
>
I'm not sure it solves the problem. I had looked at this problem five
years ago and had concluded that \protect was a bust, because \verb is
special - see
http://thread.gmane.org/gmane.emacs.orgmode/14256/focus=14257
Maybe I got it wrong back then, but I thought I'd bring it to your
attention.
Nick