Hi all As I learned by Ulrike Fischer, see https://tex.stackexchange.com/questions/702346/xr-hyper-include-the-file-name-in-the-reference-to-an-external-document/702513#702513
Hyperref now supports the reference to the external files by name (but with the extension pdf). The link above gives an example. To add font and command support for \getrefbykeydefault{}{}{} is very easy (see the patch below), however it would be nice to have also reftex support. On the other hand reftex seems only to support the format \ref{eq:1} but not \ref{eq:1}{url}{some text} Any ideas? Uwe Brauer -- I strongly condemn Hamas heinous atrocities on Israel, especially the despicable pogroms. I strongly condemn Putin's war of aggression against Ukraine. I support to deliver weapons to Ukraine's military. I support the EU and NATO membership of Ukraine.
# HG changeset patch # User Uwe Brauer <o...@mat.ucm.es> # Date 1701363828 -3600 # Thu Nov 30 18:03:48 2023 +0100 # Node ID 6d88d3f16adf0af6af4824f5eb6486156d77fb69 # Parent 35fb43f7b36b75f7153c3a716d4fd81960c32422 # EXP-Topic getrefbykeydefault Add command getrefbykeydefault to hyperref * style/hyperref.el ("hyperref"): Add command getrefbykeydefault to hyperref. diff --git a/style/hyperref.el b/style/hyperref.el --- a/style/hyperref.el +++ b/style/hyperref.el @@ -239,6 +239,7 @@ ([TeX-arg-ref] "Text") ("URL" "Category" "Name" "Text"))) '("hyperlink" "Name" "Text") + '("getrefbykeydefault" "Name" "Text" "Path") '("hypertarget" "Name" "Text") '("phantomsection" 0) '("autoref" TeX-arg-ref) @@ -319,6 +320,7 @@ ("hypertarget" "{{") ("autoref" "*{") ("ref" "*{") + ("getrefbykeydefault" "*{") ("pageref" "*{") ("autopageref" "*{")) 'reference)
smime.p7s
Description: S/MIME cryptographic signature