summaryrefslogtreecommitdiff
path: root/macros/luatex/generic/lua-widow-control/lwc-documentation.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/generic/lua-widow-control/lwc-documentation.tex')
-rw-r--r--macros/luatex/generic/lua-widow-control/lwc-documentation.tex26
1 files changed, 15 insertions, 11 deletions
diff --git a/macros/luatex/generic/lua-widow-control/lwc-documentation.tex b/macros/luatex/generic/lua-widow-control/lwc-documentation.tex
index 40923c3707..a49ab00a53 100644
--- a/macros/luatex/generic/lua-widow-control/lwc-documentation.tex
+++ b/macros/luatex/generic/lua-widow-control/lwc-documentation.tex
@@ -37,20 +37,19 @@
\startdocument[
title=lua-widow-control,
author=Max Chernoff,
- version=1.1.0, %%version
+ version=1.1.1, %%version
github=https://github.com/gucci-on-fleek/lua-widow-control,
ctan=https://www.ctan.org/pkg/lua-widow-control,
]
\Lwc/ is a Plain~\TeX/\LaTeX/\ConTeXt{} package that removes \waos/ without any user intervention. Using the power of \LuaTeX{}, it does so \emph{without} stretching any glue or shortening any pages or columns. Instead, \lwc/ automatically lengthens a paragraph on a page or column where a \woo/ would otherwise occur.
-\subject{Contents}
-\placecontent[criterium=all]
-\page
-
\section{Quick Start}
Ensure that your \TeX~Live/Mik\TeX{} distribution is up-to-date. Then, \LaTeX{} users just need to place \inlineTEX{\usepackage{lua-widow-control}} in the preamble of your document. For more details, see the \goto{Installation and Usage sections}[sec:install].
+\subject{Contents}
+\placecontent[criterium=all]
+
\section{Motivation}
\TeX{} provides top-notch typesetting: even 40 years after its first release, no other program produces higher quality mathematical typesetting, and its paragraph-breaking algorithm is still state-of-the-art. However, its page breaking is not quite as sophisticated as its paragraph breaking and thus suffers from some minor issues.
@@ -198,7 +197,7 @@ Currently, \ConTeXt{} \acronym{MKXL} (\LuaMetaTeX{}) users must manually install
\subsection{Plain \TeX}
-\inlineTEX{\input lua-widow-control}
+\inlineTEX{\input lua-widow-control}
\subsection{\LaTeX}
@@ -314,25 +313,30 @@ Please note that a compiled document is \bold{not} considered to be an \q{Execut
\section[sec:implementation]{Implementation}
\setupbodyfont[10pt]
+\setuphead[subsection][
+ alternative=normal,
+ style=\ssita,
+ before={\blank[big, preference]},
+]
-\filename{lua-widow-control.lua}
+\subsection{lua-widow-control.lua}
\typeLUAfile{../source/lua-widow-control.lua}
-\filename{lua-widow-control.tex}
+\subsection{lua-widow-control.tex}
\typeTEXfile{../source/lua-widow-control.tex}
-\filename{lua-widow-control.sty}
+\subsection{lua-widow-control.sty}
\typeTEXfile{../source/lua-widow-control.sty}
\def\module{\tex{module}}
-\filename{t-lua-widow-control.mkxl}
+\subsection{t-lua-widow-control.mkxl}
\typeTEXfile{../source/t-lua-widow-control.mkxl}
-\filename{Demo from \in{Table}[tab:demo]}
+\subsection{Demo from \in{Table}[tab:demo]}
\typeTEXfile{lwc-documentation-demo-text.tmp}