[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
verbatim shorthand problem
From: |
Werner LEMBERG |
Subject: |
verbatim shorthand problem |
Date: |
Thu, 17 Aug 2023 19:46:34 +0000 (UTC) |
[auctex git version around May 11th, 2023]
If I have a document like this
```
\documentclass{article}
\usepackage{fvextra}
\DefineShortVerb{\|}
\begin{document}
|foo|
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% LaTeX-shortvrb-chars: (?|)
%%% End:
```
`|foo|` is not fontified as verbatim input. I have to add
```
%%% eval: (TeX-run-style-hooks "shortvrb")
```
to the local variable block to get proper fontification. Is there a
more elegant solution? Or maybe it makes sense to always activate the
(possibly adapted) 'shortvrb' style for 'fancyvrb'?
Werner
- verbatim shorthand problem,
Werner LEMBERG <=
- Re: verbatim shorthand problem, Arash Esbati, 2023/08/18
- Re: verbatim shorthand problem, Werner LEMBERG, 2023/08/18
- Re: verbatim shorthand problem, Arash Esbati, 2023/08/18
- Re: verbatim shorthand problem, Werner LEMBERG, 2023/08/18
- Re: verbatim shorthand problem, Mandar Mitra, 2023/08/22
- Re: verbatim shorthand problem, Arash Esbati, 2023/08/25
- Re: verbatim shorthand problem, Arash Esbati, 2023/08/25
- Re: verbatim shorthand problem, Mandar Mitra, 2023/08/25
- Re: verbatim shorthand problem, Arash Esbati, 2023/08/31