GNU bug report logs - #73840
[PATCH] Improved folding for citations

Previous Next

Package: auctex;

Reported by: Paul Nelson <ultrono <at> gmail.com>

Date: Wed, 16 Oct 2024 20:01:01 UTC

Severity: normal

Tags: patch

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Paul Nelson <ultrono <at> gmail.com>
To: bug-auctex <at> gnu.org
Subject: [PATCH] Improved folding for citations
Date: Wed, 16 Oct 2024 21:59:54 +0200
[Message part 1 (text/plain, inline)]
Hi again,

I hope you're not too disappointed to hear that I only anticipate
three further tex-fold.el patches.  Anyway:

Citation macros \cite{...} are currently folded as [c].  This patch
gives more descriptive folding when possible, using author names and
publication years, like [Ne21] or [ABC99].  These are extracted from
any bib files referenced in the document or specified by a user
option.

QUESTION: the new code uses reftex and bibtex.  Are we allowed to just
require those in tex-fold.el?  I wasn't sure, since AUCTeX in general
seems careful about (require) statements.

Any feedback welcome.

Thanks, best,

Paul
[0001-Improved-folding-for-citations.patch (application/octet-stream, attachment)]

This bug report was last modified 212 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.