[latex3-commits] [git/LaTeX3-latex3-hyperref] cleanup-patches: improve showkeys support (5d4db21)

Ulrike Fischer fischer at troubleshooting-tex.de
Mon Apr 11 21:15:31 CEST 2022


Repository : https://github.com/latex3/hyperref
On branch  : cleanup-patches
Link       : https://github.com/latex3/hyperref/commit/5d4db21261dbd2e4eb18d595bb728d3ffd38593c

>---------------------------------------------------------------

commit 5d4db21261dbd2e4eb18d595bb728d3ffd38593c
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon Apr 11 21:15:31 2022 +0200

    improve showkeys support


>---------------------------------------------------------------

5d4db21261dbd2e4eb18d595bb728d3ffd38593c
 hyperref.dtx                                       |   4 +
 .../refstarred-hyperref-showkeys.luatex.tlg        | 318 +++++++++++++++++++++
 ...perref.lvt => refstarred-hyperref-showkeys.lvt} |   5 +-
 testfiles-3/refstarred-hyperref-showkeys.tlg       | 298 +++++++++++++++++++
 testfiles-3/refstarred-nameref-showkeys.luatex.tlg | 290 +++++++++++++++++++
 ...nameref.lvt => refstarred-nameref-showkeys.lvt} |   5 +-
 testfiles-3/refstarred-nameref-showkeys.tlg        | 270 +++++++++++++++++
 7 files changed, 1186 insertions(+), 4 deletions(-)

diff --git a/hyperref.dtx b/hyperref.dtx
index c9e55bf..ea2bce4 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -7337,15 +7337,19 @@
  \ifHy at implicit
    \let \T at Ref\HyRef at Ref
    \def\@refstar#1{%
