From: "Bruce D'Arcus" <bdarcus@gmail.com>
To: Timothy <tecosaur@gmail.com>
Cc: org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: [PATCH] Allow LaTeX reference command (\ref) to be customised
Date: Sun, 6 Jun 2021 14:39:00 -0400 [thread overview]
Message-ID: <CAF-FPGMkOZedkFekz=T_4e+EpcHn9gE0R0HX-qyu3C_EZqJmig@mail.gmail.com> (raw)
In-Reply-To: <87mts25000.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 621 bytes --]
+1
On Sun, Jun 6, 2021, 2:19 PM Timothy <tecosaur@gmail.com> wrote:
> 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
>
>
[-- Attachment #2: Type: text/html, Size: 973 bytes --]
next prev parent reply other threads:[~2021-06-06 18:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-06 18:19 [PATCH] Allow LaTeX reference command (\ref) to be customised Timothy
2021-06-06 18:29 ` Juan Manuel Macías
2021-06-06 18:39 ` Bruce D'Arcus [this message]
2021-06-09 2:11 ` Timothy
2021-06-09 11:52 ` Nicolas Goaziou
2021-06-09 13:36 ` Timothy
2021-06-09 15:08 ` Nicolas Goaziou
2021-06-09 17:38 ` Timothy
2021-06-11 16:44 ` Nicolas Goaziou
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAF-FPGMkOZedkFekz=T_4e+EpcHn9gE0R0HX-qyu3C_EZqJmig@mail.gmail.com' \
--to=bdarcus@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=tecosaur@gmail.com \
/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/org-mode.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).