[latex3-commits] [git/LaTeX3-latex3-latex2e] gh352: process the options near the end of the file after everything is set up (as options now use \let) (c88658ce)

Frank Mittelbach frank.mittelbach at latex-project.org
Mon Jul 27 09:29:08 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : gh352
Link       : https://github.com/latex3/latex2e/commit/c88658ceba87716925cab7c2f2b8358c2dd41dae

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

commit c88658ceba87716925cab7c2f2b8358c2dd41dae
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Mon Jul 27 09:29:08 2020 +0200

    process the options near the end of the file after everything is set up (as options now use \let)


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

c88658ceba87716925cab7c2f2b8358c2dd41dae
 required/tools/testfiles-TU/github-0352.luatex.tlg | 218 +--------------------
 required/tools/testfiles-TU/github-0352.lvt        |   4 +-
 required/tools/testfiles-TU/github-0352.tlg        | 126 +-----------
 required/tools/varioref.dtx                        |  34 ++--
 4 files changed, 34 insertions(+), 348 deletions(-)

diff --git a/required/tools/testfiles-TU/github-0352.luatex.tlg b/required/tools/testfiles-TU/github-0352.luatex.tlg
index b27cf0a7..626666a7 100644
--- a/required/tools/testfiles-TU/github-0352.luatex.tlg
+++ b/required/tools/testfiles-TU/github-0352.luatex.tlg
@@ -1,230 +1,28 @@
 This is a generated file for the LaTeX2e validation system.
 Don't change this file in any respect.
