emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ox-latex: Replace \verb instances in headings with \texttt


From: Timothy
Subject: Re: [PATCH] ox-latex: Replace \verb instances in headings with \texttt
Date: Fri, 02 Apr 2021 23:15:39 +0800
User-agent: mu4e 1.4.15; emacs 28.0.50

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

>> * lisp/ox-latex.el (org-latex-format-headline-default-function): Convert
>> any instances of \verb text with \texttt.  This is required to work
>> around LaTeX peculiarities that would otherwise cause compilation to
>> fail (see the code comment for more information).
>
> This is not the appropriate location for the fix.
>
> In `section-back-end' variable within `org-latex-headline', you can
> extend the local export back-end to handle correctly verbatim markup.
>
> Regards,

Thanks Nicolas, I'll take a look at that and send over a revised patch
:)

--
Timothy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]