[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Allow LaTeX reference command (\ref) to be customised
From: |
Timothy |
Subject: |
[PATCH] Allow LaTeX reference command (\ref) to be customised |
Date: |
Mon, 07 Jun 2021 02:19:43 +0800 |
User-agent: |
mu4e 1.4.15; emacs 28.0.50 |
Hi All,
I've started doing some more cross-referencing in documents exported to
LaTeX, and a hardcoded use of \ref has begun to stand out to me as a
rather annoying thing. Hypperef provides \autoref for adding helpful
prefixes (section, figure, etc.), and there are other packages which one
may want to use to generate 'clever' references (like cleveref with
\cref).
As such, I think that the hardcoded \ref should actually be turned into
a customisable format string, which is what the attached patch does.
--
Timothy
0001-ox-latex-Allow-reference-command-to-be-customised.patch
Description: Text Data
- [PATCH] Allow LaTeX reference command (\ref) to be customised,
Timothy <=