+> \vrefrangeformat=macro:
+#1#2#3->\vpagerefrange [{#1}]{#2}{#3}の\reftextlabelrange {#2}{#3}.
+l. ...\show\vrefrangeformat
 [1
-] [2] [3]
-Completed box being shipped out [4]
-\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
-..\glue 25.0
-..\glue(\lineskip) 0.0
-..\vbox(550.0+0.0)x345.0, glue set 491.94745fil, direction TLT
-...\glue(\topskip) 2.84
-...\hbox(7.16+0.22)x345.0, glue set 279.28998fil, 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 R
-....\TU/lmr/m/n/10 e
-....\TU/lmr/m/n/10 f
-....\glue(\spaceskip) 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 A
-....\TU/lmr/m/n/10 :
-....\penalty 10000
-....\glue(\spaceskip) 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 1
-....\hbox(0.0+0.0)x0.0, direction TLT
-....\write1{\newlabel{1 at xvr}{{}{\thepage }}}
-....\glue(\spaceskip) 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 1
-....\hbox(0.0+0.0)x0.0, direction TLT
-....\TU/lmr/m/n/10 頁
-....\TU/lmr/m/n/10 󰀀
-....\write1{\newlabel{1 at vr}{{}{\thepage }}}
-....\TU/lmr/m/n/10 .
-....\penalty 10000
-....\glue(\parfillskip) 0.0 plus 1.0fil
-....\glue(\rightskip) 0.0
-...\glue(\parskip) 0.0 plus 1.0
-...\glue(\baselineskip) 4.73
-...\hbox(7.05+2.06)x345.0, glue set 270.51001fil, 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 P
-....\kern-0.28 (font)
-....\TU/lmr/m/n/10 a
-....\TU/lmr/m/n/10 g
-....\TU/lmr/m/n/10 e
-....\TU/lmr/m/n/10 r
-....\TU/lmr/m/n/10 e
-....\TU/lmr/m/n/10 f
-....\glue(\spaceskip) 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 B
-....\TU/lmr/m/n/10 :
-....\write1{\newlabel{2 at xvr}{{}{\thepage }}}
-....\glue(\spaceskip) 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 2
-....\hbox(0.0+0.0)x0.0, direction TLT
-....\TU/lmr/m/n/10 頁
-....\TU/lmr/m/n/10 󰀀
-....\write1{\newlabel{2 at vr}{{}{\thepage }}}
-....\TU/lmr/m/n/10 .
-....\penalty 10000
-....\glue(\parfillskip) 0.0 plus 1.0fil
-....\glue(\rightskip) 0.0
-...\glue(\parskip) 0.0 plus 1.0
-...\glue(\baselineskip) 2.89
-...\hbox(7.05+0.22)x345.0, glue set 276.16998fil, 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 R
-....\TU/lmr/m/n/10 e
-....\TU/lmr/m/n/10 f
-....\glue(\spaceskip) 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 C
-....\TU/lmr/m/n/10 :
-....\penalty 10000
-....\glue(\spaceskip) 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 3
-....\hbox(0.0+0.0)x0.0, direction TLT
-....\write1{\newlabel{3 at xvr}{{}{\thepage }}}
-....\glue(\spaceskip) 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 直
-....\TU/lmr/m/n/10 󰀀
-....\TU/lmr/m/n/10 前
-....\TU/lmr/m/n/10 󰀀
-....\TU/lmr/m/n/10 の
-....\TU/lmr/m/n/10 󰀀
-....\TU/lmr/m/n/10 頁
-....\TU/lmr/m/n/10 󰀀
-....\write1{\newlabel{3 at vr}{{}{\thepage }}}
-....\TU/lmr/m/n/10 .
-....\penalty 10000
-....\glue(\parfillskip) 0.0 plus 1.0fil
-....\glue(\rightskip) 0.0
-...\glue(\parskip) 0.0 plus 1.0
-...\glue(\baselineskip) 4.62
-...\hbox(7.16+2.06)x345.0, glue set 232.23997fil, 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 R
-....\TU/lmr/m/n/10 a
-....\TU/lmr/m/n/10 n
-....\TU/lmr/m/n/10 g
-....\TU/lmr/m/n/10 e
-....\glue(\spaceskip) 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 A
-....\discretionary (penalty 50)
-.....< \TU/lmr/m/n/10 -
-.....= \TU/lmr/m/n/10 -
-....\TU/lmr/m/n/10 C
-....\TU/lmr/m/n/10 :
-....\glue(\spaceskip) 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 1
-....\hbox(0.0+0.0)x0.0, direction TLT
-....\TU/lmr/m/n/10 か
-....\TU/lmr/m/n/10 󰀀
-....\TU/lmr/m/n/10 ら
-....\TU/lmr/m/n/10 󰀀
-....\TU/lmr/m/n/10 3
-....\hbox(0.0+0.0)x0.0, direction TLT
-....\glue(\spaceskip) 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 1
-....\hbox(0.0+0.0)x0.0, direction TLT
-....\TU/lmr/m/n/10 頁
-....\TU/lmr/m/n/10 󰀀
-....\TU/lmr/m/n/10 か
-....\TU/lmr/m/n/10 󰀀
-....\TU/lmr/m/n/10 ら
-....\TU/lmr/m/n/10 󰀀
-....\TU/lmr/m/n/10 3
-....\hbox(0.0+0.0)x0.0, direction TLT
-....\TU/lmr/m/n/10 頁
-....\TU/lmr/m/n/10 󰀀
-....\TU/lmr/m/n/10 .
-....\penalty 10000
-....\glue(\parfillskip) 0.0 plus 1.0fil
-....\glue(\rightskip) 0.0
-...\glue(\parskip) 0.0 plus 1.0
-...\glue(\baselineskip) 2.89
-...\hbox(7.05+2.06)x345.0, glue set 232.65997fil, 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 R
-....\TU/lmr/m/n/10 a
-....\TU/lmr/m/n/10 n
-....\TU/lmr/m/n/10 g
-....\TU/lmr/m/n/10 e
-....\glue(\spaceskip) 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 B
-....\discretionary (penalty 50)
-.....< \TU/lmr/m/n/10 -
-.....= \TU/lmr/m/n/10 -
-....\TU/lmr/m/n/10 C
-....\TU/lmr/m/n/10 :
-....\glue(\spaceskip) 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 2
-....\hbox(0.0+0.0)x0.0, direction TLT
-....\TU/lmr/m/n/10 か
-....\TU/lmr/m/n/10 󰀀
-....\TU/lmr/m/n/10 ら
-....\TU/lmr/m/n/10 󰀀
-....\TU/lmr/m/n/10 3
-....\hbox(0.0+0.0)x0.0, direction TLT
-....\glue(\spaceskip) 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 2
-....\hbox(0.0+0.0)x0.0, direction TLT
-....\TU/lmr/m/n/10 頁
-....\TU/lmr/m/n/10 󰀀
-....\TU/lmr/m/n/10 か
-....\TU/lmr/m/n/10 󰀀
-....\TU/lmr/m/n/10 ら
-....\TU/lmr/m/n/10 󰀀
-....\TU/lmr/m/n/10 3
-....\hbox(0.0+0.0)x0.0, direction TLT
-....\TU/lmr/m/n/10 頁
-....\TU/lmr/m/n/10 󰀀
-....\TU/lmr/m/n/10 .
-....\penalty 10000
-....\glue(\parfillskip) 0.0 plus 1.0fil
-....\glue(\rightskip) 0.0
-...\glue -2.06
-...\glue 0.0 plus 1.0fil
-...\glue 0.0
-...\glue 0.0 plus 0.0001fil
-..\glue(\baselineskip) 23.23
-..\hbox(6.77+0.0)x345.0, glue set 170.0fil, direction TLT
-...\glue 0.0 plus 1.0fil
-...\TU/lmr/m/n/10 4
-...\glue 0.0 plus 1.0fil
+] [2] [3] [4
 Missing character: There is no 頁 (U+9801) in font [lmroman10-regular]:+tlig;!
 Missing character: There is no 頁 (U+9801) in font [lmroman10-regular]:+tlig;!
 Missing character: There is no 直 (U+76F4) in font [lmroman10-regular]:+tlig;!
 Missing character: There is no 前 (U+524D) in font [lmroman10-regular]:+tlig;!
 Missing character: There is no の (U+306E) in font [lmroman10-regular]:+tlig;!
 Missing character: There is no 頁 (U+9801) in font [lmroman10-regular]:+tlig;!
+Missing character: There is no 頁 (U+9801) in font [lmroman10-regular]:+tlig;!
 Missing character: There is no か (U+304B) in font [lmroman10-regular]:+tlig;!
 Missing character: There is no ら (U+3089) in font [lmroman10-regular]:+tlig;!
 Missing character: There is no 頁 (U+9801) in font [lmroman10-regular]:+tlig;!
+Missing character: There is no の (U+306E) in font [lmroman10-regular]:+tlig;!
 Missing character: There is no か (U+304B) in font [lmroman10-regular]:+tlig;!
 Missing character: There is no ら (U+3089) in font [lmroman10-regular]:+tlig;!
 Missing character: There is no 頁 (U+9801) in font [lmroman10-regular]:+tlig;!
 Missing character: There is no か (U+304B) in font [lmroman10-regular]:+tlig;!
 Missing character: There is no ら (U+3089) in font [lmroman10-regular]:+tlig;!
 Missing character: There is no 頁 (U+9801) in font [lmroman10-regular]:+tlig;!
+Missing character: There is no の (U+306E) in font [lmroman10-regular]:+tlig;!
 Missing character: There is no か (U+304B) in font [lmroman10-regular]:+tlig;!
 Missing character: There is no ら (U+3089) in font [lmroman10-regular]:+tlig;!
-Missing character: There is no 頁 (U+9801) in font [lmroman10-regular]:+tlig;!
-(github-0352.aux)
+] (github-0352.aux)
diff --git a/required/tools/testfiles-TU/github-0352.lvt b/required/tools/testfiles-TU/github-0352.lvt
index fba231f1..3fbd4d12 100644
--- a/required/tools/testfiles-TU/github-0352.lvt
+++ b/required/tools/testfiles-TU/github-0352.lvt
@@ -10,6 +10,8 @@
 
 \START
 
