summaryrefslogtreecommitdiff
path: root/macros/luatex/optex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/optex')
-rw-r--r--macros/luatex/optex/README2
-rw-r--r--macros/luatex/optex/base/if-macros.opm5
-rw-r--r--macros/luatex/optex/base/optex.ini2
-rw-r--r--macros/luatex/optex/base/sections.opm3
-rw-r--r--macros/luatex/optex/doc/optex-doc.pdfbin1242219 -> 1242362 bytes
-rw-r--r--macros/luatex/optex/doc/optex-doc.tex2
-rw-r--r--macros/luatex/optex/doc/optex-math.tex8
7 files changed, 13 insertions, 9 deletions
diff --git a/macros/luatex/optex/README b/macros/luatex/optex/README
index c88eb1f929..cd34e96f43 100644
--- a/macros/luatex/optex/README
+++ b/macros/luatex/optex/README
@@ -19,6 +19,8 @@ doc/ ... PDF version of the OpTeX documentation and sources.
History:
+<0.15> Release for Overleaf - TL2020.
+ More vertical space above in \chap and \secc.
<0.14> Typeseting Math with OpTeX: new document added.
Math macros corrected.
In-line verbatim in section titles allowed.
diff --git a/macros/luatex/optex/base/if-macros.opm b/macros/luatex/optex/base/if-macros.opm
index 39e3841719..82d3774628 100644
--- a/macros/luatex/optex/base/if-macros.opm
+++ b/macros/luatex/optex/base/if-macros.opm
@@ -133,8 +133,9 @@
\_doc ----------------------------
\secc Is-macros
- There are a collection of macros
- `\isempty`, `\istoksempty`, `\isequal`, `\ismacro`, `\isdefined`, `\isinlist` and `\isfile`
+ There are a collection of macros
+ \^`\isempty`, \^`\istoksempty`, \^`\isequal`, \^`\ismacro`,
+ \^`\isdefined`, \^`\isinlist` and \^`\isfile`
with common syntax:
\begtt \catcode`\<=13
\issomething <params> \iftrue <codeA> \else <codeB> \fi
diff --git a/macros/luatex/optex/base/optex.ini b/macros/luatex/optex/base/optex.ini
index dce5d1aaff..8e6d9f36d0 100644
--- a/macros/luatex/optex/base/optex.ini
+++ b/macros/luatex/optex/base/optex.ini
@@ -21,7 +21,7 @@
% OpTeX version
-\def\optexversion{Beta 0.14 Jun 2020}
+\def\optexversion{Beta 0.15 Jun 2020}
\def\fmtname{OpTeX}
% Engine testing:
diff --git a/macros/luatex/optex/base/sections.opm b/macros/luatex/optex/base/sections.opm
index d4cda17b83..20f3f063dd 100644
--- a/macros/luatex/optex/base/sections.opm
+++ b/macros/luatex/optex/base/sections.opm
@@ -70,6 +70,7 @@
\_cod ---------------------------
\_def\_printchap #1{\_vfill\_supereject
+ \_vglue\_medskipamount % shifted by topkip+\medskipamount
{\_chapfont \_noindent \_mtext{chap} \_printrefnum[@]\_par
\_nobreak\_smallskip
\_noindent \_raggedright #1\_nbpar}\_mark{}%
@@ -83,7 +84,7 @@
\_firstnoindent
}
\_def\_printsecc#1{\_par
- \_abovetitle{\_penalty-200}\_medskip
+ \_abovetitle{\_penalty-200}{\_medskip\_smallskip}
{\_seccfont \_noindent \_raggedright \_printrefnum[@\_quad]#1\_nbpar}%
\_nobreak \_belowtitle{\_medskip}%
\_firstnoindent
diff --git a/macros/luatex/optex/doc/optex-doc.pdf b/macros/luatex/optex/doc/optex-doc.pdf
index 4c93161699..9957733f12 100644
--- a/macros/luatex/optex/doc/optex-doc.pdf
+++ b/macros/luatex/optex/doc/optex-doc.pdf
Binary files differ
diff --git a/macros/luatex/optex/doc/optex-doc.tex b/macros/luatex/optex/doc/optex-doc.tex
index d72b177bf6..7d211f8fc7 100644
--- a/macros/luatex/optex/doc/optex-doc.tex
+++ b/macros/luatex/optex/doc/optex-doc.tex
@@ -20,7 +20,7 @@
\tit Format Based on Plain \TeX/ and OPmac\fnotemark1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\hfill Version 0.14
+\hfill Version 0.15
\centerline{\it Petr Olšák, 2020}
diff --git a/macros/luatex/optex/doc/optex-math.tex b/macros/luatex/optex/doc/optex-math.tex
index 80557fec82..02ec7f0905 100644
--- a/macros/luatex/optex/doc/optex-math.tex
+++ b/macros/luatex/optex/doc/optex-math.tex
@@ -42,7 +42,7 @@
\tit Typesetting Math with \OpTeX/
-\vskip-\baselineskip \hfill Version 01
+\vskip-\baselineskip \hfill Version 01+
\author Petr Olšák
@@ -693,7 +693,7 @@ notation for vectors, tensors and matrices. If you dislike this, then you can de
\secc[objects] List of single math objects
\new Unicode
-All single math objects is listed in the `unimath-table.opm` or
+All single math objects are listed in the `unimath-table.opm` or
`unicode-math-table.tex` file. You can
look into this file. The codes, \TeX/ sequences, classes and comments
for all possible math codes are here. Maybe, your Unicode math font which is loaded,
@@ -785,7 +785,7 @@ If such character does not exist then
the centered $/$ is overprinted over the next character.
-\secc The `\bulidrel` macro: text over relation
+\secc The `\buildrel` macro: text over relation
The macro `\buildrel <text>\over <relation>` creates a new atom Rel with the
<relation> and with the smaller <text> above this <relation>. Example:
@@ -863,7 +863,7 @@ $$ \sum/_{n=0}^\infty (-1)^n a_n \hbox{ converges, if } a_n\searrow 0. $$
%
The difference can be visible if the formula $a_n\searrow 0$ includes a
fraction, for example ${1\over2}a_n\searrow 0$. The first example prints the
-fraction in the text style and the second example prints it the display style.
+fraction in the text style and the second example prints it in the display style.
The disadvantage of `\hbox` is that it starts in the text mode independently
of the current style, but we want to use smaller font in $S$ or $SS$ styles.