From: Carsten Dominik <dominik@astro.uva.nl>
Subject: Re: reftex-locate-bibliography-files fails
Date: 21 May 2002 08:45:54 +0200 [thread overview]
Message-ID: <qzur8k6f17h.fsf@sand.science.uva.nl> (raw)
In-Reply-To: 15592.57100.255741.676752@tfkp00.physik.uni-erlangen.de
>>>>> "RW" == Roland Winkler <roland.winkler@physik.uni-erlangen.de> writes:
RW> The regexp in reftex-locate-bibliography-files for matching
RW> `\bibliography{x}' in a LaTeX file fails when `\bibliography{x}' is
RW> surrounded by extra braces like '{\bibliography{x}}'. However, in
RW> certain cases these extra braces are required to make chapterbib.sty
RW> work, see the documentation of chapterbib.sty. As the documentation
RW> of reftex.el says that reftex.el works with chapterbib.sty, I
RW> suggest that the regexp matching in reftex-locate-bibliography-files
RW> should support '{\bibliography{x}}'.
I'll look into it.
RW> Remark: I really do not understand the purpose of the first
RW> parenthesized part in
RW> "\\(\\`\\|[\n\r]\\)[ \t]*\\\\\\(no\\)?bibliography{[ \t]*\\([^}]+\\)"
RW> Maybe there are situations when something like this is necessary.
RW> But isn't this regexp much too restrictive?
For efficiency reasons, RefTeX requires the bibliography statement
first on a line. Normally this is no problem, and it ensures that the
statement has not been commented out.
- Carsten
prev parent reply other threads:[~2002-05-21 6:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-20 11:33 reftex-locate-bibliography-files fails Roland Winkler
2002-05-21 6:45 ` Carsten Dominik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=qzur8k6f17h.fsf@sand.science.uva.nl \
--to=dominik@astro.uva.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).