+\show\vrefrangeformat
+
 \section{A}\label{A}
 
 \newpage
@@ -22,8 +24,6 @@
 
 \newpage
 
-\showoutput
-
 Ref A: \vref{A}.
 
 Pageref B: \vpageref{B}.
diff --git a/required/tools/testfiles-TU/github-0352.tlg b/required/tools/testfiles-TU/github-0352.tlg
index eb037288..525f956f 100644
--- a/required/tools/testfiles-TU/github-0352.tlg
+++ b/required/tools/testfiles-TU/github-0352.tlg
@@ -1,5 +1,8 @@
 This is a generated file for the LaTeX2e validation system.
 Don't change this file in any respect.
+> \vrefrangeformat=macro:
+#1#2#3->\vpagerefrange [{#1}]{#2}{#3}の\reftextlabelrange {#2}{#3}.
+l. ...\show\vrefrangeformat
 [1
 ] [2] [3]
 Missing character: There is no 頁 in font [lmroman10-regular]:mapping=tex-text;!
@@ -8,133 +11,18 @@ Missing character: There is no 直 in font [lmroman10-regular]:mapping=tex-text;
 Missing character: There is no 前 in font [lmroman10-regular]:mapping=tex-text;!
 Missing character: There is no の in font [lmroman10-regular]:mapping=tex-text;!
 Missing character: There is no 頁 in font [lmroman10-regular]:mapping=tex-text;!
