Re: verbatim shorthand problem

2023-08-31 Thread Arash Esbati
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.: >> >>

Re: verbatim shorthand problem

2023-08-25 Thread Mandar Mitra
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.: > >

Re: verbatim shorthand problem

2023-08-25 Thread Arash Esbati
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]);|

Re: verbatim shorthand problem

2023-08-25 Thread Arash Esbati
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++) >

Re: verbatim shorthand problem

2023-08-22 Thread Mandar Mitra
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

Re: verbatim shorthand problem

2023-08-18 Thread Werner LEMBERG
> 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

Re: verbatim shorthand problem

2023-08-18 Thread Arash Esbati
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

Re: verbatim shorthand problem

2023-08-18 Thread Werner LEMBERG
> 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

Re: verbatim shorthand problem

2023-08-18 Thread Arash Esbati
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

verbatim shorthand problem

2023-08-17 Thread Werner LEMBERG
[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|`