[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] ox-latex: Replace \verb instances in headings with \texttt
From: |
Timothy |
Subject: |
[PATCH] ox-latex: Replace \verb instances in headings with \texttt |
Date: |
Wed, 31 Mar 2021 23:14:35 +0800 |
User-agent: |
mu4e 1.4.15; emacs 28.0.50 |
Hello again,
This time with a smaller patch that works around LaTeX peculiarities.
When LaTeX encounters \verb inside another command it's expanding, it
can panic and compilation fails.
This occurs inside \section commands, and so it's worth modifying the
default header format function to convert any instances of \verb to
\texttt, as that can actually compile successfully.
See https://www.texfaq.org/FAQ-verbwithin for more info.
--
Timothy
0001-ox-latex-convert-verbatim-text-in-headings-to-tt.patch
Description: Text Data
- [PATCH] ox-latex: Replace \verb instances in headings with \texttt,
Timothy <=