auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] Output parsing problems with LaTeX2e <2017-04-15>


From: Arash Esbati
Subject: Re: [AUCTeX] Output parsing problems with LaTeX2e <2017-04-15>
Date: Sun, 23 Apr 2017 12:14:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2

Tassilo Horn <address@hidden> writes:

> Arash Esbati <address@hidden> writes:
>
>> besides this, are you aware of any AUCTeX style which should be updated
>> for TL2017 release?
>
> Not that I know of but I don't follow the TeXLive development closely.

Hi Tassilo,

yes, same here.

>> Currently, I see only fontspec.el which should be touched.
>
> Feel free to do that.  I have no clue if and what changed ther. ;-)

Will do.  Most notably, I like the new syntax in macros like \fontspec
et al. where the optional argument comes after the mandatory font name.

>> And a fontification bug in comment.el where only the first line in
>> comment environment is fontified in `font-lock-comment-face'.
>
> I've just fixed that. :-)

Thanks.  While you're on top of font-latex.el game again, can you also
have a look at my proposal here?

    http://lists.gnu.org/archive/html/auctex-devel/2017-04/msg00011.html

On my wish list is also correct fontification for optional and/or
mandatory arguments of math environments, e.g.:

    \documentclass{article}
    \usepackage{amsmath}
    \usepackage[overload]{empheq}
    \begin{document}

    \begin{align}
      a_1 &= b_1 + c_1
    \end{align}

    \begin{empheq}{align}
      a_1 &= b_1 + c_1
    \end{empheq}

    \begin{empheq}[left=\empheqlbrace]{align}
      \label{eq:2}
      a_1 &= b_1 + c_1
    \end{empheq}
    \end{document}

I think the functions `font-latex-match-math-envII' and
`font-latex-extend-region-backwards-math-envII' should be changed for
this.  Right?

Best, Arash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]