[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ox-latex: Replace \verb instances in headings with \texttt
From: |
Nicolas Goaziou |
Subject: |
Re: [PATCH] ox-latex: Replace \verb instances in headings with \texttt |
Date: |
Fri, 02 Apr 2021 17:04:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello,
Timothy <tec@tecosaur.com> 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,
--
Nicolas Goaziou