summaryrefslogtreecommitdiff
path: root/macros/luatex/optex/base
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/optex/base')
-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
3 files changed, 6 insertions, 4 deletions
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