Hi Keita,
Ikumi Keita writes:
> I don't think `fboundp' test is a right approach because it calls
> `LaTeX-verbatim-p' even in non-LaTeX mode buffers after the session
> loads latex.el. How about just
> (TeX-verbatim-p)
> instead of
> (and (fboundp 'LaTeX-verbatim-p)
> (LaTeX-verbatim-p))
Hi Arash,
> Arash Esbati writes:
> which is wrong. This is due to the implementation of
> `TeX-brace-count-line' which presumes that ?\\ always escapes the next
> char, which is wrong in verb macros. I can think of a solution like
> this:
> diff --git a/tex.el b/tex.el
> index
> If I call `TeX-fold-buffer`, some macros like `rnotation` are
> properly folded, but many others like `snippets` or `englishref` are
> not.
Ah, maybe it is not working for `@macro ... @end macro` either – the
`[r]` seems to be a reference, not the contents of a macro.
Werner
[commit 0cb158fd96ff8c1c7f0bf8c0dd152a301e82f562]
Consider this quite complicated Texinfo macro file from LilyPond's
documentation:
https://gitlab.com/lilypond/lilypond/-/blob/master/Documentation/ca/macros.itexi
If I call `TeX-fold-buffer`, some macros like `rnotation` are
properly
tags 62866 moreinfo unreproducible
close 62866
thanks
Arash Esbati writes:
> Grimoire April writes:
>
>> I have a problem previewing this file, using luatex. Although other
>> tex engines seem not to work either.
>
> I opened this file:
>
> \documentclass{article}
> \usepackage{amsmath}
>
Hi all,
I just installed a change (commit 0cb158fd96) which improves
fontification of arguments of verb macros with braces. One addition is
also handling of backslash(es) as last character(s) in the argument.
There is a downside, though. Consider the following file:
--8<---cut