+Missing character: There is no 頁 in font [lmroman10-regular]:mapping=tex-text;!
 Missing character: There is no か in font [lmroman10-regular]:mapping=tex-text;!
 Missing character: There is no ら in font [lmroman10-regular]:mapping=tex-text;!
 Missing character: There is no 頁 in font [lmroman10-regular]:mapping=tex-text;!
+Missing character: There is no の in font [lmroman10-regular]:mapping=tex-text;!
 Missing character: There is no か in font [lmroman10-regular]:mapping=tex-text;!
 Missing character: There is no ら in font [lmroman10-regular]:mapping=tex-text;!
 Missing character: There is no 頁 in font [lmroman10-regular]:mapping=tex-text;!
 Missing character: There is no か in font [lmroman10-regular]:mapping=tex-text;!
 Missing character: There is no ら in font [lmroman10-regular]:mapping=tex-text;!
 Missing character: There is no 頁 in font [lmroman10-regular]:mapping=tex-text;!
+Missing character: There is no の in font [lmroman10-regular]:mapping=tex-text;!
 Missing character: There is no か in font [lmroman10-regular]:mapping=tex-text;!
 Missing character: There is no ら in font [lmroman10-regular]:mapping=tex-text;!
-Missing character: There is no 頁 in font [lmroman10-regular]:mapping=tex-text;!
-Completed box being shipped out [4]
-\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
-..\glue 25.0
-..\glue(\lineskip) 0.0
-..\vbox(550.0+0.0)x345.0, glue set 491.94745fil
-...\glue(\topskip) 2.84
-...\hbox(7.16+0.21999)x345.0, glue set 279.29fil
-....\hbox(0.0+0.0)x15.0
-....\TU/lmr/m/n/10 Ref
-....\glue 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 A:
-....\penalty 10000
-....\glue 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 1
-....\hbox(0.0+0.0)x0.0
-....\write1{\newlabel{1 at xvr}{{}{\thepage }}}
-....\glue 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 1
-....\hbox(0.0+0.0)x0.0
-....\TU/lmr/m/n/10 頁
-....\write1{\newlabel{1 at vr}{{}{\thepage }}}
-....\TU/lmr/m/n/10 .
-....\penalty 10000
-....\glue(\parfillskip) 0.0 plus 1.0fil
-....\glue(\rightskip) 0.0
-...\glue(\parskip) 0.0 plus 1.0
-...\glue(\baselineskip) 4.73001
-...\hbox(7.05+2.05998)x345.0, glue set 270.51fil
-....\hbox(0.0+0.0)x15.0
-....\TU/lmr/m/n/10 Pageref
-....\glue 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 B:
-....\write1{\newlabel{2 at xvr}{{}{\thepage }}}
-....\glue 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 2
-....\hbox(0.0+0.0)x0.0
-....\TU/lmr/m/n/10 頁
-....\write1{\newlabel{2 at vr}{{}{\thepage }}}
-....\TU/lmr/m/n/10 .
-....\penalty 10000
-....\glue(\parfillskip) 0.0 plus 1.0fil
-....\glue(\rightskip) 0.0
-...\glue(\parskip) 0.0 plus 1.0
-...\glue(\baselineskip) 2.89001
-...\hbox(7.05+0.21999)x345.0, glue set 276.17fil
-....\hbox(0.0+0.0)x15.0
-....\TU/lmr/m/n/10 Ref
-....\glue 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 C:
-....\penalty 10000
-....\glue 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 3
-....\hbox(0.0+0.0)x0.0
-....\write1{\newlabel{3 at xvr}{{}{\thepage }}}
-....\glue 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 直前の頁
-....\write1{\newlabel{3 at vr}{{}{\thepage }}}
-....\TU/lmr/m/n/10 .
-....\penalty 10000
-....\glue(\parfillskip) 0.0 plus 1.0fil
-....\glue(\rightskip) 0.0
-...\glue(\parskip) 0.0 plus 1.0
-...\glue(\baselineskip) 4.62001
-...\hbox(7.16+2.05998)x345.0, glue set 232.23999fil
-....\hbox(0.0+0.0)x15.0
-....\TU/lmr/m/n/10 Range
-....\glue 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 A-C:
-....\glue 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 1
-....\hbox(0.0+0.0)x0.0
-....\TU/lmr/m/n/10 から3
-....\hbox(0.0+0.0)x0.0
-....\glue 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 1
-....\hbox(0.0+0.0)x0.0
-....\TU/lmr/m/n/10 頁から3
-....\hbox(0.0+0.0)x0.0
-....\TU/lmr/m/n/10 頁.
-....\penalty 10000
-....\glue(\parfillskip) 0.0 plus 1.0fil
-....\glue(\rightskip) 0.0
-...\glue(\parskip) 0.0 plus 1.0
-...\glue(\baselineskip) 2.89001
-...\hbox(7.05+2.05998)x345.0, glue set 232.65999fil
-....\hbox(0.0+0.0)x15.0
-....\TU/lmr/m/n/10 Range
-....\glue 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 B-C:
-....\glue 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 2
-....\hbox(0.0+0.0)x0.0
-....\TU/lmr/m/n/10 から3
-....\hbox(0.0+0.0)x0.0
-....\glue 3.33 plus 1.665 minus 1.11
-....\TU/lmr/m/n/10 2
-....\hbox(0.0+0.0)x0.0
-....\TU/lmr/m/n/10 頁から3
-....\hbox(0.0+0.0)x0.0
-....\TU/lmr/m/n/10 頁.
-....\penalty 10000
-....\glue(\parfillskip) 0.0 plus 1.0fil
-....\glue(\rightskip) 0.0
-...\glue -2.05998
-...\glue 0.0 plus 1.0fil
-...\glue 0.0
-...\glue 0.0 plus 0.0001fil
-..\glue(\baselineskip) 23.23
-..\hbox(6.77+0.0)x345.0, glue set 170.0fil
-...\glue 0.0 plus 1.0fil
-...\TU/lmr/m/n/10 4
-...\glue 0.0 plus 1.0fil
-(github-0352.aux)
+[4] (github-0352.aux)
diff --git a/required/tools/varioref.dtx b/required/tools/varioref.dtx
index 06af00bc..d1036567 100644
--- a/required/tools/varioref.dtx
+++ b/required/tools/varioref.dtx
@@ -40,7 +40,7 @@
 %<package>\DeclareCurrentRelease{}{2019-10-01}
 %<package>
 %<package>\ProvidesPackage{varioref}
