[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\\)\\(\\[\\([^]]*\\)\\]\\)?\
+1
And I think that the same change should be applied to the RequirePackage
entry in `LaTeX-auto-class-regexp-list' as well.
Best,
Ikumi Keita
- [AUCTeX] No valid bibliography in this document, Hoffmann, Jobst, 2020/03/16
- Re: No valid bibliography in this document, Arash Esbati, 2020/03/16
- Re: No valid bibliography in this document, Hoffmann, Jobst, 2020/03/17
- Re: No valid bibliography in this document, Arash Esbati, 2020/03/17
- Re: No valid bibliography in this document, Hoffmann, Jobst, 2020/03/17
- Re: No valid bibliography in this document, Arash Esbati, 2020/03/19
- Re: No valid bibliography in this document,
Ikumi Keita <=
- Re: No valid bibliography in this document, Arash Esbati, 2020/03/23