summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/optex/base/ref-file.opm
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-06-15 20:43:56 +0000
committerKarl Berry <karl@freefriends.org>2020-06-15 20:43:56 +0000
commit56cd0df67df77a677bd72b01d10d2cd5d4581a54 (patch)
treef6fa19e934db7c0539e137131413a62547cd740b /Master/texmf-dist/tex/luatex/optex/base/ref-file.opm
parent2c3a20ef9f039b8b2d912828fbdb45f5392b0d5d (diff)
optex (15jun20)
git-svn-id: svn://tug.org/texlive/trunk@55562 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/optex/base/ref-file.opm')
-rw-r--r--Master/texmf-dist/tex/luatex/optex/base/ref-file.opm8
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/luatex/optex/base/ref-file.opm b/Master/texmf-dist/tex/luatex/optex/base/ref-file.opm
index 3cf6f6be7d1..c5fa3965245 100644
--- a/Master/texmf-dist/tex/luatex/optex/base/ref-file.opm
+++ b/Master/texmf-dist/tex/luatex/optex/base/ref-file.opm
@@ -65,7 +65,7 @@
versa.
\_cod ----------------------
-\_def\_REFversion{3} % actual version of .ref files in OpTeX
+\_def\_REFversion{4} % actual version of .ref files in OpTeX
\_def\_Xrefversion#1{\_ifnum #1=\_REFversion\_relax \_else \_endinput \_fi}
\_public \Xrefversion ; % we want to ignore .ref files generated by OPmac
@@ -107,7 +107,7 @@ The `.ref` file looks like:
\begtt \catcode`\<=13
\Xrefversion{<ref-version>}
\_Xpage{<gpageno>}{<pageno>}
-\_Xtoc{<level>}{<type>}{<text>}{<title>}
+\_Xtoc{<level>}{<type>}{<text>}<title>
\_Xlabel{<label>}{<text>}
\_Xlabel{<label>}{<text>}
...
@@ -118,12 +118,12 @@ The `.ref` file looks like:
%
where <gpageno> is internal page number globally numbered from one and
`<pageno>` is a page number (`\the\pageno`) used in pagination (they may be differ).
-Each page begins with `\_Xpage`.
+Each page begins with \^`\_Xpage`.
The `<label>` is a label used by user in `\label[<label>]` and `<text>` is a
text which should be referenced (the number of section or table, for
example `2.3.14`). The `<title>` is a title of the chapter (`<level>`=1,
`<type>`=`chap`), section (`<level>`=2, `<type>`=`sec`), subsection
-(`<level>`=3, `<type>`=`secc`). The `\_Xpage` is written at begining of each
+(`<level>`=3, `<type>`=`secc`). The \^`\_Xpage` is written at begining of each
page, the `\_Xtoc` is written when chapter or section or subsection title
exists on the page and `\_Xlabel` when labeled object prefixed by
`\label[<label>]` exists on the page.