auctex-devel
[Top][All Lists]
Advanced

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

Re: :bibtex dialect defect?


From: Ikumi Keita
Subject: Re: :bibtex dialect defect?
Date: Mon, 11 Apr 2022 22:47:35 +0900

Hi all,

This is a continuation of a topic in last June :-)

>>>>> Ikumi Keita <ikumi@ikumi.que.jp> writes:
> I think that AUCTeX built-in bibliography management has fundamental
> flaw.

[...]

> The problem is, that the contents of "auto/jr.el" is not used at all
> afterwards.

[...]

> This means that the `LaTeX-add-bibitems' call added as "jr" style hook
> with ":bibtex" dialect hasn't been called. You can confirm it by
> evaluating `(LaTeX-bibitem-list)', which returns nil.

> The LaTeX mode does load "auto/jr.el". However, it doesn't run the
> associated style hook because the hook is registred as ":bibtex"
> dialect, not ":latex".

> Even when you open "jr.bib", the hook isn't run because bibtex-mode
> doesn't run AUCTeX style hooks.

> In these ways, AUCTeX never runs style hooks with ":bibtex" dialect.

> This defect didn't cause major problem. I think practically all AUCTeX
> users who need bibtex facility use RefTeX (or bib-cite.el?) so defect in
> AUCTeX built-in bibliography management has been overlooked so far.

I came up to a tentative fix as the attached patch. Comments and
suggestions are welcome.

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine

Attachment: 0001-Fix-bibtex-dialect.patch
Description: tentative fix


reply via email to

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