-%<package>    [2020/07/20 v1.6d package for extended references (FMi)]
+%<package>    [2020/07/23 v1.6e package for extended references (FMi)]
 % \fi
 %
 %%
@@ -1643,17 +1643,6 @@
 %
 %
 %
-%    After all options are declared we execute the default option
-%    \texttt{english} to set up the defaults and then call
-%    |\ProcessOptions*| to handle any option passed to the package.
-%    The star form is used since we want to execute the options in the
-%    order they are given (in case this isn't used together with the
-%    \pkg{babel} package).
-%    \begin{macrocode}
-\ExecuteOptions{english,final,space}
-\ProcessOptions*
-%    \end{macrocode}
-%
 %
 % \subsection{Defining the main macros}
 %
@@ -2363,16 +2352,13 @@
 %
 %  \begin{macro}{\vrefrangeformat,\vrefrangedefaultformat}
 %    Japanese needs a different word order  in \cs{vrefrange}  so this
-%    is separated out o that it can be changed on language level.
+%    is separated out so that it can be changed on language level.
 % \changes{v1.6d}{2020/07/20}{Macro added (gh/352)}
 %    \begin{macrocode}
 \def\vrefrangedefaultformat#1#2#3{% 
   \reftextlabelrange{#2}{#3} \vpagerefrange[{#1}]{#2}{#3}}
 %    \end{macrocode}
 %    Most languages need the above definition.
-%    \begin{macrocode}
-\let\vrefrangeformat\vrefrangedefaultformat
-%    \end{macrocode}
 %  \end{macro}
 %
 %  \begin{macro}{\Vref}
@@ -2496,7 +2482,21 @@
 }
 %    \end{macrocode}
 %  \end{macro}
-
+%
+%    We now execute the default option
+%    \texttt{english} to set up the defaults and then call
+%    |\ProcessOptions*| to handle any option passed to the package.
+%    This has to be done fairly late because we use \cs{let} inside the options
+%    and that means the commands we \cs{let} to have to be available.
+%
+%    The star form is used since we want to execute the options in the
+%    order they are given (in case this isn't used together with the
+%    \pkg{babel} package).
+%    \begin{macrocode}
+\ExecuteOptions{english,final,space}
+\ProcessOptions*
+%    \end{macrocode}
+%
 %
 %
 %  \subsubsection{Compatibility with older \LaTeX{} formats}





More information about the latex3-commits mailing list.