+     \NR at ref@showkeys{#1}%
      \HyRef at StarSetRef{#1}\@firstoffive
    }
    \def\@pagerefstar#1{%
+     \NR at ref@showkeys{#1}%
      \HyRef at StarSetRef{#1}\@secondoffive
    }
    \def\@namerefstar#1{%
+     \NR at ref@showkeys{#1}%
      \HyRef at StarSetRef{#1}\@thirdoffive
    }
    \def\@Refstar#1{%
+     \NR at ref@showkeys{#1}%
      \HyRef at StarSetRef{#1}\HyRef at MakeUppercaseFirstOfFive
    }%
  \else
diff --git a/testfiles-3/refstarred-hyperref-showkeys.luatex.tlg b/testfiles-3/refstarred-hyperref-showkeys.luatex.tlg
new file mode 100644
index 0000000..cc3ef69
--- /dev/null
+++ b/testfiles-3/refstarred-hyperref-showkeys.luatex.tlg
@@ -0,0 +1,318 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+> \ref=robust macro:
+->\protect \ref  .
+> \ref =\long macro:
+->\@ifstar \@refstar \T at ref .
+<argument> \ref  
+l. ...\ShowCommand\ref
+> \Ref=robust macro:
+->\protect \Ref  .
+> \Ref =macro:
+->\@ifstar \@Refstar \T at Ref .
+<argument> \Ref  
+l. ...\ShowCommand\Ref
+> \pageref=robust macro:
+->\protect \pageref  .
+> \pageref =\long macro:
+->\@ifstar \@pagerefstar \T at pageref .
+<argument> \pageref  
+l. ...\ShowCommand\pageref
+LaTeX Font Info:    External font `cmex10' loaded for size
+(Font)              <7> on input line ....
+LaTeX Font Info:    External font `cmex10' loaded for size
+(Font)              <5> on input line ....
+Completed box being shipped out [1]
+\vbox(633.0+0.0)x407.0, direction TLT
+.\hbox(0.0+0.0)x0.0, direction TLT
+.\vbox(0.0+0.0)x0.0, glue set - 14.99626fil, direction TLT
+..\kern0.0
+..\kern16.0
+..\kern-1.00374
+..\hbox(0.0+0.0)x0.0, glue set - 60.99626fil, direction TLT
+...\kern0.0
+...\kern62.0
+...\kern-1.00374
+...\pdfdest name{page.1} xyz
+...\penalty 10000
+...\glue 0.0 plus 1.0fil minus 1.0fil
+..\glue 0.0 plus 1.0fil minus 1.0fil
+.\glue(\lineskip) 0.0
+.\vbox(633.0+0.0)x407.0, direction TLT
+..\glue 16.0
+..\vbox(617.0+0.0)x345.0, shifted 62.0, direction TLT
+...\vbox(12.0+0.0)x345.0, glue set 12.0fil, direction TLT
+....\glue 0.0 plus 1.0fil
+....\hbox(0.0+0.0)x345.0, direction TLT
+.....\hbox(0.0+0.0)x345.0, direction TLT
+...\glue 25.0
+...\glue(\lineskip) 0.0
+...\vbox(550.0+0.0)x345.0, glue set 472.9515fil, direction TLT
+....\write-{}
+....\pdfdest name{Doc-Start} xyz
+....\glue(\topskip) 5.69
+....\hbox(4.31+0.0)x345.0, glue set 310.83002fil, direction TLT
+.....\localpar
+......\localinterlinepenalty=0
+......\localbrokenpenalty=0
+......\localleftbox=null
+......\localrightbox=null
+.....\hbox(0.0+0.0)x15.0, direction TLT
+.....\TU/lmr/m/n/10 x
+.....\TU/lmr/m/n/10 x
+.....\TU/lmr/m/n/10 x
+.....\glue(\spaceskip) 3.33 plus 1.665 minus 1.11
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\penalty -300
+....\glue 15.08499 plus 4.31 minus 0.86198
+....\pdfdest name{section.1} xyz
+....\penalty 10000
+....\glue -15.08499 plus -4.31 minus -0.86198
+....\glue 15.08499 plus 4.31 minus 0.86198
+....\glue(\parskip) 0.0 plus 1.0
+....\glue(\parskip) 0.0
+....\glue(\baselineskip) 8.2512
+....\hbox(9.7488+0.0864)x345.0, glue set 292.72803fil, direction TLT
+.....\localpar
+......\localinterlinepenalty=0
+......\localbrokenpenalty=0
+......\localleftbox=null
+......\localrightbox=null
+.....\hbox(6.5232+0.0864)x22.2768, direction TLT
+......\glue 0.0
+......\TU/lmr/bx/n/14.4 a
+......\glue 14.4
+.....\TU/lmr/bx/n/14.4 T
+.....\kern-1.35359 (font)
+.....\TU/lmr/bx/n/14.4 e
+.....\TU/lmr/bx/n/14.4 s
+.....\TU/lmr/bx/n/14.4 t
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\write3{\protect \BOOKMARK [1][-]{section.1}{\376\377\000T\000e\000s\000t}{}%\ETC.}
+....\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline \ETC.}
+....\penalty 10000
+....\glue 9.913 plus 0.86198
+....\hbox(0.0+0.0)x0.0, glue set - 55.60004fil, direction TLT
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\hbox(0.0+0.0)x44.60004, direction TLT
+......\hbox(8.38599+3.44499)x44.60004, direction TLT
+.......\hbox(11.83098+0.0)x44.60004, shifted 3.44499, direction TLT
+........\vbox(11.83098+0.0)x44.60004, direction TLT
+.........\rule(0.4+0.0)x*
+.........\hbox(11.03099+0.0)x44.60004, direction TLT
+..........\rule(*+*)x0.4
+..........\vbox(11.03099+0.0)x43.80005, direction TLT
+...........\glue 3.0
+...........\hbox(4.986+0.045)x43.80005, direction TLT
+............\kern3.0
+............\TU/lmtt/m/n/9 s
+............\TU/lmtt/m/n/9 e
+............\TU/lmtt/m/n/9 c
+............\TU/lmtt/m/n/9 :
+............\TU/lmtt/m/n/9 t
+............\TU/lmtt/m/n/9 e
+............\TU/lmtt/m/n/9 s
+............\TU/lmtt/m/n/9 t
+............\kern3.0
+...........\glue 3.0
+..........\rule(*+*)x0.4
+.........\rule(0.4+0.0)x*
+.....\kern11.0
+....\write1{\newlabel{sec:test}{{a}{\thepage }{Test}{section.1}{}}}
+....\penalty 10000
+....\penalty 10000
+....\glue(\parskip) 0.0 plus 1.0
+....\glue(\parskip) 0.0
+....\glue(\baselineskip) 4.7536
+....\hbox(7.16+1.93)x345.0, glue set 278.60999fil, direction TLT
+.....\localpar
+......\localinterlinepenalty=0
+......\localbrokenpenalty=0
+......\localleftbox=null
+......\localrightbox=null
+.....\vbox(0.0+0.0)x0.0, glue set - 11.932fil, direction TLT
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(11.932+0.0)x0.0, glue set - 34.384fil, direction TLT
+.......\rule(*+*)x0.4
+.......\hbox(4.432+1.9999)x33.98401, shifted -7.5, direction TLT
+........\mathon
+........\vbox(4.432+1.9999)x33.98401, direction TLT
+.........\hbox(4.432+0.0)x33.98401, direction TLT
+..........\hbox(4.432+0.0)x33.98401, direction TLT
+...........\TU/lmtt/m/n/8 s
+...........\TU/lmtt/m/n/8 e
+...........\TU/lmtt/m/n/8 c
+...........\TU/lmtt/m/n/8 :
+...........\TU/lmtt/m/n/8 t
+...........\TU/lmtt/m/n/8 e
+...........\TU/lmtt/m/n/8 s
+...........\TU/lmtt/m/n/8 t
+.........\kern1.19994 (font)
+.........\rule(0.39998+0.0)x*
+........\mathoff
+.......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\pdfstartlink(*+*)x* attr{/Border[0 0 1]/H/I/C[1 0 0]} action goto name{section.1}
+.....\TU/lmr/m/n/10 a
+.....\pdfendlink
+.....\TU/lmr/m/n/10 ,
+.....\glue 20.0
+.....\pdfstartlink(*+*)x* attr{/Border[0 0 1]/H/I/C[1 0 0]} action goto name{section.1}
+.....\vbox(0.0+0.0)x0.0, glue set - 11.932fil, direction TLT
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(11.932+0.0)x0.0, glue set - 34.384fil, direction TLT
+.......\rule(*+*)x0.4
+.......\hbox(4.432+1.9999)x33.98401, shifted -7.5, direction TLT
+........\mathon
+........\vbox(4.432+1.9999)x33.98401, direction TLT
+.........\hbox(4.432+0.0)x33.98401, direction TLT
+..........\hbox(4.432+0.0)x33.98401, direction TLT
+...........\TU/lmtt/m/n/8 s
+...........\TU/lmtt/m/n/8 e
+...........\TU/lmtt/m/n/8 c
+...........\TU/lmtt/m/n/8 :
+...........\TU/lmtt/m/n/8 t
+...........\TU/lmtt/m/n/8 e
+...........\TU/lmtt/m/n/8 s
+...........\TU/lmtt/m/n/8 t
+.........\kern1.19994 (font)
+.........\rule(0.39998+0.0)x*
+........\mathoff
+.......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\TU/lmr/m/n/10 A
+.....\hbox(0.0+0.0)x0.0, direction TLT
+.....\pdfendlink
+.....\TU/lmr/m/n/10 ,
+.....\glue(\spaceskip) 3.33 plus 2.08124 minus 0.888
+.....\glue 20.0
+.....\vbox(0.0+0.0)x0.0, glue set - 11.932fil, direction TLT
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(11.932+0.0)x0.0, glue set - 34.384fil, direction TLT
+.......\rule(*+*)x0.4
+.......\hbox(4.432+1.9999)x33.98401, shifted -7.5, direction TLT
+........\mathon
+........\vbox(4.432+1.9999)x33.98401, direction TLT
+.........\hbox(4.432+0.0)x33.98401, direction TLT
+..........\hbox(4.432+0.0)x33.98401, direction TLT
+...........\TU/lmtt/m/n/8 s
+...........\TU/lmtt/m/n/8 e
+...........\TU/lmtt/m/n/8 c
+...........\TU/lmtt/m/n/8 :
+...........\TU/lmtt/m/n/8 t
+...........\TU/lmtt/m/n/8 e
+...........\TU/lmtt/m/n/8 s
+...........\TU/lmtt/m/n/8 t
+.........\kern1.19994 (font)
+.........\rule(0.39998+0.0)x*
+........\mathoff
+.......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\pdfstartlink(*+*)x* attr{/Border[0 0 1]/H/I/C[1 0 0]} action goto name{section.1}
+.....\TU/lmr/m/n/10 1
+.....\pdfendlink
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\glue(\parskip) 0.0 plus 1.0
+....\glue(\parskip) 0.0
+....\glue(\baselineskip) 2.91
+....\hbox(7.16+1.93)x345.0, glue set 263.60999fil, direction TLT
+.....\localpar
+......\localinterlinepenalty=0
+......\localbrokenpenalty=0
+......\localleftbox=null
+......\localrightbox=null
+.....\hbox(0.0+0.0)x15.0, direction TLT
+.....\vbox(0.0+0.0)x0.0, glue set - 11.932fil, direction TLT
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(11.932+0.0)x0.0, glue set - 34.384fil, direction TLT
+.......\rule(*+*)x0.4
+.......\hbox(4.432+1.9999)x33.98401, shifted -7.5, direction TLT
+........\mathon
+........\vbox(4.432+1.9999)x33.98401, direction TLT
+.........\hbox(4.432+0.0)x33.98401, direction TLT
+..........\hbox(4.432+0.0)x33.98401, direction TLT
+...........\TU/lmtt/m/n/8 s
+...........\TU/lmtt/m/n/8 e
+...........\TU/lmtt/m/n/8 c
+...........\TU/lmtt/m/n/8 :
+...........\TU/lmtt/m/n/8 t
+...........\TU/lmtt/m/n/8 e
+...........\TU/lmtt/m/n/8 s
+...........\TU/lmtt/m/n/8 t
+.........\kern1.19994 (font)
+.........\rule(0.39998+0.0)x*
+........\mathoff
+.......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\TU/lmr/m/n/10 a
+.....\hbox(0.0+0.0)x0.0, direction TLT
+.....\TU/lmr/m/n/10 ,
+.....\glue 20.0
+.....\vbox(0.0+0.0)x0.0, glue set - 11.932fil, direction TLT
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(11.932+0.0)x0.0, glue set - 34.384fil, direction TLT
+.......\rule(*+*)x0.4
+.......\hbox(4.432+1.9999)x33.98401, shifted -7.5, direction TLT
+........\mathon
+........\vbox(4.432+1.9999)x33.98401, direction TLT
+.........\hbox(4.432+0.0)x33.98401, direction TLT
+..........\hbox(4.432+0.0)x33.98401, direction TLT
+...........\TU/lmtt/m/n/8 s
+...........\TU/lmtt/m/n/8 e
+...........\TU/lmtt/m/n/8 c
+...........\TU/lmtt/m/n/8 :
+...........\TU/lmtt/m/n/8 t
+...........\TU/lmtt/m/n/8 e
+...........\TU/lmtt/m/n/8 s
+...........\TU/lmtt/m/n/8 t
+.........\kern1.19994 (font)
+.........\rule(0.39998+0.0)x*
+........\mathoff
+.......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\TU/lmr/m/n/10 A
+.....\hbox(0.0+0.0)x0.0, direction TLT
+.....\TU/lmr/m/n/10 ,
+.....\glue(\spaceskip) 3.33 plus 2.08124 minus 0.888
+.....\glue 20.0
+.....\vbox(0.0+0.0)x0.0, glue set - 11.932fil, direction TLT
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(11.932+0.0)x0.0, glue set - 34.384fil, direction TLT
+.......\rule(*+*)x0.4
+.......\hbox(4.432+1.9999)x33.98401, shifted -7.5, direction TLT
+........\mathon
+........\vbox(4.432+1.9999)x33.98401, direction TLT
+.........\hbox(4.432+0.0)x33.98401, direction TLT
+..........\hbox(4.432+0.0)x33.98401, direction TLT
+...........\TU/lmtt/m/n/8 s
+...........\TU/lmtt/m/n/8 e
+...........\TU/lmtt/m/n/8 c
+...........\TU/lmtt/m/n/8 :
+...........\TU/lmtt/m/n/8 t
+...........\TU/lmtt/m/n/8 e
+...........\TU/lmtt/m/n/8 s
+...........\TU/lmtt/m/n/8 t
+.........\kern1.19994 (font)
+.........\rule(0.39998+0.0)x*
+........\mathoff
+.......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\TU/lmr/m/n/10 1
+.....\hbox(0.0+0.0)x0.0, direction TLT
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\glue -1.93
+....\glue 0.0 plus 1.0fil
+....\glue 0.0
+....\glue 0.0 plus 0.0001fil
+...\glue(\baselineskip) 23.34
+...\hbox(6.66+0.0)x345.0, direction TLT
+....\hbox(6.66+0.0)x345.0, glue set 170.0fil, direction TLT
+.....\glue 0.0 plus 1.0fil
+.....\TU/lmr/m/n/10 1
+.....\glue 0.0 plus 1.0fil
+.\kern0.0
+(refstarred-hyperref-showkeys.aux)
+Package rerunfilecheck Info: File `refstarred-hyperref-showkeys.out' has not changed.
+(rerunfilecheck)             Checksum: FC90D1180BECD91AF9B24497E24BDAEA;63.
diff --git a/testfiles-3/refstarred-hyperref.lvt b/testfiles-3/refstarred-hyperref-showkeys.lvt
similarity index 59%
copy from testfiles-3/refstarred-hyperref.lvt
copy to testfiles-3/refstarred-hyperref-showkeys.lvt
index d764fa4..45ae180 100644
--- a/testfiles-3/refstarred-hyperref.lvt
+++ b/testfiles-3/refstarred-hyperref-showkeys.lvt
@@ -1,6 +1,7 @@
 \input{regression-test}
 \documentclass{article}
 
+\usepackage{showkeys}
 \usepackage{hyperref}
 
 \begin{document}
@@ -12,7 +13,7 @@ xxx
 \ShowCommand\pageref
 
 \section{Test}\label{sec:test}
-\ref{sec:test},\Ref{sec:test}, \pageref{sec:test}
+\ref{sec:test},\qquad \Ref{sec:test}, \qquad\pageref{sec:test}
 
-\ref*{sec:test},\Ref*{sec:test}, \pageref*{sec:test}
+\ref*{sec:test},\qquad \Ref*{sec:test}, \qquad \pageref*{sec:test}
 \end{document} 
\ No newline at end of file
diff --git a/testfiles-3/refstarred-hyperref-showkeys.tlg b/testfiles-3/refstarred-hyperref-showkeys.tlg
new file mode 100644
index 0000000..9d4de6f
--- /dev/null
+++ b/testfiles-3/refstarred-hyperref-showkeys.tlg
@@ -0,0 +1,298 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+> \ref=robust macro:
+->\protect \ref  .
+> \ref =\long macro:
+->\@ifstar \@refstar \T at ref .
+<argument> \ref  
+l. ...\ShowCommand\ref
+> \Ref=robust macro:
+->\protect \Ref  .
+> \Ref =macro:
+->\@ifstar \@Refstar \T at Ref .
+<argument> \Ref  
+l. ...\ShowCommand\Ref
+> \pageref=robust macro:
+->\protect \pageref  .
+> \pageref =\long macro:
+->\@ifstar \@pagerefstar \T at pageref .
+<argument> \pageref  
+l. ...\ShowCommand\pageref
+LaTeX Font Info:    External font `cmex10' loaded for size
+(Font)              <7> on input line ....
+LaTeX Font Info:    External font `cmex10' loaded for size
+(Font)              <5> on input line ....
+Completed box being shipped out [1]
+\vbox(633.0+0.0)x407.0
+.\hbox(0.0+0.0)x0.0
+.\vbox(0.0+0.0)x0.0, glue set - 14.99626fil
+..\kern 0.0
+..\kern 16.0
+..\kern -1.00374
+..\hbox(0.0+0.0)x0.0, glue set - 60.99626fil
+...\kern 0.0
+...\kern 62.0
+...\kern -1.00374
+...\pdfdest name{page.1} xyz
+...\penalty 10000
+...\glue 0.0 plus 1.0fil minus 1.0fil
+..\glue 0.0 plus 1.0fil minus 1.0fil
+.\glue(\lineskip) 0.0
+.\vbox(633.0+0.0)x407.0
+..\glue 16.0
+..\vbox(617.0+0.0)x345.0, shifted 62.0
+...\vbox(12.0+0.0)x345.0, glue set 12.0fil
+....\glue 0.0 plus 1.0fil
+....\hbox(0.0+0.0)x345.0
+.....\hbox(0.0+0.0)x345.0
+...\glue 25.0
+...\glue(\lineskip) 0.0
+...\vbox(550.0+0.0)x345.0, glue set 472.97733fil
+....\write-{}
+....\pdfdest name{Doc-Start} xyz
+....\glue(\topskip) 5.69446
+....\hbox(4.30554+0.0)x345.0, glue set 310.83327fil
+.....\hbox(0.0+0.0)x15.0
+.....\OT1/cmr/m/n/10 x
+.....\OT1/cmr/m/n/10 x
+.....\OT1/cmr/m/n/10 x
+.....\glue 3.33333 plus 1.66666 minus 1.11111
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\penalty -300
+....\glue 15.0694 plus 4.30554 minus 0.86108
+....\pdfdest name{section.1} xyz
+....\penalty 10000
+....\glue -15.0694 plus -4.30554 minus -0.86108
+....\glue 15.0694 plus 4.30554 minus 0.86108
+....\glue(\parskip) 0.0 plus 1.0
+....\glue(\parskip) 0.0
+....\glue(\baselineskip) 8.12001
+....\hbox(9.87999+0.0)x345.0, glue set 290.92673fil
+.....\hbox(6.39998+0.0)x24.07497
+......\glue 0.0
+......\OT1/cmr/bx/n/14.4 a
+......\glue 16.19998
+.....\OT1/cmr/bx/n/14.4 T
+.....\kern-1.35
+.....\OT1/cmr/bx/n/14.4 e
+.....\OT1/cmr/bx/n/14.4 s
+.....\OT1/cmr/bx/n/14.4 t
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\write3{\protect \BOOKMARK [1][-]{section.1}{\376\377\000T\000e\000s\000t}{}%\ETC.}
+....\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline \ETC.}
+....\penalty 10000
+....\glue 9.90276 plus 0.86108
+....\hbox(0.0+0.0)x0.0, glue set - 55.59955fil
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\hbox(0.0+0.0)x44.59955
+......\hbox(8.38216+3.4)x44.59955
+.......\hbox(11.78215+0.0)x44.59955, shifted 3.4
+........\vbox(11.78215+0.0)x44.59955
+.........\rule(0.4+0.0)x*
+.........\hbox(10.98216+0.0)x44.59955
+..........\rule(*+*)x0.4
+..........\vbox(10.98216+0.0)x43.79956
+...........\glue 3.0
+...........\hbox(4.98216+0.0)x43.79956
+............\kern 3.0
+............\OT1/cmtt/m/n/9 s
+............\OT1/cmtt/m/n/9 e
+............\OT1/cmtt/m/n/9 c
+............\OT1/cmtt/m/n/9 :
+............\OT1/cmtt/m/n/9 t
+............\OT1/cmtt/m/n/9 e
+............\OT1/cmtt/m/n/9 s
+............\OT1/cmtt/m/n/9 t
+............\kern 3.0
+...........\glue 3.0
+..........\rule(*+*)x0.4
+.........\rule(0.4+0.0)x*
+.....\kern 11.0
+....\write1{\newlabel{sec:test}{{a}{\thepage }{Test}{section.1}{}}}
+....\penalty 10000
+....\penalty 10000
+....\glue(\parskip) 0.0 plus 1.0
+....\glue(\parskip) 0.0
+....\glue(\baselineskip) 5.16669
+....\hbox(6.83331+1.94444)x345.0, glue set 278.611fil
+.....\vbox(0.0+0.0)x0.0, glue set - 11.92859fil
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(11.92859+0.0)x0.0, glue set - 34.40048fil
+.......\rule(*+*)x0.4
+.......\hbox(4.42859+1.9999)x34.00049, shifted -7.5
+........\mathon
+........\vbox(4.42859+1.9999)x34.00049
+.........\hbox(4.42859+0.0)x34.00049
+..........\hbox(4.42859+0.0)x34.00049
+...........\OT1/cmtt/m/n/8 s
+...........\OT1/cmtt/m/n/8 e
+...........\OT1/cmtt/m/n/8 c
+...........\OT1/cmtt/m/n/8 :
+...........\OT1/cmtt/m/n/8 t
+...........\OT1/cmtt/m/n/8 e
+...........\OT1/cmtt/m/n/8 s
+...........\OT1/cmtt/m/n/8 t
+.........\kern1.19994
+.........\rule(0.39998+0.0)x*
+........\mathoff
+.......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\pdfstartlink(*+*)x* attr{/Border[0 0 1]/H/I/C[1 0 0]} action goto name{section.1}
+.....\OT1/cmr/m/n/10 a
+.....\pdfendlink
+.....\OT1/cmr/m/n/10 ,
+.....\glue 20.00003
+.....\pdfstartlink(*+*)x* attr{/Border[0 0 1]/H/I/C[1 0 0]} action goto name{section.1}
+.....\vbox(0.0+0.0)x0.0, glue set - 11.92859fil
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(11.92859+0.0)x0.0, glue set - 34.40048fil
+.......\rule(*+*)x0.4
+.......\hbox(4.42859+1.9999)x34.00049, shifted -7.5
+........\mathon
+........\vbox(4.42859+1.9999)x34.00049
+.........\hbox(4.42859+0.0)x34.00049
+..........\hbox(4.42859+0.0)x34.00049
+...........\OT1/cmtt/m/n/8 s
+...........\OT1/cmtt/m/n/8 e
+...........\OT1/cmtt/m/n/8 c
+...........\OT1/cmtt/m/n/8 :
+...........\OT1/cmtt/m/n/8 t
+...........\OT1/cmtt/m/n/8 e
+...........\OT1/cmtt/m/n/8 s
+...........\OT1/cmtt/m/n/8 t
+.........\kern1.19994
+.........\rule(0.39998+0.0)x*
+........\mathoff
+.......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\OT1/cmr/m/n/10 A
+.....\hbox(0.0+0.0)x0.0
+.....\pdfendlink
+.....\OT1/cmr/m/n/10 ,
+.....\glue 3.33333 plus 2.08331 minus 0.88889
+.....\glue 20.00003
+.....\vbox(0.0+0.0)x0.0, glue set - 11.92859fil
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(11.92859+0.0)x0.0, glue set - 34.40048fil
+.......\rule(*+*)x0.4
+.......\hbox(4.42859+1.9999)x34.00049, shifted -7.5
+........\mathon
+........\vbox(4.42859+1.9999)x34.00049
+.........\hbox(4.42859+0.0)x34.00049
+..........\hbox(4.42859+0.0)x34.00049
+...........\OT1/cmtt/m/n/8 s
+...........\OT1/cmtt/m/n/8 e
+...........\OT1/cmtt/m/n/8 c
+...........\OT1/cmtt/m/n/8 :
+...........\OT1/cmtt/m/n/8 t
+...........\OT1/cmtt/m/n/8 e
+...........\OT1/cmtt/m/n/8 s
+...........\OT1/cmtt/m/n/8 t
+.........\kern1.19994
+.........\rule(0.39998+0.0)x*
+........\mathoff
+.......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\pdfstartlink(*+*)x* attr{/Border[0 0 1]/H/I/C[1 0 0]} action goto name{section.1}
+.....\OT1/cmr/m/n/10 1
+.....\pdfendlink
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\glue(\parskip) 0.0 plus 1.0
+....\glue(\parskip) 0.0
+....\glue(\baselineskip) 3.22224
+....\hbox(6.83331+1.94444)x345.0, glue set 263.611fil
+.....\hbox(0.0+0.0)x15.0
+.....\vbox(0.0+0.0)x0.0, glue set - 11.92859fil
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(11.92859+0.0)x0.0, glue set - 34.40048fil
+.......\rule(*+*)x0.4
+.......\hbox(4.42859+1.9999)x34.00049, shifted -7.5
+........\mathon
+........\vbox(4.42859+1.9999)x34.00049
+.........\hbox(4.42859+0.0)x34.00049
+..........\hbox(4.42859+0.0)x34.00049
+...........\OT1/cmtt/m/n/8 s
+...........\OT1/cmtt/m/n/8 e
+...........\OT1/cmtt/m/n/8 c
+...........\OT1/cmtt/m/n/8 :
+...........\OT1/cmtt/m/n/8 t
+...........\OT1/cmtt/m/n/8 e
+...........\OT1/cmtt/m/n/8 s
+...........\OT1/cmtt/m/n/8 t
+.........\kern1.19994
+.........\rule(0.39998+0.0)x*
+........\mathoff
+.......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\OT1/cmr/m/n/10 a
+.....\hbox(0.0+0.0)x0.0
+.....\OT1/cmr/m/n/10 ,
+.....\glue 20.00003
+.....\vbox(0.0+0.0)x0.0, glue set - 11.92859fil
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(11.92859+0.0)x0.0, glue set - 34.40048fil
+.......\rule(*+*)x0.4
+.......\hbox(4.42859+1.9999)x34.00049, shifted -7.5
+........\mathon
+........\vbox(4.42859+1.9999)x34.00049
+.........\hbox(4.42859+0.0)x34.00049
+..........\hbox(4.42859+0.0)x34.00049
+...........\OT1/cmtt/m/n/8 s
+...........\OT1/cmtt/m/n/8 e
+...........\OT1/cmtt/m/n/8 c
+...........\OT1/cmtt/m/n/8 :
+...........\OT1/cmtt/m/n/8 t
+...........\OT1/cmtt/m/n/8 e
+...........\OT1/cmtt/m/n/8 s
+...........\OT1/cmtt/m/n/8 t
+.........\kern1.19994
+.........\rule(0.39998+0.0)x*
+........\mathoff
+.......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\OT1/cmr/m/n/10 A
+.....\hbox(0.0+0.0)x0.0
+.....\OT1/cmr/m/n/10 ,
+.....\glue 3.33333 plus 2.08331 minus 0.88889
+.....\glue 20.00003
+.....\vbox(0.0+0.0)x0.0, glue set - 11.92859fil
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(11.92859+0.0)x0.0, glue set - 34.40048fil
+.......\rule(*+*)x0.4
+.......\hbox(4.42859+1.9999)x34.00049, shifted -7.5
+........\mathon
+........\vbox(4.42859+1.9999)x34.00049
+.........\hbox(4.42859+0.0)x34.00049
+..........\hbox(4.42859+0.0)x34.00049
+...........\OT1/cmtt/m/n/8 s
+...........\OT1/cmtt/m/n/8 e
+...........\OT1/cmtt/m/n/8 c
+...........\OT1/cmtt/m/n/8 :
+...........\OT1/cmtt/m/n/8 t
+...........\OT1/cmtt/m/n/8 e
+...........\OT1/cmtt/m/n/8 s
+...........\OT1/cmtt/m/n/8 t
+.........\kern1.19994
+.........\rule(0.39998+0.0)x*
+........\mathoff
+.......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\OT1/cmr/m/n/10 1
+.....\hbox(0.0+0.0)x0.0
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\glue -1.94444
+....\glue 0.0 plus 1.0fil
+....\glue 0.0
+....\glue 0.0 plus 0.0001fil
+...\glue(\baselineskip) 23.55556
+...\hbox(6.44444+0.0)x345.0
+....\hbox(6.44444+0.0)x345.0, glue set 170.0fil
+.....\glue 0.0 plus 1.0fil
+.....\OT1/cmr/m/n/10 1
+.....\glue 0.0 plus 1.0fil
+.\kern 0.0
+(refstarred-hyperref-showkeys.aux)
+Package rerunfilecheck Info: File `refstarred-hyperref-showkeys.out' has not changed.
+(rerunfilecheck)             Checksum: FC90D1180BECD91AF9B24497E24BDAEA;63.
diff --git a/testfiles-3/refstarred-nameref-showkeys.luatex.tlg b/testfiles-3/refstarred-nameref-showkeys.luatex.tlg
new file mode 100644
index 0000000..2ced6a1
--- /dev/null
+++ b/testfiles-3/refstarred-nameref-showkeys.luatex.tlg
@@ -0,0 +1,290 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+> \ref=robust macro:
+->\protect \ref  .
+> \ref =\long macro:
+->\@ifstar \@refstar \T at ref .
+<argument> \ref  
+l. ...\ShowCommand\ref
+> \Ref=robust macro:
+->\protect \Ref  .
+> \Ref =macro:
+->\@ifstar \@Refstar \T at Ref .
+<argument> \Ref  
+l. ...\ShowCommand\Ref
+> \pageref=robust macro:
+->\protect \pageref  .
+> \pageref =\long macro:
+->\@ifstar \@pagerefstar \T at pageref .
+<argument> \pageref  
+l. ...\ShowCommand\pageref
+LaTeX Font Info:    External font `cmex10' loaded for size
+(Font)              <7> on input line ....
+LaTeX Font Info:    External font `cmex10' loaded for size
+(Font)              <5> on input line ....
+Completed box being shipped out [1]
+\vbox(633.0+0.0)x407.0, direction TLT
+.\glue 16.0
+.\vbox(617.0+0.0)x345.0, shifted 62.0, direction TLT
+..\vbox(12.0+0.0)x345.0, glue set 12.0fil, direction TLT
+...\glue 0.0 plus 1.0fil
+...\hbox(0.0+0.0)x345.0, direction TLT
+....\hbox(0.0+0.0)x345.0, direction TLT
+..\glue 25.0
+..\glue(\lineskip) 0.0
+..\vbox(550.0+0.0)x345.0, glue set 472.9515fil, direction TLT
+...\write-{}
+...\glue(\topskip) 5.69
+...\hbox(4.31+0.0)x345.0, glue set 310.83002fil, direction TLT
+....\localpar
+.....\localinterlinepenalty=0
+.....\localbrokenpenalty=0
+.....\localleftbox=null
+.....\localrightbox=null
+....\hbox(0.0+0.0)x15.0, direction TLT
+....\TU/lmr/m/n/10 x
+....\TU/lmr/m/n/10 x
+....\TU/lmr/m/n/10 x
+....\glue(\spaceskip) 3.33 plus 1.665 minus 1.11
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\penalty -300
+...\glue 15.08499 plus 4.31 minus 0.86198
+...\glue(\parskip) 0.0 plus 1.0
+...\glue(\parskip) 0.0
+...\glue(\baselineskip) 8.2512
+...\hbox(9.7488+0.0864)x345.0, glue set 292.72803fil, direction TLT
+....\localpar
+.....\localinterlinepenalty=0
+.....\localbrokenpenalty=0
+.....\localleftbox=null
+.....\localrightbox=null
+....\hbox(6.5232+0.0864)x22.2768, direction TLT
+.....\glue 0.0
+.....\TU/lmr/bx/n/14.4 a
+.....\glue 14.4
+....\TU/lmr/bx/n/14.4 T
+....\kern-1.35359 (font)
+....\TU/lmr/bx/n/14.4 e
+....\TU/lmr/bx/n/14.4 s
+....\TU/lmr/bx/n/14.4 t
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline \ETC.}
+...\penalty 10000
+...\glue 9.913 plus 0.86198
+...\hbox(0.0+0.0)x0.0, glue set - 55.60004fil, direction TLT
+....\glue 0.0 plus 1.0fil minus 1.0fil
+....\hbox(0.0+0.0)x44.60004, direction TLT
+.....\hbox(8.38599+3.44499)x44.60004, direction TLT
+......\hbox(11.83098+0.0)x44.60004, shifted 3.44499, direction TLT
+.......\vbox(11.83098+0.0)x44.60004, direction TLT
+........\rule(0.4+0.0)x*
+........\hbox(11.03099+0.0)x44.60004, direction TLT
+.........\rule(*+*)x0.4
+.........\vbox(11.03099+0.0)x43.80005, direction TLT
+..........\glue 3.0
+..........\hbox(4.986+0.045)x43.80005, direction TLT
+...........\kern3.0
+...........\TU/lmtt/m/n/9 s
+...........\TU/lmtt/m/n/9 e
+...........\TU/lmtt/m/n/9 c
+...........\TU/lmtt/m/n/9 :
+...........\TU/lmtt/m/n/9 t
+...........\TU/lmtt/m/n/9 e
+...........\TU/lmtt/m/n/9 s
+...........\TU/lmtt/m/n/9 t
+...........\kern3.0
+..........\glue 3.0
+.........\rule(*+*)x0.4
+........\rule(0.4+0.0)x*
+....\kern11.0
+...\write1{\newlabel{sec:test}{{a}{\thepage }{Test}{}{}}}
+...\penalty 10000
+...\penalty 10000
+...\glue(\parskip) 0.0 plus 1.0
+...\glue(\parskip) 0.0
+...\glue(\baselineskip) 4.7536
+...\hbox(7.16+1.93)x345.0, glue set 278.60999fil, direction TLT
+....\localpar
+.....\localinterlinepenalty=0
+.....\localbrokenpenalty=0
+.....\localleftbox=null
+.....\localrightbox=null
+....\vbox(0.0+0.0)x0.0, glue set - 11.932fil, direction TLT
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\hbox(11.932+0.0)x0.0, glue set - 34.384fil, direction TLT
+......\rule(*+*)x0.4
+......\hbox(4.432+1.9999)x33.98401, shifted -7.5, direction TLT
+.......\mathon
+.......\vbox(4.432+1.9999)x33.98401, direction TLT
+........\hbox(4.432+0.0)x33.98401, direction TLT
+.........\hbox(4.432+0.0)x33.98401, direction TLT
+..........\TU/lmtt/m/n/8 s
+..........\TU/lmtt/m/n/8 e
+..........\TU/lmtt/m/n/8 c
+..........\TU/lmtt/m/n/8 :
+..........\TU/lmtt/m/n/8 t
+..........\TU/lmtt/m/n/8 e
+..........\TU/lmtt/m/n/8 s
+..........\TU/lmtt/m/n/8 t
+........\kern1.19994 (font)
+........\rule(0.39998+0.0)x*
+.......\mathoff
+......\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmr/m/n/10 a
+....\hbox(0.0+0.0)x0.0, direction TLT
+....\TU/lmr/m/n/10 ,
+....\glue 20.0
+....\vbox(0.0+0.0)x0.0, glue set - 11.932fil, direction TLT
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\hbox(11.932+0.0)x0.0, glue set - 34.384fil, direction TLT
+......\rule(*+*)x0.4
+......\hbox(4.432+1.9999)x33.98401, shifted -7.5, direction TLT
+.......\mathon
+.......\vbox(4.432+1.9999)x33.98401, direction TLT
+........\hbox(4.432+0.0)x33.98401, direction TLT
+.........\hbox(4.432+0.0)x33.98401, direction TLT
+..........\TU/lmtt/m/n/8 s
+..........\TU/lmtt/m/n/8 e
+..........\TU/lmtt/m/n/8 c
+..........\TU/lmtt/m/n/8 :
+..........\TU/lmtt/m/n/8 t
+..........\TU/lmtt/m/n/8 e
+..........\TU/lmtt/m/n/8 s
+..........\TU/lmtt/m/n/8 t
+........\kern1.19994 (font)
+........\rule(0.39998+0.0)x*
+.......\mathoff
+......\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmr/m/n/10 A
+....\hbox(0.0+0.0)x0.0, direction TLT
+....\TU/lmr/m/n/10 ,
+....\glue(\spaceskip) 3.33 plus 2.08124 minus 0.888
+....\glue 20.0
+....\vbox(0.0+0.0)x0.0, glue set - 11.932fil, direction TLT
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\hbox(11.932+0.0)x0.0, glue set - 34.384fil, direction TLT
+......\rule(*+*)x0.4
+......\hbox(4.432+1.9999)x33.98401, shifted -7.5, direction TLT
+.......\mathon
+.......\vbox(4.432+1.9999)x33.98401, direction TLT
+........\hbox(4.432+0.0)x33.98401, direction TLT
+.........\hbox(4.432+0.0)x33.98401, direction TLT
+..........\TU/lmtt/m/n/8 s
+..........\TU/lmtt/m/n/8 e
+..........\TU/lmtt/m/n/8 c
+..........\TU/lmtt/m/n/8 :
+..........\TU/lmtt/m/n/8 t
+..........\TU/lmtt/m/n/8 e
+..........\TU/lmtt/m/n/8 s
+..........\TU/lmtt/m/n/8 t
+........\kern1.19994 (font)
+........\rule(0.39998+0.0)x*
+.......\mathoff
+......\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmr/m/n/10 1
+....\hbox(0.0+0.0)x0.0, direction TLT
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue(\parskip) 0.0 plus 1.0
+...\glue(\parskip) 0.0
+...\glue(\baselineskip) 2.91
+...\hbox(7.16+1.93)x345.0, glue set 263.60999fil, direction TLT
+....\localpar
+.....\localinterlinepenalty=0
+.....\localbrokenpenalty=0
+.....\localleftbox=null
+.....\localrightbox=null
+....\hbox(0.0+0.0)x15.0, direction TLT
+....\vbox(0.0+0.0)x0.0, glue set - 11.932fil, direction TLT
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\hbox(11.932+0.0)x0.0, glue set - 34.384fil, direction TLT
+......\rule(*+*)x0.4
+......\hbox(4.432+1.9999)x33.98401, shifted -7.5, direction TLT
+.......\mathon
+.......\vbox(4.432+1.9999)x33.98401, direction TLT
+........\hbox(4.432+0.0)x33.98401, direction TLT
+.........\hbox(4.432+0.0)x33.98401, direction TLT
+..........\TU/lmtt/m/n/8 s
+..........\TU/lmtt/m/n/8 e
+..........\TU/lmtt/m/n/8 c
+..........\TU/lmtt/m/n/8 :
+..........\TU/lmtt/m/n/8 t
+..........\TU/lmtt/m/n/8 e
+..........\TU/lmtt/m/n/8 s
+..........\TU/lmtt/m/n/8 t
+........\kern1.19994 (font)
+........\rule(0.39998+0.0)x*
+.......\mathoff
+......\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmr/m/n/10 a
+....\hbox(0.0+0.0)x0.0, direction TLT
+....\TU/lmr/m/n/10 ,
+....\glue 20.0
+....\vbox(0.0+0.0)x0.0, glue set - 11.932fil, direction TLT
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\hbox(11.932+0.0)x0.0, glue set - 34.384fil, direction TLT
+......\rule(*+*)x0.4
+......\hbox(4.432+1.9999)x33.98401, shifted -7.5, direction TLT
+.......\mathon
+.......\vbox(4.432+1.9999)x33.98401, direction TLT
+........\hbox(4.432+0.0)x33.98401, direction TLT
+.........\hbox(4.432+0.0)x33.98401, direction TLT
+..........\TU/lmtt/m/n/8 s
+..........\TU/lmtt/m/n/8 e
+..........\TU/lmtt/m/n/8 c
+..........\TU/lmtt/m/n/8 :
+..........\TU/lmtt/m/n/8 t
+..........\TU/lmtt/m/n/8 e
+..........\TU/lmtt/m/n/8 s
+..........\TU/lmtt/m/n/8 t
+........\kern1.19994 (font)
+........\rule(0.39998+0.0)x*
+.......\mathoff
+......\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmr/m/n/10 A
+....\hbox(0.0+0.0)x0.0, direction TLT
+....\TU/lmr/m/n/10 ,
+....\glue(\spaceskip) 3.33 plus 2.08124 minus 0.888
+....\glue 20.0
+....\vbox(0.0+0.0)x0.0, glue set - 11.932fil, direction TLT
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\hbox(11.932+0.0)x0.0, glue set - 34.384fil, direction TLT
+......\rule(*+*)x0.4
+......\hbox(4.432+1.9999)x33.98401, shifted -7.5, direction TLT
+.......\mathon
+.......\vbox(4.432+1.9999)x33.98401, direction TLT
+........\hbox(4.432+0.0)x33.98401, direction TLT
+.........\hbox(4.432+0.0)x33.98401, direction TLT
+..........\TU/lmtt/m/n/8 s
+..........\TU/lmtt/m/n/8 e
+..........\TU/lmtt/m/n/8 c
+..........\TU/lmtt/m/n/8 :
+..........\TU/lmtt/m/n/8 t
+..........\TU/lmtt/m/n/8 e
+..........\TU/lmtt/m/n/8 s
+..........\TU/lmtt/m/n/8 t
+........\kern1.19994 (font)
+........\rule(0.39998+0.0)x*
+.......\mathoff
+......\glue 0.0 plus 1.0fil minus 1.0fil
+....\TU/lmr/m/n/10 1
+....\hbox(0.0+0.0)x0.0, direction TLT
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue -1.93
+...\glue 0.0 plus 1.0fil
+...\glue 0.0
+...\glue 0.0 plus 0.0001fil
+..\glue(\baselineskip) 23.34
+..\hbox(6.66+0.0)x345.0, direction TLT
+...\hbox(6.66+0.0)x345.0, glue set 170.0fil, direction TLT
+....\glue 0.0 plus 1.0fil
+....\TU/lmr/m/n/10 1
+....\glue 0.0 plus 1.0fil
+(refstarred-nameref-showkeys.aux)
diff --git a/testfiles-3/refstarred-nameref.lvt b/testfiles-3/refstarred-nameref-showkeys.lvt
similarity index 58%
copy from testfiles-3/refstarred-nameref.lvt
copy to testfiles-3/refstarred-nameref-showkeys.lvt
index 05fd37a..2397460 100644
--- a/testfiles-3/refstarred-nameref.lvt
+++ b/testfiles-3/refstarred-nameref-showkeys.lvt
@@ -1,6 +1,7 @@
 \input{regression-test}
 \documentclass{article}
 
+\usepackage{showkeys}
 \usepackage{nameref}
 
 \begin{document}
@@ -12,7 +13,7 @@ xxx
 \ShowCommand\pageref
 
 \section{Test}\label{sec:test}
-\ref{sec:test},\Ref{sec:test}, \pageref{sec:test}
+\ref{sec:test},\qquad \Ref{sec:test}, \qquad\pageref{sec:test}
 
-\ref*{sec:test},\Ref*{sec:test}, \pageref*{sec:test}
+\ref*{sec:test},\qquad \Ref*{sec:test}, \qquad \pageref*{sec:test}
 \end{document} 
\ No newline at end of file
diff --git a/testfiles-3/refstarred-nameref-showkeys.tlg b/testfiles-3/refstarred-nameref-showkeys.tlg
new file mode 100644
index 0000000..4ca46d3
--- /dev/null
+++ b/testfiles-3/refstarred-nameref-showkeys.tlg
@@ -0,0 +1,270 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+> \ref=robust macro:
+->\protect \ref  .
+> \ref =\long macro:
+->\@ifstar \@refstar \T at ref .
+<argument> \ref  
+l. ...\ShowCommand\ref
+> \Ref=robust macro:
+->\protect \Ref  .
+> \Ref =macro:
+->\@ifstar \@Refstar \T at Ref .
+<argument> \Ref  
+l. ...\ShowCommand\Ref
+> \pageref=robust macro:
+->\protect \pageref  .
+> \pageref =\long macro:
+->\@ifstar \@pagerefstar \T at pageref .
+<argument> \pageref  
+l. ...\ShowCommand\pageref
+LaTeX Font Info:    External font `cmex10' loaded for size
+(Font)              <7> on input line ....
+LaTeX Font Info:    External font `cmex10' loaded for size
+(Font)              <5> on input line ....
+Completed box being shipped out [1]
+\vbox(633.0+0.0)x407.0
+.\glue 16.0
+.\vbox(617.0+0.0)x345.0, shifted 62.0
+..\vbox(12.0+0.0)x345.0, glue set 12.0fil
+...\glue 0.0 plus 1.0fil
+...\hbox(0.0+0.0)x345.0
+....\hbox(0.0+0.0)x345.0
+..\glue 25.0
+..\glue(\lineskip) 0.0
+..\vbox(550.0+0.0)x345.0, glue set 472.97733fil
+...\write-{}
+...\glue(\topskip) 5.69446
+...\hbox(4.30554+0.0)x345.0, glue set 310.83327fil
+....\hbox(0.0+0.0)x15.0
+....\OT1/cmr/m/n/10 x
+....\OT1/cmr/m/n/10 x
+....\OT1/cmr/m/n/10 x
+....\glue 3.33333 plus 1.66666 minus 1.11111
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\penalty -300
+...\glue 15.0694 plus 4.30554 minus 0.86108
+...\glue(\parskip) 0.0 plus 1.0
+...\glue(\parskip) 0.0
+...\glue(\baselineskip) 8.12001
+...\hbox(9.87999+0.0)x345.0, glue set 290.92673fil
+....\hbox(6.39998+0.0)x24.07497
+.....\glue 0.0
+.....\OT1/cmr/bx/n/14.4 a
+.....\glue 16.19998
+....\OT1/cmr/bx/n/14.4 T
+....\kern-1.35
+....\OT1/cmr/bx/n/14.4 e
+....\OT1/cmr/bx/n/14.4 s
+....\OT1/cmr/bx/n/14.4 t
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline \ETC.}
+...\penalty 10000
+...\glue 9.90276 plus 0.86108
+...\hbox(0.0+0.0)x0.0, glue set - 55.59955fil
+....\glue 0.0 plus 1.0fil minus 1.0fil
+....\hbox(0.0+0.0)x44.59955
+.....\hbox(8.38216+3.4)x44.59955
+......\hbox(11.78215+0.0)x44.59955, shifted 3.4
+.......\vbox(11.78215+0.0)x44.59955
+........\rule(0.4+0.0)x*
+........\hbox(10.98216+0.0)x44.59955
+.........\rule(*+*)x0.4
+.........\vbox(10.98216+0.0)x43.79956
+..........\glue 3.0
+..........\hbox(4.98216+0.0)x43.79956
+...........\kern 3.0
+...........\OT1/cmtt/m/n/9 s
+...........\OT1/cmtt/m/n/9 e
+...........\OT1/cmtt/m/n/9 c
+...........\OT1/cmtt/m/n/9 :
+...........\OT1/cmtt/m/n/9 t
+...........\OT1/cmtt/m/n/9 e
+...........\OT1/cmtt/m/n/9 s
+...........\OT1/cmtt/m/n/9 t
+...........\kern 3.0
+..........\glue 3.0
+.........\rule(*+*)x0.4
+........\rule(0.4+0.0)x*
+....\kern 11.0
+...\write1{\newlabel{sec:test}{{a}{\thepage }{Test}{}{}}}
+...\penalty 10000
+...\penalty 10000
+...\glue(\parskip) 0.0 plus 1.0
+...\glue(\parskip) 0.0
+...\glue(\baselineskip) 5.16669
+...\hbox(6.83331+1.94444)x345.0, glue set 278.611fil
+....\vbox(0.0+0.0)x0.0, glue set - 11.92859fil
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\hbox(11.92859+0.0)x0.0, glue set - 34.40048fil
+......\rule(*+*)x0.4
+......\hbox(4.42859+1.9999)x34.00049, shifted -7.5
+.......\mathon
+.......\vbox(4.42859+1.9999)x34.00049
+........\hbox(4.42859+0.0)x34.00049
+.........\hbox(4.42859+0.0)x34.00049
+..........\OT1/cmtt/m/n/8 s
+..........\OT1/cmtt/m/n/8 e
+..........\OT1/cmtt/m/n/8 c
+..........\OT1/cmtt/m/n/8 :
+..........\OT1/cmtt/m/n/8 t
+..........\OT1/cmtt/m/n/8 e
+..........\OT1/cmtt/m/n/8 s
+..........\OT1/cmtt/m/n/8 t
+........\kern1.19994
+........\rule(0.39998+0.0)x*
+.......\mathoff
+......\glue 0.0 plus 1.0fil minus 1.0fil
+....\OT1/cmr/m/n/10 a
+....\hbox(0.0+0.0)x0.0
+....\OT1/cmr/m/n/10 ,
+....\glue 20.00003
+....\vbox(0.0+0.0)x0.0, glue set - 11.92859fil
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\hbox(11.92859+0.0)x0.0, glue set - 34.40048fil
+......\rule(*+*)x0.4
+......\hbox(4.42859+1.9999)x34.00049, shifted -7.5
+.......\mathon
+.......\vbox(4.42859+1.9999)x34.00049
+........\hbox(4.42859+0.0)x34.00049
+.........\hbox(4.42859+0.0)x34.00049
+..........\OT1/cmtt/m/n/8 s
+..........\OT1/cmtt/m/n/8 e
+..........\OT1/cmtt/m/n/8 c
+..........\OT1/cmtt/m/n/8 :
+..........\OT1/cmtt/m/n/8 t
+..........\OT1/cmtt/m/n/8 e
+..........\OT1/cmtt/m/n/8 s
+..........\OT1/cmtt/m/n/8 t
+........\kern1.19994
+........\rule(0.39998+0.0)x*
+.......\mathoff
+......\glue 0.0 plus 1.0fil minus 1.0fil
+....\OT1/cmr/m/n/10 A
+....\hbox(0.0+0.0)x0.0
+....\OT1/cmr/m/n/10 ,
+....\glue 3.33333 plus 2.08331 minus 0.88889
+....\glue 20.00003
+....\vbox(0.0+0.0)x0.0, glue set - 11.92859fil
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\hbox(11.92859+0.0)x0.0, glue set - 34.40048fil
+......\rule(*+*)x0.4
+......\hbox(4.42859+1.9999)x34.00049, shifted -7.5
+.......\mathon
+.......\vbox(4.42859+1.9999)x34.00049
+........\hbox(4.42859+0.0)x34.00049
+.........\hbox(4.42859+0.0)x34.00049
+..........\OT1/cmtt/m/n/8 s
+..........\OT1/cmtt/m/n/8 e
+..........\OT1/cmtt/m/n/8 c
+..........\OT1/cmtt/m/n/8 :
+..........\OT1/cmtt/m/n/8 t
+..........\OT1/cmtt/m/n/8 e
+..........\OT1/cmtt/m/n/8 s
+..........\OT1/cmtt/m/n/8 t
+........\kern1.19994
+........\rule(0.39998+0.0)x*
+.......\mathoff
+......\glue 0.0 plus 1.0fil minus 1.0fil
+....\OT1/cmr/m/n/10 1
+....\hbox(0.0+0.0)x0.0
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue(\parskip) 0.0 plus 1.0
+...\glue(\parskip) 0.0
+...\glue(\baselineskip) 3.22224
+...\hbox(6.83331+1.94444)x345.0, glue set 263.611fil
+....\hbox(0.0+0.0)x15.0
+....\vbox(0.0+0.0)x0.0, glue set - 11.92859fil
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\hbox(11.92859+0.0)x0.0, glue set - 34.40048fil
+......\rule(*+*)x0.4
+......\hbox(4.42859+1.9999)x34.00049, shifted -7.5
+.......\mathon
+.......\vbox(4.42859+1.9999)x34.00049
+........\hbox(4.42859+0.0)x34.00049
+.........\hbox(4.42859+0.0)x34.00049
+..........\OT1/cmtt/m/n/8 s
+..........\OT1/cmtt/m/n/8 e
+..........\OT1/cmtt/m/n/8 c
+..........\OT1/cmtt/m/n/8 :
+..........\OT1/cmtt/m/n/8 t
+..........\OT1/cmtt/m/n/8 e
+..........\OT1/cmtt/m/n/8 s
+..........\OT1/cmtt/m/n/8 t
+........\kern1.19994
+........\rule(0.39998+0.0)x*
+.......\mathoff
+......\glue 0.0 plus 1.0fil minus 1.0fil
+....\OT1/cmr/m/n/10 a
+....\hbox(0.0+0.0)x0.0
+....\OT1/cmr/m/n/10 ,
+....\glue 20.00003
+....\vbox(0.0+0.0)x0.0, glue set - 11.92859fil
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\hbox(11.92859+0.0)x0.0, glue set - 34.40048fil
+......\rule(*+*)x0.4
+......\hbox(4.42859+1.9999)x34.00049, shifted -7.5
+.......\mathon
+.......\vbox(4.42859+1.9999)x34.00049
+........\hbox(4.42859+0.0)x34.00049
+.........\hbox(4.42859+0.0)x34.00049
+..........\OT1/cmtt/m/n/8 s
+..........\OT1/cmtt/m/n/8 e
+..........\OT1/cmtt/m/n/8 c
+..........\OT1/cmtt/m/n/8 :
+..........\OT1/cmtt/m/n/8 t
+..........\OT1/cmtt/m/n/8 e
+..........\OT1/cmtt/m/n/8 s
+..........\OT1/cmtt/m/n/8 t
+........\kern1.19994
+........\rule(0.39998+0.0)x*
+.......\mathoff
+......\glue 0.0 plus 1.0fil minus 1.0fil
+....\OT1/cmr/m/n/10 A
+....\hbox(0.0+0.0)x0.0
+....\OT1/cmr/m/n/10 ,
+....\glue 3.33333 plus 2.08331 minus 0.88889
+....\glue 20.00003
+....\vbox(0.0+0.0)x0.0, glue set - 11.92859fil
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\hbox(11.92859+0.0)x0.0, glue set - 34.40048fil
+......\rule(*+*)x0.4
+......\hbox(4.42859+1.9999)x34.00049, shifted -7.5
+.......\mathon
+.......\vbox(4.42859+1.9999)x34.00049
+........\hbox(4.42859+0.0)x34.00049
+.........\hbox(4.42859+0.0)x34.00049
+..........\OT1/cmtt/m/n/8 s
+..........\OT1/cmtt/m/n/8 e
+..........\OT1/cmtt/m/n/8 c
+..........\OT1/cmtt/m/n/8 :
+..........\OT1/cmtt/m/n/8 t
+..........\OT1/cmtt/m/n/8 e
+..........\OT1/cmtt/m/n/8 s
+..........\OT1/cmtt/m/n/8 t
+........\kern1.19994
+........\rule(0.39998+0.0)x*
+.......\mathoff
+......\glue 0.0 plus 1.0fil minus 1.0fil
+....\OT1/cmr/m/n/10 1
+....\hbox(0.0+0.0)x0.0
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue -1.94444
+...\glue 0.0 plus 1.0fil
+...\glue 0.0
+...\glue 0.0 plus 0.0001fil
+..\glue(\baselineskip) 23.55556
+..\hbox(6.44444+0.0)x345.0
+...\hbox(6.44444+0.0)x345.0, glue set 170.0fil
+....\glue 0.0 plus 1.0fil
+....\OT1/cmr/m/n/10 1
+....\glue 0.0 plus 1.0fil
+(refstarred-nameref-showkeys.aux)





More information about the latex3-commits mailing list.