[Top][All Lists]

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

Re: No valid bibliography in this document

From: Ikumi Keita
Subject: Re: No valid bibliography in this document
Date: Fri, 20 Mar 2020 15:44:32 +0900

Hi Arash,

>>>>> Arash Esbati <address@hidden> writes:
> I tried it with the files attached without a problem.  One thing I found
> out is a bug in a regexp in `latex.el':

>     (defvar LaTeX-auto-minimal-regexp-list
>       '(("\\\\document\\(style\\|class\\)\
>     \\(\\[\\(\\([^#\\%]\\|%[^\n\r]*[\n\r]\\)*\\)\\]\\)?\
>     {\\([^#\\.\n\r]+?\\)}"
>          (3 5 1) LaTeX-auto-style)
>         ("\\\\use\\(package\\)\\(\\[\\([^\]\\]*\\)\\]\\)?\
>     {\\(\\([^#}\\.%]\\|%[^\n\r]*[\n\r]\\)+?\\)}"
>          (3 4 1) LaTeX-auto-style))
>       "Minimal list of regular expressions matching LaTeX macro definitions.")

> The regexp seems broken to me as fails to parse due to a \ in \refsectionmode:

>     \usepackage[refsection=\refsectionmode]{biblatex}

> My suggestion to other developers: Make the following change:

> -       ("\\\\use\\(package\\)\\(\\[\\([^\]\\]*\\)\\]\\)?\
> #       ("\\\\use\\(package\\)\\(\\[\\([^]]*\\)\\]\\)?\


And I think that the same change should be applied to the RequirePackage
entry in `LaTeX-auto-class-regexp-list' as well.

Ikumi Keita

reply via email to

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