summaryrefslogtreecommitdiff
path: root/macros/luatex/optex/base/references.opm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/optex/base/references.opm')
-rw-r--r--macros/luatex/optex/base/references.opm16
1 files changed, 8 insertions, 8 deletions
diff --git a/macros/luatex/optex/base/references.opm b/macros/luatex/optex/base/references.opm
index 3640879703..27e4f8d632 100644
--- a/macros/luatex/optex/base/references.opm
+++ b/macros/luatex/optex/base/references.opm
@@ -1,16 +1,16 @@
-%% This is part of OpTeX project, see http://petr.olsak.net/optex
+%% This is part of the OpTeX project, see http://petr.olsak.net/optex
\_codedecl \ref {References <2020-03-03>} % preloaded in format
\_doc ----------------------------
- \`\_Xpage` `{<gpageno>}{<pageno>}` saves the parameter pair into \`\_currpage`.
+ \`\_Xpage` `{<gpageno>}{<pageno>}` saves the parameter pair into \`\_currpage`.
Resets `\_lfnotenum`; it is used if footnotes are numbered from one at each page.
\_cod ----------------------------
\_def\_Xpage#1#2{\_def\_currpage{{#1}{#2}}\_lfnotenum=0 }
\_doc ----------------------------
- Counter for number of unresolved references \`\_unresolvedrefs`.
+ Counter for the number of unresolved references \`\_unresolvedrefs`.
\_cod ----------------------------
\_newcount\_unresolvedrefs
@@ -25,12 +25,12 @@
\_def\_bracketspg#1#2{[pg:#1]{#2}}
\_doc ----------------------------
- \`\label``[<label>]` saves the decalred label to `\_lastlabel` and
- \`\wlabel``{<text>}` uses the `\_lastlabel` and activates
+ \`\label``[<label>]` saves the decalred label to `\_lastlabel` and
+ \`\wlabel``{<text>}` uses the `\_lastlabel` and activates
`\wref\_Xlabel{<label>}{<text>}`.
\_cod ----------------------------
-\_def\_label[#1]{\_isempty{#1}\_iftrue \_global\_let \_lastlabel=\_undefined
+\_def\_label[#1]{\_isempty{#1}\_iftrue \_global\_let \_lastlabel=\_undefined
\_else \_isdefined{l0:#1}%
\_iftrue \_opwarning{duplicated label [#1], ignored}\_else \_xdef\_lastlabel{#1}\_fi
\_fi \_ignorespaces
@@ -49,9 +49,9 @@
\_doc ----------------------------
\`\ref``[<label>]` uses saved `\_lab:<label>` and prints (linked) `<text>`.
- If the reference is backwarded then we know `\lab:<label>` without any need
+ If the reference is backward then we know `\lab:<label>` without any need
to read REF file. On the other hand, if the reference is forwarded, then we
- doesn't know `\_lab:<label>` in first run of \TeX/ and we print warning and
+ doesn't know `\_lab:<label>` in the first run of \TeX/ and we print a warning and
do `\_openref`.
\nl
\`\pgref``[<label>]` uses `{<gpageno>}{<pageno>}` from `\_pgref:<label>` and