Mandar Mitra writes:
> Arash Esbati wrote (Fri, Aug 25, 2023 at 11:38:36AM +0200):
>> Can you please file a bug report for this, incl. a MWE starting with
>> emacs -Q? TIA.
>>
>> For the time being, you can use delimiters instead of braces for the
>> optional argument which works, e.g.:
>>
>>
Arash Esbati wrote (Fri, Aug 25, 2023 at 11:38:36AM +0200):
> Can you please file a bug report for this, incl. a MWE starting with
> emacs -Q? TIA.
>
> For the time being, you can use delimiters instead of braces for the
> optional argument which works, e.g.:
>
>
Arash Esbati writes:
> For the time being, you can use delimiters instead of braces for the
> optional argument which works, e.g.:
mandatory argument, sorry.
> \lstinline[language=C,basicstyle=\ttfamily]|for (i=0; i<8; i++)
> printf("%c\n"), str1 [ i]);|
Mandar Mitra writes:
> I'm facing a fontification problem with \lstinline + beamer. Just
> wondering if it might be vaguely related to your fix for
> fancyvrb.el. I have the following line in a frame environment:
>
> \lstinline[language=C,basicstyle=\ttfamily]{for (i=0; i<8; i++)
>
Arash Esbati wrote (Fri, Aug 18, 2023 at 01:46:12PM +0200):
> Werner LEMBERG writes:
>
> > ... the phrase *shouldn't* is not something I really like :-)
>
> I thought so ;-)
>
> I installed a change (fe3ef154) and now fancyvrb.el supports verbatim
> characters OOTB. Note that you have to set
> I installed a change (fe3ef154) and now fancyvrb.el supports
> verbatim characters OOTB. Note that you have to set
> `LaTeX-fancyvrb-chars'. Do you want to give it a roll?
It works fine, thanks for the quick fix!
Werner
Werner LEMBERG writes:
> ... the phrase *shouldn't* is not something I really like :-)
I thought so ;-)
I installed a change (fe3ef154) and now fancyvrb.el supports verbatim
characters OOTB. Note that you have to set `LaTeX-fancyvrb-chars'. Do
you want to give it a roll?
Best, Arash
> You could try something like this in your .tex file:
>
> \usepackage{shortvrb,fvextra}
Yeah, I considered that too but ...
> It shouldn't break your .tex file and will help AUCTeX to DTRT.
... the phrase *shouldn't* is not something I really like :-)
>> Or maybe it makes sense to always
Werner LEMBERG writes:
> [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
[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|`
10 matches
Mail list logo