EN: cloze
is a LuaLaTeX/LaTeX package to generate cloze. It uses the
capabilities of the modern TeX engine LuaTex.
DE: cloze
ist a LuaLaTeX/LaTeX-Paket zum Erstellen von Lückentexten.
Es nutzt die Möglichkeiten der modernen TeX-Engine LuaTeX.
Copyright (C) 2015-2023 by Josef Friedrich josef@friedrich.rocks
This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 of this license or (at your option) any later version. The latest version of this license is in:
http://www.latex-project.org/lppl.txt
and version 1.3 or later is part of all distributions of LaTeX version 2005/12/01 or later.
Since July 2015 the cloze package is included in the Comprehensive TeX Archive Network (CTAN).
- TeX archive: http://mirror.ctan.org/tex-archive/macros/luatex/generic/cloze
- Package page: https://www.ctan.org/pkg/cloze
- MiKTeX: https://miktex.org/packages/cloze
- TeX Live:
https://github.com/Josef-Friedrich/cloze
cloze.dtx
: Contains thecloze.tex
(Plain (Lua)TeX macros) and thecloze.sty
((Lua)LaTex package). Never edit the filescloze.tex
andcloze.sty
directly. They are autogenerated.cloze.ins
: Runluatex cloze.ins
to extract the files embeded intocloze.dtx
.cloze.lua
: The Lua code of the package.documentation.tex
: The LaTeX code to generate the documentationcloze.pdf
from.
tlmgr install cloze
git clone git@github.com:Josef-Friedrich/cloze.git
cd cloze
make install
mkdir -p $HOME/texmf/tex/luatex/cloze
cp -f cloze.tex $HOME/texmf/tex/luatex/cloze
cp -f cloze.sty $HOME/texmf/tex/luatex/cloze
cp -f cloze.lua $HOME/texmf/tex/luatex/cloze
lualatex --shell-escape documentation.tex
makeindex -s gglo.ist -o documentation.gls documentation.glo
makeindex -s gind.ist -o documentation.ind documentation.idx
lualatex --shell-escape documentation.tex
mv documentation.pdf cloze.pdf
mkdir -p $HOME/texmf/doc/luatex/cloze
cp -f cloze.pdf $HOME/texmf/doc/luatex/cloze
First delete the stable version installed by TeX Live. Because the
package cloze
belongs to the collection collection-latexextra
, the
option --force
must be used to delete the package.
tlmgr remove --force cloze
Update the version number in the file cloze.dtx
on this locations:
%<*package>
[2020/05/20 v1.4 Package to typeset cloze worksheets or cloze tests]
%<*package>
Add a changes entry (approximately at the line 90):
\changes{v1.4}{2020/05/20}{...}
\date{v1.6~from 2020/06/30}
if not modules then modules = { } end modules ['cloze'] = {
version = '1.4'
}
sed -i 's/(C) 2015-2023/(C) 2015-2021/g' cloze.ins
sed -i 's/(C) 2015-2023/(C) 2015-2021/g' cloze.dtx
git tag v1.4
make
make ctan