summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/luatex
diff options
context:
space:
mode:
Diffstat (limited to 'doc/context/sources/general/manuals/luatex')
-rw-r--r--doc/context/sources/general/manuals/luatex/luatex-enhancements.tex17
-rw-r--r--doc/context/sources/general/manuals/luatex/luatex-firstpage.tex2
-rw-r--r--doc/context/sources/general/manuals/luatex/luatex-fonts.tex20
-rw-r--r--doc/context/sources/general/manuals/luatex/luatex-lua.tex2
-rw-r--r--doc/context/sources/general/manuals/luatex/luatex-math.tex40
-rw-r--r--doc/context/sources/general/manuals/luatex/luatex-titlepage.tex2
-rw-r--r--doc/context/sources/general/manuals/luatex/luatex.tex12
7 files changed, 64 insertions, 31 deletions
diff --git a/doc/context/sources/general/manuals/luatex/luatex-enhancements.tex b/doc/context/sources/general/manuals/luatex/luatex-enhancements.tex
index 6b84570e8..0af479dc8 100644
--- a/doc/context/sources/general/manuals/luatex/luatex-enhancements.tex
+++ b/doc/context/sources/general/manuals/luatex/luatex-enhancements.tex
@@ -53,7 +53,7 @@ chapters on fonts and math we discuss a few more new ones.
\startsubsection[title={Version information}]
-\startsubsubsection {\lpr {luatexbanner}, \lpr {luatexversion} and \lpr {luatexrevision}}
+\startsubsubsection[title={\lpr {luatexbanner}, \lpr {luatexversion} and \lpr {luatexrevision}}]
\topicindex{version}
\topicindex{banner}
@@ -99,7 +99,7 @@ The official \LUATEX\ version is defined as follows:
\stopsubsubsection
-\startsubsubsection{\lpr {formatname}}
+\startsubsubsection[title={\lpr {formatname}}]
\topicindex{format}
@@ -893,7 +893,8 @@ differences are:
\stopsubsection
-\startsubsection[title={\lpr {toksapp}, \lpr {tokspre}, \lpr {etoksapp} and \lpr {etokspre}}]
+\startsubsection[title={\lpr {toksapp}, \lpr {tokspre}, \lpr {etoksapp}, \lpr {etokspre},
+\lpr {gtoksapp}, \lpr {gtokspre}, \lpr {xtoksapp}, \lpr {xtokspre}}]
Instead of:
@@ -908,7 +909,7 @@ you can use:
\stoptyping
The \type {pre} variants prepend instead of append, and the \type {e} variants
-expand the passed general text.
+expand the passed general text. The \type {g} and \type {x} variants are global.
\stopsubsection
@@ -989,7 +990,9 @@ This primitive is similar to:
but faster (only measurable with millions of calls) and probably more convenient
(after all we also have \type {\gdef}).
-\subsubsection{\lpr {expanded}, \lpr {immediateassignment} and \lpr {immediateassigned}}
+\stopsubsection
+
+\startsubsection[title={\lpr {expanded}, \lpr {immediateassignment} and \lpr {immediateassigned}}]
\topicindex {expansion}
@@ -1084,7 +1087,9 @@ The possible error messages are the same as using assignments in preambles of
alignments and after the \prm {accent} command. The supported assignments are the
so called prefixed commands (except box assignments).
-\subsubsection{\lpr {ifcondition}}
+\stopsubsection
+
+\startsubsection[title={\lpr {ifcondition}}]
\topicindex {conditions}
diff --git a/doc/context/sources/general/manuals/luatex/luatex-firstpage.tex b/doc/context/sources/general/manuals/luatex/luatex-firstpage.tex
index aef3902a5..772fbb3fe 100644
--- a/doc/context/sources/general/manuals/luatex/luatex-firstpage.tex
+++ b/doc/context/sources/general/manuals/luatex/luatex-firstpage.tex
@@ -6,7 +6,7 @@
\raggedleft
\definedfont[Bold*default at 48pt]
\setupinterlinespace
- \blue Lua\TeX \endgraf Reference \endgraf Manual \endgraf
+ \blue \documentvariable{manual} \endgraf Reference \endgraf Manual \endgraf
\stop
\vfill
diff --git a/doc/context/sources/general/manuals/luatex/luatex-fonts.tex b/doc/context/sources/general/manuals/luatex/luatex-fonts.tex
index 6f71877fb..d49c63afe 100644
--- a/doc/context/sources/general/manuals/luatex/luatex-fonts.tex
+++ b/doc/context/sources/general/manuals/luatex/luatex-fonts.tex
@@ -6,7 +6,7 @@
\startchapter[reference=fonts,title={Font structure}]
-\section {The font tables}
+\startsection[title={The font tables}]
\topicindex {fonts}
\topicindex {fonts+tables}
@@ -324,7 +324,9 @@ indicates the final insertion point.
The \type {commands} array is explained below.
-\section {Real fonts}
+\stopsection
+
+\startsection[title={Real fonts}]
\topicindex {fonts+real}
\topicindex {fonts+virtual}
@@ -425,7 +427,9 @@ In order to make sure that cut and paste of the final document works okay you ca
best make sure that there is a \type {tounicode} vector enforced. Not all \PDF\
viewers handle this right so take \ACROBAT\ as reference.
-\section[virtualfonts]{Virtual fonts}
+\stopsection
+
+\startsection[reference=virtualfonts,title={Virtual fonts}]
\subsection{The structure}
@@ -632,7 +636,9 @@ Finally, here is a plain \TEX\ input file with a virtual font demonstration:
\typebuffer
-\section{The \type {vf} library}
+\stopsection
+
+\startsection[title={The \type {vf} library}]
The \type {vf} library can be used when \LUA\ code, as defined in the \type
{commands} of the font, is executed. The functions provided are similar as the
@@ -643,7 +649,9 @@ advertised and tested much, if only because it's easy to define an invalid font
(or mess up the \PDF\ stream). Keep in mind that the \LUA\ snippets are executed
each time when a character is output.
-\section{The \type {font} library}
+\stopsection
+
+\startsection[title={The \type {font} library}]
\topicindex {fonts+library}
@@ -843,6 +851,8 @@ value is the index in \type {font.fonts}, the second the font itself, as a \LUA\
table. The indices are listed incrementally, but they do not always form an array
of consecutive numbers: in some cases there can be holes in the sequence.
+\stopsection
+
\stopchapter
\stopcomponent
diff --git a/doc/context/sources/general/manuals/luatex/luatex-lua.tex b/doc/context/sources/general/manuals/luatex/luatex-lua.tex
index 0f7cae3a3..27146d99b 100644
--- a/doc/context/sources/general/manuals/luatex/luatex-lua.tex
+++ b/doc/context/sources/general/manuals/luatex/luatex-lua.tex
@@ -248,7 +248,7 @@ check \type {--progname}, or \type {--ini} and \type {--fmt}, if \type
\stopsection
-\startsection{\LUA\ behaviour}
+\startsection[title={\LUA\ behaviour}]
\startsubsection[title={The \LUA\ version}]
diff --git a/doc/context/sources/general/manuals/luatex/luatex-math.tex b/doc/context/sources/general/manuals/luatex/luatex-math.tex
index ad3ce2db3..4623ce706 100644
--- a/doc/context/sources/general/manuals/luatex/luatex-math.tex
+++ b/doc/context/sources/general/manuals/luatex/luatex-math.tex
@@ -6,7 +6,7 @@
\startchapter[reference=math,title={Math}]
-\section {Traditional alongside \OPENTYPE}
+\startsection[title={Traditional alongside \OPENTYPE}]
\topicindex {math}
@@ -19,7 +19,9 @@ make it easier to use \OPENTYPE\ math fonts. And finally, there are some
extensions that have been proposed or considered in the past that are now added
to the engine.
-\section{Unicode math characters}
+\stopsection
+
+\startsection[title={Unicode math characters}]
\topicindex {math+\UNICODE}
\topicindex {\UNICODE+math}
@@ -128,7 +130,9 @@ sections:
\LL
\stoptabulate
-\section{Math styles}
+\stopsection
+
+\startsection[title={Math styles}]
\subsection{\lpr {mathstyle}}
@@ -350,7 +354,9 @@ Now we get:
\start\getbuffer[setup,demo]\stop
-\section{Math parameter settings}
+\stopsection
+
+\startsection[title={Math parameter settings}]
\subsection {Many new \lpr {Umath*} primitives}
@@ -568,7 +574,9 @@ Note 9: \type {FractionDelimiterDisplayStyleSize} and \type
{FractionDelimiterSize} do not actually exist in the \quote {standard} \OPENTYPE\
math font Cambria, but were useful enough to be added.
-\section {Math spacing}
+\stopsection
+
+\startsection[title={Math spacing}]
\subsection{Inline surrounding space}
@@ -997,7 +1005,9 @@ use a step to control the size. A value of zero will suppress the gap. The step
is divided by 1000 which is the usual way to mimmick floating point factors in
\TEX.
-\section {Math constructs}
+\stopsection
+
+\startsection[title={Math constructs}]
\subsection {Unscaled fences}
@@ -1337,7 +1347,9 @@ given the \type {noaxis} command can be used to prevent shifting over the axis.
You can influence the final class with the keyword \type {class} which will
influence the spacing. The numbers are the same as for character classes.
-\section {Extracting values}
+\stopsection
+
+\startsection[title={Extracting values}]
\subsection{Codes}
@@ -1394,7 +1406,9 @@ get the length of the last line, the following will often work too:
\relax}
\stoptyping
-\section {Math mode}
+\stopsection
+
+\startsection[title={Math mode}]
\subsection {Verbose versions of single|-|character math commands}
@@ -1454,7 +1468,7 @@ the result of \prm {mathchardef} or \lpr {Umathchardef} are also acceptable in
the horizontal and vertical modes. In those cases, the \prm {textfont} from the
requested math family is used.
-% \section{Math todo}
+% \startsection[title={Math todo}]
%
% The following items are still todo.
%
@@ -1475,8 +1489,12 @@ requested math family is used.
% Support for multi|-|line displays using \MATHML\ style alignment points.
% \stopitem
% \stopitemize
+%
+% \stopsection
-\section {Goodies}
+\stopsection
+
+\startsection[title={Goodies}]
\subsection {Flattening: \lpr {mathflattenmode}}
@@ -1622,6 +1640,8 @@ temporarily introduce with this command this feature is not meant for production
% This option has been introduced as solution for tracker item 604 for fuzzy cases
% around either or not present fraction related settings for new fonts.
+\stopsection
+
\stopchapter
\stopcomponent
diff --git a/doc/context/sources/general/manuals/luatex/luatex-titlepage.tex b/doc/context/sources/general/manuals/luatex/luatex-titlepage.tex
index 9f4913b54..d9ca4b3f9 100644
--- a/doc/context/sources/general/manuals/luatex/luatex-titlepage.tex
+++ b/doc/context/sources/general/manuals/luatex/luatex-titlepage.tex
@@ -22,7 +22,7 @@
[align=middle,
foregroundcolor=white,
frame=off]
- {Lua\TeX\crlf Reference\crlf Manual}
+ {\documentvariable{manual}\crlf Reference\crlf Manual}
\definedfont[Bold*default at 14pt] \setupinterlinespace
diff --git a/doc/context/sources/general/manuals/luatex/luatex.tex b/doc/context/sources/general/manuals/luatex/luatex.tex
index 0067f63f2..1486abd49 100644
--- a/doc/context/sources/general/manuals/luatex/luatex.tex
+++ b/doc/context/sources/general/manuals/luatex/luatex.tex
@@ -30,14 +30,12 @@
% "context --nodates --nocompression luatex" can be used for comparison
% runs, not that we do it
+% todo: all (sub)section to start/stop
+
% \enabledirectives[hyphenator.flatten]
% \setupsynctex[state=start,method=max] % adds 5 pct overhead
-% gtoksapp : looks okay
-% gtokspre : looks okay
-% xtoksapp : looks okay
-% xtokspre : looks okay
% compoundhyphenmode : looks okay
% endlocalcontrol : very experimental
% fixupboxesmode : very experimental
@@ -63,9 +61,9 @@
\stopmode
\startdocument
- [status=experimental,
- version=1.09]
-% [version=1.10]
+ [manual=Lua\TeX,
+ status=experimental,
+ version=1.10]
\startnotmode[*export]
\component luatex-titlepage