On Tue, Dec 21, 2021 at 4:47 PM Hongyi Zhao <[email protected]> wrote: > > On Tue, Dec 21, 2021 at 4:38 PM Hongyi Zhao <[email protected]> wrote: > > > > On Tue, Dec 21, 2021 at 2:02 PM Tassilo Horn <[email protected]> wrote: > > > > > > Hi again, > > > > > > sorry, attached is a patch which can actually be applied. > > > > Thank you. As shown in the attachment, I confirmed that your patch is valid: > > > > werner@X10DAi-00:~/.emacs.d/straight/repos/auctex$ patch tex.el < > > ~/annotation.patch > > > > Then start Emacs. The effect in the attachment will appear. But we > > have many different LaTeX commands, each of which requires a different > > annotation, so this is still a rather arduous and tedious work. > > I mean, if this works, maybe a lisp script can be created to complete > the work in batches.
Another problem is: Some LaTeX commands correspond to specific code points/characters, some are only modifiers, say, \boldsymbol. For the latter, it's impossible to display the corresponding code points/character. HZ
