summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/luatex/optex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-05-06 22:01:50 +0000
committerKarl Berry <karl@freefriends.org>2020-05-06 22:01:50 +0000
commit982fb22d1128aa7eb39f67222f7e3d5ad694e7a3 (patch)
tree3fa09f716d45f9cfc46518c8bbf05fa48aaeabcb /Master/texmf-dist/doc/luatex/optex
parentbd4cf1f2e6801bca16d71f96a87d5c09301a06eb (diff)
optex (7may20)
git-svn-id: svn://tug.org/texlive/trunk@55048 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/luatex/optex')
-rw-r--r--Master/texmf-dist/doc/luatex/optex/README17
-rw-r--r--Master/texmf-dist/doc/luatex/optex/op-demo.tex127
-rw-r--r--Master/texmf-dist/doc/luatex/optex/op-letter.tex41
-rw-r--r--Master/texmf-dist/doc/luatex/optex/op-ring.pngbin512984 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/luatex/optex/op-slides.tex288
-rw-r--r--Master/texmf-dist/doc/luatex/optex/optex-doc.pdfbin1147940 -> 1172140 bytes
-rw-r--r--Master/texmf-dist/doc/luatex/optex/optex-doc.tex21
-rw-r--r--Master/texmf-dist/doc/luatex/optex/optex-techdoc.tex9
-rw-r--r--Master/texmf-dist/doc/luatex/optex/optex-userdoc.tex50
-rw-r--r--Master/texmf-dist/doc/luatex/optex/slides-bg.pngbin62385 -> 0 bytes
10 files changed, 76 insertions, 477 deletions
diff --git a/Master/texmf-dist/doc/luatex/optex/README b/Master/texmf-dist/doc/luatex/optex/README
index 6f2d9d5eec5..1a612e61790 100644
--- a/Master/texmf-dist/doc/luatex/optex/README
+++ b/Master/texmf-dist/doc/luatex/optex/README
@@ -6,8 +6,25 @@ This software is in public domain.
See http://petr.olsak.net/optex
+Files:
+
+base/ ... basic set of macro files used when optex.fmt is generated
+ and more basic macros loaded on demand during document processing.
+demo/ ... examples: short document: op-demo.tex, short letter: op-letter.tex,
+ presentation slides: op-slides.tex.
+pkg/ ... external macros. Maybe, they can be created by other authors if
+ the macro file conforms to the rules given in the section 2.2.5
+ in the OpTeX documentation.
+doc/ ... PDF version of the OpTeX documentation and sources.
+
History:
+<0.12> The external macro qrcode.opm introduced
+ New directory structure: base/, demo/, pkg/, doc/ introduced.
+ \load macro introduced
+ \newif: bug fixed, other bug fixed.
+<0.11> \phi, \varpi in Unicode: bug fixed
+ \mathstyles introduced.
<0.10> Technical documentation added
\_famdecl instedad \_fontdecl in font family files (incompatible change).
<0.09> Syntax highlighting implemented.
diff --git a/Master/texmf-dist/doc/luatex/optex/op-demo.tex b/Master/texmf-dist/doc/luatex/optex/op-demo.tex
deleted file mode 100644
index ea1dd5b65df..00000000000
--- a/Master/texmf-dist/doc/luatex/optex/op-demo.tex
+++ /dev/null
@@ -1,127 +0,0 @@
-%% This is part of OpTeX project, see http://petr.olsak.net/optex
-
-\fontfam[LMfonts] % Default font family: Latin Modern
-
-\margins/1 a5 (1,1,1,1.4)cm % A5 paper + 1cm margins
-\typosize[9/10.5] % 9pt font / 10.5pt baselineskip
-\parindent=10pt % typesetting parameters
-\hyperlinks \Blue\Blue % active hyperlinks
-\activettchar` % in-text verbatim by `...`
-\everyintt={\Red} % in-text verbatim Red
-\enquotes % use \"text" for English quotation
-
-\tit Demonstration
-
-\nonum\notoc\sec Contents
-
-\maketoc % Table of Contents is auto-generated here
-
-\sec Lists
-
-The lists have to be surrounded by `\begitems`
-and `\enditems` sequences.
-
-\begitems
-* First item.
-* Second item.
- \begitems \style i
- * Nested item list,
- * numbered by roman numerals.
- \enditems
-* Last item.
-\enditems
-
-\secc Title of\nl Subsection
-
-The subsection text\dots
-
-\sec References
-
-There is a numbered equation.
-The number is auto-generated by `\eqmark` sequence.
-$$\label[my-eq]
- a^2 + b^2 = c^2 \eqmark
-$$
-We can refer to Equation~\ref[my-eq]
-on page~\pgref[my-eq].
-We can refer to Table~\ref[my-tab] in
-Section~\ref[tab-sec] too. And Figure~\ref[my-pic]
-is on page~\pgref[my-pic].
-
-\sec Hyperlinks
-
-You can refer to \url{http://petr.olsak.net} using `\url`.
-Or use `\ulink` if the raw URL needs to be hidden:
-\ulink[http://petr.olsak.net/optex]{\OpTeX/ page}.
-The parameter text is colorized and it becomes
-an active link if the `\hyperlinks` sequence
-is used at the beginning of the document.
-Internal links are activated too.
-
-\sec[tab-sec] Tables
-
-The `\table` sequence can be used
-instead of \"low level" `\halign`.
-The following table is framed by `\frame` sequence
-in order to get a double frame.
-
-\bigskip
-\caption/t [my-tab] Testing table.
-\cskip
-\centerline{%
- \frame{\table{|r|c|l|}{\crl
- \bf Title A & \bf Title B & \bf Title C \crll
- first & second & third \cr
- next & text & last \crl }}}
-
-\sec Images
-
-The images (PDF, JPG, PNG, TIFF) can be inserted
-by `\inspic` sequence. The `\caption`
-can be added if you need to refer to a figure.
-
-\label[my-pic]
-\centerline {\picwidth=2.7cm \inspic{op-ring.png}}
-\cskip
-\caption/f The nonempty ideal of a simple ring --
- the ring itself.
-
-\sec Verbatim
-
-In-text verbatim is surrounded by the character declared
-by `\activettchar` sequence. The listing can be surrounded
-by `\begtt` and `\endtt` sequences
-\begtt
-This is verbatim.
- All characters are printed $$, \, # etc.
-\endtt
-or it can be included by `\verbinput` from external file.
-
-\verbinput (98-100) op-demo.tex
-
-\sec Math
-
-The Math alphabets
-`\mit`, `\cal`, `\script`, `\frak`, `\bbchar`, `\bi`
-are provided. For example:
-$$
- {\bi A} = \pmatrix {\cal C & \script C \cr
- \frak M & \bbchar R }.
-$$
-Hundreds of AMS symbols are available:
-$\sphericalangle, \boxplus, \Cup, \Cap, \ldots$
-
-\sec Others
-
-The `\fontfam` command selects a desired family of fonts.
-The `\typosize` or `\typoscale` sequences set the size
-and baselineskip of used fonts (including math fonts).
-The `\fnote` generates a footnote\fnote{Like this} and
-`\mnote` generates a margin note.
-The `\margins` sets margins and paper dimensions.
-The `\cite` sequence can be used for bibliographic citations.
-The `\bib` sequence creates one bibliography record. Or
-you can use `\usebib` for direct access to the {\tt.bib} files.
-The list of features does not end here\dots
-
-\bye
diff --git a/Master/texmf-dist/doc/luatex/optex/op-letter.tex b/Master/texmf-dist/doc/luatex/optex/op-letter.tex
deleted file mode 100644
index 3c86405e9a9..00000000000
--- a/Master/texmf-dist/doc/luatex/optex/op-letter.tex
+++ /dev/null
@@ -1,41 +0,0 @@
-%% This is part of OpTeX project, see http://petr.olsak.net/optex
-
-\letter % \letter OpTeX style activated
-\fontfam[bonum]
-\cslang
-
-\address
- Vážený pan
- Mgr. Bořek Byrokrat
- ředitel Ústavu pro další možnosti
- Úřední 789
- 123 45 Praha 1
-
-\hfill V Praze dne \today
-
-\subject Žádost o možnost další možnosti
-
-Vážený pane řediteli
-
-na základě Vašeho dopisu č.j.~123456/78-dat a elektronické výzvy si dovoluji
-Vás požádat o prozkoumání mé možnosti další možnosti.
-Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
-eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
-veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
-commodo consequat.
-
-Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
-eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
-veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
-commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit
-esse cillum dolore eu fugiat nulla pariatur.
-
-S úctou
-
-\hfill \address
- {\it Petr Olšák}
- specialista na \TeX/
- Ulice 12345
- Praha 13
-
-\bye
diff --git a/Master/texmf-dist/doc/luatex/optex/op-ring.png b/Master/texmf-dist/doc/luatex/optex/op-ring.png
deleted file mode 100644
index de7811df83e..00000000000
--- a/Master/texmf-dist/doc/luatex/optex/op-ring.png
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/luatex/optex/op-slides.tex b/Master/texmf-dist/doc/luatex/optex/op-slides.tex
deleted file mode 100644
index 1787cf3aff4..00000000000
--- a/Master/texmf-dist/doc/luatex/optex/op-slides.tex
+++ /dev/null
@@ -1,288 +0,0 @@
-%% This is part of OpTeX project, see http://petr.olsak.net/optex
-
-\slides % OpTeX slides style activated
-
-\catcode`<=13 % special printing of <text>
-\def<#1>{\hbox{$\langle$\it#1\/$\rangle$}}
-\everyintt={\catcode`\<=13}
-
-\hyperlinks\Blue\Blue % hyperlinks are used in the title page
-\backgroundpic{slides-bg.png} % background picture
-
-\activettchar` % inline verbatim
-\enquotes % English quotes \"..."
-
-\slideshow %------------------------------------------------------------
-
-
-\tit \OpTeX/ slides
-
-\subtit Petr Olšák\nl petr@olsak.net
-
-\subtit\rm \url{http://petr.olsak.net/optex}
-
-\pg; %------------------------------------------------------------------
-
-\sec Basics
-
-* The the simple document looks like:
-
-\begtt
-\slides % style initialized
-%\wideformat % 16:9
-\slideshow % partially uncovering ideas
-
-\sec First slide
-text
-\pg;
-
-\sec Second slide
-text
-\pg.
-\endtt
-
-* If `\slideshow` is missing or commented out then
- \"partially uncovering ideas" (see later) are deactivated. It is useful
- for printing.
-* The `\slideshow` must be the last command in the declaration part of the
- document.
-* By default, the slides have A5 landscape format.
- You can declare `\wideformat`. Then the height is the same
- but width is 263\,mm, i.\,e.~the ratio width:height is 16:9.
-
-\pg; %------------------------------------------------------------------
-
-\sec Title slide
-
-* Title of the document (used at the first slide) is created
- by `\tit Title` (terminated by end of line).
-* The `\subtit Author name etc.`\ (terminated by end of line)
- can be used after `\tit` at the first slide.
-* You can use `\nl` for new line in paragraphs or titles.
-
-\sec Default design
-
-* The paragraph texts are ragged right.
-* Titles, subtitles and section titles are centered.
-* The `\sec` and `\secc` are printed without numbers.
-* Paragraph indentation is zero. There is a little vertical space between
- paragraphs.
-* The Heros font family (aka Helvetica) is initialized as default.\nl
- Sans-serif FiraMath font for math typesetting is used.
-* The items in lists are started by blue square (`\type X` and `\type x` ).
-
-\pg; %------------------------------------------------------------------
-
-\sec One slide (one page)
-
-* Top level item list is activated by default. The asterisk `*` opens
- new item at the top level list.
-* Nested items lists (second and more level) should be created in
- the `\begitems`\dots`\enditems` environments.
-* Each slide (page) must be terminated by `\pg;` command.
-* Lats slide must be terminated by `\pg.` command or by `\bye`.
-
-\begtt
-\sec My ideas
-
-* First idea
-* Second idea
- \begitems
- * First sub-idea
- * Second sub-idea
- \enditems
-* Final idea
-\endtt
-
-* Note: each page is processed in a group, so: put your own definitions
- (if~exist) before `\slideshow` or use `\global` assignment.
-
-\pg; %------------------------------------------------------------------
-
-\sec Partially uncovering ideas
-
-* The control sequence `\pg` must be followed by:\pg+
-\begitems
-* the character `;` -- normal next page,\pg+
-* the character `.` -- the end of the document,\pg+
-* the character `+` -- next page keeps the same text
- and a next text is added (usable for partially uncovering of ideas).\pg+
-\enditems
-
-* Summary:
-\begtt
-\pg; ... next page
-\pg. ... the end of the document
-\pg+ ... uncover next text at the same page
-\endtt
-\pg+
-
-* When `\slideshow` is not declared then `\pg+` is deactivated.\pg+
-* The `\pg+` creates a new \"virtual page", so the current paragraph is
- terminated.
-
-\pg; %------------------------------------------------------------------
-
-\sec Example with partially uncovering ideas
-
-The previous page was created by:
-
-\begtt
-\sec Partially uncovering ideas
-
-* The control sequence `\pg` must be followed by:\pg+
-
-\begitems
-* the character `.` -- normal next page,\pg+
-* the character `;` -- the end of the document,\pg+
-* the character `+` -- next ... \pg+
-\enditems
-
-* Summary
-...
-* When `\slideshow` is not declared
- then `\pg+` is deactivated.\pg+
-* The `\pg+` creates a new \"virtual page",
- so the current paragraph is terminated.
-\pg;
-\endtt
-
-\pg; %------------------------------------------------------------------
-
-\sec Notes
-
-* When `\slideshow` is active then you cannot reference sections by
- hyperlinked `\ref`. Only `\pgref` works (and goes to the last layer
- of the referenced page).
-* If the text overfull the page (slide) then it follows to the next page without
- saying explicitly `\pg;`. But `\slideshow` cannot work in such case.\pg+
-
-\sec More about design
-
-* You can use `\backgroundpic{<image-file>}` for putting an image to the backgroud.
-* You can re-declare `\footline` or re-define internal macros for design as
- you wish.
-* You can put the images or text wherever using `\putimege` or `\puttext`
- macros...
-
-\pg; %------------------------------------------------------------------
-
-\sec Putting images and texts wherever
-
-* `\puttext <right> <up> {<text>}` puts a <text> to the desired place:
- It moves the current point <right> and <up>, puts the <text> and returns
- back, so the typesetting continues from previous position. The parameters
- <right> and <up> are dimensions. For example
-
-\begtt
-\puttext 0mm 50mm {\Red HELLO}
-\endtt
-
- \puttext 0mm 50mm {\Red HELLO}
- prints red HELLO, as shown here.\pg+
-
-* `\putpic <right> <up> <width> <height> {<image-file>}`
- puts the image with desired <width> and <height> at the position like
- `\puttext` puts the text.
-
- \putpic .8\hsize 20mm 30mm \nospec {op-ring.png}
-* The ring above is the result of
-
-\begtt
-\putpic .8\hsize 20mm 30mm \nospec {op-ring.png}
-\endtt
- %
- used at beginning of this paragraph.\pg+
-* Use `\nospec` for <width> or <height> of the image if you don't want to specify both
- dimensions (because you don't want to change the image aspect ratio).
-
-\pg; %------------------------------------------------------------------
-
-\sec Limits of the \code{\\pg+} sequence
-
-* The \code{\\pg+} sequence (partially uncovering ideas) cannot be used inside
- a~group.
-* The exception is the nested environment `\begitems...\enditems`.
-* The `\pg+` always finalizes the current paragraph.
- It is impossible to hide only a part of horizontal mode.\pg+
-
-\sec The \code{\\layers}\,...\code{\\endlayers} environment
-
-If you really need something unsupported by `\pg+` then you can use
-
-\begtt \catcode`\<=13
-\layers <number>
-<layered text>
-\endlayers
-\endtt
-
-* The <layered text> should include conditions like
- `\ifnum\layernum...` or `\ifcase\layernum`.
- It is printed <number> times to more slide pages (layers) with the same
- surrounding text. See next page...
-
-\pg; %------------------------------------------------------------------
-
-\sec Example of \code{\\layers} environment
-
-The `\slides` style provides a shortcut `\use` and a macro `\pshow` (means
-partially show):
-
-\begtt
-\def\use#1#2{\ifnum\layernum#1\relax#2\fi}
-\def\pshow#1{\use{=#1}\Red \use{<#1}\Transparent \ignorespaces}
-\endtt
-
-The `{\pshow<num> <text>}` prints <text> in Red when current layer is equal
-to <num> or it prints <text> normally when current layers is greater than <num>.
-The transparent (invisible) font is used in other cases.
-
-The following dance:
-\layers 3
-{\pshow2 Second text.} {\pshow3 Third text.} {\pshow1 First text.}
-\endlayers
-\pg+
-
-was generated by
-
-\begtt
-\layers 3
-{\pshow2 Second text.} {\pshow3 Third text.} {\pshow1 First text.}
-\endlayers
-\endtt
-
-\pg+
-* The <layered text> is treated as macro parameter. So, you cannot use verbatim
- nor `\sec` titles here. Maximal one `\layers` environment can be per one
- page (terminated by `\pg+` or `\pg;` or `\pg.`
-
-\pg; %------------------------------------------------------------------
-
-\sec Comparison \OpTeX/ slides with Beamer\fnote{\url{http://www.ctan.org/pkg/beamer}}
-
-The \LaTeX{} package {\bf\Blue Beamer} gives much more features and many themes
-are prepared for Beamer, {\bf\Red but}
-\pg+
-* the user of Beamer is forced to {\em program} his/her document using
- dozens of \code{\\begin{foo}} and \code{\\end{foo}} and many another
- programming constructions,\pg+
-* plain \TeX{} gives you a possibility to simply
- {\em write} your document with minimal markup. The result is more compact.
- You can concentrate to the contents of your document, not to the
- programming syntax.\pg+
-* User needs to read 250 pages of doc for understanding Beamer,\pg+
-* on the other hand, you need to read only ten
- slides\fnote{this eleventh slide isn't counted}
- and you are ready to use {\bf\Blue\OpTeX/ slides}.
-
-\pg; %------------------------------------------------------------------
-
-\null
-\vskip2cm
-\centerline{\typosize[35/40]\bf Thanks for your attention}\pg+
-
-\vskip2cm
-\centerline{\Blue\typosize[60/70]\bf Questions?}
-
-\pg. %----------------------------- THE END ----------------------------
-
diff --git a/Master/texmf-dist/doc/luatex/optex/optex-doc.pdf b/Master/texmf-dist/doc/luatex/optex/optex-doc.pdf
index 7f9ec85ac85..caaf6319c78 100644
--- a/Master/texmf-dist/doc/luatex/optex/optex-doc.pdf
+++ b/Master/texmf-dist/doc/luatex/optex/optex-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/luatex/optex/optex-doc.tex b/Master/texmf-dist/doc/luatex/optex/optex-doc.tex
index b4e41b68747..267474b24b5 100644
--- a/Master/texmf-dist/doc/luatex/optex/optex-doc.tex
+++ b/Master/texmf-dist/doc/luatex/optex/optex-doc.tex
@@ -1,33 +1,34 @@
%% This is part of OpTeX project, see http://petr.olsak.net/optex
-% Run optex optex-doc (three times) to generate OpTeX documentation.
+% Run optex optex-doc
+% (three times) to generate OpTeX documentation including references and the index.
-\input doc.opm \let\enddocument=\endinput
+\load [doc.opm] \let\enddocument=\endinput
-\typosize[10/12]
+\typosize[10/12] % Main size (used in techdoc)
-\let\new=\relax
+\begingroup \typosize [11/13.5] % Different size used in useroc.
-\begingroup \typosize [11/13.5]
+\insertoutline{OpTeX} % PDF outlines generated from TOC
-\insertoutline{OpTeX}
+% Title:
\vglue1cm
\centerline{\setfontsize{at50pt}\rm\OpTeX}
\vskip-8mm
\tit Format Based on Plain \TeX/ and OPmac\fnotemark1
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\hfill Version 0.10
+\hfill Version 0.12
\centerline{\it Petr Olšák, 2020}
\bigskip
\centerline{\url{http://petr.olsak.net/optex}}
-\fnotetext {The OPmac package is a set of simple additional macros to Plain \TeX{}. It
-enables users to take advantage of \LaTeX/ functionality but keeps
+\fnotetext {The OPmac package is a set of simple additional macros to Plain \TeX{}.
+It enables users to take advantage of \LaTeX/ functionality but keeps
Plain \TeX/ simplicity. See
\url{http://petr.olsak.net/opmac-e.html} for more information about it.}
diff --git a/Master/texmf-dist/doc/luatex/optex/optex-techdoc.tex b/Master/texmf-dist/doc/luatex/optex/optex-techdoc.tex
index 802a87d89f0..561f2a86855 100644
--- a/Master/texmf-dist/doc/luatex/optex/optex-techdoc.tex
+++ b/Master/texmf-dist/doc/luatex/optex/optex-techdoc.tex
@@ -1,9 +1,10 @@
%% This is part of OpTeX project, see http://petr.olsak.net/optex
% This file is read from optex-doc.tex
-% Use: optex optex-doc (three times) to create whole documentation.
+% Use: optex optex-doc
+% (three times) to create whole documentation including all references and the index.
-\ifx\printdoc\undefined \input doc.opm \fi
+\load [doc.opm]
\chap Technical documentation
@@ -81,9 +82,7 @@ the `\dump` command.
\printdoctail prefixed.opm
\secc The implementation of the name spaces
-\edef\_Endcode{\_bslash _endcode\_pcent}
\printdoc prefixed.opm
-\edef\_Endcode{\_bslash _endcode}
\sec pdf\TeX/ initialization
\printdoctail luatex-ini.opm
@@ -124,7 +123,7 @@ Differences are mentioned in the documentation below.
\secc Implementation of the Font Selection System
\printdoc fonts-select.opm
-\sec Preloaded fonts for math mode
+\sec [math-preload] Preloaded fonts for math mode
\printdoctail math-preload.opm
\printdoc math-preload.opm
diff --git a/Master/texmf-dist/doc/luatex/optex/optex-userdoc.tex b/Master/texmf-dist/doc/luatex/optex/optex-userdoc.tex
index 470214dfdc3..d9c537559f9 100644
--- a/Master/texmf-dist/doc/luatex/optex/optex-userdoc.tex
+++ b/Master/texmf-dist/doc/luatex/optex/optex-userdoc.tex
@@ -3,6 +3,8 @@
% This file is read from optex-doc.tex
% Use: optex optex-doc (three times) to create whole documentation.
+\let\new=\relax
+
\sec Starting with \OpTeX/
%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -389,7 +391,7 @@ The following math alphabets are available:
The last two selectors \^`\bf` and \^`\bi` select the sans serif fonts in math regardless
the current text font family. This is common notation for vectors and
-matrices. You can re-declare it, see the file `unimath-codes.opm` where
+matrices. You can re-declare them, see the file `unimath-codes.opm` where
Unicode math variants of \^`\bf` and \^`\bi` selectors are defined.
The math fonts can be scaled by \^`\typosize` and \^`\typoscale` macros.
@@ -401,7 +403,9 @@ is usable for math formulae in titles typeset in bold, for example.
You can use \^`\mathbox{<text>}` inside math mode. It behaves as `{\hbox{<text>}}`
(i.e. the <text> is printed in horizontal non-math mode)
but the size of the <text> is adapted to the context of math size (text or script or
-scriptscript).
+scriptscript). Moreover, there is the macro \^`\mathstyles{<math list>}` which depends on
+the current math style. It is documented at the end of the
+section~\ref[math-macros].
\sec Typical elements of document
@@ -1599,6 +1603,30 @@ Analogical declaration macro `\book` is not prepared. Each book needs an
individual typographical care. You need to create specific macros for
design.
+\secc Loading other macro packages
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+You can load more macro packages by `\input{<file-name>}` or by
+\^`\load[<file-names>]`. The first case is \TeX/ primitive command, it can be
+used in the alternative old syntax `\input <filename><space>` too. The
+second case allows to specify a comma separated list of included files.
+Moreover, the \^`\load` macro loads each macro file only once, it sets
+temporarily standard category codes during loading and it tries to
+load `<filename>.opm` or `<filename>.tex` or `<filename>`, first occurence
+wins. Example:
+\begtt
+\load [qrcode, tikz]
+\endtt
+%
+does `\input qrcode.opm` \,and `\input tikz.tex` \,and it saves
+local information about the fact that these file names
+`qrcode` and `tikz` were already used, i.\,e. next \^`\load` will skip them.
+
+It is strongly recommended to use the `\load` macro for loading external
+macros, if you need them. On the other hand, if your document is structured
+to more files, use simply the `\input` primitive.
+
+
\secc Lorem ipsum dolor sit
%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1658,7 +1686,7 @@ put it as the first command in your document:
\sec Summary
%%%%%%%%%%%%
-\begtt \typosize[10/12]\adef!{\string\endtt}\adef&{\kern.25em}
+\begtt \typosize[9/11]\adef!{\string\endtt}\adef&{\kern.25em}
\tit Title (terminated by end of line)
\chap Chapter Title (terminated by end of line)
\sec Section Title (terminated by end of line)
@@ -1692,6 +1720,7 @@ put it as the first command in your document:
\bib [labname] % an item in the list of references
\usebib/? (style) bib-base % direct using of .bib file, ? in {s,c}
+\load [<filenames>] % loadaing macro files
\fontfam [FamilyName] % selection of font family
\typosize [font-size/baselineskip] % size setting of typesetting
\typoscale [factor-font/factor-baselineskip] % size scaling
@@ -1738,11 +1767,17 @@ use after the command \~`\fontfam[LMfonts]` which reads the fonts in OTF
format.
\new
-The text accents macros like `\'`, `\v`, `\"` are undefined\fnote
+Plain \TeX/ defines `\newcount`, `\bye` etc. as `\outer` macros. \OpTeX/
+doesn't set any macro as `\outer`. Macros like `\TeX`, `\rm` are defined as
+`\protected`.
+
+\new
+The text accents macros `\"`, `\'`, `\v`, `\u`, `\=`, `\^`, `\.`, `\H`,
+`\~`, \code{\\`}, `\t` are undefined\fnote
{The math accents macros like `\acute`, `\bar`, `\dot`, `\hat` still work.}
in \OpTeX/. Use real
-letters like á, ř, ž in your source document instead these old accents macros.
-If you really want to use them, you can initialize them by \^`\oldaccents`
+letters like á, ř, ž in your source document instead of these old accents macros.
+If you really want to use them, you can initialize them by the \^`\oldaccents`
command. But we don't recommend it.
\new
@@ -1756,6 +1791,9 @@ The origin for typographical area is not at top left 1\,in 1\,in coordinates
but at top left paper corner exactly. For example, `\hoffset` includes directly left
margin.
+The `\sec` macro is reserved to sections but original Plain \TeX/ declares this
+control sequence for math secans.
+
\enddocument
diff --git a/Master/texmf-dist/doc/luatex/optex/slides-bg.png b/Master/texmf-dist/doc/luatex/optex/slides-bg.png
deleted file mode 100644
index 4ac1ad8c38c..00000000000
--- a/Master/texmf-dist/doc/luatex/optex/slides-bg.png
+++ /dev/null
Binary files differ