summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-08-08 03:01:03 +0000
committerNorbert Preining <norbert@preining.info>2021-08-08 03:01:03 +0000
commited204b296810be74994f70f76b7f5b849f6e9ecb (patch)
treef39bb9d2abbf54d1fa1a585d245a0942c77e2f05
parent5991e0faa2ab9a1b9bdb72d6399cff4444b02f35 (diff)
CTAN sync 202108080301
-rw-r--r--FILES.byname916
-rw-r--r--FILES.byname.gzbin2332687 -> 2332681 bytes
-rw-r--r--FILES.last07days820
-rw-r--r--graphics/pgf/contrib/tikzlings/README.md2
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-addons.sty47
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-anteaters.sty279
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-bats.sty260
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-bears.sty290
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-bees.sty300
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-bugs.sty263
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-cats.sty488
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-chickens.sty547
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-coatis.sty409
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-doc.pdfbin629974 -> 686153 bytes
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-doc.tex1439
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-elephants.sty286
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-hippos.sty321
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-koalas.sty338
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-list.sty4
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-marmots.sty438
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-mice.sty319
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-moles.sty298
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-owls.sty303
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-pandas.sty293
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-penguins.sty286
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-pigs.sty322
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-rhinos.sty323
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-sheep.sty332
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-sloths.sty457
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-snowmen.sty318
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings-squirrels.sty315
-rw-r--r--graphics/pgf/contrib/tikzlings/tikzlings.sty2
-rw-r--r--macros/generic/markdown/README.md24
-rw-r--r--macros/generic/markdown/banner.pngbin0 -> 140951 bytes
-rw-r--r--macros/generic/markdown/docstrip.cfg4
-rw-r--r--macros/generic/markdown/markdown.dtx1780
-rw-r--r--macros/generic/markdown/markdown.html7695
-rw-r--r--macros/generic/markdown/markdown.ins3
-rw-r--r--macros/generic/markdown/markdown.md17
-rw-r--r--macros/generic/markdown/markdown.pdfbin443344 -> 627901 bytes
-rw-r--r--macros/latex/contrib/easybook/easybook.dtx6
-rw-r--r--macros/latex/contrib/easybook/easybook.pdfbin583938 -> 583892 bytes
-rw-r--r--macros/latex/contrib/easybook/easybook.tex34
-rw-r--r--macros/latex/contrib/projlib/ProjLib-doc-cn.pdfbin325472 -> 310106 bytes
-rw-r--r--macros/latex/contrib/projlib/ProjLib-doc-en.pdfbin202001 -> 195753 bytes
-rw-r--r--macros/latex/contrib/projlib/ProjLib-doc-fr.pdfbin204097 -> 197885 bytes
-rw-r--r--macros/latex/contrib/projlib/ProjLib-doc.dtx759
-rw-r--r--macros/latex/contrib/projlib/ProjLib.dtx83
-rw-r--r--macros/luatex/latex/pyluatex/README.md1
-rw-r--r--macros/luatex/latex/pyluatex/pyluatex.lua20
-rw-r--r--macros/luatex/latex/pyluatex/pyluatex.pdfbin78301 -> 79524 bytes
-rw-r--r--macros/luatex/latex/pyluatex/pyluatex.sty14
-rw-r--r--macros/luatex/latex/pyluatex/pyluatex.tex17
-rw-r--r--macros/unicodetex/latex/nwafuthesis/README.md10
-rw-r--r--macros/unicodetex/latex/nwafuthesis/nwafuthesis.dtx16
-rw-r--r--macros/unicodetex/latex/nwafuthesis/nwafuthesis.pdfbin1748925 -> 2337649 bytes
-rw-r--r--systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl1
-rw-r--r--systems/texlive/tlnet/tlpkg/texlive.tlpdb132
-rw-r--r--systems/texlive/tlnet/tlpkg/texlive.tlpdb.md52
-rw-r--r--systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha5122
-rw-r--r--systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc14
-rw-r--r--systems/texlive/tlnet/tlpkg/texlive.tlpdb.xzbin2327344 -> 2326404 bytes
-rw-r--r--systems/win32/miktex/doc/miktex.pdfbin509729 -> 509729 bytes
-rw-r--r--systems/win32/miktex/tm/packages/files.csv.lzmabin591262 -> 591262 bytes
-rw-r--r--systems/win32/miktex/tm/packages/next/pr.ini8
-rw-r--r--systems/win32/miktex/tm/packages/pr.ini10
-rw-r--r--timestamp2
67 files changed, 12027 insertions, 9642 deletions
diff --git a/FILES.byname b/FILES.byname
index 72f6fec7db..1f3834f432 100644
--- a/FILES.byname
+++ b/FILES.byname
@@ -5100,7 +5100,7 @@
1990/10/02 | 5440 | dviware/vutex/vaxvms.hlp
1990/10/02 | 812 | dviware/vutex/vaxvms.ins
1990/10/02 | 127576 | dviware/vutex/vutex.web
-2021/08/06 | 80005 | FILES.last07days
+2021/08/07 | 73165 | FILES.last07days
2021/07/24 | 1139410 | fonts/aboensis/Aboensis.glyphs
2021/07/24 | 18907382 | fonts/aboensis/aboensis.pdf
2021/07/24 | 137860 | fonts/aboensis/Aboensis-Regular.otf
@@ -143783,34 +143783,36 @@
2018/02/16 | 66931 | graphics/pgf/contrib/tikz-layers/tikz-layers-doc.pdf
2018/02/16 | 1107 | graphics/pgf/contrib/tikz-layers/tikz-layers.sty
2018/02/16 | 54819 | graphics/pgf/contrib/tikz-layers.zip
-2021/04/16 | 1228 | graphics/pgf/contrib/tikzlings/README.md
-2021/04/16 | 40843 | graphics/pgf/contrib/tikzlings/tikzlings-addons.sty
-2021/04/16 | 11178 | graphics/pgf/contrib/tikzlings/tikzlings-anteaters.sty
-2021/04/16 | 6513 | graphics/pgf/contrib/tikzlings/tikzlings-bears.sty
-2021/04/16 | 7859 | graphics/pgf/contrib/tikzlings/tikzlings-bees.sty
-2021/04/16 | 14391 | graphics/pgf/contrib/tikzlings/tikzlings-cats.sty
-2021/04/16 | 16259 | graphics/pgf/contrib/tikzlings/tikzlings-chickens.sty
-2021/04/16 | 13789 | graphics/pgf/contrib/tikzlings/tikzlings-coatis.sty
-2021/04/16 | 629974 | graphics/pgf/contrib/tikzlings/tikzlings-doc.pdf
-2021/04/16 | 47296 | graphics/pgf/contrib/tikzlings/tikzlings-doc.tex
-2021/04/16 | 7995 | graphics/pgf/contrib/tikzlings/tikzlings-elephants.sty
-2021/04/16 | 8112 | graphics/pgf/contrib/tikzlings/tikzlings-hippos.sty
-2021/04/16 | 10125 | graphics/pgf/contrib/tikzlings/tikzlings-koalas.sty
-2021/04/16 | 629 | graphics/pgf/contrib/tikzlings/tikzlings-list.sty
-2021/04/16 | 11652 | graphics/pgf/contrib/tikzlings/tikzlings-marmots.sty
-2021/04/16 | 10882 | graphics/pgf/contrib/tikzlings/tikzlings-mice.sty
-2021/04/16 | 8975 | graphics/pgf/contrib/tikzlings/tikzlings-moles.sty
-2021/04/16 | 7614 | graphics/pgf/contrib/tikzlings/tikzlings-owls.sty
-2021/04/16 | 7096 | graphics/pgf/contrib/tikzlings/tikzlings-pandas.sty
-2021/04/16 | 9063 | graphics/pgf/contrib/tikzlings/tikzlings-penguins.sty
-2021/04/16 | 10715 | graphics/pgf/contrib/tikzlings/tikzlings-pigs.sty
-2021/04/16 | 8876 | graphics/pgf/contrib/tikzlings/tikzlings-rhinos.sty
-2021/04/16 | 11673 | graphics/pgf/contrib/tikzlings/tikzlings-sheep.sty
-2021/04/16 | 16884 | graphics/pgf/contrib/tikzlings/tikzlings-sloths.sty
-2021/04/16 | 8222 | graphics/pgf/contrib/tikzlings/tikzlings-snowmen.sty
-2021/04/16 | 9561 | graphics/pgf/contrib/tikzlings/tikzlings-squirrels.sty
-2021/04/16 | 3383 | graphics/pgf/contrib/tikzlings/tikzlings.sty
-2021/04/16 | 677448 | graphics/pgf/contrib/tikzlings.zip
+2021/08/06 | 1228 | graphics/pgf/contrib/tikzlings/README.md
+2021/08/06 | 43222 | graphics/pgf/contrib/tikzlings/tikzlings-addons.sty
+2021/08/06 | 12562 | graphics/pgf/contrib/tikzlings/tikzlings-anteaters.sty
+2021/08/06 | 10794 | graphics/pgf/contrib/tikzlings/tikzlings-bats.sty
+2021/08/06 | 8582 | graphics/pgf/contrib/tikzlings/tikzlings-bears.sty
+2021/08/06 | 9583 | graphics/pgf/contrib/tikzlings/tikzlings-bees.sty
+2021/08/06 | 13134 | graphics/pgf/contrib/tikzlings/tikzlings-bugs.sty
+2021/08/06 | 17294 | graphics/pgf/contrib/tikzlings/tikzlings-cats.sty
+2021/08/06 | 17893 | graphics/pgf/contrib/tikzlings/tikzlings-chickens.sty
+2021/08/06 | 15747 | graphics/pgf/contrib/tikzlings/tikzlings-coatis.sty
+2021/08/06 | 686153 | graphics/pgf/contrib/tikzlings/tikzlings-doc.pdf
+2021/08/06 | 20748 | graphics/pgf/contrib/tikzlings/tikzlings-doc.tex
+2021/08/06 | 9467 | graphics/pgf/contrib/tikzlings/tikzlings-elephants.sty
+2021/08/06 | 9824 | graphics/pgf/contrib/tikzlings/tikzlings-hippos.sty
+2021/08/06 | 11767 | graphics/pgf/contrib/tikzlings/tikzlings-koalas.sty
+2021/08/06 | 653 | graphics/pgf/contrib/tikzlings/tikzlings-list.sty
+2021/08/06 | 14308 | graphics/pgf/contrib/tikzlings/tikzlings-marmots.sty
+2021/08/06 | 11531 | graphics/pgf/contrib/tikzlings/tikzlings-mice.sty
+2021/08/06 | 10926 | graphics/pgf/contrib/tikzlings/tikzlings-moles.sty
+2021/08/06 | 9215 | graphics/pgf/contrib/tikzlings/tikzlings-owls.sty
+2021/08/06 | 8561 | graphics/pgf/contrib/tikzlings/tikzlings-pandas.sty
+2021/08/06 | 10722 | graphics/pgf/contrib/tikzlings/tikzlings-penguins.sty
+2021/08/06 | 11060 | graphics/pgf/contrib/tikzlings/tikzlings-pigs.sty
+2021/08/06 | 10506 | graphics/pgf/contrib/tikzlings/tikzlings-rhinos.sty
+2021/08/06 | 13115 | graphics/pgf/contrib/tikzlings/tikzlings-sheep.sty
+2021/08/06 | 17503 | graphics/pgf/contrib/tikzlings/tikzlings-sloths.sty
+2021/08/06 | 10086 | graphics/pgf/contrib/tikzlings/tikzlings-snowmen.sty
+2021/08/06 | 11184 | graphics/pgf/contrib/tikzlings/tikzlings-squirrels.sty
+2021/08/06 | 3383 | graphics/pgf/contrib/tikzlings/tikzlings.sty
+2021/08/07 | 739600 | graphics/pgf/contrib/tikzlings.zip
2021/02/21 | 469 | graphics/pgf/contrib/tikzmark/README
2021/02/16 | 72059 | graphics/pgf/contrib/tikzmark/tikzmark.dtx
2021/02/21 | 423477 | graphics/pgf/contrib/tikzmark/tikzmark.pdf
@@ -173016,7 +173018,7 @@
2021/07/15 | 510822 | install/macros/generic/expkv.tds.zip
2020/03/06 | 222075 | install/macros/generic/iftex.tds.zip
2012/09/20 | 321508 | install/macros/generic/langcode.tds.zip
-2020/09/14 | 619816 | install/macros/generic/markdown.tds.zip
+2021/08/06 | 958166 | install/macros/generic/markdown.tds.zip
2014/06/11 | 428488 | install/macros/generic/mathdots.tds.zip
2014/01/02 | 496633 | install/macros/generic/minifp.tds.zip
2012/09/20 | 369585 | install/macros/generic/plainpkg.tds.zip
@@ -186490,7 +186492,7 @@
2013/04/01 | 14776 | macros/context/contrib/context-visualcounter/tex/context/third/visualcounter/t-visualcounter.mkvi
2018/03/05 | 11 | macros/context/contrib/context-visualcounter/VERSION
2018/03/22 | 276789 | macros/context/contrib/context-visualcounter.zip
-2021/08/04 | 116955970 | macros/context/latest/cont-tmf.zip
+2021/08/05 | 116956890 | macros/context/latest/cont-tmf.zip
2016/04/21 | 32846 | macros/cstex/base/cmexb.tar.gz
2016/06/26 | 1728262 | macros/cstex/base/csfonts-t1.tar.gz
2007/03/01 | 187106 | macros/cstex/base/csfonts.tar.gz
@@ -187458,19 +187460,20 @@
2016/06/15 | 170646 | macros/generic/luatex85/luatex85.pdf
2016/06/15 | 316 | macros/generic/luatex85/README.md
2016/06/15 | 173375 | macros/generic/luatex85.zip
-2020/03/19 | 4485 | macros/generic/markdown/docstrip.cfg
-2019/05/11 | 1060 | macros/generic/markdown/examples/context.tex
-2019/05/18 | 2921 | macros/generic/markdown/examples/example.md
-2019/05/11 | 1052 | macros/generic/markdown/examples/latex.tex
-2019/05/11 | 75 | macros/generic/markdown/examples/scientists.csv
-2020/09/14 | 4530 | macros/generic/markdown/markdown.css
-2020/09/14 | 479825 | macros/generic/markdown/markdown.dtx
-2020/09/14 | 526246 | macros/generic/markdown/markdown.html
-2019/05/11 | 848 | macros/generic/markdown/markdown.ins
-2020/09/14 | 8406 | macros/generic/markdown/markdown.md
-2020/09/14 | 443344 | macros/generic/markdown/markdown.pdf
-2020/08/14 | 8922 | macros/generic/markdown/README.md
-2020/09/14 | 570716 | macros/generic/markdown.zip
+2021/08/06 | 140951 | macros/generic/markdown/banner.png
+2021/08/06 | 4485 | macros/generic/markdown/docstrip.cfg
+2021/08/06 | 1060 | macros/generic/markdown/examples/context.tex
+2021/08/06 | 2921 | macros/generic/markdown/examples/example.md
+2021/08/06 | 1052 | macros/generic/markdown/examples/latex.tex
+2021/08/06 | 75 | macros/generic/markdown/examples/scientists.csv
+2021/08/06 | 4530 | macros/generic/markdown/markdown.css
+2021/08/06 | 518773 | macros/generic/markdown/markdown.dtx
+2021/08/06 | 595079 | macros/generic/markdown/markdown.html
+2021/08/06 | 1145 | macros/generic/markdown/markdown.ins
+2021/08/06 | 9108 | macros/generic/markdown/markdown.md
+2021/08/06 | 627901 | macros/generic/markdown/markdown.pdf
+2021/08/06 | 9414 | macros/generic/markdown/README.md
+2021/08/07 | 903155 | macros/generic/markdown.zip
2014/06/11 | 20744 | macros/generic/mathdots/mathdots.dtx
2014/06/11 | 1203 | macros/generic/mathdots/mathdots.ins
2014/06/11 | 258547 | macros/generic/mathdots/mathdots.pdf
@@ -197821,12 +197824,12 @@
2008/02/10 | 19110 | macros/latex/contrib/ean13isbn/License.txt
2021/01/24 | 422 | macros/latex/contrib/ean13isbn/README
2021/01/24 | 322624 | macros/latex/contrib/ean13isbn.zip
-2021/08/06 | 78560 | macros/latex/contrib/easybook/easybook.dtx
+2021/08/07 | 78560 | macros/latex/contrib/easybook/easybook.dtx
2021/07/28 | 1626 | macros/latex/contrib/easybook/easybook.ins
-2021/08/06 | 583938 | macros/latex/contrib/easybook/easybook.pdf
-2021/08/06 | 78146 | macros/latex/contrib/easybook/easybook.tex
+2021/08/07 | 583892 | macros/latex/contrib/easybook/easybook.pdf
+2021/08/07 | 78128 | macros/latex/contrib/easybook/easybook.tex
2021/07/14 | 1664 | macros/latex/contrib/easybook/README.md
-2021/08/06 | 624265 | macros/latex/contrib/easybook.zip
+2021/08/07 | 624161 | macros/latex/contrib/easybook.zip
2009/06/17 | 82589 | macros/latex/contrib/easy/doc/docbib.pdf
2009/06/17 | 78378 | macros/latex/contrib/easy/doc/docbmat.pdf
2009/06/17 | 99132 | macros/latex/contrib/easy/doc/doceqn.pdf
@@ -209745,15 +209748,15 @@
2003/07/02 | 413 | macros/latex/contrib/progress/README
2006/05/20 | 88703 | macros/latex/contrib/progress.zip
2021/05/06 | 19106 | macros/latex/contrib/projlib/LICENSE
-2021/07/30 | 325472 | macros/latex/contrib/projlib/ProjLib-doc-cn.pdf
-2021/07/30 | 88019 | macros/latex/contrib/projlib/ProjLib-doc.dtx
-2021/07/30 | 202001 | macros/latex/contrib/projlib/ProjLib-doc-en.pdf
-2021/07/30 | 204097 | macros/latex/contrib/projlib/ProjLib-doc-fr.pdf
+2021/08/07 | 310106 | macros/latex/contrib/projlib/ProjLib-doc-cn.pdf
+2021/08/07 | 88462 | macros/latex/contrib/projlib/ProjLib-doc.dtx
+2021/08/07 | 195753 | macros/latex/contrib/projlib/ProjLib-doc-en.pdf
+2021/08/07 | 197885 | macros/latex/contrib/projlib/ProjLib-doc-fr.pdf
2021/07/09 | 857 | macros/latex/contrib/projlib/ProjLib-doc.ins
-2021/07/30 | 88485 | macros/latex/contrib/projlib/ProjLib.dtx
+2021/08/07 | 88600 | macros/latex/contrib/projlib/ProjLib.dtx
2021/07/26 | 2832 | macros/latex/contrib/projlib/ProjLib.ins
2021/07/26 | 4224 | macros/latex/contrib/projlib/README.md
-2021/07/30 | 770628 | macros/latex/contrib/projlib.zip
+2021/08/07 | 744225 | macros/latex/contrib/projlib.zip
2019/05/22 | 116402 | macros/latex/contrib/proof-at-the-end/proof-at-the-end_demo.pdf
2019/05/22 | 8959 | macros/latex/contrib/proof-at-the-end/proof-at-the-end_demo.tex
2019/05/22 | 49789 | macros/latex/contrib/proof-at-the-end/proof-at-the-end.dtx
@@ -224111,14 +224114,14 @@
2020/05/19 | 3051 | macros/luatex/latex/plantuml/README.md
2020/05/19 | 396 | macros/luatex/latex/plantuml/release.sh
2020/05/19 | 70541 | macros/luatex/latex/plantuml.zip
-2021/07/26 | 2793 | macros/luatex/latex/pyluatex/pyluatex-interpreter.py
-2021/07/26 | 9638 | macros/luatex/latex/pyluatex/pyluatex-json.lua
-2021/07/26 | 4962 | macros/luatex/latex/pyluatex/pyluatex.lua
-2021/07/26 | 78301 | macros/luatex/latex/pyluatex/pyluatex.pdf
-2021/07/26 | 1710 | macros/luatex/latex/pyluatex/pyluatex.sty
-2021/07/26 | 11290 | macros/luatex/latex/pyluatex/pyluatex.tex
-2021/07/26 | 1806 | macros/luatex/latex/pyluatex/README.md
-2021/07/26 | 89150 | macros/luatex/latex/pyluatex.zip
+2021/08/07 | 2793 | macros/luatex/latex/pyluatex/pyluatex-interpreter.py
+2021/08/07 | 9638 | macros/luatex/latex/pyluatex/pyluatex-json.lua
+2021/08/07 | 5244 | macros/luatex/latex/pyluatex/pyluatex.lua
+2021/08/07 | 79524 | macros/luatex/latex/pyluatex/pyluatex.pdf
+2021/08/07 | 1810 | macros/luatex/latex/pyluatex/pyluatex.sty
+2021/08/07 | 11796 | macros/luatex/latex/pyluatex/pyluatex.tex
+2021/08/07 | 1805 | macros/luatex/latex/pyluatex/README.md
+2021/08/07 | 90605 | macros/luatex/latex/pyluatex.zip
2013/07/31 | 697 | macros/luatex/latex/selnolig/gpp-ft.fea
2015/10/12 | 1376 | macros/luatex/latex/selnolig/README
2015/10/26 | 989 | macros/luatex/latex/selnolig/selnolig-bugreport.tex
@@ -232322,10 +232325,10 @@
2021/05/16 | 694569 | macros/unicodetex/latex/nwafuthesis/logo/nwafu-bar.pdf
2021/02/25 | 656165 | macros/unicodetex/latex/nwafuthesis/logo/nwafu-circle.pdf
2021/08/05 | 62595 | macros/unicodetex/latex/nwafuthesis/nwafuthesis-doc.dtx
-2021/08/05 | 271330 | macros/unicodetex/latex/nwafuthesis/nwafuthesis.dtx
-2021/08/05 | 1748925 | macros/unicodetex/latex/nwafuthesis/nwafuthesis.pdf
-2021/08/05 | 1533 | macros/unicodetex/latex/nwafuthesis/README.md
-2021/08/05 | 2834317 | macros/unicodetex/latex/nwafuthesis.zip
+2021/08/07 | 271564 | macros/unicodetex/latex/nwafuthesis/nwafuthesis.dtx
+2021/08/07 | 2337649 | macros/unicodetex/latex/nwafuthesis/nwafuthesis.pdf
+2021/08/07 | 1542 | macros/unicodetex/latex/nwafuthesis/README.md
+2021/08/07 | 3400019 | macros/unicodetex/latex/nwafuthesis.zip
2021/04/12 | 934533 | macros/unicodetex/latex/polyglossia/polyglossia.dtx
2021/04/12 | 341615 | macros/unicodetex/latex/polyglossia/polyglossia.pdf
2021/04/12 | 1942 | macros/unicodetex/latex/polyglossia/README.md
@@ -268450,7 +268453,7 @@
2020/03/04 | 408 | systems/texlive/tlnet/archive/collection-langpolish.r54074.tar.xz
2020/03/04 | 392 | systems/texlive/tlnet/archive/collection-langportuguese.r54074.tar.xz
2020/03/07 | 380 | systems/texlive/tlnet/archive/collection-langspanish.r54141.tar.xz
-2021/08/06 | 6420 | systems/texlive/tlnet/archive/collection-latexextra.r60171.tar.xz
+2021/08/07 | 6420 | systems/texlive/tlnet/archive/collection-latexextra.r60178.tar.xz
2020/12/03 | 696 | systems/texlive/tlnet/archive/collection-latex.r57048.tar.xz
2021/02/24 | 772 | systems/texlive/tlnet/archive/collection-latexrecommended.r57862.tar.xz
2021/07/15 | 744 | systems/texlive/tlnet/archive/collection-luatex.r59928.tar.xz
@@ -269781,9 +269784,9 @@
2021/07/19 | 313228 | systems/texlive/tlnet/archive/easing.doc.r59975.tar.xz
2021/07/19 | 2220 | systems/texlive/tlnet/archive/easing.r59975.tar.xz
2021/07/19 | 7876 | systems/texlive/tlnet/archive/easing.source.r59975.tar.xz
-2021/08/05 | 603540 | systems/texlive/tlnet/archive/easybook.doc.r60160.tar.xz
-2021/08/05 | 16992 | systems/texlive/tlnet/archive/easybook.r60160.tar.xz
-2021/08/05 | 17048 | systems/texlive/tlnet/archive/easybook.source.r60160.tar.xz
+2021/08/07 | 604156 | systems/texlive/tlnet/archive/easybook.doc.r60176.tar.xz
+2021/08/07 | 16992 | systems/texlive/tlnet/archive/easybook.r60176.tar.xz
+2021/08/07 | 17040 | systems/texlive/tlnet/archive/easybook.source.r60176.tar.xz
2019/02/28 | 4540 | systems/texlive/tlnet/archive/easy.doc.r19440.tar.xz
2020/09/08 | 175976 | systems/texlive/tlnet/archive/easyfig.doc.r56291.tar.xz
2020/09/08 | 1936 | systems/texlive/tlnet/archive/easyfig.r56291.tar.xz
@@ -271517,8 +271520,8 @@
2019/02/28 | 98316 | systems/texlive/tlnet/archive/hrlatex.doc.r18020.tar.xz
2019/02/28 | 3528 | systems/texlive/tlnet/archive/hrlatex.r18020.tar.xz
2019/02/28 | 3768 | systems/texlive/tlnet/archive/hrlatex.source.r18020.tar.xz
-2021/07/16 | 341736 | systems/texlive/tlnet/archive/huawei.doc.r59945.tar.xz
-2021/07/16 | 259600 | systems/texlive/tlnet/archive/huawei.r59945.tar.xz
+2021/08/07 | 342620 | systems/texlive/tlnet/archive/huawei.doc.r60177.tar.xz
+2021/08/07 | 259736 | systems/texlive/tlnet/archive/huawei.r60177.tar.xz
2021/02/01 | 213632 | systems/texlive/tlnet/archive/hu-berlin-bundle.doc.r57580.tar.xz
2021/02/01 | 8244 | systems/texlive/tlnet/archive/hu-berlin-bundle.r57580.tar.xz
2021/02/01 | 17768 | systems/texlive/tlnet/archive/hu-berlin-bundle.source.r57580.tar.xz
@@ -276628,6 +276631,9 @@
2019/02/28 | 258768 | systems/texlive/tlnet/archive/smartdiagram.doc.r42781.tar.xz
2019/02/28 | 6524 | systems/texlive/tlnet/archive/smartdiagram.r42781.tar.xz
2019/02/28 | 16864 | systems/texlive/tlnet/archive/smartdiagram.source.r42781.tar.xz
+2021/08/07 | 84356 | systems/texlive/tlnet/archive/smart-eqn.doc.r60178.tar.xz
+2021/08/07 | 2196 | systems/texlive/tlnet/archive/smart-eqn.r60178.tar.xz
+2021/08/07 | 5800 | systems/texlive/tlnet/archive/smart-eqn.source.r60178.tar.xz
2019/02/28 | 319192 | systems/texlive/tlnet/archive/smartref.doc.r20311.tar.xz
2019/02/28 | 3100 | systems/texlive/tlnet/archive/smartref.r20311.tar.xz
2019/02/28 | 340260 | systems/texlive/tlnet/archive/smartunits.doc.r39592.tar.xz
@@ -277457,7 +277463,7 @@
2020/05/17 | 592 | systems/texlive/tlnet/archive/texlive-scripts.amd64-freebsd.r55172.tar.xz
2020/05/17 | 588 | systems/texlive/tlnet/archive/texlive-scripts.amd64-netbsd.r55172.tar.xz
2020/05/17 | 592 | systems/texlive/tlnet/archive/texlive-scripts.armhf-linux.r55172.tar.xz
-2021/08/06 | 399060 | systems/texlive/tlnet/archive/texlive-scripts.doc.r60169.tar.xz
+2021/08/07 | 399200 | systems/texlive/tlnet/archive/texlive-scripts.doc.r60174.tar.xz
2020/01/27 | 916 | systems/texlive/tlnet/archive/texlive-scripts-extra.aarch64-linux.r53577.tar.xz
2020/01/27 | 924 | systems/texlive/tlnet/archive/texlive-scripts-extra.amd64-freebsd.r53577.tar.xz
2020/01/27 | 916 | systems/texlive/tlnet/archive/texlive-scripts-extra.amd64-netbsd.r53577.tar.xz
@@ -277481,7 +277487,7 @@
2020/05/17 | 588 | systems/texlive/tlnet/archive/texlive-scripts.i386-linux.r55172.tar.xz
2020/05/17 | 592 | systems/texlive/tlnet/archive/texlive-scripts.i386-netbsd.r55172.tar.xz
2020/05/17 | 588 | systems/texlive/tlnet/archive/texlive-scripts.i386-solaris.r55172.tar.xz
-2021/08/06 | 108296 | systems/texlive/tlnet/archive/texlive-scripts.r60169.tar.xz
+2021/08/07 | 108276 | systems/texlive/tlnet/archive/texlive-scripts.r60174.tar.xz
2021/02/25 | 572 | systems/texlive/tlnet/archive/texlive-scripts.universal-darwin.r57908.tar.xz
2021/04/12 | 36308 | systems/texlive/tlnet/archive/texlive-scripts.win32.r58829.tar.xz
2020/05/17 | 588 | systems/texlive/tlnet/archive/texlive-scripts.x86_64-cygwin.r55172.tar.xz
@@ -279198,16 +279204,16 @@
2020/07/18 | 47816 | systems/texlive/tlnet/archive/zztex.doc.r55862.tar.xz
2020/07/18 | 101724 | systems/texlive/tlnet/archive/zztex.r55862.tar.xz
2021/05/02 | 105152 | systems/texlive/tlnet/install-tl
-2021/08/06 | 6811270 | systems/texlive/tlnet/install-tl-unx.tar.gz
-2021/08/06 | 152 | systems/texlive/tlnet/install-tl-unx.tar.gz.sha512
-2021/08/06 | 455 | systems/texlive/tlnet/install-tl-unx.tar.gz.sha512.asc
+2021/08/07 | 6811529 | systems/texlive/tlnet/install-tl-unx.tar.gz
+2021/08/07 | 152 | systems/texlive/tlnet/install-tl-unx.tar.gz.sha512
+2021/08/07 | 455 | systems/texlive/tlnet/install-tl-unx.tar.gz.sha512.asc
2021/04/11 | 4945 | systems/texlive/tlnet/install-tl-windows.bat
-2021/08/06 | 20811067 | systems/texlive/tlnet/install-tl-windows.exe
-2021/08/06 | 153 | systems/texlive/tlnet/install-tl-windows.exe.sha512
-2021/08/06 | 455 | systems/texlive/tlnet/install-tl-windows.exe.sha512.asc
-2021/08/06 | 25585316 | systems/texlive/tlnet/install-tl.zip
-2021/08/06 | 145 | systems/texlive/tlnet/install-tl.zip.sha512
-2021/08/06 | 455 | systems/texlive/tlnet/install-tl.zip.sha512.asc
+2021/08/07 | 20809140 | systems/texlive/tlnet/install-tl-windows.exe
+2021/08/07 | 153 | systems/texlive/tlnet/install-tl-windows.exe.sha512
+2021/08/07 | 455 | systems/texlive/tlnet/install-tl-windows.exe.sha512.asc
+2021/08/07 | 25585299 | systems/texlive/tlnet/install-tl.zip
+2021/08/07 | 145 | systems/texlive/tlnet/install-tl.zip.sha512
+2021/08/07 | 455 | systems/texlive/tlnet/install-tl.zip.sha512.asc
2021/04/01 | 1229 | systems/texlive/tlnet/README.md
2021/04/01 | 0 | systems/texlive/tlnet/TEXLIVE_2021
2021/07/03 | 7181 | systems/texlive/tlnet/tlpkg/gpg/pubring.gpg
@@ -279217,7 +279223,7 @@
2021/07/03 | 1280 | systems/texlive/tlnet/tlpkg/gpg/trustdb.gpg
2021/07/02 | 49348 | systems/texlive/tlnet/tlpkg/installer/config.guess
2010/11/11 | 11651 | systems/texlive/tlnet/tlpkg/installer/COPYING.MinGW-runtime.txt
-2021/08/05 | 6911 | systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl
+2021/08/06 | 6836 | systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl
2020/04/15 | 223687 | systems/texlive/tlnet/tlpkg/installer/curl/curl-ca-bundle.crt
2020/04/15 | 2606592 | systems/texlive/tlnet/tlpkg/installer/curl/curl.exe
2017/04/16 | 2629 | systems/texlive/tlnet/tlpkg/installer/installer-options.txt
@@ -279259,12 +279265,12 @@
2021/05/16 | 20371 | systems/texlive/tlnet/tlpkg/TeXLive/TLCrypto.pm
2021/05/16 | 5402 | systems/texlive/tlnet/tlpkg/TeXLive/TLDownload.pm
2021/05/16 | 27555 | systems/texlive/tlnet/tlpkg/TeXLive/TLPaper.pm
-2021/08/06 | 17346861 | systems/texlive/tlnet/tlpkg/texlive.tlpdb
-2021/08/06 | 48 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.md5
+2021/08/07 | 17347736 | systems/texlive/tlnet/tlpkg/texlive.tlpdb
+2021/08/07 | 48 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.md5
2021/05/16 | 86511 | systems/texlive/tlnet/tlpkg/TeXLive/TLPDB.pm
-2021/08/06 | 144 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
-2021/08/06 | 455 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
-2021/08/06 | 2327548 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
+2021/08/07 | 144 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
+2021/08/07 | 455 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
+2021/08/07 | 2327344 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
2021/05/16 | 58801 | systems/texlive/tlnet/tlpkg/TeXLive/TLPOBJ.pm
2021/05/16 | 42084 | systems/texlive/tlnet/tlpkg/TeXLive/TLPSRC.pm
2021/05/16 | 16103 | systems/texlive/tlnet/tlpkg/TeXLive/TLTREE.pm
@@ -282425,7 +282431,7 @@
2001/02/25 | 458318 | systems/win32/micropress/eqmlite/ppsample.zip
2001/02/25 | 2566 | systems/win32/micropress/eqmlite/whatsnew.231
2005/01/06 | 587 | systems/win32/micropress/eqmlite/whats-really-new
-2021/07/17 | 509729 | systems/win32/miktex/doc/miktex.pdf
+2021/08/07 | 509729 | systems/win32/miktex/doc/miktex.pdf
2019/05/28 | 101 | systems/win32/miktex/README.md
2021/06/07 | 61137802 | systems/win32/miktex/setup/darwin-x86_64/miktex-21.6-darwin-x86_64.dmg
2021/07/18 | 61340561 | systems/win32/miktex/setup/darwin-x86_64/miktex-21.7-darwin-x86_64.dmg
@@ -284135,7 +284141,7 @@
2020/10/03 | 318630 | systems/win32/miktex/tm/packages/filehook.tar.lzma
2012/12/04 | 924573 | systems/win32/miktex/tm/packages/fileinfo.tar.lzma
2011/09/21 | 281409 | systems/win32/miktex/tm/packages/filemod.tar.lzma
-2021/08/06 | 591262 | systems/win32/miktex/tm/packages/files.csv.lzma
+2021/08/07 | 591262 | systems/win32/miktex/tm/packages/files.csv.lzma
2001/05/14 | 5617 | systems/win32/miktex/tm/packages/finbib.tar.lzma
2015/10/20 | 44379 | systems/win32/miktex/tm/packages/findhyph.tar.lzma
2011/10/21 | 89323 | systems/win32/miktex/tm/packages/fink.tar.lzma
@@ -285252,238 +285258,238 @@
2021/03/17 | 1951618 | systems/win32/miktex/tm/packages/microtype.tar.lzma
2016/07/16 | 344819 | systems/win32/miktex/tm/packages/midnight.tar.lzma
2010/03/16 | 190135 | systems/win32/miktex/tm/packages/midpage.tar.lzma
-2021/07/17 | 51068 | systems/win32/miktex/tm/packages/miktex-arctrl-bin-2.9.tar.lzma
-2021/07/17 | 56441 | systems/win32/miktex/tm/packages/miktex-arctrl-bin-x64-2.9.tar.lzma
-2021/07/17 | 973826 | systems/win32/miktex/tm/packages/miktex-asymptote-bin-2.9.tar.lzma
-2021/07/17 | 1074471 | systems/win32/miktex/tm/packages/miktex-asymptote-bin-x64-2.9.tar.lzma
-2021/07/17 | 28922 | systems/win32/miktex/tm/packages/miktex-autosp-bin-2.9.tar.lzma
-2021/07/17 | 31306 | systems/win32/miktex/tm/packages/miktex-autosp-bin-x64-2.9.tar.lzma
-2021/07/17 | 29799 | systems/win32/miktex/tm/packages/miktex-axohelp-bin-2.9.tar.lzma
-2021/07/17 | 34681 | systems/win32/miktex/tm/packages/miktex-axohelp-bin-x64-2.9.tar.lzma
-2021/07/17 | 50026 | systems/win32/miktex/tm/packages/miktex-bibarts-bin-2.9.tar.lzma
-2021/07/17 | 57537 | systems/win32/miktex/tm/packages/miktex-bibarts-bin-x64-2.9.tar.lzma
-2021/07/17 | 83582 | systems/win32/miktex/tm/packages/miktex-bibtex8bit-bin-2.9.tar.lzma
-2021/07/17 | 95344 | systems/win32/miktex/tm/packages/miktex-bibtex8bit-bin-x64-2.9.tar.lzma
-2021/07/17 | 68060 | systems/win32/miktex/tm/packages/miktex-bibtex-bin-2.9.tar.lzma
-2021/07/17 | 75747 | systems/win32/miktex/tm/packages/miktex-bibtex-bin-x64-2.9.tar.lzma
-2021/07/17 | 27172 | systems/win32/miktex/tm/packages/miktex-bzip2-bin-2.9.tar.lzma
-2021/07/17 | 30769 | systems/win32/miktex/tm/packages/miktex-bzip2-bin-x64-2.9.tar.lzma
-2021/07/17 | 330462 | systems/win32/miktex/tm/packages/miktex-cairo-bin-2.9.tar.lzma
-2021/07/17 | 392679 | systems/win32/miktex/tm/packages/miktex-cairo-bin-x64-2.9.tar.lzma
+2021/08/07 | 51031 | systems/win32/miktex/tm/packages/miktex-arctrl-bin-2.9.tar.lzma
+2021/08/07 | 56405 | systems/win32/miktex/tm/packages/miktex-arctrl-bin-x64-2.9.tar.lzma
+2021/08/07 | 973111 | systems/win32/miktex/tm/packages/miktex-asymptote-bin-2.9.tar.lzma
+2021/08/07 | 1076749 | systems/win32/miktex/tm/packages/miktex-asymptote-bin-x64-2.9.tar.lzma
+2021/08/07 | 29026 | systems/win32/miktex/tm/packages/miktex-autosp-bin-2.9.tar.lzma
+2021/08/07 | 31334 | systems/win32/miktex/tm/packages/miktex-autosp-bin-x64-2.9.tar.lzma
+2021/08/07 | 29815 | systems/win32/miktex/tm/packages/miktex-axohelp-bin-2.9.tar.lzma
+2021/08/07 | 34644 | systems/win32/miktex/tm/packages/miktex-axohelp-bin-x64-2.9.tar.lzma
+2021/08/07 | 49905 | systems/win32/miktex/tm/packages/miktex-bibarts-bin-2.9.tar.lzma
+2021/08/07 | 57570 | systems/win32/miktex/tm/packages/miktex-bibarts-bin-x64-2.9.tar.lzma
+2021/08/07 | 83705 | systems/win32/miktex/tm/packages/miktex-bibtex8bit-bin-2.9.tar.lzma
+2021/08/07 | 95414 | systems/win32/miktex/tm/packages/miktex-bibtex8bit-bin-x64-2.9.tar.lzma
+2021/08/07 | 68012 | systems/win32/miktex/tm/packages/miktex-bibtex-bin-2.9.tar.lzma
+2021/08/07 | 75767 | systems/win32/miktex/tm/packages/miktex-bibtex-bin-x64-2.9.tar.lzma
+2021/08/07 | 27177 | systems/win32/miktex/tm/packages/miktex-bzip2-bin-2.9.tar.lzma
+2021/08/07 | 30803 | systems/win32/miktex/tm/packages/miktex-bzip2-bin-x64-2.9.tar.lzma
+2021/08/07 | 330456 | systems/win32/miktex/tm/packages/miktex-cairo-bin-2.9.tar.lzma
+2021/08/07 | 392514 | systems/win32/miktex/tm/packages/miktex-cairo-bin-x64-2.9.tar.lzma
2013/06/24 | 447360 | systems/win32/miktex/tm/packages/miktex-cairo-bin-x86-2.9.tar.lzma
-2021/07/17 | 32576 | systems/win32/miktex/tm/packages/miktex-chktex-bin-2.9.tar.lzma
-2021/07/17 | 36586 | systems/win32/miktex/tm/packages/miktex-chktex-bin-x64-2.9.tar.lzma
-2021/07/17 | 51291 | systems/win32/miktex/tm/packages/miktex-cjkutils-bin-2.9.tar.lzma
-2021/07/17 | 56627 | systems/win32/miktex/tm/packages/miktex-cjkutils-bin-x64-2.9.tar.lzma
+2021/08/07 | 32651 | systems/win32/miktex/tm/packages/miktex-chktex-bin-2.9.tar.lzma
+2021/08/07 | 36602 | systems/win32/miktex/tm/packages/miktex-chktex-bin-x64-2.9.tar.lzma
+2021/08/07 | 51253 | systems/win32/miktex/tm/packages/miktex-cjkutils-bin-2.9.tar.lzma
+2021/08/07 | 56772 | systems/win32/miktex/tm/packages/miktex-cjkutils-bin-x64-2.9.tar.lzma
2021/06/05 | 4882 | systems/win32/miktex/tm/packages/miktex-config-2.9.tar.lzma
-2021/07/17 | 238651 | systems/win32/miktex/tm/packages/miktex-console-bin-2.9.tar.lzma
-2021/07/17 | 264081 | systems/win32/miktex/tm/packages/miktex-console-bin-x64-2.9.tar.lzma
-2021/07/17 | 179763 | systems/win32/miktex/tm/packages/miktex-curl-bin-2.9.tar.lzma
-2021/07/17 | 195611 | systems/win32/miktex/tm/packages/miktex-curl-bin-x64-2.9.tar.lzma
-2021/07/17 | 54674 | systems/win32/miktex/tm/packages/miktex-cweb-bin-2.9.tar.lzma
-2021/07/17 | 61865 | systems/win32/miktex/tm/packages/miktex-cweb-bin-x64-2.9.tar.lzma
-2021/07/17 | 21174 | systems/win32/miktex/tm/packages/miktex-devnag-bin-2.9.tar.lzma
-2021/07/17 | 23300 | systems/win32/miktex/tm/packages/miktex-devnag-bin-x64-2.9.tar.lzma
+2021/08/07 | 251703 | systems/win32/miktex/tm/packages/miktex-console-bin-2.9.tar.lzma
+2021/08/07 | 279550 | systems/win32/miktex/tm/packages/miktex-console-bin-x64-2.9.tar.lzma
+2021/08/07 | 179745 | systems/win32/miktex/tm/packages/miktex-curl-bin-2.9.tar.lzma
+2021/08/07 | 195609 | systems/win32/miktex/tm/packages/miktex-curl-bin-x64-2.9.tar.lzma
+2021/08/07 | 54628 | systems/win32/miktex/tm/packages/miktex-cweb-bin-2.9.tar.lzma
+2021/08/07 | 61841 | systems/win32/miktex/tm/packages/miktex-cweb-bin-x64-2.9.tar.lzma
+2021/08/07 | 21168 | systems/win32/miktex/tm/packages/miktex-devnag-bin-2.9.tar.lzma
+2021/08/07 | 23341 | systems/win32/miktex/tm/packages/miktex-devnag-bin-x64-2.9.tar.lzma
2020/02/07 | 785398 | systems/win32/miktex/tm/packages/miktex-dict-british.tar.lzma
2016/11/02 | 171725 | systems/win32/miktex/tm/packages/miktex-dict-english.tar.lzma
2016/11/02 | 292320 | systems/win32/miktex/tm/packages/miktex-dict-french.tar.lzma
2016/11/02 | 967418 | systems/win32/miktex/tm/packages/miktex-dict-german.tar.lzma
2020/05/17 | 460366 | systems/win32/miktex/tm/packages/miktex-doc-2.9.tar.lzma
-2021/07/17 | 461757 | systems/win32/miktex/tm/packages/miktex-doc.tar.lzma
-2021/07/17 | 45935 | systems/win32/miktex/tm/packages/miktex-dvicopy-bin-2.9.tar.lzma
-2021/07/17 | 51188 | systems/win32/miktex/tm/packages/miktex-dvicopy-bin-x64-2.9.tar.lzma
-2021/07/17 | 284820 | systems/win32/miktex/tm/packages/miktex-dvipdfmx-bin-2.9.tar.lzma
-2021/07/17 | 324712 | systems/win32/miktex/tm/packages/miktex-dvipdfmx-bin-x64-2.9.tar.lzma
+2021/08/07 | 461708 | systems/win32/miktex/tm/packages/miktex-doc.tar.lzma
+2021/08/07 | 45910 | systems/win32/miktex/tm/packages/miktex-dvicopy-bin-2.9.tar.lzma
+2021/08/07 | 51171 | systems/win32/miktex/tm/packages/miktex-dvicopy-bin-x64-2.9.tar.lzma
+2021/08/07 | 284951 | systems/win32/miktex/tm/packages/miktex-dvipdfmx-bin-2.9.tar.lzma
+2021/08/07 | 324459 | systems/win32/miktex/tm/packages/miktex-dvipdfmx-bin-x64-2.9.tar.lzma
2021/03/16 | 5048 | systems/win32/miktex/tm/packages/miktex-dvipdfmx.tar.lzma
-2021/07/17 | 41121 | systems/win32/miktex/tm/packages/miktex-dvipng-bin-2.9.tar.lzma
-2021/07/17 | 45423 | systems/win32/miktex/tm/packages/miktex-dvipng-bin-x64-2.9.tar.lzma
-2021/07/17 | 119902 | systems/win32/miktex/tm/packages/miktex-dvips-bin-2.9.tar.lzma
-2021/07/17 | 133963 | systems/win32/miktex/tm/packages/miktex-dvips-bin-x64-2.9.tar.lzma
+2021/08/07 | 41216 | systems/win32/miktex/tm/packages/miktex-dvipng-bin-2.9.tar.lzma
+2021/08/07 | 45371 | systems/win32/miktex/tm/packages/miktex-dvipng-bin-x64-2.9.tar.lzma
+2021/08/07 | 119904 | systems/win32/miktex/tm/packages/miktex-dvips-bin-2.9.tar.lzma
+2021/08/07 | 133872 | systems/win32/miktex/tm/packages/miktex-dvips-bin-x64-2.9.tar.lzma
2017/04/09 | 4195 | systems/win32/miktex/tm/packages/miktex-dvips.tar.lzma
-2021/07/17 | 1282591 | systems/win32/miktex/tm/packages/miktex-dvisvgm-bin-2.9.tar.lzma
-2021/07/17 | 1424025 | systems/win32/miktex/tm/packages/miktex-dvisvgm-bin-x64-2.9.tar.lzma
-2021/07/17 | 100398 | systems/win32/miktex/tm/packages/miktex-epstopdf-bin-2.9.tar.lzma
-2021/07/17 | 112806 | systems/win32/miktex/tm/packages/miktex-epstopdf-bin-x64-2.9.tar.lzma
+2021/08/07 | 1288660 | systems/win32/miktex/tm/packages/miktex-dvisvgm-bin-2.9.tar.lzma
+2021/08/07 | 1416524 | systems/win32/miktex/tm/packages/miktex-dvisvgm-bin-x64-2.9.tar.lzma
+2021/08/07 | 100477 | systems/win32/miktex/tm/packages/miktex-epstopdf-bin-2.9.tar.lzma
+2021/08/07 | 112772 | systems/win32/miktex/tm/packages/miktex-epstopdf-bin-x64-2.9.tar.lzma
2016/11/03 | 672 | systems/win32/miktex/tm/packages/miktex-etex.tar.lzma
-2021/07/17 | 43012 | systems/win32/miktex/tm/packages/miktex-expat-bin-2.9.tar.lzma
-2021/07/17 | 48198 | systems/win32/miktex/tm/packages/miktex-expat-bin-x64-2.9.tar.lzma
-2021/07/17 | 24998 | systems/win32/miktex/tm/packages/miktex-findtexmf-bin-2.9.tar.lzma
-2021/07/17 | 28135 | systems/win32/miktex/tm/packages/miktex-findtexmf-bin-x64-2.9.tar.lzma
-2021/07/17 | 56354 | systems/win32/miktex/tm/packages/miktex-fmt-bin-2.9.tar.lzma
-2021/07/17 | 62743 | systems/win32/miktex/tm/packages/miktex-fmt-bin-x64-2.9.tar.lzma
+2021/08/07 | 43020 | systems/win32/miktex/tm/packages/miktex-expat-bin-2.9.tar.lzma
+2021/08/07 | 48232 | systems/win32/miktex/tm/packages/miktex-expat-bin-x64-2.9.tar.lzma
+2021/08/07 | 24997 | systems/win32/miktex/tm/packages/miktex-findtexmf-bin-2.9.tar.lzma
+2021/08/07 | 28124 | systems/win32/miktex/tm/packages/miktex-findtexmf-bin-x64-2.9.tar.lzma
+2021/08/07 | 56310 | systems/win32/miktex/tm/packages/miktex-fmt-bin-2.9.tar.lzma
+2021/08/07 | 62690 | systems/win32/miktex/tm/packages/miktex-fmt-bin-x64-2.9.tar.lzma
2015/09/08 | 11241 | systems/win32/miktex/tm/packages/miktex-fontconfig-base.tar.lzma
-2021/07/17 | 136615 | systems/win32/miktex/tm/packages/miktex-fontconfig-bin-2.9.tar.lzma
-2021/07/17 | 154597 | systems/win32/miktex/tm/packages/miktex-fontconfig-bin-x64-2.9.tar.lzma
+2021/08/07 | 136496 | systems/win32/miktex/tm/packages/miktex-fontconfig-bin-2.9.tar.lzma
+2021/08/07 | 154550 | systems/win32/miktex/tm/packages/miktex-fontconfig-bin-x64-2.9.tar.lzma
2016/11/04 | 3555 | systems/win32/miktex/tm/packages/miktex-fontconfig.tar.lzma
-2021/07/17 | 73215 | systems/win32/miktex/tm/packages/miktex-fonts-bin-2.9.tar.lzma
-2021/07/17 | 78126 | systems/win32/miktex/tm/packages/miktex-fonts-bin-x64-2.9.tar.lzma
-2021/07/17 | 71693 | systems/win32/miktex/tm/packages/miktex-freeglut-bin-2.9.tar.lzma
-2021/07/17 | 80680 | systems/win32/miktex/tm/packages/miktex-freeglut-bin-x64-2.9.tar.lzma
-2021/07/17 | 258946 | systems/win32/miktex/tm/packages/miktex-freetype2-bin-2.9.tar.lzma
-2021/07/17 | 295413 | systems/win32/miktex/tm/packages/miktex-freetype2-bin-x64-2.9.tar.lzma
-2021/07/17 | 22006 | systems/win32/miktex/tm/packages/miktex-fribidixetex-bin-2.9.tar.lzma
-2021/07/17 | 24972 | systems/win32/miktex/tm/packages/miktex-fribidixetex-bin-x64-2.9.tar.lzma
-2021/07/17 | 97157 | systems/win32/miktex/tm/packages/miktex-gd-bin-2.9.tar.lzma
-2021/07/17 | 112213 | systems/win32/miktex/tm/packages/miktex-gd-bin-x64-2.9.tar.lzma
+2021/08/07 | 73166 | systems/win32/miktex/tm/packages/miktex-fonts-bin-2.9.tar.lzma
+2021/08/07 | 78184 | systems/win32/miktex/tm/packages/miktex-fonts-bin-x64-2.9.tar.lzma
+2021/08/07 | 71650 | systems/win32/miktex/tm/packages/miktex-freeglut-bin-2.9.tar.lzma
+2021/08/07 | 80630 | systems/win32/miktex/tm/packages/miktex-freeglut-bin-x64-2.9.tar.lzma
+2021/08/07 | 258947 | systems/win32/miktex/tm/packages/miktex-freetype2-bin-2.9.tar.lzma
+2021/08/07 | 295323 | systems/win32/miktex/tm/packages/miktex-freetype2-bin-x64-2.9.tar.lzma
+2021/08/07 | 22021 | systems/win32/miktex/tm/packages/miktex-fribidixetex-bin-2.9.tar.lzma
+2021/08/07 | 24969 | systems/win32/miktex/tm/packages/miktex-fribidixetex-bin-x64-2.9.tar.lzma
+2021/08/07 | 97303 | systems/win32/miktex/tm/packages/miktex-gd-bin-2.9.tar.lzma
+2021/08/07 | 112220 | systems/win32/miktex/tm/packages/miktex-gd-bin-x64-2.9.tar.lzma
2018/09/25 | 10777812 | systems/win32/miktex/tm/packages/miktex-ghostscript-bin.tar.lzma
2018/09/25 | 11056498 | systems/win32/miktex/tm/packages/miktex-ghostscript-bin-x64.tar.lzma
-2021/07/17 | 64345 | systems/win32/miktex/tm/packages/miktex-graphite2-bin-2.9.tar.lzma
-2021/07/17 | 73108 | systems/win32/miktex/tm/packages/miktex-graphite2-bin-x64-2.9.tar.lzma
-2021/07/17 | 96281 | systems/win32/miktex/tm/packages/miktex-gregorio-bin-2.9.tar.lzma
-2021/07/17 | 115204 | systems/win32/miktex/tm/packages/miktex-gregorio-bin-x64-2.9.tar.lzma
-2021/07/17 | 38141 | systems/win32/miktex/tm/packages/miktex-gsf2pk-bin-2.9.tar.lzma
-2021/07/17 | 43015 | systems/win32/miktex/tm/packages/miktex-gsf2pk-bin-x64-2.9.tar.lzma
-2021/07/17 | 484096 | systems/win32/miktex/tm/packages/miktex-harfbuzz-bin-2.9.tar.lzma
-2021/07/17 | 566257 | systems/win32/miktex/tm/packages/miktex-harfbuzz-bin-x64-2.9.tar.lzma
+2021/08/07 | 64402 | systems/win32/miktex/tm/packages/miktex-graphite2-bin-2.9.tar.lzma
+2021/08/07 | 73156 | systems/win32/miktex/tm/packages/miktex-graphite2-bin-x64-2.9.tar.lzma
+2021/08/07 | 96441 | systems/win32/miktex/tm/packages/miktex-gregorio-bin-2.9.tar.lzma
+2021/08/07 | 115576 | systems/win32/miktex/tm/packages/miktex-gregorio-bin-x64-2.9.tar.lzma
+2021/08/07 | 38136 | systems/win32/miktex/tm/packages/miktex-gsf2pk-bin-2.9.tar.lzma
+2021/08/07 | 42988 | systems/win32/miktex/tm/packages/miktex-gsf2pk-bin-x64-2.9.tar.lzma
+2021/08/07 | 483048 | systems/win32/miktex/tm/packages/miktex-harfbuzz-bin-2.9.tar.lzma
+2021/08/07 | 566081 | systems/win32/miktex/tm/packages/miktex-harfbuzz-bin-x64-2.9.tar.lzma
2019/09/28 | 1103778 | systems/win32/miktex/tm/packages/miktex-harftex-bin-2.9.tar.lzma
2019/09/28 | 1272652 | systems/win32/miktex/tm/packages/miktex-harftex-bin-x64-2.9.tar.lzma
-2021/07/17 | 147489 | systems/win32/miktex/tm/packages/miktex-hunspell-bin-2.9.tar.lzma
-2021/07/17 | 159392 | systems/win32/miktex/tm/packages/miktex-hunspell-bin-x64-2.9.tar.lzma
+2021/08/07 | 147542 | systems/win32/miktex/tm/packages/miktex-hunspell-bin-2.9.tar.lzma
+2021/08/07 | 159583 | systems/win32/miktex/tm/packages/miktex-hunspell-bin-x64-2.9.tar.lzma
2017/11/02 | 7484214 | systems/win32/miktex/tm/packages/miktex-icu-bin.tar.lzma
2017/11/02 | 7651539 | systems/win32/miktex/tm/packages/miktex-icu-bin-x64.tar.lzma
-2021/07/17 | 94784 | systems/win32/miktex/tm/packages/miktex-jpeg-bin-2.9.tar.lzma
-2021/07/17 | 109019 | systems/win32/miktex/tm/packages/miktex-jpeg-bin-x64-2.9.tar.lzma
-2021/07/17 | 16310 | systems/win32/miktex/tm/packages/miktex-kpathsea-bin-2.9.tar.lzma
-2021/07/17 | 17957 | systems/win32/miktex/tm/packages/miktex-kpathsea-bin-x64-2.9.tar.lzma
-2021/07/17 | 28357 | systems/win32/miktex/tm/packages/miktex-lacheck-bin-2.9.tar.lzma
-2021/07/17 | 30023 | systems/win32/miktex/tm/packages/miktex-lacheck-bin-x64-2.9.tar.lzma
+2021/08/07 | 94754 | systems/win32/miktex/tm/packages/miktex-jpeg-bin-2.9.tar.lzma
+2021/08/07 | 109034 | systems/win32/miktex/tm/packages/miktex-jpeg-bin-x64-2.9.tar.lzma
+2021/08/07 | 16313 | systems/win32/miktex/tm/packages/miktex-kpathsea-bin-2.9.tar.lzma
+2021/08/07 | 17969 | systems/win32/miktex/tm/packages/miktex-kpathsea-bin-x64-2.9.tar.lzma
+2021/08/07 | 28146 | systems/win32/miktex/tm/packages/miktex-lacheck-bin-2.9.tar.lzma
+2021/08/07 | 30025 | systems/win32/miktex/tm/packages/miktex-lacheck-bin-x64-2.9.tar.lzma
2021/03/18 | 1262 | systems/win32/miktex/tm/packages/miktex-latex.tar.lzma
-2021/07/17 | 629433 | systems/win32/miktex/tm/packages/miktex-lcdf-typetools-bin-2.9.tar.lzma
-2021/07/17 | 680603 | systems/win32/miktex/tm/packages/miktex-lcdf-typetools-bin-x64-2.9.tar.lzma
-2021/07/17 | 531913 | systems/win32/miktex/tm/packages/miktex-libressl-bin-2.9.tar.lzma
-2021/07/17 | 595612 | systems/win32/miktex/tm/packages/miktex-libressl-bin-x64-2.9.tar.lzma
-2021/07/17 | 476714 | systems/win32/miktex/tm/packages/miktex-log4cxx-bin-2.9.tar.lzma
-2021/07/17 | 510798 | systems/win32/miktex/tm/packages/miktex-log4cxx-bin-x64-2.9.tar.lzma
+2021/08/07 | 629628 | systems/win32/miktex/tm/packages/miktex-lcdf-typetools-bin-2.9.tar.lzma
+2021/08/07 | 680872 | systems/win32/miktex/tm/packages/miktex-lcdf-typetools-bin-x64-2.9.tar.lzma
+2021/08/07 | 531724 | systems/win32/miktex/tm/packages/miktex-libressl-bin-2.9.tar.lzma
+2021/08/07 | 596374 | systems/win32/miktex/tm/packages/miktex-libressl-bin-x64-2.9.tar.lzma
+2021/08/07 | 476919 | systems/win32/miktex/tm/packages/miktex-log4cxx-bin-2.9.tar.lzma
+2021/08/07 | 510530 | systems/win32/miktex/tm/packages/miktex-log4cxx-bin-x64-2.9.tar.lzma
2019/01/02 | 71265 | systems/win32/miktex/tm/packages/miktex-lua52-bin-2.9.tar.lzma
2019/01/02 | 80005 | systems/win32/miktex/tm/packages/miktex-lua52-bin-x64-2.9.tar.lzma
-2021/07/17 | 94344 | systems/win32/miktex/tm/packages/miktex-lua53-bin-2.9.tar.lzma
-2021/07/17 | 103316 | systems/win32/miktex/tm/packages/miktex-lua53-bin-x64-2.9.tar.lzma
-2021/07/17 | 1721853 | systems/win32/miktex/tm/packages/miktex-luatex-bin-2.9.tar.lzma
-2021/07/17 | 2006278 | systems/win32/miktex/tm/packages/miktex-luatex-bin-x64-2.9.tar.lzma
+2021/08/07 | 94339 | systems/win32/miktex/tm/packages/miktex-lua53-bin-2.9.tar.lzma
+2021/08/07 | 103428 | systems/win32/miktex/tm/packages/miktex-lua53-bin-x64-2.9.tar.lzma
+2021/08/07 | 1729966 | systems/win32/miktex/tm/packages/miktex-luatex-bin-2.9.tar.lzma
+2021/08/07 | 1985987 | systems/win32/miktex/tm/packages/miktex-luatex-bin-x64-2.9.tar.lzma
2016/11/06 | 11511 | systems/win32/miktex/tm/packages/miktex-luatex.tar.lzma
-2021/07/17 | 67588 | systems/win32/miktex/tm/packages/miktex-lzma-bin-2.9.tar.lzma
-2021/07/17 | 74139 | systems/win32/miktex/tm/packages/miktex-lzma-bin-x64-2.9.tar.lzma
-2021/07/17 | 27106 | systems/win32/miktex/tm/packages/miktex-makeindex-bin-2.9.tar.lzma
-2021/07/17 | 31499 | systems/win32/miktex/tm/packages/miktex-makeindex-bin-x64-2.9.tar.lzma
-2021/07/17 | 7689 | systems/win32/miktex/tm/packages/miktex-md5-bin-2.9.tar.lzma
-2021/07/17 | 8758 | systems/win32/miktex/tm/packages/miktex-md5-bin-x64-2.9.tar.lzma
-2021/07/17 | 196839 | systems/win32/miktex/tm/packages/miktex-metafont-bin-2.9.tar.lzma
-2021/07/17 | 215065 | systems/win32/miktex/tm/packages/miktex-metafont-bin-x64-2.9.tar.lzma
+2021/08/07 | 67590 | systems/win32/miktex/tm/packages/miktex-lzma-bin-2.9.tar.lzma
+2021/08/07 | 74152 | systems/win32/miktex/tm/packages/miktex-lzma-bin-x64-2.9.tar.lzma
+2021/08/07 | 27481 | systems/win32/miktex/tm/packages/miktex-makeindex-bin-2.9.tar.lzma
+2021/08/07 | 31588 | systems/win32/miktex/tm/packages/miktex-makeindex-bin-x64-2.9.tar.lzma
+2021/08/07 | 7689 | systems/win32/miktex/tm/packages/miktex-md5-bin-2.9.tar.lzma
+2021/08/07 | 8748 | systems/win32/miktex/tm/packages/miktex-md5-bin-x64-2.9.tar.lzma
+2021/08/07 | 196803 | systems/win32/miktex/tm/packages/miktex-metafont-bin-2.9.tar.lzma
+2021/08/07 | 215210 | systems/win32/miktex/tm/packages/miktex-metafont-bin-x64-2.9.tar.lzma
2016/11/04 | 675 | systems/win32/miktex/tm/packages/miktex-metafont.tar.lzma
-2021/07/17 | 250244 | systems/win32/miktex/tm/packages/miktex-metapost-bin-2.9.tar.lzma
-2021/07/17 | 283894 | systems/win32/miktex/tm/packages/miktex-metapost-bin-x64-2.9.tar.lzma
+2021/08/07 | 250124 | systems/win32/miktex/tm/packages/miktex-metapost-bin-2.9.tar.lzma
+2021/08/07 | 283925 | systems/win32/miktex/tm/packages/miktex-metapost-bin-x64-2.9.tar.lzma
2016/11/04 | 687 | systems/win32/miktex/tm/packages/miktex-metapost.tar.lzma
-2021/07/17 | 98190 | systems/win32/miktex/tm/packages/miktex-mfware-bin-2.9.tar.lzma
-2021/07/17 | 103586 | systems/win32/miktex/tm/packages/miktex-mfware-bin-x64-2.9.tar.lzma
+2021/08/07 | 98300 | systems/win32/miktex/tm/packages/miktex-mfware-bin-2.9.tar.lzma
+2021/08/07 | 103645 | systems/win32/miktex/tm/packages/miktex-mfware-bin-x64-2.9.tar.lzma
2021/06/24 | 22882 | systems/win32/miktex/tm/packages/miktex-misc.tar.lzma
-2021/07/17 | 60717 | systems/win32/miktex/tm/packages/miktex-mkfntmap-bin-2.9.tar.lzma
-2021/07/17 | 68039 | systems/win32/miktex/tm/packages/miktex-mkfntmap-bin-x64-2.9.tar.lzma
-2021/07/17 | 124389 | systems/win32/miktex/tm/packages/miktex-mktex-bin-2.9.tar.lzma
-2021/07/17 | 136410 | systems/win32/miktex/tm/packages/miktex-mktex-bin-x64-2.9.tar.lzma
-2021/07/17 | 178399 | systems/win32/miktex/tm/packages/miktex-mo-bin-2.9.tar.lzma
-2021/07/17 | 196722 | systems/win32/miktex/tm/packages/miktex-mo-bin-x64-2.9.tar.lzma
-2021/07/17 | 199489 | systems/win32/miktex/tm/packages/miktex-mpfr-bin-2.9.tar.lzma
-2021/07/17 | 179907 | systems/win32/miktex/tm/packages/miktex-mpfr-bin-x64-2.9.tar.lzma
-2021/07/17 | 67431 | systems/win32/miktex/tm/packages/miktex-mpmcli-bin-2.9.tar.lzma
-2021/07/17 | 76804 | systems/win32/miktex/tm/packages/miktex-mpmcli-bin-x64-2.9.tar.lzma
-2021/07/17 | 31189 | systems/win32/miktex/tm/packages/miktex-mspack-bin-2.9.tar.lzma
-2021/07/17 | 35058 | systems/win32/miktex/tm/packages/miktex-mspack-bin-x64-2.9.tar.lzma
-2021/07/17 | 37762 | systems/win32/miktex/tm/packages/miktex-mthelp-bin-2.9.tar.lzma
-2021/07/17 | 42649 | systems/win32/miktex/tm/packages/miktex-mthelp-bin-x64-2.9.tar.lzma
-2021/07/17 | 42844 | systems/win32/miktex/tm/packages/miktex-mtprint-bin-2.9.tar.lzma
-2021/07/17 | 46981 | systems/win32/miktex/tm/packages/miktex-mtprint-bin-x64-2.9.tar.lzma
-2021/07/17 | 45942 | systems/win32/miktex/tm/packages/miktex-m-tx-bin-2.9.tar.lzma
-2021/07/17 | 52393 | systems/win32/miktex/tm/packages/miktex-m-tx-bin-x64-2.9.tar.lzma
+2021/08/07 | 60698 | systems/win32/miktex/tm/packages/miktex-mkfntmap-bin-2.9.tar.lzma
+2021/08/07 | 68105 | systems/win32/miktex/tm/packages/miktex-mkfntmap-bin-x64-2.9.tar.lzma
+2021/08/07 | 124437 | systems/win32/miktex/tm/packages/miktex-mktex-bin-2.9.tar.lzma
+2021/08/07 | 136429 | systems/win32/miktex/tm/packages/miktex-mktex-bin-x64-2.9.tar.lzma
+2021/08/07 | 178262 | systems/win32/miktex/tm/packages/miktex-mo-bin-2.9.tar.lzma
+2021/08/07 | 196617 | systems/win32/miktex/tm/packages/miktex-mo-bin-x64-2.9.tar.lzma
+2021/08/07 | 199582 | systems/win32/miktex/tm/packages/miktex-mpfr-bin-2.9.tar.lzma
+2021/08/07 | 179953 | systems/win32/miktex/tm/packages/miktex-mpfr-bin-x64-2.9.tar.lzma
+2021/08/07 | 67483 | systems/win32/miktex/tm/packages/miktex-mpmcli-bin-2.9.tar.lzma
+2021/08/07 | 76801 | systems/win32/miktex/tm/packages/miktex-mpmcli-bin-x64-2.9.tar.lzma
+2021/08/07 | 31188 | systems/win32/miktex/tm/packages/miktex-mspack-bin-2.9.tar.lzma
+2021/08/07 | 35038 | systems/win32/miktex/tm/packages/miktex-mspack-bin-x64-2.9.tar.lzma
+2021/08/07 | 37755 | systems/win32/miktex/tm/packages/miktex-mthelp-bin-2.9.tar.lzma
+2021/08/07 | 42672 | systems/win32/miktex/tm/packages/miktex-mthelp-bin-x64-2.9.tar.lzma
+2021/08/07 | 42839 | systems/win32/miktex/tm/packages/miktex-mtprint-bin-2.9.tar.lzma
+2021/08/07 | 46978 | systems/win32/miktex/tm/packages/miktex-mtprint-bin-x64-2.9.tar.lzma
+2021/08/07 | 45932 | systems/win32/miktex/tm/packages/miktex-m-tx-bin-2.9.tar.lzma
+2021/08/07 | 52403 | systems/win32/miktex/tm/packages/miktex-m-tx-bin-x64-2.9.tar.lzma
2006/05/19 | 1267123 | systems/win32/miktex/tm/packages/miktex-omega-base.cab
2020/05/12 | 354540 | systems/win32/miktex/tm/packages/miktex-omega-bin-2.9.tar.lzma
2020/05/12 | 387734 | systems/win32/miktex/tm/packages/miktex-omega-bin-x64-2.9.tar.lzma
2016/11/04 | 746 | systems/win32/miktex/tm/packages/miktex-omega.tar.lzma
-2021/07/17 | 194178 | systems/win32/miktex/tm/packages/miktex-omegaware-bin-2.9.tar.lzma
-2021/07/17 | 207014 | systems/win32/miktex/tm/packages/miktex-omegaware-bin-x64-2.9.tar.lzma
-2021/07/17 | 35731 | systems/win32/miktex/tm/packages/miktex-patgen-bin.tar.lzma
-2021/07/17 | 40229 | systems/win32/miktex/tm/packages/miktex-patgen-bin-x64.tar.lzma
-2021/07/17 | 743079 | systems/win32/miktex/tm/packages/miktex-pdftex-bin-2.9.tar.lzma
-2021/07/17 | 818937 | systems/win32/miktex/tm/packages/miktex-pdftex-bin-x64-2.9.tar.lzma
+2021/08/07 | 194085 | systems/win32/miktex/tm/packages/miktex-omegaware-bin-2.9.tar.lzma
+2021/08/07 | 206835 | systems/win32/miktex/tm/packages/miktex-omegaware-bin-x64-2.9.tar.lzma
+2021/08/07 | 35730 | systems/win32/miktex/tm/packages/miktex-patgen-bin.tar.lzma
+2021/08/07 | 40324 | systems/win32/miktex/tm/packages/miktex-patgen-bin-x64.tar.lzma
+2021/08/07 | 748712 | systems/win32/miktex/tm/packages/miktex-pdftex-bin-2.9.tar.lzma
+2021/08/07 | 817283 | systems/win32/miktex/tm/packages/miktex-pdftex-bin-x64-2.9.tar.lzma
2016/11/10 | 1683 | systems/win32/miktex/tm/packages/miktex-pdftex.tar.lzma
-2021/07/17 | 198379 | systems/win32/miktex/tm/packages/miktex-pixman-bin-2.9.tar.lzma
-2021/07/17 | 202925 | systems/win32/miktex/tm/packages/miktex-pixman-bin-x64-2.9.tar.lzma
-2021/07/17 | 207861 | systems/win32/miktex/tm/packages/miktex-pmx-bin-2.9.tar.lzma
-2021/07/17 | 243428 | systems/win32/miktex/tm/packages/miktex-pmx-bin-x64-2.9.tar.lzma
-2021/07/17 | 78739 | systems/win32/miktex/tm/packages/miktex-png-bin-2.9.tar.lzma
-2021/07/17 | 87630 | systems/win32/miktex/tm/packages/miktex-png-bin-x64-2.9.tar.lzma
-2021/07/17 | 1169942 | systems/win32/miktex/tm/packages/miktex-poppler-bin-2.9.tar.lzma
-2021/07/17 | 1302290 | systems/win32/miktex/tm/packages/miktex-poppler-bin-x64-2.9.tar.lzma
-2021/07/17 | 20107 | systems/win32/miktex/tm/packages/miktex-popt-bin-2.9.tar.lzma
-2021/07/17 | 23869 | systems/win32/miktex/tm/packages/miktex-popt-bin-x64-2.9.tar.lzma
-2021/07/17 | 31478 | systems/win32/miktex/tm/packages/miktex-posix-bin-2.9.tar.lzma
-2021/07/17 | 37248 | systems/win32/miktex/tm/packages/miktex-posix-bin-x64-2.9.tar.lzma
-2021/07/17 | 63882 | systems/win32/miktex/tm/packages/miktex-ps2pk-bin-2.9.tar.lzma
-2021/07/17 | 72162 | systems/win32/miktex/tm/packages/miktex-ps2pk-bin-x64-2.9.tar.lzma
+2021/08/07 | 198293 | systems/win32/miktex/tm/packages/miktex-pixman-bin-2.9.tar.lzma
+2021/08/07 | 202953 | systems/win32/miktex/tm/packages/miktex-pixman-bin-x64-2.9.tar.lzma
+2021/08/07 | 208067 | systems/win32/miktex/tm/packages/miktex-pmx-bin-2.9.tar.lzma
+2021/08/07 | 243436 | systems/win32/miktex/tm/packages/miktex-pmx-bin-x64-2.9.tar.lzma
+2021/08/07 | 78707 | systems/win32/miktex/tm/packages/miktex-png-bin-2.9.tar.lzma
+2021/08/07 | 87720 | systems/win32/miktex/tm/packages/miktex-png-bin-x64-2.9.tar.lzma
+2021/08/07 | 1169691 | systems/win32/miktex/tm/packages/miktex-poppler-bin-2.9.tar.lzma
+2021/08/07 | 1301693 | systems/win32/miktex/tm/packages/miktex-poppler-bin-x64-2.9.tar.lzma
+2021/08/07 | 20119 | systems/win32/miktex/tm/packages/miktex-popt-bin-2.9.tar.lzma
+2021/08/07 | 23871 | systems/win32/miktex/tm/packages/miktex-popt-bin-x64-2.9.tar.lzma
+2021/08/07 | 31502 | systems/win32/miktex/tm/packages/miktex-posix-bin-2.9.tar.lzma
+2021/08/07 | 37226 | systems/win32/miktex/tm/packages/miktex-posix-bin-x64-2.9.tar.lzma
+2021/08/07 | 64174 | systems/win32/miktex/tm/packages/miktex-ps2pk-bin-2.9.tar.lzma
+2021/08/07 | 72221 | systems/win32/miktex/tm/packages/miktex-ps2pk-bin-x64-2.9.tar.lzma
2016/07/29 | 121451 | systems/win32/miktex/tm/packages/miktex-psutils-base.tar.lzma
-2021/07/17 | 50623 | systems/win32/miktex/tm/packages/miktex-psutils-bin-2.9.tar.lzma
-2021/07/17 | 57796 | systems/win32/miktex/tm/packages/miktex-psutils-bin-x64-2.9.tar.lzma
+2021/08/07 | 50651 | systems/win32/miktex/tm/packages/miktex-psutils-bin-2.9.tar.lzma
+2021/08/07 | 57712 | systems/win32/miktex/tm/packages/miktex-psutils-bin-x64-2.9.tar.lzma
2021/03/08 | 8242908 | systems/win32/miktex/tm/packages/miktex-qt5-bin.tar.lzma
2021/03/08 | 9576187 | systems/win32/miktex/tm/packages/miktex-qt5-bin-x64.tar.lzma
-2021/07/17 | 1340575 | systems/win32/miktex/tm/packages/miktex-runtime-bin-2.9.tar.lzma
-2021/07/17 | 1464450 | systems/win32/miktex/tm/packages/miktex-runtime-bin-x64-2.9.tar.lzma
-2021/07/17 | 42368 | systems/win32/miktex/tm/packages/miktex-synctex-bin-2.9.tar.lzma
-2021/07/17 | 51766 | systems/win32/miktex/tm/packages/miktex-synctex-bin-x64-2.9.tar.lzma
+2021/08/07 | 1342256 | systems/win32/miktex/tm/packages/miktex-runtime-bin-2.9.tar.lzma
+2021/08/07 | 1465793 | systems/win32/miktex/tm/packages/miktex-runtime-bin-x64-2.9.tar.lzma
+2021/08/07 | 42374 | systems/win32/miktex/tm/packages/miktex-synctex-bin-2.9.tar.lzma
+2021/08/07 | 51795 | systems/win32/miktex/tm/packages/miktex-synctex-bin-x64-2.9.tar.lzma
2020/05/17 | 74366 | systems/win32/miktex/tm/packages/miktex-tdsutil-bin-2.9.tar.lzma
-2021/07/17 | 56512 | systems/win32/miktex/tm/packages/miktex-tdsutil-bin.tar.lzma
+2021/08/07 | 56486 | systems/win32/miktex/tm/packages/miktex-tdsutil-bin.tar.lzma
2020/05/17 | 82298 | systems/win32/miktex/tm/packages/miktex-tdsutil-bin-x64-2.9.tar.lzma
-2021/07/17 | 59943 | systems/win32/miktex/tm/packages/miktex-tdsutil-bin-x64.tar.lzma
-2021/07/17 | 25277 | systems/win32/miktex/tm/packages/miktex-teckit-bin-2.9.tar.lzma
-2021/07/17 | 27259 | systems/win32/miktex/tm/packages/miktex-teckit-bin-x64-2.9.tar.lzma
-2021/07/17 | 16381 | systems/win32/miktex/tm/packages/miktex-tex2xindy-bin-2.9.tar.lzma
-2021/07/17 | 18134 | systems/win32/miktex/tm/packages/miktex-tex2xindy-bin-x64-2.9.tar.lzma
-2021/07/17 | 63832 | systems/win32/miktex/tm/packages/miktex-tex4ht-bin-2.9.tar.lzma
-2021/07/17 | 69958 | systems/win32/miktex/tm/packages/miktex-tex4ht-bin-x64-2.9.tar.lzma
+2021/08/07 | 59951 | systems/win32/miktex/tm/packages/miktex-tdsutil-bin-x64.tar.lzma
+2021/08/07 | 25281 | systems/win32/miktex/tm/packages/miktex-teckit-bin-2.9.tar.lzma
+2021/08/07 | 27351 | systems/win32/miktex/tm/packages/miktex-teckit-bin-x64-2.9.tar.lzma
+2021/08/07 | 16447 | systems/win32/miktex/tm/packages/miktex-tex2xindy-bin-2.9.tar.lzma
+2021/08/07 | 18133 | systems/win32/miktex/tm/packages/miktex-tex2xindy-bin-x64-2.9.tar.lzma
+2021/08/07 | 63706 | systems/win32/miktex/tm/packages/miktex-tex4ht-bin-2.9.tar.lzma
+2021/08/07 | 69867 | systems/win32/miktex/tm/packages/miktex-tex4ht-bin-x64-2.9.tar.lzma
2020/01/26 | 4527 | systems/win32/miktex/tm/packages/miktex-tex4ht.tar.lzma
-2021/07/17 | 154763 | systems/win32/miktex/tm/packages/miktex-tex-bin-2.9.tar.lzma
-2021/07/17 | 169258 | systems/win32/miktex/tm/packages/miktex-tex-bin-x64-2.9.tar.lzma
-2021/07/17 | 57030 | systems/win32/miktex/tm/packages/miktex-texify-bin-2.9.tar.lzma
-2021/07/17 | 65685 | systems/win32/miktex/tm/packages/miktex-texify-bin-x64-2.9.tar.lzma
+2021/08/07 | 154802 | systems/win32/miktex/tm/packages/miktex-tex-bin-2.9.tar.lzma
+2021/08/07 | 169295 | systems/win32/miktex/tm/packages/miktex-tex-bin-x64-2.9.tar.lzma
+2021/08/07 | 56966 | systems/win32/miktex/tm/packages/miktex-texify-bin-2.9.tar.lzma
+2021/08/07 | 65671 | systems/win32/miktex/tm/packages/miktex-texify-bin-x64-2.9.tar.lzma
2016/11/05 | 748 | systems/win32/miktex/tm/packages/miktex-texinfo.tar.lzma
2016/11/05 | 724 | systems/win32/miktex/tm/packages/miktex-tex.tar.lzma
-2021/07/17 | 98248 | systems/win32/miktex/tm/packages/miktex-texware-bin-2.9.tar.lzma
-2021/07/17 | 104866 | systems/win32/miktex/tm/packages/miktex-texware-bin-x64-2.9.tar.lzma
-2021/07/17 | 2673269 | systems/win32/miktex/tm/packages/miktex-texworks-bin-2.9.tar.lzma
-2021/07/17 | 2796870 | systems/win32/miktex/tm/packages/miktex-texworks-bin-x64-2.9.tar.lzma
-2021/07/17 | 56347 | systems/win32/miktex/tm/packages/miktex-ttf2pk2-bin-2.9.tar.lzma
-2021/07/17 | 62185 | systems/win32/miktex/tm/packages/miktex-ttf2pk2-bin-x64-2.9.tar.lzma
+2021/08/07 | 98187 | systems/win32/miktex/tm/packages/miktex-texware-bin-2.9.tar.lzma
+2021/08/07 | 104968 | systems/win32/miktex/tm/packages/miktex-texware-bin-x64-2.9.tar.lzma
+2021/08/07 | 2671585 | systems/win32/miktex/tm/packages/miktex-texworks-bin-2.9.tar.lzma
+2021/08/07 | 2797150 | systems/win32/miktex/tm/packages/miktex-texworks-bin-x64-2.9.tar.lzma
+2021/08/07 | 56456 | systems/win32/miktex/tm/packages/miktex-ttf2pk2-bin-2.9.tar.lzma
+2021/08/07 | 62233 | systems/win32/miktex/tm/packages/miktex-ttf2pk2-bin-x64-2.9.tar.lzma
2020/06/25 | 488938 | systems/win32/miktex/tm/packages/miktex-ucrt-bin.tar.lzma
2020/06/25 | 442560 | systems/win32/miktex/tm/packages/miktex-ucrt-bin-x64.tar.lzma
-2021/07/17 | 33550 | systems/win32/miktex/tm/packages/miktex-upmendex-bin.tar.lzma
-2021/07/17 | 37331 | systems/win32/miktex/tm/packages/miktex-upmendex-bin-x64.tar.lzma
-2021/07/17 | 27714 | systems/win32/miktex/tm/packages/miktex-uriparser-bin-2.9.tar.lzma
-2021/07/17 | 33625 | systems/win32/miktex/tm/packages/miktex-uriparser-bin-x64-2.9.tar.lzma
+2021/08/07 | 33396 | systems/win32/miktex/tm/packages/miktex-upmendex-bin.tar.lzma
+2021/08/07 | 37335 | systems/win32/miktex/tm/packages/miktex-upmendex-bin-x64.tar.lzma
+2021/08/07 | 27696 | systems/win32/miktex/tm/packages/miktex-uriparser-bin-2.9.tar.lzma
+2021/08/07 | 33615 | systems/win32/miktex/tm/packages/miktex-uriparser-bin-x64-2.9.tar.lzma
2015/10/12 | 2312969 | systems/win32/miktex/tm/packages/miktex-vc120-bin.tar.lzma
2015/10/12 | 2544479 | systems/win32/miktex/tm/packages/miktex-vc120-bin-x64.tar.lzma
2020/06/25 | 3230115 | systems/win32/miktex/tm/packages/miktex-vc140-bin.tar.lzma
2020/06/25 | 3064461 | systems/win32/miktex/tm/packages/miktex-vc140-bin-x64.tar.lzma
-2021/07/17 | 65508 | systems/win32/miktex/tm/packages/miktex-web-bin-2.9.tar.lzma
-2021/07/17 | 70738 | systems/win32/miktex/tm/packages/miktex-web-bin-x64-2.9.tar.lzma
+2021/08/07 | 65553 | systems/win32/miktex/tm/packages/miktex-web-bin-2.9.tar.lzma
+2021/08/07 | 70721 | systems/win32/miktex/tm/packages/miktex-web-bin-x64-2.9.tar.lzma
2016/04/19 | 634372 | systems/win32/miktex/tm/packages/miktex-xetex-base.tar.lzma
-2021/07/17 | 311743 | systems/win32/miktex/tm/packages/miktex-xetex-bin-2.9.tar.lzma
-2021/07/17 | 345984 | systems/win32/miktex/tm/packages/miktex-xetex-bin-x64-2.9.tar.lzma
+2021/08/07 | 311749 | systems/win32/miktex/tm/packages/miktex-xetex-bin-2.9.tar.lzma
+2021/08/07 | 345884 | systems/win32/miktex/tm/packages/miktex-xetex-bin-x64-2.9.tar.lzma
2016/11/05 | 2089 | systems/win32/miktex/tm/packages/miktex-xetex.tar.lzma
2015/06/27 | 136065 | systems/win32/miktex/tm/packages/miktex-xindy-base.tar.lzma
2015/06/19 | 1712962 | systems/win32/miktex/tm/packages/miktex-xindy-bin.tar.lzma
2015/06/19 | 1714958 | systems/win32/miktex/tm/packages/miktex-xindy-bin-x64.tar.lzma
2015/06/19 | 369481 | systems/win32/miktex/tm/packages/miktex-xindy-doc.tar.lzma
-2021/07/17 | 55485 | systems/win32/miktex/tm/packages/miktex-xml2pmx-bin.tar.lzma
-2021/07/17 | 57151 | systems/win32/miktex/tm/packages/miktex-xml2pmx-bin-x64.tar.lzma
-2021/07/17 | 590269 | systems/win32/miktex/tm/packages/miktex-yap-bin-2.9.tar.lzma
-2021/07/17 | 625132 | systems/win32/miktex/tm/packages/miktex-yap-bin-x64-2.9.tar.lzma
+2021/08/07 | 55460 | systems/win32/miktex/tm/packages/miktex-xml2pmx-bin.tar.lzma
+2021/08/07 | 57124 | systems/win32/miktex/tm/packages/miktex-xml2pmx-bin-x64.tar.lzma
+2021/08/07 | 590162 | systems/win32/miktex/tm/packages/miktex-yap-bin-2.9.tar.lzma
+2021/08/07 | 624826 | systems/win32/miktex/tm/packages/miktex-yap-bin-x64-2.9.tar.lzma
2018/01/12 | 138155 | systems/win32/miktex/tm/packages/miktex-zip-bin.tar.lzma
2018/01/12 | 157226 | systems/win32/miktex/tm/packages/miktex-zip-bin-x64.tar.lzma
-2021/07/17 | 39091 | systems/win32/miktex/tm/packages/miktex-zlib-bin-2.9.tar.lzma
-2021/07/17 | 43361 | systems/win32/miktex/tm/packages/miktex-zlib-bin-x64-2.9.tar.lzma
-2021/08/06 | 233191 | systems/win32/miktex/tm/packages/miktex-zzdb1-2.9.tar.lzma
-2021/08/06 | 1323080 | systems/win32/miktex/tm/packages/miktex-zzdb2-2.9.tar.lzma
-2021/08/06 | 1230005 | systems/win32/miktex/tm/packages/miktex-zzdb3-2.9.tar.lzma
-2021/07/17 | 13442 | systems/win32/miktex/tm/packages/miktex-zzip-bin-2.9.tar.lzma
-2021/07/17 | 14316 | systems/win32/miktex/tm/packages/miktex-zzip-bin-x64-2.9.tar.lzma
+2021/08/07 | 39000 | systems/win32/miktex/tm/packages/miktex-zlib-bin-2.9.tar.lzma
+2021/08/07 | 43393 | systems/win32/miktex/tm/packages/miktex-zlib-bin-x64-2.9.tar.lzma
+2021/08/07 | 233157 | systems/win32/miktex/tm/packages/miktex-zzdb1-2.9.tar.lzma
+2021/08/07 | 1322973 | systems/win32/miktex/tm/packages/miktex-zzdb2-2.9.tar.lzma
+2021/08/07 | 1229559 | systems/win32/miktex/tm/packages/miktex-zzdb3-2.9.tar.lzma
+2021/08/07 | 13446 | systems/win32/miktex/tm/packages/miktex-zzip-bin-2.9.tar.lzma
+2021/08/07 | 14327 | systems/win32/miktex/tm/packages/miktex-zzip-bin-x64-2.9.tar.lzma
2016/07/15 | 35914 | systems/win32/miktex/tm/packages/mil3.tar.lzma
2004/11/11 | 10497 | systems/win32/miktex/tm/packages/miller.cab
2016/07/06 | 405919 | systems/win32/miktex/tm/packages/milog.tar.lzma
@@ -285678,189 +285684,189 @@
2018/04/09 | 400132 | systems/win32/miktex/tm/packages/newunicodechar.tar.lzma
2011/09/19 | 101312 | systems/win32/miktex/tm/packages/newvbtm.tar.lzma
2021/03/17 | 232249 | systems/win32/miktex/tm/packages/newverbs.tar.lzma
-2021/08/06 | 590772 | systems/win32/miktex/tm/packages/next/files.csv.lzma
-2021/08/06 | 51112 | systems/win32/miktex/tm/packages/next/miktex-arctrl-bin-2.9.tar.lzma
-2021/08/06 | 56475 | systems/win32/miktex/tm/packages/next/miktex-arctrl-bin-x64-2.9.tar.lzma
-2021/08/06 | 975019 | systems/win32/miktex/tm/packages/next/miktex-asymptote-bin-2.9.tar.lzma
-2021/08/06 | 1077990 | systems/win32/miktex/tm/packages/next/miktex-asymptote-bin-x64-2.9.tar.lzma
-2021/08/06 | 29037 | systems/win32/miktex/tm/packages/next/miktex-autosp-bin-2.9.tar.lzma
-2021/08/06 | 31352 | systems/win32/miktex/tm/packages/next/miktex-autosp-bin-x64-2.9.tar.lzma
-2021/08/06 | 29841 | systems/win32/miktex/tm/packages/next/miktex-axohelp-bin-2.9.tar.lzma
-2021/08/06 | 34664 | systems/win32/miktex/tm/packages/next/miktex-axohelp-bin-x64-2.9.tar.lzma
-2021/08/06 | 50152 | systems/win32/miktex/tm/packages/next/miktex-bibarts-bin-2.9.tar.lzma
-2021/08/06 | 57548 | systems/win32/miktex/tm/packages/next/miktex-bibarts-bin-x64-2.9.tar.lzma
-2021/08/06 | 83542 | systems/win32/miktex/tm/packages/next/miktex-bibtex8bit-bin-2.9.tar.lzma
-2021/08/06 | 95401 | systems/win32/miktex/tm/packages/next/miktex-bibtex8bit-bin-x64-2.9.tar.lzma
-2021/08/06 | 67820 | systems/win32/miktex/tm/packages/next/miktex-bibtex-bin-2.9.tar.lzma
-2021/08/06 | 75792 | systems/win32/miktex/tm/packages/next/miktex-bibtex-bin-x64-2.9.tar.lzma
-2021/08/06 | 27199 | systems/win32/miktex/tm/packages/next/miktex-bzip2-bin-2.9.tar.lzma
-2021/08/06 | 30824 | systems/win32/miktex/tm/packages/next/miktex-bzip2-bin-x64-2.9.tar.lzma
-2021/08/06 | 330787 | systems/win32/miktex/tm/packages/next/miktex-cairo-bin-2.9.tar.lzma
-2021/08/06 | 392794 | systems/win32/miktex/tm/packages/next/miktex-cairo-bin-x64-2.9.tar.lzma
-2021/08/06 | 32674 | systems/win32/miktex/tm/packages/next/miktex-chktex-bin-2.9.tar.lzma
-2021/08/06 | 36628 | systems/win32/miktex/tm/packages/next/miktex-chktex-bin-x64-2.9.tar.lzma
-2021/08/06 | 51309 | systems/win32/miktex/tm/packages/next/miktex-cjkutils-bin-2.9.tar.lzma
-2021/08/06 | 56686 | systems/win32/miktex/tm/packages/next/miktex-cjkutils-bin-x64-2.9.tar.lzma
-2021/08/06 | 241812 | systems/win32/miktex/tm/packages/next/miktex-console-bin-2.9.tar.lzma
-2021/08/06 | 263959 | systems/win32/miktex/tm/packages/next/miktex-console-bin-x64-2.9.tar.lzma
-2021/08/06 | 180009 | systems/win32/miktex/tm/packages/next/miktex-curl-bin-2.9.tar.lzma
-2021/08/06 | 195635 | systems/win32/miktex/tm/packages/next/miktex-curl-bin-x64-2.9.tar.lzma
-2021/08/06 | 54632 | systems/win32/miktex/tm/packages/next/miktex-cweb-bin-2.9.tar.lzma
-2021/08/06 | 61813 | systems/win32/miktex/tm/packages/next/miktex-cweb-bin-x64-2.9.tar.lzma
-2021/08/06 | 21225 | systems/win32/miktex/tm/packages/next/miktex-devnag-bin-2.9.tar.lzma
-2021/08/06 | 23364 | systems/win32/miktex/tm/packages/next/miktex-devnag-bin-x64-2.9.tar.lzma
-2021/08/06 | 461813 | systems/win32/miktex/tm/packages/next/miktex-doc.tar.lzma
-2021/08/06 | 45905 | systems/win32/miktex/tm/packages/next/miktex-dvicopy-bin-2.9.tar.lzma
-2021/08/06 | 51201 | systems/win32/miktex/tm/packages/next/miktex-dvicopy-bin-x64-2.9.tar.lzma
-2021/08/06 | 284580 | systems/win32/miktex/tm/packages/next/miktex-dvipdfmx-bin-2.9.tar.lzma
-2021/08/06 | 325043 | systems/win32/miktex/tm/packages/next/miktex-dvipdfmx-bin-x64-2.9.tar.lzma
-2021/08/06 | 41193 | systems/win32/miktex/tm/packages/next/miktex-dvipng-bin-2.9.tar.lzma
-2021/08/06 | 45311 | systems/win32/miktex/tm/packages/next/miktex-dvipng-bin-x64-2.9.tar.lzma
-2021/08/06 | 119822 | systems/win32/miktex/tm/packages/next/miktex-dvips-bin-2.9.tar.lzma
-2021/08/06 | 133864 | systems/win32/miktex/tm/packages/next/miktex-dvips-bin-x64-2.9.tar.lzma
-2021/08/06 | 1291299 | systems/win32/miktex/tm/packages/next/miktex-dvisvgm-bin-2.9.tar.lzma
-2021/08/06 | 1421868 | systems/win32/miktex/tm/packages/next/miktex-dvisvgm-bin-x64-2.9.tar.lzma
-2021/08/06 | 100623 | systems/win32/miktex/tm/packages/next/miktex-epstopdf-bin-2.9.tar.lzma
-2021/08/06 | 112983 | systems/win32/miktex/tm/packages/next/miktex-epstopdf-bin-x64-2.9.tar.lzma
-2021/08/06 | 43029 | systems/win32/miktex/tm/packages/next/miktex-expat-bin-2.9.tar.lzma
-2021/08/06 | 48253 | systems/win32/miktex/tm/packages/next/miktex-expat-bin-x64-2.9.tar.lzma
-2021/08/06 | 25020 | systems/win32/miktex/tm/packages/next/miktex-findtexmf-bin-2.9.tar.lzma
-2021/08/06 | 28180 | systems/win32/miktex/tm/packages/next/miktex-findtexmf-bin-x64-2.9.tar.lzma
-2021/08/06 | 56317 | systems/win32/miktex/tm/packages/next/miktex-fmt-bin-2.9.tar.lzma
-2021/08/06 | 62786 | systems/win32/miktex/tm/packages/next/miktex-fmt-bin-x64-2.9.tar.lzma
-2021/08/06 | 136818 | systems/win32/miktex/tm/packages/next/miktex-fontconfig-bin-2.9.tar.lzma
-2021/08/06 | 154426 | systems/win32/miktex/tm/packages/next/miktex-fontconfig-bin-x64-2.9.tar.lzma
-2021/08/06 | 73196 | systems/win32/miktex/tm/packages/next/miktex-fonts-bin-2.9.tar.lzma
-2021/08/06 | 77951 | systems/win32/miktex/tm/packages/next/miktex-fonts-bin-x64-2.9.tar.lzma
-2021/08/06 | 71669 | systems/win32/miktex/tm/packages/next/miktex-freeglut-bin-2.9.tar.lzma
-2021/08/06 | 80448 | systems/win32/miktex/tm/packages/next/miktex-freeglut-bin-x64-2.9.tar.lzma
-2021/08/06 | 258881 | systems/win32/miktex/tm/packages/next/miktex-freetype2-bin-2.9.tar.lzma
-2021/08/06 | 295206 | systems/win32/miktex/tm/packages/next/miktex-freetype2-bin-x64-2.9.tar.lzma
-2021/08/06 | 22049 | systems/win32/miktex/tm/packages/next/miktex-fribidixetex-bin-2.9.tar.lzma
-2021/08/06 | 24995 | systems/win32/miktex/tm/packages/next/miktex-fribidixetex-bin-x64-2.9.tar.lzma
-2021/08/06 | 97339 | systems/win32/miktex/tm/packages/next/miktex-gd-bin-2.9.tar.lzma
-2021/08/06 | 112086 | systems/win32/miktex/tm/packages/next/miktex-gd-bin-x64-2.9.tar.lzma
-2021/08/06 | 64426 | systems/win32/miktex/tm/packages/next/miktex-graphite2-bin-2.9.tar.lzma
-2021/08/06 | 73147 | systems/win32/miktex/tm/packages/next/miktex-graphite2-bin-x64-2.9.tar.lzma
-2021/08/06 | 96631 | systems/win32/miktex/tm/packages/next/miktex-gregorio-bin-2.9.tar.lzma
-2021/08/06 | 115350 | systems/win32/miktex/tm/packages/next/miktex-gregorio-bin-x64-2.9.tar.lzma
-2021/08/06 | 38141 | systems/win32/miktex/tm/packages/next/miktex-gsf2pk-bin-2.9.tar.lzma
-2021/08/06 | 43003 | systems/win32/miktex/tm/packages/next/miktex-gsf2pk-bin-x64-2.9.tar.lzma
-2021/08/06 | 483653 | systems/win32/miktex/tm/packages/next/miktex-harfbuzz-bin-2.9.tar.lzma
-2021/08/06 | 566528 | systems/win32/miktex/tm/packages/next/miktex-harfbuzz-bin-x64-2.9.tar.lzma
-2021/08/06 | 147373 | systems/win32/miktex/tm/packages/next/miktex-hunspell-bin-2.9.tar.lzma
-2021/08/06 | 159579 | systems/win32/miktex/tm/packages/next/miktex-hunspell-bin-x64-2.9.tar.lzma
-2021/08/06 | 94798 | systems/win32/miktex/tm/packages/next/miktex-jpeg-bin-2.9.tar.lzma
-2021/08/06 | 109030 | systems/win32/miktex/tm/packages/next/miktex-jpeg-bin-x64-2.9.tar.lzma
-2021/08/06 | 16356 | systems/win32/miktex/tm/packages/next/miktex-kpathsea-bin-2.9.tar.lzma
-2021/08/06 | 17980 | systems/win32/miktex/tm/packages/next/miktex-kpathsea-bin-x64-2.9.tar.lzma
-2021/08/06 | 28390 | systems/win32/miktex/tm/packages/next/miktex-lacheck-bin-2.9.tar.lzma
-2021/08/06 | 30057 | systems/win32/miktex/tm/packages/next/miktex-lacheck-bin-x64-2.9.tar.lzma
-2021/08/06 | 629400 | systems/win32/miktex/tm/packages/next/miktex-lcdf-typetools-bin-2.9.tar.lzma
-2021/08/06 | 681254 | systems/win32/miktex/tm/packages/next/miktex-lcdf-typetools-bin-x64-2.9.tar.lzma
-2021/08/06 | 531849 | systems/win32/miktex/tm/packages/next/miktex-libressl-bin-2.9.tar.lzma
-2021/08/06 | 596929 | systems/win32/miktex/tm/packages/next/miktex-libressl-bin-x64-2.9.tar.lzma
-2021/08/06 | 476918 | systems/win32/miktex/tm/packages/next/miktex-log4cxx-bin-2.9.tar.lzma
-2021/08/06 | 510586 | systems/win32/miktex/tm/packages/next/miktex-log4cxx-bin-x64-2.9.tar.lzma
-2021/08/06 | 94308 | systems/win32/miktex/tm/packages/next/miktex-lua53-bin-2.9.tar.lzma
-2021/08/06 | 103399 | systems/win32/miktex/tm/packages/next/miktex-lua53-bin-x64-2.9.tar.lzma
-2021/08/06 | 1713894 | systems/win32/miktex/tm/packages/next/miktex-luatex-bin-2.9.tar.lzma
-2021/08/06 | 2009905 | systems/win32/miktex/tm/packages/next/miktex-luatex-bin-x64-2.9.tar.lzma
-2021/08/06 | 67619 | systems/win32/miktex/tm/packages/next/miktex-lzma-bin-2.9.tar.lzma
-2021/08/06 | 74211 | systems/win32/miktex/tm/packages/next/miktex-lzma-bin-x64-2.9.tar.lzma
-2021/08/06 | 27358 | systems/win32/miktex/tm/packages/next/miktex-makeindex-bin-2.9.tar.lzma
-2021/08/06 | 31620 | systems/win32/miktex/tm/packages/next/miktex-makeindex-bin-x64-2.9.tar.lzma
-2021/08/06 | 7721 | systems/win32/miktex/tm/packages/next/miktex-md5-bin-2.9.tar.lzma
-2021/08/06 | 8768 | systems/win32/miktex/tm/packages/next/miktex-md5-bin-x64-2.9.tar.lzma
-2021/08/06 | 196873 | systems/win32/miktex/tm/packages/next/miktex-metafont-bin-2.9.tar.lzma
-2021/08/06 | 215249 | systems/win32/miktex/tm/packages/next/miktex-metafont-bin-x64-2.9.tar.lzma
-2021/08/06 | 250265 | systems/win32/miktex/tm/packages/next/miktex-metapost-bin-2.9.tar.lzma
-2021/08/06 | 284025 | systems/win32/miktex/tm/packages/next/miktex-metapost-bin-x64-2.9.tar.lzma
-2021/08/06 | 98380 | systems/win32/miktex/tm/packages/next/miktex-mfware-bin-2.9.tar.lzma
-2021/08/06 | 103203 | systems/win32/miktex/tm/packages/next/miktex-mfware-bin-x64-2.9.tar.lzma
-2021/08/06 | 60637 | systems/win32/miktex/tm/packages/next/miktex-mkfntmap-bin-2.9.tar.lzma
-2021/08/06 | 68024 | systems/win32/miktex/tm/packages/next/miktex-mkfntmap-bin-x64-2.9.tar.lzma
-2021/08/06 | 124282 | systems/win32/miktex/tm/packages/next/miktex-mktex-bin-2.9.tar.lzma
-2021/08/06 | 136821 | systems/win32/miktex/tm/packages/next/miktex-mktex-bin-x64-2.9.tar.lzma
-2021/08/06 | 178353 | systems/win32/miktex/tm/packages/next/miktex-mo-bin-2.9.tar.lzma
-2021/08/06 | 196740 | systems/win32/miktex/tm/packages/next/miktex-mo-bin-x64-2.9.tar.lzma
-2021/08/06 | 199732 | systems/win32/miktex/tm/packages/next/miktex-mpfr-bin-2.9.tar.lzma
-2021/08/06 | 180120 | systems/win32/miktex/tm/packages/next/miktex-mpfr-bin-x64-2.9.tar.lzma
-2021/08/06 | 67481 | systems/win32/miktex/tm/packages/next/miktex-mpmcli-bin-2.9.tar.lzma
-2021/08/06 | 76826 | systems/win32/miktex/tm/packages/next/miktex-mpmcli-bin-x64-2.9.tar.lzma
-2021/08/06 | 31231 | systems/win32/miktex/tm/packages/next/miktex-mspack-bin-2.9.tar.lzma
-2021/08/06 | 35087 | systems/win32/miktex/tm/packages/next/miktex-mspack-bin-x64-2.9.tar.lzma
-2021/08/06 | 37806 | systems/win32/miktex/tm/packages/next/miktex-mthelp-bin-2.9.tar.lzma
-2021/08/06 | 42711 | systems/win32/miktex/tm/packages/next/miktex-mthelp-bin-x64-2.9.tar.lzma
-2021/08/06 | 42891 | systems/win32/miktex/tm/packages/next/miktex-mtprint-bin-2.9.tar.lzma
-2021/08/06 | 46906 | systems/win32/miktex/tm/packages/next/miktex-mtprint-bin-x64-2.9.tar.lzma
-2021/08/06 | 45970 | systems/win32/miktex/tm/packages/next/miktex-m-tx-bin-2.9.tar.lzma
-2021/08/06 | 52523 | systems/win32/miktex/tm/packages/next/miktex-m-tx-bin-x64-2.9.tar.lzma
-2021/08/06 | 194382 | systems/win32/miktex/tm/packages/next/miktex-omegaware-bin-2.9.tar.lzma
-2021/08/06 | 206604 | systems/win32/miktex/tm/packages/next/miktex-omegaware-bin-x64-2.9.tar.lzma
-2021/08/06 | 35692 | systems/win32/miktex/tm/packages/next/miktex-patgen-bin.tar.lzma
-2021/08/06 | 40229 | systems/win32/miktex/tm/packages/next/miktex-patgen-bin-x64.tar.lzma
-2021/08/06 | 744116 | systems/win32/miktex/tm/packages/next/miktex-pdftex-bin-2.9.tar.lzma
-2021/08/06 | 815242 | systems/win32/miktex/tm/packages/next/miktex-pdftex-bin-x64-2.9.tar.lzma
-2021/08/06 | 198170 | systems/win32/miktex/tm/packages/next/miktex-pixman-bin-2.9.tar.lzma
-2021/08/06 | 202796 | systems/win32/miktex/tm/packages/next/miktex-pixman-bin-x64-2.9.tar.lzma
-2021/08/06 | 208049 | systems/win32/miktex/tm/packages/next/miktex-pmx-bin-2.9.tar.lzma
-2021/08/06 | 243426 | systems/win32/miktex/tm/packages/next/miktex-pmx-bin-x64-2.9.tar.lzma
-2021/08/06 | 78775 | systems/win32/miktex/tm/packages/next/miktex-png-bin-2.9.tar.lzma
-2021/08/06 | 87777 | systems/win32/miktex/tm/packages/next/miktex-png-bin-x64-2.9.tar.lzma
-2021/08/06 | 1169716 | systems/win32/miktex/tm/packages/next/miktex-poppler-bin-2.9.tar.lzma
-2021/08/06 | 1301193 | systems/win32/miktex/tm/packages/next/miktex-poppler-bin-x64-2.9.tar.lzma
-2021/08/06 | 20137 | systems/win32/miktex/tm/packages/next/miktex-popt-bin-2.9.tar.lzma
-2021/08/06 | 23902 | systems/win32/miktex/tm/packages/next/miktex-popt-bin-x64-2.9.tar.lzma
-2021/08/06 | 31536 | systems/win32/miktex/tm/packages/next/miktex-posix-bin-2.9.tar.lzma
-2021/08/06 | 37242 | systems/win32/miktex/tm/packages/next/miktex-posix-bin-x64-2.9.tar.lzma
-2021/08/06 | 64185 | systems/win32/miktex/tm/packages/next/miktex-ps2pk-bin-2.9.tar.lzma
-2021/08/06 | 72206 | systems/win32/miktex/tm/packages/next/miktex-ps2pk-bin-x64-2.9.tar.lzma
-2021/08/06 | 50395 | systems/win32/miktex/tm/packages/next/miktex-psutils-bin-2.9.tar.lzma
-2021/08/06 | 57729 | systems/win32/miktex/tm/packages/next/miktex-psutils-bin-x64-2.9.tar.lzma
-2021/08/06 | 1340931 | systems/win32/miktex/tm/packages/next/miktex-runtime-bin-2.9.tar.lzma
-2021/08/06 | 1464204 | systems/win32/miktex/tm/packages/next/miktex-runtime-bin-x64-2.9.tar.lzma
-2021/08/06 | 42385 | systems/win32/miktex/tm/packages/next/miktex-synctex-bin-2.9.tar.lzma
-2021/08/06 | 51750 | systems/win32/miktex/tm/packages/next/miktex-synctex-bin-x64-2.9.tar.lzma
-2021/08/06 | 56513 | systems/win32/miktex/tm/packages/next/miktex-tdsutil-bin.tar.lzma
-2021/08/06 | 60039 | systems/win32/miktex/tm/packages/next/miktex-tdsutil-bin-x64.tar.lzma
-2021/08/06 | 25291 | systems/win32/miktex/tm/packages/next/miktex-teckit-bin-2.9.tar.lzma
-2021/08/06 | 27388 | systems/win32/miktex/tm/packages/next/miktex-teckit-bin-x64-2.9.tar.lzma
-2021/08/06 | 16413 | systems/win32/miktex/tm/packages/next/miktex-tex2xindy-bin-2.9.tar.lzma
-2021/08/06 | 18175 | systems/win32/miktex/tm/packages/next/miktex-tex2xindy-bin-x64-2.9.tar.lzma
-2021/08/06 | 63777 | systems/win32/miktex/tm/packages/next/miktex-tex4ht-bin-2.9.tar.lzma
-2021/08/06 | 69914 | systems/win32/miktex/tm/packages/next/miktex-tex4ht-bin-x64-2.9.tar.lzma
-2021/08/06 | 154806 | systems/win32/miktex/tm/packages/next/miktex-tex-bin-2.9.tar.lzma
-2021/08/06 | 169242 | systems/win32/miktex/tm/packages/next/miktex-tex-bin-x64-2.9.tar.lzma
-2021/08/06 | 57013 | systems/win32/miktex/tm/packages/next/miktex-texify-bin-2.9.tar.lzma
-2021/08/06 | 65786 | systems/win32/miktex/tm/packages/next/miktex-texify-bin-x64-2.9.tar.lzma
-2021/08/06 | 98263 | systems/win32/miktex/tm/packages/next/miktex-texware-bin-2.9.tar.lzma
-2021/08/06 | 105220 | systems/win32/miktex/tm/packages/next/miktex-texware-bin-x64-2.9.tar.lzma
-2021/08/06 | 2672607 | systems/win32/miktex/tm/packages/next/miktex-texworks-bin-2.9.tar.lzma
-2021/08/06 | 2796726 | systems/win32/miktex/tm/packages/next/miktex-texworks-bin-x64-2.9.tar.lzma
-2021/08/06 | 56357 | systems/win32/miktex/tm/packages/next/miktex-ttf2pk2-bin-2.9.tar.lzma
-2021/08/06 | 62229 | systems/win32/miktex/tm/packages/next/miktex-ttf2pk2-bin-x64-2.9.tar.lzma
-2021/08/06 | 33545 | systems/win32/miktex/tm/packages/next/miktex-upmendex-bin.tar.lzma
-2021/08/06 | 37359 | systems/win32/miktex/tm/packages/next/miktex-upmendex-bin-x64.tar.lzma
-2021/08/06 | 27728 | systems/win32/miktex/tm/packages/next/miktex-uriparser-bin-2.9.tar.lzma
-2021/08/06 | 33633 | systems/win32/miktex/tm/packages/next/miktex-uriparser-bin-x64-2.9.tar.lzma
-2021/08/06 | 65620 | systems/win32/miktex/tm/packages/next/miktex-web-bin-2.9.tar.lzma
-2021/08/06 | 70648 | systems/win32/miktex/tm/packages/next/miktex-web-bin-x64-2.9.tar.lzma
-2021/08/06 | 312108 | systems/win32/miktex/tm/packages/next/miktex-xetex-bin-2.9.tar.lzma
-2021/08/06 | 345738 | systems/win32/miktex/tm/packages/next/miktex-xetex-bin-x64-2.9.tar.lzma
-2021/08/06 | 55499 | systems/win32/miktex/tm/packages/next/miktex-xml2pmx-bin.tar.lzma
-2021/08/06 | 57139 | systems/win32/miktex/tm/packages/next/miktex-xml2pmx-bin-x64.tar.lzma
-2021/08/06 | 589841 | systems/win32/miktex/tm/packages/next/miktex-yap-bin-2.9.tar.lzma
-2021/08/06 | 624652 | systems/win32/miktex/tm/packages/next/miktex-yap-bin-x64-2.9.tar.lzma
-2021/08/06 | 39128 | systems/win32/miktex/tm/packages/next/miktex-zlib-bin-2.9.tar.lzma
-2021/08/06 | 43426 | systems/win32/miktex/tm/packages/next/miktex-zlib-bin-x64-2.9.tar.lzma
-2021/08/06 | 233198 | systems/win32/miktex/tm/packages/next/miktex-zzdb1-2.9.tar.lzma
-2021/08/06 | 1323201 | systems/win32/miktex/tm/packages/next/miktex-zzdb2-2.9.tar.lzma
-2021/08/06 | 1230160 | systems/win32/miktex/tm/packages/next/miktex-zzdb3-2.9.tar.lzma
-2021/08/06 | 13465 | systems/win32/miktex/tm/packages/next/miktex-zzip-bin-2.9.tar.lzma
-2021/08/06 | 14348 | systems/win32/miktex/tm/packages/next/miktex-zzip-bin-x64-2.9.tar.lzma
+2021/08/07 | 590772 | systems/win32/miktex/tm/packages/next/files.csv.lzma
+2021/08/07 | 51111 | systems/win32/miktex/tm/packages/next/miktex-arctrl-bin-2.9.tar.lzma
+2021/08/07 | 56476 | systems/win32/miktex/tm/packages/next/miktex-arctrl-bin-x64-2.9.tar.lzma
+2021/08/07 | 975022 | systems/win32/miktex/tm/packages/next/miktex-asymptote-bin-2.9.tar.lzma
+2021/08/07 | 1077990 | systems/win32/miktex/tm/packages/next/miktex-asymptote-bin-x64-2.9.tar.lzma
+2021/08/07 | 29035 | systems/win32/miktex/tm/packages/next/miktex-autosp-bin-2.9.tar.lzma
+2021/08/07 | 31350 | systems/win32/miktex/tm/packages/next/miktex-autosp-bin-x64-2.9.tar.lzma
+2021/08/07 | 29841 | systems/win32/miktex/tm/packages/next/miktex-axohelp-bin-2.9.tar.lzma
+2021/08/07 | 34665 | systems/win32/miktex/tm/packages/next/miktex-axohelp-bin-x64-2.9.tar.lzma
+2021/08/07 | 50153 | systems/win32/miktex/tm/packages/next/miktex-bibarts-bin-2.9.tar.lzma
+2021/08/07 | 57548 | systems/win32/miktex/tm/packages/next/miktex-bibarts-bin-x64-2.9.tar.lzma
+2021/08/07 | 83541 | systems/win32/miktex/tm/packages/next/miktex-bibtex8bit-bin-2.9.tar.lzma
+2021/08/07 | 95402 | systems/win32/miktex/tm/packages/next/miktex-bibtex8bit-bin-x64-2.9.tar.lzma
+2021/08/07 | 67819 | systems/win32/miktex/tm/packages/next/miktex-bibtex-bin-2.9.tar.lzma
+2021/08/07 | 75792 | systems/win32/miktex/tm/packages/next/miktex-bibtex-bin-x64-2.9.tar.lzma
+2021/08/07 | 27198 | systems/win32/miktex/tm/packages/next/miktex-bzip2-bin-2.9.tar.lzma
+2021/08/07 | 30824 | systems/win32/miktex/tm/packages/next/miktex-bzip2-bin-x64-2.9.tar.lzma
+2021/08/07 | 330788 | systems/win32/miktex/tm/packages/next/miktex-cairo-bin-2.9.tar.lzma
+2021/08/07 | 392792 | systems/win32/miktex/tm/packages/next/miktex-cairo-bin-x64-2.9.tar.lzma
+2021/08/07 | 32673 | systems/win32/miktex/tm/packages/next/miktex-chktex-bin-2.9.tar.lzma
+2021/08/07 | 36628 | systems/win32/miktex/tm/packages/next/miktex-chktex-bin-x64-2.9.tar.lzma
+2021/08/07 | 51309 | systems/win32/miktex/tm/packages/next/miktex-cjkutils-bin-2.9.tar.lzma
+2021/08/07 | 56684 | systems/win32/miktex/tm/packages/next/miktex-cjkutils-bin-x64-2.9.tar.lzma
+2021/08/07 | 241811 | systems/win32/miktex/tm/packages/next/miktex-console-bin-2.9.tar.lzma
+2021/08/07 | 263959 | systems/win32/miktex/tm/packages/next/miktex-console-bin-x64-2.9.tar.lzma
+2021/08/07 | 180013 | systems/win32/miktex/tm/packages/next/miktex-curl-bin-2.9.tar.lzma
+2021/08/07 | 195636 | systems/win32/miktex/tm/packages/next/miktex-curl-bin-x64-2.9.tar.lzma
+2021/08/07 | 54631 | systems/win32/miktex/tm/packages/next/miktex-cweb-bin-2.9.tar.lzma
+2021/08/07 | 61813 | systems/win32/miktex/tm/packages/next/miktex-cweb-bin-x64-2.9.tar.lzma
+2021/08/07 | 21224 | systems/win32/miktex/tm/packages/next/miktex-devnag-bin-2.9.tar.lzma
+2021/08/07 | 23364 | systems/win32/miktex/tm/packages/next/miktex-devnag-bin-x64-2.9.tar.lzma
+2021/08/07 | 461812 | systems/win32/miktex/tm/packages/next/miktex-doc.tar.lzma
+2021/08/07 | 45904 | systems/win32/miktex/tm/packages/next/miktex-dvicopy-bin-2.9.tar.lzma
+2021/08/07 | 51201 | systems/win32/miktex/tm/packages/next/miktex-dvicopy-bin-x64-2.9.tar.lzma
+2021/08/07 | 284580 | systems/win32/miktex/tm/packages/next/miktex-dvipdfmx-bin-2.9.tar.lzma
+2021/08/07 | 325043 | systems/win32/miktex/tm/packages/next/miktex-dvipdfmx-bin-x64-2.9.tar.lzma
+2021/08/07 | 41193 | systems/win32/miktex/tm/packages/next/miktex-dvipng-bin-2.9.tar.lzma
+2021/08/07 | 45310 | systems/win32/miktex/tm/packages/next/miktex-dvipng-bin-x64-2.9.tar.lzma
+2021/08/07 | 119820 | systems/win32/miktex/tm/packages/next/miktex-dvips-bin-2.9.tar.lzma
+2021/08/07 | 133863 | systems/win32/miktex/tm/packages/next/miktex-dvips-bin-x64-2.9.tar.lzma
+2021/08/07 | 1291299 | systems/win32/miktex/tm/packages/next/miktex-dvisvgm-bin-2.9.tar.lzma
+2021/08/07 | 1421868 | systems/win32/miktex/tm/packages/next/miktex-dvisvgm-bin-x64-2.9.tar.lzma
+2021/08/07 | 100625 | systems/win32/miktex/tm/packages/next/miktex-epstopdf-bin-2.9.tar.lzma
+2021/08/07 | 112983 | systems/win32/miktex/tm/packages/next/miktex-epstopdf-bin-x64-2.9.tar.lzma
+2021/08/07 | 43028 | systems/win32/miktex/tm/packages/next/miktex-expat-bin-2.9.tar.lzma
+2021/08/07 | 48253 | systems/win32/miktex/tm/packages/next/miktex-expat-bin-x64-2.9.tar.lzma
+2021/08/07 | 25020 | systems/win32/miktex/tm/packages/next/miktex-findtexmf-bin-2.9.tar.lzma
+2021/08/07 | 28180 | systems/win32/miktex/tm/packages/next/miktex-findtexmf-bin-x64-2.9.tar.lzma
+2021/08/07 | 56317 | systems/win32/miktex/tm/packages/next/miktex-fmt-bin-2.9.tar.lzma
+2021/08/07 | 62786 | systems/win32/miktex/tm/packages/next/miktex-fmt-bin-x64-2.9.tar.lzma
+2021/08/07 | 136817 | systems/win32/miktex/tm/packages/next/miktex-fontconfig-bin-2.9.tar.lzma
+2021/08/07 | 154425 | systems/win32/miktex/tm/packages/next/miktex-fontconfig-bin-x64-2.9.tar.lzma
+2021/08/07 | 73196 | systems/win32/miktex/tm/packages/next/miktex-fonts-bin-2.9.tar.lzma
+2021/08/07 | 77951 | systems/win32/miktex/tm/packages/next/miktex-fonts-bin-x64-2.9.tar.lzma
+2021/08/07 | 71669 | systems/win32/miktex/tm/packages/next/miktex-freeglut-bin-2.9.tar.lzma
+2021/08/07 | 80448 | systems/win32/miktex/tm/packages/next/miktex-freeglut-bin-x64-2.9.tar.lzma
+2021/08/07 | 258880 | systems/win32/miktex/tm/packages/next/miktex-freetype2-bin-2.9.tar.lzma
+2021/08/07 | 295204 | systems/win32/miktex/tm/packages/next/miktex-freetype2-bin-x64-2.9.tar.lzma
+2021/08/07 | 22049 | systems/win32/miktex/tm/packages/next/miktex-fribidixetex-bin-2.9.tar.lzma
+2021/08/07 | 24995 | systems/win32/miktex/tm/packages/next/miktex-fribidixetex-bin-x64-2.9.tar.lzma
+2021/08/07 | 97339 | systems/win32/miktex/tm/packages/next/miktex-gd-bin-2.9.tar.lzma
+2021/08/07 | 112087 | systems/win32/miktex/tm/packages/next/miktex-gd-bin-x64-2.9.tar.lzma
+2021/08/07 | 64427 | systems/win32/miktex/tm/packages/next/miktex-graphite2-bin-2.9.tar.lzma
+2021/08/07 | 73147 | systems/win32/miktex/tm/packages/next/miktex-graphite2-bin-x64-2.9.tar.lzma
+2021/08/07 | 96633 | systems/win32/miktex/tm/packages/next/miktex-gregorio-bin-2.9.tar.lzma
+2021/08/07 | 115351 | systems/win32/miktex/tm/packages/next/miktex-gregorio-bin-x64-2.9.tar.lzma
+2021/08/07 | 38139 | systems/win32/miktex/tm/packages/next/miktex-gsf2pk-bin-2.9.tar.lzma
+2021/08/07 | 43002 | systems/win32/miktex/tm/packages/next/miktex-gsf2pk-bin-x64-2.9.tar.lzma
+2021/08/07 | 483655 | systems/win32/miktex/tm/packages/next/miktex-harfbuzz-bin-2.9.tar.lzma
+2021/08/07 | 566528 | systems/win32/miktex/tm/packages/next/miktex-harfbuzz-bin-x64-2.9.tar.lzma
+2021/08/07 | 147372 | systems/win32/miktex/tm/packages/next/miktex-hunspell-bin-2.9.tar.lzma
+2021/08/07 | 159580 | systems/win32/miktex/tm/packages/next/miktex-hunspell-bin-x64-2.9.tar.lzma
+2021/08/07 | 94799 | systems/win32/miktex/tm/packages/next/miktex-jpeg-bin-2.9.tar.lzma
+2021/08/07 | 109030 | systems/win32/miktex/tm/packages/next/miktex-jpeg-bin-x64-2.9.tar.lzma
+2021/08/07 | 16357 | systems/win32/miktex/tm/packages/next/miktex-kpathsea-bin-2.9.tar.lzma
+2021/08/07 | 17981 | systems/win32/miktex/tm/packages/next/miktex-kpathsea-bin-x64-2.9.tar.lzma
+2021/08/07 | 28391 | systems/win32/miktex/tm/packages/next/miktex-lacheck-bin-2.9.tar.lzma
+2021/08/07 | 30058 | systems/win32/miktex/tm/packages/next/miktex-lacheck-bin-x64-2.9.tar.lzma
+2021/08/07 | 629400 | systems/win32/miktex/tm/packages/next/miktex-lcdf-typetools-bin-2.9.tar.lzma
+2021/08/07 | 681249 | systems/win32/miktex/tm/packages/next/miktex-lcdf-typetools-bin-x64-2.9.tar.lzma
+2021/08/07 | 531852 | systems/win32/miktex/tm/packages/next/miktex-libressl-bin-2.9.tar.lzma
+2021/08/07 | 596931 | systems/win32/miktex/tm/packages/next/miktex-libressl-bin-x64-2.9.tar.lzma
+2021/08/07 | 476919 | systems/win32/miktex/tm/packages/next/miktex-log4cxx-bin-2.9.tar.lzma
+2021/08/07 | 510588 | systems/win32/miktex/tm/packages/next/miktex-log4cxx-bin-x64-2.9.tar.lzma
+2021/08/07 | 94311 | systems/win32/miktex/tm/packages/next/miktex-lua53-bin-2.9.tar.lzma
+2021/08/07 | 103399 | systems/win32/miktex/tm/packages/next/miktex-lua53-bin-x64-2.9.tar.lzma
+2021/08/07 | 1713894 | systems/win32/miktex/tm/packages/next/miktex-luatex-bin-2.9.tar.lzma
+2021/08/07 | 2009904 | systems/win32/miktex/tm/packages/next/miktex-luatex-bin-x64-2.9.tar.lzma
+2021/08/07 | 67618 | systems/win32/miktex/tm/packages/next/miktex-lzma-bin-2.9.tar.lzma
+2021/08/07 | 74211 | systems/win32/miktex/tm/packages/next/miktex-lzma-bin-x64-2.9.tar.lzma
+2021/08/07 | 27357 | systems/win32/miktex/tm/packages/next/miktex-makeindex-bin-2.9.tar.lzma
+2021/08/07 | 31620 | systems/win32/miktex/tm/packages/next/miktex-makeindex-bin-x64-2.9.tar.lzma
+2021/08/07 | 7722 | systems/win32/miktex/tm/packages/next/miktex-md5-bin-2.9.tar.lzma
+2021/08/07 | 8769 | systems/win32/miktex/tm/packages/next/miktex-md5-bin-x64-2.9.tar.lzma
+2021/08/07 | 196870 | systems/win32/miktex/tm/packages/next/miktex-metafont-bin-2.9.tar.lzma
+2021/08/07 | 215249 | systems/win32/miktex/tm/packages/next/miktex-metafont-bin-x64-2.9.tar.lzma
+2021/08/07 | 250263 | systems/win32/miktex/tm/packages/next/miktex-metapost-bin-2.9.tar.lzma
+2021/08/07 | 284024 | systems/win32/miktex/tm/packages/next/miktex-metapost-bin-x64-2.9.tar.lzma
+2021/08/07 | 98381 | systems/win32/miktex/tm/packages/next/miktex-mfware-bin-2.9.tar.lzma
+2021/08/07 | 103204 | systems/win32/miktex/tm/packages/next/miktex-mfware-bin-x64-2.9.tar.lzma
+2021/08/07 | 60635 | systems/win32/miktex/tm/packages/next/miktex-mkfntmap-bin-2.9.tar.lzma
+2021/08/07 | 68023 | systems/win32/miktex/tm/packages/next/miktex-mkfntmap-bin-x64-2.9.tar.lzma
+2021/08/07 | 124282 | systems/win32/miktex/tm/packages/next/miktex-mktex-bin-2.9.tar.lzma
+2021/08/07 | 136821 | systems/win32/miktex/tm/packages/next/miktex-mktex-bin-x64-2.9.tar.lzma
+2021/08/07 | 178353 | systems/win32/miktex/tm/packages/next/miktex-mo-bin-2.9.tar.lzma
+2021/08/07 | 196740 | systems/win32/miktex/tm/packages/next/miktex-mo-bin-x64-2.9.tar.lzma
+2021/08/07 | 199732 | systems/win32/miktex/tm/packages/next/miktex-mpfr-bin-2.9.tar.lzma
+2021/08/07 | 180121 | systems/win32/miktex/tm/packages/next/miktex-mpfr-bin-x64-2.9.tar.lzma
+2021/08/07 | 67484 | systems/win32/miktex/tm/packages/next/miktex-mpmcli-bin-2.9.tar.lzma
+2021/08/07 | 76826 | systems/win32/miktex/tm/packages/next/miktex-mpmcli-bin-x64-2.9.tar.lzma
+2021/08/07 | 31232 | systems/win32/miktex/tm/packages/next/miktex-mspack-bin-2.9.tar.lzma
+2021/08/07 | 35087 | systems/win32/miktex/tm/packages/next/miktex-mspack-bin-x64-2.9.tar.lzma
+2021/08/07 | 37804 | systems/win32/miktex/tm/packages/next/miktex-mthelp-bin-2.9.tar.lzma
+2021/08/07 | 42711 | systems/win32/miktex/tm/packages/next/miktex-mthelp-bin-x64-2.9.tar.lzma
+2021/08/07 | 42890 | systems/win32/miktex/tm/packages/next/miktex-mtprint-bin-2.9.tar.lzma
+2021/08/07 | 46907 | systems/win32/miktex/tm/packages/next/miktex-mtprint-bin-x64-2.9.tar.lzma
+2021/08/07 | 45971 | systems/win32/miktex/tm/packages/next/miktex-m-tx-bin-2.9.tar.lzma
+2021/08/07 | 52523 | systems/win32/miktex/tm/packages/next/miktex-m-tx-bin-x64-2.9.tar.lzma
+2021/08/07 | 194382 | systems/win32/miktex/tm/packages/next/miktex-omegaware-bin-2.9.tar.lzma
+2021/08/07 | 206604 | systems/win32/miktex/tm/packages/next/miktex-omegaware-bin-x64-2.9.tar.lzma
+2021/08/07 | 35692 | systems/win32/miktex/tm/packages/next/miktex-patgen-bin.tar.lzma
+2021/08/07 | 40228 | systems/win32/miktex/tm/packages/next/miktex-patgen-bin-x64.tar.lzma
+2021/08/07 | 744116 | systems/win32/miktex/tm/packages/next/miktex-pdftex-bin-2.9.tar.lzma
+2021/08/07 | 815242 | systems/win32/miktex/tm/packages/next/miktex-pdftex-bin-x64-2.9.tar.lzma
+2021/08/07 | 198170 | systems/win32/miktex/tm/packages/next/miktex-pixman-bin-2.9.tar.lzma
+2021/08/07 | 202795 | systems/win32/miktex/tm/packages/next/miktex-pixman-bin-x64-2.9.tar.lzma
+2021/08/07 | 208049 | systems/win32/miktex/tm/packages/next/miktex-pmx-bin-2.9.tar.lzma
+2021/08/07 | 243426 | systems/win32/miktex/tm/packages/next/miktex-pmx-bin-x64-2.9.tar.lzma
+2021/08/07 | 78773 | systems/win32/miktex/tm/packages/next/miktex-png-bin-2.9.tar.lzma
+2021/08/07 | 87776 | systems/win32/miktex/tm/packages/next/miktex-png-bin-x64-2.9.tar.lzma
+2021/08/07 | 1169717 | systems/win32/miktex/tm/packages/next/miktex-poppler-bin-2.9.tar.lzma
+2021/08/07 | 1301192 | systems/win32/miktex/tm/packages/next/miktex-poppler-bin-x64-2.9.tar.lzma
+2021/08/07 | 20138 | systems/win32/miktex/tm/packages/next/miktex-popt-bin-2.9.tar.lzma
+2021/08/07 | 23902 | systems/win32/miktex/tm/packages/next/miktex-popt-bin-x64-2.9.tar.lzma
+2021/08/07 | 31539 | systems/win32/miktex/tm/packages/next/miktex-posix-bin-2.9.tar.lzma
+2021/08/07 | 37241 | systems/win32/miktex/tm/packages/next/miktex-posix-bin-x64-2.9.tar.lzma
+2021/08/07 | 64185 | systems/win32/miktex/tm/packages/next/miktex-ps2pk-bin-2.9.tar.lzma
+2021/08/07 | 72205 | systems/win32/miktex/tm/packages/next/miktex-ps2pk-bin-x64-2.9.tar.lzma
+2021/08/07 | 50393 | systems/win32/miktex/tm/packages/next/miktex-psutils-bin-2.9.tar.lzma
+2021/08/07 | 57730 | systems/win32/miktex/tm/packages/next/miktex-psutils-bin-x64-2.9.tar.lzma
+2021/08/07 | 1340930 | systems/win32/miktex/tm/packages/next/miktex-runtime-bin-2.9.tar.lzma
+2021/08/07 | 1464203 | systems/win32/miktex/tm/packages/next/miktex-runtime-bin-x64-2.9.tar.lzma
+2021/08/07 | 42387 | systems/win32/miktex/tm/packages/next/miktex-synctex-bin-2.9.tar.lzma
+2021/08/07 | 51749 | systems/win32/miktex/tm/packages/next/miktex-synctex-bin-x64-2.9.tar.lzma
+2021/08/07 | 56514 | systems/win32/miktex/tm/packages/next/miktex-tdsutil-bin.tar.lzma
+2021/08/07 | 60039 | systems/win32/miktex/tm/packages/next/miktex-tdsutil-bin-x64.tar.lzma
+2021/08/07 | 25291 | systems/win32/miktex/tm/packages/next/miktex-teckit-bin-2.9.tar.lzma
+2021/08/07 | 27392 | systems/win32/miktex/tm/packages/next/miktex-teckit-bin-x64-2.9.tar.lzma
+2021/08/07 | 16413 | systems/win32/miktex/tm/packages/next/miktex-tex2xindy-bin-2.9.tar.lzma
+2021/08/07 | 18176 | systems/win32/miktex/tm/packages/next/miktex-tex2xindy-bin-x64-2.9.tar.lzma
+2021/08/07 | 63777 | systems/win32/miktex/tm/packages/next/miktex-tex4ht-bin-2.9.tar.lzma
+2021/08/07 | 69915 | systems/win32/miktex/tm/packages/next/miktex-tex4ht-bin-x64-2.9.tar.lzma
+2021/08/07 | 154806 | systems/win32/miktex/tm/packages/next/miktex-tex-bin-2.9.tar.lzma
+2021/08/07 | 169242 | systems/win32/miktex/tm/packages/next/miktex-tex-bin-x64-2.9.tar.lzma
+2021/08/07 | 57012 | systems/win32/miktex/tm/packages/next/miktex-texify-bin-2.9.tar.lzma
+2021/08/07 | 65786 | systems/win32/miktex/tm/packages/next/miktex-texify-bin-x64-2.9.tar.lzma
+2021/08/07 | 98258 | systems/win32/miktex/tm/packages/next/miktex-texware-bin-2.9.tar.lzma
+2021/08/07 | 105224 | systems/win32/miktex/tm/packages/next/miktex-texware-bin-x64-2.9.tar.lzma
+2021/08/07 | 2672609 | systems/win32/miktex/tm/packages/next/miktex-texworks-bin-2.9.tar.lzma
+2021/08/07 | 2796726 | systems/win32/miktex/tm/packages/next/miktex-texworks-bin-x64-2.9.tar.lzma
+2021/08/07 | 56356 | systems/win32/miktex/tm/packages/next/miktex-ttf2pk2-bin-2.9.tar.lzma
+2021/08/07 | 62230 | systems/win32/miktex/tm/packages/next/miktex-ttf2pk2-bin-x64-2.9.tar.lzma
+2021/08/07 | 33545 | systems/win32/miktex/tm/packages/next/miktex-upmendex-bin.tar.lzma
+2021/08/07 | 37358 | systems/win32/miktex/tm/packages/next/miktex-upmendex-bin-x64.tar.lzma
+2021/08/07 | 27728 | systems/win32/miktex/tm/packages/next/miktex-uriparser-bin-2.9.tar.lzma
+2021/08/07 | 33633 | systems/win32/miktex/tm/packages/next/miktex-uriparser-bin-x64-2.9.tar.lzma
+2021/08/07 | 65618 | systems/win32/miktex/tm/packages/next/miktex-web-bin-2.9.tar.lzma
+2021/08/07 | 70647 | systems/win32/miktex/tm/packages/next/miktex-web-bin-x64-2.9.tar.lzma
+2021/08/07 | 312109 | systems/win32/miktex/tm/packages/next/miktex-xetex-bin-2.9.tar.lzma
+2021/08/07 | 345740 | systems/win32/miktex/tm/packages/next/miktex-xetex-bin-x64-2.9.tar.lzma
+2021/08/07 | 55498 | systems/win32/miktex/tm/packages/next/miktex-xml2pmx-bin.tar.lzma
+2021/08/07 | 57139 | systems/win32/miktex/tm/packages/next/miktex-xml2pmx-bin-x64.tar.lzma
+2021/08/07 | 589841 | systems/win32/miktex/tm/packages/next/miktex-yap-bin-2.9.tar.lzma
+2021/08/07 | 624655 | systems/win32/miktex/tm/packages/next/miktex-yap-bin-x64-2.9.tar.lzma
+2021/08/07 | 39128 | systems/win32/miktex/tm/packages/next/miktex-zlib-bin-2.9.tar.lzma
+2021/08/07 | 43425 | systems/win32/miktex/tm/packages/next/miktex-zlib-bin-x64-2.9.tar.lzma
+2021/08/07 | 233191 | systems/win32/miktex/tm/packages/next/miktex-zzdb1-2.9.tar.lzma
+2021/08/07 | 1322116 | systems/win32/miktex/tm/packages/next/miktex-zzdb2-2.9.tar.lzma
+2021/08/07 | 1229098 | systems/win32/miktex/tm/packages/next/miktex-zzdb3-2.9.tar.lzma
+2021/08/07 | 13464 | systems/win32/miktex/tm/packages/next/miktex-zzip-bin-2.9.tar.lzma
+2021/08/07 | 14350 | systems/win32/miktex/tm/packages/next/miktex-zzip-bin-x64-2.9.tar.lzma
2019/03/12 | 1412 | systems/win32/miktex/tm/packages/nextpage.tar.lzma
-2021/08/06 | 1153 | systems/win32/miktex/tm/packages/next/pr.ini
+2021/08/07 | 1153 | systems/win32/miktex/tm/packages/next/pr.ini
2018/07/06 | 145915 | systems/win32/miktex/tm/packages/nexus-otf.tar.lzma
2017/03/30 | 191149 | systems/win32/miktex/tm/packages/nfssext-cfr.tar.lzma
2012/12/20 | 612251 | systems/win32/miktex/tm/packages/nicefilelist.tar.lzma
@@ -286233,7 +286239,7 @@
2020/10/20 | 342254 | systems/win32/miktex/tm/packages/preview.tar.lzma
2019/06/20 | 375963 | systems/win32/miktex/tm/packages/prftree.tar.lzma
2021/04/23 | 274028 | systems/win32/miktex/tm/packages/principia.tar.lzma
-2021/08/06 | 934 | systems/win32/miktex/tm/packages/pr.ini
+2021/08/07 | 1155 | systems/win32/miktex/tm/packages/pr.ini
2010/09/27 | 248469 | systems/win32/miktex/tm/packages/printlen.tar.lzma
2008/06/17 | 77313 | systems/win32/miktex/tm/packages/proba.tar.lzma
2017/07/12 | 988486 | systems/win32/miktex/tm/packages/probsoln.tar.lzma
@@ -287779,7 +287785,7 @@
2004/06/04 | 404 | tds/tds.sed
2004/06/23 | 65418 | tds/tds.tex
2019/05/29 | 304264 | tds.zip
-2021/08/07 | 186 | timestamp
+2021/08/08 | 186 | timestamp
2002/08/26 | 61898 | usergrps/dante/antrag.pdf
2002/08/26 | 118217 | usergrps/dante/antrag.ps
2021/08/04 | 917 | usergrps/dante/dtk/doc/beispiel.bib
diff --git a/FILES.byname.gz b/FILES.byname.gz
index 6c9a0aa6a1..b3e58e7884 100644
--- a/FILES.byname.gz
+++ b/FILES.byname.gz
Binary files differ
diff --git a/FILES.last07days b/FILES.last07days
index 690b744123..edca8fd36d 100644
--- a/FILES.last07days
+++ b/FILES.last07days
@@ -1,235 +1,485 @@
-2021/08/06 | 98380 | systems/win32/miktex/tm/packages/next/miktex-mfware-bin-2.9.tar.lzma
-2021/08/06 | 98263 | systems/win32/miktex/tm/packages/next/miktex-texware-bin-2.9.tar.lzma
-2021/08/06 | 975019 | systems/win32/miktex/tm/packages/next/miktex-asymptote-bin-2.9.tar.lzma
-2021/08/06 | 97339 | systems/win32/miktex/tm/packages/next/miktex-gd-bin-2.9.tar.lzma
-2021/08/06 | 96631 | systems/win32/miktex/tm/packages/next/miktex-gregorio-bin-2.9.tar.lzma
-2021/08/06 | 95401 | systems/win32/miktex/tm/packages/next/miktex-bibtex8bit-bin-x64-2.9.tar.lzma
-2021/08/06 | 94798 | systems/win32/miktex/tm/packages/next/miktex-jpeg-bin-2.9.tar.lzma
-2021/08/06 | 94308 | systems/win32/miktex/tm/packages/next/miktex-lua53-bin-2.9.tar.lzma
-2021/08/06 | 934 | systems/win32/miktex/tm/packages/pr.ini
+2021/08/07 | 98381 | systems/win32/miktex/tm/packages/next/miktex-mfware-bin-2.9.tar.lzma
+2021/08/07 | 98300 | systems/win32/miktex/tm/packages/miktex-mfware-bin-2.9.tar.lzma
+2021/08/07 | 98258 | systems/win32/miktex/tm/packages/next/miktex-texware-bin-2.9.tar.lzma
+2021/08/07 | 98187 | systems/win32/miktex/tm/packages/miktex-texware-bin-2.9.tar.lzma
+2021/08/07 | 975022 | systems/win32/miktex/tm/packages/next/miktex-asymptote-bin-2.9.tar.lzma
+2021/08/07 | 97339 | systems/win32/miktex/tm/packages/next/miktex-gd-bin-2.9.tar.lzma
+2021/08/07 | 973111 | systems/win32/miktex/tm/packages/miktex-asymptote-bin-2.9.tar.lzma
+2021/08/07 | 97303 | systems/win32/miktex/tm/packages/miktex-gd-bin-2.9.tar.lzma
+2021/08/07 | 96633 | systems/win32/miktex/tm/packages/next/miktex-gregorio-bin-2.9.tar.lzma
+2021/08/07 | 96441 | systems/win32/miktex/tm/packages/miktex-gregorio-bin-2.9.tar.lzma
+2021/08/07 | 9638 | macros/luatex/latex/pyluatex/pyluatex-json.lua
+2021/08/07 | 95414 | systems/win32/miktex/tm/packages/miktex-bibtex8bit-bin-x64-2.9.tar.lzma
+2021/08/07 | 95402 | systems/win32/miktex/tm/packages/next/miktex-bibtex8bit-bin-x64-2.9.tar.lzma
+2021/08/07 | 94799 | systems/win32/miktex/tm/packages/next/miktex-jpeg-bin-2.9.tar.lzma
+2021/08/07 | 94754 | systems/win32/miktex/tm/packages/miktex-jpeg-bin-2.9.tar.lzma
+2021/08/07 | 94339 | systems/win32/miktex/tm/packages/miktex-lua53-bin-2.9.tar.lzma
+2021/08/07 | 94311 | systems/win32/miktex/tm/packages/next/miktex-lua53-bin-2.9.tar.lzma
+2021/08/07 | 90605 | macros/luatex/latex/pyluatex.zip
+2021/08/07 | 903155 | macros/generic/markdown.zip
+2021/08/07 | 88600 | macros/latex/contrib/projlib/ProjLib.dtx
+2021/08/07 | 88462 | macros/latex/contrib/projlib/ProjLib-doc.dtx
+2021/08/07 | 87776 | systems/win32/miktex/tm/packages/next/miktex-png-bin-x64-2.9.tar.lzma
+2021/08/07 | 87720 | systems/win32/miktex/tm/packages/miktex-png-bin-x64-2.9.tar.lzma
+2021/08/07 | 8769 | systems/win32/miktex/tm/packages/next/miktex-md5-bin-x64-2.9.tar.lzma
+2021/08/07 | 8748 | systems/win32/miktex/tm/packages/miktex-md5-bin-x64-2.9.tar.lzma
+2021/08/07 | 84356 | systems/texlive/tlnet/archive/smart-eqn.doc.r60178.tar.xz
+2021/08/07 | 83705 | systems/win32/miktex/tm/packages/miktex-bibtex8bit-bin-2.9.tar.lzma
+2021/08/07 | 83541 | systems/win32/miktex/tm/packages/next/miktex-bibtex8bit-bin-2.9.tar.lzma
+2021/08/07 | 817283 | systems/win32/miktex/tm/packages/miktex-pdftex-bin-x64-2.9.tar.lzma
+2021/08/07 | 815242 | systems/win32/miktex/tm/packages/next/miktex-pdftex-bin-x64-2.9.tar.lzma
+2021/08/07 | 80630 | systems/win32/miktex/tm/packages/miktex-freeglut-bin-x64-2.9.tar.lzma
+2021/08/07 | 80448 | systems/win32/miktex/tm/packages/next/miktex-freeglut-bin-x64-2.9.tar.lzma
+2021/08/07 | 79524 | macros/luatex/latex/pyluatex/pyluatex.pdf
+2021/08/07 | 78773 | systems/win32/miktex/tm/packages/next/miktex-png-bin-2.9.tar.lzma
+2021/08/07 | 78707 | systems/win32/miktex/tm/packages/miktex-png-bin-2.9.tar.lzma
+2021/08/07 | 78560 | macros/latex/contrib/easybook/easybook.dtx
+2021/08/07 | 78184 | systems/win32/miktex/tm/packages/miktex-fonts-bin-x64-2.9.tar.lzma
+2021/08/07 | 78128 | macros/latex/contrib/easybook/easybook.tex
+2021/08/07 | 77951 | systems/win32/miktex/tm/packages/next/miktex-fonts-bin-x64-2.9.tar.lzma
+2021/08/07 | 7722 | systems/win32/miktex/tm/packages/next/miktex-md5-bin-2.9.tar.lzma
+2021/08/07 | 7689 | systems/win32/miktex/tm/packages/miktex-md5-bin-2.9.tar.lzma
+2021/08/07 | 76826 | systems/win32/miktex/tm/packages/next/miktex-mpmcli-bin-x64-2.9.tar.lzma
+2021/08/07 | 76801 | systems/win32/miktex/tm/packages/miktex-mpmcli-bin-x64-2.9.tar.lzma
+2021/08/07 | 75792 | systems/win32/miktex/tm/packages/next/miktex-bibtex-bin-x64-2.9.tar.lzma
+2021/08/07 | 75767 | systems/win32/miktex/tm/packages/miktex-bibtex-bin-x64-2.9.tar.lzma
+2021/08/07 | 748712 | systems/win32/miktex/tm/packages/miktex-pdftex-bin-2.9.tar.lzma
+2021/08/07 | 744225 | macros/latex/contrib/projlib.zip
+2021/08/07 | 744116 | systems/win32/miktex/tm/packages/next/miktex-pdftex-bin-2.9.tar.lzma
+2021/08/07 | 74211 | systems/win32/miktex/tm/packages/next/miktex-lzma-bin-x64-2.9.tar.lzma
+2021/08/07 | 74152 | systems/win32/miktex/tm/packages/miktex-lzma-bin-x64-2.9.tar.lzma
+2021/08/07 | 739600 | graphics/pgf/contrib/tikzlings.zip
+2021/08/07 | 73196 | systems/win32/miktex/tm/packages/next/miktex-fonts-bin-2.9.tar.lzma
+2021/08/07 | 73166 | systems/win32/miktex/tm/packages/miktex-fonts-bin-2.9.tar.lzma
+2021/08/07 | 73156 | systems/win32/miktex/tm/packages/miktex-graphite2-bin-x64-2.9.tar.lzma
+2021/08/07 | 73147 | systems/win32/miktex/tm/packages/next/miktex-graphite2-bin-x64-2.9.tar.lzma
+2021/08/07 | 72221 | systems/win32/miktex/tm/packages/miktex-ps2pk-bin-x64-2.9.tar.lzma
+2021/08/07 | 72205 | systems/win32/miktex/tm/packages/next/miktex-ps2pk-bin-x64-2.9.tar.lzma
+2021/08/07 | 71669 | systems/win32/miktex/tm/packages/next/miktex-freeglut-bin-2.9.tar.lzma
+2021/08/07 | 71650 | systems/win32/miktex/tm/packages/miktex-freeglut-bin-2.9.tar.lzma
+2021/08/07 | 70721 | systems/win32/miktex/tm/packages/miktex-web-bin-x64-2.9.tar.lzma
+2021/08/07 | 70647 | systems/win32/miktex/tm/packages/next/miktex-web-bin-x64-2.9.tar.lzma
+2021/08/07 | 69915 | systems/win32/miktex/tm/packages/next/miktex-tex4ht-bin-x64-2.9.tar.lzma
+2021/08/07 | 69867 | systems/win32/miktex/tm/packages/miktex-tex4ht-bin-x64-2.9.tar.lzma
+2021/08/07 | 681249 | systems/win32/miktex/tm/packages/next/miktex-lcdf-typetools-bin-x64-2.9.tar.lzma
+2021/08/07 | 6811529 | systems/texlive/tlnet/install-tl-unx.tar.gz
+2021/08/07 | 68105 | systems/win32/miktex/tm/packages/miktex-mkfntmap-bin-x64-2.9.tar.lzma
+2021/08/07 | 680872 | systems/win32/miktex/tm/packages/miktex-lcdf-typetools-bin-x64-2.9.tar.lzma
+2021/08/07 | 68023 | systems/win32/miktex/tm/packages/next/miktex-mkfntmap-bin-x64-2.9.tar.lzma
+2021/08/07 | 68012 | systems/win32/miktex/tm/packages/miktex-bibtex-bin-2.9.tar.lzma
+2021/08/07 | 67819 | systems/win32/miktex/tm/packages/next/miktex-bibtex-bin-2.9.tar.lzma
+2021/08/07 | 67618 | systems/win32/miktex/tm/packages/next/miktex-lzma-bin-2.9.tar.lzma
+2021/08/07 | 67590 | systems/win32/miktex/tm/packages/miktex-lzma-bin-2.9.tar.lzma
+2021/08/07 | 67484 | systems/win32/miktex/tm/packages/next/miktex-mpmcli-bin-2.9.tar.lzma
+2021/08/07 | 67483 | systems/win32/miktex/tm/packages/miktex-mpmcli-bin-2.9.tar.lzma
+2021/08/07 | 65786 | systems/win32/miktex/tm/packages/next/miktex-texify-bin-x64-2.9.tar.lzma
+2021/08/07 | 65671 | systems/win32/miktex/tm/packages/miktex-texify-bin-x64-2.9.tar.lzma
+2021/08/07 | 65618 | systems/win32/miktex/tm/packages/next/miktex-web-bin-2.9.tar.lzma
+2021/08/07 | 65553 | systems/win32/miktex/tm/packages/miktex-web-bin-2.9.tar.lzma
+2021/08/07 | 64427 | systems/win32/miktex/tm/packages/next/miktex-graphite2-bin-2.9.tar.lzma
+2021/08/07 | 64402 | systems/win32/miktex/tm/packages/miktex-graphite2-bin-2.9.tar.lzma
+2021/08/07 | 6420 | systems/texlive/tlnet/archive/collection-latexextra.r60178.tar.xz
+2021/08/07 | 64185 | systems/win32/miktex/tm/packages/next/miktex-ps2pk-bin-2.9.tar.lzma
+2021/08/07 | 64174 | systems/win32/miktex/tm/packages/miktex-ps2pk-bin-2.9.tar.lzma
+2021/08/07 | 63777 | systems/win32/miktex/tm/packages/next/miktex-tex4ht-bin-2.9.tar.lzma
+2021/08/07 | 63706 | systems/win32/miktex/tm/packages/miktex-tex4ht-bin-2.9.tar.lzma
+2021/08/07 | 629628 | systems/win32/miktex/tm/packages/miktex-lcdf-typetools-bin-2.9.tar.lzma
+2021/08/07 | 629400 | systems/win32/miktex/tm/packages/next/miktex-lcdf-typetools-bin-2.9.tar.lzma
+2021/08/07 | 62786 | systems/win32/miktex/tm/packages/next/miktex-fmt-bin-x64-2.9.tar.lzma
+2021/08/07 | 62690 | systems/win32/miktex/tm/packages/miktex-fmt-bin-x64-2.9.tar.lzma
+2021/08/07 | 624826 | systems/win32/miktex/tm/packages/miktex-yap-bin-x64-2.9.tar.lzma
+2021/08/07 | 624655 | systems/win32/miktex/tm/packages/next/miktex-yap-bin-x64-2.9.tar.lzma
+2021/08/07 | 624161 | macros/latex/contrib/easybook.zip
+2021/08/07 | 62233 | systems/win32/miktex/tm/packages/miktex-ttf2pk2-bin-x64-2.9.tar.lzma
+2021/08/07 | 62230 | systems/win32/miktex/tm/packages/next/miktex-ttf2pk2-bin-x64-2.9.tar.lzma
+2021/08/07 | 61841 | systems/win32/miktex/tm/packages/miktex-cweb-bin-x64-2.9.tar.lzma
+2021/08/07 | 61813 | systems/win32/miktex/tm/packages/next/miktex-cweb-bin-x64-2.9.tar.lzma
+2021/08/07 | 60698 | systems/win32/miktex/tm/packages/miktex-mkfntmap-bin-2.9.tar.lzma
+2021/08/07 | 60635 | systems/win32/miktex/tm/packages/next/miktex-mkfntmap-bin-2.9.tar.lzma
+2021/08/07 | 604156 | systems/texlive/tlnet/archive/easybook.doc.r60176.tar.xz
+2021/08/07 | 60039 | systems/win32/miktex/tm/packages/next/miktex-tdsutil-bin-x64.tar.lzma
+2021/08/07 | 59951 | systems/win32/miktex/tm/packages/miktex-tdsutil-bin-x64.tar.lzma
+2021/08/07 | 596931 | systems/win32/miktex/tm/packages/next/miktex-libressl-bin-x64-2.9.tar.lzma
+2021/08/07 | 596374 | systems/win32/miktex/tm/packages/miktex-libressl-bin-x64-2.9.tar.lzma
+2021/08/07 | 591262 | systems/win32/miktex/tm/packages/files.csv.lzma
+2021/08/07 | 590772 | systems/win32/miktex/tm/packages/next/files.csv.lzma
+2021/08/07 | 590162 | systems/win32/miktex/tm/packages/miktex-yap-bin-2.9.tar.lzma
+2021/08/07 | 589841 | systems/win32/miktex/tm/packages/next/miktex-yap-bin-2.9.tar.lzma
+2021/08/07 | 583892 | macros/latex/contrib/easybook/easybook.pdf
+2021/08/07 | 5800 | systems/texlive/tlnet/archive/smart-eqn.source.r60178.tar.xz
+2021/08/07 | 57730 | systems/win32/miktex/tm/packages/next/miktex-psutils-bin-x64-2.9.tar.lzma
+2021/08/07 | 57712 | systems/win32/miktex/tm/packages/miktex-psutils-bin-x64-2.9.tar.lzma
+2021/08/07 | 57570 | systems/win32/miktex/tm/packages/miktex-bibarts-bin-x64-2.9.tar.lzma
+2021/08/07 | 57548 | systems/win32/miktex/tm/packages/next/miktex-bibarts-bin-x64-2.9.tar.lzma
+2021/08/07 | 57139 | systems/win32/miktex/tm/packages/next/miktex-xml2pmx-bin-x64.tar.lzma
+2021/08/07 | 57124 | systems/win32/miktex/tm/packages/miktex-xml2pmx-bin-x64.tar.lzma
+2021/08/07 | 57012 | systems/win32/miktex/tm/packages/next/miktex-texify-bin-2.9.tar.lzma
+2021/08/07 | 56966 | systems/win32/miktex/tm/packages/miktex-texify-bin-2.9.tar.lzma
+2021/08/07 | 56772 | systems/win32/miktex/tm/packages/miktex-cjkutils-bin-x64-2.9.tar.lzma
+2021/08/07 | 56684 | systems/win32/miktex/tm/packages/next/miktex-cjkutils-bin-x64-2.9.tar.lzma
+2021/08/07 | 566528 | systems/win32/miktex/tm/packages/next/miktex-harfbuzz-bin-x64-2.9.tar.lzma
+2021/08/07 | 566081 | systems/win32/miktex/tm/packages/miktex-harfbuzz-bin-x64-2.9.tar.lzma
+2021/08/07 | 56514 | systems/win32/miktex/tm/packages/next/miktex-tdsutil-bin.tar.lzma
+2021/08/07 | 56486 | systems/win32/miktex/tm/packages/miktex-tdsutil-bin.tar.lzma
+2021/08/07 | 56476 | systems/win32/miktex/tm/packages/next/miktex-arctrl-bin-x64-2.9.tar.lzma
+2021/08/07 | 56456 | systems/win32/miktex/tm/packages/miktex-ttf2pk2-bin-2.9.tar.lzma
+2021/08/07 | 56405 | systems/win32/miktex/tm/packages/miktex-arctrl-bin-x64-2.9.tar.lzma
+2021/08/07 | 56356 | systems/win32/miktex/tm/packages/next/miktex-ttf2pk2-bin-2.9.tar.lzma
+2021/08/07 | 56317 | systems/win32/miktex/tm/packages/next/miktex-fmt-bin-2.9.tar.lzma
+2021/08/07 | 56310 | systems/win32/miktex/tm/packages/miktex-fmt-bin-2.9.tar.lzma
+2021/08/07 | 55498 | systems/win32/miktex/tm/packages/next/miktex-xml2pmx-bin.tar.lzma
+2021/08/07 | 55460 | systems/win32/miktex/tm/packages/miktex-xml2pmx-bin.tar.lzma
+2021/08/07 | 54631 | systems/win32/miktex/tm/packages/next/miktex-cweb-bin-2.9.tar.lzma
+2021/08/07 | 54628 | systems/win32/miktex/tm/packages/miktex-cweb-bin-2.9.tar.lzma
+2021/08/07 | 531852 | systems/win32/miktex/tm/packages/next/miktex-libressl-bin-2.9.tar.lzma
+2021/08/07 | 531724 | systems/win32/miktex/tm/packages/miktex-libressl-bin-2.9.tar.lzma
+2021/08/07 | 52523 | systems/win32/miktex/tm/packages/next/miktex-m-tx-bin-x64-2.9.tar.lzma
+2021/08/07 | 5244 | macros/luatex/latex/pyluatex/pyluatex.lua
+2021/08/07 | 52403 | systems/win32/miktex/tm/packages/miktex-m-tx-bin-x64-2.9.tar.lzma
+2021/08/07 | 51795 | systems/win32/miktex/tm/packages/miktex-synctex-bin-x64-2.9.tar.lzma
+2021/08/07 | 51749 | systems/win32/miktex/tm/packages/next/miktex-synctex-bin-x64-2.9.tar.lzma
+2021/08/07 | 51309 | systems/win32/miktex/tm/packages/next/miktex-cjkutils-bin-2.9.tar.lzma
+2021/08/07 | 51253 | systems/win32/miktex/tm/packages/miktex-cjkutils-bin-2.9.tar.lzma
+2021/08/07 | 51201 | systems/win32/miktex/tm/packages/next/miktex-dvicopy-bin-x64-2.9.tar.lzma
+2021/08/07 | 51171 | systems/win32/miktex/tm/packages/miktex-dvicopy-bin-x64-2.9.tar.lzma
+2021/08/07 | 51111 | systems/win32/miktex/tm/packages/next/miktex-arctrl-bin-2.9.tar.lzma
+2021/08/07 | 510588 | systems/win32/miktex/tm/packages/next/miktex-log4cxx-bin-x64-2.9.tar.lzma
+2021/08/07 | 510530 | systems/win32/miktex/tm/packages/miktex-log4cxx-bin-x64-2.9.tar.lzma
+2021/08/07 | 51031 | systems/win32/miktex/tm/packages/miktex-arctrl-bin-2.9.tar.lzma
+2021/08/07 | 509729 | systems/win32/miktex/doc/miktex.pdf
+2021/08/07 | 50651 | systems/win32/miktex/tm/packages/miktex-psutils-bin-2.9.tar.lzma
+2021/08/07 | 50393 | systems/win32/miktex/tm/packages/next/miktex-psutils-bin-2.9.tar.lzma
+2021/08/07 | 50153 | systems/win32/miktex/tm/packages/next/miktex-bibarts-bin-2.9.tar.lzma
+2021/08/07 | 49905 | systems/win32/miktex/tm/packages/miktex-bibarts-bin-2.9.tar.lzma
+2021/08/07 | 48 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.md5
+2021/08/07 | 483655 | systems/win32/miktex/tm/packages/next/miktex-harfbuzz-bin-2.9.tar.lzma
+2021/08/07 | 483048 | systems/win32/miktex/tm/packages/miktex-harfbuzz-bin-2.9.tar.lzma
+2021/08/07 | 48253 | systems/win32/miktex/tm/packages/next/miktex-expat-bin-x64-2.9.tar.lzma
+2021/08/07 | 48232 | systems/win32/miktex/tm/packages/miktex-expat-bin-x64-2.9.tar.lzma
+2021/08/07 | 476919 | systems/win32/miktex/tm/packages/next/miktex-log4cxx-bin-2.9.tar.lzma
+2021/08/07 | 476919 | systems/win32/miktex/tm/packages/miktex-log4cxx-bin-2.9.tar.lzma
+2021/08/07 | 46978 | systems/win32/miktex/tm/packages/miktex-mtprint-bin-x64-2.9.tar.lzma
+2021/08/07 | 46907 | systems/win32/miktex/tm/packages/next/miktex-mtprint-bin-x64-2.9.tar.lzma
+2021/08/07 | 461812 | systems/win32/miktex/tm/packages/next/miktex-doc.tar.lzma
+2021/08/07 | 461708 | systems/win32/miktex/tm/packages/miktex-doc.tar.lzma
+2021/08/07 | 45971 | systems/win32/miktex/tm/packages/next/miktex-m-tx-bin-2.9.tar.lzma
+2021/08/07 | 45932 | systems/win32/miktex/tm/packages/miktex-m-tx-bin-2.9.tar.lzma
+2021/08/07 | 45910 | systems/win32/miktex/tm/packages/miktex-dvicopy-bin-2.9.tar.lzma
+2021/08/07 | 45904 | systems/win32/miktex/tm/packages/next/miktex-dvicopy-bin-2.9.tar.lzma
+2021/08/07 | 455 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
+2021/08/07 | 455 | systems/texlive/tlnet/install-tl.zip.sha512.asc
+2021/08/07 | 455 | systems/texlive/tlnet/install-tl-windows.exe.sha512.asc
+2021/08/07 | 455 | systems/texlive/tlnet/install-tl-unx.tar.gz.sha512.asc
+2021/08/07 | 45371 | systems/win32/miktex/tm/packages/miktex-dvipng-bin-x64-2.9.tar.lzma
+2021/08/07 | 45310 | systems/win32/miktex/tm/packages/next/miktex-dvipng-bin-x64-2.9.tar.lzma
+2021/08/07 | 43425 | systems/win32/miktex/tm/packages/next/miktex-zlib-bin-x64-2.9.tar.lzma
+2021/08/07 | 43393 | systems/win32/miktex/tm/packages/miktex-zlib-bin-x64-2.9.tar.lzma
+2021/08/07 | 43028 | systems/win32/miktex/tm/packages/next/miktex-expat-bin-2.9.tar.lzma
+2021/08/07 | 43020 | systems/win32/miktex/tm/packages/miktex-expat-bin-2.9.tar.lzma
+2021/08/07 | 43002 | systems/win32/miktex/tm/packages/next/miktex-gsf2pk-bin-x64-2.9.tar.lzma
+2021/08/07 | 42988 | systems/win32/miktex/tm/packages/miktex-gsf2pk-bin-x64-2.9.tar.lzma
+2021/08/07 | 42890 | systems/win32/miktex/tm/packages/next/miktex-mtprint-bin-2.9.tar.lzma
+2021/08/07 | 42839 | systems/win32/miktex/tm/packages/miktex-mtprint-bin-2.9.tar.lzma
+2021/08/07 | 42711 | systems/win32/miktex/tm/packages/next/miktex-mthelp-bin-x64-2.9.tar.lzma
+2021/08/07 | 42672 | systems/win32/miktex/tm/packages/miktex-mthelp-bin-x64-2.9.tar.lzma
+2021/08/07 | 42387 | systems/win32/miktex/tm/packages/next/miktex-synctex-bin-2.9.tar.lzma
+2021/08/07 | 42374 | systems/win32/miktex/tm/packages/miktex-synctex-bin-2.9.tar.lzma
+2021/08/07 | 41216 | systems/win32/miktex/tm/packages/miktex-dvipng-bin-2.9.tar.lzma
+2021/08/07 | 41193 | systems/win32/miktex/tm/packages/next/miktex-dvipng-bin-2.9.tar.lzma
+2021/08/07 | 40324 | systems/win32/miktex/tm/packages/miktex-patgen-bin-x64.tar.lzma
+2021/08/07 | 40228 | systems/win32/miktex/tm/packages/next/miktex-patgen-bin-x64.tar.lzma
+2021/08/07 | 399200 | systems/texlive/tlnet/archive/texlive-scripts.doc.r60174.tar.xz
+2021/08/07 | 392792 | systems/win32/miktex/tm/packages/next/miktex-cairo-bin-x64-2.9.tar.lzma
+2021/08/07 | 392514 | systems/win32/miktex/tm/packages/miktex-cairo-bin-x64-2.9.tar.lzma
+2021/08/07 | 39128 | systems/win32/miktex/tm/packages/next/miktex-zlib-bin-2.9.tar.lzma
+2021/08/07 | 39000 | systems/win32/miktex/tm/packages/miktex-zlib-bin-2.9.tar.lzma
+2021/08/07 | 38139 | systems/win32/miktex/tm/packages/next/miktex-gsf2pk-bin-2.9.tar.lzma
+2021/08/07 | 38136 | systems/win32/miktex/tm/packages/miktex-gsf2pk-bin-2.9.tar.lzma
+2021/08/07 | 37804 | systems/win32/miktex/tm/packages/next/miktex-mthelp-bin-2.9.tar.lzma
+2021/08/07 | 37755 | systems/win32/miktex/tm/packages/miktex-mthelp-bin-2.9.tar.lzma
+2021/08/07 | 37358 | systems/win32/miktex/tm/packages/next/miktex-upmendex-bin-x64.tar.lzma
+2021/08/07 | 37335 | systems/win32/miktex/tm/packages/miktex-upmendex-bin-x64.tar.lzma
+2021/08/07 | 37241 | systems/win32/miktex/tm/packages/next/miktex-posix-bin-x64-2.9.tar.lzma
+2021/08/07 | 37226 | systems/win32/miktex/tm/packages/miktex-posix-bin-x64-2.9.tar.lzma
+2021/08/07 | 36628 | systems/win32/miktex/tm/packages/next/miktex-chktex-bin-x64-2.9.tar.lzma
+2021/08/07 | 36602 | systems/win32/miktex/tm/packages/miktex-chktex-bin-x64-2.9.tar.lzma
+2021/08/07 | 35730 | systems/win32/miktex/tm/packages/miktex-patgen-bin.tar.lzma
+2021/08/07 | 35692 | systems/win32/miktex/tm/packages/next/miktex-patgen-bin.tar.lzma
+2021/08/07 | 35087 | systems/win32/miktex/tm/packages/next/miktex-mspack-bin-x64-2.9.tar.lzma
+2021/08/07 | 35038 | systems/win32/miktex/tm/packages/miktex-mspack-bin-x64-2.9.tar.lzma
+2021/08/07 | 34665 | systems/win32/miktex/tm/packages/next/miktex-axohelp-bin-x64-2.9.tar.lzma
+2021/08/07 | 34644 | systems/win32/miktex/tm/packages/miktex-axohelp-bin-x64-2.9.tar.lzma
+2021/08/07 | 345884 | systems/win32/miktex/tm/packages/miktex-xetex-bin-x64-2.9.tar.lzma
+2021/08/07 | 345740 | systems/win32/miktex/tm/packages/next/miktex-xetex-bin-x64-2.9.tar.lzma
+2021/08/07 | 342620 | systems/texlive/tlnet/archive/huawei.doc.r60177.tar.xz
+2021/08/07 | 3400019 | macros/unicodetex/latex/nwafuthesis.zip
+2021/08/07 | 33633 | systems/win32/miktex/tm/packages/next/miktex-uriparser-bin-x64-2.9.tar.lzma
+2021/08/07 | 33615 | systems/win32/miktex/tm/packages/miktex-uriparser-bin-x64-2.9.tar.lzma
+2021/08/07 | 33545 | systems/win32/miktex/tm/packages/next/miktex-upmendex-bin.tar.lzma
+2021/08/07 | 33396 | systems/win32/miktex/tm/packages/miktex-upmendex-bin.tar.lzma
+2021/08/07 | 330788 | systems/win32/miktex/tm/packages/next/miktex-cairo-bin-2.9.tar.lzma
+2021/08/07 | 330456 | systems/win32/miktex/tm/packages/miktex-cairo-bin-2.9.tar.lzma
+2021/08/07 | 32673 | systems/win32/miktex/tm/packages/next/miktex-chktex-bin-2.9.tar.lzma
+2021/08/07 | 32651 | systems/win32/miktex/tm/packages/miktex-chktex-bin-2.9.tar.lzma
+2021/08/07 | 325043 | systems/win32/miktex/tm/packages/next/miktex-dvipdfmx-bin-x64-2.9.tar.lzma
+2021/08/07 | 324459 | systems/win32/miktex/tm/packages/miktex-dvipdfmx-bin-x64-2.9.tar.lzma
+2021/08/07 | 31620 | systems/win32/miktex/tm/packages/next/miktex-makeindex-bin-x64-2.9.tar.lzma
+2021/08/07 | 31588 | systems/win32/miktex/tm/packages/miktex-makeindex-bin-x64-2.9.tar.lzma
+2021/08/07 | 31539 | systems/win32/miktex/tm/packages/next/miktex-posix-bin-2.9.tar.lzma
+2021/08/07 | 31502 | systems/win32/miktex/tm/packages/miktex-posix-bin-2.9.tar.lzma
+2021/08/07 | 31350 | systems/win32/miktex/tm/packages/next/miktex-autosp-bin-x64-2.9.tar.lzma
+2021/08/07 | 31334 | systems/win32/miktex/tm/packages/miktex-autosp-bin-x64-2.9.tar.lzma
+2021/08/07 | 31232 | systems/win32/miktex/tm/packages/next/miktex-mspack-bin-2.9.tar.lzma
+2021/08/07 | 312109 | systems/win32/miktex/tm/packages/next/miktex-xetex-bin-2.9.tar.lzma
+2021/08/07 | 31188 | systems/win32/miktex/tm/packages/miktex-mspack-bin-2.9.tar.lzma
+2021/08/07 | 311749 | systems/win32/miktex/tm/packages/miktex-xetex-bin-2.9.tar.lzma
+2021/08/07 | 310106 | macros/latex/contrib/projlib/ProjLib-doc-cn.pdf
+2021/08/07 | 30824 | systems/win32/miktex/tm/packages/next/miktex-bzip2-bin-x64-2.9.tar.lzma
+2021/08/07 | 30803 | systems/win32/miktex/tm/packages/miktex-bzip2-bin-x64-2.9.tar.lzma
+2021/08/07 | 30058 | systems/win32/miktex/tm/packages/next/miktex-lacheck-bin-x64-2.9.tar.lzma
+2021/08/07 | 30025 | systems/win32/miktex/tm/packages/miktex-lacheck-bin-x64-2.9.tar.lzma
+2021/08/07 | 29841 | systems/win32/miktex/tm/packages/next/miktex-axohelp-bin-2.9.tar.lzma
+2021/08/07 | 29815 | systems/win32/miktex/tm/packages/miktex-axohelp-bin-2.9.tar.lzma
+2021/08/07 | 295323 | systems/win32/miktex/tm/packages/miktex-freetype2-bin-x64-2.9.tar.lzma
+2021/08/07 | 295204 | systems/win32/miktex/tm/packages/next/miktex-freetype2-bin-x64-2.9.tar.lzma
+2021/08/07 | 29035 | systems/win32/miktex/tm/packages/next/miktex-autosp-bin-2.9.tar.lzma
+2021/08/07 | 29026 | systems/win32/miktex/tm/packages/miktex-autosp-bin-2.9.tar.lzma
+2021/08/07 | 284951 | systems/win32/miktex/tm/packages/miktex-dvipdfmx-bin-2.9.tar.lzma
+2021/08/07 | 284580 | systems/win32/miktex/tm/packages/next/miktex-dvipdfmx-bin-2.9.tar.lzma
+2021/08/07 | 284024 | systems/win32/miktex/tm/packages/next/miktex-metapost-bin-x64-2.9.tar.lzma
+2021/08/07 | 283925 | systems/win32/miktex/tm/packages/miktex-metapost-bin-x64-2.9.tar.lzma
+2021/08/07 | 28391 | systems/win32/miktex/tm/packages/next/miktex-lacheck-bin-2.9.tar.lzma
+2021/08/07 | 28180 | systems/win32/miktex/tm/packages/next/miktex-findtexmf-bin-x64-2.9.tar.lzma
+2021/08/07 | 28146 | systems/win32/miktex/tm/packages/miktex-lacheck-bin-2.9.tar.lzma
+2021/08/07 | 28124 | systems/win32/miktex/tm/packages/miktex-findtexmf-bin-x64-2.9.tar.lzma
+2021/08/07 | 2797150 | systems/win32/miktex/tm/packages/miktex-texworks-bin-x64-2.9.tar.lzma
+2021/08/07 | 2796726 | systems/win32/miktex/tm/packages/next/miktex-texworks-bin-x64-2.9.tar.lzma
+2021/08/07 | 279550 | systems/win32/miktex/tm/packages/miktex-console-bin-x64-2.9.tar.lzma
+2021/08/07 | 2793 | macros/luatex/latex/pyluatex/pyluatex-interpreter.py
+2021/08/07 | 27728 | systems/win32/miktex/tm/packages/next/miktex-uriparser-bin-2.9.tar.lzma
+2021/08/07 | 27696 | systems/win32/miktex/tm/packages/miktex-uriparser-bin-2.9.tar.lzma
+2021/08/07 | 27481 | systems/win32/miktex/tm/packages/miktex-makeindex-bin-2.9.tar.lzma
+2021/08/07 | 27392 | systems/win32/miktex/tm/packages/next/miktex-teckit-bin-x64-2.9.tar.lzma
+2021/08/07 | 27357 | systems/win32/miktex/tm/packages/next/miktex-makeindex-bin-2.9.tar.lzma
+2021/08/07 | 27351 | systems/win32/miktex/tm/packages/miktex-teckit-bin-x64-2.9.tar.lzma
+2021/08/07 | 27198 | systems/win32/miktex/tm/packages/next/miktex-bzip2-bin-2.9.tar.lzma
+2021/08/07 | 27177 | systems/win32/miktex/tm/packages/miktex-bzip2-bin-2.9.tar.lzma
+2021/08/07 | 271564 | macros/unicodetex/latex/nwafuthesis/nwafuthesis.dtx
+2021/08/07 | 2672609 | systems/win32/miktex/tm/packages/next/miktex-texworks-bin-2.9.tar.lzma
+2021/08/07 | 2671585 | systems/win32/miktex/tm/packages/miktex-texworks-bin-2.9.tar.lzma
+2021/08/07 | 263959 | systems/win32/miktex/tm/packages/next/miktex-console-bin-x64-2.9.tar.lzma
+2021/08/07 | 259736 | systems/texlive/tlnet/archive/huawei.r60177.tar.xz
+2021/08/07 | 258947 | systems/win32/miktex/tm/packages/miktex-freetype2-bin-2.9.tar.lzma
+2021/08/07 | 258880 | systems/win32/miktex/tm/packages/next/miktex-freetype2-bin-2.9.tar.lzma
+2021/08/07 | 25585299 | systems/texlive/tlnet/install-tl.zip
+2021/08/07 | 25291 | systems/win32/miktex/tm/packages/next/miktex-teckit-bin-2.9.tar.lzma
+2021/08/07 | 25281 | systems/win32/miktex/tm/packages/miktex-teckit-bin-2.9.tar.lzma
+2021/08/07 | 251703 | systems/win32/miktex/tm/packages/miktex-console-bin-2.9.tar.lzma
+2021/08/07 | 250263 | systems/win32/miktex/tm/packages/next/miktex-metapost-bin-2.9.tar.lzma
+2021/08/07 | 25020 | systems/win32/miktex/tm/packages/next/miktex-findtexmf-bin-2.9.tar.lzma
+2021/08/07 | 250124 | systems/win32/miktex/tm/packages/miktex-metapost-bin-2.9.tar.lzma
+2021/08/07 | 24997 | systems/win32/miktex/tm/packages/miktex-findtexmf-bin-2.9.tar.lzma
+2021/08/07 | 24995 | systems/win32/miktex/tm/packages/next/miktex-fribidixetex-bin-x64-2.9.tar.lzma
+2021/08/07 | 24969 | systems/win32/miktex/tm/packages/miktex-fribidixetex-bin-x64-2.9.tar.lzma
+2021/08/07 | 243436 | systems/win32/miktex/tm/packages/miktex-pmx-bin-x64-2.9.tar.lzma
+2021/08/07 | 243426 | systems/win32/miktex/tm/packages/next/miktex-pmx-bin-x64-2.9.tar.lzma
+2021/08/07 | 241811 | systems/win32/miktex/tm/packages/next/miktex-console-bin-2.9.tar.lzma
+2021/08/07 | 23902 | systems/win32/miktex/tm/packages/next/miktex-popt-bin-x64-2.9.tar.lzma
+2021/08/07 | 23871 | systems/win32/miktex/tm/packages/miktex-popt-bin-x64-2.9.tar.lzma
+2021/08/07 | 2337649 | macros/unicodetex/latex/nwafuthesis/nwafuthesis.pdf
+2021/08/07 | 23364 | systems/win32/miktex/tm/packages/next/miktex-devnag-bin-x64-2.9.tar.lzma
+2021/08/07 | 23341 | systems/win32/miktex/tm/packages/miktex-devnag-bin-x64-2.9.tar.lzma
+2021/08/07 | 233191 | systems/win32/miktex/tm/packages/next/miktex-zzdb1-2.9.tar.lzma
+2021/08/07 | 233157 | systems/win32/miktex/tm/packages/miktex-zzdb1-2.9.tar.lzma
+2021/08/07 | 2327344 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
+2021/08/07 | 22049 | systems/win32/miktex/tm/packages/next/miktex-fribidixetex-bin-2.9.tar.lzma
+2021/08/07 | 22021 | systems/win32/miktex/tm/packages/miktex-fribidixetex-bin-2.9.tar.lzma
+2021/08/07 | 2196 | systems/texlive/tlnet/archive/smart-eqn.r60178.tar.xz
+2021/08/07 | 215249 | systems/win32/miktex/tm/packages/next/miktex-metafont-bin-x64-2.9.tar.lzma
+2021/08/07 | 215210 | systems/win32/miktex/tm/packages/miktex-metafont-bin-x64-2.9.tar.lzma
+2021/08/07 | 21224 | systems/win32/miktex/tm/packages/next/miktex-devnag-bin-2.9.tar.lzma
+2021/08/07 | 21168 | systems/win32/miktex/tm/packages/miktex-devnag-bin-2.9.tar.lzma
+2021/08/07 | 20809140 | systems/texlive/tlnet/install-tl-windows.exe
+2021/08/07 | 208067 | systems/win32/miktex/tm/packages/miktex-pmx-bin-2.9.tar.lzma
+2021/08/07 | 208049 | systems/win32/miktex/tm/packages/next/miktex-pmx-bin-2.9.tar.lzma
+2021/08/07 | 206835 | systems/win32/miktex/tm/packages/miktex-omegaware-bin-x64-2.9.tar.lzma
+2021/08/07 | 206604 | systems/win32/miktex/tm/packages/next/miktex-omegaware-bin-x64-2.9.tar.lzma
+2021/08/07 | 202953 | systems/win32/miktex/tm/packages/miktex-pixman-bin-x64-2.9.tar.lzma
+2021/08/07 | 202795 | systems/win32/miktex/tm/packages/next/miktex-pixman-bin-x64-2.9.tar.lzma
+2021/08/07 | 20138 | systems/win32/miktex/tm/packages/next/miktex-popt-bin-2.9.tar.lzma
+2021/08/07 | 20119 | systems/win32/miktex/tm/packages/miktex-popt-bin-2.9.tar.lzma
+2021/08/07 | 2009904 | systems/win32/miktex/tm/packages/next/miktex-luatex-bin-x64-2.9.tar.lzma
+2021/08/07 | 199732 | systems/win32/miktex/tm/packages/next/miktex-mpfr-bin-2.9.tar.lzma
+2021/08/07 | 199582 | systems/win32/miktex/tm/packages/miktex-mpfr-bin-2.9.tar.lzma
+2021/08/07 | 1985987 | systems/win32/miktex/tm/packages/miktex-luatex-bin-x64-2.9.tar.lzma
+2021/08/07 | 198293 | systems/win32/miktex/tm/packages/miktex-pixman-bin-2.9.tar.lzma
+2021/08/07 | 198170 | systems/win32/miktex/tm/packages/next/miktex-pixman-bin-2.9.tar.lzma
+2021/08/07 | 197885 | macros/latex/contrib/projlib/ProjLib-doc-fr.pdf
+2021/08/07 | 196870 | systems/win32/miktex/tm/packages/next/miktex-metafont-bin-2.9.tar.lzma
+2021/08/07 | 196803 | systems/win32/miktex/tm/packages/miktex-metafont-bin-2.9.tar.lzma
+2021/08/07 | 196740 | systems/win32/miktex/tm/packages/next/miktex-mo-bin-x64-2.9.tar.lzma
+2021/08/07 | 196617 | systems/win32/miktex/tm/packages/miktex-mo-bin-x64-2.9.tar.lzma
+2021/08/07 | 195753 | macros/latex/contrib/projlib/ProjLib-doc-en.pdf
+2021/08/07 | 195636 | systems/win32/miktex/tm/packages/next/miktex-curl-bin-x64-2.9.tar.lzma
+2021/08/07 | 195609 | systems/win32/miktex/tm/packages/miktex-curl-bin-x64-2.9.tar.lzma
+2021/08/07 | 194382 | systems/win32/miktex/tm/packages/next/miktex-omegaware-bin-2.9.tar.lzma
+2021/08/07 | 194085 | systems/win32/miktex/tm/packages/miktex-omegaware-bin-2.9.tar.lzma
+2021/08/07 | 18176 | systems/win32/miktex/tm/packages/next/miktex-tex2xindy-bin-x64-2.9.tar.lzma
+2021/08/07 | 18133 | systems/win32/miktex/tm/packages/miktex-tex2xindy-bin-x64-2.9.tar.lzma
+2021/08/07 | 1810 | macros/luatex/latex/pyluatex/pyluatex.sty
+2021/08/07 | 1805 | macros/luatex/latex/pyluatex/README.md
+2021/08/07 | 180121 | systems/win32/miktex/tm/packages/next/miktex-mpfr-bin-x64-2.9.tar.lzma
+2021/08/07 | 180013 | systems/win32/miktex/tm/packages/next/miktex-curl-bin-2.9.tar.lzma
+2021/08/07 | 179953 | systems/win32/miktex/tm/packages/miktex-mpfr-bin-x64-2.9.tar.lzma
+2021/08/07 | 17981 | systems/win32/miktex/tm/packages/next/miktex-kpathsea-bin-x64-2.9.tar.lzma
+2021/08/07 | 179745 | systems/win32/miktex/tm/packages/miktex-curl-bin-2.9.tar.lzma
+2021/08/07 | 17969 | systems/win32/miktex/tm/packages/miktex-kpathsea-bin-x64-2.9.tar.lzma
+2021/08/07 | 178353 | systems/win32/miktex/tm/packages/next/miktex-mo-bin-2.9.tar.lzma
+2021/08/07 | 178262 | systems/win32/miktex/tm/packages/miktex-mo-bin-2.9.tar.lzma
+2021/08/07 | 17347736 | systems/texlive/tlnet/tlpkg/texlive.tlpdb
+2021/08/07 | 1729966 | systems/win32/miktex/tm/packages/miktex-luatex-bin-2.9.tar.lzma
+2021/08/07 | 1713894 | systems/win32/miktex/tm/packages/next/miktex-luatex-bin-2.9.tar.lzma
+2021/08/07 | 17040 | systems/texlive/tlnet/archive/easybook.source.r60176.tar.xz
+2021/08/07 | 16992 | systems/texlive/tlnet/archive/easybook.r60176.tar.xz
+2021/08/07 | 169295 | systems/win32/miktex/tm/packages/miktex-tex-bin-x64-2.9.tar.lzma
+2021/08/07 | 169242 | systems/win32/miktex/tm/packages/next/miktex-tex-bin-x64-2.9.tar.lzma
+2021/08/07 | 16447 | systems/win32/miktex/tm/packages/miktex-tex2xindy-bin-2.9.tar.lzma
+2021/08/07 | 16413 | systems/win32/miktex/tm/packages/next/miktex-tex2xindy-bin-2.9.tar.lzma
+2021/08/07 | 16357 | systems/win32/miktex/tm/packages/next/miktex-kpathsea-bin-2.9.tar.lzma
+2021/08/07 | 16313 | systems/win32/miktex/tm/packages/miktex-kpathsea-bin-2.9.tar.lzma
+2021/08/07 | 159583 | systems/win32/miktex/tm/packages/miktex-hunspell-bin-x64-2.9.tar.lzma
+2021/08/07 | 159580 | systems/win32/miktex/tm/packages/next/miktex-hunspell-bin-x64-2.9.tar.lzma
+2021/08/07 | 154806 | systems/win32/miktex/tm/packages/next/miktex-tex-bin-2.9.tar.lzma
+2021/08/07 | 154802 | systems/win32/miktex/tm/packages/miktex-tex-bin-2.9.tar.lzma
+2021/08/07 | 154550 | systems/win32/miktex/tm/packages/miktex-fontconfig-bin-x64-2.9.tar.lzma
+2021/08/07 | 154425 | systems/win32/miktex/tm/packages/next/miktex-fontconfig-bin-x64-2.9.tar.lzma
+2021/08/07 | 1542 | macros/unicodetex/latex/nwafuthesis/README.md
+2021/08/07 | 153 | systems/texlive/tlnet/install-tl-windows.exe.sha512
+2021/08/07 | 152 | systems/texlive/tlnet/install-tl-unx.tar.gz.sha512
+2021/08/07 | 147542 | systems/win32/miktex/tm/packages/miktex-hunspell-bin-2.9.tar.lzma
+2021/08/07 | 147372 | systems/win32/miktex/tm/packages/next/miktex-hunspell-bin-2.9.tar.lzma
+2021/08/07 | 1465793 | systems/win32/miktex/tm/packages/miktex-runtime-bin-x64-2.9.tar.lzma
+2021/08/07 | 1464203 | systems/win32/miktex/tm/packages/next/miktex-runtime-bin-x64-2.9.tar.lzma
+2021/08/07 | 145 | systems/texlive/tlnet/install-tl.zip.sha512
+2021/08/07 | 144 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
+2021/08/07 | 14350 | systems/win32/miktex/tm/packages/next/miktex-zzip-bin-x64-2.9.tar.lzma
+2021/08/07 | 14327 | systems/win32/miktex/tm/packages/miktex-zzip-bin-x64-2.9.tar.lzma
+2021/08/07 | 1421868 | systems/win32/miktex/tm/packages/next/miktex-dvisvgm-bin-x64-2.9.tar.lzma
+2021/08/07 | 1416524 | systems/win32/miktex/tm/packages/miktex-dvisvgm-bin-x64-2.9.tar.lzma
+2021/08/07 | 136821 | systems/win32/miktex/tm/packages/next/miktex-mktex-bin-x64-2.9.tar.lzma
+2021/08/07 | 136817 | systems/win32/miktex/tm/packages/next/miktex-fontconfig-bin-2.9.tar.lzma
+2021/08/07 | 136496 | systems/win32/miktex/tm/packages/miktex-fontconfig-bin-2.9.tar.lzma
+2021/08/07 | 136429 | systems/win32/miktex/tm/packages/miktex-mktex-bin-x64-2.9.tar.lzma
+2021/08/07 | 13464 | systems/win32/miktex/tm/packages/next/miktex-zzip-bin-2.9.tar.lzma
+2021/08/07 | 13446 | systems/win32/miktex/tm/packages/miktex-zzip-bin-2.9.tar.lzma
+2021/08/07 | 1342256 | systems/win32/miktex/tm/packages/miktex-runtime-bin-2.9.tar.lzma
+2021/08/07 | 1340930 | systems/win32/miktex/tm/packages/next/miktex-runtime-bin-2.9.tar.lzma
+2021/08/07 | 133872 | systems/win32/miktex/tm/packages/miktex-dvips-bin-x64-2.9.tar.lzma
+2021/08/07 | 133863 | systems/win32/miktex/tm/packages/next/miktex-dvips-bin-x64-2.9.tar.lzma
+2021/08/07 | 1322973 | systems/win32/miktex/tm/packages/miktex-zzdb2-2.9.tar.lzma
+2021/08/07 | 1322116 | systems/win32/miktex/tm/packages/next/miktex-zzdb2-2.9.tar.lzma
+2021/08/07 | 1301693 | systems/win32/miktex/tm/packages/miktex-poppler-bin-x64-2.9.tar.lzma
+2021/08/07 | 1301192 | systems/win32/miktex/tm/packages/next/miktex-poppler-bin-x64-2.9.tar.lzma
+2021/08/07 | 1291299 | systems/win32/miktex/tm/packages/next/miktex-dvisvgm-bin-2.9.tar.lzma
+2021/08/07 | 1288660 | systems/win32/miktex/tm/packages/miktex-dvisvgm-bin-2.9.tar.lzma
+2021/08/07 | 124437 | systems/win32/miktex/tm/packages/miktex-mktex-bin-2.9.tar.lzma
+2021/08/07 | 124282 | systems/win32/miktex/tm/packages/next/miktex-mktex-bin-2.9.tar.lzma
+2021/08/07 | 1229559 | systems/win32/miktex/tm/packages/miktex-zzdb3-2.9.tar.lzma
+2021/08/07 | 1229098 | systems/win32/miktex/tm/packages/next/miktex-zzdb3-2.9.tar.lzma
+2021/08/07 | 119904 | systems/win32/miktex/tm/packages/miktex-dvips-bin-2.9.tar.lzma
+2021/08/07 | 119820 | systems/win32/miktex/tm/packages/next/miktex-dvips-bin-2.9.tar.lzma
+2021/08/07 | 11796 | macros/luatex/latex/pyluatex/pyluatex.tex
+2021/08/07 | 1169717 | systems/win32/miktex/tm/packages/next/miktex-poppler-bin-2.9.tar.lzma
+2021/08/07 | 1169691 | systems/win32/miktex/tm/packages/miktex-poppler-bin-2.9.tar.lzma
+2021/08/07 | 1155 | systems/win32/miktex/tm/packages/pr.ini
+2021/08/07 | 115576 | systems/win32/miktex/tm/packages/miktex-gregorio-bin-x64-2.9.tar.lzma
+2021/08/07 | 1153 | systems/win32/miktex/tm/packages/next/pr.ini
+2021/08/07 | 115351 | systems/win32/miktex/tm/packages/next/miktex-gregorio-bin-x64-2.9.tar.lzma
+2021/08/07 | 112983 | systems/win32/miktex/tm/packages/next/miktex-epstopdf-bin-x64-2.9.tar.lzma
+2021/08/07 | 112772 | systems/win32/miktex/tm/packages/miktex-epstopdf-bin-x64-2.9.tar.lzma
+2021/08/07 | 112220 | systems/win32/miktex/tm/packages/miktex-gd-bin-x64-2.9.tar.lzma
+2021/08/07 | 112087 | systems/win32/miktex/tm/packages/next/miktex-gd-bin-x64-2.9.tar.lzma
+2021/08/07 | 109034 | systems/win32/miktex/tm/packages/miktex-jpeg-bin-x64-2.9.tar.lzma
+2021/08/07 | 109030 | systems/win32/miktex/tm/packages/next/miktex-jpeg-bin-x64-2.9.tar.lzma
+2021/08/07 | 108276 | systems/texlive/tlnet/archive/texlive-scripts.r60174.tar.xz
+2021/08/07 | 1077990 | systems/win32/miktex/tm/packages/next/miktex-asymptote-bin-x64-2.9.tar.lzma
+2021/08/07 | 1076749 | systems/win32/miktex/tm/packages/miktex-asymptote-bin-x64-2.9.tar.lzma
+2021/08/07 | 105224 | systems/win32/miktex/tm/packages/next/miktex-texware-bin-x64-2.9.tar.lzma
+2021/08/07 | 104968 | systems/win32/miktex/tm/packages/miktex-texware-bin-x64-2.9.tar.lzma
+2021/08/07 | 103645 | systems/win32/miktex/tm/packages/miktex-mfware-bin-x64-2.9.tar.lzma
+2021/08/07 | 103428 | systems/win32/miktex/tm/packages/miktex-lua53-bin-x64-2.9.tar.lzma
+2021/08/07 | 103399 | systems/win32/miktex/tm/packages/next/miktex-lua53-bin-x64-2.9.tar.lzma
+2021/08/07 | 103204 | systems/win32/miktex/tm/packages/next/miktex-mfware-bin-x64-2.9.tar.lzma
+2021/08/07 | 100625 | systems/win32/miktex/tm/packages/next/miktex-epstopdf-bin-2.9.tar.lzma
+2021/08/07 | 100477 | systems/win32/miktex/tm/packages/miktex-epstopdf-bin-2.9.tar.lzma
+2021/08/06 | 9824 | graphics/pgf/contrib/tikzlings/tikzlings-hippos.sty
+2021/08/06 | 9583 | graphics/pgf/contrib/tikzlings/tikzlings-bees.sty
+2021/08/06 | 958166 | install/macros/generic/markdown.tds.zip
+2021/08/06 | 9467 | graphics/pgf/contrib/tikzlings/tikzlings-elephants.sty
+2021/08/06 | 9414 | macros/generic/markdown/README.md
+2021/08/06 | 9215 | graphics/pgf/contrib/tikzlings/tikzlings-owls.sty
+2021/08/06 | 9108 | macros/generic/markdown/markdown.md
2021/08/06 | 89763 | macros/latex/contrib/smart-eqn.zip
-2021/08/06 | 87777 | systems/win32/miktex/tm/packages/next/miktex-png-bin-x64-2.9.tar.lzma
-2021/08/06 | 8768 | systems/win32/miktex/tm/packages/next/miktex-md5-bin-x64-2.9.tar.lzma
+2021/08/06 | 8582 | graphics/pgf/contrib/tikzlings/tikzlings-bears.sty
+2021/08/06 | 8561 | graphics/pgf/contrib/tikzlings/tikzlings-pandas.sty
2021/08/06 | 85510 | macros/latex/contrib/smart-eqn/smart-eqn.pdf
-2021/08/06 | 83542 | systems/win32/miktex/tm/packages/next/miktex-bibtex8bit-bin-2.9.tar.lzma
-2021/08/06 | 815242 | systems/win32/miktex/tm/packages/next/miktex-pdftex-bin-x64-2.9.tar.lzma
2021/08/06 | 8141 | macros/latex/contrib/huawei/huawei.tex
-2021/08/06 | 80448 | systems/win32/miktex/tm/packages/next/miktex-freeglut-bin-x64-2.9.tar.lzma
-2021/08/06 | 78775 | systems/win32/miktex/tm/packages/next/miktex-png-bin-2.9.tar.lzma
-2021/08/06 | 78560 | macros/latex/contrib/easybook/easybook.dtx
-2021/08/06 | 78146 | macros/latex/contrib/easybook/easybook.tex
-2021/08/06 | 77951 | systems/win32/miktex/tm/packages/next/miktex-fonts-bin-x64-2.9.tar.lzma
-2021/08/06 | 7721 | systems/win32/miktex/tm/packages/next/miktex-md5-bin-2.9.tar.lzma
-2021/08/06 | 76826 | systems/win32/miktex/tm/packages/next/miktex-mpmcli-bin-x64-2.9.tar.lzma
-2021/08/06 | 75792 | systems/win32/miktex/tm/packages/next/miktex-bibtex-bin-x64-2.9.tar.lzma
-2021/08/06 | 744116 | systems/win32/miktex/tm/packages/next/miktex-pdftex-bin-2.9.tar.lzma
-2021/08/06 | 74211 | systems/win32/miktex/tm/packages/next/miktex-lzma-bin-x64-2.9.tar.lzma
-2021/08/06 | 73196 | systems/win32/miktex/tm/packages/next/miktex-fonts-bin-2.9.tar.lzma
-2021/08/06 | 73147 | systems/win32/miktex/tm/packages/next/miktex-graphite2-bin-x64-2.9.tar.lzma
-2021/08/06 | 72206 | systems/win32/miktex/tm/packages/next/miktex-ps2pk-bin-x64-2.9.tar.lzma
-2021/08/06 | 71669 | systems/win32/miktex/tm/packages/next/miktex-freeglut-bin-2.9.tar.lzma
-2021/08/06 | 70648 | systems/win32/miktex/tm/packages/next/miktex-web-bin-x64-2.9.tar.lzma
-2021/08/06 | 69914 | systems/win32/miktex/tm/packages/next/miktex-tex4ht-bin-x64-2.9.tar.lzma
-2021/08/06 | 681254 | systems/win32/miktex/tm/packages/next/miktex-lcdf-typetools-bin-x64-2.9.tar.lzma
-2021/08/06 | 6811270 | systems/texlive/tlnet/install-tl-unx.tar.gz
-2021/08/06 | 68024 | systems/win32/miktex/tm/packages/next/miktex-mkfntmap-bin-x64-2.9.tar.lzma
-2021/08/06 | 67820 | systems/win32/miktex/tm/packages/next/miktex-bibtex-bin-2.9.tar.lzma
-2021/08/06 | 67619 | systems/win32/miktex/tm/packages/next/miktex-lzma-bin-2.9.tar.lzma
-2021/08/06 | 67481 | systems/win32/miktex/tm/packages/next/miktex-mpmcli-bin-2.9.tar.lzma
-2021/08/06 | 65786 | systems/win32/miktex/tm/packages/next/miktex-texify-bin-x64-2.9.tar.lzma
-2021/08/06 | 65620 | systems/win32/miktex/tm/packages/next/miktex-web-bin-2.9.tar.lzma
-2021/08/06 | 64426 | systems/win32/miktex/tm/packages/next/miktex-graphite2-bin-2.9.tar.lzma
-2021/08/06 | 6420 | systems/texlive/tlnet/archive/collection-latexextra.r60171.tar.xz
-2021/08/06 | 64185 | systems/win32/miktex/tm/packages/next/miktex-ps2pk-bin-2.9.tar.lzma
-2021/08/06 | 63777 | systems/win32/miktex/tm/packages/next/miktex-tex4ht-bin-2.9.tar.lzma
+2021/08/06 | 75 | macros/generic/markdown/examples/scientists.csv
+2021/08/06 | 686153 | graphics/pgf/contrib/tikzlings/tikzlings-doc.pdf
+2021/08/06 | 6836 | systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl
+2021/08/06 | 653 | graphics/pgf/contrib/tikzlings/tikzlings-list.sty
2021/08/06 | 62956 | systems/texlive/tlnet/archive/nwafuthesis.source.r60172.tar.xz
-2021/08/06 | 629400 | systems/win32/miktex/tm/packages/next/miktex-lcdf-typetools-bin-2.9.tar.lzma
-2021/08/06 | 62786 | systems/win32/miktex/tm/packages/next/miktex-fmt-bin-x64-2.9.tar.lzma
-2021/08/06 | 624652 | systems/win32/miktex/tm/packages/next/miktex-yap-bin-x64-2.9.tar.lzma
-2021/08/06 | 624265 | macros/latex/contrib/easybook.zip
-2021/08/06 | 62229 | systems/win32/miktex/tm/packages/next/miktex-ttf2pk2-bin-x64-2.9.tar.lzma
-2021/08/06 | 61813 | systems/win32/miktex/tm/packages/next/miktex-cweb-bin-x64-2.9.tar.lzma
-2021/08/06 | 60637 | systems/win32/miktex/tm/packages/next/miktex-mkfntmap-bin-2.9.tar.lzma
+2021/08/06 | 627901 | macros/generic/markdown/markdown.pdf
2021/08/06 | 604627 | macros/latex/contrib/huawei.zip
-2021/08/06 | 60039 | systems/win32/miktex/tm/packages/next/miktex-tdsutil-bin-x64.tar.lzma
-2021/08/06 | 596929 | systems/win32/miktex/tm/packages/next/miktex-libressl-bin-x64-2.9.tar.lzma
-2021/08/06 | 591262 | systems/win32/miktex/tm/packages/files.csv.lzma
-2021/08/06 | 590772 | systems/win32/miktex/tm/packages/next/files.csv.lzma
-2021/08/06 | 589841 | systems/win32/miktex/tm/packages/next/miktex-yap-bin-2.9.tar.lzma
-2021/08/06 | 583938 | macros/latex/contrib/easybook/easybook.pdf
-2021/08/06 | 57729 | systems/win32/miktex/tm/packages/next/miktex-psutils-bin-x64-2.9.tar.lzma
-2021/08/06 | 57548 | systems/win32/miktex/tm/packages/next/miktex-bibarts-bin-x64-2.9.tar.lzma
-2021/08/06 | 57139 | systems/win32/miktex/tm/packages/next/miktex-xml2pmx-bin-x64.tar.lzma
-2021/08/06 | 57013 | systems/win32/miktex/tm/packages/next/miktex-texify-bin-2.9.tar.lzma
-2021/08/06 | 56686 | systems/win32/miktex/tm/packages/next/miktex-cjkutils-bin-x64-2.9.tar.lzma
-2021/08/06 | 566528 | systems/win32/miktex/tm/packages/next/miktex-harfbuzz-bin-x64-2.9.tar.lzma
-2021/08/06 | 56513 | systems/win32/miktex/tm/packages/next/miktex-tdsutil-bin.tar.lzma
-2021/08/06 | 56475 | systems/win32/miktex/tm/packages/next/miktex-arctrl-bin-x64-2.9.tar.lzma
-2021/08/06 | 56357 | systems/win32/miktex/tm/packages/next/miktex-ttf2pk2-bin-2.9.tar.lzma
-2021/08/06 | 56317 | systems/win32/miktex/tm/packages/next/miktex-fmt-bin-2.9.tar.lzma
-2021/08/06 | 55499 | systems/win32/miktex/tm/packages/next/miktex-xml2pmx-bin.tar.lzma
-2021/08/06 | 54632 | systems/win32/miktex/tm/packages/next/miktex-cweb-bin-2.9.tar.lzma
-2021/08/06 | 531849 | systems/win32/miktex/tm/packages/next/miktex-libressl-bin-2.9.tar.lzma
-2021/08/06 | 52523 | systems/win32/miktex/tm/packages/next/miktex-m-tx-bin-x64-2.9.tar.lzma
-2021/08/06 | 51750 | systems/win32/miktex/tm/packages/next/miktex-synctex-bin-x64-2.9.tar.lzma
-2021/08/06 | 51309 | systems/win32/miktex/tm/packages/next/miktex-cjkutils-bin-2.9.tar.lzma
-2021/08/06 | 51201 | systems/win32/miktex/tm/packages/next/miktex-dvicopy-bin-x64-2.9.tar.lzma
-2021/08/06 | 51112 | systems/win32/miktex/tm/packages/next/miktex-arctrl-bin-2.9.tar.lzma
-2021/08/06 | 510586 | systems/win32/miktex/tm/packages/next/miktex-log4cxx-bin-x64-2.9.tar.lzma
-2021/08/06 | 50395 | systems/win32/miktex/tm/packages/next/miktex-psutils-bin-2.9.tar.lzma
+2021/08/06 | 595079 | macros/generic/markdown/markdown.html
+2021/08/06 | 518773 | macros/generic/markdown/markdown.dtx
2021/08/06 | 5036 | systems/texlive/tlnet/archive/zref-check.r60171.tar.xz
-2021/08/06 | 50152 | systems/win32/miktex/tm/packages/next/miktex-bibarts-bin-2.9.tar.lzma
-2021/08/06 | 48 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.md5
-2021/08/06 | 483653 | systems/win32/miktex/tm/packages/next/miktex-harfbuzz-bin-2.9.tar.lzma
-2021/08/06 | 48253 | systems/win32/miktex/tm/packages/next/miktex-expat-bin-x64-2.9.tar.lzma
-2021/08/06 | 476918 | systems/win32/miktex/tm/packages/next/miktex-log4cxx-bin-2.9.tar.lzma
-2021/08/06 | 46906 | systems/win32/miktex/tm/packages/next/miktex-mtprint-bin-x64-2.9.tar.lzma
-2021/08/06 | 461813 | systems/win32/miktex/tm/packages/next/miktex-doc.tar.lzma
-2021/08/06 | 45970 | systems/win32/miktex/tm/packages/next/miktex-m-tx-bin-2.9.tar.lzma
-2021/08/06 | 45905 | systems/win32/miktex/tm/packages/next/miktex-dvicopy-bin-2.9.tar.lzma
-2021/08/06 | 455 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
-2021/08/06 | 455 | systems/texlive/tlnet/install-tl.zip.sha512.asc
-2021/08/06 | 455 | systems/texlive/tlnet/install-tl-windows.exe.sha512.asc
-2021/08/06 | 455 | systems/texlive/tlnet/install-tl-unx.tar.gz.sha512.asc
-2021/08/06 | 45311 | systems/win32/miktex/tm/packages/next/miktex-dvipng-bin-x64-2.9.tar.lzma
-2021/08/06 | 43426 | systems/win32/miktex/tm/packages/next/miktex-zlib-bin-x64-2.9.tar.lzma
+2021/08/06 | 4530 | macros/generic/markdown/markdown.css
+2021/08/06 | 4485 | macros/generic/markdown/docstrip.cfg
2021/08/06 | 43312 | systems/texlive/tlnet/archive/tuda-ci.r60170.tar.xz
-2021/08/06 | 43029 | systems/win32/miktex/tm/packages/next/miktex-expat-bin-2.9.tar.lzma
-2021/08/06 | 43003 | systems/win32/miktex/tm/packages/next/miktex-gsf2pk-bin-x64-2.9.tar.lzma
-2021/08/06 | 42891 | systems/win32/miktex/tm/packages/next/miktex-mtprint-bin-2.9.tar.lzma
-2021/08/06 | 42711 | systems/win32/miktex/tm/packages/next/miktex-mthelp-bin-x64-2.9.tar.lzma
-2021/08/06 | 42385 | systems/win32/miktex/tm/packages/next/miktex-synctex-bin-2.9.tar.lzma
-2021/08/06 | 41193 | systems/win32/miktex/tm/packages/next/miktex-dvipng-bin-2.9.tar.lzma
+2021/08/06 | 43222 | graphics/pgf/contrib/tikzlings/tikzlings-addons.sty
2021/08/06 | 403 | macros/latex/contrib/huawei/DEPENDS.txt
-2021/08/06 | 40229 | systems/win32/miktex/tm/packages/next/miktex-patgen-bin-x64.tar.lzma
-2021/08/06 | 399060 | systems/texlive/tlnet/archive/texlive-scripts.doc.r60169.tar.xz
-2021/08/06 | 392794 | systems/win32/miktex/tm/packages/next/miktex-cairo-bin-x64-2.9.tar.lzma
-2021/08/06 | 39128 | systems/win32/miktex/tm/packages/next/miktex-zlib-bin-2.9.tar.lzma
-2021/08/06 | 38141 | systems/win32/miktex/tm/packages/next/miktex-gsf2pk-bin-2.9.tar.lzma
-2021/08/06 | 37806 | systems/win32/miktex/tm/packages/next/miktex-mthelp-bin-2.9.tar.lzma
-2021/08/06 | 37359 | systems/win32/miktex/tm/packages/next/miktex-upmendex-bin-x64.tar.lzma
-2021/08/06 | 37242 | systems/win32/miktex/tm/packages/next/miktex-posix-bin-x64-2.9.tar.lzma
-2021/08/06 | 36628 | systems/win32/miktex/tm/packages/next/miktex-chktex-bin-x64-2.9.tar.lzma
-2021/08/06 | 35692 | systems/win32/miktex/tm/packages/next/miktex-patgen-bin.tar.lzma
-2021/08/06 | 35087 | systems/win32/miktex/tm/packages/next/miktex-mspack-bin-x64-2.9.tar.lzma
-2021/08/06 | 34664 | systems/win32/miktex/tm/packages/next/miktex-axohelp-bin-x64-2.9.tar.lzma
-2021/08/06 | 345738 | systems/win32/miktex/tm/packages/next/miktex-xetex-bin-x64-2.9.tar.lzma
+2021/08/06 | 3383 | graphics/pgf/contrib/tikzlings/tikzlings.sty
2021/08/06 | 336961 | macros/latex/contrib/huawei/huawei.pdf
-2021/08/06 | 33633 | systems/win32/miktex/tm/packages/next/miktex-uriparser-bin-x64-2.9.tar.lzma
-2021/08/06 | 33545 | systems/win32/miktex/tm/packages/next/miktex-upmendex-bin.tar.lzma
-2021/08/06 | 330787 | systems/win32/miktex/tm/packages/next/miktex-cairo-bin-2.9.tar.lzma
-2021/08/06 | 32674 | systems/win32/miktex/tm/packages/next/miktex-chktex-bin-2.9.tar.lzma
-2021/08/06 | 325043 | systems/win32/miktex/tm/packages/next/miktex-dvipdfmx-bin-x64-2.9.tar.lzma
-2021/08/06 | 31620 | systems/win32/miktex/tm/packages/next/miktex-makeindex-bin-x64-2.9.tar.lzma
-2021/08/06 | 31536 | systems/win32/miktex/tm/packages/next/miktex-posix-bin-2.9.tar.lzma
-2021/08/06 | 31352 | systems/win32/miktex/tm/packages/next/miktex-autosp-bin-x64-2.9.tar.lzma
-2021/08/06 | 31231 | systems/win32/miktex/tm/packages/next/miktex-mspack-bin-2.9.tar.lzma
-2021/08/06 | 312108 | systems/win32/miktex/tm/packages/next/miktex-xetex-bin-2.9.tar.lzma
-2021/08/06 | 30824 | systems/win32/miktex/tm/packages/next/miktex-bzip2-bin-x64-2.9.tar.lzma
-2021/08/06 | 30057 | systems/win32/miktex/tm/packages/next/miktex-lacheck-bin-x64-2.9.tar.lzma
-2021/08/06 | 29841 | systems/win32/miktex/tm/packages/next/miktex-axohelp-bin-2.9.tar.lzma
-2021/08/06 | 295206 | systems/win32/miktex/tm/packages/next/miktex-freetype2-bin-x64-2.9.tar.lzma
-2021/08/06 | 29037 | systems/win32/miktex/tm/packages/next/miktex-autosp-bin-2.9.tar.lzma
-2021/08/06 | 284580 | systems/win32/miktex/tm/packages/next/miktex-dvipdfmx-bin-2.9.tar.lzma
-2021/08/06 | 284025 | systems/win32/miktex/tm/packages/next/miktex-metapost-bin-x64-2.9.tar.lzma
-2021/08/06 | 28390 | systems/win32/miktex/tm/packages/next/miktex-lacheck-bin-2.9.tar.lzma
-2021/08/06 | 28180 | systems/win32/miktex/tm/packages/next/miktex-findtexmf-bin-x64-2.9.tar.lzma
-2021/08/06 | 2796726 | systems/win32/miktex/tm/packages/next/miktex-texworks-bin-x64-2.9.tar.lzma
-2021/08/06 | 27728 | systems/win32/miktex/tm/packages/next/miktex-uriparser-bin-2.9.tar.lzma
-2021/08/06 | 27388 | systems/win32/miktex/tm/packages/next/miktex-teckit-bin-x64-2.9.tar.lzma
-2021/08/06 | 27358 | systems/win32/miktex/tm/packages/next/miktex-makeindex-bin-2.9.tar.lzma
-2021/08/06 | 27199 | systems/win32/miktex/tm/packages/next/miktex-bzip2-bin-2.9.tar.lzma
-2021/08/06 | 2672607 | systems/win32/miktex/tm/packages/next/miktex-texworks-bin-2.9.tar.lzma
-2021/08/06 | 263959 | systems/win32/miktex/tm/packages/next/miktex-console-bin-x64-2.9.tar.lzma
-2021/08/06 | 258881 | systems/win32/miktex/tm/packages/next/miktex-freetype2-bin-2.9.tar.lzma
-2021/08/06 | 25585316 | systems/texlive/tlnet/install-tl.zip
+2021/08/06 | 2921 | macros/generic/markdown/examples/example.md
2021/08/06 | 253724 | macros/latex/contrib/huawei/huawei-cover-picture.pdf
-2021/08/06 | 25291 | systems/win32/miktex/tm/packages/next/miktex-teckit-bin-2.9.tar.lzma
-2021/08/06 | 250265 | systems/win32/miktex/tm/packages/next/miktex-metapost-bin-2.9.tar.lzma
-2021/08/06 | 25020 | systems/win32/miktex/tm/packages/next/miktex-findtexmf-bin-2.9.tar.lzma
-2021/08/06 | 24995 | systems/win32/miktex/tm/packages/next/miktex-fribidixetex-bin-x64-2.9.tar.lzma
-2021/08/06 | 243426 | systems/win32/miktex/tm/packages/next/miktex-pmx-bin-x64-2.9.tar.lzma
-2021/08/06 | 241812 | systems/win32/miktex/tm/packages/next/miktex-console-bin-2.9.tar.lzma
-2021/08/06 | 23902 | systems/win32/miktex/tm/packages/next/miktex-popt-bin-x64-2.9.tar.lzma
-2021/08/06 | 23364 | systems/win32/miktex/tm/packages/next/miktex-devnag-bin-x64-2.9.tar.lzma
-2021/08/06 | 233198 | systems/win32/miktex/tm/packages/next/miktex-zzdb1-2.9.tar.lzma
-2021/08/06 | 233191 | systems/win32/miktex/tm/packages/miktex-zzdb1-2.9.tar.lzma
-2021/08/06 | 2327548 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
-2021/08/06 | 22049 | systems/win32/miktex/tm/packages/next/miktex-fribidixetex-bin-2.9.tar.lzma
2021/08/06 | 216 | macros/latex/contrib/smart-eqn/README.md
2021/08/06 | 21596 | systems/texlive/tlnet/archive/nwafuthesis.r60172.tar.xz
-2021/08/06 | 215249 | systems/win32/miktex/tm/packages/next/miktex-metafont-bin-x64-2.9.tar.lzma
-2021/08/06 | 21225 | systems/win32/miktex/tm/packages/next/miktex-devnag-bin-2.9.tar.lzma
-2021/08/06 | 20811067 | systems/texlive/tlnet/install-tl-windows.exe
-2021/08/06 | 208049 | systems/win32/miktex/tm/packages/next/miktex-pmx-bin-2.9.tar.lzma
-2021/08/06 | 206604 | systems/win32/miktex/tm/packages/next/miktex-omegaware-bin-x64-2.9.tar.lzma
+2021/08/06 | 20748 | graphics/pgf/contrib/tikzlings/tikzlings-doc.tex
2021/08/06 | 2057 | macros/latex/contrib/huawei/samples/huawei-charter.tex
-2021/08/06 | 202796 | systems/win32/miktex/tm/packages/next/miktex-pixman-bin-x64-2.9.tar.lzma
-2021/08/06 | 20137 | systems/win32/miktex/tm/packages/next/miktex-popt-bin-2.9.tar.lzma
-2021/08/06 | 2009905 | systems/win32/miktex/tm/packages/next/miktex-luatex-bin-x64-2.9.tar.lzma
-2021/08/06 | 199732 | systems/win32/miktex/tm/packages/next/miktex-mpfr-bin-2.9.tar.lzma
-2021/08/06 | 198170 | systems/win32/miktex/tm/packages/next/miktex-pixman-bin-2.9.tar.lzma
-2021/08/06 | 196873 | systems/win32/miktex/tm/packages/next/miktex-metafont-bin-2.9.tar.lzma
-2021/08/06 | 196740 | systems/win32/miktex/tm/packages/next/miktex-mo-bin-x64-2.9.tar.lzma
-2021/08/06 | 195635 | systems/win32/miktex/tm/packages/next/miktex-curl-bin-x64-2.9.tar.lzma
2021/08/06 | 1947 | macros/latex/contrib/huawei/samples/huawei-cfp.tex
-2021/08/06 | 194382 | systems/win32/miktex/tm/packages/next/miktex-omegaware-bin-2.9.tar.lzma
2021/08/06 | 18644 | systems/texlive/tlnet/archive/zref-check.source.r60171.tar.xz
-2021/08/06 | 18175 | systems/win32/miktex/tm/packages/next/miktex-tex2xindy-bin-x64-2.9.tar.lzma
-2021/08/06 | 180120 | systems/win32/miktex/tm/packages/next/miktex-mpfr-bin-x64-2.9.tar.lzma
-2021/08/06 | 180009 | systems/win32/miktex/tm/packages/next/miktex-curl-bin-2.9.tar.lzma
-2021/08/06 | 17980 | systems/win32/miktex/tm/packages/next/miktex-kpathsea-bin-x64-2.9.tar.lzma
-2021/08/06 | 178353 | systems/win32/miktex/tm/packages/next/miktex-mo-bin-2.9.tar.lzma
+2021/08/06 | 17893 | graphics/pgf/contrib/tikzlings/tikzlings-chickens.sty
+2021/08/06 | 17503 | graphics/pgf/contrib/tikzlings/tikzlings-sloths.sty
2021/08/06 | 17466 | macros/latex/contrib/huawei/huawei.cls
-2021/08/06 | 17346861 | systems/texlive/tlnet/tlpkg/texlive.tlpdb
-2021/08/06 | 1713894 | systems/win32/miktex/tm/packages/next/miktex-luatex-bin-2.9.tar.lzma
+2021/08/06 | 17294 | graphics/pgf/contrib/tikzlings/tikzlings-cats.sty
2021/08/06 | 17123 | macros/latex/contrib/smart-eqn/smart-eqn.dtx
-2021/08/06 | 169242 | systems/win32/miktex/tm/packages/next/miktex-tex-bin-x64-2.9.tar.lzma
2021/08/06 | 1684136 | systems/texlive/tlnet/archive/nwafuthesis.doc.r60172.tar.xz
-2021/08/06 | 16413 | systems/win32/miktex/tm/packages/next/miktex-tex2xindy-bin-2.9.tar.lzma
-2021/08/06 | 16356 | systems/win32/miktex/tm/packages/next/miktex-kpathsea-bin-2.9.tar.lzma
-2021/08/06 | 159579 | systems/win32/miktex/tm/packages/next/miktex-hunspell-bin-x64-2.9.tar.lzma
+2021/08/06 | 15747 | graphics/pgf/contrib/tikzlings/tikzlings-coatis.sty
2021/08/06 | 1560 | systems/texlive/tlnet/archive/collection-publishers.r60172.tar.xz
-2021/08/06 | 154806 | systems/win32/miktex/tm/packages/next/miktex-tex-bin-2.9.tar.lzma
-2021/08/06 | 154426 | systems/win32/miktex/tm/packages/next/miktex-fontconfig-bin-x64-2.9.tar.lzma
-2021/08/06 | 153 | systems/texlive/tlnet/install-tl-windows.exe.sha512
-2021/08/06 | 152 | systems/texlive/tlnet/install-tl-unx.tar.gz.sha512
2021/08/06 | 1497 | macros/latex/contrib/huawei/README.md
-2021/08/06 | 147373 | systems/win32/miktex/tm/packages/next/miktex-hunspell-bin-2.9.tar.lzma
-2021/08/06 | 1464204 | systems/win32/miktex/tm/packages/next/miktex-runtime-bin-x64-2.9.tar.lzma
2021/08/06 | 1461 | macros/latex/contrib/huawei/samples/huawei-main.bib
-2021/08/06 | 145 | systems/texlive/tlnet/install-tl.zip.sha512
-2021/08/06 | 144 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
-2021/08/06 | 14348 | systems/win32/miktex/tm/packages/next/miktex-zzip-bin-x64-2.9.tar.lzma
-2021/08/06 | 1421868 | systems/win32/miktex/tm/packages/next/miktex-dvisvgm-bin-x64-2.9.tar.lzma
-2021/08/06 | 136821 | systems/win32/miktex/tm/packages/next/miktex-mktex-bin-x64-2.9.tar.lzma
-2021/08/06 | 136818 | systems/win32/miktex/tm/packages/next/miktex-fontconfig-bin-2.9.tar.lzma
-2021/08/06 | 13465 | systems/win32/miktex/tm/packages/next/miktex-zzip-bin-2.9.tar.lzma
-2021/08/06 | 1340931 | systems/win32/miktex/tm/packages/next/miktex-runtime-bin-2.9.tar.lzma
-2021/08/06 | 133864 | systems/win32/miktex/tm/packages/next/miktex-dvips-bin-x64-2.9.tar.lzma
-2021/08/06 | 1323201 | systems/win32/miktex/tm/packages/next/miktex-zzdb2-2.9.tar.lzma
-2021/08/06 | 1323080 | systems/win32/miktex/tm/packages/miktex-zzdb2-2.9.tar.lzma
-2021/08/06 | 1301193 | systems/win32/miktex/tm/packages/next/miktex-poppler-bin-x64-2.9.tar.lzma
-2021/08/06 | 1291299 | systems/win32/miktex/tm/packages/next/miktex-dvisvgm-bin-2.9.tar.lzma
-2021/08/06 | 124282 | systems/win32/miktex/tm/packages/next/miktex-mktex-bin-2.9.tar.lzma
-2021/08/06 | 1230160 | systems/win32/miktex/tm/packages/next/miktex-zzdb3-2.9.tar.lzma
-2021/08/06 | 1230005 | systems/win32/miktex/tm/packages/miktex-zzdb3-2.9.tar.lzma
-2021/08/06 | 119822 | systems/win32/miktex/tm/packages/next/miktex-dvips-bin-2.9.tar.lzma
-2021/08/06 | 1169716 | systems/win32/miktex/tm/packages/next/miktex-poppler-bin-2.9.tar.lzma
-2021/08/06 | 1153 | systems/win32/miktex/tm/packages/next/pr.ini
-2021/08/06 | 115350 | systems/win32/miktex/tm/packages/next/miktex-gregorio-bin-x64-2.9.tar.lzma
+2021/08/06 | 14308 | graphics/pgf/contrib/tikzlings/tikzlings-marmots.sty
+2021/08/06 | 140951 | macros/generic/markdown/banner.png
+2021/08/06 | 13134 | graphics/pgf/contrib/tikzlings/tikzlings-bugs.sty
+2021/08/06 | 13115 | graphics/pgf/contrib/tikzlings/tikzlings-sheep.sty
+2021/08/06 | 12562 | graphics/pgf/contrib/tikzlings/tikzlings-anteaters.sty
+2021/08/06 | 1228 | graphics/pgf/contrib/tikzlings/README.md
+2021/08/06 | 11767 | graphics/pgf/contrib/tikzlings/tikzlings-koalas.sty
+2021/08/06 | 11531 | graphics/pgf/contrib/tikzlings/tikzlings-mice.sty
2021/08/06 | 1148 | macros/latex/contrib/smart-eqn/smart-eqn.ins
-2021/08/06 | 112983 | systems/win32/miktex/tm/packages/next/miktex-epstopdf-bin-x64-2.9.tar.lzma
+2021/08/06 | 1145 | macros/generic/markdown/markdown.ins
2021/08/06 | 1121692 | systems/texlive/tlnet/archive/tuda-ci.doc.r60170.tar.xz
-2021/08/06 | 112086 | systems/win32/miktex/tm/packages/next/miktex-gd-bin-x64-2.9.tar.lzma
-2021/08/06 | 109030 | systems/win32/miktex/tm/packages/next/miktex-jpeg-bin-x64-2.9.tar.lzma
-2021/08/06 | 108296 | systems/texlive/tlnet/archive/texlive-scripts.r60169.tar.xz
-2021/08/06 | 1077990 | systems/win32/miktex/tm/packages/next/miktex-asymptote-bin-x64-2.9.tar.lzma
-2021/08/06 | 105220 | systems/win32/miktex/tm/packages/next/miktex-texware-bin-x64-2.9.tar.lzma
-2021/08/06 | 103399 | systems/win32/miktex/tm/packages/next/miktex-lua53-bin-x64-2.9.tar.lzma
-2021/08/06 | 103203 | systems/win32/miktex/tm/packages/next/miktex-mfware-bin-x64-2.9.tar.lzma
+2021/08/06 | 11184 | graphics/pgf/contrib/tikzlings/tikzlings-squirrels.sty
+2021/08/06 | 11060 | graphics/pgf/contrib/tikzlings/tikzlings-pigs.sty
+2021/08/06 | 10926 | graphics/pgf/contrib/tikzlings/tikzlings-moles.sty
+2021/08/06 | 10794 | graphics/pgf/contrib/tikzlings/tikzlings-bats.sty
+2021/08/06 | 10722 | graphics/pgf/contrib/tikzlings/tikzlings-penguins.sty
+2021/08/06 | 1060 | macros/generic/markdown/examples/context.tex
+2021/08/06 | 1052 | macros/generic/markdown/examples/latex.tex
+2021/08/06 | 10506 | graphics/pgf/contrib/tikzlings/tikzlings-rhinos.sty
2021/08/06 | 1013184 | systems/texlive/tlnet/archive/zref-check.doc.r60171.tar.xz
-2021/08/06 | 100623 | systems/win32/miktex/tm/packages/next/miktex-epstopdf-bin-2.9.tar.lzma
+2021/08/06 | 10086 | graphics/pgf/contrib/tikzlings/tikzlings-snowmen.sty
2021/08/05 | 9622 | macros/latex/contrib/tuda-ci/tex/tudamecheng.cfg
2021/08/05 | 9383 | macros/latex/contrib/tuda-ci/tex/beamerouterthemeTUDa.sty
2021/08/05 | 8703 | macros/latex/contrib/tuda-ci/example/DEMO-TUDaSciPoster.tex
@@ -244,7 +494,6 @@
2021/08/05 | 75120 | systems/texlive/tlnet/archive/bangla.doc.r60159.tar.xz
2021/08/05 | 73667 | systems/win32/miktex/tm/packages/bangla__doc.tar.lzma
2021/08/05 | 7336 | macros/latex/contrib/tuda-ci/example/DEMO-TUDaBeamer.tex
-2021/08/05 | 6911 | systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl
2021/08/05 | 6881 | macros/latex/contrib/tuda-ci/example/DEMO-TUDaLeaflet.tex
2021/08/05 | 682571 | macros/latex/contrib/tuda-ci/doc/DEMO-TUDaPub.pdf
2021/08/05 | 655456 | macros/latex/contrib/tuda-ci/doc/DEMO-TUDaPhD.pdf
@@ -256,7 +505,6 @@
2021/08/05 | 61492 | systems/texlive/tlnet/archive/siunitx.r60164.tar.xz
2021/08/05 | 60969 | systems/win32/miktex/tm/packages/siunitx.tar.lzma
2021/08/05 | 6043 | systems/win32/miktex/tm/packages/beamer-rl.tar.lzma
-2021/08/05 | 603540 | systems/texlive/tlnet/archive/easybook.doc.r60160.tar.xz
2021/08/05 | 594859 | macros/latex/contrib/tuda-ci/doc/DEMO-TUDaExercise.pdf
2021/08/05 | 589937 | macros/latex/contrib/tuda-ci/doc/DEMO-TUDaLetter.pdf
2021/08/05 | 586895 | macros/latex/contrib/tuda-ci/doc/DEMO-TUDaSciPoster.pdf
@@ -294,8 +542,6 @@
2021/08/05 | 2866077 | systems/win32/miktex/tm/packages/siunitx__doc.tar.lzma
2021/08/05 | 2863024 | systems/texlive/tlnet/archive/siunitx.doc.r60164.tar.xz
2021/08/05 | 28400 | macros/latex/contrib/tuda-ci/example/DEMO-TUDaPub.tex
-2021/08/05 | 2834317 | macros/unicodetex/latex/nwafuthesis.zip
-2021/08/05 | 271330 | macros/unicodetex/latex/nwafuthesis/nwafuthesis.dtx
2021/08/05 | 269 | macros/unicodetex/latex/nwafuthesis/build.sh
2021/08/05 | 26972 | macros/latex/contrib/tuda-ci/example/DEMO-TUDaPhD.tex
2021/08/05 | 26639 | macros/latex/contrib/tuda-ci/example/DEMO-TUDaThesis.tex
@@ -324,10 +570,7 @@
2021/08/05 | 1839289 | systems/win32/miktex/tm/packages/l3packages__doc.tar.lzma
2021/08/05 | 1837412 | systems/texlive/tlnet/archive/l3packages.doc.r60167.tar.xz
2021/08/05 | 17622 | macros/latex/contrib/tuda-ci/tex/tudaletter.cls
-2021/08/05 | 1748925 | macros/unicodetex/latex/nwafuthesis/nwafuthesis.pdf
2021/08/05 | 17408 | macros/latex/contrib/tuda-ci/tex/tudaposter.cls
-2021/08/05 | 17048 | systems/texlive/tlnet/archive/easybook.source.r60160.tar.xz
-2021/08/05 | 16992 | systems/texlive/tlnet/archive/easybook.r60160.tar.xz
2021/08/05 | 1686 | macros/latex/contrib/tuda-ci/tex/tuda-a5paper.clo
2021/08/05 | 1684 | macros/latex/contrib/tuda-ci/tex/tuda-a4paper.clo
2021/08/05 | 1682 | macros/latex/contrib/tuda-ci/tex/tuda-a3paper.clo
@@ -338,12 +581,12 @@
2021/08/05 | 16364 | systems/texlive/tlnet/archive/dtk.r60166.tar.xz
2021/08/05 | 16036 | macros/latex/contrib/tuda-ci/README.md
2021/08/05 | 15380 | systems/win32/miktex/tm/packages/fontsize__source.tar.lzma
-2021/08/05 | 1533 | macros/unicodetex/latex/nwafuthesis/README.md
2021/08/05 | 15124 | systems/texlive/tlnet/archive/fontsize.source.r60161.tar.xz
2021/08/05 | 14735 | systems/win32/miktex/tm/packages/l3backend.tar.lzma
2021/08/05 | 14572 | systems/texlive/tlnet/archive/l3backend.r60167.tar.xz
2021/08/05 | 13710 | macros/latex/contrib/tuda-ci/tex/tudaleaflet.cls
2021/08/05 | 1179 | systems/win32/miktex/tm/packages/python__doc.tar.lzma
+2021/08/05 | 116956890 | macros/context/latest/cont-tmf.zip
2021/08/05 | 1143068 | macros/latex/contrib/zref-check.zip
2021/08/05 | 106008 | systems/win32/miktex/tm/packages/siunitx__source.tar.lzma
2021/08/05 | 105932 | systems/texlive/tlnet/archive/siunitx.source.r60164.tar.xz
@@ -527,7 +770,6 @@
2021/08/04 | 1206 | info/ptex-manual/README.md
2021/08/04 | 1191 | macros/latex/contrib/l3packages/xfp.ins
2021/08/04 | 11761 | macros/latex/contrib/l3packages/l3keys2e.dtx
-2021/08/04 | 116955970 | macros/context/latest/cont-tmf.zip
2021/08/04 | 116169 | macros/latex/contrib/siunitx/siunitx-number.dtx
2021/08/04 | 11374 | language/bengali/bangla/bangla.sty
2021/08/04 | 105110 | info/ptex-manual/ptex-guide-en.pdf
@@ -648,7 +890,6 @@
2021/08/01 | 75544 | systems/texlive/tlnet/archive/hvlogos.doc.r60126.tar.xz
2021/08/01 | 7487 | macros/latex/contrib/elpres/tex/elpres.cls
2021/08/01 | 74782 | systems/win32/miktex/tm/packages/hvlogos__doc.tar.lzma
-2021/08/01 | 744469 | info/install-latex-guide-zh-cn/install-latex-guide-zh-cn.pdf
2021/08/01 | 7401 | support/wp2latex/readme.txt
2021/08/01 | 7352 | systems/win32/miktex/tm/packages/minimalist.tar.lzma
2021/08/01 | 7152 | systems/texlive/tlnet/archive/minimalist.r60121.tar.xz
@@ -759,146 +1000,3 @@
2021/08/01 | 106812 | systems/texlive/tlnet/archive/colorist.doc.r60121.tar.xz
2021/08/01 | 102551 | systems/win32/miktex/tm/packages/minimalist__doc.tar.lzma
2021/08/01 | 100025 | systems/win32/miktex/tm/packages/colorist__doc.tar.lzma
-2021/07/31 | 9803909 | support/latexindent/latexindent.exe
-2021/07/31 | 9541 | support/latexindent/LatexIndent/IfElseFi.pm
-2021/07/31 | 949988 | support/latexindent/documentation/latexindent.pdf
-2021/07/31 | 948089 | macros/latex/contrib/pdfmanagement-testphase/hyperref-generic.pdf
-2021/07/31 | 88494 | macros/latex/contrib/exam-randomizechoices/exam-randomizechoices.pdf
-2021/07/31 | 833 | support/latexindent/LatexIndent/Version.pm
-2021/07/31 | 7969 | support/latexindent/documentation/sec-introduction.tex
-2021/07/31 | 7881 | support/latexindent/LatexIndent/LogFile.pm
-2021/07/31 | 783736 | info/install-latex-guide-zh-cn.zip
-2021/07/31 | 77401 | macros/latex/contrib/hvlogos.zip
-2021/07/31 | 7728 | macros/latex/contrib/pdfmanagement-testphase/color-ltx.sty
-2021/07/31 | 739256 | macros/latex/contrib/pdfmanagement-testphase/l3pdffield.pdf
-2021/07/31 | 7234 | support/latexindent/documentation/subsubsec-no-add-remaining-code-blocks.tex
-2021/07/31 | 7161 | support/latexindent/documentation/figure-schematic.png
-2021/07/31 | 68758 | support/latexindent/documentation/sec-default-user-local.tex
-2021/07/31 | 6793 | support/latexindent/LatexIndent/MandatoryArgument.pm
-2021/07/31 | 67782 | macros/latex/contrib/pdfmanagement-testphase/l3pdffield.dtx
-2021/07/31 | 673135 | macros/latex/contrib/pdfmanagement-testphase/l3pdfmanagement.pdf
-2021/07/31 | 663896 | macros/latex/contrib/pdfmanagement-testphase/l3pdfmeta.pdf
-2021/07/31 | 66280 | support/latexindent/documentation/subsec-poly-switches.tex
-2021/07/31 | 6589 | support/latexindent/LatexIndent/FileExtension.pm
-2021/07/31 | 6549 | macros/latex/contrib/pdfmanagement-testphase/l3pdfxform.dtx
-2021/07/31 | 6408 | support/latexindent/LatexIndent/Item.pm
-2021/07/31 | 6385 | support/latexindent/LatexIndent/TrailingComments.pm
-2021/07/31 | 6335 | support/latexindent/LatexIndent/Environment.pm
-2021/07/31 | 63320 | macros/latex/contrib/pdfmanagement-testphase/l3pdfmanagement.dtx
-2021/07/31 | 61612 | support/latexindent/LatexIndent/AlignmentAtAmpersand.pm
-2021/07/31 | 6062 | support/latexindent/LatexIndent/OptionalArgument.pm
-2021/07/31 | 6042 | support/latexindent/LatexIndent/BackUpFileProcedure.pm
-2021/07/31 | 5992676 | support/latexindent.zip
-2021/07/31 | 5979 | support/latexindent/documentation/subsubsec-commands-with-arguments.tex
-2021/07/31 | 5969 | support/latexindent/LatexIndent/Else.pm
-2021/07/31 | 591169 | macros/latex/contrib/pdfmanagement-testphase/l3backend-testphase.pdf
-2021/07/31 | 580 | macros/latex/contrib/pdfmanagement-testphase/transparent-ltx.sty
-2021/07/31 | 5777 | support/latexindent/LatexIndent/UnNamedGroupingBracesBrackets.pm
-2021/07/31 | 577331 | macros/latex/contrib/pdfmanagement-testphase/l3pdfannot.pdf
-2021/07/31 | 576314 | macros/latex/contrib/pdfmanagement-testphase/l3pdffield-radiobutton.pdf
-2021/07/31 | 5736 | support/latexindent/documentation/subsec-combine-text-wrap-para-line-breaks.tex
-2021/07/31 | 55632 | macros/latex/contrib/pdfmanagement-testphase/l3backend-testphase.dtx
-2021/07/31 | 553330 | macros/latex/contrib/pdfmanagement-testphase/l3pdffile.pdf
-2021/07/31 | 547881 | macros/latex/contrib/pdfmanagement-testphase/l3pdffield-action.pdf
-2021/07/31 | 536935 | macros/latex/contrib/pdfmanagement-testphase/ltdocinit.pdf
-2021/07/31 | 534125 | macros/latex/contrib/pdfmanagement-testphase/l3pdffield-choice.pdf
-2021/07/31 | 5312 | support/latexindent/LatexIndent/KeyEqualsValuesBraces.pm
-2021/07/31 | 530911 | macros/latex/contrib/pdfmanagement-testphase/l3pdffield-checkbox.pdf
-2021/07/31 | 5286 | support/latexindent/documentation/subsubsec-headings.tex
-2021/07/31 | 52738 | support/latexindent/LatexIndent/GetYamlSettings.pm
-2021/07/31 | 527111 | macros/latex/contrib/pdfmanagement-testphase/l3pdfdict.pdf
-2021/07/31 | 526311 | macros/latex/contrib/pdfmanagement-testphase/l3pdffield-pushbutton.pdf
-2021/07/31 | 518296 | macros/latex/contrib/pdfmanagement-testphase/l3pdftools.pdf
-2021/07/31 | 505534 | macros/latex/contrib/pdfmanagement-testphase/l3pdffield-textfield.pdf
-2021/07/31 | 492 | support/latexindent/documentation/cmhlistings.tex
-2021/07/31 | 4873 | support/latexindent/documentation/subsubsec-ifelsefi.tex
-2021/07/31 | 4798 | support/latexindent/LatexIndent/BlankLines.pm
-2021/07/31 | 47023 | macros/latex/contrib/exam-randomizechoices/exam-randomizechoices-doc.tex
-2021/07/31 | 4685 | info/install-latex-guide-zh-cn/appendix/updateinfo.tex
-2021/07/31 | 4617 | macros/latex/contrib/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty
-2021/07/31 | 4570 | macros/latex/contrib/pdfmanagement-testphase/CHANGELOG.md
-2021/07/31 | 4485 | graphics/mcf2graph/README
-2021/07/31 | 446355 | macros/latex/contrib/pdfmanagement-testphase/pdfmanagement-testphase.pdf
-2021/07/31 | 44096 | support/latexindent/documentation/logo.png
-2021/07/31 | 4355 | support/latexindent/LatexIndent/RoundBrackets.pm
-2021/07/31 | 4284 | support/latexindent/LatexIndent/NamedGroupingBracesBrackets.pm
-2021/07/31 | 421483 | macros/latex/contrib/pdfmanagement-testphase/pdfmanagement-firstaid.pdf
-2021/07/31 | 4212 | macros/latex/contrib/pdfmanagement-testphase/hyperxmp-patches-tmp-ltx.sty
-2021/07/31 | 418329 | macros/latex/contrib/pdfmanagement-testphase/l3pdfxform.pdf
-2021/07/31 | 3850 | support/latexindent/documentation/subsubsec-special.tex
-2021/07/31 | 3618 | support/latexindent/LatexIndent/Replacement.pm
-2021/07/31 | 3542 | macros/latex/contrib/exam-randomizechoices/README.md
-2021/07/31 | 3463 | support/latexindent/LatexIndent/Preamble.pm
-2021/07/31 | 3450 | support/latexindent/documentation/subsubsec-environments-with-items.tex
-2021/07/31 | 3394 | support/latexindent/LatexIndent/HorizontalWhiteSpace.pm
-2021/07/31 | 3273 | support/latexindent/LatexIndent/Tokens.pm
-2021/07/31 | 320254 | macros/latex/contrib/exam-randomizechoices.zip
-2021/07/31 | 3075 | support/latexindent/documentation/sec-the-m-switch.tex
-2021/07/31 | 30568 | macros/latex/contrib/pdfmanagement-testphase/l3pdfmeta.dtx
-2021/07/31 | 28041 | macros/latex/contrib/pdfmanagement-testphase/l3pdffile.dtx
-2021/07/31 | 27837 | macros/latex/contrib/pdfmanagement-testphase/l3pdfannot.dtx
-2021/07/31 | 27438 | macros/latex/contrib/pdfmanagement-testphase/l3pdffield-radiobutton.dtx
-2021/07/31 | 26672 | macros/latex/contrib/pdfmanagement-testphase/l3pdffield-action.dtx
-2021/07/31 | 26662 | macros/latex/contrib/pdfmanagement-testphase/l3pdffield-pushbutton.dtx
-2021/07/31 | 2645 | support/latexindent/latexindent.pl
-2021/07/31 | 25321 | macros/latex/contrib/exam-randomizechoices/exam-randomizechoices.tex
-2021/07/31 | 246 | support/latexindent/documentation/references.tex
-2021/07/31 | 23932 | support/latexindent/documentation/latexindent.tex
-2021/07/31 | 23600 | support/latexindent/LatexIndent/Arguments.pm
-2021/07/31 | 22938 | support/latexindent/LatexIndent/ModifyLineBreaks.pm
-2021/07/31 | 22875 | macros/latex/contrib/exam-randomizechoices/exam-randomizechoices.sty
-2021/07/31 | 22855 | support/latexindent/LatexIndent/Verbatim.pm
-2021/07/31 | 2212 | support/latexindent/LatexIndent/Logger.pm
-2021/07/31 | 22113 | macros/latex/contrib/pdfmanagement-testphase/l3pdffield-textfield.dtx
-2021/07/31 | 22107 | support/latexindent/documentation/subsec-one-sentence-per-line.tex
-2021/07/31 | 217081 | macros/latex/contrib/exam-randomizechoices/exam-randomizechoices-doc.pdf
-2021/07/31 | 21650 | support/latexindent/documentation/sec-replacements.tex
-2021/07/31 | 21217 | support/latexindent/LatexIndent/Document.pm
-2021/07/31 | 2120 | support/latexindent/documentation/sec-demonstration.tex
-2021/07/31 | 20834 | info/install-latex-guide-zh-cn/chapter/windows.tex
-2021/07/31 | 20575 | support/latexindent/LatexIndent/Indent.pm
-2021/07/31 | 20556 | macros/latex/contrib/pdfmanagement-testphase/l3pdffield-choice.dtx
-2021/07/31 | 1992 | support/latexindent/LatexIndent/Switches.pm
-2021/07/31 | 19864 | support/latexindent/LatexIndent/Sentence.pm
-2021/07/31 | 194141 | macros/latex/contrib/macrolist.zip
-2021/07/31 | 194057 | macros/latex/contrib/macrolist/macrolist.pdf
-2021/07/31 | 1909 | support/latexindent/documentation/subsec-noAdditionalIndent-indentRules.tex
-2021/07/31 | 18923 | support/latexindent/documentation/sec-how-to-use.tex
-2021/07/31 | 1879 | support/latexindent/documentation/figure-schematic.tex
-2021/07/31 | 1878 | macros/latex/contrib/macrolist/macrolist.ins
-2021/07/31 | 18760 | support/latexindent/defaultSettings.yaml
-2021/07/31 | 1874 | support/latexindent/README
-2021/07/31 | 18289 | macros/latex/contrib/pdfmanagement-testphase/l3pdffield-checkbox.dtx
-2021/07/31 | 1822 | macros/latex/contrib/pdfmanagement-testphase/pdflscape-ltx.sty
-2021/07/31 | 18082 | support/latexindent/documentation/subsec-text-wrap.tex
-2021/07/31 | 17807 | macros/latex/contrib/pdfmanagement-testphase/pdfmanagement-testphase.dtx
-2021/07/31 | 17429 | macros/latex/contrib/pdfmanagement-testphase/l3pdfdict.dtx
-2021/07/31 | 173067 | macros/latex/contrib/pdfmanagement-testphase/hyperref-generic.dtx
-2021/07/31 | 1688 | support/latexindent/documentation/sec-conclusions-know-limitations.tex
-2021/07/31 | 16703 | support/latexindent/documentation/subsubsec-environments-and-their-arguments.tex
-2021/07/31 | 1664 | support/latexindent/documentation/logo.tex
-2021/07/31 | 16349 | graphics/mcf2graph/mcf_mplib_exa.tex
-2021/07/31 | 15944 | macros/latex/contrib/pdfmanagement-testphase/ltdocinit.dtx
-2021/07/31 | 15784 | macros/latex/contrib/pdfmanagement-testphase/l3pdftools.dtx
-2021/07/31 | 15661 | macros/latex/contrib/macrolist/macrolist.dtx
-2021/07/31 | 1558 | support/latexindent/latexindent-module-installer.pl
-2021/07/31 | 15347 | graphics/mcf2graph/CHANGELOG
-2021/07/31 | 1483 | support/latexindent/LatexIndent/DoubleBackSlash.pm
-2021/07/31 | 1477 | support/latexindent/documentation/title.tex
-2021/07/31 | 1442 | support/latexindent/documentation/subsec-text-wrap-summary.tex
-2021/07/31 | 14050 | support/latexindent/documentation/subsec-commands-and-their-options.tex
-2021/07/31 | 13572 | support/latexindent/LatexIndent/Special.pm
-2021/07/31 | 13109 | support/latexindent/documentation/appendices.tex
-2021/07/31 | 12661 | support/latexindent/LatexIndent/Braces.pm
-2021/07/31 | 12302 | support/latexindent/LatexIndent/HiddenChildren.pm
-2021/07/31 | 12024 | support/latexindent/documentation/sec-fine-tuning.tex
-2021/07/31 | 1195 | macros/latex/contrib/pdfmanagement-testphase/README.md
-2021/07/31 | 11823 | support/latexindent/LatexIndent/FileContents.pm
-2021/07/31 | 11600 | support/latexindent/documentation/subsec-remove-para-line-breaks.tex
-2021/07/31 | 1137 | macros/latex/contrib/macrolist/README.md
-2021/07/31 | 11151 | macros/latex/contrib/pdfmanagement-testphase/pdfmanagement-firstaid.dtx
-2021/07/31 | 10859 | support/latexindent/documentation/sec-indent-config-and-settings.tex
-2021/07/31 | 10806 | support/latexindent/LatexIndent/Heading.pm
-2021/07/31 | 107903 | graphics/mcf2graph/mcf2graph.mf
-2021/07/31 | 10666138 | macros/latex/contrib/pdfmanagement-testphase.zip
-2021/07/31 | 10361 | support/latexindent/LatexIndent/Command.pm
diff --git a/graphics/pgf/contrib/tikzlings/README.md b/graphics/pgf/contrib/tikzlings/README.md
index f0b4928420..05ad647df4 100644
--- a/graphics/pgf/contrib/tikzlings/README.md
+++ b/graphics/pgf/contrib/tikzlings/README.md
@@ -1,7 +1,7 @@
# TikZlings
A collection of animals and other beings from the tikz world
-Current version: 2021/04/16 version v0.6
+Current version: 2021/08/06 version v0.8
This project is licensed under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-addons.sty b/graphics/pgf/contrib/tikzlings/tikzlings-addons.sty
index 4cc5eecbf3..67199fdd99 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-addons.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-addons.sty
@@ -12,7 +12,7 @@
% See http://www.latex-project.org/lppl.txt
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-addons}[2021/04/16 version v0.6 Draw additional items for the tikzlings]
+\ProvidesPackage{tikzlings-addons}[2021/08/06 version v0.8 Draw additional items for the tikzlings]
\RequirePackage{tikz}
\usetikzlibrary{patterns} % for the wizard hat
@@ -107,6 +107,8 @@
\newif\ifthing@crozier
\newif\ifthing@shovel
\newif\ifthing@pickaxe
+\newif\ifthing@strawbroom
+\newif\ifthing@broom
\newif\ifthing@umbrella
\newif\ifthing@umbrellaclosed
\newif\ifthing@handbag
@@ -312,13 +314,25 @@
shovel/.default = gray,
pickaxe/.code = \thing@pickaxetrue
\def\thing@pickaxe{#1},
- pickaxe/.default = gray,
+ pickaxe/.default = gray,
+ strawbroom/.code = \thing@strawbroomtrue
+ \def\thing@strawbroom{#1},
+ strawbroom/.default = brown!50!white,
+ strawbroomstick/.code = \def\thing@strawbroomstick{#1},
+ strawbroomstick = brown,
+ strawbroomribbon/.code = \def\thing@strawbroomribbon{#1},
+ strawbroomribbon = red!50!black,
+ broom/.code = \thing@broomtrue
+ \def\thing@broom{#1},
+ broom/.default = brown,
+ broomstick/.code = \def\thing@broomstick{#1},
+ broomstick = gray!50!black,
umbrella/.code = \thing@umbrellatrue
\def\thing@umbrella{#1},
- umbrella/.default = cyan,
+ umbrella/.default = cyan,
umbrellaclosed/.code = \thing@umbrellaclosedtrue
\def\thing@umbrellaclosed{#1},
- umbrellaclosed/.default = cyan,
+ umbrellaclosed/.default = cyan,
umbrella closed/.forward to = /thing/umbrellaclosed,
handbag/.code = \thing@handbagtrue
\def\thing@handbag{#1},
@@ -384,10 +398,8 @@
\ifthing@harlequin
\begin{scope}[xshift=-26]
\path (0.19,1.85) rectangle (1.85,2.67);
- \begin{pgfinterruptboundingbox}
- \fill[\thing@harlequin] (0.6006,1.9719) .. controls (0.7432,1.8954) and (0.9320,1.8698) .. (0.9320,1.8698) -- (1.0404,2.3839) .. controls (0.9223,2.8873) and (0.1755,2.5634) .. (0.3019,2.2958) .. controls (0.5807,2.5024) and (0.7251,2.3376) .. (0.6006,1.9719) -- cycle;
- \fill[\thing@niuqelrah] (1.2853,1.8902) .. controls (1.1177,1.8507) and (0.9278,1.8703) .. (0.9278,1.8703) -- (1.0404,2.3839) .. controls (1.3637,2.8347) and (1.9373,2.3532) .. (1.7049,2.1284) .. controls (1.5267,2.3895) and (1.3204,2.2666) .. (1.2853,1.8902) -- cycle;
- \end{pgfinterruptboundingbox}
+ \fill[\thing@harlequin,overlay] (0.6006,1.9719) .. controls (0.7432,1.8954) and (0.9320,1.8698) .. (0.9320,1.8698) -- (1.0404,2.3839) .. controls (0.9223,2.8873) and (0.1755,2.5634) .. (0.3019,2.2958) .. controls (0.5807,2.5024) and (0.7251,2.3376) .. (0.6006,1.9719) -- cycle;
+ \fill[\thing@niuqelrah,overlay] (1.2853,1.8902) .. controls (1.1177,1.8507) and (0.9278,1.8703) .. (0.9278,1.8703) -- (1.0404,2.3839) .. controls (1.3637,2.8347) and (1.9373,2.3532) .. (1.7049,2.1284) .. controls (1.5267,2.3895) and (1.3204,2.2666) .. (1.2853,1.8902) -- cycle;
\fill[\thing@harlequin] (1.7,2.07) circle[radius=0.1];
\fill[\thing@niuqelrah] (0.3,2.23) circle[radius=0.1];
\end{scope}
@@ -831,6 +843,25 @@
\fill[\thing@pickaxe] (-0.77, 0.57) .. controls (-0.14, 0.25) and (-0.02, 0.21) .. (0.60, 0.02) .. controls (-0.12, 0.03) and (-0.22, 0.10) .. (-0.77, 0.57) -- cycle;
\fi
%
+% strawbroom %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\ifthing@strawbroom
+ \begin{scope}[xshift=-24]
+ \fill[\thing@strawbroomstick] (0.9160,0.5478) -- (1.2792,1.6574) .. controls (1.3063,1.6961) and (1.3956,1.6649) .. (1.3688,1.6176) -- (0.9508,0.5179) .. controls (0.9360,0.5142) and (0.9202,0.5331) .. (0.9160,0.5478) -- cycle;
+ \fill[\thing@strawbroom] (0.5528,0.2890) .. controls (0.6449,0.3598) and (0.7460,0.5693) .. (0.8911,0.6871) .. controls (0.9481,0.7215) and (1.0395,0.6925) .. (1.0553,0.6224) .. controls (1.1219,0.4385) and (0.9965,0.2147) .. (1.0056,0.1000) .. controls (0.8926,0.0241) and (0.5950,0.2078) .. (0.5528,0.2890) -- cycle;
+ \draw[\thing@strawbroomribbon,line width=\scalingfactor*0.4pt] (0.7916,0.5876) .. controls (0.7916,0.5876) and (0.8210,0.5404) .. (0.8451,0.5304) .. controls (0.8708,0.5197) and (0.9021,0.5419) .. (0.9284,0.5329) .. controls (0.9544,0.5240) and (0.9663,0.4903) .. (0.9919,0.4806) .. controls (1.0148,0.4720) and (1.0653,0.4781) .. (1.0653,0.4781);
+ \draw[\thing@strawbroomribbon,line width=\scalingfactor*0.4pt] (0.7565,0.5493) .. controls (0.7565,0.5493) and (0.7897,0.4961) .. (0.8169,0.4848) .. controls (0.8458,0.4727) and (0.8812,0.4978) .. (0.9109,0.4876) .. controls (0.9401,0.4776) and (0.9535,0.4396) .. (0.9824,0.4287) .. controls (1.0083,0.4189) and (1.0652,0.4259) .. (1.0652,0.4259);
+ \end{scope}
+\fi
+%
+% broom %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\ifthing@broom
+ \begin{scope}[rotate=-10,xshift=-23,yshift=-4]
+ \draw[\thing@broomstick,line width=\scalingfactor*1.8pt] (0.9, 1.8) -- ++(0,-1.4);
+ \draw[\thing@broomstick,line width=\scalingfactor*1.8pt] (0.6, 0.42) -- ++(0.6,0);
+ \fill[\thing@broom] (0.6, 0.40) -- ++(-0.05,-0.1) -- ++(0.7,0) -- ++(-0.05, 0.1) -- cycle;
+ \end{scope}
+\fi
+%
% umbrella %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ifthing@umbrella
\path (-0.8, 0.4) rectangle (1.2200000000000002, 2.7);
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-anteaters.sty b/graphics/pgf/contrib/tikzlings/tikzlings-anteaters.sty
index b14a2d76d1..721502f6cd 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-anteaters.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-anteaters.sty
@@ -1,18 +1,18 @@
-% !TeX root = ./examples/anteater.tex
+ % !TeX root = ./examples/anteater.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% This package is part of the TikZlings package
-% A package to bring cute little animals and other beings into tikz
-% Maintained by samcarter
-%
-% Project repository and bug tracker:
-% https://github.com/samcarter/tikzlings
-%
-% Released under the LaTeX Project Public License v1.3c or later
-% See http://www.latex-project.org/lppl.txt
-%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-anteaters}[2021/04/16 version v0.6 Drawing anteaters in TikZ]
+\ProvidesPackage{tikzlings-anteaters}[2021/08/06 version v0.8 Drawing anteaters in TikZ]
\RequirePackage{tikz}
\RequirePackage{tikzlings-addons}
@@ -63,117 +63,168 @@
}
\def\anteater@draw{%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.75,0.1) rectangle (1.12,2.26);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from
+ % https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifanteater@threeD
+ \def\anteater@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifanteater@contour
+ \def\anteater@part@draw[##1]{\draw[##1,\anteater@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\anteater@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname anteaterhookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \anteater@part@draw[\anteater@body!70!brown!50!darkgray] (0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
+ \anteater@part@draw[\anteater@body!70!brown!50!darkgray] (-0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
+ %
+ % Tail %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifanteater@back
+ \anteater@part@draw[\anteater@body!70!brown!50!darkgray] (1.0893, 1.5779) .. controls (0.3433, 1.6612) and (0.4863, 0.6062) .. (-0.0243, 0.348) .. controls (1.0671, 0.068) and (0.8133, 1.1808) .. (1.0893, 1.5779) -- cycle;
+ \fi% back
+ %
+ % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \anteater@part@draw[\anteater@body!45!white!95!orange] (-0.55,1) ellipse[x radius=0.42, y radius=0.13, rotate=70] (0.55,1) ellipse[x radius=0.42, y radius=0.13, rotate=-70];
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \anteater@part@draw[\anteater@body] (0.52, 0.8) .. controls (0.52, 0.23) and (0.3, 0.17) .. (0, 0.17) .. controls (-0.3, 0.17) and (-0.52, 0.23) .. (-0.52, 0.8) .. controls (-0.52, 1.35) and (-0.3, 1.8) .. (0, 1.8) .. controls (0.3, 1.8) and (0.52, 1.35) .. (0.52, 0.8) -- cycle;
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname anteaterhookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ \ifanteater@back
+ %
+ % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \anteater@part@draw[\anteater@body!45!white!95!orange] (-0,1.47) ellipse [x radius=0.36, y radius=0.28];
+ %
+ % Collar %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \anteater@part@draw[\anteater@body!70!brown!50!darkgray]
+ (-0,1.47) ellipse [x radius=0.35, y radius=0.23];
+ \anteater@part@draw[\anteater@body] (-0,1.73) ellipse [x radius=0.36, y radius=0.33];
+ %
+ % Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \anteater@part@draw[\anteater@body!70!brown!50!darkgray] (0.5551, 2.2281) .. controls (0.4961, 2.2273) and (0.4390, 2.2093) .. (0.3831, 2.1919) .. controls (0.3282, 2.173) and (0.2725, 2.1539) .. (0.2231, 2.1228) .. controls (0.1875, 2.0984) and (0.1524, 2.0637) .. (0.1470, 2.0187) .. controls (0.1446, 2.0028) and (0.1518, 1.9881) .. (0.1584, 1.9744) .. controls (0.1706, 1.9343) and (0.2090, 1.9063) .. (0.25, 1.9017) .. controls (0.3079, 1.8943) and (0.3684, 1.9134) .. (0.4132, 1.9504) .. controls (0.4657, 1.9988) and (0.5111, 2.0545) .. (0.5513, 2.1133) .. controls (0.5692, 2.1404) and (0.5854, 2.1692) .. (0.5945, 2.2004) .. controls (0.5989, 2.2232) and (0.5717, 2.2282) .. (0.5551, 2.2281) -- cycle;
+ \anteater@part@draw[\anteater@body!70!brown!50!darkgray] (-0.5551, 2.2281) .. controls (-0.4961, 2.2273) and (-0.4390, 2.2093) .. (-0.3831, 2.1919) .. controls (-0.3282, 2.173) and (-0.2725, 2.1539) .. (-0.2231, 2.1228) .. controls (-0.1875, 2.0984) and (-0.1524, 2.0637) .. (-0.1470, 2.0187) .. controls (-0.1446, 2.0028) and (-0.1518, 1.9881) .. (-0.1584, 1.9744) .. controls (-0.1706, 1.9343) and (-0.2090, 1.9063) .. (-0.25, 1.9017) .. controls (-0.3079, 1.8943) and (-0.3684, 1.9134) .. (-0.4132, 1.9504) .. controls (-0.4657, 1.9988) and (-0.5111, 2.0545) .. (-0.5513, 2.1133) .. controls (-0.5692, 2.1404) and (-0.5854, 2.1692) .. (-0.5945, 2.2004) .. controls (-0.5989, 2.2232) and (-0.5717, 2.2282) .. (-0.5551, 2.2281) -- cycle;
+ %
+ \else% back
+ %
+ % Collar %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \anteater@part@draw[\anteater@body!45!white!95!orange] (0.33, 1.55) -- (-0.33, 1.55) .. controls (-0.5, 1.05) and (-0.1, 0.95) .. (0, 0.60) .. controls (0.1, 0.95) and (0.5, 1.05) .. (0.33, 1.55) -- cycle;
+ \anteater@part@draw[\anteater@body!70!brown!50!darkgray] (0.33, 1.55) -- (-0.33, 1.55) .. controls (-0.45, 1.1) and (-0.1, 1) .. (0, 0.70) .. controls (0.1, 1) and (0.45, 1.1) .. (0.33, 1.55) -- cycle;
+ %
+ % Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \anteater@part@draw[\anteater@body!70!brown!50!darkgray] (0.3531, 1.9773) .. controls (0.4315, 2.0197) and (0.6217, 2.172) .. (0.5917, 2.2157) .. controls (0.5615, 2.2594) and (0.3224, 2.178) .. (0.2441, 2.1354) .. controls (0.1659, 2.093) and (0.1269, 2.023) .. (0.1569, 1.9793) .. controls (0.1870, 1.9356) and (0.2748, 1.9347) .. (0.3531, 1.9773) -- cycle;
+ \anteater@part@draw[\anteater@body!70!brown!50!darkgray] (-0.3531, 1.9773) .. controls (-0.4315, 2.0197) and (-0.6217, 2.172) .. (-0.5917, 2.2157) .. controls (-0.5615, 2.2594) and (-0.3224, 2.178) .. (-0.2441, 2.1354) .. controls (-0.1659, 2.093) and (-0.1269, 2.023) .. (-0.1569, 1.9793) .. controls (-0.1870, 1.9356) and (-0.2748, 1.9347) .. (-0.3531, 1.9773) -- cycle;
+ \anteater@part@draw[\anteater@body!45!white!95!orange] (0.4086, 1.9465) .. controls (0.4679, 1.9952) and (0.6205, 2.1813) .. (0.5862, 2.2146) .. controls (0.5517, 2.2477) and (0.3434, 2.1152) .. (0.2841, 2.0665) .. controls (0.2249, 2.0177) and (0.2048, 1.9515) .. (0.2391, 1.9184) .. controls (0.2736, 1.8853) and (0.3494, 1.8979) .. (0.40861, 1.9465) -- cycle
+ (-0.4086, 1.9465) .. controls (-0.4679, 1.9952) and (-0.6205, 2.1813) .. (-0.5862, 2.2146) .. controls (-0.5517, 2.2477) and (-0.3434, 2.1152) .. (-0.2841, 2.0665) .. controls (-0.2249, 2.0177) and (-0.2048, 1.9515) .. (-0.2391, 1.9184) .. controls (-0.2736, 1.8853) and (-0.3494, 1.8979) .. (-0.40861, 1.9465) -- cycle;
+ %
+ % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \anteater@part@draw[\anteater@body]
+ (0.33, 1.71) .. controls (0.16, 1.52) and (0.1, 1.5) .. (0.08, 1.05) .. controls (0.07, 1) and (-0.07, 1) .. (-0.08, 1.05) .. controls (-0.1, 1.5) and (-0.16, 1.52) .. (-0.33, 1.7) .. controls (-0.45, 1.85) and (-0.22, 2.05) .. (0, 2.05) .. controls (0.22, 2.05) and (0.45, 1.85) .. (0.33, 1.7) -- cycle;
+ %
+ % Cheeks %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \anteater@part@draw[\anteater@body!45!white!95!orange] (0.3508, 1.739) .. controls (0.3508, 1.739) and (0.2861, 1.8489) .. (0.1571, 1.7664) .. controls (0.0279, 1.684) and (0.0627, 1.0524) .. (0.0627, 1.0524) .. controls (0.0627, 1.0524) and (0.131, 1.3772) .. (0.2314, 1.44) .. controls (0.3599, 1.5206) and (0.3508, 1.739) .. (0.3508, 1.739) -- cycle
+ (-0.3508, 1.739) .. controls (-0.3508, 1.739) and (-0.2861, 1.8489) .. (-0.1571, 1.7664) .. controls (-0.0279, 1.684) and (-0.0627, 1.0524) .. (-0.0627, 1.0524) .. controls (-0.0627, 1.0524) and (-0.131, 1.3772) .. (-0.2314, 1.44) .. controls (-0.3599, 1.5206) and (-0.3508, 1.739) .. (-0.3508, 1.739) -- cycle;
+ %
+ % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \anteater@part@draw[\anteater@body!70!brown!50!darkgray] (0, 1.08) ellipse[x radius=0.08, y radius=0.05];
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \anteater@part@draw[\anteater@eye] (0.23, 1.7) circle[radius=0.05];
+ \anteater@part@draw[\anteater@eye] (-0.23, 1.7) circle[radius=0.05];
+ \fi% back
+ %
+ % Tail if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifanteater@back
+ \anteater@part@draw[\anteater@body!70!brown!50!darkgray] (1.0893, 1.5779) .. controls (0.3433, 1.6612) and (0.4863, 0.6062) .. (-0.0243, 0.348) .. controls (1.0671, 0.068) and (0.8133, 1.1808) .. (1.0893, 1.5779) -- cycle;
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname anteaterhookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
+}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.75,0.1) rectangle (1.12,2.26);
-%
+%%
+%% Documentation
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\clearpage
+%\section[Anteater]{Peter, the anteater}
%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+%\subsection{Package name}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-anteaters}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
+%\subsection{Basic Usage}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifanteater@threeD
- \def\anteater@part@draw[##1]{\shade[ball color=##1]}
-\else
- \ifanteater@contour
- \def\anteater@part@draw[##1]{\draw[##1,\anteater@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\anteater@part@draw[##1]{\fill[##1]}
- \fi
-\fi
+%\begin{tcblisting}{}
+%\anteater
+%\end{tcblisting}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Body parts (center: x=0)
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\subsection{Options}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname anteaterhookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
-%
-% Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\anteater@part@draw[\anteater@body!70!brown!50!darkgray] (0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
-\anteater@part@draw[\anteater@body!70!brown!50!darkgray] (-0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
+%The basic anteater can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\anteater[body=blue]
+%\end{tcblisting}
%
-% Tail %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifanteater@back
- \anteater@part@draw[\anteater@body!70!brown!50!darkgray] (1.0893, 1.5779) .. controls (0.3433, 1.6612) and (0.4863, 0.6062) .. (-0.0243, 0.348) .. controls (1.0671, 0.068) and (0.8133, 1.1808) .. (1.0893, 1.5779) -- cycle;
-\fi
+%In addition to the colour of the body, the colour of the eyes can be adjusted:
+%\begin{tcblisting}{}
+%\anteater[eye=red]
+%\end{tcblisting}
%
-% Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\anteater@part@draw[\anteater@body!45!white!95!orange] (-0.55,1) ellipse[x radius=0.42, y radius=0.13, rotate=70] (0.55,1) ellipse[x radius=0.42, y radius=0.13, rotate=-70];
+%To view the anteater from behind:
+%\begin{tcblisting}{}
+%\anteater[back]
+%\end{tcblisting}
%
-% Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\anteater@part@draw[\anteater@body] (0.52, 0.8) .. controls (0.52, 0.23) and (0.3, 0.17) .. (0, 0.17) .. controls (-0.3, 0.17) and (-0.52, 0.23) .. (-0.52, 0.8) .. controls (-0.52, 1.35) and (-0.3, 1.8) .. (0, 1.8) .. controls (0.3, 1.8) and (0.52, 1.35) .. (0.52, 0.8) -- cycle;
+%The key \lstinline|3D| will make the anteater 3-dimensional:
+%\begin{tcblisting}{}
+%\anteater[3D]
+%\end{tcblisting}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname anteaterhookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
-%
-\ifanteater@back
- %
- % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \anteater@part@draw[\anteater@body!45!white!95!orange] (-0,1.47) ellipse [x radius=0.36, y radius=0.28];
- %
- % Collar %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \anteater@part@draw[\anteater@body!70!brown!50!darkgray]
- (-0,1.47) ellipse [x radius=0.35, y radius=0.23];
- \anteater@part@draw[\anteater@body] (-0,1.73) ellipse [x radius=0.36, y radius=0.33];
- % Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \anteater@part@draw[\anteater@body!70!brown!50!darkgray] (0.5551, 2.2281) .. controls (0.4961, 2.2273) and (0.4390, 2.2093) .. (0.3831, 2.1919) .. controls (0.3282, 2.173) and (0.2725, 2.1539) .. (0.2231, 2.1228) .. controls (0.1875, 2.0984) and (0.1524, 2.0637) .. (0.1470, 2.0187) .. controls (0.1446, 2.0028) and (0.1518, 1.9881) .. (0.1584, 1.9744) .. controls (0.1706, 1.9343) and (0.2090, 1.9063) .. (0.25, 1.9017) .. controls (0.3079, 1.8943) and (0.3684, 1.9134) .. (0.4132, 1.9504) .. controls (0.4657, 1.9988) and (0.5111, 2.0545) .. (0.5513, 2.1133) .. controls (0.5692, 2.1404) and (0.5854, 2.1692) .. (0.5945, 2.2004) .. controls (0.5989, 2.2232) and (0.5717, 2.2282) .. (0.5551, 2.2281) -- cycle;
- \anteater@part@draw[\anteater@body!70!brown!50!darkgray] (-0.5551, 2.2281) .. controls (-0.4961, 2.2273) and (-0.4390, 2.2093) .. (-0.3831, 2.1919) .. controls (-0.3282, 2.173) and (-0.2725, 2.1539) .. (-0.2231, 2.1228) .. controls (-0.1875, 2.0984) and (-0.1524, 2.0637) .. (-0.1470, 2.0187) .. controls (-0.1446, 2.0028) and (-0.1518, 1.9881) .. (-0.1584, 1.9744) .. controls (-0.1706, 1.9343) and (-0.2090, 1.9063) .. (-0.25, 1.9017) .. controls (-0.3079, 1.8943) and (-0.3684, 1.9134) .. (-0.4132, 1.9504) .. controls (-0.4657, 1.9988) and (-0.5111, 2.0545) .. (-0.5513, 2.1133) .. controls (-0.5692, 2.1404) and (-0.5854, 2.1692) .. (-0.5945, 2.2004) .. controls (-0.5989, 2.2232) and (-0.5717, 2.2282) .. (-0.5551, 2.2281) -- cycle;
-%
-\else
- % Collar %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \anteater@part@draw[\anteater@body!45!white!95!orange] (0.33, 1.55) -- (-0.33, 1.55) .. controls (-0.5, 1.05) and (-0.1, 0.95) .. (0, 0.60) .. controls (0.1, 0.95) and (0.5, 1.05) .. (0.33, 1.55) -- cycle;
- \anteater@part@draw[\anteater@body!70!brown!50!darkgray] (0.33, 1.55) -- (-0.33, 1.55) .. controls (-0.45, 1.1) and (-0.1, 1) .. (0, 0.70) .. controls (0.1, 1) and (0.45, 1.1) .. (0.33, 1.55) -- cycle;
- % Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \anteater@part@draw[\anteater@body!70!brown!50!darkgray] (0.3531, 1.9773) .. controls (0.4315, 2.0197) and (0.6217, 2.172) .. (0.5917, 2.2157) .. controls (0.5615, 2.2594) and (0.3224, 2.178) .. (0.2441, 2.1354) .. controls (0.1659, 2.093) and (0.1269, 2.023) .. (0.1569, 1.9793) .. controls (0.1870, 1.9356) and (0.2748, 1.9347) .. (0.3531, 1.9773) -- cycle;
- \anteater@part@draw[\anteater@body!70!brown!50!darkgray] (-0.3531, 1.9773) .. controls (-0.4315, 2.0197) and (-0.6217, 2.172) .. (-0.5917, 2.2157) .. controls (-0.5615, 2.2594) and (-0.3224, 2.178) .. (-0.2441, 2.1354) .. controls (-0.1659, 2.093) and (-0.1269, 2.023) .. (-0.1569, 1.9793) .. controls (-0.1870, 1.9356) and (-0.2748, 1.9347) .. (-0.3531, 1.9773) -- cycle;
- \anteater@part@draw[\anteater@body!45!white!95!orange] (0.4086, 1.9465) .. controls (0.4679, 1.9952) and (0.6205, 2.1813) .. (0.5862, 2.2146) .. controls (0.5517, 2.2477) and (0.3434, 2.1152) .. (0.2841, 2.0665) .. controls (0.2249, 2.0177) and (0.2048, 1.9515) .. (0.2391, 1.9184) .. controls (0.2736, 1.8853) and (0.3494, 1.8979) .. (0.40861, 1.9465) -- cycle
- (-0.4086, 1.9465) .. controls (-0.4679, 1.9952) and (-0.6205, 2.1813) .. (-0.5862, 2.2146) .. controls (-0.5517, 2.2477) and (-0.3434, 2.1152) .. (-0.2841, 2.0665) .. controls (-0.2249, 2.0177) and (-0.2048, 1.9515) .. (-0.2391, 1.9184) .. controls (-0.2736, 1.8853) and (-0.3494, 1.8979) .. (-0.40861, 1.9465) -- cycle;
- %
- % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \anteater@part@draw[\anteater@body]
- (0.33, 1.71) .. controls (0.16, 1.52) and (0.1, 1.5) .. (0.08, 1.05) .. controls (0.07, 1) and (-0.07, 1) .. (-0.08, 1.05) .. controls (-0.1, 1.5) and (-0.16, 1.52) .. (-0.33, 1.7) .. controls (-0.45, 1.85) and (-0.22, 2.05) .. (0, 2.05) .. controls (0.22, 2.05) and (0.45, 1.85) .. (0.33, 1.7) -- cycle;
- %
- % Cheeks %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \anteater@part@draw[\anteater@body!45!white!95!orange] (0.3508, 1.739) .. controls (0.3508, 1.739) and (0.2861, 1.8489) .. (0.1571, 1.7664) .. controls (0.0279, 1.684) and (0.0627, 1.0524) .. (0.0627, 1.0524) .. controls (0.0627, 1.0524) and (0.131, 1.3772) .. (0.2314, 1.44) .. controls (0.3599, 1.5206) and (0.3508, 1.739) .. (0.3508, 1.739) -- cycle
- (-0.3508, 1.739) .. controls (-0.3508, 1.739) and (-0.2861, 1.8489) .. (-0.1571, 1.7664) .. controls (-0.0279, 1.684) and (-0.0627, 1.0524) .. (-0.0627, 1.0524) .. controls (-0.0627, 1.0524) and (-0.131, 1.3772) .. (-0.2314, 1.44) .. controls (-0.3599, 1.5206) and (-0.3508, 1.739) .. (-0.3508, 1.739) -- cycle;
- %
- % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \anteater@part@draw[\anteater@body!70!brown!50!darkgray] (0, 1.08) ellipse[x radius=0.08, y radius=0.05];
- %
- % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \anteater@part@draw[\anteater@eye] (0.23, 1.7) circle[radius=0.05];
- \anteater@part@draw[\anteater@eye] (-0.23, 1.7) circle[radius=0.05];
-\fi
-%
-% Tail if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifanteater@back
- \anteater@part@draw[\anteater@body!70!brown!50!darkgray] (1.0893, 1.5779) .. controls (0.3433, 1.6612) and (0.4863, 0.6062) .. (-0.0243, 0.348) .. controls (1.0671, 0.068) and (0.8133, 1.1808) .. (1.0893, 1.5779) -- cycle;
-\fi
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname anteaterhookbody\endcsname
-\csname tikzlinghookbody\endcsname
-%
-}
-
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\anteater[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-bats.sty b/graphics/pgf/contrib/tikzlings/tikzlings-bats.sty
new file mode 100644
index 0000000000..9e8daeb75d
--- /dev/null
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-bats.sty
@@ -0,0 +1,260 @@
+ % !TeX root = ./examples/bat.tex
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\ProvidesPackage{tikzlings-bats}[2021/08/06 version v0.8 Drawing bats in TikZ]
+
+\RequirePackage{tikz}
+\RequirePackage{tikzlings-addons}
+
+\newcommand*{\bat}[1][]{%
+ \begin{scope}%
+ \tikzset{/bat/.cd,#1}%
+ \bat@draw%
+ \end{scope}%
+ \thing[#1]%
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname bathookforeground\endcsname
+ \csname tikzlinghookforeground\endcsname
+ %
+}
+
+\newif\ifbat@threeD
+\newif\ifbat@back
+\newif\ifbat@contour
+\newif\ifbat@teeth
+
+\tikzset{
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Pass unknown keys on to tikz
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ /bat/.search also={/tikz,/pgf,/thing},
+ /bat/.cd,
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % body
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ body/.code = \def\bat@body{#1},
+ body = black!75!white,
+ ears/.code = \def\bat@ears{#1},
+ ears = \bat@body,
+ eye/.code = \def\bat@eye{#1},
+ eye = white,
+ pupil/.code = \def\bat@pupil{#1},
+ pupil = black,
+ mouth/.code = \def\bat@mouth{#1},
+ mouth = black,
+ feet/.code = \def\bat@feet{#1},
+ feet = orange,
+ wings/.code = \def\bat@wings{#1},
+ wings = 1,
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % options
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ teeth/.code = \bat@teethtrue
+ \def\bat@teeth{#1},
+ teeth/.default = white,
+ 3D/.code = \bat@threeDtrue,
+ back/.code = \bat@backtrue,
+ contour/.code = \bat@contourtrue
+ \def\bat@contour{#1}
+ \def\bat@antennas{#1}
+ \def\bat@mouth{#1},
+ contour/.default = black,
+ outline/.forward to = /bat/contour,
+}
+
+\def\bat@draw{%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.44,0.0) rectangle (0.44, 2.2);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifbat@threeD
+ \def\bat@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifbat@contour
+ \def\bat@part@draw[##1]{\draw[##1,\bat@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\bat@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname batshookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Wings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \bat@part@draw[\bat@body] (-0.4147-\bat@wings*1.8711, 0.6377) .. controls (-0.4147-\bat@wings*2.0410, 1.1512) and (-0.4147-\bat@wings*1.1342, 1.5336) .. (-0.4147-\bat@wings*0.5687, 1.6054) .. controls (-0.4147-\bat@wings*0.3860, 1.4742) and (-0.4147-\bat@wings*0.0711, 1.3009) .. (-0.35, 1.2365) -- (-0.35, 0.5586) .. controls (-0.4147-\bat@wings*0.0890, 0.6892) and (-0.4147-\bat@wings*0.2882, 0.7333) .. (-0.4147-\bat@wings*0.4758, 0.6377) .. controls (-0.4147-\bat@wings*0.6753, 0.841) and (-0.4147-\bat@wings*0.9758, 0.8349) .. (-0.4147-\bat@wings*1.1476, 0.6377) .. controls (-0.4147-\bat@wings*1.2902, 0.8407) and (-0.4147-\bat@wings*1.72, 0.8553) .. (-0.4147-\bat@wings*1.8711, 0.6377) -- cycle;
+ \bat@part@draw[\bat@body] (0.4147+\bat@wings*1.8711, 0.6377) .. controls (0.4147+\bat@wings*2.0410, 1.1512) and (0.4147+\bat@wings*1.1342, 1.5336) .. (0.4147+\bat@wings*0.5687, 1.6054) .. controls (0.4147+\bat@wings*0.3860, 1.4742) and (0.4147+\bat@wings*0.0711, 1.3009) .. (0.35, 1.2365) -- (0.35, 0.5586) .. controls (0.4147+\bat@wings*0.0890, 0.6892) and (0.4147+\bat@wings*0.2882, 0.7333) .. (0.4147+\bat@wings*0.4758, 0.6377) .. controls (0.4147+\bat@wings*0.6753, 0.841) and (0.4147+\bat@wings*0.9758, 0.8349) .. (0.4147+\bat@wings*1.1476, 0.6377) .. controls (0.4147+\bat@wings*1.2902, 0.8407) and (0.4147+\bat@wings*1.72, 0.8553) .. (0.4147+\bat@wings*1.8711, 0.6377) -- cycle;
+ %
+ % Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \bat@part@draw[\bat@ears] (-0.3498, 1.7392) .. controls (-0.3498, 1.7392) and (-0.4724, 1.9226) .. (-0.3896, 2.177) .. controls (-0.2561, 2.2679) and (-0.0953, 1.9447) .. (0.0234, 1.9394) -- cycle;
+ \bat@part@draw[\bat@ears] (0.3498, 1.7392) .. controls (0.3498, 1.7392) and (0.4724, 1.9226) .. (0.3896, 2.177) .. controls (0.2561, 2.2679) and (0.0953, 1.9447) .. (-0.0234, 1.9394) -- cycle;
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifbat@back
+ \bat@part@draw[\bat@feet] (0.175,0.1) ellipse[x radius=0.03, y radius=0.1];
+ \bat@part@draw[\bat@feet] (0.225,0.11) ellipse[x radius=0.03, y radius=0.1, rotate=20];
+ \bat@part@draw[\bat@feet] (0.275,0.13) ellipse[x radius=0.03, y radius=0.1, rotate=40];
+ \bat@part@draw[\bat@feet] (-0.175,0.1) ellipse[x radius=0.03, y radius=0.1];
+ \bat@part@draw[\bat@feet] (-0.225,0.11) ellipse[x radius=0.03, y radius=0.1, rotate=-20];
+ \bat@part@draw[\bat@feet] (-0.275,0.13) ellipse[x radius=0.03, y radius=0.1, rotate=-40];
+ \fi% back
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \bat@part@draw[\bat@body] (0,0.8) ellipse [y radius=0.7, x radius=0.45];
+ %
+ % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \bat@part@draw[\bat@body] (0,1.55) circle [radius=0.43];
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname batshookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifbat@back
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \bat@part@draw[\bat@feet] (0.175,0.1) ellipse[x radius=0.03, y radius=0.1];
+ \bat@part@draw[\bat@feet] (0.225,0.11) ellipse[x radius=0.03, y radius=0.1, rotate=20];
+ \bat@part@draw[\bat@feet] (0.275,0.13) ellipse[x radius=0.03, y radius=0.1, rotate=40];
+ \bat@part@draw[\bat@feet] (-0.175,0.1) ellipse[x radius=0.03, y radius=0.1];
+ \bat@part@draw[\bat@feet] (-0.225,0.11) ellipse[x radius=0.03, y radius=0.1, rotate=-20];
+ \bat@part@draw[\bat@feet] (-0.275,0.13) ellipse[x radius=0.03, y radius=0.1, rotate=-40];
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \bat@part@draw[\bat@eye] (-0.18,1.66) ellipse[x radius=0.1, y radius=0.15, rotate=10];
+ \bat@part@draw[\bat@pupil] (-0.15,1.645) ellipse[x radius=0.0357, y radius=0.0714, rotate=3];
+ \bat@part@draw[\bat@eye] (0.18,1.66) ellipse[x radius=0.1, y radius=0.15, rotate=-10];
+ \bat@part@draw[\bat@pupil] (0.15,1.645) ellipse[x radius=0.0357, y radius=0.0714, rotate=-3];
+ %
+ % Teeth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifbat@teeth
+ \bat@part@draw[\bat@teeth] (-0.1,1.36) -- (-0.12,1.3) -- (-0.14,1.38) -- cycle;
+ \bat@part@draw[\bat@teeth] (0.1,1.36) -- (0.12,1.3) -- (0.14,1.38) -- cycle;
+ \fi
+ %
+ % Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \draw[\bat@mouth,line width=\scalingfactor*0.4pt] (0.18, 1.42) arc [start angle=-40, end angle=-140, radius=0.23];
+ %
+ %
+ \fi% back
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname batshookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Documentation
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\clearpage
+%\section[Bat]{Natalie, the bat}
+%
+%\emph{Named after a dear friend from my undergrad studies}
+%
+%\subsection{Package name}
+%
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-bats}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
+%
+%\subsection{Basic Usage}
+%
+%\begin{tcblisting}{}
+%\bat
+%\end{tcblisting}
+%
+%\subsection{Options}
+%
+%The basic bat can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\bat[body=blue]
+%\end{tcblisting}
+%
+%In addition to the colour of the body, the colour of various body parts can be adjusted:
+%\begin{tcblisting}{}
+%\bat[eye=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\bat[pupil=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\bat[mouth=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\bat[ears=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\bat[feet=red]
+%\end{tcblisting}
+%
+%The spread of the wings can be adjusted by passing values between 0 and 1 to the \lstinline|wings| option:
+%\begin{tcblisting}{}
+%\bat[wings=0.5]
+%\end{tcblisting}
+%
+%To turn the bat into a vampire bat, the \lstinline|teeth| option can be used:
+%\begin{tcblisting}{}
+%\bat[teeth=white]
+%\end{tcblisting}
+%
+%To view the bat from behind:
+%\begin{tcblisting}{}
+%\bat[back]
+%\end{tcblisting}
+%
+%The key \lstinline|3D| will make the bat 3-dimensional:
+%\begin{tcblisting}{}
+%\bat[3D]
+%\end{tcblisting}
+%
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\bat[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-bears.sty b/graphics/pgf/contrib/tikzlings/tikzlings-bears.sty
index b0b7b8de69..29ac05ff93 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-bears.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-bears.sty
@@ -1,18 +1,18 @@
-% !TeX root = ./examples/bear.tex
+ % !TeX root = ./examples/bear.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% This package is part of the TikZlings package
-% A package to bring cute little animals and other beings into tikz
-% Maintained by samcarter
-%
-% Project repository and bug tracker:
-% https://github.com/samcarter/tikzlings
-%
-% Released under the LaTeX Project Public License v1.3c or later
-% See http://www.latex-project.org/lppl.txt
-%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-bears}[2021/04/16 version v0.6 Draw teddy bears in TikZ]
+\ProvidesPackage{tikzlings-bears}[2021/08/06 version v0.8 Draw teddy bears in TikZ]
\RequirePackage{tikz}
\RequirePackage{tikzlings-addons}
@@ -49,6 +49,8 @@
body = brown,
eye/.code = \def\bear@eye{#1},
eye = \bear@body!30!black,
+ mouth/.code = \def\bear@mouth{#1},
+ mouth = \bear@body!30!black,
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% options
@@ -57,117 +59,185 @@
3D/.code = \bear@threeDtrue,
back/.code = \bear@backtrue,
contour/.code = \bear@contourtrue
- \def\bear@contour{#1},
+ \def\bear@contour{#1}
+ \def\bear@mouth{#1},
contour/.default = black,
outline/.forward to = /bear/contour,
}
\def\bear@draw{%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.8, 0.0) rectangle (0.8, 2.13);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifbear@threeD
+ \def\bear@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifbear@contour
+ \def\bear@part@draw[##1]{\draw[##1,\bear@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\bear@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname bearhookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \bear@part@draw[\bear@body!70!black] (0.525,0.9) ellipse[x radius=0.35, y radius=0.15, rotate=-50];
+ \bear@part@draw[\bear@body!70!black] (-0.525,0.9) ellipse[x radius=0.35, y radius=0.15, rotate=50];
+ %
+ % Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifbear@back
+ \bear@part@draw[\bear@body!70!black] (0.425, 0.3) circle[radius=0.28];
+ \bear@part@draw[\bear@body!70!black] (-0.425, 0.3) circle[radius=0.28];
+ \fi% back
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \bear@part@draw[\bear@body!70!black] (0,0.75) ellipse[x radius=0.55, y radius=0.65];
+ \unless\ifbear@back
+ \bear@part@draw[\bear@body!50!white] (0,0.7) ellipse[x radius=0.35, y radius=0.4];
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname bearhookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifbear@back
+ \bear@part@draw[\bear@body!70!black] (0.425, 0.3) circle[radius=0.28];
+ \bear@part@draw[\bear@body!70!black] (-0.425, 0.3) circle[radius=0.28];
+ \bear@part@draw[\bear@body!50!white] (0.425, 0.3) circle[radius=0.17];
+ \bear@part@draw[\bear@body!50!white] (-0.425, 0.3) circle[radius=0.17];
+ \fi% back
+ %
+ % Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \bear@part@draw[\bear@body!70!black] (0.375, 1.95) circle[radius=0.15];
+ \bear@part@draw[\bear@body!70!black] (-0.375, 1.95) circle[radius=0.15];
+ \unless\ifbear@back
+ \bear@part@draw[\bear@body!50!white] (0.375, 1.95) circle[radius=0.1];
+ \bear@part@draw[\bear@body!50!white] (-0.375, 1.95) circle[radius=0.1];
+ \fi% back
+ %
+ % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \bear@part@draw[\bear@body!70!black] (0, 1.55) circle[radius=0.5];
+ %
+ % Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifbear@back
+ %
+ % Muzzle %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \bear@part@draw[\bear@body!50!white] (0, 1.4) ellipse[x radius=0.28, y radius=0.2];
+ \bear@part@draw[\bear@body!70!white!80!red] (0, 1.5) ellipse[x radius=0.15, y radius=0.08];
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \bear@part@draw[\bear@eye] (-0.155, 1.7) circle[radius=0.05];
+ \bear@part@draw[\bear@eye] (0.155, 1.7) circle[radius=0.05];
+ %
+ % Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \draw[\bear@mouth,line width=\scalingfactor*0.4pt] (0.145, 1.38) arc [start angle=-20, end angle=-160, radius=0.16];
+ %
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname bearhookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Documentation
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\clearpage
+%\section[Bear]{B\"ar, the teddy bear}
%
-% minimal bounding box size
+%\emph{If you look very closely at the group picture in \href{https://www.tug.org/TUGboat/tb39-2/tb122wright-tug18.pdf}{TUG goes to Rio} you can spot the real B\"ar in it}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.8, 0.0) rectangle (0.8, 2.13);
+%\subsection{Package name}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-bears}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+%\subsection{Basic Usage}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+%\begin{tcblisting}{}
+%\bear
+%\end{tcblisting}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
+%\subsection{Options}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifbear@threeD
- \def\bear@part@draw[##1]{\shade[ball color=##1]}
-\else
- \ifbear@contour
- \def\bear@part@draw[##1]{\draw[##1,\bear@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\bear@part@draw[##1]{\fill[##1]}
- \fi
-\fi
+%The basic teddy bear can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\bear[body=blue]
+%\end{tcblisting}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%In addition to the colour of the body, the colour of various body parts can be adjusted:
+%\begin{tcblisting}{}
+%\bear[eye=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\bear[mouth=red]
+%\end{tcblisting}
%
-% Body parts (center: x=0.925)
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%To view the teddy bear from behind:
+%\begin{tcblisting}{}
+%\bear[back]
+%\end{tcblisting}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname bearhookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
-%
-% Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\bear@part@draw[\bear@body!70!black] (0.525,0.9) ellipse[x radius=0.35, y radius=0.15, rotate=-50];
-\bear@part@draw[\bear@body!70!black] (-0.525,0.9) ellipse[x radius=0.35, y radius=0.15, rotate=50];
-%
-% Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifbear@back
- \bear@part@draw[\bear@body!70!black] (0.425, 0.3) circle[radius=0.28];
- \bear@part@draw[\bear@body!70!black] (-0.425, 0.3) circle[radius=0.28];
-\fi
-%
-% Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\bear@part@draw[\bear@body!70!black] (0,0.75) ellipse[x radius=0.55, y radius=0.65];
-\unless\ifbear@back
- \bear@part@draw[\bear@body!50!white] (0,0.7) ellipse[x radius=0.35, y radius=0.4];
-\fi
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname bearhookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
-%
-% Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifbear@back
- \bear@part@draw[\bear@body!70!black] (0.425, 0.3) circle[radius=0.28];
- \bear@part@draw[\bear@body!70!black] (-0.425, 0.3) circle[radius=0.28];
- \bear@part@draw[\bear@body!50!white] (0.425, 0.3) circle[radius=0.17];
- \bear@part@draw[\bear@body!50!white] (-0.425, 0.3) circle[radius=0.17];
-\fi
-%
-% Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\bear@part@draw[\bear@body!70!black] (0.375, 1.95) circle[radius=0.15];
-\bear@part@draw[\bear@body!70!black] (-0.375, 1.95) circle[radius=0.15];
-\unless\ifbear@back
- \bear@part@draw[\bear@body!50!white] (0.375, 1.95) circle[radius=0.1];
- \bear@part@draw[\bear@body!50!white] (-0.375, 1.95) circle[radius=0.1];
-\fi
-%
-% Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\bear@part@draw[\bear@body!70!black] (0, 1.55) circle[radius=0.5];
-%
-% Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifbear@back
-%
-% Muzzle %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\bear@part@draw[\bear@body!50!white] (0, 1.4) ellipse[x radius=0.28, y radius=0.2];
-\bear@part@draw[\bear@body!70!white!80!red] (0, 1.5) ellipse[x radius=0.15, y radius=0.08];
-%
-% Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\bear@part@draw[\bear@eye] (-0.155, 1.7) circle[radius=0.05];
-\bear@part@draw[\bear@eye] (0.155, 1.7) circle[radius=0.05];
-%
-% Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifbear@contour
- \draw[\bear@contour,line width=\scalingfactor*0.4pt] (0.145, 1.38) arc [start angle=-20, end angle=-160, radius=0.16];
-\else
- \draw[\bear@body!30!black,line width=\scalingfactor*0.4pt] (0.145, 1.38) arc [start angle=-20, end angle=-160, radius=0.16];
-\fi
-%
-\fi
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname bearhookbody\endcsname
-\csname tikzlinghookbody\endcsname
+%The key \lstinline|3D| will make the teddy bear 3-dimensional:
+%\begin{tcblisting}{}
+%\bear[3D]
+%\end{tcblisting}
%
-}
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\bear[contour=black]
+%\end{tcblisting}
+%
+%\subsection{Extension}
+%
+%The B\"ar and Ulrike Fischer wrote the fantastic \lstinline|bearwear| package, that provides many different clothing options for the \lstinline|TikZbears|. All the other \tikzlings admire them for the nice clothing!
+%
+%A short example:
+%
+%\begin{tcblisting}{}
+%%\usepackage{bearwear}
+%\bear
+%\bearwear[
+% long sleeves,
+% shirt=red!80!black
+%]
+%\end{tcblisting}
+%
+%Many more options and examples can be found in the package documentation \url{https://ctan.org/pkg/bearwear}.
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-bees.sty b/graphics/pgf/contrib/tikzlings/tikzlings-bees.sty
index 818f713d44..6c88a2e3d7 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-bees.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-bees.sty
@@ -1,18 +1,18 @@
-% !TeX root = ./examples/bee.tex
+ % !TeX root = ./examples/bee.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% This package is part of the TikZlings package
-% A package to bring cute little animals and other beings into tikz
-% Maintained by samcarter
-%
-% Project repository and bug tracker:
-% https://github.com/samcarter/tikzlings
-%
-% Released under the LaTeX Project Public License v1.3c or later
-% See http://www.latex-project.org/lppl.txt
-%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-bees}[2021/04/16 version v0.6 Drawing bees in TikZ]
+\ProvidesPackage{tikzlings-bees}[2021/08/06 version v0.8 Drawing bees in TikZ]
\RequirePackage{tikz}
\RequirePackage{tikzlings-addons}
@@ -76,119 +76,187 @@
}
\def\bee@draw{%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.88,0.1) rectangle (0.88, 2.4);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifbee@threeD
+ \def\bee@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifbee@contour
+ \def\bee@part@draw[##1]{\draw[##1,\bee@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\bee@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname beeshookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ \ifbee@back
+ %
+ % Antenna %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \fill[\bee@antennas,rotate around={15:(-0.175,2.115)}] (-0.2,1.93) rectangle (-0.15,2.3);
+ \fill[\bee@antennas,rotate around={-15:(0.175,2.115)}] (0.2,1.93) rectangle (0.15,2.3);
+ \bee@part@draw[\bee@antennas] (-0.22,2.30) circle[radius=0.07];
+ \bee@part@draw[\bee@antennas] (0.22,2.30) circle[radius=0.07];
+ \else% back
+ % Wings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifbee@contour
+ \bee@part@draw[\bee@wings] (0.5,0.8) circle[radius=0.35];
+ \bee@part@draw[\bee@wings] (0.45,1.25) circle[radius=0.35];
+ \bee@part@draw[\bee@wings] (-0.5,0.8) circle[radius=0.35];
+ \bee@part@draw[\bee@wings] (-0.45,1.25) circle[radius=0.35];
+ \else% contour
+ \fill[\bee@wings] (0.45,1.25) circle[radius=0.35] (0.5,0.8) circle[radius=0.35];
+ \fill[\bee@wings] (-0.45,1.25) circle[radius=0.35](-0.5,0.8) circle[radius=0.35];
+ \fi% contour
+ \fi% back
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \begin{scope}
+ \bee@part@draw[\bee@body] (0,2.1) to[out=180,in=140,looseness=1.2] (-0.3,1.5) to[out=-110,in=180,looseness=1.2] (0,0.15) to[out=00,in=-65,looseness=1.2] (0.3,1.5) to[out=40,in=0,looseness=1.2] cycle;
+ \clip (0,2.1) to[out=180,in=140,looseness=1.2] (-0.3,1.5) to[out=-110,in=180,looseness=1.2] (0,0.15) to[out=00,in=-65,looseness=1.2] (0.3,1.5) to[out=40,in=0,looseness=1.2] cycle;
+ % stripes
+ \bee@part@draw[\bee@stripes] (-0.475,1.3) arc(180:360:0.5 and 0.1) -- ++ (0,-0.15) arc(360:180:0.5 and 0.1) -- cycle
+ (-0.475,1.0) arc(180:360:0.5 and 0.1) -- ++ (0,-0.15) arc(360:180:0.5 and 0.1) -- cycle
+ (-0.475,0.65) arc(180:360:0.5 and 0.1) -- ++ (0,-0.15) arc(360:180:0.5 and 0.1) -- cycle
+ (-0.475,0.35) arc(180:360:0.5 and 0.1) -- ++ (0,-0.15) arc(360:180:0.5 and 0.1) -- cycle;
+ \end{scope}
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname beeshookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifbee@back
+ %
+ % Wings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifbee@contour
+ \bee@part@draw[\bee@wings] (0.5,0.8) circle[radius=0.35];
+ \bee@part@draw[\bee@wings] (0.45,1.25) circle[radius=0.35];
+ \bee@part@draw[\bee@wings] (-0.5,0.8) circle[radius=0.35];
+ \bee@part@draw[\bee@wings] (-0.45,1.25) circle[radius=0.35];
+ \else% contour
+ \fill[\bee@wings] (0.45,1.25) circle[radius=0.35] (0.5,0.8) circle[radius=0.35];
+ \fill[\bee@wings] (-0.45,1.25) circle[radius=0.35](-0.5,0.8) circle[radius=0.35];
+ \fi% contour
+ \else% back
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \bee@part@draw[\bee@eye] (-0.15,1.8) circle[radius=0.05];
+ \bee@part@draw[\bee@eye] (0.15,1.8) circle[radius=0.05];
+ %
+ % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \bee@part@draw[\bee@hands] (-0.25,0.88) circle[x radius=0.07,y radius=0.2, rotate=25];
+ \bee@part@draw[\bee@hands] (0.25,0.88) circle[x radius=0.07,y radius=0.2, rotate=-25];
+ %
+ % Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \draw[\bee@mouth,line width=\scalingfactor*0.4pt] (0.115, 1.6) arc [start angle=-40, end angle=-140, radius=0.16];
+ %
+ % Antenna %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \fill[\bee@antennas,rotate around={15:(-0.175,2.115)}] (-0.2,1.93) rectangle (-0.15,2.3);
+ \fill[\bee@antennas,rotate around={-15:(0.175,2.115)}] (0.2,1.93) rectangle (0.15,2.3);
+ \bee@part@draw[\bee@antennas] (-0.22,2.30) circle[radius=0.07];
+ \bee@part@draw[\bee@antennas] (0.22,2.30) circle[radius=0.07];
+ %
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname beeshookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
+}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.88,0.1) rectangle (0.88, 2.4);
-%
+%%
+%% Documentation
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\clearpage
+%\section[Bee]{Beeing, the bee}
%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+%\emph{The bee was kindly contributed by @marmot}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+%\subsection{Package name}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-bees}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifbee@threeD
- \def\bee@part@draw[##1]{\shade[ball color=##1]}
-\else
- \ifbee@contour
- \def\bee@part@draw[##1]{\draw[##1,\bee@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\bee@part@draw[##1]{\fill[##1]}
- \fi
-\fi
+%\subsection{Basic Usage}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\begin{tcblisting}{}
+%\bee
+%\end{tcblisting}
%
-% Body parts (center: x=0)
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\subsection{Options}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname beeshookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
+%The basic bee can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\bee[body=blue]
+%\end{tcblisting}
%
-\ifbee@back
- % Antenna %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \fill[\bee@antennas,rotate around={15:(-0.175,2.115)}] (-0.2,1.93) rectangle (-0.15,2.3);
- \fill[\bee@antennas,rotate around={-15:(0.175,2.115)}] (0.2,1.93) rectangle (0.15,2.3);
- \bee@part@draw[\bee@antennas] (-0.22,2.30) circle[radius=0.07];
- \bee@part@draw[\bee@antennas] (0.22,2.30) circle[radius=0.07];
-\else
- % Wings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \ifbee@contour
- \bee@part@draw[\bee@wings] (0.5,0.8) circle[radius=0.35];
- \bee@part@draw[\bee@wings] (0.45,1.25) circle[radius=0.35];
- \bee@part@draw[\bee@wings] (-0.5,0.8) circle[radius=0.35];
- \bee@part@draw[\bee@wings] (-0.45,1.25) circle[radius=0.35];
- \else
- \fill[\bee@wings] (0.45,1.25) circle[radius=0.35] (0.5,0.8) circle[radius=0.35];
- \fill[\bee@wings] (-0.45,1.25) circle[radius=0.35](-0.5,0.8) circle[radius=0.35];
- \fi
-\fi
+%In addition to the colour of the body, the colour of various body parts can be adjusted:
+%\begin{tcblisting}{}
+%\bee[antennas=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\bee[eye=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\bee[mouth=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\bee[wings=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\bee[hands=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\bee[stripes=red]
+%\end{tcblisting}
%
-% Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{scope}
- \bee@part@draw[\bee@body] (0,2.1) to[out=180,in=140,looseness=1.2] (-0.3,1.5) to[out=-110,in=180,looseness=1.2] (0,0.15) to[out=00,in=-65,looseness=1.2] (0.3,1.5) to[out=40,in=0,looseness=1.2] cycle;
- \clip (0,2.1) to[out=180,in=140,looseness=1.2] (-0.3,1.5) to[out=-110,in=180,looseness=1.2] (0,0.15) to[out=00,in=-65,looseness=1.2] (0.3,1.5) to[out=40,in=0,looseness=1.2] cycle;
- % stripes
- \bee@part@draw[\bee@stripes] (-0.475,1.3) arc(180:360:0.5 and 0.1) -- ++ (0,-0.15) arc(360:180:0.5 and 0.1) -- cycle
- (-0.475,1.0) arc(180:360:0.5 and 0.1) -- ++ (0,-0.15) arc(360:180:0.5 and 0.1) -- cycle
- (-0.475,0.65) arc(180:360:0.5 and 0.1) -- ++ (0,-0.15) arc(360:180:0.5 and 0.1) -- cycle
- (-0.475,0.35) arc(180:360:0.5 and 0.1) -- ++ (0,-0.15) arc(360:180:0.5 and 0.1) -- cycle;
-\end{scope}
+%To view the bee from behind:
+%\begin{tcblisting}{}
+%\bee[back]
+%\end{tcblisting}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname beeshookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
+%The key \lstinline|3D| will make the bee 3-dimensional:
+%\begin{tcblisting}{}
+%\bee[3D]
+%\end{tcblisting}
%
-% Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifbee@back
- %
- % Wings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \ifbee@contour
- \bee@part@draw[\bee@wings] (0.5,0.8) circle[radius=0.35];
- \bee@part@draw[\bee@wings] (0.45,1.25) circle[radius=0.35];
- \bee@part@draw[\bee@wings] (-0.5,0.8) circle[radius=0.35];
- \bee@part@draw[\bee@wings] (-0.45,1.25) circle[radius=0.35];
- \else
- \fill[\bee@wings] (0.45,1.25) circle[radius=0.35] (0.5,0.8) circle[radius=0.35];
- \fill[\bee@wings] (-0.45,1.25) circle[radius=0.35](-0.5,0.8) circle[radius=0.35];
- \fi
-\else
- %
- % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \bee@part@draw[\bee@eye] (-0.15,1.8) circle[radius=0.05];
- \bee@part@draw[\bee@eye] (0.15,1.8) circle[radius=0.05];
- %
- % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \bee@part@draw[\bee@hands] (-0.25,0.88) circle[x radius=0.07,y radius=0.2, rotate=25];
- \bee@part@draw[\bee@hands] (0.25,0.88) circle[x radius=0.07,y radius=0.2, rotate=-25];
- %
- % Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \draw[\bee@mouth,line width=\scalingfactor*0.4pt] (0.115, 1.6) arc [start angle=-40, end angle=-140, radius=0.16];
- %
- % Antenna %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \fill[\bee@antennas,rotate around={15:(-0.175,2.115)}] (-0.2,1.93) rectangle (-0.15,2.3);
- \fill[\bee@antennas,rotate around={-15:(0.175,2.115)}] (0.2,1.93) rectangle (0.15,2.3);
- \bee@part@draw[\bee@antennas] (-0.22,2.30) circle[radius=0.07];
- \bee@part@draw[\bee@antennas] (0.22,2.30) circle[radius=0.07];
- %
-\fi
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname beeshookbody\endcsname
-\csname tikzlinghookbody\endcsname
-%
-}
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\bee[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-bugs.sty b/graphics/pgf/contrib/tikzlings/tikzlings-bugs.sty
new file mode 100644
index 0000000000..bca48e2680
--- /dev/null
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-bugs.sty
@@ -0,0 +1,263 @@
+ % !TeX root = ./examples/bug.tex
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\ProvidesPackage{tikzlings-bugs}[2021/08/06 version v0.8 Drawing bugs in TikZ]
+
+\RequirePackage{tikz}
+\RequirePackage{tikzlings-addons}
+
+\newcommand*{\bug}[1][]{%
+ \begin{scope}%
+ \tikzset{/bug/.cd,#1}%
+ \bug@draw%
+ \end{scope}%
+ \thing[#1]%
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname bughookforeground\endcsname
+ \csname tikzlinghookforeground\endcsname
+ %
+}
+
+\newif\ifbug@threeD
+\newif\ifbug@back
+\newif\ifbug@contour
+
+\tikzset{
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Pass unknown keys on to tikz
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ /bug/.search also={/tikz,/pgf,/thing},
+ /bug/.cd,
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % body
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ body/.code = \def\bug@body{#1},
+ body = black!90!white,
+ arms/.code = \def\bug@arms{#1},
+ arms = red!80!black,
+ wings/.code = \def\bug@wings{#1},
+ wings = red!80!black,
+ dots/.code = \def\bug@dots{#1},
+ dots = black!90!white,
+ antennas/.code = \def\bug@antennas{#1},
+ antennas = red!80!black,
+ eye/.code = \def\bug@eye{#1},
+ eye = white,
+ pupil/.code = \def\bug@pupil{#1},
+ pupil = black,
+ mouth/.code = \def\bug@mouth{#1},
+ mouth = red,
+ feet/.code = \def\bug@feet{#1},
+ feet = red!80!black,
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % options
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ 3D/.code = \bug@threeDtrue,
+ back/.code = \bug@backtrue,
+ contour/.code = \bug@contourtrue
+ \def\bug@contour{#1}
+ \def\bug@antennas{#1}
+ \def\bug@mouth{#1},
+ contour/.default = black,
+ outline/.forward to = /bug/contour,
+}
+
+\def\bug@draw{%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.92,0.02) rectangle (0.92, 2.36);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifbug@threeD
+ \def\bug@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifbug@contour
+ \def\bug@part@draw[##1]{\draw[##1,\bug@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\bug@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname bugshookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ \ifbug@back
+ %
+ % Antenna %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \draw[\bug@antennas,line width=\scalingfactor*0.8pt] (0.1134, 1.911) .. controls (0.0917, 2.0537) and (0.0986, 2.1999) .. (0.1608, 2.2816) .. controls (0.245, 2.3919) and (0.3278, 2.3011) .. (0.3272, 2.2192) .. controls (0.3266, 2.1341) and (0.2237, 2.0423) .. (0.1978, 2.1538);
+ \draw[\bug@antennas,line width=\scalingfactor*0.8pt] (-0.1134, 1.911) .. controls (-0.0917, 2.0537) and (-0.0986, 2.1999) .. (-0.1608, 2.2816) .. controls (-0.245, 2.3919) and (-0.3278, 2.3011) .. (-0.3272, 2.2192) .. controls (-0.3266, 2.1341) and (-0.2237, 2.0423) .. (-0.1978, 2.1538);
+ \else% back
+ %
+ % Wings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \bug@part@draw[\bug@wings] (-0.0955, 1.4222) .. controls (-0.2086, 1.6765) and (-0.692, 1.2508) .. (-0.8174, 1.0023) .. controls (-0.9304, 0.7786) and (-0.9533, 0.379) .. (-0.7355, 0.2548) .. controls (-0.5988, 0.1768) and (-0.4043, 0.3269) .. (-0.3054, 0.4494) .. controls (-0.097, 0.7075) and (0.0589, 1.0749) .. (-0.0955, 1.4222) -- cycle;
+ \bug@part@draw[\bug@wings] (0.0955, 1.4222) .. controls (0.2086, 1.6765) and (0.692, 1.2508) .. (0.8174, 1.0023) .. controls (0.9304, 0.7786) and (0.9533, 0.379) .. (0.7355, 0.2548) .. controls (0.5988, 0.1768) and (0.4043, 0.3269) .. (0.3054, 0.4494) .. controls (0.097, 0.7075) and (-0.0589, 1.0749) .. (0.0955, 1.4222) -- cycle;
+ \ifbug@contour
+ \bug@part@draw[\bug@dots] (-0.2,0.85) circle [radius=0.08] (-0.5,0.8) circle [radius=0.08] (-0.8,0.75) circle [radius=0.08] (-0.35,0.6) circle [radius=0.08] (-0.65,0.5) circle [radius=0.08] (-0.3,1.05) circle [radius=0.08] (-0.6,1.1) circle [radius=0.08] (-0.35,1.35) circle [radius=0.08] (0.2,0.85) circle [radius=0.08] (0.5,0.8) circle [radius=0.08] (0.8,0.75) circle [radius=0.08] (0.35,0.6) circle [radius=0.08] (0.65,0.5) circle [radius=0.08] (0.3,1.05) circle [radius=0.08] (0.6,1.1) circle [radius=0.08] (0.35,1.35) circle [radius=0.08];
+ \else% contour
+ \fill[\bug@dots] (-0.2,0.85) circle [radius=0.08] (-0.5,0.8) circle [radius=0.08] (-0.8,0.75) circle [radius=0.08] (-0.35,0.6) circle [radius=0.08] (-0.65,0.5) circle [radius=0.08] (-0.3,1.05) circle [radius=0.08] (-0.6,1.1) circle [radius=0.08] (-0.35,1.35) circle [radius=0.08] (0.2,0.85) circle [radius=0.08] (0.5,0.8) circle [radius=0.08] (0.8,0.75) circle [radius=0.08] (0.35,0.6) circle [radius=0.08] (0.65,0.5) circle [radius=0.08] (0.3,1.05) circle [radius=0.08] (0.6,1.1) circle [radius=0.08] (0.35,1.35) circle [radius=0.08];
+ \fi% contour
+ \fi% back
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \bug@part@draw[\bug@feet] (0.2,0.1) ellipse[x radius=0.18, y radius=0.06];
+ \bug@part@draw[\bug@feet] (-0.2,0.1) ellipse[x radius=0.18, y radius=0.06];
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \bug@part@draw[\bug@body] ( 0.55, 0.75) .. controls ( 0.55, 0.40) and ( 0.55, 0.08) .. ( 0.00, 0.08) .. controls (-0.55, 0.08) and (-0.55, 0.40) .. (-0.55, 0.75) .. controls (-0.55, 1.13) and (-0.30, 1.44) .. ( 0.00, 1.44) .. controls ( 0.30, 1.44) and ( 0.55, 1.13) .. ( 0.55, 0.75) -- cycle;
+ %
+ % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \bug@part@draw[\bug@body] (0,1.7) circle [radius=0.37];
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname bugshookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifbug@back
+ %
+ % Wings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \bug@part@draw[\bug@wings] (-0.0955, 1.4222) .. controls (-0.2086, 1.6765) and (-0.692, 1.2508) .. (-0.8174, 1.0023) .. controls (-0.9304, 0.7786) and (-0.9533, 0.379) .. (-0.7355, 0.2548) .. controls (-0.5988, 0.1768) and (-0.4043, 0.3269) .. (-0.3054, 0.4494) .. controls (-0.097, 0.7075) and (0.0589, 1.0749) .. (-0.0955, 1.4222) -- cycle;
+ \bug@part@draw[\bug@wings] (0.0955, 1.4222) .. controls (0.2086, 1.6765) and (0.692, 1.2508) .. (0.8174, 1.0023) .. controls (0.9304, 0.7786) and (0.9533, 0.379) .. (0.7355, 0.2548) .. controls (0.5988, 0.1768) and (0.4043, 0.3269) .. (0.3054, 0.4494) .. controls (0.097, 0.7075) and (-0.0589, 1.0749) .. (0.0955, 1.4222) -- cycle;
+ \ifbug@contour
+ \bug@part@draw[\bug@dots] (-0.2,0.85) circle [radius=0.08] (-0.5,0.8) circle [radius=0.08] (-0.8,0.75) circle [radius=0.08] (-0.35,0.6) circle [radius=0.08] (-0.65,0.5) circle [radius=0.08] (-0.3,1.05) circle [radius=0.08] (-0.6,1.1) circle [radius=0.08] (-0.35,1.35) circle [radius=0.08] (0.2,0.85) circle [radius=0.08] (0.5,0.8) circle [radius=0.08] (0.8,0.75) circle [radius=0.08] (0.35,0.6) circle [radius=0.08] (0.65,0.5) circle [radius=0.08] (0.3,1.05) circle [radius=0.08] (0.6,1.1) circle [radius=0.08] (0.35,1.35) circle [radius=0.08];
+ \else% contour
+ \fill[\bug@dots] (-0.2,0.85) circle [radius=0.08] (-0.5,0.8) circle [radius=0.08] (-0.8,0.75) circle [radius=0.08] (-0.35,0.6) circle [radius=0.08] (-0.65,0.5) circle [radius=0.08] (-0.3,1.05) circle [radius=0.08] (-0.6,1.1) circle [radius=0.08] (-0.35,1.35) circle [radius=0.08] (0.2,0.85) circle [radius=0.08] (0.5,0.8) circle [radius=0.08] (0.8,0.75) circle [radius=0.08] (0.35,0.6) circle [radius=0.08] (0.65,0.5) circle [radius=0.08] (0.3,1.05) circle [radius=0.08] (0.6,1.1) circle [radius=0.08] (0.35,1.35) circle [radius=0.08];
+ \fi% contour
+ \else% back
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \bug@part@draw[\bug@eye] (0.13,1.75) ellipse[x radius=0.067, y radius=0.085];
+ \bug@part@draw[\bug@eye] (-0.13,1.75) ellipse[x radius=0.067, y radius=0.085];
+ \bug@part@draw[\bug@pupil] (0.12,1.73) ellipse[x radius=0.019, y radius=0.029];
+ \bug@part@draw[\bug@pupil] (-0.12,1.73) ellipse[x radius=0.019, y radius=0.029];
+ %
+ % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \bug@part@draw[\bug@arms] (-0.25,0.88) circle[x radius=0.07,y radius=0.18, rotate=35];
+ \bug@part@draw[\bug@arms] (0.25,0.88) circle[x radius=0.07,y radius=0.18, rotate=-35];
+ %
+ % Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \draw[\bug@mouth,line width=\scalingfactor*0.4pt] (0.115, 1.56) arc [start angle=-40, end angle=-140, radius=0.16];
+ %
+ % Antenna %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \draw[\bug@antennas,line width=\scalingfactor*0.8pt] (0.1134, 1.911) .. controls (0.0917, 2.0537) and (0.0986, 2.1999) .. (0.1608, 2.2816) .. controls (0.245, 2.3919) and (0.3278, 2.3011) .. (0.3272, 2.2192) .. controls (0.3266, 2.1341) and (0.2237, 2.0423) .. (0.1978, 2.1538);
+ \draw[\bug@antennas,line width=\scalingfactor*0.8pt] (-0.1134, 1.911) .. controls (-0.0917, 2.0537) and (-0.0986, 2.1999) .. (-0.1608, 2.2816) .. controls (-0.245, 2.3919) and (-0.3278, 2.3011) .. (-0.3272, 2.2192) .. controls (-0.3266, 2.1341) and (-0.2237, 2.0423) .. (-0.1978, 2.1538);
+ %
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname bugshookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Documentation
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\clearpage
+%\section[Bug]{Marie, the bug}
+%
+%\emph{For a French girl who likes ladybugs -- the name comes from the German word for ladybug ``Marienkäfer''}
+%
+%\subsection{Package name}
+%
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-bugs}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
+%
+%\subsection{Basic Usage}
+%
+%\begin{tcblisting}{}
+%\bug
+%\end{tcblisting}
+%
+%\subsection{Options}
+%
+%The basic bug can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\bug[body=blue]
+%\end{tcblisting}
+%
+%In addition to the colour of the body, the colour of various body parts can be adjusted:
+%\begin{tcblisting}{}
+%\bug[antennas=blue]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\bug[eye=blue]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\bug[pupil=blue]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\bug[mouth=blue]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\bug[arms=blue]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\bug[wings=blue]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\bug[feet=blue]
+%\end{tcblisting}
+%
+%To view the bug from behind:
+%\begin{tcblisting}{}
+%\bug[back]
+%\end{tcblisting}
+%
+%The key \lstinline|3D| will make the bug 3-dimensional:
+%\begin{tcblisting}{}
+%\bug[3D]
+%\end{tcblisting}
+%
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\bug[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-cats.sty b/graphics/pgf/contrib/tikzlings/tikzlings-cats.sty
index fd3559c347..4081fa4a23 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-cats.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-cats.sty
@@ -1,18 +1,18 @@
-% !TeX root = ./examples/cat.tex
+ % !TeX root = ./examples/cat.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% This package is part of the TikZlings package
-% A package to bring cute little animals and other beings into tikz
-% Maintained by samcarter
-%
-% Project repository and bug tracker:
-% https://github.com/samcarter/tikzlings
-%
-% Released under the LaTeX Project Public License v1.3c or later
-% See http://www.latex-project.org/lppl.txt
-%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-cats}[2021/04/16 version v0.6 Drawing cats in TikZ]
+\ProvidesPackage{tikzlings-cats}[2021/08/06 version v0.8 Drawing cats in TikZ]
\RequirePackage{tikz}
\RequirePackage{tikzlings-addons}
@@ -114,193 +114,287 @@
}
\def\cat@draw{%
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.56,0.1) rectangle (1.63, 2.22);
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifcat@threeD
- \def\cat@part@draw[##1]{\shade[ball color=##1]}
-\else
- \ifcat@contour
- \def\cat@part@draw[##1]{\draw[##1,\cat@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\cat@part@draw[##1]{\fill[##1]}
- \fi
-\fi
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Body parts (center: x=0)
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname cathookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
-%
-% Tail %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{pgfinterruptboundingbox}
- \cat@part@draw[\cat@body] (0.3, 0.5) .. controls (0.55, 0.87) and (0.73, 1.50) .. (1.05, 1.65) .. controls (1.32, 1.77) and (1.76, 1.34) .. (1.56,1.33) .. controls (0.92, 2.03) and (0.86, 0.60) .. (0.5, 0.37) -- cycle;
-\end{pgfinterruptboundingbox}
-%
-% Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifcat@back
- \cat@part@draw[\cat@paws] (-0.255,0.3) circle[radius=0.18];
- \cat@part@draw[\cat@paws] (0.255,0.3) circle[radius=0.18];
-\fi
-%
-% Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\cat@part@draw[\cat@body] (0.5462, 0.7155) .. controls (0.5462, 0.1823) and (0.3259, 0.17) .. (0, 0.17) .. controls (-0.3259, 0.17) and (-0.5462, 0.1823) .. (-0.5462, 0.7155) .. controls (-0.5554, 1.2487) and (-0.3075, 1.6768) .. (0, 1.6768) .. controls (0.3075, 1.6768) and (0.5554, 1.2487) .. (0.5462, 0.7155) -- cycle;
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname cathookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
-%
-% Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\cat@part@draw[\cat@body]
-(0.12, 2.0392) .. controls (0.16, 2.1584) and (0.37, 2.22) .. (0.37, 2.20) .. controls (0.37, 2.2) and (0.39, 1.9) .. (0.2721, 1.9) .. controls (0.1891, 1.88) and (0.12, 1.88) .. (0.12, 2.0392) -- cycle;
-\cat@part@draw[\cat@body]
-(-0.12, 2.0392) .. controls (-0.16, 2.1584) and (-0.37, 2.22) .. (-0.37, 2.20) .. controls (-0.37, 2.2) and (-0.39, 1.9) .. (-0.2721, 1.9) .. controls (-0.1891, 1.88) and (-0.12, 1.88) .. (-0.12, 2.0392) -- cycle;
-%
-% Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\cat@part@draw[\cat@body] (0,1.64) circle[radius=0.44];
-%
-% Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifcat@back
-%
-% Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\cat@part@draw[\cat@eye] (-0.1014, 1.7491) .. controls (-0.1014, 1.7491) and (-0.1451, 1.7171) .. (-0.1841, 1.7284) .. controls (-0.2231, 1.7397) and (-0.2427, 1.79) .. (-0.2427, 1.79) .. controls (-0.2427, 1.79) and (-0.1992, 1.8221) .. (-0.1602, 1.8108) .. controls (-0.1212, 1.7995) and (-0.1014, 1.7491) .. (-0.1014, 1.7491) -- cycle;
-\cat@part@draw[\cat@eye] (0.1014, 1.7491) .. controls (0.1014, 1.7491) and (0.1451, 1.7171) .. (0.1841, 1.7284) .. controls (0.2231, 1.7397) and (0.2427, 1.79) .. (0.2427, 1.79) .. controls (0.2427, 1.79) and (0.1992, 1.8221) .. (0.1602, 1.8108) .. controls (0.1212, 1.7995) and (0.1014, 1.7491) .. (0.1014, 1.7491) -- cycle;
-%
-% Pupils %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\cat@part@draw[\cat@pupil]
- (-0.1720, 1.8071)
- .. controls (-0.1720+\cat@pupil@width, 1.7827+\cat@pupil@offset) and (-0.1720+\cat@pupil@width, 1.7584-\cat@pupil@offset) .. (-0.1720, 1.7341)
- .. controls (-0.1720-\cat@pupil@width, 1.7584-\cat@pupil@offset) and (-0.1720-\cat@pupil@width, 1.7827+\cat@pupil@offset) .. (-0.1720, 1.8071)
- -- cycle;
-\cat@part@draw[\cat@pupil]
- ( 0.1720, 1.8071)
- .. controls ( 0.1720+\cat@pupil@width, 1.7827+\cat@pupil@offset) and ( 0.1720+\cat@pupil@width, 1.7584-\cat@pupil@offset) .. ( 0.1720, 1.7341)
- .. controls ( 0.1720-\cat@pupil@width, 1.7584-\cat@pupil@offset) and ( 0.1720-\cat@pupil@width, 1.7827+\cat@pupil@offset) .. ( 0.1720, 1.8071)
- -- cycle;
-%
-% Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\draw[\cat@whiskers,line width=\scalingfactor*0.2pt] (-0.16, 1.527) .. controls (-0.16, 1.527) and (-0.062, 1.420) .. ( 0.000, 1.556) .. controls ( 0.062, 1.420) and ( 0.16, 1.527) .. ( 0.16, 1.527);
-%
-% Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\cat@part@draw[\cat@nose] (-0.069, 1.6452) .. controls (-0.0524, 1.6613) and (0.0524, 1.6613) .. (0.069, 1.6452) .. controls (0.08, 1.625) and (0.0206, 1.55) .. (0, 1.55) .. controls (-0.0206, 1.55) and (-0.08, 1.625) .. (-0.069, 1.6452) -- cycle;
-%
-% Wiskers %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\fill[\cat@whiskers] (0.0788, 1.5946) .. controls (0.1658, 1.6099) and (0.2086, 1.5439) .. (0.2956, 1.5286) -- (0.2956, 1.5386) .. controls (0.2097, 1.5537) and (0.1648, 1.6097) .. (0.0788, 1.5946) -- cycle;
-\fill[\cat@whiskers] (-0.0788, 1.5946) .. controls (-0.1658, 1.6099) and (-0.2087, 1.5439) .. (-0.2956, 1.5286) -- (-0.2956, 1.5386) .. controls (-0.2097, 1.5537) and (-0.1648, 1.6097) .. (-0.0788, 1.5946) -- cycle;
-\fill[\cat@whiskers] (0.0752, 1.6081) .. controls (0.1583, 1.6383) and (0.2171, 1.6109) .. (0.3002, 1.5807) -- (0.3002, 1.5907) .. controls (0.2174, 1.6208) and (0.158, 1.6382) .. (0.0752, 1.6081) -- cycle;
-\fill[\cat@whiskers] (-0.0752, 1.6081) .. controls (-0.1583, 1.6383) and (-0.2171, 1.6109) .. (-0.3002, 1.5807) -- (-0.3002, 1.5907) .. controls (-0.2174, 1.6208) and (-0.158, 1.6382) .. (-0.0752, 1.6081) -- cycle;
-\fill[\cat@whiskers] (0.0671, 1.6243) .. controls (0.1414, 1.6725) and (0.2182, 1.6964) .. (0.2925, 1.6482) -- (0.2925, 1.6582) .. controls (0.2179, 1.7066) and (0.1417, 1.6727) .. (0.0671, 1.6243) -- cycle;
-\fill[\cat@whiskers] (-0.0671, 1.6243) .. controls (-0.1414, 1.6725) and (-0.2182, 1.6964) .. (-0.2925, 1.6482) -- (-0.2925, 1.6582) .. controls (-0.2179, 1.7066) and (-0.1417, 1.6727) .. (-0.0671, 1.6243) -- cycle;
-%
-% Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\cat@part@draw[\cat@paws] (-0.255,0.3) circle[radius=0.18];
-\cat@part@draw[\cat@paws] (0.255,0.3) circle[radius=0.18];
-%
-\fi
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname cathookbody\endcsname
-\csname tikzlinghookbody\endcsname
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.56,0.1) rectangle (1.63, 2.22);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifcat@threeD
+ \def\cat@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifcat@contour
+ \def\cat@part@draw[##1]{\draw[##1,\cat@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\cat@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname cathookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Tail %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \cat@part@draw[\cat@body,overlay] (0.3, 0.5) .. controls (0.55, 0.87) and (0.73, 1.50) .. (1.05, 1.65) .. controls (1.32, 1.77) and (1.76, 1.34) .. (1.56,1.33) .. controls (0.92, 2.03) and (0.86, 0.60) .. (0.5, 0.37) -- cycle;
+ %
+ % Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifcat@back
+ \cat@part@draw[\cat@paws] (-0.255,0.3) circle[radius=0.18];
+ \cat@part@draw[\cat@paws] (0.255,0.3) circle[radius=0.18];
+ \fi% back
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \cat@part@draw[\cat@body] (0.5462, 0.7155) .. controls (0.5462, 0.1823) and (0.3259, 0.17) .. (0, 0.17) .. controls (-0.3259, 0.17) and (-0.5462, 0.1823) .. (-0.5462, 0.7155) .. controls (-0.5554, 1.2487) and (-0.3075, 1.6768) .. (0, 1.6768) .. controls (0.3075, 1.6768) and (0.5554, 1.2487) .. (0.5462, 0.7155) -- cycle;
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname cathookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \cat@part@draw[\cat@body]
+ (0.12, 2.0392) .. controls (0.16, 2.1584) and (0.37, 2.22) .. (0.37, 2.20) .. controls (0.37, 2.2) and (0.39, 1.9) .. (0.2721, 1.9) .. controls (0.1891, 1.88) and (0.12, 1.88) .. (0.12, 2.0392) -- cycle;
+ \cat@part@draw[\cat@body]
+ (-0.12, 2.0392) .. controls (-0.16, 2.1584) and (-0.37, 2.22) .. (-0.37, 2.20) .. controls (-0.37, 2.2) and (-0.39, 1.9) .. (-0.2721, 1.9) .. controls (-0.1891, 1.88) and (-0.12, 1.88) .. (-0.12, 2.0392) -- cycle;
+ %
+ % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \cat@part@draw[\cat@body] (0,1.64) circle[radius=0.44];
+ %
+ % Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifcat@back
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \cat@part@draw[\cat@eye] (-0.1014, 1.7491) .. controls (-0.1014, 1.7491) and (-0.1451, 1.7171) .. (-0.1841, 1.7284) .. controls (-0.2231, 1.7397) and (-0.2427, 1.79) .. (-0.2427, 1.79) .. controls (-0.2427, 1.79) and (-0.1992, 1.8221) .. (-0.1602, 1.8108) .. controls (-0.1212, 1.7995) and (-0.1014, 1.7491) .. (-0.1014, 1.7491) -- cycle;
+ \cat@part@draw[\cat@eye] (0.1014, 1.7491) .. controls (0.1014, 1.7491) and (0.1451, 1.7171) .. (0.1841, 1.7284) .. controls (0.2231, 1.7397) and (0.2427, 1.79) .. (0.2427, 1.79) .. controls (0.2427, 1.79) and (0.1992, 1.8221) .. (0.1602, 1.8108) .. controls (0.1212, 1.7995) and (0.1014, 1.7491) .. (0.1014, 1.7491) -- cycle;
+ %
+ % Pupils %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \cat@part@draw[\cat@pupil] (-0.1720, 1.8071) .. controls (-0.1720+\cat@pupil@width, 1.7827+\cat@pupil@offset) and (-0.1720+\cat@pupil@width, 1.7584-\cat@pupil@offset) .. (-0.1720, 1.7341) .. controls (-0.1720-\cat@pupil@width, 1.7584-\cat@pupil@offset) and (-0.1720-\cat@pupil@width, 1.7827+\cat@pupil@offset) .. (-0.1720, 1.8071) -- cycle;
+ \cat@part@draw[\cat@pupil] ( 0.1720, 1.8071) .. controls ( 0.1720+\cat@pupil@width, 1.7827+\cat@pupil@offset) and ( 0.1720+\cat@pupil@width, 1.7584-\cat@pupil@offset) .. ( 0.1720, 1.7341) .. controls ( 0.1720-\cat@pupil@width, 1.7584-\cat@pupil@offset) and ( 0.1720-\cat@pupil@width, 1.7827+\cat@pupil@offset) .. ( 0.1720, 1.8071) -- cycle;
+ %
+ % Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \draw[\cat@whiskers,line width=\scalingfactor*0.2pt] (-0.16, 1.527) .. controls (-0.16, 1.527) and (-0.062, 1.420) .. ( 0.000, 1.556) .. controls ( 0.062, 1.420) and ( 0.16, 1.527) .. ( 0.16, 1.527);
+ %
+ % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \cat@part@draw[\cat@nose] (-0.069, 1.6452) .. controls (-0.0524, 1.6613) and (0.0524, 1.6613) .. (0.069, 1.6452) .. controls (0.08, 1.625) and (0.0206, 1.55) .. (0, 1.55) .. controls (-0.0206, 1.55) and (-0.08, 1.625) .. (-0.069, 1.6452) -- cycle;
+ %
+ % Wiskers %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \fill[\cat@whiskers] (0.0788, 1.5946) .. controls (0.1658, 1.6099) and (0.2086, 1.5439) .. (0.2956, 1.5286) -- (0.2956, 1.5386) .. controls (0.2097, 1.5537) and (0.1648, 1.6097) .. (0.0788, 1.5946) -- cycle;
+ \fill[\cat@whiskers] (-0.0788, 1.5946) .. controls (-0.1658, 1.6099) and (-0.2087, 1.5439) .. (-0.2956, 1.5286) -- (-0.2956, 1.5386) .. controls (-0.2097, 1.5537) and (-0.1648, 1.6097) .. (-0.0788, 1.5946) -- cycle;
+ \fill[\cat@whiskers] (0.0752, 1.6081) .. controls (0.1583, 1.6383) and (0.2171, 1.6109) .. (0.3002, 1.5807) -- (0.3002, 1.5907) .. controls (0.2174, 1.6208) and (0.158, 1.6382) .. (0.0752, 1.6081) -- cycle;
+ \fill[\cat@whiskers] (-0.0752, 1.6081) .. controls (-0.1583, 1.6383) and (-0.2171, 1.6109) .. (-0.3002, 1.5807) -- (-0.3002, 1.5907) .. controls (-0.2174, 1.6208) and (-0.158, 1.6382) .. (-0.0752, 1.6081) -- cycle;
+ \fill[\cat@whiskers] (0.0671, 1.6243) .. controls (0.1414, 1.6725) and (0.2182, 1.6964) .. (0.2925, 1.6482) -- (0.2925, 1.6582) .. controls (0.2179, 1.7066) and (0.1417, 1.6727) .. (0.0671, 1.6243) -- cycle;
+ \fill[\cat@whiskers] (-0.0671, 1.6243) .. controls (-0.1414, 1.6725) and (-0.2182, 1.6964) .. (-0.2925, 1.6482) -- (-0.2925, 1.6582) .. controls (-0.2179, 1.7066) and (-0.1417, 1.6727) .. (-0.0671, 1.6243) -- cycle;
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \cat@part@draw[\cat@paws] (-0.255,0.3) circle[radius=0.18];
+ \cat@part@draw[\cat@paws] (0.255,0.3) circle[radius=0.18];
+ %
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname cathookbody\endcsname
+ \csname tikzlinghookbody\endcsname
}
\def\cat@tombstone{%
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.55,0.39) rectangle (0.55, 2.06);
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifcat@threeD
- \def\cat@part@draw[##1]{\shade[ball color=##1]}
-\else
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.55,0.39) rectangle (0.55, 2.06);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifcat@threeD
+ \def\cat@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifcat@contour
+ \def\cat@part@draw[##1]{\draw[##1,\cat@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\cat@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Drawing the tomebstone
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname cathookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Stone %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \cat@part@draw[gray] (-0.55,0.4) -- (-0.55,1.5) arc [start angle=180, end angle=0, radius=0.55] -- (0.55,0.4) -- cycle;
+ \node[scale=\scalingfactor] at (0,1.3) {R.I.P.};
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname cathookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % soil %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \cat@part@draw[brown!65!black] (1,0.15) arc [start angle=50, end angle=130, radius=1.56] -- cycle;
+ %
+ % flower %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ifcat@contour
- \def\cat@part@draw[##1]{\draw[##1,\cat@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\cat@part@draw[##1]{\fill[##1]}
- \fi
-\fi
-%
+ \draw[\cat@contour,line width=\scalingfactor*0.4pt] (-0.01,0.3) arc [start angle=-15, end angle=30, radius=0.7];
+ \else% contour
+ \draw[green!50!brown,line width=\scalingfactor*0.4pt] (-0.01,0.3) arc [start angle=-15, end angle=30, radius=0.7];
+ \fi% contour
+ \cat@part@draw[green!50!brown] (-0.1377, 0.7384) .. controls (-0.1775, 0.5828) and (-0.1479, 0.4649) .. (0.0072, 0.4246) .. controls (0.0570, 0.5636) and (-0.1529, 0.6447) .. (-0.1377, 0.7384) -- cycle;
+ \cat@part@draw[green!50!brown] (0.1527, 0.7334) .. controls (0.1925, 0.5778) and (0.1629, 0.4599) .. (0.0178, 0.4196) .. controls (-0.0420, 0.5586) and (0.1679, 0.6397) .. (0.1527, 0.7334) -- cycle;
+ \foreach \i in {0,51.42857,...,359}{
+ \cat@part@draw[yellow!50!white,rotate around={\i:(-0.0865, 0.8219)}] (-0.087, 0.822) .. controls (-0.087, 0.822) and (-0.1635, 0.6638) .. (-0.0818, 0.6653) .. controls (-0.0066, 0.6646) and (-0.087, 0.822) .. (-0.087, 0.822) -- cycle;
+ }
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname cathookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
+}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Drawing the tomebstone
-%
+%%
+%% Documentation
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname cathookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
-%
-% Stone %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\cat@part@draw[gray] (-0.55,0.4) -- (-0.55,1.5) arc [start angle=180, end angle=0, radius=0.55] -- (0.55,0.4) -- cycle;
-\node[scale=\scalingfactor] at (0,1.3) {R.I.P.};
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname cathookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
-%
-% soil %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\cat@part@draw[brown!65!black] (1,0.15) arc [start angle=50, end angle=130, radius=1.56] -- cycle;
-%
-% flower
-\ifcat@contour
- \draw[\cat@contour,line width=\scalingfactor*0.4pt] (-0.01,0.3) arc [start angle=-15, end angle=30, radius=0.7];
-\else
- \draw[green!50!brown,line width=\scalingfactor*0.4pt] (-0.01,0.3) arc [start angle=-15, end angle=30, radius=0.7];
-\fi
-\cat@part@draw[green!50!brown] (-0.1377, 0.7384) .. controls (-0.1775, 0.5828) and (-0.1479, 0.4649) .. (0.0072, 0.4246) .. controls (0.0570, 0.5636) and (-0.1529, 0.6447) .. (-0.1377, 0.7384) -- cycle;
-\cat@part@draw[green!50!brown] (0.1527, 0.7334) .. controls (0.1925, 0.5778) and (0.1629, 0.4599) .. (0.0178, 0.4196) .. controls (-0.0420, 0.5586) and (0.1679, 0.6397) .. (0.1527, 0.7334) -- cycle;
-\foreach \i in {0,51.42857,...,359}{
- \cat@part@draw[yellow!50!white,rotate around={\i:(-0.0865, 0.8219)}] (-0.087, 0.822) .. controls (-0.087, 0.822) and (-0.1635, 0.6638) .. (-0.0818, 0.6653) .. controls (-0.0066, 0.6646) and (-0.087, 0.822) .. (-0.087, 0.822) -- cycle;
-}
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname cathookbody\endcsname
-\csname tikzlinghookbody\endcsname
-%
-}
+%\clearpage
+%\section[Cat]{MisTi$k$Zelees, the cat}
+%
+%\emph{Named after the worlds best singing cat}
+%
+%\subsection{Package name}
+%
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-cats}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
+%
+%\subsection{Basic Usage}
+%
+%\begin{tcblisting}{}
+%\cat
+%\end{tcblisting}
+%
+%\subsection{Options}
+%
+%The basic cat can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\cat[body=blue]
+%\end{tcblisting}
+%
+%In addition to the colour of the body, the colour of various body parts can be adjusted:
+%\begin{tcblisting}{}
+%\cat[eye=green]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\cat[pupil=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\cat[nose=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\cat[whiskers=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\cat[paws=red]
+%\end{tcblisting}
+%
+%The shape of the \lstinline|pupil| can be changed with the \lstinline|pupilwidth| option:
+%\begin{tcblisting}{}
+%\cat[pupilwidth=0.015]
+%\end{tcblisting}
+%
+%Additionally several predefined widths exist:
+%\begin{tcolorbox}
+%\begin{lstlisting}[morekeywords={narrow,medium,wide,very,pupils}]
+%\cat[narrow pupils]
+%
+%\cat[medium pupils]
+%
+%\cat[wide pupils]
+%
+%\cat[very wide pupils]
+%\end{lstlisting}
+%
+%\tcblower
+%\begin{tikzpicture}[yshift=2.4cm,xshift=1.8cm]
+%\cat[narrow pupils]
+%\cat[medium pupils,xshift=2.5cm]
+%\cat[wide pupils,yshift=-2.5cm]
+%\cat[very wide pupils,xshift=2.5cm,yshift=-2.5cm]
+%\end{tikzpicture}
+%\end{tcolorbox}
+%
+%There is also the special option \lstinline|schroedinger|. This cat is both alive and dead as long as you did not compile your document.
+%Be prepared for a possibly disturbing scene when you open the pdf, this option is not suited for sensitive \tikzlings.
+%\begingroup
+%\makeatletter
+%\renewcommand*{\cat}[1][]{%
+% \tikzset{/cat/.cd,#1}%
+% \cat@tombstone%
+%}
+%\renewcommand{\cathookbackground}{}
+%\makeatother
+%\begin{tcblisting}{}
+%\cat[schroedinger]
+%\end{tcblisting}
+%\endgroup
+%
+%To view the cat from behind:
+%\begin{tcblisting}{}
+%\cat[back]
+%\end{tcblisting}
+%
+%The key \lstinline|3D| will make the cat 3-dimensional:
+%\begin{tcblisting}{}
+%\cat[3D]
+%\end{tcblisting}
+%
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\cat[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-chickens.sty b/graphics/pgf/contrib/tikzlings/tikzlings-chickens.sty
index af16df2564..0d7a805572 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-chickens.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-chickens.sty
@@ -1,18 +1,18 @@
-% !TeX root = ./examples/chicken.tex
+ % !TeX root = ./examples/chicken.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% This package is part of the TikZlings package
-% A package to bring cute little animals and other beings into tikz
-% Maintained by samcarter
-%
-% Project repository and bug tracker:
-% https://github.com/samcarter/tikzlings
-%
-% Released under the LaTeX Project Public License v1.3c or later
-% See http://www.latex-project.org/lppl.txt
-%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-chickens}[2021/04/16 version v0.6 Draw chickens in TikZ]
+\ProvidesPackage{tikzlings-chickens}[2021/08/06 version v0.8 Draw chickens in TikZ]
\RequirePackage{tikz}
\RequirePackage{tikzlings-addons}
@@ -82,256 +82,321 @@
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Grown up chicken
-%
+%%
+%% Grown up chicken
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\chicken@draw{%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.96, 0.08) rectangle (0.96, 2.35);
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifchicken@threeD
- \def\chicken@part@draw[##1]{\shade[ball color=##1]}
-\else
- \ifchicken@contour
- \def\chicken@part@draw[##1]{\draw[##1,\chicken@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\chicken@part@draw[##1]{\fill[##1]}
- \fi
-\fi
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Body parts (center: x=0.925)
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname chickenhookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
-%
-% Wings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\chicken@part@draw[\chicken@body] (0.57,0.95) ellipse[x radius=0.3, y radius=0.08, rotate=-65];
-\chicken@part@draw[\chicken@body] (0.64,1.07) ellipse[x radius=0.3, y radius=0.08, rotate=-43];
-\chicken@part@draw[\chicken@body] (0.66,1.18) ellipse[x radius=0.3, y radius=0.08, rotate=-18];
-\chicken@part@draw[\chicken@body] (-0.57,0.95) ellipse[x radius=0.3, y radius=0.08, rotate=65];
-\chicken@part@draw[\chicken@body] (-0.64,1.07) ellipse[x radius=0.3, y radius=0.08, rotate=43];
-\chicken@part@draw[\chicken@body] (-0.66,1.18) ellipse[x radius=0.3, y radius=0.08, rotate=18];
-%
-% Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifchicken@back
- \chicken@part@draw[\chicken@feet] (0.19,0.3) ellipse[x radius=0.03, y radius=0.1];
- \chicken@part@draw[\chicken@feet] (-0.19,0.3) ellipse[x radius=0.03, y radius=0.1];
- \chicken@part@draw[\chicken@feet] (0.175,0.2) ellipse[x radius=0.03, y radius=0.1];
- \chicken@part@draw[\chicken@feet] (0.225,0.21) ellipse[x radius=0.03, y radius=0.1, rotate=20];
- \chicken@part@draw[\chicken@feet] (0.275,0.23) ellipse[x radius=0.03, y radius=0.1, rotate=40];
- \chicken@part@draw[\chicken@feet] (-0.175,0.2) ellipse[x radius=0.03, y radius=0.1];
- \chicken@part@draw[\chicken@feet] (-0.225,0.21) ellipse[x radius=0.03, y radius=0.1, rotate=-20];
- \chicken@part@draw[\chicken@feet] (-0.275,0.23) ellipse[x radius=0.03, y radius=0.1, rotate=-40];
-\fi
-%
-% Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\chicken@part@draw[\chicken@body!50!white] ( 0.00, 0.33) .. controls (-0.60, 0.33) and (-0.55, 0.65) .. (-0.55, 0.90) .. controls (-0.55, 1.10) and (-0.48, 1.20) .. (-0.39, 1.40) .. controls (-0.32, 1.58) and (-0.32, 2.09) .. ( 0.00, 2.09) .. controls ( 0.32, 2.09) and ( 0.32, 1.58) .. ( 0.39, 1.40) .. controls ( 0.48, 1.20) and ( 0.55, 1.10) .. ( 0.55, 0.90) .. controls ( 0.55, 0.65) and ( 0.60, 0.33) .. ( 0, 0.33) -- cycle;
-\chicken@part@draw[\chicken@body,decoration={snake,amplitude=\scalingfactor*1.5pt,segment length=\scalingfactor*6.1pt}] ( -0.39, 1.40) .. controls (-0.32, 1.58) and (-0.32, 2.09) .. ( 0.00, 2.09) .. controls ( 0.32, 2.09) and ( 0.32, 1.58) .. ( 0.39, 1.40) decorate {arc [start angle=-60,end angle=-120,radius=0.77]} -- cycle;
-%
-% Comb %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\chicken@part@draw[\chicken@comb] (0.04,2.132) ellipse[x radius=0.22, y radius=0.06, rotate=70];
-\chicken@part@draw[\chicken@comb] (-0.03,2.095) ellipse[x radius=0.17, y radius=0.06, rotate=92];
-\chicken@part@draw[\chicken@comb] (-0.082,2.060) ellipse[x radius=0.15, y radius=0.06, rotate=120];
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname chickenhookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
-%
-% Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifchicken@back
- \chicken@part@draw[\chicken@eye] (0.135,1.8) ellipse[x radius=0.06, y radius=0.07];
- \chicken@part@draw[\chicken@eye] (-0.135,1.8) ellipse[x radius=0.06, y radius=0.07];
- \chicken@part@draw[\chicken@pupil] (0.124,1.78) ellipse[x radius=0.017, y radius=0.027];
- \chicken@part@draw[\chicken@pupil] (-0.124,1.78) ellipse[x radius=0.017, y radius=0.027];
-\fi
-%
-% Bill %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifchicken@back
- \chicken@part@draw[\chicken@comb] (-0.04, 1.57) ellipse[x radius=0.04, y radius=0.08, rotate=-20];
- \chicken@part@draw[\chicken@comb] (0.04, 1.57) ellipse[x radius=0.04, y radius=0.08, rotate=20];
- \chicken@part@draw[\chicken@bill] (-0.09, 1.7) -- (0, 1.58) -- (0.09, 1.7) arc [start angle=50, end angle=130, radius=0.14] -- cycle;
-\fi
-%
-% Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifchicken@back
- \chicken@part@draw[\chicken@feet] (0.19,0.3) ellipse[x radius=0.03, y radius=0.1];
- \chicken@part@draw[\chicken@feet] (-0.19,0.3) ellipse[x radius=0.03, y radius=0.1];
- \chicken@part@draw[\chicken@feet] (0.175,0.2) ellipse[x radius=0.03, y radius=0.1];
- \chicken@part@draw[\chicken@feet] (0.225,0.21) ellipse[x radius=0.03, y radius=0.1, rotate=20];
- \chicken@part@draw[\chicken@feet] (0.275,0.23) ellipse[x radius=0.03, y radius=0.1, rotate=40];
- \chicken@part@draw[\chicken@feet] (-0.175,0.2) ellipse[x radius=0.03, y radius=0.1];
- \chicken@part@draw[\chicken@feet] (-0.225,0.21) ellipse[x radius=0.03, y radius=0.1, rotate=-20];
- \chicken@part@draw[\chicken@feet] (-0.275,0.23) ellipse[x radius=0.03, y radius=0.1, rotate=-40];
-\fi
-%
-% Tail %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifchicken@back
- \chicken@part@draw[\chicken@body] (0.12, 0.795) ellipse[x radius=0.20, y radius=0.06, rotate=58];
- \chicken@part@draw[\chicken@body] (0.04, 0.87) ellipse[x radius=0.25, y radius=0.06, rotate=80];
- \chicken@part@draw[\chicken@body] (-0.03, 0.83) ellipse[x radius=0.20, y radius=0.06, rotate=102];
- \chicken@part@draw[\chicken@body] (-0.082, 0.76) ellipse[x radius=0.17, y radius=0.06, rotate=130];
-\fi
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname chickenhookbody\endcsname
-\csname tikzlinghookbody\endcsname
-%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.96, 0.08) rectangle (0.96, 2.35);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifchicken@threeD
+ \def\chicken@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifchicken@contour
+ \def\chicken@part@draw[##1]{\draw[##1,\chicken@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\chicken@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname chickenhookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Wings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \chicken@part@draw[\chicken@body] (0.57,0.95) ellipse[x radius=0.3, y radius=0.08, rotate=-65];
+ \chicken@part@draw[\chicken@body] (0.64,1.07) ellipse[x radius=0.3, y radius=0.08, rotate=-43];
+ \chicken@part@draw[\chicken@body] (0.66,1.18) ellipse[x radius=0.3, y radius=0.08, rotate=-18];
+ \chicken@part@draw[\chicken@body] (-0.57,0.95) ellipse[x radius=0.3, y radius=0.08, rotate=65];
+ \chicken@part@draw[\chicken@body] (-0.64,1.07) ellipse[x radius=0.3, y radius=0.08, rotate=43];
+ \chicken@part@draw[\chicken@body] (-0.66,1.18) ellipse[x radius=0.3, y radius=0.08, rotate=18];
+ %
+ % Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifchicken@back
+ \chicken@part@draw[\chicken@feet] (0.19,0.3) ellipse[x radius=0.03, y radius=0.1];
+ \chicken@part@draw[\chicken@feet] (-0.19,0.3) ellipse[x radius=0.03, y radius=0.1];
+ \chicken@part@draw[\chicken@feet] (0.175,0.2) ellipse[x radius=0.03, y radius=0.1];
+ \chicken@part@draw[\chicken@feet] (0.225,0.21) ellipse[x radius=0.03, y radius=0.1, rotate=20];
+ \chicken@part@draw[\chicken@feet] (0.275,0.23) ellipse[x radius=0.03, y radius=0.1, rotate=40];
+ \chicken@part@draw[\chicken@feet] (-0.175,0.2) ellipse[x radius=0.03, y radius=0.1];
+ \chicken@part@draw[\chicken@feet] (-0.225,0.21) ellipse[x radius=0.03, y radius=0.1, rotate=-20];
+ \chicken@part@draw[\chicken@feet] (-0.275,0.23) ellipse[x radius=0.03, y radius=0.1, rotate=-40];
+ \fi% back
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \chicken@part@draw[\chicken@body!50!white] ( 0.00, 0.33) .. controls (-0.60, 0.33) and (-0.55, 0.65) .. (-0.55, 0.90) .. controls (-0.55, 1.10) and (-0.48, 1.20) .. (-0.39, 1.40) .. controls (-0.32, 1.58) and (-0.32, 2.09) .. ( 0.00, 2.09) .. controls ( 0.32, 2.09) and ( 0.32, 1.58) .. ( 0.39, 1.40) .. controls ( 0.48, 1.20) and ( 0.55, 1.10) .. ( 0.55, 0.90) .. controls ( 0.55, 0.65) and ( 0.60, 0.33) .. ( 0, 0.33) -- cycle;
+ \chicken@part@draw[\chicken@body,decoration={snake,amplitude=\scalingfactor*1.5pt,segment length=\scalingfactor*6.1pt}] ( -0.39, 1.40) .. controls (-0.32, 1.58) and (-0.32, 2.09) .. ( 0.00, 2.09) .. controls ( 0.32, 2.09) and ( 0.32, 1.58) .. ( 0.39, 1.40) decorate {arc [start angle=-60,end angle=-120,radius=0.77]} -- cycle;
+ %
+ % Comb %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \chicken@part@draw[\chicken@comb] (0.04,2.132) ellipse[x radius=0.22, y radius=0.06, rotate=70];
+ \chicken@part@draw[\chicken@comb] (-0.03,2.095) ellipse[x radius=0.17, y radius=0.06, rotate=92];
+ \chicken@part@draw[\chicken@comb] (-0.082,2.060) ellipse[x radius=0.15, y radius=0.06, rotate=120];
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname chickenhookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifchicken@back
+ \chicken@part@draw[\chicken@eye] (0.135,1.8) ellipse[x radius=0.06, y radius=0.07];
+ \chicken@part@draw[\chicken@eye] (-0.135,1.8) ellipse[x radius=0.06, y radius=0.07];
+ \chicken@part@draw[\chicken@pupil] (0.124,1.78) ellipse[x radius=0.017, y radius=0.027];
+ \chicken@part@draw[\chicken@pupil] (-0.124,1.78) ellipse[x radius=0.017, y radius=0.027];
+ \fi% back
+ %
+ % Bill %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifchicken@back
+ \chicken@part@draw[\chicken@comb] (-0.04, 1.57) ellipse[x radius=0.04, y radius=0.08, rotate=-20];
+ \chicken@part@draw[\chicken@comb] (0.04, 1.57) ellipse[x radius=0.04, y radius=0.08, rotate=20];
+ \chicken@part@draw[\chicken@bill] (-0.09, 1.7) -- (0, 1.58) -- (0.09, 1.7) arc [start angle=50, end angle=130, radius=0.14] -- cycle;
+ \fi% back
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifchicken@back
+ \chicken@part@draw[\chicken@feet] (0.19,0.3) ellipse[x radius=0.03, y radius=0.1];
+ \chicken@part@draw[\chicken@feet] (-0.19,0.3) ellipse[x radius=0.03, y radius=0.1];
+ \chicken@part@draw[\chicken@feet] (0.175,0.2) ellipse[x radius=0.03, y radius=0.1];
+ \chicken@part@draw[\chicken@feet] (0.225,0.21) ellipse[x radius=0.03, y radius=0.1, rotate=20];
+ \chicken@part@draw[\chicken@feet] (0.275,0.23) ellipse[x radius=0.03, y radius=0.1, rotate=40];
+ \chicken@part@draw[\chicken@feet] (-0.175,0.2) ellipse[x radius=0.03, y radius=0.1];
+ \chicken@part@draw[\chicken@feet] (-0.225,0.21) ellipse[x radius=0.03, y radius=0.1, rotate=-20];
+ \chicken@part@draw[\chicken@feet] (-0.275,0.23) ellipse[x radius=0.03, y radius=0.1, rotate=-40];
+ \fi% back
+ %
+ % Tail %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifchicken@back
+ \chicken@part@draw[\chicken@body] (0.12, 0.795) ellipse[x radius=0.20, y radius=0.06, rotate=58];
+ \chicken@part@draw[\chicken@body] (0.04, 0.87) ellipse[x radius=0.25, y radius=0.06, rotate=80];
+ \chicken@part@draw[\chicken@body] (-0.03, 0.83) ellipse[x radius=0.20, y radius=0.06, rotate=102];
+ \chicken@part@draw[\chicken@body] (-0.082, 0.76) ellipse[x radius=0.17, y radius=0.06, rotate=130];
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname chickenhookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Baby chicken
-%
+%%
+%% Baby chicken
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\chicken@drawbaby{%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.53, 0.1) rectangle (0.53, 1.22);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifchicken@threeD
+ \def\chicken@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifchicken@contour
+ \def\chicken@part@draw[##1]{\draw[##1,\chicken@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\chicken@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts (center: x=0.925)
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname chickenhookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Wings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \begin{scope}[scale=0.55]
+ \chicken@part@draw[\chicken@baby] (0.57,0.95) ellipse[x radius=0.3, y radius=0.08, rotate=-65];
+ \chicken@part@draw[\chicken@baby] (0.64,1.07) ellipse[x radius=0.3, y radius=0.08, rotate=-43];
+ \chicken@part@draw[\chicken@baby] (0.66,1.18) ellipse[x radius=0.3, y radius=0.08, rotate=-18];
+ \chicken@part@draw[\chicken@baby] (-0.57,0.95) ellipse[x radius=0.3, y radius=0.08, rotate=65];
+ \chicken@part@draw[\chicken@baby] (-0.64,1.07) ellipse[x radius=0.3, y radius=0.08, rotate=43];
+ \chicken@part@draw[\chicken@baby] (-0.66,1.18) ellipse[x radius=0.3, y radius=0.08, rotate=18];
+ \end{scope}
+ %
+ % Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifchicken@back
+ \begin{scope}[scale=0.67]
+ \chicken@part@draw[\chicken@feet] (0.19,0.38) ellipse[x radius=0.03, y radius=0.1];
+ \chicken@part@draw[\chicken@feet] (-0.19,0.38) ellipse[x radius=0.03, y radius=0.1];
+ \chicken@part@draw[\chicken@feet] (0.175,0.27) ellipse[x radius=0.03, y radius=0.1];
+ \chicken@part@draw[\chicken@feet] (0.225,0.28) ellipse[x radius=0.03, y radius=0.1, rotate=20];
+ \chicken@part@draw[\chicken@feet] (0.275,0.3) ellipse[x radius=0.03, y radius=0.1, rotate=40];
+ \chicken@part@draw[\chicken@feet] (-0.175,0.27) ellipse[x radius=0.03, y radius=0.1];
+ \chicken@part@draw[\chicken@feet] (-0.225,0.28) ellipse[x radius=0.03, y radius=0.1, rotate=-20];
+ \chicken@part@draw[\chicken@feet] (-0.275,0.3) ellipse[x radius=0.03, y radius=0.1, rotate=-40];
+ \end{scope}
+ \fi% back
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \chicken@part@draw[\chicken@baby] (0,0.55) circle [radius=0.3];
+ %
+ % Comb %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \begin{scope}[scale=0.52]
+ \chicken@part@draw[\chicken@baby] (0.04,2.142) ellipse[x radius=0.2, y radius=0.05, rotate=70];
+ \chicken@part@draw[\chicken@baby] (-0.03,2.105) ellipse[x radius=0.15, y radius=0.05, rotate=92];
+ \chicken@part@draw[\chicken@baby] (-0.082,2.070) ellipse[x radius=0.13, y radius=0.05, rotate=120];
+ \end{scope}
+ %
+ % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \chicken@part@draw[\chicken@baby] (0,0.87) circle [radius=0.25];
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname chickenhookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifchicken@back
+ \chicken@part@draw[\chicken@eye] (0.075,0.925) ellipse[x radius=0.055, y radius=0.065];
+ \chicken@part@draw[\chicken@eye] (-0.075,0.925) ellipse[x radius=0.055, y radius=0.065];
+ \chicken@part@draw[\chicken@pupil] (0.07,0.91) ellipse[x radius=0.017, y radius=0.024];
+ \chicken@part@draw[\chicken@pupil] (-0.07,0.91) ellipse[x radius=0.017, y radius=0.024];
+ \fi% back
+ %
+ % Bill %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifchicken@back
+ \chicken@part@draw[\chicken@bill] (-0.05, 0.81) -- (0, 0.74) -- (0.05, 0.81) arc [start angle=60, end angle=120, radius=0.1] -- cycle;
+ \fi% back
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifchicken@back
+ \begin{scope}[scale=0.67]
+ \chicken@part@draw[\chicken@feet] (0.19,0.38) ellipse[x radius=0.03, y radius=0.1];
+ \chicken@part@draw[\chicken@feet] (-0.19,0.38) ellipse[x radius=0.03, y radius=0.1];
+ \chicken@part@draw[\chicken@feet] (0.175,0.27) ellipse[x radius=0.03, y radius=0.1];
+ \chicken@part@draw[\chicken@feet] (0.225,0.28) ellipse[x radius=0.03, y radius=0.1, rotate=20];
+ \chicken@part@draw[\chicken@feet] (0.275,0.3) ellipse[x radius=0.03, y radius=0.1, rotate=40];
+ \chicken@part@draw[\chicken@feet] (-0.175,0.27) ellipse[x radius=0.03, y radius=0.1];
+ \chicken@part@draw[\chicken@feet] (-0.225,0.28) ellipse[x radius=0.03, y radius=0.1, rotate=-20];
+ \chicken@part@draw[\chicken@feet] (-0.275,0.3) ellipse[x radius=0.03, y radius=0.1, rotate=-40];
+ \end{scope}
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname chickenhookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
+}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.53, 0.1) rectangle (0.53, 1.22);
-%
+%%
+%% Documentation
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\clearpage
+%\section[Chicken]{Paulette, the chicken}
%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+%\emph{Paulette is named after the French word for chicken ``poulet''}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
+%\subsection{Package name}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifchicken@threeD
- \def\chicken@part@draw[##1]{\shade[ball color=##1]}
-\else
- \ifchicken@contour
- \def\chicken@part@draw[##1]{\draw[##1,\chicken@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\chicken@part@draw[##1]{\fill[##1]}
- \fi
-\fi
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-chickens}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\subsection{Basic Usage}
%
-% Body parts (center: x=0.925)
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\begin{tcblisting}{}
+%\chicken
+%\end{tcblisting}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname chickenhookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
+%\subsection{Options}
%
-% Wings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{scope}[scale=0.55]
- \chicken@part@draw[\chicken@baby] (0.57,0.95) ellipse[x radius=0.3, y radius=0.08, rotate=-65];
- \chicken@part@draw[\chicken@baby] (0.64,1.07) ellipse[x radius=0.3, y radius=0.08, rotate=-43];
- \chicken@part@draw[\chicken@baby] (0.66,1.18) ellipse[x radius=0.3, y radius=0.08, rotate=-18];
- \chicken@part@draw[\chicken@baby] (-0.57,0.95) ellipse[x radius=0.3, y radius=0.08, rotate=65];
- \chicken@part@draw[\chicken@baby] (-0.64,1.07) ellipse[x radius=0.3, y radius=0.08, rotate=43];
- \chicken@part@draw[\chicken@baby] (-0.66,1.18) ellipse[x radius=0.3, y radius=0.08, rotate=18];
-\end{scope}
+%The basic chicken can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\chicken[body=blue]
+%\end{tcblisting}
%
-% Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifchicken@back
- \begin{scope}[scale=0.67]
- \chicken@part@draw[\chicken@feet] (0.19,0.38) ellipse[x radius=0.03, y radius=0.1];
- \chicken@part@draw[\chicken@feet] (-0.19,0.38) ellipse[x radius=0.03, y radius=0.1];
- \chicken@part@draw[\chicken@feet] (0.175,0.27) ellipse[x radius=0.03, y radius=0.1];
- \chicken@part@draw[\chicken@feet] (0.225,0.28) ellipse[x radius=0.03, y radius=0.1, rotate=20];
- \chicken@part@draw[\chicken@feet] (0.275,0.3) ellipse[x radius=0.03, y radius=0.1, rotate=40];
- \chicken@part@draw[\chicken@feet] (-0.175,0.27) ellipse[x radius=0.03, y radius=0.1];
- \chicken@part@draw[\chicken@feet] (-0.225,0.28) ellipse[x radius=0.03, y radius=0.1, rotate=-20];
- \chicken@part@draw[\chicken@feet] (-0.275,0.3) ellipse[x radius=0.03, y radius=0.1, rotate=-40];
- \end{scope}
-\fi
+%In addition to the colour of the body, the colour of various body parts can be adjusted:
+%\begin{tcblisting}{}
+%\chicken[comb=green]
+%\end{tcblisting}
%
-% Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\chicken@part@draw[\chicken@baby] (0,0.55) circle [radius=0.3];
+%\begin{tcblisting}{}
+%\chicken[eye=red]
+%\end{tcblisting}
%
-% Comb %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{scope}[scale=0.52]
- \chicken@part@draw[\chicken@baby] (0.04,2.142) ellipse[x radius=0.2, y radius=0.05, rotate=70];
- \chicken@part@draw[\chicken@baby] (-0.03,2.105) ellipse[x radius=0.15, y radius=0.05, rotate=92];
- \chicken@part@draw[\chicken@baby] (-0.082,2.070) ellipse[x radius=0.13, y radius=0.05, rotate=120];
-\end{scope}
+%\begin{tcblisting}{}
+%\chicken[pupil=red]
+%\end{tcblisting}
%
-% Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\chicken@part@draw[\chicken@baby] (0,0.87) circle [radius=0.25];
+%\begin{tcblisting}{}
+%\chicken[bill=red]
+%\end{tcblisting}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname chickenhookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
+%\begin{tcblisting}{}
+%\chicken[feet=red]
+%\end{tcblisting}
%
-% Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifchicken@back
- \chicken@part@draw[\chicken@eye] (0.075,0.925) ellipse[x radius=0.055, y radius=0.065];
- \chicken@part@draw[\chicken@eye] (-0.075,0.925) ellipse[x radius=0.055, y radius=0.065];
- \chicken@part@draw[\chicken@pupil] (0.07,0.91) ellipse[x radius=0.017, y radius=0.024];
- \chicken@part@draw[\chicken@pupil] (-0.07,0.91) ellipse[x radius=0.017, y radius=0.024];
-\fi
+%There is also the special option \lstinline|baby| which will draw a baby chicken called \emph{Pio}:
+%\begin{tcblisting}{}
+%\chicken[baby=yellow]
+%\end{tcblisting}
%
-% Bill %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifchicken@back
- \chicken@part@draw[\chicken@bill] (-0.05, 0.81) -- (0, 0.74) -- (0.05, 0.81) arc [start angle=60, end angle=120, radius=0.1] -- cycle;
-\fi
+%To view the chicken from behind:
+%\begin{tcblisting}{}
+%\chicken[back]
+%\end{tcblisting}
%
-% Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifchicken@back
- \begin{scope}[scale=0.67]
- \chicken@part@draw[\chicken@feet] (0.19,0.38) ellipse[x radius=0.03, y radius=0.1];
- \chicken@part@draw[\chicken@feet] (-0.19,0.38) ellipse[x radius=0.03, y radius=0.1];
- \chicken@part@draw[\chicken@feet] (0.175,0.27) ellipse[x radius=0.03, y radius=0.1];
- \chicken@part@draw[\chicken@feet] (0.225,0.28) ellipse[x radius=0.03, y radius=0.1, rotate=20];
- \chicken@part@draw[\chicken@feet] (0.275,0.3) ellipse[x radius=0.03, y radius=0.1, rotate=40];
- \chicken@part@draw[\chicken@feet] (-0.175,0.27) ellipse[x radius=0.03, y radius=0.1];
- \chicken@part@draw[\chicken@feet] (-0.225,0.28) ellipse[x radius=0.03, y radius=0.1, rotate=-20];
- \chicken@part@draw[\chicken@feet] (-0.275,0.3) ellipse[x radius=0.03, y radius=0.1, rotate=-40];
- \end{scope}
-\fi
-%%
-%% Tail %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%\ifchicken@back
-% \chicken@part@draw[\chicken@body] (0.12, 0.795) ellipse[x radius=0.20, y radius=0.06, rotate=58];
-% \chicken@part@draw[\chicken@body] (0.04, 0.87) ellipse[x radius=0.25, y radius=0.06, rotate=80];
-% \chicken@part@draw[\chicken@body] (-0.03, 0.83) ellipse[x radius=0.20, y radius=0.06, rotate=102];
-% \chicken@part@draw[\chicken@body] (-0.082, 0.76) ellipse[x radius=0.17, y radius=0.06, rotate=130];
-%\fi
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname chickenhookbody\endcsname
-\csname tikzlinghookbody\endcsname
+%The key \lstinline|3D| will make the chicken 3-dimensional:
+%\begin{tcblisting}{}
+%\chicken[3D]
+%\end{tcblisting}
%
-}
-
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\chicken[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-coatis.sty b/graphics/pgf/contrib/tikzlings/tikzlings-coatis.sty
index fdeaa64177..3ff1dec919 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-coatis.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-coatis.sty
@@ -1,18 +1,18 @@
-% !TeX root = ./examples/coati.tex
+ % !TeX root = ./examples/coati.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% This package is part of the TikZlings package
-% A package to bring cute little animals and other beings into tikz
-% Maintained by samcarter
-%
-% Project repository and bug tracker:
-% https://github.com/samcarter/tikzlings
-%
-% Released under the LaTeX Project Public License v1.3c or later
-% See http://www.latex-project.org/lppl.txt
-%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-coatis}[2021/04/16 version v0.6 Drawing coatis in TikZ]
+\ProvidesPackage{tikzlings-coatis}[2021/08/06 version v0.8 Drawing coatis in TikZ]
\RequirePackage{tikz}
\RequirePackage{tikzlings-addons}
@@ -68,179 +68,240 @@
}
\def\coati@draw{%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.84,0.1) rectangle (1.63,2.26);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifcoati@threeD
+ \def\coati@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifcoati@contour
+ \def\coati@part@draw[##1]{\draw[##1,\coati@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\coati@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname coatihookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \coati@part@draw[\coati@body!80!white] (0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
+ \coati@part@draw[\coati@body!80!white] (-0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
+ %
+ % Tail %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifcoati@back
+ \coati@part@draw[\coati@body!50!darkgray] (0.2845, 0.5595) .. controls (0.6382, 0.8326) and (0.7302, 1.5138) .. (1.0504, 1.6639) .. controls (1.3206, 1.7840) and (1.7609, 1.3537) .. (1.5608, 1.3437) .. controls (0.9203, 2.0442) and (0.8642, 0.6247) .. (0.5001, 0.3831) .. controls (0.3214, 0.2645) and (-0.1764, 0.1117) .. (-0.1408, 0.3245) .. controls (-0.1082, 0.5191) and (0.0508, 0.3791) .. (0.2845, 0.5595) -- cycle;
+ \begin{scope}
+ \clip (0.2845, 0.5595) .. controls (0.6382, 0.8326) and (0.7302, 1.5138) .. (1.0504, 1.6639) .. controls (1.3206, 1.7840) and (1.7609, 1.3537) .. (1.5608, 1.3437) .. controls (0.9203, 2.0442) and (0.8642, 0.6247) .. (0.5001, 0.3831) .. controls (0.3214, 0.2645) and (-0.1764, 0.1117) .. (-0.1408, 0.3245) .. controls (-0.1082, 0.5191) and (0.0508, 0.3791) .. (0.2845, 0.5595) -- cycle;
+ \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-30:(0.8,1.15)}] (0.6,1.1) rectangle ++(0.4,0.1);
+ \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-30:(0.9,1.35)}] (0.7,1.3) rectangle ++(0.4,0.1);
+ \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-50:(1.0,1.5)}] (0.8,1.45) rectangle ++(0.4,0.1);
+ \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-80:(1.2,1.6)}] (1.0,1.55) rectangle ++(0.4,0.1);
+ \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-130:(1.5,1.5)}] (1.3,1.45) rectangle ++(0.4,0.1);
+ \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-30:(0.55,0.65)}] (0.35,0.6) rectangle ++(0.4,0.1);
+ \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-30:(0.65,0.9)}] (0.45,0.85) rectangle ++(0.4,0.1);
+ \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-40:(0.35,0.45)}] (0.15,0.4) rectangle ++(0.4,0.1);
+ \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-60:(0.05,0.3)}] (-0.15,0.25) rectangle ++(0.4,0.1);
+ \end{scope}
+ \fi% back
+ %
+ % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \coati@part@draw[\coati@body!80!white] (-0.625,1) ellipse[x radius=0.42, y radius=0.13, rotate=70];
+ \coati@part@draw[\coati@body!80!white] (0.625,1) ellipse[x radius=0.42, y radius=0.13, rotate=-70];
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \coati@part@draw[\coati@body!50!darkgray] (0.595, 0.92) .. controls (0.595, 0.26) and (0.355, 0.18) .. (0, 0.18) .. controls (-0.355, 0.18) and (-0.595, 0.26) .. (-0.595, 0.92) .. controls (-0.605, 1.58) and (-0.335, 2.11) .. (0, 2.11) .. controls (0.335, 2.11) and (0.605, 1.58) .. (0.595, 0.92) -- cycle;
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname coatihookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \begin{scope}[rotate around={\coati@rotatehead:(0,1.68)}]
+ %
+ % Sidewards head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifcoati@sideward
+ %
+ % Left Ear %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \coati@part@draw[\coati@body!45!white!95!orange] (-0.212, 2.135) ellipse[x radius=0.09, y radius=0.12, rotate=-16];
+ \unless\ifcoati@back
+ \coati@part@draw[\coati@body!80!white] (-0.212, 2.135) ellipse[x radius=0.065, y radius=0.09, rotate=-16];
+ \fi% back
+ %
+ % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifcoati@back
+ \coati@part@draw[\coati@body!45!white!95!orange] (0.4569, 1.5608) .. controls (0.3680, 1.3594) and (0.0005, 1.2699) .. (-0.1826, 1.3507) .. controls (-0.3657, 1.4315) and (-0.5475, 1.7632) .. (-0.4587, 1.9646) .. controls (-0.1103, 2.3578) and (0.5123, 2.0832) .. (0.4569, 1.5608) -- cycle;
+ \else% back
+ \coati@part@draw[\coati@body!45!white!95!orange] (0.4808, 1.7911) .. controls (0.5682, 1.2837) and (-0.3468, 1.3575) .. (-0.6360, 1.3679) .. controls (-0.7582, 1.4729) and (-0.5198, 1.7911) .. (-0.5198, 1.7911) .. controls (-0.3597, 2.2914) and (0.3207, 2.2914) .. (0.4808, 1.7911) -- cycle;
+ \fi% back
+ %
+ % Cheek %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifcoati@back
+ \coati@part@draw[\coati@body!80!white] (0.30, 1.4552) .. controls (0.30, 1.4552) and (0.1016, 1.7565) .. (-0.0005, 1.7581) -- (-0.6360, 1.3679) .. controls (-0.3083, 1.3437) and (0.0283, 1.332) .. (0.30, 1.4552) -- cycle (-0.4166, 1.9824) .. controls (-0.4166, 1.9824) and (-0.2413, 1.9758) .. (-0.2226, 1.9112) -- (-0.6875, 1.4906) .. controls (-0.6875, 1.4906) and (-0.5712, 1.7549) .. (-0.4166, 1.9824) -- cycle;
+ \fi% back
+ %
+ % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifcoati@back
+ \coati@part@draw[\coati@body!50!black] (-0.605, 1.453) circle[radius=0.09];
+ \fi% back
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifcoati@back
+ \coati@part@draw[\coati@eye] (0.007, 1.624) ellipse[x radius=0.04, y radius=0.06];
+ \coati@part@draw[\coati@eye] (-0.38, 1.865) ellipse[x radius=0.035, y radius=0.055];
+ \fi% back
+ %
+ % Right Ear %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \coati@part@draw[\coati@body!45!white!95!orange] (0.417, 1.875) ellipse[x radius=0.1, y radius=0.14, rotate=-16];
+ \unless\ifcoati@back
+ \coati@part@draw[\coati@body!80!white] (0.417, 1.875) ellipse[x radius=0.07, y radius=0.10, rotate=-16];
+ \fi% back
+ %
+ % Normal Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else% sidewards
+ %
+ % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifcoati@back
+ \coati@part@draw[\coati@body!45!white!95!orange] (0.5, 1.8) .. controls (0.5, 1.58) and (0.2, 1.35) .. (0, 1.35) .. controls (-0.2, 1.35) and (-0.5, 1.58) .. (-0.5, 1.8) .. controls (-0.34, 2.3) and (0.34, 2.3) .. (0.5, 1.8) -- cycle;
+ \else% back
+ \coati@part@draw[\coati@body!45!white!95!orange] (0.5, 1.8) .. controls (0.5, 1.58) and (0.2, 1.25) .. (0, 1.16) .. controls (-0.2, 1.25) and (-0.5, 1.58) .. (-0.5, 1.8) .. controls (-0.34, 2.3) and (0.34, 2.3) .. (0.5, 1.8) -- cycle;
+ \fi% back
+ %
+ % Cheeks %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifcoati@back
+ \coati@part@draw[\coati@body!80!white] (-0.4935, 1.7443) .. controls (-0.4935, 1.7443) and (-0.1917, 1.7798) .. (-0.1371, 1.7333) .. controls (-0.07, 1.2) and (-0.07, 1.2) .. (-0.07, 1.2) .. controls (-0.259, 1.3169) and (-0.46, 1.5665) .. (-0.4935, 1.7443) -- cycle (0.4935, 1.7443) .. controls (0.4935, 1.7443) and (0.1917, 1.7798) .. (0.1371, 1.7333) .. controls (0.07, 1.2) and (0.07, 1.2) .. (0.07, 1.2) .. controls (0.259, 1.3169) and (0.46, 1.5665) .. (0.4935, 1.7443) -- cycle;
+ \fi% back
+ %
+ % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifcoati@back
+ \coati@part@draw[\coati@body!50!black] (0, 1.248) circle[radius=0.09];
+ \fi% back
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifcoati@back
+ \coati@part@draw[\coati@eye] (0.23, 1.62) circle[radius=0.05];
+ \coati@part@draw[\coati@eye] (-0.23, 1.62) circle[radius=0.05];
+ \fi% back
+ %
+ % Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \coati@part@draw[\coati@body!45!white!95!orange] (0.44, 2.02) circle[radius=0.12];
+ \coati@part@draw[\coati@body!45!white!95!orange] (-0.44, 2.02) circle[radius=0.12];
+ \unless\ifcoati@back
+ \coati@part@draw[\coati@body!80!white] (0.44, 2.02) circle[radius=0.09];
+ \coati@part@draw[\coati@body!80!white] (-0.44, 2.02) circle[radius=0.09];
+ \fi% back
+ %
+ \fi% sidewards
+ \end{scope}
+ %
+ % Tail if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifcoati@back
+ \coati@part@draw[\coati@body!50!darkgray] (0.2845, 0.5595) .. controls (0.6382, 0.8326) and (0.7302, 1.5138) .. (1.0504, 1.6639) .. controls (1.3206, 1.7840) and (1.7609, 1.3537) .. (1.5608, 1.3437) .. controls (0.9203, 2.0442) and (0.8642, 0.6247) .. (0.5001, 0.3831) .. controls (0.3214, 0.2645) and (-0.1764, 0.1117) .. (-0.1408, 0.3245) .. controls (-0.1082, 0.5191) and (0.0508, 0.3791) .. (0.2845, 0.5595) -- cycle;
+ \begin{scope}
+ \clip (0.2845, 0.5595) .. controls (0.6382, 0.8326) and (0.7302, 1.5138) .. (1.0504, 1.6639) .. controls (1.3206, 1.7840) and (1.7609, 1.3537) .. (1.5608, 1.3437) .. controls (0.9203, 2.0442) and (0.8642, 0.6247) .. (0.5001, 0.3831) .. controls (0.3214, 0.2645) and (-0.1764, 0.1117) .. (-0.1408, 0.3245) .. controls (-0.1082, 0.5191) and (0.0508, 0.3791) .. (0.2845, 0.5595) -- cycle;
+ \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-30:(0.8,1.15)}] (0.6,1.1) rectangle ++(0.4,0.1);
+ \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-30:(0.9,1.35)}] (0.7,1.3) rectangle ++(0.4,0.1);
+ \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-50:(1.0,1.5)}] (0.8,1.45) rectangle ++(0.4,0.1);
+ \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-80:(1.2,1.6)}] (1.0,1.55) rectangle ++(0.4,0.1);
+ \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-130:(1.5,1.5)}] (1.3,1.45) rectangle ++(0.4,0.1);
+ \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-30:(0.55,0.65)}] (0.35,0.6) rectangle ++(0.4,0.1);
+ \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-30:(0.65,0.9)}] (0.45,0.85) rectangle ++(0.4,0.1);
+ \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-40:(0.35,0.45)}] (0.15,0.4) rectangle ++(0.4,0.1);
+ \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-60:(0.05,0.3)}] (-0.15,0.25) rectangle ++(0.4,0.1);
+ \end{scope}
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname coatihookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
+}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.84,0.1) rectangle (1.63,2.26);
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
-%
+%%
+%% Documentation
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+%\clearpage
+%\section[Coati]{007, the coati}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
+%\emph{Named after a coati living in the zoo of M\"onchengladbach}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifcoati@threeD
- \def\coati@part@draw[##1]{\shade[ball color=##1]}
-\else
- \ifcoati@contour
- \def\coati@part@draw[##1]{\draw[##1,\coati@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\coati@part@draw[##1]{\fill[##1]}
- \fi
-\fi
+%\subsection{Package name}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-coatis}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
%
-% Body parts (center: x=0)
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\subsection{Basic Usage}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname coatihookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
-%
-% Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\coati@part@draw[\coati@body!80!white] (0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
-\coati@part@draw[\coati@body!80!white] (-0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
+%\begin{tcblisting}{}
+%\coati
+%\end{tcblisting}
%
-% Tail %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifcoati@back
- \coati@part@draw[\coati@body!50!darkgray] (0.2845, 0.5595) .. controls (0.6382, 0.8326) and (0.7302, 1.5138) .. (1.0504, 1.6639) .. controls (1.3206, 1.7840) and (1.7609, 1.3537) .. (1.5608, 1.3437) .. controls (0.9203, 2.0442) and (0.8642, 0.6247) .. (0.5001, 0.3831) .. controls (0.3214, 0.2645) and (-0.1764, 0.1117) .. (-0.1408, 0.3245) .. controls (-0.1082, 0.5191) and (0.0508, 0.3791) .. (0.2845, 0.5595) -- cycle;
- \begin{scope}
- \clip (0.2845, 0.5595) .. controls (0.6382, 0.8326) and (0.7302, 1.5138) .. (1.0504, 1.6639) .. controls (1.3206, 1.7840) and (1.7609, 1.3537) .. (1.5608, 1.3437) .. controls (0.9203, 2.0442) and (0.8642, 0.6247) .. (0.5001, 0.3831) .. controls (0.3214, 0.2645) and (-0.1764, 0.1117) .. (-0.1408, 0.3245) .. controls (-0.1082, 0.5191) and (0.0508, 0.3791) .. (0.2845, 0.5595) -- cycle;
- \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-30:(0.8,1.15)}] (0.6,1.1) rectangle ++(0.4,0.1);
- \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-30:(0.9,1.35)}] (0.7,1.3) rectangle ++(0.4,0.1);
- \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-50:(1.0,1.5)}] (0.8,1.45) rectangle ++(0.4,0.1);
- \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-80:(1.2,1.6)}] (1.0,1.55) rectangle ++(0.4,0.1);
- \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-130:(1.5,1.5)}] (1.3,1.45) rectangle ++(0.4,0.1);
- \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-30:(0.55,0.65)}] (0.35,0.6) rectangle ++(0.4,0.1);
- \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-30:(0.65,0.9)}] (0.45,0.85) rectangle ++(0.4,0.1);
- \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-40:(0.35,0.45)}] (0.15,0.4) rectangle ++(0.4,0.1);
- \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-60:(0.05,0.3)}] (-0.15,0.25) rectangle ++(0.4,0.1);
- \end{scope}
-\fi
+%\subsection{Options}
%
-% Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\coati@part@draw[\coati@body!80!white] (-0.625,1) ellipse[x radius=0.42, y radius=0.13, rotate=70];
-\coati@part@draw[\coati@body!80!white] (0.625,1) ellipse[x radius=0.42, y radius=0.13, rotate=-70];
+%The basic coati can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\coati[body=blue]
+%\end{tcblisting}
%
-% Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\coati@part@draw[\coati@body!50!darkgray] (0.595, 0.92) .. controls (0.595, 0.26) and (0.355, 0.18) .. (0, 0.18) .. controls (-0.355, 0.18) and (-0.595, 0.26) .. (-0.595, 0.92) .. controls (-0.605, 1.58) and (-0.335, 2.11) .. (0, 2.11) .. controls (0.335, 2.11) and (0.605, 1.58) .. (0.595, 0.92) -- cycle;
+%In addition to the colour of the body, the colour of the eyes can be adjusted:
+%\begin{tcblisting}{}
+%\coati[eye=red]
+%\end{tcblisting}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname coatihookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
-%
-% Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{scope}[rotate around={\coati@rotatehead:(0,1.68)}]
+%The head of the coati can be rotated, but please don't overdo this, otherwise his neck might break!
+%\begin{tcblisting}{}
+%\coati[rotatehead=-15]
+%\end{tcblisting}
%
-% Sidewards head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifcoati@sideward
- %
- % Left Ear %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \coati@part@draw[\coati@body!45!white!95!orange] (-0.212, 2.135) ellipse[x radius=0.09, y radius=0.12, rotate=-16];
- \unless\ifcoati@back
- \coati@part@draw[\coati@body!80!white] (-0.212, 2.135) ellipse[x radius=0.065, y radius=0.09, rotate=-16];
- \fi
- %
- % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \ifcoati@back
- \coati@part@draw[\coati@body!45!white!95!orange] (0.4569, 1.5608) .. controls (0.3680, 1.3594) and (0.0005, 1.2699) .. (-0.1826, 1.3507) .. controls (-0.3657, 1.4315) and (-0.5475, 1.7632) .. (-0.4587, 1.9646) .. controls (-0.1103, 2.3578) and (0.5123, 2.0832) .. (0.4569, 1.5608) -- cycle;
- \else
- \coati@part@draw[\coati@body!45!white!95!orange] (0.4808, 1.7911) .. controls (0.5682, 1.2837) and (-0.3468, 1.3575) .. (-0.6360, 1.3679) .. controls (-0.7582, 1.4729) and (-0.5198, 1.7911) .. (-0.5198, 1.7911) .. controls (-0.3597, 2.2914) and (0.3207, 2.2914) .. (0.4808, 1.7911) -- cycle;
- \fi
- %
- % Cheek %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \unless\ifcoati@back
- \coati@part@draw[\coati@body!80!white] (0.30, 1.4552) .. controls (0.30, 1.4552) and (0.1016, 1.7565) .. (-0.0005, 1.7581) -- (-0.6360, 1.3679) .. controls (-0.3083, 1.3437) and (0.0283, 1.332) .. (0.30, 1.4552) -- cycle (-0.4166, 1.9824) .. controls (-0.4166, 1.9824) and (-0.2413, 1.9758) .. (-0.2226, 1.9112) -- (-0.6875, 1.4906) .. controls (-0.6875, 1.4906) and (-0.5712, 1.7549) .. (-0.4166, 1.9824) -- cycle;
- \fi
- % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \unless\ifcoati@back
- \coati@part@draw[\coati@body!50!black] (-0.605, 1.453) circle[radius=0.09];
- \fi
- %
- % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \unless\ifcoati@back
- \coati@part@draw[\coati@eye] (0.007, 1.624) ellipse[x radius=0.04, y radius=0.06];
- \coati@part@draw[\coati@eye] (-0.38, 1.865) ellipse[x radius=0.035, y radius=0.055];
- \fi
- %
- % Right Ear %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \coati@part@draw[\coati@body!45!white!95!orange] (0.417, 1.875) ellipse[x radius=0.1, y radius=0.14, rotate=-16];
- \unless\ifcoati@back
- \coati@part@draw[\coati@body!80!white] (0.417, 1.875) ellipse[x radius=0.07, y radius=0.10, rotate=-16];
- \fi
+%For the head an alternative sidewards facing head is available. It can be combined with the \lstinline|rotatehead| option.
+%\begin{tcblisting}{}
+%\coati[sideward]
+%\end{tcblisting}
%
-% Normal Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\else
- %
- % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \ifcoati@back
- \coati@part@draw[\coati@body!45!white!95!orange] (0.5, 1.8) .. controls (0.5, 1.58) and (0.2, 1.35) .. (0, 1.35) .. controls (-0.2, 1.35) and (-0.5, 1.58) .. (-0.5, 1.8) .. controls (-0.34, 2.3) and (0.34, 2.3) .. (0.5, 1.8) -- cycle;
- \else
- \coati@part@draw[\coati@body!45!white!95!orange] (0.5, 1.8) .. controls (0.5, 1.58) and (0.2, 1.25) .. (0, 1.16) .. controls (-0.2, 1.25) and (-0.5, 1.58) .. (-0.5, 1.8) .. controls (-0.34, 2.3) and (0.34, 2.3) .. (0.5, 1.8) -- cycle;
- \fi
- %
- % Cheeks %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \unless\ifcoati@back
- \coati@part@draw[\coati@body!80!white] (-0.4935, 1.7443) .. controls (-0.4935, 1.7443) and (-0.1917, 1.7798) .. (-0.1371, 1.7333) .. controls (-0.07, 1.2) and (-0.07, 1.2) .. (-0.07, 1.2) .. controls (-0.259, 1.3169) and (-0.46, 1.5665) .. (-0.4935, 1.7443) -- cycle (0.4935, 1.7443) .. controls (0.4935, 1.7443) and (0.1917, 1.7798) .. (0.1371, 1.7333) .. controls (0.07, 1.2) and (0.07, 1.2) .. (0.07, 1.2) .. controls (0.259, 1.3169) and (0.46, 1.5665) .. (0.4935, 1.7443) -- cycle;
- \fi
- %
- % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \unless\ifcoati@back
- \coati@part@draw[\coati@body!50!black] (0, 1.248) circle[radius=0.09];
- \fi
- %
- % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \unless\ifcoati@back
- \coati@part@draw[\coati@eye] (0.23, 1.62) circle[radius=0.05];
- \coati@part@draw[\coati@eye] (-0.23, 1.62) circle[radius=0.05];
- \fi
- %
- % Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \coati@part@draw[\coati@body!45!white!95!orange] (0.44, 2.02) circle[radius=0.12];
- \coati@part@draw[\coati@body!45!white!95!orange] (-0.44, 2.02) circle[radius=0.12];
- \unless\ifcoati@back
- \coati@part@draw[\coati@body!80!white] (0.44, 2.02) circle[radius=0.09];
- \coati@part@draw[\coati@body!80!white] (-0.44, 2.02) circle[radius=0.09];
- \fi
- %
-\fi
-\end{scope}
+%To view the coati from behind:
+%\begin{tcblisting}{}
+%\coati[back]
+%\end{tcblisting}
%
-% Tail if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifcoati@back
- \coati@part@draw[\coati@body!50!darkgray] (0.2845, 0.5595) .. controls (0.6382, 0.8326) and (0.7302, 1.5138) .. (1.0504, 1.6639) .. controls (1.3206, 1.7840) and (1.7609, 1.3537) .. (1.5608, 1.3437) .. controls (0.9203, 2.0442) and (0.8642, 0.6247) .. (0.5001, 0.3831) .. controls (0.3214, 0.2645) and (-0.1764, 0.1117) .. (-0.1408, 0.3245) .. controls (-0.1082, 0.5191) and (0.0508, 0.3791) .. (0.2845, 0.5595) -- cycle;
- \begin{scope}
- \clip (0.2845, 0.5595) .. controls (0.6382, 0.8326) and (0.7302, 1.5138) .. (1.0504, 1.6639) .. controls (1.3206, 1.7840) and (1.7609, 1.3537) .. (1.5608, 1.3437) .. controls (0.9203, 2.0442) and (0.8642, 0.6247) .. (0.5001, 0.3831) .. controls (0.3214, 0.2645) and (-0.1764, 0.1117) .. (-0.1408, 0.3245) .. controls (-0.1082, 0.5191) and (0.0508, 0.3791) .. (0.2845, 0.5595) -- cycle;
- \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-30:(0.8,1.15)}] (0.6,1.1) rectangle ++(0.4,0.1);
- \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-30:(0.9,1.35)}] (0.7,1.3) rectangle ++(0.4,0.1);
- \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-50:(1.0,1.5)}] (0.8,1.45) rectangle ++(0.4,0.1);
- \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-80:(1.2,1.6)}] (1.0,1.55) rectangle ++(0.4,0.1);
- \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-130:(1.5,1.5)}] (1.3,1.45) rectangle ++(0.4,0.1);
- \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-30:(0.55,0.65)}] (0.35,0.6) rectangle ++(0.4,0.1);
- \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-30:(0.65,0.9)}] (0.45,0.85) rectangle ++(0.4,0.1);
- \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-40:(0.35,0.45)}] (0.15,0.4) rectangle ++(0.4,0.1);
- \coati@part@draw[\coati@body!45!white!95!orange,rotate around={-60:(0.05,0.3)}] (-0.15,0.25) rectangle ++(0.4,0.1);
- \end{scope}
-\fi
+%The key \lstinline|3D| will make the coati 3-dimensional:
+%\begin{tcblisting}{}
+%\coati[3D]
+%\end{tcblisting}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname coatihookbody\endcsname
-\csname tikzlinghookbody\endcsname
-%
-}
-
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\coati[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-doc.pdf b/graphics/pgf/contrib/tikzlings/tikzlings-doc.pdf
index a51cde1b4d..67259e6d03 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-doc.pdf
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-doc.pdf
Binary files differ
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-doc.tex b/graphics/pgf/contrib/tikzlings/tikzlings-doc.tex
index 36537f2ba6..f33ece7dae 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-doc.tex
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-doc.tex
@@ -43,6 +43,68 @@
\newcommand{\miktex}{MiK\TeX\xspace}
\newcommand{\texlive}{\TeX{}Live\xspace}
+% including commented lines from the .sty files %%%%%%%%%%%%%%%%%%%%%%
+% thanks to Phelype Oleinik https://topanswers.xyz/tex?q=1861#a2092
+\ExplSyntaxOn
+\makeatletter
+\iow_new:N \l__tikzlings_iow
+\tl_new:N \l__tikzlings_file_name_tl
+\NewDocumentCommand \CommentInput { m }
+ { \tikzlings_comment_input:n {#1} }
+\cs_new_protected:Npn \tikzlings_comment_input:n #1
+ {
+ \file_get_full_name:nNTF {#1} \l__tikzlings_file_name_tl
+ { \__tikzlings_comment_input: }
+ { \msg_error:nnn { tikzlings } { file-not-found } {#1} }
+ }
+\msg_new:nnn { tikzlings } { file-not-found } { File~'#1'~not~found. }
+\cs_new_protected:Npn \__tikzlings_comment_input:
+ {
+ \group_begin:
+ \cctab_select:N \c_other_cctab
+ \int_set:Nn \tex_endlinechar:D { `\^^M }
+ \use:x { \tex_everyeof:D { \exp_not:N \q_nil \char_generate:nn { 13 } { 13 } } }
+ \char_set_active_eq:NN \^^M \__tikzlings_process_line:w
+ \char_set_catcode_active:N \^^M
+ \iow_open:Nn \l__tikzlings_iow { \c_sys_jobname_str . cif } % cif => comment input file
+ \exp_after:wN \__tikzlings_process_line:w
+ \tex_input:D { \l__tikzlings_file_name_tl }
+ \iow_close:N \l__tikzlings_iow
+ \group_end:
+ \declare@file@substitution { \l__tikzlings_file_name_tl } { \c_sys_jobname_str . cif }
+ \input { \l__tikzlings_file_name_tl }
+ \undeclare@file@substitution { \l__tikzlings_file_name_tl }
+ }
+\group_begin:
+\char_set_catcode_active:N \^^M
+\char_set_active_eq:NN \^^M \scan_stop:
+\cs_new_protected:Npx \__tikzlings_process_line:w #1 ^^M
+ { \exp_not:N \__tikzlings_parse_line:w ^^M #1 ^^M \c_percent_str \s_stop }
+\cs_set_protected:Npn \__tikzlings_tmp:w #1
+ {
+ \cs_new_protected:Npn \__tikzlings_parse_line:w ##1 ^^M #1 ##2 \s_stop
+ {
+ \tl_if_empty:nTF {##1}
+ {
+ \peek_charcode_remove:NTF #1
+ { \__tikzlings_ignore_line:w }
+ { \__tikzlings_output_line:w }
+ ##2 \s_stop ^^M
+ }
+ {
+ \tl_set:Nx \l_tmpa_tl { \tl_tail:n {##1} }
+ \tl_if_eq:NNF \l_tmpa_tl \q_nil { ^^M }
+ }
+ }
+ \cs_new_protected:Npn \__tikzlings_output_line:w ##1 ^^M #1 \s_stop
+ { \iow_now:Nn \l__tikzlings_iow {##1} }
+ \cs_new_protected:Npn \__tikzlings_ignore_line:w ##1 \s_stop { }
+ }
+\exp_args:No \__tikzlings_tmp:w { \c_percent_str }
+\group_end:
+\makeatother
+\ExplSyntaxOff
+
% customisation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\addtokomafont{sectioning}{\color{SteelBlue}}
\addtokomafont{date}{\normalsize}
@@ -93,17 +155,27 @@
alsoletter={3},
emphstyle=\color{red!60!black},
emph=[1]{
- tikzlings,
- tikzlings-marmots, tikzlings-bears, tikzlings-coatis, tikzlings-koalas, tikzlings-marmots, tikzlings-owls, tikzlings-penguins, tikzlings-snowmen, tikzlings-mice, tikzlings-moles, tikzlings-sloths, tikzlings-pigs, tikzlings-cats, tikzlings-hippos, tikzlings-rhinos, tikzlings-pandas, tikzlings-bees, tikzlings-anteaters, tikzlings-squirrels, tikzlings-sheep, tikzlings-chickens, tikzlings-elephants,
- body, 3D, rotatehead, sideward, blush, sleeping, whiskers, teeth, shadow, askphil, leftstep, rightstep, eye, nose, pupil, bill, feet, belly, ask, phil, mouth, buttons, rotatearms, paws, back, pupilwidth, globalwarming, wings, antennas, stripes,
- scale, yshift, xshift, rotate, hands, muzzle, schroedinger, toes,
- hat, tophat, beret, strawhat, ribbon, harlequin, niuqelrah, witch, magichat, magicstars, crown, queencrown, kingcrown, santa, chef, graduate, tassel, alien, book, bookcolour, signpost, signcolour, signback, speech, think, bubblecolour, pizza, cheese, baguette, cake, icecream, flavoura, flavourb, flavourc, milkshake, wine, cricket, hockey, football, crystalball, magicwand, rollingpin, lightsaber, torch, basket, easter, egga, eggb, eggc, crozier, shovel, pickaxe, umbrella, umbrellaclosed, handbag, cocktail, monocle, contour, comb, baby,
+ % package names
+ tikzlings, tikzlings-marmots, tikzlings-bears, tikzlings-coatis, tikzlings-koalas, tikzlings-marmots, tikzlings-owls, tikzlings-penguins, tikzlings-snowmen, tikzlings-mice, tikzlings-moles, tikzlings-sloths, tikzlings-pigs, tikzlings-cats, tikzlings-hippos, tikzlings-rhinos, tikzlings-pandas, tikzlings-bees, tikzlings-anteaters, tikzlings-squirrels, tikzlings-sheep, tikzlings-chickens, tikzlings-elephants, tikzlings-bugs, tikzlings-bats,
+ % tikzlings options
+ body, 3D, rotatehead, sideward, blush, sleeping, whiskers, teeth, shadow, askphil, leftstep, rightstep, eye, nose, pupil, bill, feet, belly, ask, phil, mouth, rotatearms, paws, back, pupilwidth, globalwarming, wings, antennas, stripes, arms, ears, tail, eyelid, hands, muzzle, schroedinger, toes, monocle, contour, comb, baby,
+ % acessoires
+ buttons, hat, tophat, beret, strawhat, ribbon, harlequin, niuqelrah, witch, magichat, magicstars, crown, queencrown, kingcrown, santa, chef, graduate, tassel, alien, book, bookcolour, signpost, signcolour, signback, speech, think, bubblecolour, pizza, cheese, baguette, cake, icecream, flavoura, flavourb, flavourc, milkshake, wine, cricket, hockey, football, crystalball, magicwand, rollingpin, lightsaber, torch, basket, easter, egga, eggb, eggc, crozier, shovel, pickaxe, umbrella, umbrellaclosed, handbag, cocktail, strawbroom, strawbroomstick, strawbroomribbon, broom, broomstick,
+ % tikz options
+ scale, yshift, xshift, rotate,
+ % other
+ figchild, standalone, document,
},
texcsstyle=*\color{SteelBlue!50!black}\bfseries,
keywordstyle=\color{red!60!black}\bfseries,
morekeywords={tikzpicture},
moretexcs={
- usepackage, usetikzlibrary, marmot, coati, bear, koala, owl, penguin, thing, tikzling, snowman, mouse, moles, sloth, pig, cat, hippo, rhino, panda, bee, anteater, squirrel, bearwear, sheep, chicken, elephant, tikzlinghookbackground, tikzlinghookbelly, tikzlinghookbody, tikzlinghookforeground, mousehookbelly
+ % latex keywords
+ usepackage, usetikzlibrary,
+ % tikzlings names
+ marmot, coati, bear, koala, owl, penguin, thing, tikzling, snowman, mouse, moles, sloth, pig, cat, hippo, rhino, panda, bee, anteater, squirrel, bearwear, sheep, chicken, elephant, bug, bat,
+ % other
+ tikzlinghookbackground, tikzlinghookbelly, tikzlinghookbody, tikzlinghookforeground, mousehookbelly
},
delim ={[s][\ttfamily\color{green!50!black}]{$}{$}},
moredelim=[is][\footnotesize\ttfamily\color{orange!70!black}]{|}{|},
@@ -151,7 +223,7 @@
\url{https://github.com/samcarter/tikzlings}\\
\url{https://www.ctan.org/pkg/tikzlings}
}{samcarter}}
-\date{Version v0.6 \textendash{} 2021/04/16}
+\date{Version v0.8 \textendash{} 2021/08/06}
\begin{document}
\maketitle
@@ -260,7 +332,7 @@ With regard to the individual components of the \tikzlings, they are located in
\end{tikzpicture}
\end{center}
-In addition the hooks \lstinline|\tikzlinghookbackground|, \lstinline|\tikzlinghookbelly|, \lstinline|\tikzlinghookbody| and \lstinline|\tikzlinghookforeground| are available and will effect all \tikzlings.
+{\raggedright In addition, the hooks \lstinline|\tikzlinghookbackground|, \lstinline|\tikzlinghookbelly|,\newline \lstinline|\tikzlinghookbody| and \lstinline|\tikzlinghookforeground| are available and will effect all\newline \tikzlings.}
A short example how the hooks can be used:
\begin{tcblisting}{}
@@ -280,1328 +352,20 @@ A short example how the hooks can be used:
\tableofcontents
\endgroup
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Anteater
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\clearpage
-\section[Anteater]{Peter, the anteater}
-
-\subsection{Package name}
-
-\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
-\vspace*{0.5cm}
-\lstinline|\usepackage{tikzlings-anteaters}|
-\vspace*{0.5cm}
-\end{tcolorbox}
-
-\subsection{Basic Usage}
-
-\begin{tcblisting}{}
-\anteater
-\end{tcblisting}
-
-\subsection{Options}
-
-The basic anteater can be modified by changing its colour:
-\begin{tcblisting}{}
-\anteater[body=blue]
-\end{tcblisting}
-
-In addition to the colour of the body, the colour of the eyes can be adjusted:
-\begin{tcblisting}{}
-\anteater[eye=red]
-\end{tcblisting}
-
-To view the anteater from behind:
-\begin{tcblisting}{}
-\anteater[back]
-\end{tcblisting}
-
-The key \lstinline|3D| will make the anteater 3-dimensional:
-\begin{tcblisting}{}
-\anteater[3D]
-\end{tcblisting}
-
-And finally the \lstinline|contour| key will only draw the outlines:
-\begin{tcblisting}{}
-\anteater[contour=black]
-\end{tcblisting}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Bear
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\clearpage
-\section[Bear]{B\"ar, the teddy bear}
-
-\emph{If you look very closely at the group picture in \href{https://www.tug.org/TUGboat/tb39-2/tb122wright-tug18.pdf}{TUG goes to Rio} you can spot the real B\"ar in it}
-
-\subsection{Package name}
-
-\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
-\vspace*{0.5cm}
-\lstinline|\usepackage{tikzlings-bears}|
-\vspace*{0.5cm}
-\end{tcolorbox}
-
-\subsection{Basic Usage}
-
-\begin{tcblisting}{}
-\bear
-\end{tcblisting}
-
-\subsection{Options}
-
-The basic teddy bear can be modified by changing its colour:
-\begin{tcblisting}{}
-\bear[body=blue]
-\end{tcblisting}
-
-In addition to the colour of the body, the colour of the eyes can be adjusted:
-\begin{tcblisting}{}
-\bear[eye=red]
-\end{tcblisting}
-
-To view the teddy bear from behind:
-\begin{tcblisting}{}
-\bear[back]
-\end{tcblisting}
-
-The key \lstinline|3D| will make the teddy bear 3-dimensional:
-\begin{tcblisting}{}
-\bear[3D]
-\end{tcblisting}
-
-And finally the \lstinline|contour| key will only draw the outlines:
-\begin{tcblisting}{}
-\bear[contour=black]
-\end{tcblisting}
-
-\subsection{Extension}
-
-The B\"ar and Ulrike Fischer wrote the fantastic \lstinline|bearwear| package, that provides many different clothing options for the \lstinline|TikZbears|. All the other \tikzlings admire them for the nice clothing!
-
-A short example:
-
-\begin{tcblisting}{}
-%\usepackage{bearwear}
-\bear
-\bearwear[
- long sleeves,
- shirt=red!80!black
-]
-\end{tcblisting}
-
-Many more options and examples can be found in the package documentation \url{https://ctan.org/pkg/bearwear}.
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Bee
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\clearpage
-\section[Bee]{Beeing, the bee}
-
-\emph{The bee was kindly contributed by @marmot}
-
-\subsection{Package name}
-
-\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
-\vspace*{0.5cm}
-\lstinline|\usepackage{tikzlings-bees}|
-\vspace*{0.5cm}
-\end{tcolorbox}
-
-\subsection{Basic Usage}
-
-\begin{tcblisting}{}
-\bee
-\end{tcblisting}
-
-\subsection{Options}
-
-The basic bee can be modified by changing its colour:
-\begin{tcblisting}{}
-\bee[body=blue]
-\end{tcblisting}
-
-In addition to the colour of the body, the colour of various body parts can be adjusted:
-\begin{tcblisting}{}
-\bee[antennas=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\bee[eye=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\bee[mouth=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\bee[wings=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\bee[hands=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\bee[stripes=red]
-\end{tcblisting}
-
-To view the bee from behind:
-\begin{tcblisting}{}
-\bee[back]
-\end{tcblisting}
-
-The key \lstinline|3D| will make the bee 3-dimensional:
-\begin{tcblisting}{}
-\bee[3D]
-\end{tcblisting}
-
-And finally the \lstinline|contour| key will only draw the outlines:
-\begin{tcblisting}{}
-\bee[contour=black]
-\end{tcblisting}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Cat
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\clearpage
-\section[Cat]{MisTi$k$Zelees, the cat}
-
-\emph{Named after the worlds best singing cat}
-
-\subsection{Package name}
-
-\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
-\vspace*{0.5cm}
-\lstinline|\usepackage{tikzlings-cats}|
-\vspace*{0.5cm}
-\end{tcolorbox}
-
-\subsection{Basic Usage}
-
-\begin{tcblisting}{}
-\cat
-\end{tcblisting}
-
-\subsection{Options}
-
-The basic cat can be modified by changing its colour:
-\begin{tcblisting}{}
-\cat[body=blue]
-\end{tcblisting}
-
-In addition to the colour of the body, the colour of various body parts can be adjusted:
-\begin{tcblisting}{}
-\cat[eye=green]
-\end{tcblisting}
-\begin{tcblisting}{}
-\cat[pupil=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\cat[nose=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\cat[whiskers=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\cat[paws=red]
-\end{tcblisting}
-
-The shape of the \lstinline|pupil| can be changed with the \lstinline|pupilwidth| option:
-\begin{tcblisting}{}
-\cat[pupilwidth=0.015]
-\end{tcblisting}
-
-Additionally several predefined widths exist:
-\begin{tcolorbox}
-\begin{lstlisting}[morekeywords={narrow,medium,wide,very,pupils}]
-\cat[narrow pupils]
-
-\cat[medium pupils]
-
-\cat[wide pupils]
-
-\cat[very wide pupils]
-\end{lstlisting}
-
-\tcblower
-\begin{tikzpicture}[yshift=2.4cm,xshift=1.8cm]
-\cat[narrow pupils]
-\cat[medium pupils,xshift=2.5cm]
-\cat[wide pupils,yshift=-2.5cm]
-\cat[very wide pupils,xshift=2.5cm,yshift=-2.5cm]
-\end{tikzpicture}
-\end{tcolorbox}
-
-There is also the special option \lstinline|schroedinger|. This cat is both alive and dead as long as you did not compile your document.
-Be prepared for a possibly disturbing scene when you open the pdf, this option is not suited for sensitive \tikzlings.
-\begingroup
\makeatletter
-\renewcommand*{\cat}[1][]{%
- \tikzset{/cat/.cd,#1}%
- \cat@tombstone%
+% modified from https://chat.stackexchange.com/transcript/message/56515698#56515698
+\ExplSyntaxOn
+\cs_new_protected:Npn \tikzlings_load_stys:N #1 {
+ \clist_map_inline:Nn #1 {
+ \exp_args:Nx \CommentInput {
+ tikzlings- \__tikzlings_after_slash:w ##1 / / \s_stop .sty
+ }
+ }
}
-\renewcommand{\cathookbackground}{}
+\cs_new_eq:NN \tikzling@loadstys \tikzlings_load_stys:N
+\ExplSyntaxOff
+\tikzling@loadstys\tikzling@list
\makeatother
-\begin{tcblisting}{}
-\cat[schroedinger]
-\end{tcblisting}
-\endgroup
-
-To view the cat from behind:
-\begin{tcblisting}{}
-\cat[back]
-\end{tcblisting}
-
-The key \lstinline|3D| will make the cat 3-dimensional:
-\begin{tcblisting}{}
-\cat[3D]
-\end{tcblisting}
-
-And finally the \lstinline|contour| key will only draw the outlines:
-\begin{tcblisting}{}
-\cat[contour=black]
-\end{tcblisting}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Chicken
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\clearpage
-\section[Chicken]{Paulette, the chicken}
-
-\emph{Paulette is named after the French word for chicken ``poulet''}
-
-\subsection{Package name}
-
-\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
-\vspace*{0.5cm}
-\lstinline|\usepackage{tikzlings-chickens}|
-\vspace*{0.5cm}
-\end{tcolorbox}
-
-\subsection{Basic Usage}
-
-\begin{tcblisting}{}
-\chicken
-\end{tcblisting}
-
-\subsection{Options}
-
-The basic chicken can be modified by changing its colour:
-\begin{tcblisting}{}
-\chicken[body=blue]
-\end{tcblisting}
-
-In addition to the colour of the body, the colour of various body parts can be adjusted:
-\begin{tcblisting}{}
-\chicken[comb=green]
-\end{tcblisting}
-
-\begin{tcblisting}{}
-\chicken[eye=red]
-\end{tcblisting}
-
-\begin{tcblisting}{}
-\chicken[pupil=red]
-\end{tcblisting}
-
-\begin{tcblisting}{}
-\chicken[bill=red]
-\end{tcblisting}
-
-\begin{tcblisting}{}
-\chicken[feet=red]
-\end{tcblisting}
-
-There is also the special option \lstinline|baby| which will draw a baby chicken called \emph{Pio}:
-\begin{tcblisting}{}
-\chicken[baby=yellow]
-\end{tcblisting}
-
-To view the chicken from behind:
-\begin{tcblisting}{}
-\chicken[back]
-\end{tcblisting}
-
-The key \lstinline|3D| will make the chicken 3-dimensional:
-\begin{tcblisting}{}
-\chicken[3D]
-\end{tcblisting}
-
-And finally the \lstinline|contour| key will only draw the outlines:
-\begin{tcblisting}{}
-\chicken[contour=black]
-\end{tcblisting}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Coati
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\clearpage
-\section[Coati]{007, the coati}
-
-\emph{Named after a coati living in the zoo of M\"onchengladbach}
-
-\subsection{Package name}
-
-\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
-\vspace*{0.5cm}
-\lstinline|\usepackage{tikzlings-coatis}|
-\vspace*{0.5cm}
-\end{tcolorbox}
-
-\subsection{Basic Usage}
-
-\begin{tcblisting}{}
-\coati
-\end{tcblisting}
-
-\subsection{Options}
-
-The basic coati can be modified by changing its colour:
-\begin{tcblisting}{}
-\coati[body=blue]
-\end{tcblisting}
-
-In addition to the colour of the body, the colour of the eyes can be adjusted:
-\begin{tcblisting}{}
-\coati[eye=red]
-\end{tcblisting}
-
-The head of the coati can be rotated, but please don't overdo this, otherwise his neck might break!
-\begin{tcblisting}{}
-\coati[rotatehead=-15]
-\end{tcblisting}
-
-For the head an alternative sidewards facing head is available. It can be combined with the \lstinline|rotatehead| option.
-\begin{tcblisting}{}
-\coati[sideward]
-\end{tcblisting}
-
-To view the coati from behind:
-\begin{tcblisting}{}
-\coati[back]
-\end{tcblisting}
-
-The key \lstinline|3D| will make the coati 3-dimensional:
-\begin{tcblisting}{}
-\coati[3D]
-\end{tcblisting}
-
-And finally the \lstinline|contour| key will only draw the outlines:
-\begin{tcblisting}{}
-\coati[contour=black]
-\end{tcblisting}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Chicken
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\clearpage
-\section[Elephant]{Johannes, the elephant}
-
-\emph{The namesake of Johannes loves elephants}
-
-\subsection{Package name}
-
-\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
-\vspace*{0.5cm}
-\lstinline|\usepackage{tikzlings-elephants}|
-\vspace*{0.5cm}
-\end{tcolorbox}
-
-\subsection{Basic Usage}
-
-\begin{tcblisting}{}
-\elephant
-\end{tcblisting}
-
-\subsection{Options}
-
-The basic elephant can be modified by changing its colour:
-\begin{tcblisting}{}
-\elephant[body=blue]
-\end{tcblisting}
-
-In addition to the colour of the body, the colour of the eyes can be adjusted:
-\begin{tcblisting}{}
-\elephant[eye=red]
-\end{tcblisting}
-
-To view the elephant from behind:
-\begin{tcblisting}{}
-\elephant[back]
-\end{tcblisting}
-
-The key \lstinline|3D| will make the elephant 3-dimensional:
-\begin{tcblisting}{}
-\elephant[3D]
-\end{tcblisting}
-
-And finally the \lstinline|contour| key will only draw the outlines:
-\begin{tcblisting}{}
-\elephant[contour=black]
-\end{tcblisting}
-
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Hippo
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\clearpage
-\section[Hippo]{Sieglinde, the hippo}
-
-\emph{For the winner of the 2019 Groundhog Challenge}
-
-\subsection{Package name}
-
-\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
-\vspace*{0.5cm}
-\lstinline|\usepackage{tikzlings-hippos}|
-\vspace*{0.5cm}
-\end{tcolorbox}
-
-\subsection{Basic Usage}
-
-\begin{tcblisting}{}
-\hippo
-\end{tcblisting}
-
-\subsection{Options}
-
-The basic hippo can be modified by changing its colour:
-\begin{tcblisting}{}
-\hippo[body=blue]
-\end{tcblisting}
-
-In addition to the colour of the body, the colour of the eyes can be adjusted:
-\begin{tcblisting}{}
-\hippo[eye=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\hippo[pupil=red]
-\end{tcblisting}
-
-The hippo can also do its nails:
-\begin{tcblisting}{}
-\hippo[toes=red]
-\end{tcblisting}
-
-To view the hippo from behind:
-\begin{tcblisting}{}
-\hippo[back]
-\end{tcblisting}
-
-The key \lstinline|3D| will make the hippo 3-dimensional:
-\begin{tcblisting}{}
-\hippo[3D]
-\end{tcblisting}
-
-And finally the \lstinline|contour| key will only draw the outlines:
-\begin{tcblisting}{}
-\hippo[contour=black]
-\end{tcblisting}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Koala
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\clearpage
-\section[Koala]{Will, the koala}
-
-\emph{The koala was generously contributed by @marmot and is named in honour of a \LaTeX{} developer from Down Under}
-
-\subsection{Package name}
-
-\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
-\vspace*{0.5cm}
-\lstinline|\usepackage{tikzlings-koalas}|
-\vspace*{0.5cm}
-\end{tcolorbox}
-
-\subsection{Basic Usage}
-
-\begin{tcblisting}{}
-\koala
-\end{tcblisting}
-
-\subsection{Options}
-
-The basic koala can be modified by changing its colour:
-\begin{tcblisting}{}
-\koala[body=blue]
-\end{tcblisting}
-
-In addition to the colour of the body, the colour of the eyes can be adjusted:
-\begin{tcblisting}{}
-\koala[eye=red]
-\end{tcblisting}
-
-It can also blush
-\begin{tcblisting}{}
-\koala[blush]
-\end{tcblisting}
-
-and if tired, it is going to take a nap:
-\begin{tcblisting}{}
-\koala[sleeping]
-\end{tcblisting}
-
-To view the koala from behind:
-\begin{tcblisting}{}
-\koala[back]
-\end{tcblisting}
-
-The key \lstinline|3D| will make the koala 3-dimensional:
-\begin{tcblisting}{}
-\koala[3D]
-\end{tcblisting}
-
-And finally the \lstinline|contour| key will only draw the outlines:
-\begin{tcblisting}{}
-\koala[contour=black]
-\end{tcblisting}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Marmot
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\clearpage
-\section[Marmot]{Phil, the marmot}
-
-\emph{Phil got his name from Punxsutawney Phil, the famous weather forecasting groundhog}
-
-\subsection{Package name}
-
-\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
-\vspace*{0.5cm}
-\lstinline|\usepackage{tikzlings-marmots}|
-\vspace*{0.5cm}
-\end{tcolorbox}
-
-\subsection{Basic Usage}
-
-\begin{tcblisting}{}
-\marmot
-\end{tcblisting}
-
-\subsection{Options}
-
-The basic marmot can be modified by changing its colour:
-\begin{tcblisting}{}
-\marmot[body=blue]
-\end{tcblisting}
-
-In addition to the colour of the body, the colour of the eyes can be adjusted:
-\begin{tcblisting}{}
-\marmot[eye=red]
-\end{tcblisting}
-
-The marmot can also blush
-\begin{tcblisting}{}
-\marmot[blush]
-\end{tcblisting}
-
-and whiskers can be added:
-\begin{tcblisting}{}
-\marmot[whiskers=gray]
-\end{tcblisting}
-
-Some marmots even show their chisel teeth:
-\begin{tcblisting}{}
-\marmot[teeth=white]
-\end{tcblisting}
-
-or can cast a shadow:
-\begin{tcblisting}{}
-\marmot[shadow]
-\end{tcblisting}
-
-This ability is important if you want to ask Punxsutawney Phil\footnote{\url{https://en.wikipedia.org/wiki/Punxsutawney_Phil}} on Groundhog Day how the weather is going to be. With a probability derived from the statistics of 120 Groundhog Days\footnote{\url{https://www.livescience.com/32974-punxsutawney-phil-weather-prediction-accuracy.html}} the option \lstinline|askphil| might or might not result in a shadow.
-\begin{tcblisting}{}
-\marmot[askphil]
-\end{tcblisting}
-
-If a good weather prognosis is derived, the happy marmot can dance by lifting up its left and right foot:
-\begin{tcblisting}{}
-\marmot[leftstep]
-\marmot[rightstep,xshift=2cm]
-\end{tcblisting}
-
-To view the marmot from behind:
-\begin{tcblisting}{}
-\marmot[back]
-\end{tcblisting}
-
-The key \lstinline|3D| will make the marmot 3-dimensional:
-\begin{tcblisting}{}
-\marmot[3D]
-\end{tcblisting}
-
-And finally the \lstinline|contour| key will only draw the outlines:
-\begin{tcblisting}{}
-\marmot[contour=black]
-\end{tcblisting}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Moles
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\clearpage
-\section[Mole]{Wilhelm, the mole}
-
-\emph{The mole was added in celebration of the international mole day and is named after the chemist Wilhelm Ostwald}
-
-\subsection{Package name}
-
-\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
-\vspace*{0.5cm}
-\lstinline|\usepackage{tikzlings-moles}|
-\vspace*{0.5cm}
-\end{tcolorbox}
-
-\subsection{Basic Usage}
-
-\textcolor{red!60!black}{\textbf{Attention:} In contrast to the other \tikzlings the macro name is the plural form to avoid conflicts with \lstinline|siunitx| and similar packages.}
-\begin{tcblisting}{}
-\moles
-\end{tcblisting}
-
-\subsection{Options}
-
-The basic mole can be modified by changing its colour:
-\begin{tcblisting}{}
-\moles[body=blue]
-\end{tcblisting}
-
-In addition to the colour of the body, the colour of various body parts can be adjusted:
-\begin{tcblisting}{}
-\moles[eye=red]
-\end{tcblisting}
-
-\begin{tcblisting}{}
-\moles[muzzle=red]
-\end{tcblisting}
-
-\begin{tcblisting}{}
-\moles[hands=red]
-\end{tcblisting}
-
-\begin{tcblisting}{}
-\moles[feet=red]
-\end{tcblisting}
-
-To view the mole from behind:
-\begin{tcblisting}{}
-\moles[back]
-\end{tcblisting}
-
-The key \lstinline|3D| will make the mole 3-dimensional:
-\begin{tcblisting}{}
-\moles[3D]
-\end{tcblisting}
-
-And finally the \lstinline|contour| key will only draw the outlines:
-\begin{tcblisting}{}
-\moles[contour=black]
-\end{tcblisting}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Mouse
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\clearpage
-\section[Mouse]{Tokz, the mouse}
-
-\emph{The idea for the mouse came from an Italian \LaTeX{} user -- Tokz is a combination of the Italian word for mouse and \TikZ}
-
-\subsection{Package name}
-
-\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
-\vspace*{0.5cm}
-\lstinline|\usepackage{tikzlings-mice}|
-\vspace*{0.5cm}
-\end{tcolorbox}
-
-\subsection{Basic Usage}
-
-\begin{tcblisting}{}
-\mouse
-\end{tcblisting}
-
-\subsection{Options}
-
-The basic mouse can be modified by changing its colour:
-\begin{tcblisting}{}
-\mouse[body=blue]
-\end{tcblisting}
-
-In addition to the colour of the body, the colour of the eyes can be adjusted:
-\begin{tcblisting}{}
-\mouse[eye=red]
-\end{tcblisting}
-
-The rotation angle of its arms can be adjusted:
-\begin{tcblisting}{}
-\mouse[rotatearms=40]
-\end{tcblisting}
-
-And the mouse can lift its legs:
-\begin{tcblisting}{}
-\mouse[leftstep]
-\mouse[rightstep,xshift=2cm]
-\end{tcblisting}
-
-To view the mouse from behind:
-\begin{tcblisting}{}
-\mouse[back]
-\end{tcblisting}
-
-The key \lstinline|3D| will make the mouse 3-dimensional:
-\begin{tcblisting}{}
-\mouse[3D]
-\end{tcblisting}
-
-And finally the \lstinline|contour| key will only draw the outlines:
-\begin{tcblisting}{}
-\mouse[contour=black]
-\end{tcblisting}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Owl
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\clearpage
-\section[Owl]{Jake, the owl}
-
-\emph{The owl Jake was inspired by the avatar of one of the world's top TikZperts}
-
-\subsection{Package name}
-
-\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
-\vspace*{0.5cm}
-\lstinline|\usepackage{tikzlings-owls}|
-\vspace*{0.5cm}
-\end{tcolorbox}
-
-\subsection{Basic Usage}
-
-\begin{tcblisting}{}
-\owl
-\end{tcblisting}
-
-\subsection{Options}
-
-The basic owl can be modified by changing its colour:
-\begin{tcblisting}{}
-\owl[body=blue]
-\end{tcblisting}
-
-In addition to the colour of the body, the colour of various body parts can be adjusted:
-\begin{tcblisting}{}
-\owl[eye=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\owl[pupil=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\owl[bill=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\owl[feet=red]
-\end{tcblisting}
-
-To view the owl from behind:
-\begin{tcblisting}{}
-\owl[back]
-\end{tcblisting}
-
-The key \lstinline|3D| will make the owl 3-dimensional:
-\begin{tcblisting}{}
-\owl[3D]
-\end{tcblisting}
-
-And finally the \lstinline|contour| key will only draw the outlines:
-\begin{tcblisting}{}
-\owl[contour=black]
-\end{tcblisting}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Panda
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\clearpage
-\section[Panda]{Meng Meng, the panda}
-
-\emph{Meng Meng is named after one of the pandas at the zoological garden Berlin}
-
-\subsection{Package name}
-
-\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
-\vspace*{0.5cm}
-\lstinline|\usepackage{tikzlings-pandas}|
-\vspace*{0.5cm}
-\end{tcolorbox}
-
-\subsection{Basic Usage}
-
-\begin{tcblisting}{}
-\panda
-\end{tcblisting}
-
-\subsection{Options}
-
-The basic panda can be modified by changing its colour:
-\begin{tcblisting}{}
-\panda[body=blue]
-\end{tcblisting}
-
-In addition to the colour of the body, the colour of the eyes can be adjusted:
-\begin{tcblisting}{}
-\panda[eye=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\panda[pupil=red]
-\end{tcblisting}
-
-To view the panda from behind:
-\begin{tcblisting}{}
-\panda[back]
-\end{tcblisting}
-
-The key \lstinline|3D| will make the panda 3-dimensional:
-\begin{tcblisting}{}
-\panda[3D]
-\end{tcblisting}
-
-And finally the \lstinline|contour| key will only draw the outlines:
-\begin{tcblisting}{}
-\panda[contour=black]
-\end{tcblisting}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Penguin
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\clearpage
-\section[Penguin]{Tux, the penguin}
-
-\emph{Dedicated to the Linux mascot}
-
-\subsection{Package name}
-
-\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
-\vspace*{0.5cm}
-\lstinline|\usepackage{tikzlings-penguins}|
-\vspace*{0.5cm}
-\end{tcolorbox}
-
-\subsection{Basic Usage}
-
-\begin{tcblisting}{}
-\penguin
-\end{tcblisting}
-
-\subsection{Options}
-
-The basic penguin can be modified by changing its colour:
-\begin{tcblisting}{}
-\penguin[body=blue]
-\end{tcblisting}
-
-In addition to the colour of the body, the colour of various body parts can be adjusted:
-\begin{tcblisting}{}
-\penguin[eye=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\penguin[pupil=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\penguin[bill=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\penguin[belly=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\penguin[feet=red]
-\end{tcblisting}
-
-To view the penguin from behind:
-\begin{tcblisting}{}
-\penguin[back]
-\end{tcblisting}
-
-The key \lstinline|3D| will make the penguin 3-dimensional:
-\begin{tcblisting}{}
-\penguin[3D]
-\end{tcblisting}
-
-And finally the \lstinline|contour| key will only draw the outlines:
-\begin{tcblisting}{}
-\penguin[contour=black]
-\end{tcblisting}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Pig
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\clearpage
-\section[Pig]{Ms Piggy, the pig}
-
-\emph{Added on February 5th, 2019 to commemorate the Chinese year of the pig}
-
-\subsection{Package name}
-
-\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
-\vspace*{0.5cm}
-\lstinline|\usepackage{tikzlings-pigs}|
-\vspace*{0.5cm}
-\end{tcolorbox}
-
-\subsection{Basic Usage}
-
-\begin{tcblisting}{}
-\pig
-\end{tcblisting}
-
-\subsection{Options}
-
-The basic pig can be modified by changing its colour:
-\begin{tcblisting}{}
-\pig[body=blue]
-\end{tcblisting}
-
-In addition to the colour of the body, the colour of the eyes can be adjusted:
-\begin{tcblisting}{}
-\pig[eye=red]
-\end{tcblisting}
-
-To view the pig from behind:
-\begin{tcblisting}{}
-\pig[back]
-\end{tcblisting}
-
-The key \lstinline|3D| will make the pig 3-dimensional:
-\begin{tcblisting}{}
-\pig[3D]
-\end{tcblisting}
-
-And finally the \lstinline|contour| key will only draw the outlines:
-\begin{tcblisting}{}
-\pig[contour=black]
-\end{tcblisting}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Rhino
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\clearpage
-\section[Rhino]{D\"urer, the rhino}
-
-\emph{Named after Albrecht D\"urer who painted an amazing rhino merely based on stories}
-
-\subsection{Package name}
-
-\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
-\vspace*{0.5cm}
-\lstinline|\usepackage{tikzlings-rhinos}|
-\vspace*{0.5cm}
-\end{tcolorbox}
-
-\subsection{Basic Usage}
-
-\begin{tcblisting}{}
-\rhino
-\end{tcblisting}
-
-\subsection{Options}
-
-The basic rhino can be modified by changing its colour:
-\begin{tcblisting}{}
-\rhino[body=blue]
-\end{tcblisting}
-
-In addition to the colour of the body, the colour of the eyes can be adjusted:
-\begin{tcblisting}{}
-\rhino[eye=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\rhino[pupil=red]
-\end{tcblisting}
-
-The hippo can also do its nails:
-\begin{tcblisting}{}
-\rhino[toes=red]
-\end{tcblisting}
-
-To view the rhino from behind:
-\begin{tcblisting}{}
-\rhino[back]
-\end{tcblisting}
-
-The key \lstinline|3D| will make the rhino 3-dimensional:
-\begin{tcblisting}{}
-\rhino[3D]
-\end{tcblisting}
-
-And finally the \lstinline|contour| key will only draw the outlines:
-\begin{tcblisting}{}
-\rhino[contour=black]
-\end{tcblisting}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Sheep
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\clearpage
-\section[Sheep]{Mókollur, the sheep}
-
-\emph{The sheep was kindly contributed by @Plergux. Mókollur is a bit silly and likes to goof off. This sheep's favourite food are boiled potatoes.}
-
-\subsection{Package name}
-
-\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
-\vspace*{0.5cm}
-\lstinline|\usepackage{tikzlings-sheep}|
-\vspace*{0.5cm}
-\end{tcolorbox}
-
-\subsection{Basic Usage}
-
-\begin{tcblisting}{}
-\sheep
-\end{tcblisting}
-
-\subsection{Options}
-
-The basic sheep can be modified by changing its colour:
-\begin{tcblisting}{}
-\sheep[body=blue]
-\end{tcblisting}
-
-In addition to the colour of the body, the colour of the eyes can be adjusted:
-\begin{tcblisting}{}
-\sheep[eye=red]
-\end{tcblisting}
-
-The sheep can also blush
-\begin{tcblisting}{}
-\sheep[blush]
-\end{tcblisting}
-
-and put on a monocle
-\begin{tcblisting}{}
-\sheep[monocle]
-\end{tcblisting}
-
-To view the sheep from behind:
-\begin{tcblisting}{}
-\sheep[back]
-\end{tcblisting}
-
-The key \lstinline|3D| will make the sheep 3-dimensional:
-\begin{tcblisting}{}
-\sheep[3D]
-\end{tcblisting}
-
-And finally the \lstinline|contour| key will only draw the outlines:
-\begin{tcblisting}{}
-\sheep[contour=black]
-\end{tcblisting}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Sloth
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\clearpage
-\section[Sloth]{Riley, the sloth}
-
-\emph{One of good souls behind the TugBoat once met a sloth called Riley}
-
-\subsection{Package name}
-
-\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
-\vspace*{0.5cm}
-\lstinline|\usepackage{tikzlings-sloths}|
-\vspace*{0.5cm}
-\end{tcolorbox}
-
-\subsection{Basic Usage}
-
-\begin{tcblisting}{}
-\sloth
-\end{tcblisting}
-
-\subsection{Options}
-
-The basic sloth can be modified by changing its colour:
-\begin{tcblisting}{}
-\sloth[body=blue]
-\end{tcblisting}
-
-In addition to the colour of the body, the colour of the eyes can be adjusted:
-\begin{tcblisting}{}
-\sloth[eye=red]
-\end{tcblisting}
-
-If tired, the sloth can take a nap:
-\begin{tcblisting}{}
-\sloth[sleeping]
-\end{tcblisting}
-
-To view the sloth from behind:
-\begin{tcblisting}{}
-\sloth[back]
-\end{tcblisting}
-
-The key \lstinline|3D| will make the sloth 3-dimensional:
-\begin{tcblisting}{}
-\sloth[3D]
-\end{tcblisting}
-
-And finally the \lstinline|contour| key will only draw the outlines:
-\begin{tcblisting}{}
-\sloth[contour=black]
-\end{tcblisting}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Squirrel
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\clearpage
-\section[Squirrel]{Ratatosk, the squirrel}
-
-\emph{named after the squirrel from Norse mythology who climbs around Yggdrasil}
-
-\subsection{Package name}
-
-\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
-\vspace*{0.5cm}
-\lstinline|\usepackage{tikzlings-squirrels}|
-\vspace*{0.5cm}
-\end{tcolorbox}
-
-\subsection{Basic Usage}
-
-\begin{tcblisting}{}
-\squirrel
-\end{tcblisting}
-
-\subsection{Options}
-
-The basic squirrel can be modified by changing its colour:
-\begin{tcblisting}{}
-\squirrel[body=blue]
-\end{tcblisting}
-
-In addition to the colour of the body, the colour of the eyes can be adjusted:
-\begin{tcblisting}{}
-\squirrel[eye=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\squirrel[pupil=red]
-\end{tcblisting}
-
-To view the squirrel from behind:
-\begin{tcblisting}{}
-\squirrel[back]
-\end{tcblisting}
-
-The key \lstinline|3D| will make the squirrel 3-dimensional:
-\begin{tcblisting}{}
-\squirrel[3D]
-\end{tcblisting}
-
-And finally the \lstinline|contour| key will only draw the outlines:
-\begin{tcblisting}{}
-\squirrel[contour=black]
-\end{tcblisting}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Snowman
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\clearpage
-\section[Snowman]{Yuki, the snowman}
-
-\emph{Yuki is the transcription of the Japanese word for snow}
-
-\subsection{Package name}
-
-\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
-\vspace*{0.5cm}
-\lstinline|\usepackage{tikzlings-snowmen}|
-\vspace*{0.5cm}
-\end{tcolorbox}
-
-\subsection{Basic Usage}
-
-\begin{tcblisting}{}
-\snowman
-\end{tcblisting}
-
-\subsection{Options}
-
-The basic snowman can be modified by changing its colour:
-\begin{tcblisting}{}
-\snowman[body=blue]
-\end{tcblisting}
-
-In addition to the colour of the body, the colour of various body parts can be adjusted:
-\begin{tcblisting}{}
-\snowman[eye=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\snowman[nose=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\snowman[mouth=red]
-\end{tcblisting}
-\begin{tcblisting}{}
-\snowman[buttons=red]
-\end{tcblisting}
-
-The biggest enemy of the snowman are raising temperatures:
-\begin{tcblisting}{}
-\snowman[globalwarming,tophat]
-\end{tcblisting}
-
-To view the snowman from behind:
-\begin{tcblisting}{}
-\snowman[back]
-\end{tcblisting}
-
-The key \lstinline|3D| will make the snowman 3-dimensional:
-\begin{tcblisting}{}
-\snowman[3D]
-\end{tcblisting}
-
-And finally the \lstinline|contour| key will only draw the outlines:
-\begin{tcblisting}{}
-\snowman[contour=black]
-\end{tcblisting}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
@@ -1736,7 +500,7 @@ A list of all available accessories is given below. For completeness the default
\end{tcblisting}
\begin{tcblisting}{}
-\koala[
+\bat[
queencrown=yellow
]
\end{tcblisting}
@@ -1818,7 +582,7 @@ A list of all available accessories is given below. For completeness the default
\end{tcblisting}
\begin{tcblisting}{}
-\coati[
+\bug[
baguette=brown
]
\end{tcblisting}
@@ -1859,7 +623,7 @@ A list of all available accessories is given below. For completeness the default
\end{tcblisting}
\begin{tcblisting}{}
-\bee[
+\bug[
hockey=brown
]
\end{tcblisting}
@@ -1936,6 +700,21 @@ A list of all available accessories is given below. For completeness the default
\end{tcblisting}
\begin{tcblisting}{}
+\bug[
+ strawbroom=brown!50!white,
+ strawbroomstick=brown,
+ strawbroomribbon=red!50!black
+]
+\end{tcblisting}
+
+\begin{tcblisting}{}
+\chicken[
+ broom=brown,
+ broomstick=gray!50!black
+]
+\end{tcblisting}
+
+\begin{tcblisting}{}
\rhino[
umbrella=cyan
]
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-elephants.sty b/graphics/pgf/contrib/tikzlings/tikzlings-elephants.sty
index 750dc756ea..58a86d074e 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-elephants.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-elephants.sty
@@ -1,18 +1,18 @@
-% !TeX root = ./examples/elephant.tex
+ % !TeX root = ./examples/elephant.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% This package is part of the TikZlings package
-% A package to bring cute little animals and other beings into tikz
-% Maintained by samcarter
-%
-% Project repository and bug tracker:
-% https://github.com/samcarter/tikzlings
-%
-% Released under the LaTeX Project Public License v1.3c or later
-% See http://www.latex-project.org/lppl.txt
-%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-elephants}[2021/04/16 version v0.6 Draw teddy elephants in TikZ]
+\ProvidesPackage{tikzlings-elephants}[2021/08/06 version v0.8 Draw teddy elephants in TikZ]
\RequirePackage{tikz}
\RequirePackage{tikzlings-addons}
@@ -63,120 +63,172 @@
}
\def\elephant@draw{%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.86, 0.0) rectangle (0.86, 2.17);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifelephant@threeD
+ \def\elephant@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifelephant@contour
+ \def\elephant@part@draw[##1]{\draw[##1,\elephant@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\elephant@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname elephanthookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \elephant@part@draw[\elephant@body] (0.47,0.86) ellipse[x radius=0.35, y radius=0.25, rotate=-50];
+ \elephant@part@draw[\elephant@body] (-0.47,0.86) ellipse[x radius=0.35, y radius=0.25, rotate=50];
+ %
+ % Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifelephant@back
+ \elephant@part@draw[\elephant@body] (0.425, 0.3) circle[radius=0.28];
+ \elephant@part@draw[\elephant@body] (-0.425, 0.3) circle[radius=0.28];
+ \elephant@part@draw[\elephant@body] (0.57,0.74) circle [radius=0.20];
+ \elephant@part@draw[\elephant@body] (-0.57,0.74) circle [radius=0.20];
+ \fi% back
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \elephant@part@draw[\elephant@body] (0,0.75) ellipse[x radius=0.55, y radius=0.65];
+ \unless\ifelephant@back
+ \elephant@part@draw[\elephant@body!30!white] (0,0.7) ellipse[x radius=0.35, y radius=0.4];
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname elephanthookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifelephant@back
+ \elephant@part@draw[\elephant@body] (0.425, 0.3) circle[radius=0.28];
+ \elephant@part@draw[\elephant@body] (-0.425, 0.3) circle[radius=0.28];
+ \elephant@part@draw[\elephant@body!30!white] (0.425, 0.3) circle[radius=0.17];
+ \elephant@part@draw[\elephant@body!30!white] (-0.425, 0.3) circle[radius=0.17];
+ \elephant@part@draw[\elephant@body] (0.57,0.75) circle [radius=0.20];
+ \elephant@part@draw[\elephant@body!30!white] (0.57,0.74) circle [radius=0.12];
+ \elephant@part@draw[\elephant@body] (-0.57,0.74) circle [radius=0.20];
+ \elephant@part@draw[\elephant@body!30!white] (-0.57,0.74) circle [radius=0.12];
+ \fi% back
+ %
+ % Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \elephant@part@draw[\elephant@body] (0.5, 1.7) ellipse [x radius=0.35,y radius=0.45];
+ \elephant@part@draw[\elephant@body] (-0.5, 1.7) ellipse [x radius=0.35,y radius=0.45];
+ \unless\ifelephant@back
+ \elephant@part@draw[\elephant@body!30!white] (0.5, 1.7) ellipse [x radius=0.25,y radius=0.35];
+ \elephant@part@draw[\elephant@body!30!white] (-0.5, 1.7) ellipse [x radius=0.25,y radius=0.35];
+ \fi% back
+ %
+ % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \elephant@part@draw[\elephant@body] (0, 1.55) circle[radius=0.5];
+ %
+ % Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifelephant@back
+ %
+ % Trunk% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifelephant@threeD
+ \elephant@part@draw[\elephant@body,draw=\elephant@body!70!black,line width=\scalingfactor*0.6pt] (0.1428, 1.4375) .. controls (0.1607, 1.0411) and (0.3327, 1.1276) .. (0.6705, 1.355) -- (0.72, 1.22) .. controls (0.3327, 0.9) and (-0.1607, 0.8) .. (-0.1428, 1.4375) arc [start angle=160, end angle=20, radius=0.155] -- cycle;
+ \fill[\elephant@body!40!black] (0.7, 1.29) circle [radius=0.08];
+ \else% 3D
+ \elephant@part@draw[\elephant@body,draw=\elephant@body!70!black,line width=\scalingfactor*0.6pt] (0.1428, 1.4375) .. controls (0.1607, 1.0411) and (0.3327, 1.1276) .. (0.6705, 1.355) -- (0.72, 1.22) .. controls (0.3327, 0.9) and (-0.1607, 0.8) .. (-0.1428, 1.4375);
+ \elephant@part@draw[\elephant@body!70!black] (0.7, 1.29) circle [radius=0.08];
+ \fi% 3D
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \elephant@part@draw[\elephant@eye] (-0.155, 1.7) circle[radius=0.05];
+ \elephant@part@draw[\elephant@eye] (0.155, 1.7) circle[radius=0.05];
+ %
+ \fi% back
+ %
+ % Tail if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifelephant@back
+ \draw[\elephant@body!30!white,line width=\scalingfactor*0.6pt] (0, 0.5904) .. controls (-0.1619, 0.4147) and (0.203, 0.4157) .. (0.2422, 0.2712);
+ \elephant@part@draw[\elephant@body!30!white] (0.2008, 0.1949) .. controls (0.2452, 0.2121) and (0.2799, 0.242) .. (0.2691, 0.2755) .. controls (0.2611, 0.3005) and (0.2127, 0.3115) .. (0.1927, 0.2945) .. controls (0.1674, 0.2729) and (0.2082, 0.2383) .. (0.2008, 0.1949) -- cycle;
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname elephanthookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
+}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.86, 0.0) rectangle (0.86, 2.17);
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifelephant@threeD
- \def\elephant@part@draw[##1]{\shade[ball color=##1]}
-\else
- \ifelephant@contour
- \def\elephant@part@draw[##1]{\draw[##1,\elephant@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\elephant@part@draw[##1]{\fill[##1]}
- \fi
-\fi
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Body parts (center: x=0.925)
-%
+%%
+%% Documentation
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\clearpage
+%\section[Elephant]{Johannes, the elephant}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname elephanthookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
-%
-% Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\elephant@part@draw[\elephant@body] (0.47,0.86) ellipse[x radius=0.35, y radius=0.25, rotate=-50];
-\elephant@part@draw[\elephant@body] (-0.47,0.86) ellipse[x radius=0.35, y radius=0.25, rotate=50];
+%\emph{The namesake of Johannes loves elephants}
%
-% Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifelephant@back
- \elephant@part@draw[\elephant@body] (0.425, 0.3) circle[radius=0.28];
- \elephant@part@draw[\elephant@body] (-0.425, 0.3) circle[radius=0.28];
- \elephant@part@draw[\elephant@body] (0.57,0.74) circle [radius=0.20];
- \elephant@part@draw[\elephant@body] (-0.57,0.74) circle [radius=0.20];
-\fi
+%\subsection{Package name}
%
-% Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\elephant@part@draw[\elephant@body] (0,0.75) ellipse[x radius=0.55, y radius=0.65];
-\unless\ifelephant@back
- \elephant@part@draw[\elephant@body!30!white] (0,0.7) ellipse[x radius=0.35, y radius=0.4];
-\fi
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-elephants}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname elephanthookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
+%\subsection{Basic Usage}
%
-% Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifelephant@back
- \elephant@part@draw[\elephant@body] (0.425, 0.3) circle[radius=0.28];
- \elephant@part@draw[\elephant@body] (-0.425, 0.3) circle[radius=0.28];
- \elephant@part@draw[\elephant@body!30!white] (0.425, 0.3) circle[radius=0.17];
- \elephant@part@draw[\elephant@body!30!white] (-0.425, 0.3) circle[radius=0.17];
- \elephant@part@draw[\elephant@body] (0.57,0.75) circle [radius=0.20];
- \elephant@part@draw[\elephant@body!30!white] (0.57,0.74) circle [radius=0.12];
- \elephant@part@draw[\elephant@body] (-0.57,0.74) circle [radius=0.20];
- \elephant@part@draw[\elephant@body!30!white] (-0.57,0.74) circle [radius=0.12];
-\fi
+%\begin{tcblisting}{}
+%\elephant
+%\end{tcblisting}
%
-% Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\elephant@part@draw[\elephant@body] (0.5, 1.7) ellipse [x radius=0.35,y radius=0.45];
-\elephant@part@draw[\elephant@body] (-0.5, 1.7) ellipse [x radius=0.35,y radius=0.45];
-\unless\ifelephant@back
- \elephant@part@draw[\elephant@body!30!white] (0.5, 1.7) ellipse [x radius=0.25,y radius=0.35];
- \elephant@part@draw[\elephant@body!30!white] (-0.5, 1.7) ellipse [x radius=0.25,y radius=0.35];
-\fi
+%\subsection{Options}
%
-% Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\elephant@part@draw[\elephant@body] (0, 1.55) circle[radius=0.5];
+%The basic elephant can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\elephant[body=blue]
+%\end{tcblisting}
%
-% Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifelephant@back
+%In addition to the colour of the body, the colour of the eyes can be adjusted:
+%\begin{tcblisting}{}
+%\elephant[eye=red]
+%\end{tcblisting}
%
-% Trunk% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifelephant@threeD
- \elephant@part@draw[\elephant@body,draw=\elephant@body!70!black,line width=\scalingfactor*0.6pt] (0.1428, 1.4375) .. controls (0.1607, 1.0411) and (0.3327, 1.1276) .. (0.6705, 1.355) -- (0.72, 1.22) .. controls (0.3327, 0.9) and (-0.1607, 0.8) .. (-0.1428, 1.4375) arc [start angle=160, end angle=20, radius=0.155] -- cycle;
- \fill[\elephant@body!40!black] (0.7, 1.29) circle [radius=0.08];
-\else
- \elephant@part@draw[\elephant@body,draw=\elephant@body!70!black,line width=\scalingfactor*0.6pt] (0.1428, 1.4375) .. controls (0.1607, 1.0411) and (0.3327, 1.1276) .. (0.6705, 1.355) -- (0.72, 1.22) .. controls (0.3327, 0.9) and (-0.1607, 0.8) .. (-0.1428, 1.4375);
- \elephant@part@draw[\elephant@body!70!black] (0.7, 1.29) circle [radius=0.08];
-\fi
+%To view the elephant from behind:
+%\begin{tcblisting}{}
+%\elephant[back]
+%\end{tcblisting}
%
-% Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\elephant@part@draw[\elephant@eye] (-0.155, 1.7) circle[radius=0.05];
-\elephant@part@draw[\elephant@eye] (0.155, 1.7) circle[radius=0.05];
+%The key \lstinline|3D| will make the elephant 3-dimensional:
+%\begin{tcblisting}{}
+%\elephant[3D]
+%\end{tcblisting}
%
-\fi
-% Tail if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifelephant@back
- \draw[\elephant@body!30!white,line width=\scalingfactor*0.6pt] (0, 0.5904) .. controls (-0.1619, 0.4147) and (0.203, 0.4157) .. (0.2422, 0.2712);
- \elephant@part@draw[\elephant@body!30!white] (0.2008, 0.1949) .. controls (0.2452, 0.2121) and (0.2799, 0.242) .. (0.2691, 0.2755) .. controls (0.2611, 0.3005) and (0.2127, 0.3115) .. (0.1927, 0.2945) .. controls (0.1674, 0.2729) and (0.2082, 0.2383) .. (0.2008, 0.1949) -- cycle;
-\fi
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname elephanthookbody\endcsname
-\csname tikzlinghookbody\endcsname
-%
-}
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\elephant[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-hippos.sty b/graphics/pgf/contrib/tikzlings/tikzlings-hippos.sty
index ec3735b920..eaeeb97c33 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-hippos.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-hippos.sty
@@ -1,18 +1,18 @@
-% !TeX root = ./examples/hippo.tex
+ % !TeX root = ./examples/hippo.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% This package is part of the TikZlings package
-% A package to bring cute little animals and other beings into tikz
-% Maintained by samcarter
-%
-% Project repository and bug tracker:
-% https://github.com/samcarter/tikzlings
-%
-% Released under the LaTeX Project Public License v1.3c or later
-% See http://www.latex-project.org/lppl.txt
-%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-hippos}[2021/04/16 version v0.6 Drawing hippos in TikZ]
+\ProvidesPackage{tikzlings-hippos}[2021/08/06 version v0.8 Drawing hippos in TikZ]
\RequirePackage{tikz}
\RequirePackage{tikzlings-addons}
@@ -53,6 +53,8 @@
pupil = black,
toes/.code = \def\hippo@toes{#1},
toes = \hippo@body!55!white,
+ mouth/.code = \def\hippo@mouth{#1},
+ mouth = \hippo@body!70!black,
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% options
@@ -61,139 +63,198 @@
3D/.code = \hippo@threeDtrue,
back/.code = \hippo@backtrue,
contour/.code = \hippo@contourtrue
- \def\hippo@contour{#1},
+ \def\hippo@contour{#1}
+ \def\hippo@mouth{#1},
contour/.default = black,
outline/.forward to = /hippo/contour,
}
\def\hippo@draw{%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.625,0.1) rectangle (0.625, 2.17);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifhippo@threeD
+ \def\hippo@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifhippo@contour
+ \def\hippo@part@draw[##1]{\draw[##1,\hippo@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\hippo@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname hippohookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \hippo@part@draw[\hippo@body] (0.23,2.03) ellipse[x radius=0.09, y radius=0.13, rotate=-30];
+ \hippo@part@draw[\hippo@body] (-0.23,2.03) ellipse[x radius=0.09, y radius=0.13, rotate=30];
+ %
+ % Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifhippo@back
+ \begin{scope}
+ \clip (-0.5,0.4) rectangle (0.5,0.13);
+ \hippo@part@draw[\hippo@body] (-0.25,0.15) ellipse[x radius=0.16, y radius=0.17];
+ \hippo@part@draw[\hippo@body] (0.25,0.15) ellipse[x radius=0.16, y radius=0.17];
+ \end{scope}
+ \fi% back
+ %
+ % Nose if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifhippo@back
+ \hippo@part@draw[\hippo@body!80!white] (0, 1.55) ellipse[x radius=0.42, y radius=0.2];
+ \fi% back
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \hippo@part@draw[\hippo@body!55!white] ( 0.6, 0.8 ) .. controls ( 0.6 , 0.4) and ( 0.35, 0.19) .. ( 0.0, 0.19) .. controls (-0.35, 0.19) and (-0.6 , 0.4) .. (-0.6, 0.8 ) .. controls (-0.6 , 1.3) and (-0.35, 1.65) .. ( 0.0, 1.65) .. controls ( 0.35, 1.65) and ( 0.6 , 1.3) .. ( 0.6, 0.8) -- cycle;
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname hippohookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifhippo@back
+ \hippo@part@draw[\hippo@body] (0.35,1.0) ellipse[x radius=0.24, y radius=0.13, rotate=90];
+ \hippo@part@draw[\hippo@body] (-0.35,1.0) ellipse[x radius=0.24, y radius=0.13, rotate=-90];
+ \fi% back
+ %
+ % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \hippo@part@draw[\hippo@body!55!white] (0, 1.76) circle[radius=0.36];
+ %
+ % Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifhippo@back
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifhippo@contour
+ \hippo@part@draw[\hippo@eye] (-0.11, 1.83) ellipse[x radius=0.08, y radius=0.12];
+ \hippo@part@draw[\hippo@eye] (0.11, 1.83) ellipse[x radius=0.08, y radius=0.12];
+ \hippo@part@draw[\hippo@pupil] (-0.105, 1.78) ellipse[x radius=0.04, y radius=0.07];
+ \hippo@part@draw[\hippo@pupil] (0.105, 1.78) ellipse[x radius=0.04, y radius=0.07];
+ \else% contour
+ \fill[\hippo@eye] (-0.11, 1.83) ellipse[x radius=0.08, y radius=0.12];
+ \fill[\hippo@eye] (0.11, 1.83) ellipse[x radius=0.08, y radius=0.12];
+ \fill[\hippo@pupil] (-0.105, 1.78) ellipse[x radius=0.04, y radius=0.07];
+ \fill[\hippo@pupil] (0.105, 1.78) ellipse[x radius=0.04, y radius=0.07];
+ \fi% contour
+ %
+ % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \hippo@part@draw[\hippo@body!80!white] (0, 1.55) ellipse[x radius=0.42, y radius=0.2];
+ \hippo@part@draw[\hippo@body!70!black] (-0.07, 1.63) circle[radius=0.035];
+ \hippo@part@draw[\hippo@body!70!black] (0.07, 1.63) circle[radius=0.035];
+ %
+ % Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifhippo@threeD
+ \draw[black,line width=\scalingfactor*0.4pt] (0.125, 1.5) arc [start angle=-50, end angle=-130, radius=0.2] ;
+ \else% 3D
+ \draw[\hippo@mouth,line width=\scalingfactor*0.4pt] (0.125, 1.5) arc [start angle=-50, end angle=-130, radius=0.2];
+ \fi% 3D
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \begin{scope}
+ \clip (-0.5,0.4) rectangle (0.5,0.13);
+ \hippo@part@draw[\hippo@body] (-0.25,0.15) ellipse[x radius=0.16, y radius=0.17];
+ \hippo@part@draw[\hippo@body] (0.25,0.15) ellipse[x radius=0.16, y radius=0.17];
+ \hippo@part@draw[\hippo@toes] (0.25,0.13) ellipse[x radius=0.05, y radius=0.1];
+ \hippo@part@draw[\hippo@toes] (0.13,0.11) ellipse[x radius=0.05, y radius=0.1];
+ \hippo@part@draw[\hippo@toes] (0.37,0.11) ellipse[x radius=0.05, y radius=0.1];
+ \hippo@part@draw[\hippo@toes] (-0.25,0.13) ellipse[x radius=0.05, y radius=0.1];
+ \hippo@part@draw[\hippo@toes] (-0.13,0.11) ellipse[x radius=0.05, y radius=0.1];
+ \hippo@part@draw[\hippo@toes] (-0.37,0.11) ellipse[x radius=0.05, y radius=0.1];
+ \end{scope}
+ %
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname hippohookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
+}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.625,0.1) rectangle (0.625, 2.17);
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifhippo@threeD
- \def\hippo@part@draw[##1]{\shade[ball color=##1]}
-\else
- \ifhippo@contour
- \def\hippo@part@draw[##1]{\draw[##1,\hippo@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\hippo@part@draw[##1]{\fill[##1]}
- \fi
-\fi
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Body parts (center: x=0)
-%
+%%
+%% Documentation
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\clearpage
+%\section[Hippo]{Sieglinde, the hippo}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname hippohookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
-%
-% Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\hippo@part@draw[\hippo@body] (0.23,2.03) ellipse[x radius=0.09, y radius=0.13, rotate=-30];
-\hippo@part@draw[\hippo@body] (-0.23,2.03) ellipse[x radius=0.09, y radius=0.13, rotate=30];
+%\emph{For the winner of the 2019 Groundhog Challenge}
%
-% Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifhippo@back
- \begin{scope}
- \clip (-0.5,0.4) rectangle (0.5,0.13);
- \hippo@part@draw[\hippo@body] (-0.25,0.15) ellipse[x radius=0.16, y radius=0.17];
- \hippo@part@draw[\hippo@body] (0.25,0.15) ellipse[x radius=0.16, y radius=0.17];
- \end{scope}
-\fi
+%\subsection{Package name}
%
-% Nose if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifhippo@back
- \hippo@part@draw[\hippo@body!80!white] (0, 1.55) ellipse[x radius=0.42, y radius=0.2];
-\fi
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-hippos}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
%
-% Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\hippo@part@draw[\hippo@body!55!white] ( 0.6, 0.8 ) .. controls ( 0.6 , 0.4) and ( 0.35, 0.19) .. ( 0.0, 0.19) .. controls (-0.35, 0.19) and (-0.6 , 0.4) .. (-0.6, 0.8 ) .. controls (-0.6 , 1.3) and (-0.35, 1.65) .. ( 0.0, 1.65) .. controls ( 0.35, 1.65) and ( 0.6 , 1.3) .. ( 0.6, 0.8) -- cycle;
+%\subsection{Basic Usage}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname hippohookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
-%
-% Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifhippo@back
- \hippo@part@draw[\hippo@body] (0.35,1.0) ellipse[x radius=0.24, y radius=0.13, rotate=90];
- \hippo@part@draw[\hippo@body] (-0.35,1.0) ellipse[x radius=0.24, y radius=0.13, rotate=-90];
-\fi
+%\begin{tcblisting}{}
+%\hippo
+%\end{tcblisting}
%
-% Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\hippo@part@draw[\hippo@body!55!white] (0, 1.76) circle[radius=0.36];
+%\subsection{Options}
%
-% Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifhippo@back
+%The basic hippo can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\hippo[body=blue]
+%\end{tcblisting}
%
-% Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifhippo@contour
- \hippo@part@draw[\hippo@eye] (-0.11, 1.83) ellipse[x radius=0.08, y radius=0.12];
- \hippo@part@draw[\hippo@eye] (0.11, 1.83) ellipse[x radius=0.08, y radius=0.12];
- \hippo@part@draw[\hippo@pupil] (-0.105, 1.78) ellipse[x radius=0.04, y radius=0.07];
- \hippo@part@draw[\hippo@pupil] (0.105, 1.78) ellipse[x radius=0.04, y radius=0.07];
-\else
- \fill[\hippo@eye] (-0.11, 1.83) ellipse[x radius=0.08, y radius=0.12];
- \fill[\hippo@eye] (0.11, 1.83) ellipse[x radius=0.08, y radius=0.12];
- \fill[\hippo@pupil] (-0.105, 1.78) ellipse[x radius=0.04, y radius=0.07];
- \fill[\hippo@pupil] (0.105, 1.78) ellipse[x radius=0.04, y radius=0.07];
-\fi
+%In addition to the colour of the body, the colour of various body parts can be adjusted:
+%\begin{tcblisting}{}
+%\hippo[eye=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\hippo[pupil=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\hippo[mouth=red]
+%\end{tcblisting}
%
-% Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\hippo@part@draw[\hippo@body!80!white] (0, 1.55) ellipse[x radius=0.42, y radius=0.2];
-\hippo@part@draw[\hippo@body!70!black] (-0.07, 1.63) circle[radius=0.035];
-\hippo@part@draw[\hippo@body!70!black] (0.07, 1.63) circle[radius=0.035];
+%The hippo can also do its nails:
+%\begin{tcblisting}{}
+%\hippo[toes=red]
+%\end{tcblisting}
%
-% Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifhippo@threeD
- \draw[black,line width=\scalingfactor*0.4pt] (0.125, 1.5) arc [start angle=-50, end angle=-130, radius=0.2] ;
-\else
- \ifhippo@contour
- \draw[\hippo@contour,line width=\scalingfactor*0.4pt] (0.125, 1.5) arc [start angle=-50, end angle=-130, radius=0.2];
- \else
- \draw[\hippo@body!70!black,line width=\scalingfactor*0.4pt] (0.125, 1.5) arc [start angle=-50, end angle=-130, radius=0.2];
- \fi
-\fi
+%To view the hippo from behind:
+%\begin{tcblisting}{}
+%\hippo[back]
+%\end{tcblisting}
%
-% Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{scope}
- \clip (-0.5,0.4) rectangle (0.5,0.13);
- \hippo@part@draw[\hippo@body] (-0.25,0.15) ellipse[x radius=0.16, y radius=0.17];
- \hippo@part@draw[\hippo@body] (0.25,0.15) ellipse[x radius=0.16, y radius=0.17];
- \hippo@part@draw[\hippo@toes] (0.25,0.13) ellipse[x radius=0.05, y radius=0.1];
- \hippo@part@draw[\hippo@toes] (0.13,0.11) ellipse[x radius=0.05, y radius=0.1];
- \hippo@part@draw[\hippo@toes] (0.37,0.11) ellipse[x radius=0.05, y radius=0.1];
- \hippo@part@draw[\hippo@toes] (-0.25,0.13) ellipse[x radius=0.05, y radius=0.1];
- \hippo@part@draw[\hippo@toes] (-0.13,0.11) ellipse[x radius=0.05, y radius=0.1];
- \hippo@part@draw[\hippo@toes] (-0.37,0.11) ellipse[x radius=0.05, y radius=0.1];
-\end{scope}
+%The key \lstinline|3D| will make the hippo 3-dimensional:
+%\begin{tcblisting}{}
+%\hippo[3D]
+%\end{tcblisting}
%
-\fi
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname hippohookbody\endcsname
-\csname tikzlinghookbody\endcsname
-%
-}
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\hippo[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-koalas.sty b/graphics/pgf/contrib/tikzlings/tikzlings-koalas.sty
index 873a910b8e..43281e9d2d 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-koalas.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-koalas.sty
@@ -1,18 +1,18 @@
-% !TeX root = ./examples/koala.tex
+ % !TeX root = ./examples/koala.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% This package is part of the TikZlings package
-% A package to bring cute little animals and other beings into tikz
-% Maintained by samcarter
-%
-% Project repository and bug tracker:
-% https://github.com/samcarter/tikzlings
-%
-% Released under the LaTeX Project Public License v1.3c or later
-% See http://www.latex-project.org/lppl.txt
-%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-koalas}[2021/04/16 version v0.6 Drawing koalas in TikZ]
+\ProvidesPackage{tikzlings-koalas}[2021/08/06 version v0.8 Drawing koalas in TikZ]
\RequirePackage{tikz}
\RequirePackage{tikzlings-addons}
@@ -56,158 +56,216 @@
body = gray!75!white,
eye/.code = \def\koala@eye{#1},
eye = black,
+ mouth/.code = \def\koala@mouth{#1},
+ mouth = \koala@body!40!black,
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% options
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- blush/.code = \koala@blushtrue,
+ blush/.code = \koala@blushtrue
+ \def\koala@blushcolor{#1},
+ blush/.default = red,
sleeping/.code = \koala@sleepingtrue,
- 3D/.code = \koala@threeDtrue,
+ 3D/.code = \koala@threeDtrue
+ \def\koala@mouth{black},
back/.code = \koala@backtrue,
contour/.code = \koala@contourtrue
- \def\koala@contour{#1},
+ \def\koala@contour{#1}
+ \def\koala@blushcolor{#1}
+ \def\koala@mouth{#1},
contour/.default = black,
outline/.forward to = /koala/contour,
}
\def\koala@draw{%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.88,0.1) rectangle (0.88, 2.35);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifkoala@threeD
+ \def\koala@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifkoala@contour
+ \def\koala@part@draw[##1]{\draw[##1,\koala@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\koala@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname koalahookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \koala@part@draw[\koala@body!50!black] (0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
+ \koala@part@draw[\koala@body!50!black] (-0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
+ %
+ % Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \koala@part@draw[\koala@body] (0.405, 2.1) ellipse[x radius=0.3, y radius=0.23];
+ \koala@part@draw[\koala@body] (-0.405, 2.1) ellipse[x radius=0.3, y radius=0.23];
+ \unless\ifkoala@back
+ \koala@part@draw[\koala@body!40!white] (-0.405, 2.1) ellipse[x radius=0.15, y radius=0.12];
+ \koala@part@draw[\koala@body!40!white] (0.405, 2.1) ellipse[x radius=0.15, y radius=0.12];
+ \fi% back
+ %
+ % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \koala@part@draw[\koala@body] (-0.625,1) ellipse[x radius=0.42, y radius=0.13, rotate=70];
+ \koala@part@draw[\koala@body!50!black] (-0.745,0.65) ellipse[x radius=0.12, y radius=0.08, rotate=-20];
+ \koala@part@draw[\koala@body] (0.625,1) ellipse[x radius=0.42, y radius=0.13, rotate=-70];
+ \koala@part@draw[\koala@body!50!black] (0.745,0.65) ellipse[x radius=0.12, y radius=0.08, rotate=20];
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \koala@part@draw[\koala@body] (0.595, 0.92) .. controls (0.595, 0.26) and (0.355, 0.18) .. (0, 0.18) .. controls (-0.355, 0.18) and (-0.595, 0.26) .. (-0.595, 0.92) .. controls (-0.605, 1.58) and (-0.335, 2.11) .. (0, 2.11) .. controls (0.335, 2.11) and (0.605, 1.58) .. (0.595, 0.92) -- cycle;
+ %
+ % Belly %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifkoala@back
+ \koala@part@draw[\koala@body!40!white] ( 0.425, 0.71) .. controls ( 0.425, 0.41) and ( 0.255, 0.27) .. ( 0 , 0.27) .. controls (-0.255, 0.27) and (-0.425, 0.41) .. (-0.425, 0.71) .. controls (-0.425, 1.01) and (-0.255, 1.20) .. ( 0 , 1.20) .. controls ( 0.225, 1.20) and ( 0.425, 1.01) .. ( 0.425, 0.71) -- cycle;
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname koalahookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \koala@part@draw[\koala@body] (0,1.67) ellipse[x radius=0.55, y radius=0.45];
+ %
+ % Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifkoala@back
+ %
+ % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \koala@part@draw[\koala@body!40!black] (-0.1501, 1.5609) .. controls (-0.1784, 1.4833) and (-0.0827, 1.4108) .. ( 0.0000, 1.4108) .. controls ( 0.0827, 1.4108) and ( 0.1784, 1.4833) .. ( 0.1501, 1.5609) .. controls ( 0.1290, 1.6191) and ( 0.1187, 1.6573) .. ( 0.0750, 1.7010) .. controls ( 0.0336, 1.7424) and (-0.0336, 1.7424) .. (-0.0750, 1.7010) .. controls (-0.1187, 1.6573) and (-0.1290, 1.6191) .. (-0.1501, 1.5609) -- cycle;
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifkoala@sleeping
+ \fill[\koala@body!50!black] (0.2534, 1.675) rectangle ++(0.005, 0.03);
+ \fill[\koala@body!50!black,rotate around={20:(0.2925, 1.6925)}] (0.29, 1.68) rectangle ++(0.005, 0.03);
+ \fill[\koala@body!50!black,rotate around={-20:(0.2143, 1.6925)}] (0.2168, 1.68) rectangle ++(0.005, 0.03);
+ \fill[\koala@body!50!black,rotate around={40:(0.3255, 1.7025)}] (0.323, 1.69) rectangle ++(0.005, 0.03);
+ \fill[\koala@body!50!black,rotate around={-40:(0.1813, 1.7025)}] (0.1838, 1.69) rectangle ++(0.005, 0.03);
+ \fill[\koala@body!50!black] (-0.2534, 1.675) rectangle ++(-0.005, 0.03);
+ \fill[\koala@body!50!black,rotate around={-20:(-0.2925, 1.6925)}] (-0.29, 1.68) rectangle ++(-0.005, 0.03);
+ \fill[\koala@body!50!black,rotate around={20:(-0.2143, 1.6925)}] (-0.2168, 1.68) rectangle ++(-0.005, 0.03);
+ \fill[\koala@body!50!black,rotate around={-40:(-0.3255, 1.7025)}] (-0.323, 1.69) rectangle ++(-0.005, 0.03);
+ \fill[\koala@body!50!black,rotate around={40:(-0.1813, 1.7025)}] (-0.1838, 1.69) rectangle ++(-0.005, 0.03);
+ \fill[\koala@body!50!black, even odd rule] (0.3331, 1.741) .. controls (0.3331, 1.685) and (0.1737, 1.685) .. (0.1737, 1.741) .. controls (0.1737, 1.848) and (0.3331, 1.848) .. (0.3331, 1.741) -- cycle (0.328, 1.741) .. controls (0.323, 1.705) and (0.184, 1.705) .. (0.179, 1.741) .. controls (0.184, 1.843) and (0.323, 1.843) .. (0.328, 1.741) -- cycle;
+ \fill[\koala@body!50!black, even odd rule] (-0.3331, 1.741) .. controls (-0.3331, 1.685) and (-0.1737, 1.685) .. (-0.1737, 1.741) .. controls (-0.1737, 1.848) and (-0.3331, 1.848) .. (-0.3331, 1.741) -- cycle (-0.328, 1.741) .. controls (-0.323, 1.705) and (-0.184, 1.705) .. (-0.179, 1.741) .. controls (-0.184, 1.843) and (-0.323, 1.843) .. (-0.328, 1.741) -- cycle;
+ \else% sleeping
+ \koala@part@draw[\koala@eye] (-0.255, 1.74) circle[radius=0.08];
+ \koala@part@draw[\koala@eye] (0.255, 1.74) circle[radius=0.08];
+ \fill[white] (-0.27, 1.76) circle[radius=0.015];
+ \fill[white] (0.24, 1.76) circle[radius=0.015];
+ \fi% sleeping
+ %
+ % Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \draw[\koala@mouth,line width=\scalingfactor*0.4pt] (0.115, 1.39) arc [start angle=-40, end angle=-140, radius=0.16];
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % optional
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Blushed %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifkoala@blush
+ \fill[\koala@blushcolor,path fading=koala@blush] (-0.3, 1.52) circle[radius=0.1];
+ \fill[\koala@blushcolor,path fading=koala@blush] (0.3, 1.52) circle[radius=0.1];
+ \fi% blush
+ %
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname koalahookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
+}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.88,0.1) rectangle (0.88, 2.35);
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifkoala@threeD
- \def\koala@part@draw[##1]{\shade[ball color=##1]}
-\else
- \ifkoala@contour
- \def\koala@part@draw[##1]{\draw[##1,\koala@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\koala@part@draw[##1]{\fill[##1]}
- \fi
-\fi
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Body parts (center: x=0)
-%
+%%
+%% Documentation
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\clearpage
+%\section[Koala]{Will, the koala}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname koalahookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
+%\emph{The koala was generously contributed by @marmot and is named in honour of a \LaTeX{} developer from Down Under}
%
-% Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\koala@part@draw[\koala@body!50!black] (0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
-\koala@part@draw[\koala@body!50!black] (-0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
+%\subsection{Package name}
%
-% Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\koala@part@draw[\koala@body] (0.405, 2.1) ellipse[x radius=0.3, y radius=0.23];
-\koala@part@draw[\koala@body] (-0.405, 2.1) ellipse[x radius=0.3, y radius=0.23];
-\unless\ifkoala@back
- \koala@part@draw[\koala@body!40!white] (-0.405, 2.1) ellipse[x radius=0.15, y radius=0.12];
- \koala@part@draw[\koala@body!40!white] (0.405, 2.1) ellipse[x radius=0.15, y radius=0.12];
-\fi
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-koalas}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
%
-% Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\koala@part@draw[\koala@body] (-0.625,1) ellipse[x radius=0.42, y radius=0.13, rotate=70];
-\koala@part@draw[\koala@body!50!black] (-0.745,0.65) ellipse[x radius=0.12, y radius=0.08, rotate=-20];
-\koala@part@draw[\koala@body] (0.625,1) ellipse[x radius=0.42, y radius=0.13, rotate=-70];
-\koala@part@draw[\koala@body!50!black] (0.745,0.65) ellipse[x radius=0.12, y radius=0.08, rotate=20];
+%\subsection{Basic Usage}
%
-% Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\koala@part@draw[\koala@body] (0.595, 0.92) .. controls (0.595, 0.26) and (0.355, 0.18) .. (0, 0.18) .. controls (-0.355, 0.18) and (-0.595, 0.26) .. (-0.595, 0.92) .. controls (-0.605, 1.58) and (-0.335, 2.11) .. (0, 2.11) .. controls (0.335, 2.11) and (0.605, 1.58) .. (0.595, 0.92) -- cycle;
+%\begin{tcblisting}{}
+%\koala
+%\end{tcblisting}
%
-% Belly %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifkoala@back
- \koala@part@draw[\koala@body!40!white] ( 0.425, 0.71) .. controls ( 0.425, 0.41) and ( 0.255, 0.27) .. ( 0 , 0.27) .. controls (-0.255, 0.27) and (-0.425, 0.41) .. (-0.425, 0.71) .. controls (-0.425, 1.01) and (-0.255, 1.20) .. ( 0 , 1.20) .. controls ( 0.225, 1.20) and ( 0.425, 1.01) .. ( 0.425, 0.71) -- cycle;
-\fi
+%\subsection{Options}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname koalahookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
+%The basic koala can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\koala[body=blue]
+%\end{tcblisting}
%
-% Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\koala@part@draw[\koala@body] (0,1.67) ellipse[x radius=0.55, y radius=0.45];
+%In addition to the colour of the body, the colour of various body parts can be adjusted:
+%\begin{tcblisting}{}
+%\koala[eye=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\koala[mouth=red]
+%\end{tcblisting}
%
-% Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifkoala@back
+%It can also blush
+%\begin{tcblisting}{}
+%\koala[blush=red]
+%\end{tcblisting}
%
-% Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\koala@part@draw[\koala@body!40!black] (-0.1501, 1.5609) .. controls (-0.1784, 1.4833) and (-0.0827, 1.4108) .. ( 0.0000, 1.4108) .. controls ( 0.0827, 1.4108) and ( 0.1784, 1.4833) .. ( 0.1501, 1.5609) .. controls ( 0.1290, 1.6191) and ( 0.1187, 1.6573) .. ( 0.0750, 1.7010) .. controls ( 0.0336, 1.7424) and (-0.0336, 1.7424) .. (-0.0750, 1.7010) .. controls (-0.1187, 1.6573) and (-0.1290, 1.6191) .. (-0.1501, 1.5609) -- cycle;
+%and if tired, it is going to take a nap:
+%\begin{tcblisting}{}
+%\koala[sleeping]
+%\end{tcblisting}
%
-% Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifkoala@sleeping
- \fill[\koala@body!50!black] (0.2534, 1.675) rectangle ++(0.005, 0.03);
- \fill[\koala@body!50!black,rotate around={20:(0.2925, 1.6925)}] (0.29, 1.68) rectangle ++(0.005, 0.03);
- \fill[\koala@body!50!black,rotate around={-20:(0.2143, 1.6925)}] (0.2168, 1.68) rectangle ++(0.005, 0.03);
- \fill[\koala@body!50!black,rotate around={40:(0.3255, 1.7025)}] (0.323, 1.69) rectangle ++(0.005, 0.03);
- \fill[\koala@body!50!black,rotate around={-40:(0.1813, 1.7025)}] (0.1838, 1.69) rectangle ++(0.005, 0.03);
- \fill[\koala@body!50!black] (-0.2534, 1.675) rectangle ++(-0.005, 0.03);
- \fill[\koala@body!50!black,rotate around={-20:(-0.2925, 1.6925)}] (-0.29, 1.68) rectangle ++(-0.005, 0.03);
- \fill[\koala@body!50!black,rotate around={20:(-0.2143, 1.6925)}] (-0.2168, 1.68) rectangle ++(-0.005, 0.03);
- \fill[\koala@body!50!black,rotate around={-40:(-0.3255, 1.7025)}] (-0.323, 1.69) rectangle ++(-0.005, 0.03);
- \fill[\koala@body!50!black,rotate around={40:(-0.1813, 1.7025)}] (-0.1838, 1.69) rectangle ++(-0.005, 0.03);
- \fill[\koala@body!50!black, even odd rule] (0.3331, 1.741) .. controls (0.3331, 1.685) and (0.1737, 1.685) .. (0.1737, 1.741) .. controls (0.1737, 1.848) and (0.3331, 1.848) .. (0.3331, 1.741) -- cycle (0.328, 1.741) .. controls (0.323, 1.705) and (0.184, 1.705) .. (0.179, 1.741) .. controls (0.184, 1.843) and (0.323, 1.843) .. (0.328, 1.741) -- cycle;
- \fill[\koala@body!50!black, even odd rule] (-0.3331, 1.741) .. controls (-0.3331, 1.685) and (-0.1737, 1.685) .. (-0.1737, 1.741) .. controls (-0.1737, 1.848) and (-0.3331, 1.848) .. (-0.3331, 1.741) -- cycle (-0.328, 1.741) .. controls (-0.323, 1.705) and (-0.184, 1.705) .. (-0.179, 1.741) .. controls (-0.184, 1.843) and (-0.323, 1.843) .. (-0.328, 1.741) -- cycle;
-\else
- \koala@part@draw[\koala@eye] (-0.255, 1.74) circle[radius=0.08];
- \koala@part@draw[\koala@eye] (0.255, 1.74) circle[radius=0.08];
- \fill[white] (-0.27, 1.76) circle[radius=0.015];
- \fill[white] (0.24, 1.76) circle[radius=0.015];
-\fi
+%To view the koala from behind:
+%\begin{tcblisting}{}
+%\koala[back]
+%\end{tcblisting}
%
-% Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifkoala@threeD
- \draw[black,line width=\scalingfactor*0.4pt] (0.115, 1.39) arc [start angle=-40, end angle=-140, radius=0.16];
-\else
- \ifkoala@contour
- \draw[\koala@contour,line width=\scalingfactor*0.4pt] (0.115, 1.39) arc [start angle=-40, end angle=-140, radius=0.16];
- \else
- \draw[\koala@body!40!black,line width=\scalingfactor*0.4pt] (0.115, 1.39) arc [start angle=-40, end angle=-140, radius=0.16];
- \fi
-\fi
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%The key \lstinline|3D| will make the koala 3-dimensional:
+%\begin{tcblisting}{}
+%\koala[3D]
+%\end{tcblisting}
%
-% optional
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Blushed %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifkoala@blush
- \ifkoala@contour
- \fill[\koala@contour,path fading=koala@blush] (-0.3, 1.52) circle[radius=0.1];
- \fill[\koala@contour,path fading=koala@blush] (0.3, 1.52) circle[radius=0.1];
- \else
- \fill[red,path fading=koala@blush] (-0.3, 1.52) circle[radius=0.1];
- \fill[red,path fading=koala@blush] (0.3, 1.52) circle[radius=0.1];
- \fi
-\fi
-%
-\fi
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname koalahookbody\endcsname
-\csname tikzlinghookbody\endcsname
-%
-}
-
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\koala[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-list.sty b/graphics/pgf/contrib/tikzlings/tikzlings-list.sty
index c2b02ebc29..6a9acbb57d 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-list.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-list.sty
@@ -1,4 +1,4 @@
-\ProvidesPackage{tikzlings-list}[2021/04/16 version v0.6 Helper package for the tikzlings]
+\ProvidesPackage{tikzlings-list}[2021/08/06 version v0.8 Helper package for the tikzlings]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
@@ -7,8 +7,10 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\tikzling@list{
anteater/anteaters,
+ bat/bats,
bear/bears,
bee/bees,
+ bug/bugs,
cat/cats,
chicken/chickens,
coati/coatis,
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-marmots.sty b/graphics/pgf/contrib/tikzlings/tikzlings-marmots.sty
index 44d0dd0987..7e1968e22e 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-marmots.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-marmots.sty
@@ -1,18 +1,18 @@
-% !TeX root = ./examples/marmot.tex
+ % !TeX root = ./examples/marmot.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% This package is part of the TikZlings package
-% A package to bring cute little animals and other beings into tikz
-% Maintained by samcarter
-%
-% Project repository and bug tracker:
-% https://github.com/samcarter/tikzlings
-%
-% Released under the LaTeX Project Public License v1.3c or later
-% See http://www.latex-project.org/lppl.txt
-%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-marmots}[2021/04/16 version v0.6 Drawing marmots in TikZ]
+\ProvidesPackage{tikzlings-marmots}[2021/08/06 version v0.8 Drawing marmots in TikZ]
\RequirePackage{tikz}
\RequirePackage{tikzlings-addons}
@@ -78,12 +78,16 @@
body = brown,
eye/.code = \def\marmot@eye{#1},
eye = \marmot@body!50!black,
+ mouth/.code = \def\marmot@mouth{#1},
+ mouth = \marmot@body!50!black,
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% options
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- blush/.code = \marmot@blushtrue,
+ blush/.code = \marmot@blushtrue
+ \def\marmot@blushcolor{#1},
+ blush/.default = red,
whiskers/.code = \marmot@whiskerstrue
\def\marmot@whiskers{#1},
whiskers/.default = gray,
@@ -100,175 +104,253 @@
right step/.forward to = /marmot/rightstep,
back/.code = \marmot@backtrue,
contour/.code = \marmot@contourtrue
- \def\marmot@contour{#1},
+ \def\marmot@contour{#1}
+ \def\marmot@blushcolor{#1}
+ \def\marmot@mouth{#1},
contour/.default = black,
outline/.forward to = /marmot/contour,
}
\def\marmot@draw{%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.625,0.1) rectangle (0.905, 2.17);
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifmarmot@threeD
- \def\marmot@part@draw[##1]{\shade[ball color=##1]}
-\else
- \ifmarmot@contour
- \def\marmot@part@draw[##1]{\draw[##1,\marmot@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\marmot@part@draw[##1]{\fill[##1]}
- \fi
-\fi
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% shadow
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname marmothookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
-%
-\ifmarmot@askphil
- \pgfmathparse{int(random(1,120))}
- \let\marmot@random=\pgfmathresult
- \ifnum\marmot@random>17
- \marmot@shadowtrue
- \fi
-\fi
-%
-\ifmarmot@shadow
- \fill[opacity=0,blur shadow,] (0.3,0.5) ellipse[x radius=0.28, y radius=0.8, rotate=-80];
-\fi
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Body parts (center: x=0)
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifmarmot@leftstep
- \marmot@part@draw[\marmot@body!50!black] (-0.255,0.25) ellipse[x radius=0.23, y radius=0.09];
-\else
- \marmot@part@draw[\marmot@body!50!black] (-0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
-\fi
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.625,0.1) rectangle (0.905, 2.17);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifmarmot@threeD
+ \def\marmot@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifmarmot@contour
+ \def\marmot@part@draw[##1]{\draw[##1,\marmot@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\marmot@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % shadow
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname marmothookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ \ifmarmot@askphil
+ \pgfmathparse{int(random(1,120))}
+ \let\marmot@random=\pgfmathresult
+ \ifnum\marmot@random>17
+ \marmot@shadowtrue
+ \fi
+ \fi% askphil
+ %
+ \ifmarmot@shadow
+ \fill[opacity=0,blur shadow,] (0.3,0.5) ellipse[x radius=0.28, y radius=0.8, rotate=-80];
+ \fi% shadow
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifmarmot@leftstep
+ \marmot@part@draw[\marmot@body!50!black] (-0.255,0.25) ellipse[x radius=0.23, y radius=0.09];
+ \else% step
+ \marmot@part@draw[\marmot@body!50!black] (-0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
+ \fi% step
+ %
+ \ifmarmot@rightstep
+ \marmot@part@draw[\marmot@body!50!black] (0.255,0.25) ellipse[x radius=0.23, y radius=0.09];
+ \else% step
+ \marmot@part@draw[\marmot@body!50!black] (0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
+ \fi% step
+ %
+ % Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \marmot@part@draw[\marmot@body!50!black] (0.255,2.03) ellipse[x radius=0.09, y radius=0.13];
+ \marmot@part@draw[\marmot@body!50!black] (-0.255,2.03) ellipse[x radius=0.09, y radius=0.13];
+ %
+ % Tail %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifmarmot@back
+ \marmot@part@draw[\marmot@body!50!black] (0.8856, 0.6504) .. controls (0.8656, 0.3803) and (0.0267, 0.2202) .. (0.0167, 0.4203) .. controls (-0.0033, 0.5404) and (0.1104, 0.4397) .. (0.3951, 0.4803) .. controls (0.6557, 0.5175) and (0.8856, 0.7005) .. (0.8856, 0.6504);
+ \fi% back
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \marmot@part@draw[\marmot@body] (0.595, 0.92) .. controls (0.595, 0.26) and (0.355, 0.18) .. (0, 0.18) .. controls (-0.355, 0.18) and (-0.595, 0.26) .. (-0.595, 0.92) .. controls (-0.605, 1.58) and (-0.335, 2.11) .. (0, 2.11) .. controls (0.335, 2.11) and (0.605, 1.58) .. (0.595, 0.92) -- cycle;
+ %
+ % Tail if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifmarmot@back
+ \marmot@part@draw[\marmot@body!50!black] (0.8856, 0.6504) .. controls (0.8656, 0.3803) and (0.0267, 0.2202) .. (0.0167, 0.4203) .. controls (-0.0033, 0.5404) and (0.1104, 0.4397) .. (0.3951, 0.4803) .. controls (0.6557, 0.5175) and (0.8856, 0.7005) .. (0.8856, 0.6504);
+ \fi% back
+ %
+ % Belly %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifmarmot@back
+ \marmot@part@draw[\marmot@body!50!white] (0.425, 0.71) .. controls (0.425, 0.41) and (0.245, 0.37) .. (0, 0.37) .. controls (-0.245, 0.37) and (-0.425, 0.41) .. (-0.425, 0.71) .. controls (-0.425, 1.01) and (-0.225, 1.26) .. (0, 1.26) .. controls (0.225, 1.26) and (0.425, 1.01) .. (0.425, 0.71) -- cycle;
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname marmothookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifmarmot@back
+ %
+ % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \marmot@part@draw[\marmot@body!50!black] (0.385,0.93) ellipse[x radius=0.24, y radius=0.13, rotate=70];
+ \marmot@part@draw[\marmot@body!50!black] (-0.385,0.93) ellipse[x radius=0.24, y radius=0.13, rotate=-70];
+ %
+ % Muzzle %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \marmot@part@draw[\marmot@body!50!white] (0,1.47) ellipse[x radius=0.23, y radius=0.13];
+ %
+ % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \marmot@part@draw[\marmot@body!50!black] (0,1.6) circle[radius=0.08];
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \marmot@part@draw[\marmot@eye] (-0.155,1.77) circle[radius=0.05];
+ \marmot@part@draw[\marmot@eye] (0.155,1.77) circle[radius=0.05];
+ %
+ % Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \fill[\marmot@mouth] (0.145,1.51) arc [start angle=-20, end angle=-160, radius=0.16] -- (-0.14,1.51) -- (-0.14,1.51) arc [start angle=-160, end angle=-20, radius=0.144] -- cycle ;
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % optional
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Blushed %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifmarmot@blush
+ \fill[\marmot@blushcolor,path fading=marmot@blush] (-0.295,1.6) circle[radius=0.1];
+ \fill[\marmot@blushcolor,path fading=marmot@blush] (0.295,1.6) circle[radius=0.1];
+ \fi% blush
+ %
+ % Wiskers %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifmarmot@whiskers
+ \fill[\marmot@whiskers] (0.0788, 1.6146) .. controls (0.1658, 1.6299) and (0.2086, 1.5639) .. (0.2956, 1.5486) -- (0.2956, 1.5586) .. controls (0.2097, 1.5737) and (0.1648, 1.6297) .. (0.0788, 1.6146) -- cycle;
+ \fill[\marmot@whiskers] (-0.0788, 1.6146) .. controls (-0.1658, 1.6299) and (-0.2087, 1.5639) .. (-0.2956, 1.5486) -- (-0.2956, 1.5586) .. controls (-0.2097, 1.5737) and (-0.1648, 1.6297) .. (-0.0788, 1.6146) -- cycle;
+ \fill[\marmot@whiskers] (0.0752, 1.6281) .. controls (0.1583, 1.6583) and (0.2171, 1.6309) .. (0.3002, 1.6007) -- (0.3002, 1.6107) .. controls (0.2174, 1.6408) and (0.158, 1.6582) .. (0.0752, 1.6281) -- cycle;
+ \fill[\marmot@whiskers] (-0.0752, 1.6281) .. controls (-0.1583, 1.6583) and (-0.2171, 1.6309) .. (-0.3002, 1.6007) -- (-0.3002, 1.6107) .. controls (-0.2174, 1.6408) and (-0.158, 1.6582) .. (-0.0752, 1.6281) -- cycle;
+ \fill[\marmot@whiskers] (0.0671, 1.6443) .. controls (0.1414, 1.6925) and (0.2182, 1.7164) .. (0.2925, 1.6682) -- (0.2925, 1.6782) .. controls (0.2179, 1.7266) and (0.1417, 1.6927) .. (0.0671, 1.6443) -- cycle;
+ \fill[\marmot@whiskers] (-0.0671, 1.6443) .. controls (-0.1414, 1.6925) and (-0.2182, 1.7164) .. (-0.2925, 1.6682) -- (-0.2925, 1.6782) .. controls (-0.2179, 1.7266) and (-0.1417, 1.6927) .. (-0.0671, 1.6443) -- cycle;
+ \fi% whiskers
+ %
+ % Teeth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifmarmot@teeth
+ \fill[\marmot@body!50!black] (0.048,1.413) rectangle (-0.048,1.373);
+ \fill[\marmot@teeth] (-0.045,1.407) rectangle (-0.004,1.376);
+ \fill[\marmot@teeth] (0.045,1.407) rectangle (0.004,1.376);
+ \fi% teeth
+ %
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname marmothookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
+}
-\ifmarmot@rightstep
- \marmot@part@draw[\marmot@body!50!black] (0.255,0.25) ellipse[x radius=0.23, y radius=0.09];
-\else
- \marmot@part@draw[\marmot@body!50!black] (0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
-\fi
-%
-% Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\marmot@part@draw[\marmot@body!50!black] (0.255,2.03) ellipse[x radius=0.09, y radius=0.13];
-\marmot@part@draw[\marmot@body!50!black] (-0.255,2.03) ellipse[x radius=0.09, y radius=0.13];
-%
-% Tail %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifmarmot@back
- \marmot@part@draw[\marmot@body!50!black] (0.8856, 0.6504) .. controls (0.8656, 0.3803) and (0.0267, 0.2202) .. (0.0167, 0.4203) .. controls (-0.0033, 0.5404) and (0.1104, 0.4397) .. (0.3951, 0.4803) .. controls (0.6557, 0.5175) and (0.8856, 0.7005) .. (0.8856, 0.6504);
-\fi
-%
-% Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\marmot@part@draw[\marmot@body] (0.595, 0.92) .. controls (0.595, 0.26) and (0.355, 0.18) .. (0, 0.18) .. controls (-0.355, 0.18) and (-0.595, 0.26) .. (-0.595, 0.92) .. controls (-0.605, 1.58) and (-0.335, 2.11) .. (0, 2.11) .. controls (0.335, 2.11) and (0.605, 1.58) .. (0.595, 0.92) -- cycle;
-%
-% Tail if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifmarmot@back
- \marmot@part@draw[\marmot@body!50!black] (0.8856, 0.6504) .. controls (0.8656, 0.3803) and (0.0267, 0.2202) .. (0.0167, 0.4203) .. controls (-0.0033, 0.5404) and (0.1104, 0.4397) .. (0.3951, 0.4803) .. controls (0.6557, 0.5175) and (0.8856, 0.7005) .. (0.8856, 0.6504);
-\fi
-%
-% Belly %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifmarmot@back
- \marmot@part@draw[\marmot@body!50!white] (0.425, 0.71) .. controls (0.425, 0.41) and (0.245, 0.37) .. (0, 0.37) .. controls (-0.245, 0.37) and (-0.425, 0.41) .. (-0.425, 0.71) .. controls (-0.425, 1.01) and (-0.225, 1.26) .. (0, 1.26) .. controls (0.225, 1.26) and (0.425, 1.01) .. (0.425, 0.71) -- cycle;
-\fi
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname marmothookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
-%
-% Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifmarmot@back
-%
-% Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\marmot@part@draw[\marmot@body!50!black] (0.385,0.93) ellipse[x radius=0.24, y radius=0.13, rotate=70];
-\marmot@part@draw[\marmot@body!50!black] (-0.385,0.93) ellipse[x radius=0.24, y radius=0.13, rotate=-70];
-%
-% Muzzle %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\marmot@part@draw[\marmot@body!50!white] (0,1.47) ellipse[x radius=0.23, y radius=0.13];
-%
-% Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\marmot@part@draw[\marmot@body!50!black] (0,1.6) circle[radius=0.08];
-%
-% Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\marmot@part@draw[\marmot@eye] (-0.155,1.77) circle[radius=0.05];
-\marmot@part@draw[\marmot@eye] (0.155,1.77) circle[radius=0.05];
-%
-% Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifmarmot@contour
- \fill[\marmot@contour] (0.145,1.51) arc [start angle=-20, end angle=-160, radius=0.16] -- (-0.14,1.51) -- (-0.14,1.51) arc [start angle=-160, end angle=-20, radius=0.144] -- cycle ;
-\else
- \fill[\marmot@body!50!black] (0.145,1.51) arc [start angle=-20, end angle=-160, radius=0.16] -- (-0.14,1.51) -- (-0.14,1.51) arc [start angle=-160, end angle=-20, radius=0.144] -- cycle ;
-\fi
-%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% optional
-%
+%%
+%% Documentation
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Blushed %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifmarmot@blush
- \ifmarmot@contour
- \fill[\marmot@contour,path fading=marmot@blush] (-0.295,1.6) circle[radius=0.1];
- \fill[\marmot@contour,path fading=marmot@blush] (0.295,1.6) circle[radius=0.1];
- \else
- \fill[red,path fading=marmot@blush] (-0.295,1.6) circle[radius=0.1];
- \fill[red,path fading=marmot@blush] (0.295,1.6) circle[radius=0.1];
- \fi
-\fi
-%
-% Wiskers %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifmarmot@whiskers
- \fill[\marmot@whiskers] (0.0788, 1.6146) .. controls (0.1658, 1.6299) and (0.2086, 1.5639) .. (0.2956, 1.5486) -- (0.2956, 1.5586) .. controls (0.2097, 1.5737) and (0.1648, 1.6297) .. (0.0788, 1.6146) -- cycle;
- \fill[\marmot@whiskers] (-0.0788, 1.6146) .. controls (-0.1658, 1.6299) and (-0.2087, 1.5639) .. (-0.2956, 1.5486) -- (-0.2956, 1.5586) .. controls (-0.2097, 1.5737) and (-0.1648, 1.6297) .. (-0.0788, 1.6146) -- cycle;
- \fill[\marmot@whiskers] (0.0752, 1.6281) .. controls (0.1583, 1.6583) and (0.2171, 1.6309) .. (0.3002, 1.6007) -- (0.3002, 1.6107) .. controls (0.2174, 1.6408) and (0.158, 1.6582) .. (0.0752, 1.6281) -- cycle;
- \fill[\marmot@whiskers] (-0.0752, 1.6281) .. controls (-0.1583, 1.6583) and (-0.2171, 1.6309) .. (-0.3002, 1.6007) -- (-0.3002, 1.6107) .. controls (-0.2174, 1.6408) and (-0.158, 1.6582) .. (-0.0752, 1.6281) -- cycle;
- \fill[\marmot@whiskers] (0.0671, 1.6443) .. controls (0.1414, 1.6925) and (0.2182, 1.7164) .. (0.2925, 1.6682) -- (0.2925, 1.6782) .. controls (0.2179, 1.7266) and (0.1417, 1.6927) .. (0.0671, 1.6443) -- cycle;
- \fill[\marmot@whiskers] (-0.0671, 1.6443) .. controls (-0.1414, 1.6925) and (-0.2182, 1.7164) .. (-0.2925, 1.6682) -- (-0.2925, 1.6782) .. controls (-0.2179, 1.7266) and (-0.1417, 1.6927) .. (-0.0671, 1.6443) -- cycle;
-\fi
-%
-% Teeth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifmarmot@teeth
- \fill[\marmot@body!50!black] (0.048,1.413) rectangle (-0.048,1.373);
- \fill[\marmot@teeth] (-0.045,1.407) rectangle (-0.004,1.376);
- \fill[\marmot@teeth] (0.045,1.407) rectangle (0.004,1.376);
-\fi
-%
-\fi
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname marmothookbody\endcsname
-\csname tikzlinghookbody\endcsname
-%
-}
-
+%\clearpage
+%\section[Marmot]{Phil, the marmot}
+%
+%\emph{Phil got his name from Punxsutawney Phil, the famous weather forecasting groundhog}
+%
+%\subsection{Package name}
+%
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-marmots}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
+%
+%\subsection{Basic Usage}
+%
+%\begin{tcblisting}{}
+%\marmot
+%\end{tcblisting}
+%
+%\subsection{Options}
+%
+%The basic marmot can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\marmot[body=blue]
+%\end{tcblisting}
+%
+%In addition to the colour of the body, the colour of various body parts can be adjusted:
+%\begin{tcblisting}{}
+%\marmot[eye=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\marmot[mouth=red]
+%\end{tcblisting}
+%
+%The marmot can also blush
+%\begin{tcblisting}{}
+%\marmot[blush=red]
+%\end{tcblisting}
+%
+%and whiskers can be added:
+%\begin{tcblisting}{}
+%\marmot[whiskers=gray]
+%\end{tcblisting}
+%
+%Some marmots even show their chisel teeth:
+%\begin{tcblisting}{}
+%\marmot[teeth=white]
+%\end{tcblisting}
+%
+%or can cast a shadow:
+%\begin{tcblisting}{}
+%\marmot[shadow]
+%\end{tcblisting}
+%
+%This ability is important if you want to ask Punxsutawney Phil\footnote{\url{https://en.wikipedia.org/wiki/Punxsutawney_Phil}} on Groundhog Day how the weather is going to be. With a probability derived from the statistics of 120 Groundhog Days\footnote{\hbadness=99999\url{https://www.livescience.com/32974-punxsutawney-phil-weather-prediction-accuracy.html}} the option \lstinline|askphil| might or might not result in a shadow.
+%\begin{tcblisting}{}
+%\marmot[askphil]
+%\end{tcblisting}
+%
+%If a good weather prognosis is derived, the happy marmot can dance by lifting up its left and right foot:
+%\begin{tcblisting}{}
+%\marmot[leftstep]
+%\marmot[rightstep,xshift=2cm]
+%\end{tcblisting}
+%
+%To view the marmot from behind:
+%\begin{tcblisting}{}
+%\marmot[back]
+%\end{tcblisting}
+%
+%The key \lstinline|3D| will make the marmot 3-dimensional:
+%\begin{tcblisting}{}
+%\marmot[3D]
+%\end{tcblisting}
+%
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\marmot[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-mice.sty b/graphics/pgf/contrib/tikzlings/tikzlings-mice.sty
index 0b36ea82e3..5b3be0abe1 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-mice.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-mice.sty
@@ -1,18 +1,18 @@
-% !TeX root = ./examples/mouse.tex
+ % !TeX root = ./examples/mouse.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% This package is part of the TikZlings package
-% A package to bring cute little animals and other beings into tikz
-% Maintained by samcarter
-%
-% Project repository and bug tracker:
-% https://github.com/samcarter/tikzlings
-%
-% Released under the LaTeX Project Public License v1.3c or later
-% See http://www.latex-project.org/lppl.txt
-%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-mice}[2021/04/16 version v0.6 Drawing mice in TikZ]
+\ProvidesPackage{tikzlings-mice}[2021/08/06 version v0.8 Drawing mice in TikZ]
\RequirePackage{tikz}
\RequirePackage{tikzlings-addons}
@@ -53,6 +53,8 @@
body = gray!90!white,
eye/.code = \def\mouse@eye{#1},
eye = \mouse@body!50!black,
+ whiskers/.code = \def\mouse@whiskers{#1},
+ whiskers = \mouse@body!50!black,
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% options
@@ -69,140 +71,197 @@
right step/.forward to = /mouse/rightstep,
back/.code = \mouse@backtrue,
contour/.code = \mouse@contourtrue
- \def\mouse@contour{#1},
+ \def\mouse@contour{#1}
+ \def\mouse@whiskers{#1},
contour/.default = black,
outline/.forward to = /mouse/contour,
}
\def\mouse@draw{%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.625,0.1) rectangle (0.905, 2.17);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifmouse@threeD
+ \def\mouse@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifmouse@contour
+ \def\mouse@part@draw[##1]{\draw[##1,\mouse@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\mouse@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname mousehookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifmouse@leftstep
+ \mouse@part@draw[\mouse@body!65!white] (-0.255,0.25) ellipse[x radius=0.23, y radius=0.09];
+ \else% step
+ \mouse@part@draw[\mouse@body!65!white] (-0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
+ \fi% step
+ %
+ \ifmouse@rightstep
+ \mouse@part@draw[\mouse@body!65!white] (0.255,0.25) ellipse[x radius=0.23, y radius=0.09];
+ \else% step
+ \mouse@part@draw[\mouse@body!65!white] (0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
+ \fi% step
+ %
+ % Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \mouse@part@draw[\mouse@body!65!white] (0.36, 2.17) circle[radius=0.28];
+ \mouse@part@draw[\mouse@body!65!white] (-0.36, 2.17) circle[radius=0.28];
+ \unless\ifmouse@back
+ \mouse@part@draw[\mouse@body] (0.36, 2.17) circle[radius=0.15];
+ \mouse@part@draw[\mouse@body] (-0.36, 2.17) circle[radius=0.15];
+ \fi% back
+ %
+ % Tail %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifmouse@back
+ \mouse@part@draw[\mouse@body!65!white] (1.0825, 1.6326) .. controls (1.3527, 1.7527) and (1.6609, 1.3164) .. (1.5928, 1.3124) .. controls (0.9164, 2.186) and (0.8338, 0.6325) .. (0.3708, 0.4451) .. controls (0.2529, 0.3974) and (-0.0064, 0.3874) .. (-0.0064, 0.3874) .. controls (-0.0776, 0.3765) and (-0.0862, 0.5026) .. (-0.0092, 0.5034) .. controls (-0.0092, 0.5034) and (0.0363, 0.4591) .. (0.3516, 0.54360) .. controls (0.6710, 0.6988) and (0.7613, 1.4825) .. (1.0825, 1.6326) -- cycle;
+ \fi% back
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \mouse@part@draw[\mouse@body] (0.595, 0.92) .. controls (0.595, 0.26) and (0.355, 0.18) .. (0, 0.18) .. controls (-0.355, 0.18) and (-0.595, 0.26) .. (-0.595, 0.92) .. controls (-0.605, 1.58) and (-0.335, 2.11) .. (0, 2.11) .. controls (0.335, 2.11) and (0.605, 1.58) .. (0.595, 0.92) -- cycle;
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname mousehookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Tail if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifmouse@back
+ \mouse@part@draw[\mouse@body!65!white] (1.0825, 1.6326) .. controls (1.3527, 1.7527) and (1.6609, 1.3164) .. (1.5928, 1.3124) .. controls (0.9164, 2.186) and (0.8338, 0.6325) .. (0.3708, 0.4451) .. controls (0.2529, 0.3974) and (-0.0064, 0.3874) .. (-0.0064, 0.3874) .. controls (-0.0776, 0.3765) and (-0.0862, 0.5026) .. (-0.0092, 0.5034) .. controls (-0.0092, 0.5034) and (0.0363, 0.4591) .. (0.3516, 0.54360) .. controls (0.6710, 0.6988) and (0.7613, 1.4825) .. (1.0825, 1.6326) -- cycle;
+ \fi% back
+ %
+ % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifmouse@back
+ \mouse@part@draw[\mouse@body!65!white]
+ (0.5, 1.8) .. controls (0.5, 1.58) and (0.2, 1.35) ..
+ (0, 1.35) .. controls (-0.2, 1.35) and (-0.5, 1.58) ..
+ (-0.5, 1.8) .. controls (-0.34, 2.3) and (0.34, 2.3) ..
+ (0.5, 1.8) -- cycle;
+ \else% back
+ \mouse@part@draw[\mouse@body!65!white] (0.5, 1.8) .. controls (0.5, 1.58) and (0.2, 1.25) .. (0, 1.16) .. controls (-0.2, 1.25) and (-0.5, 1.58) .. (-0.5, 1.8) .. controls (-0.34, 2.3) and (0.34, 2.3) .. (0.5, 1.8) -- cycle;
+ \fi% back
+ %
+ % Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifmouse@back
+ %
+ % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \mouse@part@draw[\mouse@body!65!white,rotate around={-\mouse@rotatearms:(0.47,1.15)}] (0.47,0.93) ellipse[x radius=0.13, y radius=0.24];
+ \mouse@part@draw[\mouse@body!65!white,rotate around={\mouse@rotatearms:(-0.47,1.15)}] (-0.47,0.93) ellipse[x radius=0.13, y radius=0.24];
+ %
+ % Wiskers %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \fill[\mouse@whiskers] (0.0788, 1.2046) .. controls (0.1658, 1.2199) and (0.2086, 1.1539) .. (0.2956, 1.1386) -- (0.2956, 1.1486) .. controls (0.2097, 1.1637) and (0.1648, 1.2197) .. (0.0788, 1.2046) -- cycle;
+ \fill[\mouse@whiskers] (-0.0788, 1.2046) .. controls (-0.1658, 1.2199) and (-0.2087, 1.1539) .. (-0.2956, 1.1386) -- (-0.2956, 1.1486) .. controls (-0.2097, 1.1637) and (-0.1648, 1.2197) .. (-0.0788, 1.2046) -- cycle;
+ \fill[\mouse@whiskers] (0.0752, 1.2181) .. controls (0.1583, 1.2483) and (0.2171, 1.2209) .. (0.3002, 1.1907) -- (0.3002, 1.2007) .. controls (0.2174, 1.2308) and (0.158, 1.2482) .. (0.0752, 1.2181) -- cycle;
+ \fill[\mouse@whiskers] (-0.0752, 1.2181) .. controls (-0.1583, 1.2483) and (-0.2171, 1.2209) .. (-0.3002, 1.1907) -- (-0.3002, 1.2007) .. controls (-0.2174, 1.2308) and (-0.158, 1.2482) .. (-0.0752, 1.2181) -- cycle;
+ \fill[\mouse@whiskers] (0.0671, 1.2343) .. controls (0.1414, 1.2825) and (0.2182, 1.3064) .. (0.2925, 1.2582) -- (0.2925, 1.2682) .. controls (0.2179, 1.3166) and (0.1417, 1.2827) .. (0.0671, 1.2343) -- cycle;
+ \fill[\mouse@whiskers] (-0.0671, 1.2343) .. controls (-0.1414, 1.2825) and (-0.2182, 1.3064) .. (-0.2925, 1.2582) -- (-0.2925, 1.2682) .. controls (-0.2179, 1.3166) and (-0.1417, 1.2827) .. (-0.0671, 1.2343) -- cycle;
+ %
+ % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \mouse@part@draw[\mouse@body!50!black] (0, 1.248) circle[radius=0.09];
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \mouse@part@draw[\mouse@eye] (0.23, 1.68) circle[radius=0.05];
+ \mouse@part@draw[\mouse@eye] (-0.23, 1.68) circle[radius=0.05];
+ %
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname mousehookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
+}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.625,0.1) rectangle (0.905, 2.17);
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifmouse@threeD
- \def\mouse@part@draw[##1]{\shade[ball color=##1]}
-\else
- \ifmouse@contour
- \def\mouse@part@draw[##1]{\draw[##1,\mouse@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\mouse@part@draw[##1]{\fill[##1]}
- \fi
-\fi
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Body parts (center: x=0)
-%
+%%
+%% Documentation
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\clearpage
+%\section[Mouse]{Tokz, the mouse}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname mousehookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
-%
-% Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifmouse@leftstep
- \mouse@part@draw[\mouse@body!65!white] (-0.255,0.25) ellipse[x radius=0.23, y radius=0.09];
-\else
- \mouse@part@draw[\mouse@body!65!white] (-0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
-\fi
+%\emph{The idea for the mouse came from an Italian \LaTeX{} user -- Tokz is a combination of the Italian word for mouse and \TikZ}
%
-\ifmouse@rightstep
- \mouse@part@draw[\mouse@body!65!white] (0.255,0.25) ellipse[x radius=0.23, y radius=0.09];
-\else
- \mouse@part@draw[\mouse@body!65!white] (0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
-\fi
+%\subsection{Package name}
%
-% Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\mouse@part@draw[\mouse@body!65!white] (0.36, 2.17) circle[radius=0.28];
-\mouse@part@draw[\mouse@body!65!white] (-0.36, 2.17) circle[radius=0.28];
-\unless\ifmouse@back
- \mouse@part@draw[\mouse@body] (0.36, 2.17) circle[radius=0.15];
- \mouse@part@draw[\mouse@body] (-0.36, 2.17) circle[radius=0.15];
-\fi
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-mice}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
%
-% Tail %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifmouse@back
- \mouse@part@draw[\mouse@body!65!white] (1.0825, 1.6326) .. controls (1.3527, 1.7527) and (1.6609, 1.3164) .. (1.5928, 1.3124) .. controls (0.9164, 2.186) and (0.8338, 0.6325) .. (0.3708, 0.4451) .. controls (0.2529, 0.3974) and (-0.0064, 0.3874) .. (-0.0064, 0.3874) .. controls (-0.0776, 0.3765) and (-0.0862, 0.5026) .. (-0.0092, 0.5034) .. controls (-0.0092, 0.5034) and (0.0363, 0.4591) .. (0.3516, 0.54360) .. controls (0.6710, 0.6988) and (0.7613, 1.4825) .. (1.0825, 1.6326) -- cycle;
-\fi
+%\subsection{Basic Usage}
%
-% Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\mouse@part@draw[\mouse@body] (0.595, 0.92) .. controls (0.595, 0.26) and (0.355, 0.18) .. (0, 0.18) .. controls (-0.355, 0.18) and (-0.595, 0.26) .. (-0.595, 0.92) .. controls (-0.605, 1.58) and (-0.335, 2.11) .. (0, 2.11) .. controls (0.335, 2.11) and (0.605, 1.58) .. (0.595, 0.92) -- cycle;
+%\begin{tcblisting}{}
+%\mouse
+%\end{tcblisting}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname mousehookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
-%
-% Tail if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifmouse@back
- \mouse@part@draw[\mouse@body!65!white] (1.0825, 1.6326) .. controls (1.3527, 1.7527) and (1.6609, 1.3164) .. (1.5928, 1.3124) .. controls (0.9164, 2.186) and (0.8338, 0.6325) .. (0.3708, 0.4451) .. controls (0.2529, 0.3974) and (-0.0064, 0.3874) .. (-0.0064, 0.3874) .. controls (-0.0776, 0.3765) and (-0.0862, 0.5026) .. (-0.0092, 0.5034) .. controls (-0.0092, 0.5034) and (0.0363, 0.4591) .. (0.3516, 0.54360) .. controls (0.6710, 0.6988) and (0.7613, 1.4825) .. (1.0825, 1.6326) -- cycle;
-\fi
+%\subsection{Options}
%
-% Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifmouse@back
- \mouse@part@draw[\mouse@body!65!white]
- (0.5, 1.8) .. controls (0.5, 1.58) and (0.2, 1.35) ..
- (0, 1.35) .. controls (-0.2, 1.35) and (-0.5, 1.58) ..
- (-0.5, 1.8) .. controls (-0.34, 2.3) and (0.34, 2.3) ..
- (0.5, 1.8) -- cycle;
-\else
- \mouse@part@draw[\mouse@body!65!white] (0.5, 1.8) .. controls (0.5, 1.58) and (0.2, 1.25) .. (0, 1.16) .. controls (-0.2, 1.25) and (-0.5, 1.58) .. (-0.5, 1.8) .. controls (-0.34, 2.3) and (0.34, 2.3) .. (0.5, 1.8) -- cycle;
-\fi
+%The basic mouse can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\mouse[body=blue]
+%\end{tcblisting}
%
-% Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifmouse@back
+%In addition to the colour of the body, the colour of various body parts can be adjusted:
+%\begin{tcblisting}{}
+%\mouse[eye=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\mouse[whiskers=red]
+%\end{tcblisting}
%
-% Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\mouse@part@draw[\mouse@body!65!white,rotate around={-\mouse@rotatearms:(0.47,1.15)}] (0.47,0.93) ellipse[x radius=0.13, y radius=0.24];
-\mouse@part@draw[\mouse@body!65!white,rotate around={\mouse@rotatearms:(-0.47,1.15)}] (-0.47,0.93) ellipse[x radius=0.13, y radius=0.24];
+%The rotation angle of its arms can be adjusted:
+%\begin{tcblisting}{}
+%\mouse[rotatearms=40]
+%\end{tcblisting}
%
-% Wiskers %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifmouse@contour
- \fill[\mouse@contour] (0.0788, 1.2046) .. controls (0.1658, 1.2199) and (0.2086, 1.1539) .. (0.2956, 1.1386) -- (0.2956, 1.1486) .. controls (0.2097, 1.1637) and (0.1648, 1.2197) .. (0.0788, 1.2046) -- cycle;
- \fill[\mouse@contour] (-0.0788, 1.2046) .. controls (-0.1658, 1.2199) and (-0.2087, 1.1539) .. (-0.2956, 1.1386) -- (-0.2956, 1.1486) .. controls (-0.2097, 1.1637) and (-0.1648, 1.2197) .. (-0.0788, 1.2046) -- cycle;
- \fill[\mouse@contour] (0.0752, 1.2181) .. controls (0.1583, 1.2483) and (0.2171, 1.2209) .. (0.3002, 1.1907) -- (0.3002, 1.2007) .. controls (0.2174, 1.2308) and (0.158, 1.2482) .. (0.0752, 1.2181) -- cycle;
- \fill[\mouse@contour] (-0.0752, 1.2181) .. controls (-0.1583, 1.2483) and (-0.2171, 1.2209) .. (-0.3002, 1.1907) -- (-0.3002, 1.2007) .. controls (-0.2174, 1.2308) and (-0.158, 1.2482) .. (-0.0752, 1.2181) -- cycle;
- \fill[\mouse@contour] (0.0671, 1.2343) .. controls (0.1414, 1.2825) and (0.2182, 1.3064) .. (0.2925, 1.2582) -- (0.2925, 1.2682) .. controls (0.2179, 1.3166) and (0.1417, 1.2827) .. (0.0671, 1.2343) -- cycle;
- \fill[\mouse@contour] (-0.0671, 1.2343) .. controls (-0.1414, 1.2825) and (-0.2182, 1.3064) .. (-0.2925, 1.2582) -- (-0.2925, 1.2682) .. controls (-0.2179, 1.3166) and (-0.1417, 1.2827) .. (-0.0671, 1.2343) -- cycle;
-\else
- \fill[\mouse@body!50!black] (0.0788, 1.2046) .. controls (0.1658, 1.2199) and (0.2086, 1.1539) .. (0.2956, 1.1386) -- (0.2956, 1.1486) .. controls (0.2097, 1.1637) and (0.1648, 1.2197) .. (0.0788, 1.2046) -- cycle;
- \fill[\mouse@body!50!black] (-0.0788, 1.2046) .. controls (-0.1658, 1.2199) and (-0.2087, 1.1539) .. (-0.2956, 1.1386) -- (-0.2956, 1.1486) .. controls (-0.2097, 1.1637) and (-0.1648, 1.2197) .. (-0.0788, 1.2046) -- cycle;
- \fill[\mouse@body!50!black] (0.0752, 1.2181) .. controls (0.1583, 1.2483) and (0.2171, 1.2209) .. (0.3002, 1.1907) -- (0.3002, 1.2007) .. controls (0.2174, 1.2308) and (0.158, 1.2482) .. (0.0752, 1.2181) -- cycle;
- \fill[\mouse@body!50!black] (-0.0752, 1.2181) .. controls (-0.1583, 1.2483) and (-0.2171, 1.2209) .. (-0.3002, 1.1907) -- (-0.3002, 1.2007) .. controls (-0.2174, 1.2308) and (-0.158, 1.2482) .. (-0.0752, 1.2181) -- cycle;
- \fill[\mouse@body!50!black] (0.0671, 1.2343) .. controls (0.1414, 1.2825) and (0.2182, 1.3064) .. (0.2925, 1.2582) -- (0.2925, 1.2682) .. controls (0.2179, 1.3166) and (0.1417, 1.2827) .. (0.0671, 1.2343) -- cycle;
- \fill[\mouse@body!50!black] (-0.0671, 1.2343) .. controls (-0.1414, 1.2825) and (-0.2182, 1.3064) .. (-0.2925, 1.2582) -- (-0.2925, 1.2682) .. controls (-0.2179, 1.3166) and (-0.1417, 1.2827) .. (-0.0671, 1.2343) -- cycle;
-\fi
+%And the mouse can lift its legs:
+%\begin{tcblisting}{}
+%\mouse[leftstep]
+%\mouse[rightstep,xshift=2cm]
+%\end{tcblisting}
%
-% Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\mouse@part@draw[\mouse@body!50!black] (0, 1.248) circle[radius=0.09];
+%To view the mouse from behind:
+%\begin{tcblisting}{}
+%\mouse[back]
+%\end{tcblisting}
%
-% Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\mouse@part@draw[\mouse@eye] (0.23, 1.68) circle[radius=0.05];
-\mouse@part@draw[\mouse@eye] (-0.23, 1.68) circle[radius=0.05];
+%The key \lstinline|3D| will make the mouse 3-dimensional:
+%\begin{tcblisting}{}
+%\mouse[3D]
+%\end{tcblisting}
%
-\fi
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname mousehookbody\endcsname
-\csname tikzlinghookbody\endcsname
-%
-}
-
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\mouse[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-moles.sty b/graphics/pgf/contrib/tikzlings/tikzlings-moles.sty
index cf04bc19f2..9846cc5824 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-moles.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-moles.sty
@@ -1,18 +1,18 @@
-% !TeX root = ./examples/mole.tex
+ % !TeX root = ./examples/mole.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% This package is part of the TikZlings package
-% A package to bring cute little animals and other beings into tikz
-% Maintained by samcarter
-%
-% Project repository and bug tracker:
-% https://github.com/samcarter/tikzlings
-%
-% Released under the LaTeX Project Public License v1.3c or later
-% See http://www.latex-project.org/lppl.txt
-%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-moles}[2021/04/16 version v0.6 Drawing moles in TikZ]
+\ProvidesPackage{tikzlings-moles}[2021/08/06 version v0.8 Drawing moles in TikZ]
\RequirePackage{tikz}
\RequirePackage{tikzlings-addons}
@@ -56,6 +56,8 @@
hands = red!20!white!50!brown,
muzzle/.code = \def\moles@muzzle{#1},
muzzle = red!20!white!50!brown,
+ mouth/.code = \def\moles@mouth{#1},
+ mouth = \moles@body!60!black,
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% options
@@ -65,128 +67,194 @@
back/.code = \moles@backtrue,
contour/.code = \moles@contourtrue
\def\moles@contour{#1}
+ \def\moles@mouth{#1}
\def\moles@eye{#1},
contour/.default = black,
outline/.forward to = /moles/contour,
}
\def\moles@draw{%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.625,0.1) rectangle (0.905, 2.17);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifmoles@threeD
+ \def\moles@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifmoles@contour
+ \def\moles@part@draw[##1]{\draw[##1,\moles@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\moles@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname moleshookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \moles@part@draw[\moles@feet] (-0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
+ \moles@part@draw[\moles@feet] (0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
+ %
+ % Tail %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifmoles@back
+ \moles@part@draw[\moles@body] (0.8856, 0.6504) .. controls (0.8656, 0.3803) and (0.0267, 0.2202) .. (0.0167, 0.4203) .. controls (-0.0033, 0.5404) and (0.1104, 0.4397) .. (0.3951, 0.4803) .. controls (0.6557, 0.5175) and (0.8856, 0.7005) .. (0.8856, 0.6504);
+ \fi% back
+ %
+ % Hair %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \moles@part@draw[\moles@body] (-0.09, 2.06) .. controls (-0.09, 2.06) and (-0.13, 2.25) .. (-0.07, 2.27) .. controls (-0.09, 2.13) and (0.04, 2.08) .. (0.04, 2.08) .. controls (0.04, 2.08) and (0.02, 2.20) .. (0.06, 2.21) .. controls (0.06, 2.11) and (0.13, 2.08) .. (0.13, 2.08) -- cycle;
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \moles@part@draw[\moles@body] (0.595, 0.92) .. controls (0.595, 0.26) and (0.355, 0.18) .. (0, 0.18) .. controls (-0.355, 0.18) and (-0.595, 0.26) .. (-0.595, 0.92) .. controls (-0.605, 1.58) and (-0.335, 2.11) .. (0, 2.11) .. controls (0.335, 2.11) and (0.605, 1.58) .. (0.595, 0.92) -- cycle;
+ %
+ % Tail if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifmoles@back
+ \moles@part@draw[\moles@body] (0.8856, 0.6504) .. controls (0.8656, 0.3803) and (0.0267, 0.2202) .. (0.0167, 0.4203) .. controls (-0.0033, 0.5404) and (0.1104, 0.4397) .. (0.3951, 0.4803) .. controls (0.6557, 0.5175) and (0.8856, 0.7005) .. (0.8856, 0.6504) -- cycle;
+ \fi% back
+ %
+ % Belly %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifmoles@back
+ \moles@part@draw[\moles@body!50!white] (0.425, 0.71) .. controls (0.425, 0.41) and (0.245, 0.37) .. (0, 0.37) .. controls (-0.245, 0.37) and (-0.425, 0.41) .. (-0.425, 0.71) .. controls (-0.425, 1.01) and (-0.225, 1.26) .. (0, 1.26) .. controls (0.225, 1.26) and (0.425, 1.01) .. (0.425, 0.71) -- cycle;
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname moleshookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifmoles@back
+ %
+ % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \moles@part@draw[\moles@body] (0.37,0.86) ellipse[x radius=0.27, y radius=0.13, rotate=70];
+ \moles@part@draw[\moles@body] (-0.37,0.86) ellipse[x radius=0.27, y radius=0.13, rotate=-70];
+ %
+ % Hands %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifmoles@contour
+ \moles@part@draw[] (-0.37,0.6) -- (-0.32,0.53) -- (-0.3,0.6) -- (-0.23,0.55) -- (-0.23,0.64) -- (-0.16,0.59) -- (-0.18,0.67) -- cycle;
+ \moles@part@draw[] (0.37,0.6) -- (0.32,0.53) -- (0.3,0.6) -- (0.23,0.55) -- (0.23,0.64) -- (0.16,0.59) -- (0.18,0.67) -- cycle;
+ \else% contour
+ \fill[white] (-0.37,0.6) -- (-0.32,0.53) -- (-0.3,0.6) -- (-0.23,0.55) -- (-0.23,0.64) -- (-0.16,0.59) -- (-0.18,0.67) -- cycle;
+ \fill[white] (0.37,0.6) -- (0.32,0.53) -- (0.3,0.6) -- (0.23,0.55) -- (0.23,0.64) -- (0.16,0.59) -- (0.18,0.67) -- cycle;
+ \fi% contour
+ \moles@part@draw[\moles@hands] (0.285,0.65) ellipse[x radius=0.08, y radius=0.13, rotate=70];
+ \moles@part@draw[\moles@hands] (-0.285,0.65) ellipse[x radius=0.08, y radius=0.13, rotate=-70];
+ %
+ % Muzzle %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \moles@part@draw[\moles@muzzle] ( 0.22, 1.46) .. controls ( 0.22, 1.50) and ( 0.22, 1.53) .. ( 0.17, 1.56) .. controls ( 0.11, 1.58) and ( 0.05, 1.66) .. ( 0.00, 1.66) .. controls (-0.05, 1.66) and (-0.11, 1.58) .. (-0.17, 1.56) .. controls (-0.22, 1.53) and (-0.22, 1.50) .. (-0.22, 1.46) .. controls (-0.22, 1.39) and (-0.14, 1.33) .. ( 0.00, 1.33) .. controls ( 0.14, 1.33) and ( 0.22, 1.39) .. ( 0.22, 1.46) -- cycle;
+ %
+ % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \moles@part@draw[\moles@body!60!black] (0,1.67) circle[radius=0.055];
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifmoles@threeD
+ \fill[\moles@eye] (-0.165,1.79) ellipse[x radius=0.055, y radius=0.015, rotate=-15];
+ \fill[\moles@eye!50!black] (0.165,1.79) ellipse[x radius=0.055, y radius=0.015, rotate=15];
+ \else% 3D
+ \fill[\moles@eye] (-0.165,1.79) ellipse[x radius=0.055, y radius=0.015, rotate=-15];
+ \fill[\moles@eye] (0.165,1.79) ellipse[x radius=0.055, y radius=0.015, rotate=15];
+ \fi% 3D
+ %
+ % Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \draw[\moles@mouth, line width=\scalingfactor*0.4pt] (0.145,1.51) arc [start angle=-20, end angle=-160, radius=0.16] ;
+ %
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname moleshookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
+}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.625,0.1) rectangle (0.905, 2.17);
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifmoles@threeD
- \def\moles@part@draw[##1]{\shade[ball color=##1]}
-\else
- \ifmoles@contour
- \def\moles@part@draw[##1]{\draw[##1,\moles@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\moles@part@draw[##1]{\fill[##1]}
- \fi
-\fi
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Body parts (center: x=0)
-%
+%%
+%% Documentation
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\clearpage
+%\section[Mole]{Wilhelm, the mole}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname moleshookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
+%\emph{The mole was added in celebration of the international mole day and is named after the chemist Wilhelm Ostwald}
%
-% Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\moles@part@draw[\moles@feet] (-0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
-\moles@part@draw[\moles@feet] (0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
+%\subsection{Package name}
%
-% Tail %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifmoles@back
- \moles@part@draw[\moles@body] (0.8856, 0.6504) .. controls (0.8656, 0.3803) and (0.0267, 0.2202) .. (0.0167, 0.4203) .. controls (-0.0033, 0.5404) and (0.1104, 0.4397) .. (0.3951, 0.4803) .. controls (0.6557, 0.5175) and (0.8856, 0.7005) .. (0.8856, 0.6504);
-\fi
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-moles}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
%
-% Hair %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\moles@part@draw[\moles@body] (-0.09, 2.06) .. controls (-0.09, 2.06) and (-0.13, 2.25) .. (-0.07, 2.27) .. controls (-0.09, 2.13) and (0.04, 2.08) .. (0.04, 2.08) .. controls (0.04, 2.08) and (0.02, 2.20) .. (0.06, 2.21) .. controls (0.06, 2.11) and (0.13, 2.08) .. (0.13, 2.08) -- cycle;
+%\subsection{Basic Usage}
%
-% Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\moles@part@draw[\moles@body] (0.595, 0.92) .. controls (0.595, 0.26) and (0.355, 0.18) .. (0, 0.18) .. controls (-0.355, 0.18) and (-0.595, 0.26) .. (-0.595, 0.92) .. controls (-0.605, 1.58) and (-0.335, 2.11) .. (0, 2.11) .. controls (0.335, 2.11) and (0.605, 1.58) .. (0.595, 0.92) -- cycle;
+%\textcolor{red!60!black}{\textbf{Attention:} In contrast to the other \tikzlings the macro name is the plural form to avoid conflicts with \lstinline|siunitx| and similar packages.}
+%\begin{tcblisting}{}
+%\moles
+%\end{tcblisting}
%
-% Tail if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifmoles@back
- \moles@part@draw[\moles@body] (0.8856, 0.6504) .. controls (0.8656, 0.3803) and (0.0267, 0.2202) .. (0.0167, 0.4203) .. controls (-0.0033, 0.5404) and (0.1104, 0.4397) .. (0.3951, 0.4803) .. controls (0.6557, 0.5175) and (0.8856, 0.7005) .. (0.8856, 0.6504) -- cycle;
-\fi
+%\subsection{Options}
%
-% Belly %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifmoles@back
- \moles@part@draw[\moles@body!50!white] (0.425, 0.71) .. controls (0.425, 0.41) and (0.245, 0.37) .. (0, 0.37) .. controls (-0.245, 0.37) and (-0.425, 0.41) .. (-0.425, 0.71) .. controls (-0.425, 1.01) and (-0.225, 1.26) .. (0, 1.26) .. controls (0.225, 1.26) and (0.425, 1.01) .. (0.425, 0.71) -- cycle;
-\fi
+%The basic mole can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\moles[body=blue]
+%\end{tcblisting}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname moleshookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
+%In addition to the colour of the body, the colour of various body parts can be adjusted:
+%\begin{tcblisting}{}
+%\moles[eye=red]
+%\end{tcblisting}
%
-% Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifmoles@back
+%\begin{tcblisting}{}
+%\moles[muzzle=red]
+%\end{tcblisting}
%
-% Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\moles@part@draw[\moles@body] (0.37,0.86) ellipse[x radius=0.27, y radius=0.13, rotate=70];
-\moles@part@draw[\moles@body] (-0.37,0.86) ellipse[x radius=0.27, y radius=0.13, rotate=-70];
+%\begin{tcblisting}{}
+%\moles[hands=red]
+%\end{tcblisting}
%
-% Hands %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifmoles@contour
- \moles@part@draw[] (-0.37,0.6) -- (-0.32,0.53) -- (-0.3,0.6) -- (-0.23,0.55) -- (-0.23,0.64) -- (-0.16,0.59) -- (-0.18,0.67) -- cycle;
- \moles@part@draw[] (0.37,0.6) -- (0.32,0.53) -- (0.3,0.6) -- (0.23,0.55) -- (0.23,0.64) -- (0.16,0.59) -- (0.18,0.67) -- cycle;
-\else
- \fill[white] (-0.37,0.6) -- (-0.32,0.53) -- (-0.3,0.6) -- (-0.23,0.55) -- (-0.23,0.64) -- (-0.16,0.59) -- (-0.18,0.67) -- cycle;
- \fill[white] (0.37,0.6) -- (0.32,0.53) -- (0.3,0.6) -- (0.23,0.55) -- (0.23,0.64) -- (0.16,0.59) -- (0.18,0.67) -- cycle;
-\fi
-\moles@part@draw[\moles@hands] (0.285,0.65) ellipse[x radius=0.08, y radius=0.13, rotate=70];
-\moles@part@draw[\moles@hands] (-0.285,0.65) ellipse[x radius=0.08, y radius=0.13, rotate=-70];
+%\begin{tcblisting}{}
+%\moles[feet=red]
+%\end{tcblisting}
%
-% Muzzle %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\moles@part@draw[\moles@muzzle] ( 0.22, 1.46) .. controls ( 0.22, 1.50) and ( 0.22, 1.53) .. ( 0.17, 1.56) .. controls ( 0.11, 1.58) and ( 0.05, 1.66) .. ( 0.00, 1.66) .. controls (-0.05, 1.66) and (-0.11, 1.58) .. (-0.17, 1.56) .. controls (-0.22, 1.53) and (-0.22, 1.50) .. (-0.22, 1.46) .. controls (-0.22, 1.39) and (-0.14, 1.33) .. ( 0.00, 1.33) .. controls ( 0.14, 1.33) and ( 0.22, 1.39) .. ( 0.22, 1.46) -- cycle;
+%\begin{tcblisting}{}
+%\moles[mouth=red]
+%\end{tcblisting}
%
-% Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\moles@part@draw[\moles@body!60!black] (0,1.67) circle[radius=0.055];
+%To view the mole from behind:
+%\begin{tcblisting}{}
+%\moles[back]
+%\end{tcblisting}
%
-% Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifmoles@threeD
- \fill[\moles@eye] (-0.165,1.79) ellipse[x radius=0.055, y radius=0.015, rotate=-15];
- \fill[\moles@eye!50!black] (0.165,1.79) ellipse[x radius=0.055, y radius=0.015, rotate=15];
-\else
- \fill[\moles@eye] (-0.165,1.79) ellipse[x radius=0.055, y radius=0.015, rotate=-15];
- \fill[\moles@eye] (0.165,1.79) ellipse[x radius=0.055, y radius=0.015, rotate=15];
-\fi
+%The key \lstinline|3D| will make the mole 3-dimensional:
+%\begin{tcblisting}{}
+%\moles[3D]
+%\end{tcblisting}
%
-% Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifmoles@contour
- \draw[\moles@contour, line width=\scalingfactor*0.4pt] (0.145,1.51) arc [start angle=-20, end angle=-160, radius=0.16] ;
-\else
- \draw[\moles@body!60!black, line width=\scalingfactor*0.4pt] (0.145,1.51) arc [start angle=-20, end angle=-160, radius=0.16] ;
-\fi
-%
-\fi
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname moleshookbody\endcsname
-\csname tikzlinghookbody\endcsname
-%
-}
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\moles[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-owls.sty b/graphics/pgf/contrib/tikzlings/tikzlings-owls.sty
index 977593bbbb..d10b5c6a57 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-owls.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-owls.sty
@@ -1,18 +1,18 @@
-% !TeX root = ./examples/owl.tex
+ % !TeX root = ./examples/owl.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% This package is part of the TikZlings package
-% A package to bring cute little animals and other beings into tikz
-% Maintained by samcarter
-%
-% Project repository and bug tracker:
-% https://github.com/samcarter/tikzlings
-%
-% Released under the LaTeX Project Public License v1.3c or later
-% See http://www.latex-project.org/lppl.txt
-%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-owls}[2021/04/16 version v0.6 Draw owls in TikZ]
+\ProvidesPackage{tikzlings-owls}[2021/08/06 version v0.8 Draw owls in TikZ]
\RequirePackage{tikz}
\RequirePackage{tikzlings-addons}
@@ -70,113 +70,174 @@
}
\def\owl@draw{%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.73, 0.08) rectangle (0.73, 2.24);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifowl@threeD
+ \def\owl@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifowl@contour
+ \def\owl@part@draw[##1]{\draw[##1,\owl@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\owl@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname owlhookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \owl@part@draw[\owl@body] (0.575,0.8) ellipse[x radius=0.38, y radius=0.1, rotate=-80];
+ \owl@part@draw[\owl@body] (-0.575,0.8) ellipse[x radius=0.38, y radius=0.1, rotate=80];
+ %
+ % Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifowl@back
+ \owl@part@draw[\owl@feet] (0.175,0.2) ellipse[x radius=0.03, y radius=0.1];
+ \owl@part@draw[\owl@feet] (0.225,0.21) ellipse[x radius=0.03, y radius=0.1, rotate=20];
+ \owl@part@draw[\owl@feet] (0.275,0.23) ellipse[x radius=0.03, y radius=0.1, rotate=40];
+ \owl@part@draw[\owl@feet] (-0.175,0.2) ellipse[x radius=0.03, y radius=0.1];
+ \owl@part@draw[\owl@feet] (-0.225,0.21) ellipse[x radius=0.03, y radius=0.1, rotate=-20];
+ \owl@part@draw[\owl@feet] (-0.275,0.23) ellipse[x radius=0.03, y radius=0.1, rotate=-40];
+ \fi% back
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \owl@part@draw[\owl@body] (0.595, 0.92) .. controls (0.595, 0.26) and (0.355, 0.18) .. (0, 0.18) .. controls (-0.355, 0.18) and (-0.595, 0.26) .. (-0.595, 0.92) .. controls (-0.605, 1.58) and (-0.335, 2.11) .. (0, 2.11) .. controls (0.335, 2.11) and (0.605, 1.58) .. (0.595, 0.92) -- cycle;
+ %
+ % Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \owl@part@draw[\owl@body] (-0.6361, 1.777) .. controls (-0.6361, 1.777) and (-0.7586, 1.9603) .. (-0.6759, 2.2145) .. controls (-0.3248, 1.912) and (0.3248, 1.912) .. (0.6759, 2.2145) .. controls (0.7586, 1.9603) and (0.6361, 1.777) .. (0.6361, 1.777);
+ %
+ % Belly %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifowl@back
+ \owl@part@draw[\owl@body!50!white] (0.425,0.5) .. controls (0.425,0.31) and (0.245,0.27) .. (0,0.27) .. controls (-0.245,0.27) and (-0.425,0.31) .. (-0.425,0.5) .. controls (-0.425,0.81) and (-0.225,0.98) .. (0,0.98) .. controls (0.225,0.98) and (0.425,0.81) .. (0.425,0.5) -- cycle;
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname owlhookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \owl@part@draw[\owl@body] (0,1.55) ellipse[x radius=0.7, y radius=0.55];
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifowl@back
+ \ifowl@contour
+ \owl@part@draw[\owl@eye] (-0.28, 1.6) circle[radius=0.22];
+ \owl@part@draw[\owl@eye] (0.28, 1.6) circle[radius=0.22];
+ \else% contour
+ \fill[\owl@eye] (-0.28, 1.6) circle[radius=0.22];
+ \fill[\owl@eye] (0.28, 1.6) circle[radius=0.22];
+ \fi% contour
+ \owl@part@draw[\owl@pupil] (-0.28, 1.6) circle[radius=0.15];
+ \owl@part@draw[\owl@pupil] (0.28, 1.6) circle[radius=0.15];
+ \owl@part@draw[white] (0.25, 1.64) circle[radius=0.03];
+ \owl@part@draw[white] (-0.31, 1.64) circle[radius=0.03];
+ \fi% back
+ %
+ % Bill %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifowl@back
+ \owl@part@draw[\owl@bill] (0, 1.4) -- (-0.1, 1.3) -- (0, 1.15) -- (0.1, 1.3) -- cycle;
+ \fi% back
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifowl@back
+ \owl@part@draw[\owl@feet] (0.175,0.2) ellipse[x radius=0.03, y radius=0.1];
+ \owl@part@draw[\owl@feet] (0.225,0.21) ellipse[x radius=0.03, y radius=0.1, rotate=20];
+ \owl@part@draw[\owl@feet] (0.275,0.23) ellipse[x radius=0.03, y radius=0.1, rotate=40];
+ \owl@part@draw[\owl@feet] (-0.175,0.2) ellipse[x radius=0.03, y radius=0.1];
+ \owl@part@draw[\owl@feet] (-0.225,0.21) ellipse[x radius=0.03, y radius=0.1, rotate=-20];
+ \owl@part@draw[\owl@feet] (-0.275,0.23) ellipse[x radius=0.03, y radius=0.1, rotate=-40];
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname owlhookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
+}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.73, 0.08) rectangle (0.73, 2.24);
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifowl@threeD
- \def\owl@part@draw[##1]{\shade[ball color=##1]}
-\else
- \ifowl@contour
- \def\owl@part@draw[##1]{\draw[##1,\owl@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\owl@part@draw[##1]{\fill[##1]}
- \fi
-\fi
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Body parts (center: x=0.925)
-%
+%%
+%% Documentation
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname owlhookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
-%
-% Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\owl@part@draw[\owl@body] (0.575,0.8) ellipse[x radius=0.38, y radius=0.1, rotate=-80];
-\owl@part@draw[\owl@body] (-0.575,0.8) ellipse[x radius=0.38, y radius=0.1, rotate=80];
-%
-% Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifowl@back
- \owl@part@draw[\owl@feet] (0.175,0.2) ellipse[x radius=0.03, y radius=0.1];
- \owl@part@draw[\owl@feet] (0.225,0.21) ellipse[x radius=0.03, y radius=0.1, rotate=20];
- \owl@part@draw[\owl@feet] (0.275,0.23) ellipse[x radius=0.03, y radius=0.1, rotate=40];
- \owl@part@draw[\owl@feet] (-0.175,0.2) ellipse[x radius=0.03, y radius=0.1];
- \owl@part@draw[\owl@feet] (-0.225,0.21) ellipse[x radius=0.03, y radius=0.1, rotate=-20];
- \owl@part@draw[\owl@feet] (-0.275,0.23) ellipse[x radius=0.03, y radius=0.1, rotate=-40];
-\fi
-%
-% Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\owl@part@draw[\owl@body] (0.595, 0.92) .. controls (0.595, 0.26) and (0.355, 0.18) .. (0, 0.18) .. controls (-0.355, 0.18) and (-0.595, 0.26) .. (-0.595, 0.92) .. controls (-0.605, 1.58) and (-0.335, 2.11) .. (0, 2.11) .. controls (0.335, 2.11) and (0.605, 1.58) .. (0.595, 0.92) -- cycle;
-%
-% Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\owl@part@draw[\owl@body] (-0.6361, 1.777) .. controls (-0.6361, 1.777) and (-0.7586, 1.9603) .. (-0.6759, 2.2145) .. controls (-0.3248, 1.912) and (0.3248, 1.912) .. (0.6759, 2.2145) .. controls (0.7586, 1.9603) and (0.6361, 1.777) .. (0.6361, 1.777);
-%
-% Belly %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifowl@back
- \owl@part@draw[\owl@body!50!white] (0.425,0.5) .. controls (0.425,0.31) and (0.245,0.27) .. (0,0.27) .. controls (-0.245,0.27) and (-0.425,0.31) .. (-0.425,0.5) .. controls (-0.425,0.81) and (-0.225,0.98) .. (0,0.98) .. controls (0.225,0.98) and (0.425,0.81) .. (0.425,0.5) -- cycle;
-\fi
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname owlhookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
-%
-% head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\owl@part@draw[\owl@body] (0,1.55) ellipse[x radius=0.7, y radius=0.55];
-%
-% Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifowl@back
- \ifowl@contour
- \owl@part@draw[\owl@eye] (-0.28, 1.6) circle[radius=0.22];
- \owl@part@draw[\owl@eye] (0.28, 1.6) circle[radius=0.22];
- \else
- \fill[\owl@eye] (-0.28, 1.6) circle[radius=0.22];
- \fill[\owl@eye] (0.28, 1.6) circle[radius=0.22];
- \fi
- \owl@part@draw[\owl@pupil] (-0.28, 1.6) circle[radius=0.15];
- \owl@part@draw[\owl@pupil] (0.28, 1.6) circle[radius=0.15];
- \owl@part@draw[white] (0.25, 1.64) circle[radius=0.03];
- \owl@part@draw[white] (-0.31, 1.64) circle[radius=0.03];
-\fi
-%
-% Bill %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifowl@back
- \owl@part@draw[\owl@bill] (0, 1.4) -- (-0.1, 1.3) -- (0, 1.15) -- (0.1, 1.3) -- cycle;
-\fi
-%
-% Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifowl@back
- \owl@part@draw[\owl@feet] (0.175,0.2) ellipse[x radius=0.03, y radius=0.1];
- \owl@part@draw[\owl@feet] (0.225,0.21) ellipse[x radius=0.03, y radius=0.1, rotate=20];
- \owl@part@draw[\owl@feet] (0.275,0.23) ellipse[x radius=0.03, y radius=0.1, rotate=40];
- \owl@part@draw[\owl@feet] (-0.175,0.2) ellipse[x radius=0.03, y radius=0.1];
- \owl@part@draw[\owl@feet] (-0.225,0.21) ellipse[x radius=0.03, y radius=0.1, rotate=-20];
- \owl@part@draw[\owl@feet] (-0.275,0.23) ellipse[x radius=0.03, y radius=0.1, rotate=-40];
-\fi
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname owlhookbody\endcsname
-\csname tikzlinghookbody\endcsname
-%
-}
+%\clearpage
+%\section[Owl]{Jake, the owl}
+%
+%\emph{The owl Jake was inspired by the avatar of one of the world's top TikZperts}
+%
+%\subsection{Package name}
+%
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-owls}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
+%
+%\subsection{Basic Usage}
+%
+%\begin{tcblisting}{}
+%\owl
+%\end{tcblisting}
+%
+%\subsection{Options}
+%
+%The basic owl can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\owl[body=blue]
+%\end{tcblisting}
+%
+%In addition to the colour of the body, the colour of various body parts can be adjusted:
+%\begin{tcblisting}{}
+%\owl[eye=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\owl[pupil=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\owl[bill=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\owl[feet=red]
+%\end{tcblisting}
+%
+%To view the owl from behind:
+%\begin{tcblisting}{}
+%\owl[back]
+%\end{tcblisting}
+%
+%The key \lstinline|3D| will make the owl 3-dimensional:
+%\begin{tcblisting}{}
+%\owl[3D]
+%\end{tcblisting}
+%
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\owl[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-pandas.sty b/graphics/pgf/contrib/tikzlings/tikzlings-pandas.sty
index 9a962adac5..3f6301e3ea 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-pandas.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-pandas.sty
@@ -1,18 +1,18 @@
-% !TeX root = ./examples/panda.tex
+ % !TeX root = ./examples/panda.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% This package is part of the TikZlings package
-% A package to bring cute little animals and other beings into tikz
-% Maintained by samcarter
-%
-% Project repository and bug tracker:
-% https://github.com/samcarter/tikzlings
-%
-% Released under the LaTeX Project Public License v1.3c or later
-% See http://www.latex-project.org/lppl.txt
-%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-pandas}[2021/04/16 version v0.6 Drawing pandas in TikZ]
+\ProvidesPackage{tikzlings-pandas}[2021/08/06 version v0.8 Drawing pandas in TikZ]
\RequirePackage{tikz}
\RequirePackage{tikzlings-addons}
@@ -51,7 +51,9 @@
eye/.code = \def\panda@eye{#1},
eye = white,
pupil/.code = \def\panda@pupil{#1},
- pupil = black,
+ pupil = black,
+ mouth/.code = \def\panda@mouth{#1},
+ mouth = black,
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% options
@@ -60,114 +62,169 @@
3D/.code = \panda@threeDtrue,
back/.code = \panda@backtrue,
contour/.code = \panda@contourtrue
- \def\panda@contour{#1},
+ \def\panda@contour{#1}
+ \def\panda@mouth{#1},
contour/.default = black,
outline/.forward to = /panda/contour,
}
\def\panda@draw{%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.62,0.05) rectangle (0.62, 2.18);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifpanda@threeD
+ \def\panda@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifpanda@contour
+ \def\panda@part@draw[##1]{\draw[##1,\panda@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\panda@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname pandahookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifpanda@back
+ \panda@part@draw[black] (0.32, 0.27) circle[radius=0.2];
+ \panda@part@draw[black] (-0.32, 0.27) circle[radius=0.2];
+ \fi% back
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \panda@part@draw[\panda@body!55!white] (0,0.78) ellipse[x radius=0.57, y radius=0.65];
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname pandahookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifpanda@back
+ \begin{scope}[yshift=-0.08cm]
+ \panda@part@draw[black] (0.28,0.93) ellipse[x radius=0.24, y radius=0.13, rotate=70];
+ \panda@part@draw[black] (-0.28,0.93) ellipse[x radius=0.24, y radius=0.13, rotate=-70];
+ \end{scope}
+ \fi% back
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifpanda@back
+ \panda@part@draw[black] (0.32, 0.27) circle[radius=0.2];
+ \panda@part@draw[black] (-0.32, 0.27) circle[radius=0.2];
+ \fi% back
+ %
+ % Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \panda@part@draw[black] (0.32, 2) circle[radius=0.15];
+ \panda@part@draw[black] (-0.32, 2) circle[radius=0.15];
+ %
+ % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \panda@part@draw[\panda@body!55!white] (0.4897, 1.5886) .. controls (0.4614, 1.8238) and (0.25, 2.1172) .. (0, 2.1134) .. controls (-0.25, 2.1172) and (-0.4614, 1.8238) .. (-0.4897, 1.5886) .. controls (-0.5261, 1.3269) and (-0.2748, 1.2377) .. (0, 1.2377) .. controls (0.2748, 1.2377) and (0.5261, 1.3269) .. (0.4897, 1.5886) -- cycle;
+ %
+ % Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifpanda@back
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \panda@part@draw[black] (0.3732, 1.6905) .. controls (0.3498, 1.767) and (0.2032, 1.8059) .. (0.0944, 1.7715) .. controls (-0.0145, 1.7371) and (0.173, 1.5479) .. (0.2508, 1.5443) .. controls (0.3286, 1.5407) and (0.3965, 1.614) .. (0.3732, 1.6905) -- cycle;
+ \panda@part@draw[black] (-0.3732, 1.6905) .. controls (-0.3498, 1.767) and (-0.2032, 1.8059) .. (-0.0944, 1.7715) .. controls (0.0145, 1.7371) and (-0.173, 1.5479) .. (-0.2508, 1.5443) .. controls (-0.3286, 1.5407) and (-0.3965, 1.614) .. (-0.3732, 1.6905) -- cycle;
+ \panda@part@draw[\panda@eye] (-0.18, 1.7) circle[radius=0.05];
+ \panda@part@draw[\panda@eye] (0.18, 1.7) circle[radius=0.05];
+ \panda@part@draw[\panda@pupil] (0.17, 1.695) circle[radius=0.02];
+ \panda@part@draw[\panda@pupil] (-0.17, 1.695) circle[radius=0.02];
+ %
+ % Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \draw[\panda@mouth,line width=\scalingfactor*0.2pt] (-0.16, 1.477) .. controls (-0.16, 1.477) and (-0.062, 1.37) .. (0, 1.506) .. controls (0.062, 1.37) and (0.16, 1.477) .. (0.16, 1.477);
+ %
+ % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \panda@part@draw[black] (0,1.55) ellipse[x radius=0.07, y radius=0.04];
+ %
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname pandahookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
+}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.62,0.05) rectangle (0.62, 2.18);
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifpanda@threeD
- \def\panda@part@draw[##1]{\shade[ball color=##1]}
-\else
- \ifpanda@contour
- \def\panda@part@draw[##1]{\draw[##1,\panda@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\panda@part@draw[##1]{\fill[##1]}
- \fi
-\fi
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Body parts (center: x=0)
-%
+%%
+%% Documentation
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname pandahookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
-%
-% Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifpanda@back
- \panda@part@draw[black] (0.32, 0.27) circle[radius=0.2];
- \panda@part@draw[black] (-0.32, 0.27) circle[radius=0.2];
-\fi
-%
-% Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\panda@part@draw[\panda@body!55!white] (0,0.78) ellipse[x radius=0.57, y radius=0.65];
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname pandahookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
-%
-% Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifpanda@back
- \begin{scope}[yshift=-0.08cm]
- \panda@part@draw[black] (0.28,0.93) ellipse[x radius=0.24, y radius=0.13, rotate=70];
- \panda@part@draw[black] (-0.28,0.93) ellipse[x radius=0.24, y radius=0.13, rotate=-70];
- \end{scope}
-\fi
-%
-% Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifpanda@back
- \panda@part@draw[black] (0.32, 0.27) circle[radius=0.2];
- \panda@part@draw[black] (-0.32, 0.27) circle[radius=0.2];
-\fi
-%
-% Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\panda@part@draw[black] (0.32, 2) circle[radius=0.15];
-\panda@part@draw[black] (-0.32, 2) circle[radius=0.15];
-%
-% Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\panda@part@draw[\panda@body!55!white] (0.4897, 1.5886) .. controls (0.4614, 1.8238) and (0.25, 2.1172) .. (0, 2.1134) .. controls (-0.25, 2.1172) and (-0.4614, 1.8238) .. (-0.4897, 1.5886) .. controls (-0.5261, 1.3269) and (-0.2748, 1.2377) .. (0, 1.2377) .. controls (0.2748, 1.2377) and (0.5261, 1.3269) .. (0.4897, 1.5886) -- cycle;
-%
-% Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifpanda@back
-%
-% Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\panda@part@draw[black] (0.3732, 1.6905) .. controls (0.3498, 1.767) and (0.2032, 1.8059) .. (0.0944, 1.7715) .. controls (-0.0145, 1.7371) and (0.173, 1.5479) .. (0.2508, 1.5443) .. controls (0.3286, 1.5407) and (0.3965, 1.614) .. (0.3732, 1.6905) -- cycle;
-\panda@part@draw[black] (-0.3732, 1.6905) .. controls (-0.3498, 1.767) and (-0.2032, 1.8059) .. (-0.0944, 1.7715) .. controls (0.0145, 1.7371) and (-0.173, 1.5479) .. (-0.2508, 1.5443) .. controls (-0.3286, 1.5407) and (-0.3965, 1.614) .. (-0.3732, 1.6905) -- cycle;
-\panda@part@draw[\panda@eye] (-0.18, 1.7) circle[radius=0.05];
-\panda@part@draw[\panda@eye] (0.18, 1.7) circle[radius=0.05];
-\panda@part@draw[\panda@pupil] (0.17, 1.695) circle[radius=0.02];
-\panda@part@draw[\panda@pupil] (-0.17, 1.695) circle[radius=0.02];
-%
-% Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifpanda@contour
- \draw[\panda@contour,line width=\scalingfactor*0.2pt] (-0.16, 1.477) .. controls (-0.16, 1.477) and (-0.062, 1.37) .. (0, 1.506) .. controls (0.062, 1.37) and (0.16, 1.477) .. (0.16, 1.477);
-\else
- \draw[black,line width=\scalingfactor*0.2pt] (-0.16, 1.477) .. controls (-0.16, 1.477) and (-0.062, 1.37) .. (0, 1.506) .. controls (0.062, 1.37) and (0.16, 1.477) .. (0.16, 1.477);
-\fi
-%
-% Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\panda@part@draw[black] (0,1.55) ellipse[x radius=0.07, y radius=0.04];
-%
-\fi
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname pandahookbody\endcsname
-\csname tikzlinghookbody\endcsname
-%
-}
+%\clearpage
+%\section[Panda]{Meng Meng, the panda}
+%
+%\emph{Meng Meng is named after one of the pandas at the zoological garden Berlin}
+%
+%\subsection{Package name}
+%
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-pandas}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
+%
+%\subsection{Basic Usage}
+%
+%\begin{tcblisting}{}
+%\panda
+%\end{tcblisting}
+%
+%\subsection{Options}
+%
+%The basic panda can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\panda[body=blue]
+%\end{tcblisting}
+%
+%In addition to the colour of the body, the colour of various body parts can be adjusted:
+%\begin{tcblisting}{}
+%\panda[eye=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\panda[pupil=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\panda[mouth=red]
+%\end{tcblisting}
+%
+%To view the panda from behind:
+%\begin{tcblisting}{}
+%\panda[back]
+%\end{tcblisting}
+%
+%The key \lstinline|3D| will make the panda 3-dimensional:
+%\begin{tcblisting}{}
+%\panda[3D]
+%\end{tcblisting}
+%
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\panda[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-penguins.sty b/graphics/pgf/contrib/tikzlings/tikzlings-penguins.sty
index fe99f485fa..7d2a6b5310 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-penguins.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-penguins.sty
@@ -1,18 +1,18 @@
-% !TeX root = ./examples/pingu.tex
+ % !TeX root = ./examples/pingu.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% This package is part of the TikZlings package
-% A package to bring cute little animals and other beings into tikz
-% Maintained by samcarter
-%
-% Project repository and bug tracker:
-% https://github.com/samcarter/tikzlings
-%
-% Released under the LaTeX Project Public License v1.3c or later
-% See http://www.latex-project.org/lppl.txt
-%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-penguins}[2021/04/16 version v0.6 Draw penguins in TikZ]
+\ProvidesPackage{tikzlings-penguins}[2021/08/06 version v0.8 Draw penguins in TikZ]
\RequirePackage{tikz}
\RequirePackage{tikzlings-addons}
@@ -72,103 +72,167 @@
}
\def\penguin@draw{%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.865, 0.15) rectangle (0.865, 2.13);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifpenguin@threeD
+ \def\penguin@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifpenguin@contour
+ \def\penguin@part@draw[##1]{\draw[##1,\penguin@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\penguin@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname penguinhookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \penguin@part@draw[\penguin@body] (0.575,1.2) ellipse[x radius=0.38, y radius=0.1, rotate=-50];
+ \penguin@part@draw[\penguin@body] (-0.575,1.2) ellipse[x radius=0.38, y radius=0.1, rotate=50];
+ %
+ % Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifpenguin@back
+ \penguin@part@draw[\penguin@feet]
+ (-0.265, 0.3941) .. controls (-0.283, 0.4505) and (-0.373, 0.6014) .. (-0.470, 0.6533) .. controls (-0.571, 0.7075) and (-0.576, 0.6369) .. (-0.554, 0.596) .. controls (-0.526, 0.5416) and (-0.573, 0.5302) .. (-0.602, 0.5384) .. controls (-0.695, 0.5653) and (-0.767, 0.5169) .. (-0.684, 0.434) .. controls (-0.664, 0.4137) and (-0.587, 0.3557) .. (-0.699, 0.3492) .. controls (-0.772, 0.345) and (-0.779, 0.268) .. (-0.689, 0.2445) .. controls (-0.597, 0.2206) and (-0.476, 0.2043) .. (-0.34, 0.2096) .. controls (-0.252, 0.2131) and (-0.237, 0.3059) .. (-0.265, 0.3941) -- cycle;
+ \penguin@part@draw[\penguin@feet]
+ (0.265, 0.3941) .. controls (0.283, 0.4505) and (0.3725, 0.6014) .. (0.469, 0.6533) .. controls (0.571, 0.7075) and (0.5756, 0.6369) .. (0.554, 0.596) .. controls (0.526, 0.5416) and (0.5733, 0.5302) .. (0.602, 0.5384) .. controls (0.695, 0.5653) and (0.7672, 0.5169) .. (0.684, 0.434) .. controls (0.663, 0.4137) and (0.587, 0.3557) .. (0.699, 0.3492) .. controls (0.772, 0.345) and (0.7789, 0.268) .. (0.689, 0.2445) .. controls (0.597, 0.2206) and (0.4764, 0.2043) .. (0.34, 0.2096) .. controls (0.252, 0.2131) and (0.2368, 0.3059) .. (0.265, 0.3941) -- cycle;
+ \fi% back
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \penguin@part@draw[\penguin@body] (0.595, 0.92) .. controls (0.595, 0.26) and (0.355, 0.18) .. (0, 0.18) .. controls (-0.355, 0.18) and (-0.595, 0.26) .. (-0.595, 0.92) .. controls (-0.605, 1.58) and (-0.335, 2.11) .. (0, 2.11) .. controls (0.335, 2.11) and (0.605, 1.58) .. (0.595, 0.92) -- cycle;
+ %
+ % Belly %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifpenguin@back
+ \penguin@part@draw[\penguin@belly] (0, 0.6) ellipse[x radius=0.48, y radius=0.35];
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname penguinhookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifpenguin@back
+ \penguin@part@draw[\penguin@feet]
+ (-0.265, 0.3941) .. controls (-0.283, 0.4505) and (-0.373, 0.6014) .. (-0.470, 0.6533) .. controls (-0.571, 0.7075) and (-0.576, 0.6369) .. (-0.554, 0.596) .. controls (-0.526, 0.5416) and (-0.573, 0.5302) .. (-0.602, 0.5384) .. controls (-0.695, 0.5653) and (-0.767, 0.5169) .. (-0.684, 0.434) .. controls (-0.664, 0.4137) and (-0.587, 0.3557) .. (-0.699, 0.3492) .. controls (-0.772, 0.345) and (-0.779, 0.268) .. (-0.689, 0.2445) .. controls (-0.597, 0.2206) and (-0.476, 0.2043) .. (-0.34, 0.2096) .. controls (-0.252, 0.2131) and (-0.237, 0.3059) .. (-0.265, 0.3941) -- cycle;
+ \penguin@part@draw[\penguin@feet]
+ (0.265, 0.3941) .. controls (0.283, 0.4505) and (0.3725, 0.6014) .. (0.469, 0.6533) .. controls (0.571, 0.7075) and (0.5756, 0.6369) .. (0.554, 0.596) .. controls (0.526, 0.5416) and (0.5733, 0.5302) .. (0.602, 0.5384) .. controls (0.695, 0.5653) and (0.7672, 0.5169) .. (0.684, 0.434) .. controls (0.663, 0.4137) and (0.587, 0.3557) .. (0.699, 0.3492) .. controls (0.772, 0.345) and (0.7789, 0.268) .. (0.689, 0.2445) .. controls (0.597, 0.2206) and (0.4764, 0.2043) .. (0.34, 0.2096) .. controls (0.252, 0.2131) and (0.2368, 0.3059) .. (0.265, 0.3941) -- cycle;
+ \fi% back
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifpenguin@back
+ \ifpenguin@contour
+ \penguin@part@draw[\penguin@eye] (-0.175,1.64) ellipse[x radius=0.1, y radius=0.15, rotate=-10];
+ \penguin@part@draw[\penguin@pupil] (-0.145,1.625) ellipse[x radius=0.0357, y radius=0.0714, rotate=-3];
+ \penguin@part@draw[\penguin@eye] (0.175,1.64) ellipse[x radius=0.1, y radius=0.15, rotate=10];
+ \penguin@part@draw[\penguin@pupil] (0.145,1.625) ellipse[x radius=0.0357, y radius=0.0714, rotate=3];
+ \else% contour
+ \fill[\penguin@eye] (-0.175,1.64) ellipse[x radius=0.1, y radius=0.15, rotate=-10];
+ \fill[\penguin@pupil] (-0.145,1.625) ellipse[x radius=0.0357, y radius=0.0714, rotate=-3];
+ \fill[\penguin@eye] (0.175,1.64) ellipse[x radius=0.1, y radius=0.15, rotate=10];
+ \fill[\penguin@pupil] (0.145,1.625) ellipse[x radius=0.0357, y radius=0.0714, rotate=3];
+ \fi% contour
+ \fi% back
+ %
+ % Bill %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifpenguin@back
+ \penguin@part@draw[\penguin@bill] (0.323, 1.4591) .. controls (0.1467, 1.3257) and (0.1066, 1.4365) .. (0, 1.4358) .. controls (-0.1066, 1.4365) and (-0.1467, 1.3257) .. (-0.323, 1.4591) .. controls (-0.1267, 1.075) and (0.1267, 1.075) .. (0.323, 1.4591) -- cycle;
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname penguinhookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
+}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.865, 0.15) rectangle (0.865, 2.13);
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifpenguin@threeD
- \def\penguin@part@draw[##1]{\shade[ball color=##1]}
-\else
- \ifpenguin@contour
- \def\penguin@part@draw[##1]{\draw[##1,\penguin@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\penguin@part@draw[##1]{\fill[##1]}
- \fi
-\fi
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Body parts (center: x=0.925)
-%
+%%
+%% Documentation
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname penguinhookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
-%
-% Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\penguin@part@draw[\penguin@body] (0.575,1.2) ellipse[x radius=0.38, y radius=0.1, rotate=-50];
-\penguin@part@draw[\penguin@body] (-0.575,1.2) ellipse[x radius=0.38, y radius=0.1, rotate=50];
-%
-% Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifpenguin@back
- \penguin@part@draw[\penguin@feet]
- (-0.265, 0.3941) .. controls (-0.283, 0.4505) and (-0.373, 0.6014) .. (-0.470, 0.6533) .. controls (-0.571, 0.7075) and (-0.576, 0.6369) .. (-0.554, 0.596) .. controls (-0.526, 0.5416) and (-0.573, 0.5302) .. (-0.602, 0.5384) .. controls (-0.695, 0.5653) and (-0.767, 0.5169) .. (-0.684, 0.434) .. controls (-0.664, 0.4137) and (-0.587, 0.3557) .. (-0.699, 0.3492) .. controls (-0.772, 0.345) and (-0.779, 0.268) .. (-0.689, 0.2445) .. controls (-0.597, 0.2206) and (-0.476, 0.2043) .. (-0.34, 0.2096) .. controls (-0.252, 0.2131) and (-0.237, 0.3059) .. (-0.265, 0.3941) -- cycle;
- \penguin@part@draw[\penguin@feet]
- (0.265, 0.3941) .. controls (0.283, 0.4505) and (0.3725, 0.6014) .. (0.469, 0.6533) .. controls (0.571, 0.7075) and (0.5756, 0.6369) .. (0.554, 0.596) .. controls (0.526, 0.5416) and (0.5733, 0.5302) .. (0.602, 0.5384) .. controls (0.695, 0.5653) and (0.7672, 0.5169) .. (0.684, 0.434) .. controls (0.663, 0.4137) and (0.587, 0.3557) .. (0.699, 0.3492) .. controls (0.772, 0.345) and (0.7789, 0.268) .. (0.689, 0.2445) .. controls (0.597, 0.2206) and (0.4764, 0.2043) .. (0.34, 0.2096) .. controls (0.252, 0.2131) and (0.2368, 0.3059) .. (0.265, 0.3941) -- cycle;
-\fi
-%
-% Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\penguin@part@draw[\penguin@body] (0.595, 0.92) .. controls (0.595, 0.26) and (0.355, 0.18) .. (0, 0.18) .. controls (-0.355, 0.18) and (-0.595, 0.26) .. (-0.595, 0.92) .. controls (-0.605, 1.58) and (-0.335, 2.11) .. (0, 2.11) .. controls (0.335, 2.11) and (0.605, 1.58) .. (0.595, 0.92) -- cycle;
-%
-% Belly %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifpenguin@back
- \penguin@part@draw[\penguin@belly] (0, 0.6) ellipse[x radius=0.48, y radius=0.35];
-\fi
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname penguinhookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
-%
-% Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifpenguin@back
- \penguin@part@draw[\penguin@feet]
- (-0.265, 0.3941) .. controls (-0.283, 0.4505) and (-0.373, 0.6014) .. (-0.470, 0.6533) .. controls (-0.571, 0.7075) and (-0.576, 0.6369) .. (-0.554, 0.596) .. controls (-0.526, 0.5416) and (-0.573, 0.5302) .. (-0.602, 0.5384) .. controls (-0.695, 0.5653) and (-0.767, 0.5169) .. (-0.684, 0.434) .. controls (-0.664, 0.4137) and (-0.587, 0.3557) .. (-0.699, 0.3492) .. controls (-0.772, 0.345) and (-0.779, 0.268) .. (-0.689, 0.2445) .. controls (-0.597, 0.2206) and (-0.476, 0.2043) .. (-0.34, 0.2096) .. controls (-0.252, 0.2131) and (-0.237, 0.3059) .. (-0.265, 0.3941) -- cycle;
- \penguin@part@draw[\penguin@feet]
- (0.265, 0.3941) .. controls (0.283, 0.4505) and (0.3725, 0.6014) .. (0.469, 0.6533) .. controls (0.571, 0.7075) and (0.5756, 0.6369) .. (0.554, 0.596) .. controls (0.526, 0.5416) and (0.5733, 0.5302) .. (0.602, 0.5384) .. controls (0.695, 0.5653) and (0.7672, 0.5169) .. (0.684, 0.434) .. controls (0.663, 0.4137) and (0.587, 0.3557) .. (0.699, 0.3492) .. controls (0.772, 0.345) and (0.7789, 0.268) .. (0.689, 0.2445) .. controls (0.597, 0.2206) and (0.4764, 0.2043) .. (0.34, 0.2096) .. controls (0.252, 0.2131) and (0.2368, 0.3059) .. (0.265, 0.3941) -- cycle;
-\fi
-%
-% Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifpenguin@back
- \ifpenguin@contour
- \penguin@part@draw[\penguin@eye] (-0.175,1.64) ellipse[x radius=0.1, y radius=0.15, rotate=-10];
- \penguin@part@draw[\penguin@pupil] (-0.145,1.625) ellipse[x radius=0.0357, y radius=0.0714, rotate=-3];
- \penguin@part@draw[\penguin@eye] (0.175,1.64) ellipse[x radius=0.1, y radius=0.15, rotate=10];
- \penguin@part@draw[\penguin@pupil] (0.145,1.625) ellipse[x radius=0.0357, y radius=0.0714, rotate=3];
- \else
- \fill[\penguin@eye] (-0.175,1.64) ellipse[x radius=0.1, y radius=0.15, rotate=-10];
- \fill[\penguin@pupil] (-0.145,1.625) ellipse[x radius=0.0357, y radius=0.0714, rotate=-3];
- \fill[\penguin@eye] (0.175,1.64) ellipse[x radius=0.1, y radius=0.15, rotate=10];
- \fill[\penguin@pupil] (0.145,1.625) ellipse[x radius=0.0357, y radius=0.0714, rotate=3];
- \fi
-\fi
-%
-% Bill %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifpenguin@back
- \penguin@part@draw[\penguin@bill] (0.323, 1.4591) .. controls (0.1467, 1.3257) and (0.1066, 1.4365) .. (0, 1.4358) .. controls (-0.1066, 1.4365) and (-0.1467, 1.3257) .. (-0.323, 1.4591) .. controls (-0.1267, 1.075) and (0.1267, 1.075) .. (0.323, 1.4591) -- cycle;
-\fi
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname penguinhookbody\endcsname
-\csname tikzlinghookbody\endcsname
-%
-}
+%\clearpage
+%\section[Penguin]{Tux, the penguin}
+%
+%\emph{Dedicated to the Linux mascot}
+%
+%\subsection{Package name}
+%
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-penguins}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
+%
+%\subsection{Basic Usage}
+%
+%\begin{tcblisting}{}
+%\penguin
+%\end{tcblisting}
+%
+%\subsection{Options}
+%
+%The basic penguin can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\penguin[body=blue]
+%\end{tcblisting}
+%
+%In addition to the colour of the body, the colour of various body parts can be adjusted:
+%\begin{tcblisting}{}
+%\penguin[eye=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\penguin[pupil=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\penguin[bill=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\penguin[belly=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\penguin[feet=red]
+%\end{tcblisting}
+%
+%To view the penguin from behind:
+%\begin{tcblisting}{}
+%\penguin[back]
+%\end{tcblisting}
+%
+%The key \lstinline|3D| will make the penguin 3-dimensional:
+%\begin{tcblisting}{}
+%\penguin[3D]
+%\end{tcblisting}
+%
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\penguin[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-pigs.sty b/graphics/pgf/contrib/tikzlings/tikzlings-pigs.sty
index 6909df1fe3..bcfa92efd1 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-pigs.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-pigs.sty
@@ -1,18 +1,18 @@
-% !TeX root = ./examples/pig.tex
+ % !TeX root = ./examples/pig.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% This package is part of the TikZlings package
-% A package to bring cute little animals and other beings into tikz
-% Maintained by samcarter
-%
-% Project repository and bug tracker:
-% https://github.com/samcarter/tikzlings
-%
-% Released under the LaTeX Project Public License v1.3c or later
-% See http://www.latex-project.org/lppl.txt
-%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-pigs}[2021/04/16 version v0.6 Drawing pigs in TikZ]
+\ProvidesPackage{tikzlings-pigs}[2021/08/06 version v0.8 Drawing pigs in TikZ]
\RequirePackage{tikz}
\RequirePackage{tikzlings-addons}
@@ -50,140 +50,190 @@
body/.code = \def\pig@body{#1},
body = pigdark,
eye/.code = \def\pig@eye{#1},
- eye = gray,
+ eye = gray,
+ tail/.code = \def\pig@tail{#1},
+ tail = \pig@body,
+ mouth/.code = \def\pig@mouth{#1},
+ mouth = gray,
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% options
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- 3D/.code = \pig@threeDtrue,
+ 3D/.code = \pig@threeDtrue
+ \def\pig@mouth{gray!70!black},
back/.code = \pig@backtrue,
contour/.code = \pig@contourtrue
- \def\pig@contour{#1},
+ \def\pig@contour{#1}
+ \def\pig@mouth{#1}
+ \def\pig@tail{#1},
contour/.default = black,
outline/.forward to = /pig/contour,
}
\def\pig@draw{%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.625,0.1) rectangle (0.905, 2.27);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifpig@threeD
+ \def\pig@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifpig@contour
+ \def\pig@part@draw[##1]{\draw[##1,\pig@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\pig@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname pighookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Tail %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifpig@back
+ \draw[\pig@tail,line width=\scalingfactor*0.8pt] (0.8431, 0.583) .. controls (0.8609, 0.4063) and (0.7006, 0.361) .. (0.6384, 0.4293) .. controls (0.5762, 0.4976) and (0.5613, 0.6052) .. (0.6551, 0.629) .. controls (0.7537, 0.6541) and (0.7759, 0.5628) .. (0.7455, 0.4948) .. controls (0.6412, 0.2697) and (0.3543, 0.356) .. (0.2638, 0.4238) .. controls (0.1967, 0.4779) and (0.1788, 0.6076) .. (0.3192, 0.633) .. controls (0.6000, 0.6836) and (0.5130, 0.3048) .. (0.2098, 0.3322) .. controls (0.0809, 0.3438) and (0.0809, 0.5236) .. (0.0809, 0.5236);
+ \fi% back
+ %
+ % Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifpig@back
+ \pig@part@draw[\pig@body] (0.3216,0.15) arc (-15:195:0.12) -- (0.16,0.15) to [bend left] (0.25,0.15) -- cycle;
+ \pig@part@draw[\pig@body] (-0.3216,0.15) arc (195:-15:0.12) -- (-0.16,0.15) to[bend right] (-0.25,0.15) --cycle;
+ \fi% back
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pig@part@draw[\pig@body!55!white] ( 0.6, 0.8 ) .. controls ( 0.6 , 0.4) and ( 0.35, 0.16) .. ( 0.0, 0.16) .. controls (-0.35, 0.16) and (-0.6 , 0.4) .. (-0.6, 0.8 ) .. controls (-0.6 , 1.3) and (-0.35, 1.5) .. ( 0.0, 1.5) .. controls ( 0.35, 1.5) and ( 0.6 , 1.3) .. ( 0.6, 0.75) -- cycle;
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname pighookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifpig@back
+ \pig@part@draw[\pig@body] (-0.2402, 0.9823) .. controls (-0.2994, 1.0582) and (-0.3721, 1.0651) .. (-0.4024, 0.9978) .. controls (-0.4327, 0.9305) and (-0.4092, 0.8145) .. (-0.35, 0.7386) .. controls (-0.3311, 0.7145) and (-0.3101, 0.6964) .. (-0.289, 0.6862) .. controls (-0.2755, 0.7023) and (-0.2498, 0.7563) .. (-0.2498, 0.7563) .. controls (-0.2498, 0.7563) and (-0.1790, 0.731) .. (-0.1611, 0.746) .. controls (-0.1611, 0.746) and (-0.1809, 0.9064) .. (-0.2402, 0.9823) -- cycle;
+ \pig@part@draw[\pig@body] (0.2402, 0.9823) .. controls (0.2994, 1.0582) and (0.3721, 1.0651) .. (0.4024, 0.9978) .. controls (0.4327, 0.9305) and (0.4092, 0.8145) .. (0.35, 0.7386) .. controls (0.3311, 0.7145) and (0.3101, 0.6964) .. (0.289, 0.6862) .. controls (0.2755, 0.7023) and (0.2498, 0.7563) .. (0.2498, 0.7563) .. controls (0.2498, 0.7563) and (0.1790, 0.731) .. (0.1611, 0.746) .. controls (0.1611, 0.746) and (0.1809, 0.9064) .. (0.2402, 0.9823) -- cycle;
+ \fi% back
+ %
+ % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pig@part@draw[\pig@body!55!white] (0,1.64) ellipse[x radius=.5, y radius=.5];
+ %
+ % Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifpig@back
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pig@part@draw[\pig@eye] (-0.09, 1.82) circle[radius=0.02];
+ \pig@part@draw[\pig@eye] ( 0.09, 1.82) circle[radius=0.02];
+ %
+ % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pig@part@draw[\pig@body] (0, 1.62) ellipse[x radius=0.18, y radius=0.14];
+ \pig@part@draw[gray] (-0.06, 1.62) circle[radius=0.035];
+ \pig@part@draw[gray] ( 0.06, 1.62) circle[radius=0.035];
+ %
+ % Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \draw[\pig@mouth,line width=\scalingfactor*0.4pt] (0.105, 1.46) arc [start angle=-50, end angle=-130, radius=0.16] ;
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pig@part@draw[\pig@body] (0.3216,0.15) arc (-15:195:0.12) -- (0.16,0.15) to [bend left] (0.25,0.15) -- cycle;
+ \pig@part@draw[\pig@body] (-0.3216,0.15) arc (195:-15:0.12) -- (-0.16,0.15) to[bend right] (-0.25,0.15) --cycle;
+ %
+ \fi% back
+ %
+ % Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pig@part@draw[\pig@body] (0.22, 2.0392) .. controls (0.22, 2.1584) and (0.49460, 2.255) .. (0.49460, 2.255) .. controls (0.49460, 2.255) and (0.5300, 1.86) .. (0.3721, 1.86) .. controls (0.2891, 1.86) and (0.22, 1.9201) .. (0.22, 2.0392) -- cycle;
+ \pig@part@draw[\pig@body!55!white] (0.22, 2.0392) .. controls (0.26, 2.1584) and (0.47, 2.22) .. (0.47, 2.20) .. controls (0.47, 2.2) and (0.49, 1.9) .. (0.3721, 1.9) .. controls (0.2891, 1.88) and (0.22, 1.88) .. (0.22, 2.0392) -- cycle;
+ \pig@part@draw[\pig@body] (-0.22, 2.0392) .. controls (-0.22, 2.1584) and (-0.49460, 2.255) .. (-0.49460, 2.255) .. controls (-0.49460, 2.255) and (-0.5300, 1.86) .. (-0.3721, 1.86) .. controls (-0.2891, 1.86) and (-0.22, 1.9201) .. (-0.22, 2.0392) -- cycle;
+ \pig@part@draw[\pig@body!55!white] (-0.22, 2.0392) .. controls (-0.26, 2.1584) and (-0.47, 2.22) .. (-0.47, 2.20) .. controls (-0.47, 2.2) and (-0.49, 1.9) .. (-0.3721, 1.9) .. controls (-0.2891, 1.88) and (-0.22, 1.88) .. (-0.22, 2.0392) -- cycle;
+ %
+ % Tail if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifpig@back
+ \draw[\pig@tail,line width=\scalingfactor*0.8pt] (0.8431, 0.583) .. controls (0.8609, 0.4063) and (0.7006, 0.361) .. (0.6384, 0.4293) .. controls (0.5762, 0.4976) and (0.5613, 0.6052) .. (0.6551, 0.629) .. controls (0.7537, 0.6541) and (0.7759, 0.5628) .. (0.7455, 0.4948) .. controls (0.6412, 0.2697) and (0.3543, 0.356) .. (0.2638, 0.4238) .. controls (0.1967, 0.4779) and (0.1788, 0.6076) .. (0.3192, 0.633) .. controls (0.6000, 0.6836) and (0.5130, 0.3048) .. (0.2098, 0.3322) .. controls (0.0809, 0.3438) and (0.0809, 0.5236) .. (0.0809, 0.5236);
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname pighookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
+}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.625,0.1) rectangle (0.905, 2.27);
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifpig@threeD
- \def\pig@part@draw[##1]{\shade[ball color=##1]}
-\else
- \ifpig@contour
- \def\pig@part@draw[##1]{\draw[##1,\pig@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\pig@part@draw[##1]{\fill[##1]}
- \fi
-\fi
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Body parts (center: x=0)
-%
+%%
+%% Documentation
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname pighookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
-%
-% Tail %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifpig@back
- \ifpig@contour
- \draw[\pig@contour,line width=\scalingfactor*0.8pt] (0.8431, 0.583) .. controls (0.8609, 0.4063) and (0.7006, 0.361) .. (0.6384, 0.4293) .. controls (0.5762, 0.4976) and (0.5613, 0.6052) .. (0.6551, 0.629) .. controls (0.7537, 0.6541) and (0.7759, 0.5628) .. (0.7455, 0.4948) .. controls (0.6412, 0.2697) and (0.3543, 0.356) .. (0.2638, 0.4238) .. controls (0.1967, 0.4779) and (0.1788, 0.6076) .. (0.3192, 0.633) .. controls (0.6000, 0.6836) and (0.5130, 0.3048) .. (0.2098, 0.3322) .. controls (0.0809, 0.3438) and (0.0809, 0.5236) .. (0.0809, 0.5236);
- \else
- \draw[\pig@body,line width=\scalingfactor*0.8pt] (0.8431, 0.583) .. controls (0.8609, 0.4063) and (0.7006, 0.361) .. (0.6384, 0.4293) .. controls (0.5762, 0.4976) and (0.5613, 0.6052) .. (0.6551, 0.629) .. controls (0.7537, 0.6541) and (0.7759, 0.5628) .. (0.7455, 0.4948) .. controls (0.6412, 0.2697) and (0.3543, 0.356) .. (0.2638, 0.4238) .. controls (0.1967, 0.4779) and (0.1788, 0.6076) .. (0.3192, 0.633) .. controls (0.6000, 0.6836) and (0.5130, 0.3048) .. (0.2098, 0.3322) .. controls (0.0809, 0.3438) and (0.0809, 0.5236) .. (0.0809, 0.5236);
- \fi
-\fi
-%
-% Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifpig@back
- \pig@part@draw[\pig@body] (0.3216,0.15) arc (-15:195:0.12) -- (0.16,0.15) to [bend left] (0.25,0.15) -- cycle;
- \pig@part@draw[\pig@body] (-0.3216,0.15) arc (195:-15:0.12) -- (-0.16,0.15) to[bend right] (-0.25,0.15) --cycle;
-\fi%
-% Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pig@part@draw[\pig@body!55!white] ( 0.6, 0.8 ) .. controls ( 0.6 , 0.4) and ( 0.35, 0.16) .. ( 0.0, 0.16) .. controls (-0.35, 0.16) and (-0.6 , 0.4) .. (-0.6, 0.8 ) .. controls (-0.6 , 1.3) and (-0.35, 1.5) .. ( 0.0, 1.5) .. controls ( 0.35, 1.5) and ( 0.6 , 1.3) .. ( 0.6, 0.75) -- cycle;
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname pighookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
-%
-% Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifpig@back
- \pig@part@draw[\pig@body] (-0.2402, 0.9823) .. controls (-0.2994, 1.0582) and (-0.3721, 1.0651) .. (-0.4024, 0.9978) .. controls (-0.4327, 0.9305) and (-0.4092, 0.8145) .. (-0.35, 0.7386) .. controls (-0.3311, 0.7145) and (-0.3101, 0.6964) .. (-0.289, 0.6862) .. controls (-0.2755, 0.7023) and (-0.2498, 0.7563) .. (-0.2498, 0.7563) .. controls (-0.2498, 0.7563) and (-0.1790, 0.731) .. (-0.1611, 0.746) .. controls (-0.1611, 0.746) and (-0.1809, 0.9064) .. (-0.2402, 0.9823) -- cycle;
- \pig@part@draw[\pig@body] (0.2402, 0.9823) .. controls (0.2994, 1.0582) and (0.3721, 1.0651) .. (0.4024, 0.9978) .. controls (0.4327, 0.9305) and (0.4092, 0.8145) .. (0.35, 0.7386) .. controls (0.3311, 0.7145) and (0.3101, 0.6964) .. (0.289, 0.6862) .. controls (0.2755, 0.7023) and (0.2498, 0.7563) .. (0.2498, 0.7563) .. controls (0.2498, 0.7563) and (0.1790, 0.731) .. (0.1611, 0.746) .. controls (0.1611, 0.746) and (0.1809, 0.9064) .. (0.2402, 0.9823) -- cycle;
-\fi
-%
-% Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pig@part@draw[\pig@body!55!white] (0,1.64) ellipse[x radius=.5, y radius=.5];
-%
-% Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifpig@back
-%
-% Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pig@part@draw[\pig@eye] (-0.09, 1.82) circle[radius=0.02];
-\pig@part@draw[\pig@eye] ( 0.09, 1.82) circle[radius=0.02];
-%
-% Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pig@part@draw[\pig@body] (0, 1.62) ellipse[x radius=0.18, y radius=0.14];
-\pig@part@draw[gray] (-0.06, 1.62) circle[radius=0.035];
-\pig@part@draw[gray] ( 0.06, 1.62) circle[radius=0.035];
-%
-% Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifpig@threeD
- \draw[gray!70!black,line width=\scalingfactor*0.4pt] (0.105, 1.46) arc [start angle=-50, end angle=-130, radius=0.16] ;
-\else
- \ifpig@contour
- \draw[\pig@contour,line width=\scalingfactor*0.4pt] (0.105, 1.46) arc [start angle=-50, end angle=-130, radius=0.16] ;
- \else
- \draw[gray,line width=\scalingfactor*0.4pt] (0.105, 1.46) arc [start angle=-50, end angle=-130, radius=0.16] ;
- \fi
-\fi
-%
-% Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pig@part@draw[\pig@body] (0.3216,0.15) arc (-15:195:0.12) -- (0.16,0.15) to [bend left] (0.25,0.15) -- cycle;
-\pig@part@draw[\pig@body] (-0.3216,0.15) arc (195:-15:0.12) -- (-0.16,0.15) to[bend right] (-0.25,0.15) --cycle;
-%
-\fi
-%
-% Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pig@part@draw[\pig@body] (0.22, 2.0392) .. controls (0.22, 2.1584) and (0.49460, 2.255) .. (0.49460, 2.255) .. controls (0.49460, 2.255) and (0.5300, 1.86) .. (0.3721, 1.86) .. controls (0.2891, 1.86) and (0.22, 1.9201) .. (0.22, 2.0392) -- cycle;
-\pig@part@draw[\pig@body!55!white] (0.22, 2.0392) .. controls (0.26, 2.1584) and (0.47, 2.22) .. (0.47, 2.20) .. controls (0.47, 2.2) and (0.49, 1.9) .. (0.3721, 1.9) .. controls (0.2891, 1.88) and (0.22, 1.88) .. (0.22, 2.0392) -- cycle;
-\pig@part@draw[\pig@body] (-0.22, 2.0392) .. controls (-0.22, 2.1584) and (-0.49460, 2.255) .. (-0.49460, 2.255) .. controls (-0.49460, 2.255) and (-0.5300, 1.86) .. (-0.3721, 1.86) .. controls (-0.2891, 1.86) and (-0.22, 1.9201) .. (-0.22, 2.0392) -- cycle;
-\pig@part@draw[\pig@body!55!white] (-0.22, 2.0392) .. controls (-0.26, 2.1584) and (-0.47, 2.22) .. (-0.47, 2.20) .. controls (-0.47, 2.2) and (-0.49, 1.9) .. (-0.3721, 1.9) .. controls (-0.2891, 1.88) and (-0.22, 1.88) .. (-0.22, 2.0392) -- cycle;
-%
-% Tail if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifpig@back
- \ifpig@contour
- \draw[\pig@contour,line width=\scalingfactor*0.8pt] (0.8431, 0.583) .. controls (0.8609, 0.4063) and (0.7006, 0.361) .. (0.6384, 0.4293) .. controls (0.5762, 0.4976) and (0.5613, 0.6052) .. (0.6551, 0.629) .. controls (0.7537, 0.6541) and (0.7759, 0.5628) .. (0.7455, 0.4948) .. controls (0.6412, 0.2697) and (0.3543, 0.356) .. (0.2638, 0.4238) .. controls (0.1967, 0.4779) and (0.1788, 0.6076) .. (0.3192, 0.633) .. controls (0.6000, 0.6836) and (0.5130, 0.3048) .. (0.2098, 0.3322) .. controls (0.0809, 0.3438) and (0.0809, 0.5236) .. (0.0809, 0.5236);
- \else
- \draw[\pig@body,line width=\scalingfactor*0.8pt] (0.8431, 0.583) .. controls (0.8609, 0.4063) and (0.7006, 0.361) .. (0.6384, 0.4293) .. controls (0.5762, 0.4976) and (0.5613, 0.6052) .. (0.6551, 0.629) .. controls (0.7537, 0.6541) and (0.7759, 0.5628) .. (0.7455, 0.4948) .. controls (0.6412, 0.2697) and (0.3543, 0.356) .. (0.2638, 0.4238) .. controls (0.1967, 0.4779) and (0.1788, 0.6076) .. (0.3192, 0.633) .. controls (0.6000, 0.6836) and (0.5130, 0.3048) .. (0.2098, 0.3322) .. controls (0.0809, 0.3438) and (0.0809, 0.5236) .. (0.0809, 0.5236);
- \fi
-\fi
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname pighookbody\endcsname
-\csname tikzlinghookbody\endcsname
-%
-}
+%\clearpage
+%\section[Pig]{Ms Piggy, the pig}
+%
+%\emph{Added on February 5th, 2019 to commemorate the Chinese year of the pig}
+%
+%\subsection{Package name}
+%
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-pigs}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
+%
+%\subsection{Basic Usage}
+%
+%\begin{tcblisting}{}
+%\pig
+%\end{tcblisting}
+%
+%\subsection{Options}
+%
+%The basic pig can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\pig[body=blue]
+%\end{tcblisting}
+%
+%In addition to the colour of the body, the colour of various body parts can be adjusted:
+%\begin{tcblisting}{}
+%\pig[eye=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\pig[tail=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\pig[mouth=red]
+%\end{tcblisting}
+%
+%To view the pig from behind:
+%\begin{tcblisting}{}
+%\pig[back]
+%\end{tcblisting}
+%
+%The key \lstinline|3D| will make the pig 3-dimensional:
+%\begin{tcblisting}{}
+%\pig[3D]
+%\end{tcblisting}
+%
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\pig[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-rhinos.sty b/graphics/pgf/contrib/tikzlings/tikzlings-rhinos.sty
index c804c424bc..53eaf36bfc 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-rhinos.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-rhinos.sty
@@ -1,18 +1,18 @@
-% !TeX root = ./examples/rhino.tex
+ % !TeX root = ./examples/rhino.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% This package is part of the TikZlings package
-% A package to bring cute little animals and other beings into tikz
-% Maintained by samcarter
-%
-% Project repository and bug tracker:
-% https://github.com/samcarter/tikzlings
-%
-% Released under the LaTeX Project Public License v1.3c or later
-% See http://www.latex-project.org/lppl.txt
-%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-rhinos}[2021/04/16 version v0.6 Drawing rhinos in TikZ]
+\ProvidesPackage{tikzlings-rhinos}[2021/08/06 version v0.8 Drawing rhinos in TikZ]
\RequirePackage{tikz}
\RequirePackage{tikzlings-addons}
@@ -53,148 +53,207 @@
eye/.code = \def\rhino@eye{#1},
eye = white,
pupil/.code = \def\rhino@pupil{#1},
- pupil = black,
+ pupil = black,
+ mouth/.code = \def\rhino@mouth{#1},
+ mouth = \rhino@body!70!black,
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% options
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- 3D/.code = \rhino@threeDtrue,
+ 3D/.code = \rhino@threeDtrue
+ \def\rhino@mouth{black},
back/.code = \rhino@backtrue,
contour/.code = \rhino@contourtrue
- \def\rhino@contour{#1},
+ \def\rhino@contour{#1}
+ \def\rhino@mouth{#1},
contour/.default = black,
outline/.forward to = /rhino/contour,
}
\def\rhino@draw{%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.625,0.1) rectangle (0.625, 2.17);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifrhino@threeD
+ \def\rhino@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifrhino@contour
+ \def\rhino@part@draw[##1]{\draw[##1,\rhino@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\rhino@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname rhinohookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \rhino@part@draw[\rhino@body] (-0.1772, 2.0686) .. controls (-0.2057, 2.1602) and (-0.3552, 2.2076) .. (-0.3552, 2.1922) .. controls (-0.3552, 2.1922) and (-0.3694, 1.9615) .. (-0.2855, 1.9615) .. controls (-0.2264, 1.9462) and (-0.1772, 1.9462) .. (-0.1772, 2.0686) -- cycle;
+ \rhino@part@draw[\rhino@body] (0.1772, 2.0686) .. controls (0.2057, 2.1602) and (0.3552, 2.2076) .. (0.3552, 2.1922) .. controls (0.3552, 2.1922) and (0.3694, 1.9615) .. (0.2855, 1.9615) .. controls (0.2264, 1.9462) and (0.1772, 1.9462) .. (0.1772, 2.0686) -- cycle;
+ %
+ % Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifrhino@back
+ \begin{scope}
+ \clip (-0.5,0.4) rectangle (0.5,0.13);
+ \rhino@part@draw[\rhino@body] (-0.25,0.15) ellipse[x radius=0.16, y radius=0.17];
+ \rhino@part@draw[\rhino@body] (0.25,0.15) ellipse[x radius=0.16, y radius=0.17];
+ \end{scope}
+ \fi% back
+ %
+ % Nose if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifrhino@back
+ \rhino@part@draw[\rhino@body!80!white] (0, 1.55) ellipse[x radius=0.36, y radius=0.2];
+ \fi% back
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \rhino@part@draw[\rhino@body!55!white] ( 0.55, 0.8 ) .. controls ( 0.55 , 0.4) and ( 0.35, 0.19) .. ( 0.0, 0.19) .. controls (-0.35, 0.19) and (-0.55 , 0.4) .. (-0.55, 0.8 ) .. controls (-0.55 , 1.3) and (-0.35, 1.65) .. ( 0.0, 1.65) .. controls ( 0.35, 1.65) and ( 0.55 , 1.3) .. ( 0.55, 0.75) -- cycle;
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname rhinohookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifrhino@back
+ \rhino@part@draw[\rhino@body] (0.3,1.0) ellipse[x radius=0.24, y radius=0.13, rotate=90];
+ \rhino@part@draw[\rhino@body] (-0.3,1.0) ellipse[x radius=0.24, y radius=0.13, rotate=-90];
+ \fi% back
+ %
+ % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \rhino@part@draw[\rhino@body!55!white] (0, 1.76) circle[radius=0.36];
+ %
+ % Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifrhino@back
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifrhino@contour
+ \rhino@part@draw[\rhino@eye] (-0.11, 1.83) ellipse[x radius=0.08, y radius=0.12];
+ \rhino@part@draw[\rhino@eye] (0.11, 1.83) ellipse[x radius=0.08, y radius=0.12];
+ \rhino@part@draw[\rhino@pupil] (-0.105, 1.78) ellipse[x radius=0.04, y radius=0.07];
+ \rhino@part@draw[\rhino@pupil] (0.105, 1.78) ellipse[x radius=0.04, y radius=0.07];
+ \else% contour
+ \fill[\rhino@eye] (-0.11, 1.83) ellipse[x radius=0.08, y radius=0.12];
+ \fill[\rhino@eye] (0.11, 1.83) ellipse[x radius=0.08, y radius=0.12];
+ \fill[\rhino@pupil] (-0.105, 1.78) ellipse[x radius=0.04, y radius=0.07];
+ \fill[\rhino@pupil] (0.105, 1.78) ellipse[x radius=0.04, y radius=0.07];
+ \fi% contour
+ %
+ % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \rhino@part@draw[\rhino@body!80!white] (0, 1.55) ellipse[x radius=0.36, y radius=0.2];
+ %
+ % Horn %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \rhino@part@draw[white!95!yellow] (0, 1.7911) .. controls (-0.0231, 1.7372) and (-0.0463, 1.6832) .. (-0.0642, 1.6274) .. controls (-0.0687, 1.6132) and (-0.0724, 1.5981) .. (-0.0678, 1.5834) .. controls (-0.0603, 1.552) and (-0.0287, 1.5287) .. (0, 1.531) .. controls (0.0287, 1.5287) and (0.0603, 1.552) .. (0.0678, 1.5834) .. controls (0.0724, 1.5981) and (0.0687, 1.6132) .. (0.0642, 1.6274) .. controls (0.0463, 1.6832) and (0.0231, 1.7372) .. (0, 1.7911) -- cycle;
+ %
+ % Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \draw[\rhino@mouth,line width=\scalingfactor*0.4pt] (0.125, 1.5) arc [start angle=-50, end angle=-130, radius=0.2] ;
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \begin{scope}
+ \clip (-0.5,0.4) rectangle (0.5,0.13);
+ \rhino@part@draw[\rhino@body] (-0.25,0.15) ellipse[x radius=0.16, y radius=0.17];
+ \rhino@part@draw[\rhino@body] (0.25,0.15) ellipse[x radius=0.16, y radius=0.17];
+ \rhino@part@draw[\rhino@toes] (0.25,0.13) ellipse[x radius=0.05, y radius=0.1];
+ \rhino@part@draw[\rhino@toes] (0.13,0.11) ellipse[x radius=0.05, y radius=0.1];
+ \rhino@part@draw[\rhino@toes] (0.37,0.11) ellipse[x radius=0.05, y radius=0.1];
+ \rhino@part@draw[\rhino@toes] (-0.25,0.13) ellipse[x radius=0.05, y radius=0.1];
+ \rhino@part@draw[\rhino@toes] (-0.13,0.11) ellipse[x radius=0.05, y radius=0.1];
+ \rhino@part@draw[\rhino@toes] (-0.37,0.11) ellipse[x radius=0.05, y radius=0.1];
+ \end{scope}
+ %
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname rhinohookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
+}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.625,0.1) rectangle (0.625, 2.17);
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifrhino@threeD
- \def\rhino@part@draw[##1]{\shade[ball color=##1]}
-\else
- \ifrhino@contour
- \def\rhino@part@draw[##1]{\draw[##1,\rhino@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\rhino@part@draw[##1]{\fill[##1]}
- \fi
-\fi
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Body parts (center: x=0)
-%
+%%
+%% Documentation
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\clearpage
+%\section[Rhino]{D\"urer, the rhino}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname rhinohookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
-%
-% Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\rhino@part@draw[\rhino@body] (-0.1772, 2.0686) .. controls (-0.2057, 2.1602) and (-0.3552, 2.2076) .. (-0.3552, 2.1922) .. controls (-0.3552, 2.1922) and (-0.3694, 1.9615) .. (-0.2855, 1.9615) .. controls (-0.2264, 1.9462) and (-0.1772, 1.9462) .. (-0.1772, 2.0686) -- cycle;
-\rhino@part@draw[\rhino@body] (0.1772, 2.0686) .. controls (0.2057, 2.1602) and (0.3552, 2.2076) .. (0.3552, 2.1922) .. controls (0.3552, 2.1922) and (0.3694, 1.9615) .. (0.2855, 1.9615) .. controls (0.2264, 1.9462) and (0.1772, 1.9462) .. (0.1772, 2.0686) -- cycle;
-%
-% Feet if back%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifrhino@back
- \begin{scope}
- \clip (-0.5,0.4) rectangle (0.5,0.13);
- \rhino@part@draw[\rhino@body] (-0.25,0.15) ellipse[x radius=0.16, y radius=0.17];
- \rhino@part@draw[\rhino@body] (0.25,0.15) ellipse[x radius=0.16, y radius=0.17];
- \end{scope}
-\fi
+%\emph{Named after Albrecht D\"urer who painted an amazing rhino merely based on stories}
%
-% Nose if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifrhino@back
- \rhino@part@draw[\rhino@body!80!white] (0, 1.55) ellipse[x radius=0.36, y radius=0.2];
-\fi
+%\subsection{Package name}
%
-% Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\rhino@part@draw[\rhino@body!55!white] ( 0.55, 0.8 ) .. controls ( 0.55 , 0.4) and ( 0.35, 0.19) .. ( 0.0, 0.19) .. controls (-0.35, 0.19) and (-0.55 , 0.4) .. (-0.55, 0.8 ) .. controls (-0.55 , 1.3) and (-0.35, 1.65) .. ( 0.0, 1.65) .. controls ( 0.35, 1.65) and ( 0.55 , 1.3) .. ( 0.55, 0.75) -- cycle;
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-rhinos}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname rhinohookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
+%\subsection{Basic Usage}
%
-% Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifrhino@back
- \rhino@part@draw[\rhino@body] (0.3,1.0) ellipse[x radius=0.24, y radius=0.13, rotate=90];
- \rhino@part@draw[\rhino@body] (-0.3,1.0) ellipse[x radius=0.24, y radius=0.13, rotate=-90];
-\fi
+%\begin{tcblisting}{}
+%\rhino
+%\end{tcblisting}
%
-% Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\rhino@part@draw[\rhino@body!55!white] (0, 1.76) circle[radius=0.36];
+%\subsection{Options}
%
-% Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifrhino@back
+%The basic rhino can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\rhino[body=blue]
+%\end{tcblisting}
%
-% Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifrhino@contour
- \rhino@part@draw[\rhino@eye] (-0.11, 1.83) ellipse[x radius=0.08, y radius=0.12];
- \rhino@part@draw[\rhino@eye] (0.11, 1.83) ellipse[x radius=0.08, y radius=0.12];
- \rhino@part@draw[\rhino@pupil] (-0.105, 1.78) ellipse[x radius=0.04, y radius=0.07];
- \rhino@part@draw[\rhino@pupil] (0.105, 1.78) ellipse[x radius=0.04, y radius=0.07];
-\else
- \fill[\rhino@eye] (-0.11, 1.83) ellipse[x radius=0.08, y radius=0.12];
- \fill[\rhino@eye] (0.11, 1.83) ellipse[x radius=0.08, y radius=0.12];
- \fill[\rhino@pupil] (-0.105, 1.78) ellipse[x radius=0.04, y radius=0.07];
- \fill[\rhino@pupil] (0.105, 1.78) ellipse[x radius=0.04, y radius=0.07];
-\fi
+%In addition to the colour of the body, the colour of various body parts can be adjusted:
+%\begin{tcblisting}{}
+%\rhino[eye=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\rhino[pupil=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\rhino[mouth=red]
+%\end{tcblisting}
%
-% Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\rhino@part@draw[\rhino@body!80!white] (0, 1.55) ellipse[x radius=0.36, y radius=0.2];
+%The hippo can also do its nails:
+%\begin{tcblisting}{}
+%\rhino[toes=red]
+%\end{tcblisting}
%
-% Horn %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\rhino@part@draw[white!95!yellow] (0, 1.7911) .. controls (-0.0231, 1.7372) and (-0.0463, 1.6832) .. (-0.0642, 1.6274) .. controls (-0.0687, 1.6132) and (-0.0724, 1.5981) .. (-0.0678, 1.5834) .. controls (-0.0603, 1.552) and (-0.0287, 1.5287) .. (0, 1.531) .. controls (0.0287, 1.5287) and (0.0603, 1.552) .. (0.0678, 1.5834) .. controls (0.0724, 1.5981) and (0.0687, 1.6132) .. (0.0642, 1.6274) .. controls (0.0463, 1.6832) and (0.0231, 1.7372) .. (0, 1.7911) -- cycle;
+%To view the rhino from behind:
+%\begin{tcblisting}{}
+%\rhino[back]
+%\end{tcblisting}
%
-% Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifrhino@threeD
- \draw[black,line width=\scalingfactor*0.4pt] (0.125, 1.5) arc [start angle=-50, end angle=-130, radius=0.2] ;
-\else
- \ifrhino@contour
- \draw[\rhino@contour,line width=\scalingfactor*0.4pt] (0.125, 1.5) arc [start angle=-50, end angle=-130, radius=0.2] ;
- \else
- \draw[\rhino@body!70!black,line width=\scalingfactor*0.4pt] (0.125, 1.5) arc [start angle=-50, end angle=-130, radius=0.2] ;
- \fi
-\fi
+%The key \lstinline|3D| will make the rhino 3-dimensional:
+%\begin{tcblisting}{}
+%\rhino[3D]
+%\end{tcblisting}
%
-% Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{scope}
- \clip (-0.5,0.4) rectangle (0.5,0.13);
- \rhino@part@draw[\rhino@body] (-0.25,0.15) ellipse[x radius=0.16, y radius=0.17];
- \rhino@part@draw[\rhino@body] (0.25,0.15) ellipse[x radius=0.16, y radius=0.17];
- \rhino@part@draw[\rhino@toes] (0.25,0.13) ellipse[x radius=0.05, y radius=0.1];
- \rhino@part@draw[\rhino@toes] (0.13,0.11) ellipse[x radius=0.05, y radius=0.1];
- \rhino@part@draw[\rhino@toes] (0.37,0.11) ellipse[x radius=0.05, y radius=0.1];
- \rhino@part@draw[\rhino@toes] (-0.25,0.13) ellipse[x radius=0.05, y radius=0.1];
- \rhino@part@draw[\rhino@toes] (-0.13,0.11) ellipse[x radius=0.05, y radius=0.1];
- \rhino@part@draw[\rhino@toes] (-0.37,0.11) ellipse[x radius=0.05, y radius=0.1];
-\end{scope}
-%
-\fi
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname rhinohookbody\endcsname
-\csname tikzlinghookbody\endcsname
-%
-}
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\rhino[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-sheep.sty b/graphics/pgf/contrib/tikzlings/tikzlings-sheep.sty
index 9ef0135463..14a02e4356 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-sheep.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-sheep.sty
@@ -1,18 +1,18 @@
-% !TeX root = ./examples/sheep.tex
+ % !TeX root = ./examples/sheep.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% This package is part of the TikZlings package
-% A package to bring cute little animals and other beings into tikz
-% Maintained by samcarter
-%
-% Project repository and bug tracker:
-% https://github.com/samcarter/tikzlings
-%
-% Released under the LaTeX Project Public License v1.3c or later
-% See http://www.latex-project.org/lppl.txt
-%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-sheep}[2021/04/16 version v0.6 Drawing sheep in TikZ]
+\ProvidesPackage{tikzlings-sheep}[2021/08/06 version v0.8 Drawing sheep in TikZ]
\RequirePackage{tikz}
\RequirePackage{tikzlings-addons}
@@ -55,157 +55,213 @@
body = brown!50!darkgray!97!yellow,
eye/.code = \def\sheep@eye{#1},
eye = \sheep@body!50!black,
+ nose/.code = \def\sheep@nose{#1},
+ nose = \sheep@body!50!black,
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% options
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- blush/.code = \sheep@blushtrue,
+ blush/.code = \sheep@blushtrue
+ \def\sheep@blushcolor{#1},
+ blush/.default = red,
monocle/.code = \sheep@monocletrue,
3D/.code = \sheep@threeDtrue,
back/.code = \sheep@backtrue,
contour/.code = \sheep@contourtrue
- \def\sheep@contour{#1},
+ \def\sheep@contour{#1}
+ \def\sheep@blushcolor{#1}
+ \def\sheep@nose{#1},
contour/.default = black,
outline/.forward to = /sheep/contour,
}
\def\sheep@draw{%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.7,0.08) rectangle (0.7,2.33);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifsheep@threeD
+ \def\sheep@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifsheep@contour
+ \def\sheep@part@draw[##1]{\draw[##1,\sheep@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\sheep@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname sheephookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \sheep@part@draw[\sheep@body] (0.22, 2.0392) .. controls (0.22, 2.1584) and (0.49460, 2.255) .. (0.49460, 2.255) .. controls (0.49460, 2.255) and (0.5300, 1.86) .. (0.3721, 1.86) .. controls (0.2891, 1.86) and (0.22, 1.9201) .. (0.22, 2.0392) -- cycle;
+ \sheep@part@draw[\sheep@body!55!white] (0.22, 2.0392) .. controls (0.26, 2.1584) and (0.47, 2.22) .. (0.47, 2.20) .. controls (0.47, 2.2) and (0.49, 1.9) .. (0.3721, 1.9) .. controls (0.2891, 1.88) and (0.22, 1.88) .. (0.22, 2.0392) -- cycle;
+ \sheep@part@draw[\sheep@body] (-0.22, 2.0392) .. controls (-0.22, 2.1584) and (-0.49460, 2.255) .. (-0.49460, 2.255) .. controls (-0.49460, 2.255) and (-0.5300, 1.86) .. (-0.3721, 1.86) .. controls (-0.2891, 1.86) and (-0.22, 1.9201) .. (-0.22, 2.0392) -- cycle;
+ \sheep@part@draw[\sheep@body!55!white] (-0.22, 2.0392) .. controls (-0.26, 2.1584) and (-0.47, 2.22) .. (-0.47, 2.20) .. controls (-0.47, 2.2) and (-0.49, 1.9) .. (-0.3721, 1.9) .. controls (-0.2891, 1.88) and (-0.22, 1.88) .. (-0.22, 2.0392) -- cycle;
+ %
+ % Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifsheep@back
+ \sheep@part@draw[\sheep@body] (0.3216,0.15) arc (-15:195:0.12) -- (0.16,0.15) to [bend left] (0.25,0.15) -- cycle;
+ \sheep@part@draw[\sheep@body] (-0.3216,0.15) arc (195:-15:0.12) -- (-0.16,0.15) to[bend right] (-0.25,0.15) --cycle;
+ \fi% back
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \sheep@part@draw[\sheep@body!50!darkgray,decorate,decoration={bumps,amplitude=\scalingfactor*2.5pt,segment length=\scalingfactor*10pt}] (0.595, 0.92) .. controls (0.595, 0.26) and (0.355, 0.18) .. (0, 0.18) .. controls (-0.355, 0.18) and (-0.595, 0.26) .. (-0.595, 0.92) .. controls (-0.605, 1.58) and (-0.335, 2.11) .. (0, 2.11) .. controls (0.335, 2.11) and (0.605, 1.58) .. (0.595, 0.92) -- cycle;
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname sheephookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifsheep@back
+ \sheep@part@draw[\sheep@body!45!white!95!orange] (-0.2402, 0.9823) .. controls (-0.2994, 1.0582) and (-0.3721, 1.0651) .. (-0.4024, 0.9978) .. controls (-0.4327, 0.9305) and (-0.4092, 0.8145) .. (-0.35, 0.7386) .. controls (-0.3311, 0.7145) and (-0.3101, 0.6964) .. (-0.289, 0.6862) .. controls (-0.2755, 0.7023) and (-0.2498, 0.7563) .. (-0.2498, 0.7563) .. controls (-0.2498, 0.7563) and (-0.1790, 0.731) .. (-0.1611, 0.746) .. controls (-0.1611, 0.746) and (-0.1809, 0.9064) .. (-0.2402, 0.9823) -- cycle;
+ \sheep@part@draw[\sheep@body!45!white!95!orange] (0.2402, 0.9823) .. controls (0.2994, 1.0582) and (0.3721, 1.0651) .. (0.4024, 0.9978) .. controls (0.4327, 0.9305) and (0.4092, 0.8145) .. (0.35, 0.7386) .. controls (0.3311, 0.7145) and (0.3101, 0.6964) .. (0.289, 0.6862) .. controls (0.2755, 0.7023) and (0.2498, 0.7563) .. (0.2498, 0.7563) .. controls (0.2498, 0.7563) and (0.1790, 0.731) .. (0.1611, 0.746) .. controls (0.1611, 0.746) and (0.1809, 0.9064) .. (0.2402, 0.9823) -- cycle;
+ \fi% back
+ %
+ % Hair %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \sheep@part@draw[\sheep@body!50!darkgray,decorate,decoration={bumps,amplitude=\scalingfactor*2.5pt,segment length=\scalingfactor*10pt}] (-0.275,1.98) -- (-0.2,2.2) -- (-0.008,2.2) -- (0.2,2.2) -- (0.275,1.98) -- cycle;
+ %
+ % Tail if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifsheep@back
+ \sheep@part@draw[\sheep@body!45!white!95!orange,rounded corners=\scalingfactor*0.1pt] (0,0.7) -- (0.08, 0.3236) arc (0:-180:\scalingfactor*2pt) -- cycle;
+ \fi% back
+ %
+ % Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifsheep@back
+ %
+ % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \sheep@part@draw[\sheep@body!45!white!95!orange] (0.4, 1.8) .. controls (0.4, 1.5) and (0.2, 1.25) .. (0, 1.16) .. controls (-0.2, 1.25) and (-0.4, 1.5) .. (-0.4, 1.8) .. controls (-0.34, 2.3) and (0.34, 2.3) .. (0.4, 1.8) -- cycle;
+ %
+ % Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \sheep@part@draw[\sheep@body] (0.22, 2.0392) .. controls (0.22, 2.1584) and (0.49460, 2.255) .. (0.49460, 2.255) .. controls (0.49460, 2.255) and (0.5300, 1.86) .. (0.3721, 1.86) .. controls (0.2891, 1.86) and (0.22, 1.9201) .. (0.22, 2.0392) -- cycle;
+ \sheep@part@draw[\sheep@body!55!white] (0.22, 2.0392) .. controls (0.26, 2.1584) and (0.47, 2.22) .. (0.47, 2.20) .. controls (0.47, 2.2) and (0.49, 1.9) .. (0.3721, 1.9) .. controls (0.2891, 1.88) and (0.22, 1.88) .. (0.22, 2.0392) -- cycle;
+ \sheep@part@draw[\sheep@body] (-0.22, 2.0392) .. controls (-0.22, 2.1584) and (-0.49460, 2.255) .. (-0.49460, 2.255) .. controls (-0.49460, 2.255) and (-0.5300, 1.86) .. (-0.3721, 1.86) .. controls (-0.2891, 1.86) and (-0.22, 1.9201) .. (-0.22, 2.0392) -- cycle;
+ \sheep@part@draw[\sheep@body!55!white] (-0.22, 2.0392) .. controls (-0.26, 2.1584) and (-0.47, 2.22) .. (-0.47, 2.20) .. controls (-0.47, 2.2) and (-0.49, 1.9) .. (-0.3721, 1.9) .. controls (-0.2891, 1.88) and (-0.22, 1.88) .. (-0.22, 2.0392) -- cycle;
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifsheep@back
+ \sheep@part@draw[\sheep@eye] (0.2, 1.66) circle[radius=0.06];
+ \sheep@part@draw[\sheep@eye] (-0.2, 1.66) circle[radius=0.06];
+ \fi% back
+ %
+ % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \draw[\sheep@nose,line width=\scalingfactor*0.8pt,line cap=round] (0.16,1.43) arc [start angle=-30, end angle=-150, radius=0.185] (0.0,1.335) -- (0,1.175);
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \sheep@part@draw[\sheep@body!45!white!95!orange] (0.3216,0.13) arc (-15:195:0.10) -- (0.16,0.13) to [bend left] (0.25,0.13) -- cycle;
+ \sheep@part@draw[\sheep@body!45!white!95!orange] (-0.3216,0.13) arc (195:-15:0.10) -- (-0.16,0.13) to[bend right] (-0.25,0.13) --cycle;
+ %
+ % Hair %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \sheep@part@draw[\sheep@body!50!darkgray,decorate,decoration={bumps,amplitude=\scalingfactor*2.5pt,segment length=\scalingfactor*10pt}] (-0.275,1.98) -- (-0.2,2.2) -- (-0.008,2.2) -- (0.2,2.2) -- (0.275,1.98) -- cycle;
+ %
+ % Blush %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifsheep@blush
+ \fill[\sheep@blushcolor,path fading=sheep@blush] (-0.25, 1.5) circle[radius=0.1];
+ \fill[\sheep@blushcolor,path fading=sheep@blush] (0.25, 1.5) circle[radius=0.1];
+ \fi% blush
+ %
+ % monocle %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifsheep@monocle
+ \draw[black,line width=\scalingfactor*0.4pt] (0.2, 1.66) circle[radius=0.09];
+ \draw[black,line width=\scalingfactor*0.4pt,rounded corners=\scalingfactor*0.01pt] (0.26,1.6) .. controls (0.3,1.54) .. (0.3,1.5) .. controls (0.28,1.45) .. (0.35,1.4);
+ \fi% monocle
+ %
+ \fi% end showing details only for front
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname sheephookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
+}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.7,0.08) rectangle (0.7,2.33);
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifsheep@threeD
- \def\sheep@part@draw[##1]{\shade[ball color=##1]}
-\else
- \ifsheep@contour
- \def\sheep@part@draw[##1]{\draw[##1,\sheep@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\sheep@part@draw[##1]{\fill[##1]}
- \fi
-\fi
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Body parts (center: x=0)
-%
+%%
+%% Documentation
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\clearpage
+%\section[Sheep]{Mókollur, the sheep}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname sheephookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
-%
-% Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\sheep@part@draw[\sheep@body] (0.22, 2.0392) .. controls (0.22, 2.1584) and (0.49460, 2.255) .. (0.49460, 2.255) .. controls (0.49460, 2.255) and (0.5300, 1.86) .. (0.3721, 1.86) .. controls (0.2891, 1.86) and (0.22, 1.9201) .. (0.22, 2.0392) -- cycle;
-\sheep@part@draw[\sheep@body!55!white] (0.22, 2.0392) .. controls (0.26, 2.1584) and (0.47, 2.22) .. (0.47, 2.20) .. controls (0.47, 2.2) and (0.49, 1.9) .. (0.3721, 1.9) .. controls (0.2891, 1.88) and (0.22, 1.88) .. (0.22, 2.0392) -- cycle;
-\sheep@part@draw[\sheep@body] (-0.22, 2.0392) .. controls (-0.22, 2.1584) and (-0.49460, 2.255) .. (-0.49460, 2.255) .. controls (-0.49460, 2.255) and (-0.5300, 1.86) .. (-0.3721, 1.86) .. controls (-0.2891, 1.86) and (-0.22, 1.9201) .. (-0.22, 2.0392) -- cycle;
-\sheep@part@draw[\sheep@body!55!white] (-0.22, 2.0392) .. controls (-0.26, 2.1584) and (-0.47, 2.22) .. (-0.47, 2.20) .. controls (-0.47, 2.2) and (-0.49, 1.9) .. (-0.3721, 1.9) .. controls (-0.2891, 1.88) and (-0.22, 1.88) .. (-0.22, 2.0392) -- cycle;
-%
-% Feet if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifsheep@back
- \sheep@part@draw[\sheep@body] (0.3216,0.15) arc (-15:195:0.12) -- (0.16,0.15) to [bend left] (0.25,0.15) -- cycle;
- \sheep@part@draw[\sheep@body] (-0.3216,0.15) arc (195:-15:0.12) -- (-0.16,0.15) to[bend right] (-0.25,0.15) --cycle;
-\fi
-%
-% Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\sheep@part@draw[\sheep@body!50!darkgray,decorate,decoration={bumps,amplitude=\scalingfactor*2.5pt,segment length=\scalingfactor*10pt}] (0.595, 0.92) .. controls (0.595, 0.26) and (0.355, 0.18) .. (0, 0.18) .. controls (-0.355, 0.18) and (-0.595, 0.26) .. (-0.595, 0.92) .. controls (-0.605, 1.58) and (-0.335, 2.11) .. (0, 2.11) .. controls (0.335, 2.11) and (0.605, 1.58) .. (0.595, 0.92) -- cycle;
-%
+%\emph{The sheep was kindly contributed by @Plergux. Mókollur is a bit silly and likes to goof off. This sheep's favourite food are boiled potatoes.}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname sheephookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
+%\subsection{Package name}
%
-% Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifsheep@back
- \sheep@part@draw[\sheep@body!45!white!95!orange] (-0.2402, 0.9823) .. controls (-0.2994, 1.0582) and (-0.3721, 1.0651) .. (-0.4024, 0.9978) .. controls (-0.4327, 0.9305) and (-0.4092, 0.8145) .. (-0.35, 0.7386) .. controls (-0.3311, 0.7145) and (-0.3101, 0.6964) .. (-0.289, 0.6862) .. controls (-0.2755, 0.7023) and (-0.2498, 0.7563) .. (-0.2498, 0.7563) .. controls (-0.2498, 0.7563) and (-0.1790, 0.731) .. (-0.1611, 0.746) .. controls (-0.1611, 0.746) and (-0.1809, 0.9064) .. (-0.2402, 0.9823) -- cycle;
- \sheep@part@draw[\sheep@body!45!white!95!orange] (0.2402, 0.9823) .. controls (0.2994, 1.0582) and (0.3721, 1.0651) .. (0.4024, 0.9978) .. controls (0.4327, 0.9305) and (0.4092, 0.8145) .. (0.35, 0.7386) .. controls (0.3311, 0.7145) and (0.3101, 0.6964) .. (0.289, 0.6862) .. controls (0.2755, 0.7023) and (0.2498, 0.7563) .. (0.2498, 0.7563) .. controls (0.2498, 0.7563) and (0.1790, 0.731) .. (0.1611, 0.746) .. controls (0.1611, 0.746) and (0.1809, 0.9064) .. (0.2402, 0.9823) -- cycle;
-\fi
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-sheep}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
%
-% Hair %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\sheep@part@draw[\sheep@body!50!darkgray,decorate,decoration={bumps,amplitude=\scalingfactor*2.5pt,segment length=\scalingfactor*10pt}] (-0.275,1.98) -- (-0.2,2.2) -- (-0.008,2.2) -- (0.2,2.2) -- (0.275,1.98) -- cycle;
+%\subsection{Basic Usage}
%
-% Tail if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifsheep@back
- \sheep@part@draw[\sheep@body!45!white!95!orange,rounded corners=\scalingfactor*0.1pt] (0,0.7) -- (0.08, 0.3236) arc (0:-180:\scalingfactor*2pt) -- cycle;
-\fi
+%\begin{tcblisting}{}
+%\sheep
+%\end{tcblisting}
%
-% Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifsheep@back
+%\subsection{Options}
%
-% Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifsheep@back
- \sheep@part@draw[\sheep@body!45!white!95!orange] (0.4, 1.8) .. controls (0.4, 1.5) and (0.2, 1.35) .. (0, 1.35) .. controls (-0.2, 1.35) and (-0.4, 1.5) .. (-0.4, 1.8) .. controls (-0.34, 2.3) and (0.34, 2.3) .. (0.4, 1.8) -- cycle;
-\else
- \sheep@part@draw[\sheep@body!45!white!95!orange] (0.4, 1.8) .. controls (0.4, 1.5) and (0.2, 1.25) .. (0, 1.16) .. controls (-0.2, 1.25) and (-0.4, 1.5) .. (-0.4, 1.8) .. controls (-0.34, 2.3) and (0.34, 2.3) .. (0.4, 1.8) -- cycle;
-\fi
+%The basic sheep can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\sheep[body=blue]
+%\end{tcblisting}
%
-% Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\sheep@part@draw[\sheep@body] (0.22, 2.0392) .. controls (0.22, 2.1584) and (0.49460, 2.255) .. (0.49460, 2.255) .. controls (0.49460, 2.255) and (0.5300, 1.86) .. (0.3721, 1.86) .. controls (0.2891, 1.86) and (0.22, 1.9201) .. (0.22, 2.0392) -- cycle;
-\sheep@part@draw[\sheep@body!55!white] (0.22, 2.0392) .. controls (0.26, 2.1584) and (0.47, 2.22) .. (0.47, 2.20) .. controls (0.47, 2.2) and (0.49, 1.9) .. (0.3721, 1.9) .. controls (0.2891, 1.88) and (0.22, 1.88) .. (0.22, 2.0392) -- cycle;
-\sheep@part@draw[\sheep@body] (-0.22, 2.0392) .. controls (-0.22, 2.1584) and (-0.49460, 2.255) .. (-0.49460, 2.255) .. controls (-0.49460, 2.255) and (-0.5300, 1.86) .. (-0.3721, 1.86) .. controls (-0.2891, 1.86) and (-0.22, 1.9201) .. (-0.22, 2.0392) -- cycle;
-\sheep@part@draw[\sheep@body!55!white] (-0.22, 2.0392) .. controls (-0.26, 2.1584) and (-0.47, 2.22) .. (-0.47, 2.20) .. controls (-0.47, 2.2) and (-0.49, 1.9) .. (-0.3721, 1.9) .. controls (-0.2891, 1.88) and (-0.22, 1.88) .. (-0.22, 2.0392) -- cycle;
-%
-% Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifsheep@back
- \sheep@part@draw[\sheep@eye] (0.2, 1.66) circle[radius=0.06];
- \sheep@part@draw[\sheep@eye] (-0.2, 1.66) circle[radius=0.06];
-\fi
+%In addition to the colour of the body, the colour of various body parts can be adjusted:
+%\begin{tcblisting}{}
+%\sheep[eye=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\sheep[nose=red]
+%\end{tcblisting}
%
-% Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifsheep@contour
- \draw[\sheep@contour,line width=\scalingfactor*0.8pt,line cap=round] (0.16,1.43) arc [start angle=-30, end angle=-150, radius=0.185] (0.0,1.335) -- (0,1.175);
-\else
- \draw[\sheep@body!50!black,line width=\scalingfactor*0.8pt,line cap=round] (0.16,1.43) arc [start angle=-30, end angle=-150, radius=0.185] (0.0,1.335) -- (0,1.175);
-\fi
+%The sheep can also blush
+%\begin{tcblisting}{}
+%\sheep[blush=red]
+%\end{tcblisting}
%
-% Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\sheep@part@draw[\sheep@body!45!white!95!orange] (0.3216,0.13) arc (-15:195:0.10) -- (0.16,0.13) to [bend left] (0.25,0.13) -- cycle;
-\sheep@part@draw[\sheep@body!45!white!95!orange] (-0.3216,0.13) arc (195:-15:0.10) -- (-0.16,0.13) to[bend right] (-0.25,0.13) --cycle;
+%and put on a monocle
+%\begin{tcblisting}{}
+%\sheep[monocle]
+%\end{tcblisting}
%
-% Hair %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\sheep@part@draw[\sheep@body!50!darkgray,decorate,decoration={bumps,amplitude=\scalingfactor*2.5pt,segment length=\scalingfactor*10pt}] (-0.275,1.98) -- (-0.2,2.2) -- (-0.008,2.2) -- (0.2,2.2) -- (0.275,1.98) -- cycle;
+%To view the sheep from behind:
+%\begin{tcblisting}{}
+%\sheep[back]
+%\end{tcblisting}
%
-% Blush %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifsheep@blush
- \ifsheep@contour
- \fill[\sheep@contour,path fading=sheep@blush] (-0.25, 1.5) circle[radius=0.1];
- \fill[\sheep@contour,path fading=sheep@blush] (0.25, 1.5) circle[radius=0.1];
- \else
- \fill[red,path fading=sheep@blush] (-0.25, 1.5) circle[radius=0.1];
- \fill[red,path fading=sheep@blush] (0.25, 1.5) circle[radius=0.1];
- \fi
-\fi
+%The key \lstinline|3D| will make the sheep 3-dimensional:
+%\begin{tcblisting}{}
+%\sheep[3D]
+%\end{tcblisting}
%
-% monocle %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifsheep@monocle
- \draw[black,line width=\scalingfactor*0.4pt] (0.2, 1.66) circle[radius=0.09];
- \draw[black,line width=\scalingfactor*0.4pt,rounded corners=\scalingfactor*0.01pt] (0.26,1.6) .. controls (0.3,1.54) .. (0.3,1.5) .. controls (0.28,1.45) .. (0.35,1.4);
-\fi
-%
-\fi % end showing details only for front
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname sheephookbody\endcsname
-\csname tikzlinghookbody\endcsname
-%
-}
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\sheep[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-sloths.sty b/graphics/pgf/contrib/tikzlings/tikzlings-sloths.sty
index 8543155b7b..f42a95aba2 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-sloths.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-sloths.sty
@@ -1,18 +1,18 @@
-% !TeX root = ./examples/sloth.tex
+ % !TeX root = ./examples/sloth.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% This package is part of the TikZlings package
-% A package to bring cute little animals and other beings into tikz
-% Maintained by samcarter
-%
-% Project repository and bug tracker:
-% https://github.com/samcarter/tikzlings
-%
-% Released under the LaTeX Project Public License v1.3c or later
-% See http://www.latex-project.org/lppl.txt
-%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-sloths}[2021/04/16 version v0.6 Drawing sloths in TikZ]
+\ProvidesPackage{tikzlings-sloths}[2021/08/06 version v0.8 Drawing sloths in TikZ]
\RequirePackage{tikz}
\RequirePackage{tikzlings-addons}
@@ -53,6 +53,10 @@
body = slothcol,
eye/.code = \def\sloth@eye{#1},
eye = black,
+ eyelid/.code = \def\sloth@eyelid{#1},
+ eyelid = \sloth@body!50!white,
+ mouth/.code = \def\sloth@mouth{#1},
+ mouth = \sloth@body!40!black,
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% options
@@ -62,206 +66,251 @@
3D/.code = \sloth@threeDtrue,
back/.code = \sloth@backtrue,
contour/.code = \sloth@contourtrue
- \def\sloth@contour{#1},
+ \def\sloth@contour{#1}
+ \def\sloth@mouth{#1}
+ \def\sloth@eyelid{#1},
contour/.default = black,
outline/.forward to = /sloth/contour,
}
\def\sloth@draw{%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.7,0.12) rectangle (0.7, 2.27);
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifsloth@threeD
- \def\sloth@part@draw[##1]{\shade[ball color=##1]}
-\else
- \ifsloth@contour
- \def\sloth@part@draw[##1]{\draw[##1,\sloth@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\sloth@part@draw[##1]{\fill[##1]}
- \fi
-\fi
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Body parts (center: x=0)
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname slothhookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
-%
-% Arms if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifsloth@back
- \sloth@part@draw[\sloth@body] (0.53,0.95) ellipse[x radius=0.1, y radius=0.27, rotate=10];
- \sloth@part@draw[\sloth@body] (-0.53,0.95) ellipse[x radius=0.1, y radius=0.27, rotate=-10];
-\fi
-%
-% Feet if back%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifsloth@back
- \fill[\sloth@body!50!black] (-0.125,0.265) ellipse[x radius=0.07, y radius=0.019,rotate=-10];
- \fill[\sloth@body!50!black] (-0.14,0.21) ellipse[x radius=0.07, y radius=0.017, rotate=-16];
- \fill[\sloth@body!50!black] (-0.16,0.165) ellipse[x radius=0.07, y radius=0.015, rotate=-22];
- \fill[\sloth@body!50!black] (0.125,0.265) ellipse[x radius=0.07, y radius=0.019, rotate=10];
- \fill[\sloth@body!50!black] (0.14,0.21) ellipse[x radius=0.07, y radius=0.017, rotate=16];
- \fill[\sloth@body!50!black] (0.16,0.165) ellipse[x radius=0.07, y radius=0.015, rotate=22];
- \sloth@part@draw[\sloth@body] (0.33,0.31) ellipse[x radius=0.25, y radius=0.13, rotate=25];
- \sloth@part@draw[\sloth@body] (-0.33,0.31) ellipse[x radius=0.25, y radius=0.13, rotate=-25];
-\fi
-%
-% Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\sloth@part@draw[\sloth@body!85!black] (0.53,0.85) .. controls (0.53,0.29) and (0.32,0.22) .. (0,0.22) .. controls (-0.32,0.22) and (-0.53,0.29) ..
-(-0.53,0.85) .. controls (-0.53,1.41) and (-0.32,1.87) .. (0,1.87) .. controls (0.33,1.87) and (0.53,1.41) .. (0.53,0.85) -- cycle;
-%
-% Belly %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifsloth@back
- \sloth@part@draw[\sloth@body!70!white] (0.36, 0.74) .. controls (0.36, 0.49) and (0.22, 0.41) .. (0, 0.41) .. controls (-0.22, 0.41) and (-0.36, 0.49) .. (-0.36, 0.74) .. controls (-0.36, 1) and (-0.22, 1.16) .. (0, 1.16) .. controls (0.22, 1.16) and (0.36, 1) .. (0.36, 0.74) -- cycle;
-\fi
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname slothhookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
-%
-% Hair %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\sloth@part@draw[\sloth@body] (-0.1128,2.0724) .. controls (-0.1128,2.0724) and (-0.1499,2.2329) .. (-0.0972,2.2525) .. controls (-0.1082,2.1318) and (-0.0047,2.0839) .. (-0.0047,2.0839) .. controls (-0.0047,2.0839) and (-0.0219,2.1866) .. (0.0145,2.1933) .. controls (0.0142,2.1159) and (0.0770,2.0884) .. (0.0770,2.0884) -- cycle;
-%
-% Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\sloth@part@draw[\sloth@body]
-( 0.50,1.67) .. controls ( 0.50,1.91) and ( 0.27,2.10) ..
-( 0.00,2.10) .. controls (-0.27,2.10) and (-0.50,1.91) .. (-0.50,1.67) .. controls (-0.50,1.43) and (-0.33,1.28) ..
-( 0.00,1.28) .. controls ( 0.33,1.28) and ( 0.50,1.43) ..
-( 0.50,1.67) -- cycle;
-%
-% Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifsloth@back
-%
-\sloth@part@draw[\sloth@body!50!white] ( 0.40,1.67) .. controls ( 0.40,1.90) and ( 0.12,2.09) .. ( 0.00,1.93) .. controls (-0.12,2.09) and (-0.40,1.90) .. (-0.40,1.67) .. controls (-0.40,1.45) and (-0.25,1.38) .. ( 0.00,1.38) .. controls ( 0.25,1.38) and ( 0.40,1.45) .. ( 0.40,1.67) -- cycle;
-%
-% behind the eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifsloth@contour
- \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (0.3785,1.5336) .. controls (0.3012,1.5864) and (0.1829,1.6693) .. (0.1377,1.7234) .. controls (0.1184,1.7464) and (0.1624,1.8242) .. (0.1906,1.8137) .. controls (0.2673,1.7851) and (0.3597,1.7125) .. (0.3994,1.6531) .. controls (0.4129,1.6328) and (0.3785,1.5336) .. (0.3785,1.5336) -- cycle;
- \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (-0.3785,1.5336) .. controls (-0.3012,1.5864) and (-0.1829,1.6693) .. (-0.1377,1.7234) .. controls (-0.1184,1.7464) and (-0.1624,1.8242) .. (-0.1906,1.8137) .. controls (-0.2673,1.7851) and (-0.3597,1.7125) .. (-0.3994,1.6531) .. controls (-0.4129,1.6328) and (-0.3785,1.5336) .. (-0.3785,1.5336) -- cycle;
-\else
- \fill[\sloth@body!60!black] (0.3785,1.5336) .. controls (0.3012,1.5864) and (0.1829,1.6693) .. (0.1377,1.7234) .. controls (0.1184,1.7464) and (0.1624,1.8242) .. (0.1906,1.8137) .. controls (0.2673,1.7851) and (0.3597,1.7125) .. (0.3994,1.6531) .. controls (0.4129,1.6328) and (0.3785,1.5336) .. (0.3785,1.5336) -- cycle;
- \fill[\sloth@body!60!black] (-0.3785,1.5336) .. controls (-0.3012,1.5864) and (-0.1829,1.6693) .. (-0.1377,1.7234) .. controls (-0.1184,1.7464) and (-0.1624,1.8242) .. (-0.1906,1.8137) .. controls (-0.2673,1.7851) and (-0.3597,1.7125) .. (-0.3994,1.6531) .. controls (-0.4129,1.6328) and (-0.3785,1.5336) .. (-0.3785,1.5336) -- cycle;
-\fi
-%
-% Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifsloth@sleeping
- \ifsloth@contour
- \fill[\sloth@contour] (0.195, 1.705) rectangle ++(0.005, 0.02);
- \fill[\sloth@contour,rotate around={22:(0.195, 1.76)}] (0.195, 1.705) rectangle ++(0.005, 0.02);
- \fill[\sloth@contour,rotate around={44:(0.195, 1.76)}] (0.195, 1.701) rectangle ++(0.005, 0.02);
- \fill[\sloth@contour,rotate around={-22:(0.195, 1.76)}] (0.195, 1.705) rectangle ++(0.005, 0.02);
- \fill[\sloth@contour,rotate around={-44:(0.195, 1.76)}] (0.195, 1.705) rectangle ++(0.005, 0.02);
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.7,0.12) rectangle (0.7, 2.27);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifsloth@threeD
+ \def\sloth@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifsloth@contour
+ \def\sloth@part@draw[##1]{\draw[##1,\sloth@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\sloth@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname slothhookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Arms if back %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifsloth@back
+ \sloth@part@draw[\sloth@body] (0.53,0.95) ellipse[x radius=0.1, y radius=0.27, rotate=10];
+ \sloth@part@draw[\sloth@body] (-0.53,0.95) ellipse[x radius=0.1, y radius=0.27, rotate=-10];
+ \fi% back
+ %
+ % Feet if back%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifsloth@back
+ \fill[\sloth@body!50!black] (-0.125,0.265) ellipse[x radius=0.07, y radius=0.019,rotate=-10];
+ \fill[\sloth@body!50!black] (-0.14,0.21) ellipse[x radius=0.07, y radius=0.017, rotate=-16];
+ \fill[\sloth@body!50!black] (-0.16,0.165) ellipse[x radius=0.07, y radius=0.015, rotate=-22];
+ \fill[\sloth@body!50!black] (0.125,0.265) ellipse[x radius=0.07, y radius=0.019, rotate=10];
+ \fill[\sloth@body!50!black] (0.14,0.21) ellipse[x radius=0.07, y radius=0.017, rotate=16];
+ \fill[\sloth@body!50!black] (0.16,0.165) ellipse[x radius=0.07, y radius=0.015, rotate=22];
+ \sloth@part@draw[\sloth@body] (0.33,0.31) ellipse[x radius=0.25, y radius=0.13, rotate=25];
+ \sloth@part@draw[\sloth@body] (-0.33,0.31) ellipse[x radius=0.25, y radius=0.13, rotate=-25];
+ \fi% back
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \sloth@part@draw[\sloth@body!85!black] (0.53,0.85) .. controls (0.53,0.29) and (0.32,0.22) .. (0,0.22) .. controls (-0.32,0.22) and (-0.53,0.29) ..
+ (-0.53,0.85) .. controls (-0.53,1.41) and (-0.32,1.87) .. (0,1.87) .. controls (0.33,1.87) and (0.53,1.41) .. (0.53,0.85) -- cycle;
+ %
+ % Belly %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifsloth@back
+ \sloth@part@draw[\sloth@body!70!white] (0.36, 0.74) .. controls (0.36, 0.49) and (0.22, 0.41) .. (0, 0.41) .. controls (-0.22, 0.41) and (-0.36, 0.49) .. (-0.36, 0.74) .. controls (-0.36, 1) and (-0.22, 1.16) .. (0, 1.16) .. controls (0.22, 1.16) and (0.36, 1) .. (0.36, 0.74) -- cycle;
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname slothhookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Hair %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \sloth@part@draw[\sloth@body] (-0.1128,2.0724) .. controls (-0.1128,2.0724) and (-0.1499,2.2329) .. (-0.0972,2.2525) .. controls (-0.1082,2.1318) and (-0.0047,2.0839) .. (-0.0047,2.0839) .. controls (-0.0047,2.0839) and (-0.0219,2.1866) .. (0.0145,2.1933) .. controls (0.0142,2.1159) and (0.0770,2.0884) .. (0.0770,2.0884) -- cycle;
+ %
+ % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \sloth@part@draw[\sloth@body]
+ ( 0.50,1.67) .. controls ( 0.50,1.91) and ( 0.27,2.10) ..
+ ( 0.00,2.10) .. controls (-0.27,2.10) and (-0.50,1.91) .. (-0.50,1.67) .. controls (-0.50,1.43) and (-0.33,1.28) ..
+ ( 0.00,1.28) .. controls ( 0.33,1.28) and ( 0.50,1.43) ..
+ ( 0.50,1.67) -- cycle;
+ %
+ % Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifsloth@back
%
- \fill[\sloth@contour] (-0.195, 1.705) rectangle ++(0.005, 0.02);
- \fill[\sloth@contour,rotate around={22:(-0.195, 1.76)}] (-0.195, 1.705) rectangle ++(0.005, 0.02);
- \fill[\sloth@contour,rotate around={44:(-0.195, 1.76)}] (-0.195, 1.705) rectangle ++(0.005, 0.02);
- \fill[\sloth@contour,rotate around={-22:(-0.195, 1.76)}] (-0.195, 1.705) rectangle ++(0.005, 0.02);
- \fill[\sloth@contour,rotate around={-44:(-0.195, 1.76)}] (-0.195, 1.701) rectangle ++(0.005, 0.02);
+ % Inner part of hat %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \sloth@part@draw[\sloth@body!50!white] ( 0.40,1.67) .. controls ( 0.40,1.90) and ( 0.12,2.09) .. ( 0.00,1.93) .. controls (-0.12,2.09) and (-0.40,1.90) .. (-0.40,1.67) .. controls (-0.40,1.45) and (-0.25,1.38) .. ( 0.00,1.38) .. controls ( 0.25,1.38) and ( 0.40,1.45) .. ( 0.40,1.67) -- cycle;
%
- \draw[\sloth@contour, fill=white,line width=\scalingfactor*0.4pt] (0.237, 1.743) .. controls (0.237, 1.712) and (0.157, 1.712) .. (0.157, 1.743) .. controls (0.157, 1.802) and (0.237, 1.802) .. (0.237, 1.743) -- cycle;
- \draw[\sloth@contour, fill=white,line width=\scalingfactor*0.4pt] (-0.237, 1.743) .. controls (-0.237, 1.712) and (-0.157, 1.712) .. (-0.157, 1.743) .. controls (-0.157, 1.802) and (-0.237, 1.802) .. (-0.237, 1.743) -- cycle;
- \else
- \fill[\sloth@body!50!white] (0.237, 1.743) .. controls (0.237, 1.712) and (0.157, 1.712) .. (0.157, 1.743) .. controls (0.157, 1.802) and (0.237, 1.802) .. (0.237, 1.743) -- cycle;
- \fill[\sloth@body!50!white] (-0.237, 1.743) .. controls (-0.237, 1.712) and (-0.157, 1.712) .. (-0.157, 1.743) .. controls (-0.157, 1.802) and (-0.237, 1.802) .. (-0.237, 1.743) -- cycle;
+ % behind the eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifsloth@contour
+ \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (0.3785,1.5336) .. controls (0.3012,1.5864) and (0.1829,1.6693) .. (0.1377,1.7234) .. controls (0.1184,1.7464) and (0.1624,1.8242) .. (0.1906,1.8137) .. controls (0.2673,1.7851) and (0.3597,1.7125) .. (0.3994,1.6531) .. controls (0.4129,1.6328) and (0.3785,1.5336) .. (0.3785,1.5336) -- cycle;
+ \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (-0.3785,1.5336) .. controls (-0.3012,1.5864) and (-0.1829,1.6693) .. (-0.1377,1.7234) .. controls (-0.1184,1.7464) and (-0.1624,1.8242) .. (-0.1906,1.8137) .. controls (-0.2673,1.7851) and (-0.3597,1.7125) .. (-0.3994,1.6531) .. controls (-0.4129,1.6328) and (-0.3785,1.5336) .. (-0.3785,1.5336) -- cycle;
+ \else% contour
+ \fill[\sloth@body!60!black] (0.3785,1.5336) .. controls (0.3012,1.5864) and (0.1829,1.6693) .. (0.1377,1.7234) .. controls (0.1184,1.7464) and (0.1624,1.8242) .. (0.1906,1.8137) .. controls (0.2673,1.7851) and (0.3597,1.7125) .. (0.3994,1.6531) .. controls (0.4129,1.6328) and (0.3785,1.5336) .. (0.3785,1.5336) -- cycle;
+ \fill[\sloth@body!60!black] (-0.3785,1.5336) .. controls (-0.3012,1.5864) and (-0.1829,1.6693) .. (-0.1377,1.7234) .. controls (-0.1184,1.7464) and (-0.1624,1.8242) .. (-0.1906,1.8137) .. controls (-0.2673,1.7851) and (-0.3597,1.7125) .. (-0.3994,1.6531) .. controls (-0.4129,1.6328) and (-0.3785,1.5336) .. (-0.3785,1.5336) -- cycle;
+ \fi% contour
%
- \fill[\sloth@body!50!white] (0.195, 1.705) rectangle ++(0.005, 0.02);
- \fill[\sloth@body!50!white,rotate around={22:(0.195, 1.76)}] (0.195, 1.705) rectangle ++(0.005, 0.02);
- \fill[\sloth@body!50!white,rotate around={44:(0.195, 1.76)}] (0.195, 1.701) rectangle ++(0.005, 0.02);
- \fill[\sloth@body!50!white,rotate around={-22:(0.195, 1.76)}] (0.195, 1.705) rectangle ++(0.005, 0.02);
- \fill[\sloth@body!50!white,rotate around={-44:(0.195, 1.76)}] (0.195, 1.705) rectangle ++(0.005, 0.02);
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifsloth@sleeping
+ \fill[\sloth@eyelid] (0.195, 1.705) rectangle ++(0.005, 0.02);
+ \fill[\sloth@eyelid,rotate around={22:(0.195, 1.76)}] (0.195, 1.705) rectangle ++(0.005, 0.02);
+ \fill[\sloth@eyelid,rotate around={44:(0.195, 1.76)}] (0.195, 1.701) rectangle ++(0.005, 0.02);
+ \fill[\sloth@eyelid,rotate around={-22:(0.195, 1.76)}] (0.195, 1.705) rectangle ++(0.005, 0.02);
+ \fill[\sloth@eyelid,rotate around={-44:(0.195, 1.76)}] (0.195, 1.705) rectangle ++(0.005, 0.02);
+ %
+ \fill[\sloth@eyelid] (-0.195, 1.705) rectangle ++(0.005, 0.02);
+ \fill[\sloth@eyelid,rotate around={22:(-0.195, 1.76)}] (-0.195, 1.705) rectangle ++(0.005, 0.02);
+ \fill[\sloth@eyelid,rotate around={44:(-0.195, 1.76)}] (-0.195, 1.705) rectangle ++(0.005, 0.02);
+ \fill[\sloth@eyelid,rotate around={-22:(-0.195, 1.76)}] (-0.195, 1.705) rectangle ++(0.005, 0.02);
+ \fill[\sloth@eyelid,rotate around={-44:(-0.195, 1.76)}] (-0.195, 1.701) rectangle ++(0.005, 0.02);
+ %
+ \sloth@part@draw[\sloth@eyelid] (0.237, 1.743) .. controls (0.237, 1.712) and (0.157, 1.712) .. (0.157, 1.743) .. controls (0.157, 1.802) and (0.237, 1.802) .. (0.237, 1.743) -- cycle;
+ \sloth@part@draw[\sloth@eyelid] (-0.237, 1.743) .. controls (-0.237, 1.712) and (-0.157, 1.712) .. (-0.157, 1.743) .. controls (-0.157, 1.802) and (-0.237, 1.802) .. (-0.237, 1.743) -- cycle;
+ \else% sleeping
+ \sloth@part@draw[\sloth@eye] (0.193,1.75) circle[radius=0.04];
+ \sloth@part@draw[\sloth@eye] (-0.193,1.75) circle[radius=0.04];
+ \fill[white] (-0.2 ,1.765) circle[radius=0.006];
+ \fill[white] ( 0.186,1.765) circle[radius=0.006];
+ \fi% sleeping
%
- \fill[\sloth@body!50!white] (-0.195, 1.705) rectangle ++(0.005, 0.02);
- \fill[\sloth@body!50!white,rotate around={22:(-0.195, 1.76)}] (-0.195, 1.705) rectangle ++(0.005, 0.02);
- \fill[\sloth@body!50!white,rotate around={44:(-0.195, 1.76)}] (-0.195, 1.705) rectangle ++(0.005, 0.02);
- \fill[\sloth@body!50!white,rotate around={-22:(-0.195, 1.76)}] (-0.195, 1.705) rectangle ++(0.005, 0.02);
- \fill[\sloth@body!50!white,rotate around={-44:(-0.195, 1.76)}] (-0.195, 1.701) rectangle ++(0.005, 0.02);
- \fi
-\else
- \sloth@part@draw[\sloth@eye] (0.193,1.75) circle[radius=0.04];
- \sloth@part@draw[\sloth@eye] (-0.193,1.75) circle[radius=0.04];
- \fill[white] (-0.2 ,1.765) circle[radius=0.006];
- \fill[white] ( 0.186,1.765) circle[radius=0.006];
-\fi
-%
-% Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\sloth@part@draw[\sloth@body!40!black] (0,1.665) ellipse[x radius=0.078, y radius=0.048];
-%
-% Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifsloth@contour
- \draw[\sloth@contour,line width=\scalingfactor*0.4pt] (0.115, 1.55) arc [start angle=-40, end angle=-140, radius=0.16];
-\else
- \draw[\sloth@body!40!black,line width=\scalingfactor*0.4pt] (0.115, 1.55) arc [start angle=-40, end angle=-140, radius=0.16];
-\fi
-%
-% Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\sloth@part@draw[\sloth@body] (-0.50, 1.24) .. controls (-0.54, 1.24) and (-0.55, 1.20) .. (-0.56, 1.17) .. controls (-0.61, 1.06) and (-0.63, 0.95) .. (-0.64, 0.83) .. controls (-0.64, 0.80) and (-0.64, 0.77) .. (-0.63, 0.74) .. controls (-0.57, 0.66) and (-0.47, 0.60) .. (-0.38, 0.56) .. controls (-0.31, 0.54) and (-0.23, 0.52) .. (-0.16, 0.54) .. controls (-0.12, 0.54) and (-0.10, 0.59) .. (-0.13, 0.61) .. controls (-0.17, 0.68) and (-0.24, 0.73) .. (-0.30, 0.77) .. controls (-0.34, 0.79) and (-0.38, 0.81) .. (-0.42, 0.83) .. controls (-0.41, 0.92) and (-0.41, 1.01) .. (-0.42, 1.09) .. controls (-0.43, 1.14) and (-0.44, 1.19) .. (-0.48, 1.23) .. controls (-0.48, 1.24) and (-0.49, 1.24) .. (-0.50, 1.24) -- cycle;
-\sloth@part@draw[\sloth@body] (0.50, 1.24) .. controls (0.54, 1.24) and (0.55, 1.20) .. (0.56, 1.17) .. controls (0.61, 1.06) and (0.63, 0.95) .. (0.64, 0.83) .. controls (0.64, 0.80) and (0.64, 0.77) .. (0.63, 0.74) .. controls (0.57, 0.66) and (0.47, 0.60) .. (0.38, 0.56) .. controls (0.31, 0.54) and (0.23, 0.52) .. (0.16, 0.54) .. controls (0.12, 0.54) and (0.10, 0.59) .. (0.13, 0.61) .. controls (0.17, 0.68) and (0.24, 0.73) .. (0.30, 0.77) .. controls (0.34, 0.79) and (0.38, 0.81) .. (0.42, 0.83) .. controls (0.41, 0.92) and (0.41, 1.01) .. (0.42, 1.09) .. controls (0.43, 1.14) and (0.44, 1.19) .. (0.48, 1.23) .. controls (0.48, 1.24) and (0.49, 1.24) .. (0.50, 1.24) -- cycle;
-%
-\ifsloth@contour
- \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (0.15, 0.61) ellipse[x radius=0.017, y radius=0.07, rotate=110];
- \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (0.17, 0.57) ellipse[x radius=0.015, y radius=0.07, rotate=117];
- \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (0.19, 0.53) ellipse[x radius=0.012, y radius=0.062, rotate=125];
+ % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \sloth@part@draw[\sloth@body!40!black] (0,1.665) ellipse[x radius=0.078, y radius=0.048];
+ %
+ % Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \draw[\sloth@mouth,line width=\scalingfactor*0.4pt] (0.115, 1.55) arc [start angle=-40, end angle=-140, radius=0.16];
+ %
+ % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \sloth@part@draw[\sloth@body] (-0.50, 1.24) .. controls (-0.54, 1.24) and (-0.55, 1.20) .. (-0.56, 1.17) .. controls (-0.61, 1.06) and (-0.63, 0.95) .. (-0.64, 0.83) .. controls (-0.64, 0.80) and (-0.64, 0.77) .. (-0.63, 0.74) .. controls (-0.57, 0.66) and (-0.47, 0.60) .. (-0.38, 0.56) .. controls (-0.31, 0.54) and (-0.23, 0.52) .. (-0.16, 0.54) .. controls (-0.12, 0.54) and (-0.10, 0.59) .. (-0.13, 0.61) .. controls (-0.17, 0.68) and (-0.24, 0.73) .. (-0.30, 0.77) .. controls (-0.34, 0.79) and (-0.38, 0.81) .. (-0.42, 0.83) .. controls (-0.41, 0.92) and (-0.41, 1.01) .. (-0.42, 1.09) .. controls (-0.43, 1.14) and (-0.44, 1.19) .. (-0.48, 1.23) .. controls (-0.48, 1.24) and (-0.49, 1.24) .. (-0.50, 1.24) -- cycle;
+ \sloth@part@draw[\sloth@body] (0.50, 1.24) .. controls (0.54, 1.24) and (0.55, 1.20) .. (0.56, 1.17) .. controls (0.61, 1.06) and (0.63, 0.95) .. (0.64, 0.83) .. controls (0.64, 0.80) and (0.64, 0.77) .. (0.63, 0.74) .. controls (0.57, 0.66) and (0.47, 0.60) .. (0.38, 0.56) .. controls (0.31, 0.54) and (0.23, 0.52) .. (0.16, 0.54) .. controls (0.12, 0.54) and (0.10, 0.59) .. (0.13, 0.61) .. controls (0.17, 0.68) and (0.24, 0.73) .. (0.30, 0.77) .. controls (0.34, 0.79) and (0.38, 0.81) .. (0.42, 0.83) .. controls (0.41, 0.92) and (0.41, 1.01) .. (0.42, 1.09) .. controls (0.43, 1.14) and (0.44, 1.19) .. (0.48, 1.23) .. controls (0.48, 1.24) and (0.49, 1.24) .. (0.50, 1.24) -- cycle;
+ %
+ \ifsloth@contour
+ \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (0.15, 0.61) ellipse[x radius=0.017, y radius=0.07, rotate=110];
+ \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (0.17, 0.57) ellipse[x radius=0.015, y radius=0.07, rotate=117];
+ \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (0.19, 0.53) ellipse[x radius=0.012, y radius=0.062, rotate=125];
+ %
+ \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (-0.15, 0.61) ellipse[x radius=0.017, y radius=0.07, rotate=-110];
+ \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (-0.17, 0.57) ellipse[x radius=0.015, y radius=0.07, rotate=-117];
+ \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (-0.19, 0.53) ellipse[x radius=0.012, y radius=0.062, rotate=-125];
+ \else% contour
+ \fill[\sloth@body!50!black] (0.15, 0.61) ellipse[x radius=0.017, y radius=0.07, rotate=110];
+ \fill[\sloth@body!50!black] (0.17, 0.57) ellipse[x radius=0.015, y radius=0.07, rotate=117];
+ \fill[\sloth@body!50!black] (0.19, 0.53) ellipse[x radius=0.012, y radius=0.062, rotate=125];
+ %
+ \fill[\sloth@body!50!black] (-0.15, 0.61) ellipse[x radius=0.017, y radius=0.07, rotate=-110];
+ \fill[\sloth@body!50!black] (-0.17, 0.57) ellipse[x radius=0.015, y radius=0.07, rotate=-117];
+ \fill[\sloth@body!50!black] (-0.19, 0.53) ellipse[x radius=0.012, y radius=0.062, rotate=-125];
+ \fi% contour
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \sloth@part@draw[\sloth@body] (0.33,0.31) ellipse[x radius=0.25, y radius=0.13, rotate=25];
+ \sloth@part@draw[\sloth@body] (-0.33,0.31) ellipse[x radius=0.25, y radius=0.13, rotate=-25];
+ %
+ \ifsloth@contour
+ \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (-0.125,0.265) ellipse[x radius=0.07, y radius=0.019, rotate=-10];
+ \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (-0.14,0.21) ellipse[x radius=0.07, y radius=0.017, rotate=-16];
+ \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (-0.16,0.165) ellipse[x radius=0.07, y radius=0.015, rotate=-22];
+ \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (0.125,0.265) ellipse[x radius=0.07, y radius=0.019, rotate=10];
+ \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (0.14,0.21) ellipse[x radius=0.07, y radius=0.017, rotate=16];
+ \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (0.16,0.165) ellipse[x radius=0.07, y radius=0.015, rotate=22];
+ \else% contour
+ \fill[\sloth@body!50!black] (-0.125,0.265) ellipse[x radius=0.07, y radius=0.019, rotate=-10];
+ \fill[\sloth@body!50!black] (-0.14,0.21) ellipse[x radius=0.07, y radius=0.017, rotate=-16];
+ \fill[\sloth@body!50!black] (-0.16,0.165) ellipse[x radius=0.07, y radius=0.015, rotate=-22];
+ \fill[\sloth@body!50!black] (0.125,0.265) ellipse[x radius=0.07, y radius=0.019, rotate=10];
+ \fill[\sloth@body!50!black] (0.14,0.21) ellipse[x radius=0.07, y radius=0.017, rotate=16];
+ \fill[\sloth@body!50!black] (0.16,0.165) ellipse[x radius=0.07, y radius=0.015, rotate=22];
+ \fi% contour
+ %
+ \fi% back
%
- \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (-0.15, 0.61) ellipse[x radius=0.017, y radius=0.07, rotate=-110];
- \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (-0.17, 0.57) ellipse[x radius=0.015, y radius=0.07, rotate=-117];
- \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (-0.19, 0.53) ellipse[x radius=0.012, y radius=0.062, rotate=-125];
-\else
- \fill[\sloth@body!50!black] (0.15, 0.61) ellipse[x radius=0.017, y radius=0.07, rotate=110];
- \fill[\sloth@body!50!black] (0.17, 0.57) ellipse[x radius=0.015, y radius=0.07, rotate=117];
- \fill[\sloth@body!50!black] (0.19, 0.53) ellipse[x radius=0.012, y radius=0.062, rotate=125];
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname slothhookbody\endcsname
+ \csname tikzlinghookbody\endcsname
%
- \fill[\sloth@body!50!black] (-0.15, 0.61) ellipse[x radius=0.017, y radius=0.07, rotate=-110];
- \fill[\sloth@body!50!black] (-0.17, 0.57) ellipse[x radius=0.015, y radius=0.07, rotate=-117];
- \fill[\sloth@body!50!black] (-0.19, 0.53) ellipse[x radius=0.012, y radius=0.062, rotate=-125];
-\fi
-%
-% Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\sloth@part@draw[\sloth@body] (0.33,0.31) ellipse[x radius=0.25, y radius=0.13, rotate=25];
-\sloth@part@draw[\sloth@body] (-0.33,0.31) ellipse[x radius=0.25, y radius=0.13, rotate=-25];
-%
-\ifsloth@contour
- \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (-0.125,0.265) ellipse[x radius=0.07, y radius=0.019, rotate=-10];
- \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (-0.14,0.21) ellipse[x radius=0.07, y radius=0.017, rotate=-16];
- \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (-0.16,0.165) ellipse[x radius=0.07, y radius=0.015, rotate=-22];
- \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (0.125,0.265) ellipse[x radius=0.07, y radius=0.019, rotate=10];
- \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (0.14,0.21) ellipse[x radius=0.07, y radius=0.017, rotate=16];
- \draw[\sloth@contour,fill=white,line width=\scalingfactor*0.4pt] (0.16,0.165) ellipse[x radius=0.07, y radius=0.015, rotate=22];
-\else
- \fill[\sloth@body!50!black] (-0.125,0.265) ellipse[x radius=0.07, y radius=0.019, rotate=-10];
- \fill[\sloth@body!50!black] (-0.14,0.21) ellipse[x radius=0.07, y radius=0.017, rotate=-16];
- \fill[\sloth@body!50!black] (-0.16,0.165) ellipse[x radius=0.07, y radius=0.015, rotate=-22];
- \fill[\sloth@body!50!black] (0.125,0.265) ellipse[x radius=0.07, y radius=0.019, rotate=10];
- \fill[\sloth@body!50!black] (0.14,0.21) ellipse[x radius=0.07, y radius=0.017, rotate=16];
- \fill[\sloth@body!50!black] (0.16,0.165) ellipse[x radius=0.07, y radius=0.015, rotate=22];
-\fi
-%
-\fi
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname slothhookbody\endcsname
-\csname tikzlinghookbody\endcsname
-%
}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Documentation
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\clearpage
+%\section[Sloth]{Riley, the sloth}
+%
+%\emph{One of good souls behind the TugBoat once met a sloth called Riley}
+%
+%\subsection{Package name}
+%
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-sloths}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
+%
+%\subsection{Basic Usage}
+%
+%\begin{tcblisting}{}
+%\sloth
+%\end{tcblisting}
+%
+%\subsection{Options}
+%
+%The basic sloth can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\sloth[body=blue]
+%\end{tcblisting}
+%
+%In addition to the colour of the body, the colour of various body parts can be adjusted:
+%\begin{tcblisting}{}
+%\sloth[eye=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\sloth[mouth=red]
+%\end{tcblisting}
+%
+%If tired, the sloth can take a nap:
+%\begin{tcblisting}{}
+%\sloth[sleeping]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\sloth[sleeping,eyelid=red]
+%\end{tcblisting}
+%
+%To view the sloth from behind:
+%\begin{tcblisting}{}
+%\sloth[back]
+%\end{tcblisting}
+%
+%The key \lstinline|3D| will make the sloth 3-dimensional:
+%\begin{tcblisting}{}
+%\sloth[3D]
+%\end{tcblisting}
+%
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\sloth[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-snowmen.sty b/graphics/pgf/contrib/tikzlings/tikzlings-snowmen.sty
index a7b194cf27..5b5f851352 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-snowmen.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-snowmen.sty
@@ -1,18 +1,18 @@
-% !TeX root = ./examples/snowman.tex
+ % !TeX root = ./examples/snowman.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% This package is part of the TikZlings package
-% A package to bring cute little animals and other beings into tikz
-% Maintained by samcarter
-%
-% Project repository and bug tracker:
-% https://github.com/samcarter/tikzlings
-%
-% Released under the LaTeX Project Public License v1.3c or later
-% See http://www.latex-project.org/lppl.txt
-%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-snowmen}[2021/04/16 version v0.6 Draw snowmen in TikZ]
+\ProvidesPackage{tikzlings-snowmen}[2021/08/06 version v0.8 Draw snowmen in TikZ]
\RequirePackage{tikz}
\RequirePackage{tikzlings-addons}
@@ -76,128 +76,196 @@
}
\def\snowman@draw{%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.75, 0.0) rectangle (0.75, 2.13);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifsnowman@threeD
+ \def\snowman@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifsnowman@contour
+ \def\snowman@part@draw[##1]{\draw[##1,\snowman@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\snowman@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname snowmanhookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Global warming %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifsnowman@globalwarming
+ %
+ % Puddle %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifsnowman@contour
+ \draw[\snowman@contour,fill=white,line width=\scalingfactor*0.4pt] (0,1.15) ellipse[x radius=1.6,y radius=1.15];
+ \else% contour
+ \fill[\snowman@globalwarming] (0,1.15) ellipse[x radius=1.6,y radius=1.15];
+ \fi% contour
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname snowmanhookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \fill[\snowman@mouth] (0,1.23) circle[radius=0.025];
+ \fill[\snowman@mouth] (0.06,1.3) circle[radius=0.025];
+ \fill[\snowman@mouth] (-0.06,1.27) circle[radius=0.025];
+ \fill[\snowman@mouth] (0.09,1.37) circle[radius=0.025];
+ \fill[\snowman@mouth] (-0.18,1.28) circle[radius=0.025];
+ \fill[\snowman@mouth] (0.2,1.28) circle[radius=0.025];
+ \fill[\snowman@mouth] (-0.25,1.2) circle[radius=0.025];
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \snowman@part@draw[\snowman@eye] (-0.5,1.75) circle[radius=0.06];
+ \snowman@part@draw[\snowman@eye] (-0.1,1.55) circle[radius=0.06];
+ %
+ % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \snowman@part@draw[\snowman@nose] (-0.6,1.4) -- (-0.8,1.42) -- (-0.6,1.54) (-0.6,1.4) arc[radius=0.07, start angle=-90, end angle=90];
+ %
+ % Buttons %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \snowman@part@draw[\snowman@buttons] (0.1,0.8) circle[radius=0.06];
+ \snowman@part@draw[\snowman@buttons] (-0.15,0.55) circle[radius=0.06];
+ \snowman@part@draw[\snowman@buttons] (0,0.25) circle[radius=0.06];
+ %
+ % normal snowman %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \else% global warming
+ %
+ % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \snowman@part@draw[\snowman@body] (0.5,1.1) ellipse[x radius=0.3, y radius=0.12, rotate=-50];
+ \snowman@part@draw[\snowman@body] (-0.5,1.1) ellipse[x radius=0.3, y radius=0.12, rotate=50];
+ %
+ % Body + Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \snowman@part@draw[\snowman@body] (0,0.5) ellipse[x radius=0.6, y radius=0.5];
+ \snowman@part@draw[\snowman@body] (0,1.1) ellipse[x radius=0.5, y radius=0.4];
+ \snowman@part@draw[\snowman@body] (0,1.7) circle[radius=0.4];
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname snowmanhookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifsnowman@back
+ %
+ % Mouth% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \fill[\snowman@mouth] (0,1.5) circle[radius=0.016];
+ \fill[\snowman@mouth] (0.04,1.507) circle[radius=0.016];
+ \fill[\snowman@mouth] (-0.04,1.507) circle[radius=0.016];
+ \fill[\snowman@mouth] (0.08,1.522) circle[radius=0.016];
+ \fill[\snowman@mouth] (-0.08,1.522) circle[radius=0.016];
+ \fill[\snowman@mouth] (0.12,1.543) circle[radius=0.016];
+ \fill[\snowman@mouth] (-0.12,1.543) circle[radius=0.016];
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \snowman@part@draw[\snowman@eye] (-0.155,1.8) circle[radius=0.04];
+ \snowman@part@draw[\snowman@eye] (0.155,1.8) circle[radius=0.04];
+ %
+ % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \snowman@part@draw[\snowman@nose] (0,1.72) arc [radius=0.05, start angle=90, end angle=270] (0,1.62) -- (0.15,1.64) -- (0,1.72);
+ %
+ % Buttons %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \snowman@part@draw[\snowman@buttons] (0,1.15) circle[radius=0.04];
+ \snowman@part@draw[\snowman@buttons] (0,0.95) circle[radius=0.04];
+ \snowman@part@draw[\snowman@buttons] (0,0.75) circle[radius=0.04];
+ %
+ \fi% back
+ %
+ \fi% global warming
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname snowmanhookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
+}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
+%%
+%% Documentation
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.75, 0.0) rectangle (0.75, 2.13);
+%\clearpage
+%\section[Snowman]{Yuki, the snowman}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\emph{Yuki is the transcription of the Japanese word for snow}
%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+%\subsection{Package name}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-snowmen}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
+%\subsection{Basic Usage}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifsnowman@threeD
- \def\snowman@part@draw[##1]{\shade[ball color=##1]}
-\else
- \ifsnowman@contour
- \def\snowman@part@draw[##1]{\draw[##1,\snowman@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\snowman@part@draw[##1]{\fill[##1]}
- \fi
-\fi
+%\begin{tcblisting}{}
+%\snowman
+%\end{tcblisting}
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\subsection{Options}
%
-% Body parts
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%The basic snowman can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\snowman[body=blue]
+%\end{tcblisting}
%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname snowmanhookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
+%In addition to the colour of the body, the colour of various body parts can be adjusted:
+%\begin{tcblisting}{}
+%\snowman[eye=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\snowman[nose=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\snowman[mouth=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\snowman[buttons=red]
+%\end{tcblisting}
%
-% Global warming %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifsnowman@globalwarming
- %
- % Puddle %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \ifsnowman@contour
- \draw[\snowman@contour,fill=white,line width=\scalingfactor*0.4pt] (0,1.15) ellipse[x radius=1.6,y radius=1.15];
- \else
- \fill[\snowman@globalwarming] (0,1.15) ellipse[x radius=1.6,y radius=1.15];
- \fi
- %
- % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \csname snowmanhookbelly\endcsname
- \csname tikzlinghookbelly\endcsname
- %
- % Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \fill[\snowman@mouth] (0,1.23) circle[radius=0.025];
- \fill[\snowman@mouth] (0.06,1.3) circle[radius=0.025];
- \fill[\snowman@mouth] (-0.06,1.27) circle[radius=0.025];
- \fill[\snowman@mouth] (0.09,1.37) circle[radius=0.025];
- \fill[\snowman@mouth] (-0.18,1.28) circle[radius=0.025];
- \fill[\snowman@mouth] (0.2,1.28) circle[radius=0.025];
- \fill[\snowman@mouth] (-0.25,1.2) circle[radius=0.025];
- %
- % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \snowman@part@draw[\snowman@eye] (-0.5,1.75) circle[radius=0.06];
- \snowman@part@draw[\snowman@eye] (-0.1,1.55) circle[radius=0.06];
- %
- % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \snowman@part@draw[\snowman@nose] (-0.6,1.4) -- (-0.8,1.42) -- (-0.6,1.54) (-0.6,1.4) arc[radius=0.07, start angle=-90, end angle=90];
- %
- % Buttons %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \snowman@part@draw[\snowman@buttons] (0.1,0.8) circle[radius=0.06];
- \snowman@part@draw[\snowman@buttons] (-0.15,0.55) circle[radius=0.06];
- \snowman@part@draw[\snowman@buttons] (0,0.25) circle[radius=0.06];
+%The biggest enemy of the snowman are raising temperatures:
+%\begin{tcblisting}{}
+%\snowman[globalwarming,tophat]
+%\end{tcblisting}
%
-% normal snowman %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\else
- %
- % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \snowman@part@draw[\snowman@body] (0.5,1.1) ellipse[x radius=0.3, y radius=0.12, rotate=-50];
- \snowman@part@draw[\snowman@body] (-0.5,1.1) ellipse[x radius=0.3, y radius=0.12, rotate=50];
- %
- % Body + Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \snowman@part@draw[\snowman@body] (0,0.5) ellipse[x radius=0.6, y radius=0.5];
- \snowman@part@draw[\snowman@body] (0,1.1) ellipse[x radius=0.5, y radius=0.4];
- \snowman@part@draw[\snowman@body] (0,1.7) circle[radius=0.4];
- %
- % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \csname snowmanhookbelly\endcsname
- \csname tikzlinghookbelly\endcsname
- %
- % Show details only from the front %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \unless\ifsnowman@back
- %
- % Mouth% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \fill[\snowman@mouth] (0,1.5) circle[radius=0.016];
- \fill[\snowman@mouth] (0.04,1.507) circle[radius=0.016];
- \fill[\snowman@mouth] (-0.04,1.507) circle[radius=0.016];
- \fill[\snowman@mouth] (0.08,1.522) circle[radius=0.016];
- \fill[\snowman@mouth] (-0.08,1.522) circle[radius=0.016];
- \fill[\snowman@mouth] (0.12,1.543) circle[radius=0.016];
- \fill[\snowman@mouth] (-0.12,1.543) circle[radius=0.016];
- %
- % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \snowman@part@draw[\snowman@eye] (-0.155,1.8) circle[radius=0.04];
- \snowman@part@draw[\snowman@eye] (0.155,1.8) circle[radius=0.04];
- %
- % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \snowman@part@draw[\snowman@nose] (0,1.72) arc [radius=0.05, start angle=90, end angle=270] (0,1.62) -- (0.15,1.64) -- (0,1.72);
- %
- % Buttons %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \snowman@part@draw[\snowman@buttons] (0,1.15) circle[radius=0.04];
- \snowman@part@draw[\snowman@buttons] (0,0.95) circle[radius=0.04];
- \snowman@part@draw[\snowman@buttons] (0,0.75) circle[radius=0.04];
- %
-\fi\fi
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname snowmanhookbody\endcsname
-\csname tikzlinghookbody\endcsname
+%To view the snowman from behind:
+%\begin{tcblisting}{}
+%\snowman[back]
+%\end{tcblisting}
%
-}
+%The key \lstinline|3D| will make the snowman 3-dimensional:
+%\begin{tcblisting}{}
+%\snowman[3D]
+%\end{tcblisting}
+%
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\snowman[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings-squirrels.sty b/graphics/pgf/contrib/tikzlings/tikzlings-squirrels.sty
index 79a604bd74..2fc85db01f 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings-squirrels.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings-squirrels.sty
@@ -1,18 +1,18 @@
-% !TeX root = ./examples/squirrel.tex
+ % !TeX root = ./examples/squirrel.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% This package is part of the TikZlings package
-% A package to bring cute little animals and other beings into tikz
-% Maintained by samcarter
-%
-% Project repository and bug tracker:
-% https://github.com/samcarter/tikzlings
-%
-% Released under the LaTeX Project Public License v1.3c or later
-% See http://www.latex-project.org/lppl.txt
-%
+%%
+%% This package is part of the TikZlings package
+%% A package to bring cute little animals and other beings into tikz
+%% Maintained by samcarter
+%%
+%% Project repository and bug tracker:
+%% https://github.com/samcarter/tikzlings
+%%
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings-squirrels}[2021/04/16 version v0.6 Drawing squirrels in TikZ]
+\ProvidesPackage{tikzlings-squirrels}[2021/08/06 version v0.8 Drawing squirrels in TikZ]
\RequirePackage{tikz}
\RequirePackage{tikzlings-addons}
@@ -65,126 +65,177 @@
}
\def\squirrel@draw{%
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% minimal bounding box size
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\path (-0.53,0.1) rectangle (1.12,2.15);
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% store the current scale factor
-% from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
-\pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
-\pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
-\pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% switch between 2D, 3D and contours, from
-% https://chat.stackexchange.com/transcript/message/45991801#45991801
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifsquirrel@threeD
- \def\squirrel@part@draw[##1]{\shade[ball color=##1]}
-\else
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % minimal bounding box size
+ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \path (-0.53,0.1) rectangle (1.12,2.15);
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % store the current scale factor
+ % from https://github.com/samcarter/tikzlings/issues/3#issuecomment-461373494
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
+ \pgfmathsetmacro{\scalingfactor}{sqrt(abs(\tmpscaleA*\tmpscaleD-\tmpscaleB*\tmpscaleC))*sqrt(abs((\pgf@xx/1cm)*(\pgf@yy/1cm)-(\pgf@xy/1cm)*(\pgf@yx/1cm)))}%
+ \pgfmathsetmacro{\xscalefactor}{\tmpscaleA}
+ \pgfmathsetmacro{\yscalefactor}{\tmpscaleD}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % switch between 2D, 3D and contours, from
+ % https://chat.stackexchange.com/transcript/message/45991801#45991801
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifsquirrel@threeD
+ \def\squirrel@part@draw[##1]{\shade[ball color=##1]}
+ \else% 3D
+ \ifsquirrel@contour
+ \def\squirrel@part@draw[##1]{\draw[##1,\squirrel@contour,fill=white,line width=\scalingfactor*0.4pt]}
+ \else% contour
+ \def\squirrel@part@draw[##1]{\fill[##1]}
+ \fi% contour
+ \fi% 3D
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Body parts
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname squirrelhookbackground\endcsname
+ \csname tikzlinghookbackground\endcsname
+ %
+ % Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \squirrel@part@draw[\squirrel@body!70!brown!50!darkgray] (0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
+ \squirrel@part@draw[\squirrel@body!70!brown!50!darkgray] (-0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
+ %
+ % Tail %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifsquirrel@back
+ \squirrel@part@draw[\squirrel@body!70!brown!50!darkgray]
+ (0.9795, 1.089) .. controls (0.9795, 1.089) and (1.0684, 1.2135) .. (1.0837, 1.2877) .. controls (1.1483, 1.6164) and (0.7470, 1.8317) .. (0.5217, 1.7097) .. controls (0.3005, 1.5585) and (0.3397, 1.2578) .. (0.3951, 1.0501) .. controls (0.4419, 0.9023) and (0.5439, 0.6908) .. (0.4287, 0.5889) .. controls (0.3845, 0.5503) and (0.2295, 0.4255) .. (0.0123, 0.3869) .. controls (0.3032, 0.1931) and (1.0822, 0.6445) .. (0.8789, 1.0501) .. controls (0.8607, 1.114) and (0.8154, 1.1881) .. (0.8716, 1.2309) .. controls (0.9325, 1.2193) and (0.9536, 1.1463) .. (0.9795, 1.089) -- cycle;
+ \fi% back
+ %
+ % Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \squirrel@part@draw[\squirrel@body]
+ (0.5,0.5) .. controls (0.5,0.09) and (-0.5,0.09) .. (-0.5,0.5) .. controls (-0.5,0.85) and (-0.25,1.6) .. (0,1.7) .. controls (0.25,1.6) and (0.5,0.85) .. (0.5,0.5) -- cycle;
+ %
+ % Belly %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \unless\ifsquirrel@back
+ \squirrel@part@draw[\squirrel@body!85!white] (0.35,0.5) .. controls (0.35,0.22) and (-0.35,0.22) .. (-0.35,0.5) .. controls (-0.35,0.7) and (-0.17,1.2) .. (0,1.2) .. controls (0.17,1.2) and (0.35,0.7) .. (0.35,0.5) -- cycle;
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname squirrelhookbelly\endcsname
+ \csname tikzlinghookbelly\endcsname
+ %
+ % Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \squirrel@part@draw[\squirrel@body!70!brown!50!darkgray] (0.1920,1.9906) .. controls (0.1657,2.0780) and (0.1839,2.1332) .. (0.1839,2.1332) .. controls (0.1839,2.1332) and (0.1123,2.1773) .. (0.0941,2.0720) .. controls (0.0716,2.0156) and (0.0753,1.9519) .. (0.1023,1.9293) .. controls (0.1293,1.9068) and (0.1696,1.9342) .. (0.1920,1.9906) -- cycle;
+ \squirrel@part@draw[\squirrel@body!70!brown!50!darkgray]
+ (-0.1920,1.9906) .. controls (-0.1657,2.0780) and (-0.1839,2.1332) .. (-0.1839,2.1332) .. controls (-0.1839,2.1332) and (-0.1123,2.1773) .. (-0.0941,2.0720) .. controls (-0.0716,2.0156) and (-0.0753,1.9519) .. (-0.1023,1.9293) .. controls (-0.1293,1.9068) and (-0.1696,1.9342) .. (-0.1920,1.9906) -- cycle;
+ %
+ % Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ifsquirrel@contour
- \def\squirrel@part@draw[##1]{\draw[##1,\squirrel@contour,fill=white,line width=\scalingfactor*0.4pt]}
- \else
- \def\squirrel@part@draw[##1]{\fill[##1]}
- \fi
-\fi
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Body parts (center: x=0)
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname squirrelhookbackground\endcsname
-\csname tikzlinghookbackground\endcsname
-%
-% Feet %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\squirrel@part@draw[\squirrel@body!70!brown!50!darkgray] (0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
-\squirrel@part@draw[\squirrel@body!70!brown!50!darkgray] (-0.255,0.2) ellipse[x radius=0.23, y radius=0.09];
-%
-% Tail %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifsquirrel@back
- \squirrel@part@draw[\squirrel@body!70!brown!50!darkgray]
- (0.9795, 1.089) .. controls (0.9795, 1.089) and (1.0684, 1.2135) .. (1.0837, 1.2877) .. controls (1.1483, 1.6164) and (0.7470, 1.8317) .. (0.5217, 1.7097) .. controls (0.3005, 1.5585) and (0.3397, 1.2578) .. (0.3951, 1.0501) .. controls (0.4419, 0.9023) and (0.5439, 0.6908) .. (0.4287, 0.5889) .. controls (0.3845, 0.5503) and (0.2295, 0.4255) .. (0.0123, 0.3869) .. controls (0.3032, 0.1931) and (1.0822, 0.6445) .. (0.8789, 1.0501) .. controls (0.8607, 1.114) and (0.8154, 1.1881) .. (0.8716, 1.2309) .. controls (0.9325, 1.2193) and (0.9536, 1.1463) .. (0.9795, 1.089) -- cycle;
-\fi
-%
-% Body %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\squirrel@part@draw[\squirrel@body]
- (0.5,0.5) .. controls (0.5,0.09) and (-0.5,0.09) .. (-0.5,0.5) .. controls (-0.5,0.85) and (-0.25,1.6) .. (0,1.7) .. controls (0.25,1.6) and (0.5,0.85) .. (0.5,0.5) -- cycle;
-%
-% Belly %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\unless\ifsquirrel@back
- \squirrel@part@draw[\squirrel@body!85!white] (0.35,0.5) .. controls (0.35,0.22) and (-0.35,0.22) .. (-0.35,0.5) .. controls (-0.35,0.7) and (-0.17,1.2) .. (0,1.2) .. controls (0.17,1.2) and (0.35,0.7) .. (0.35,0.5) -- cycle;
-\fi
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname squirrelhookbelly\endcsname
-\csname tikzlinghookbelly\endcsname
-%
-% Ears %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\squirrel@part@draw[\squirrel@body!70!brown!50!darkgray] (0.1920,1.9906) .. controls (0.1657,2.0780) and (0.1839,2.1332) .. (0.1839,2.1332) .. controls (0.1839,2.1332) and (0.1123,2.1773) .. (0.0941,2.0720) .. controls (0.0716,2.0156) and (0.0753,1.9519) .. (0.1023,1.9293) .. controls (0.1293,1.9068) and (0.1696,1.9342) .. (0.1920,1.9906) -- cycle;
-\squirrel@part@draw[\squirrel@body!70!brown!50!darkgray]
-(-0.1920,1.9906) .. controls (-0.1657,2.0780) and (-0.1839,2.1332) .. (-0.1839,2.1332) .. controls (-0.1839,2.1332) and (-0.1123,2.1773) .. (-0.0941,2.0720) .. controls (-0.0716,2.0156) and (-0.0753,1.9519) .. (-0.1023,1.9293) .. controls (-0.1293,1.9068) and (-0.1696,1.9342) .. (-0.1920,1.9906) -- cycle;
-%
-% Head %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifsquirrel@contour
- \squirrel@part@draw[\squirrel@body] (0,1.75) circle[radius=0.3];
- \squirrel@part@draw[\squirrel@body] (0.2,1.6) circle[radius=0.15];
- \squirrel@part@draw[\squirrel@body] (-0.2,1.6) circle[radius=0.15];
- \ifsquirrel@back
\squirrel@part@draw[\squirrel@body] (0,1.75) circle[radius=0.3];
- \fi
-\else
- \squirrel@part@draw[\squirrel@body] (0,1.75) circle[radius=0.3] (0.2,1.6) circle[radius=0.15] (-0.2,1.6) circle[radius=0.15];
-\fi
-%
-\ifsquirrel@back
- % Tail %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \squirrel@part@draw[\squirrel@body!70!brown!50!darkgray]
- (0.9795, 1.089) .. controls (0.9795, 1.089) and (1.0684, 1.2135) .. (1.0837, 1.2877) .. controls (1.1483, 1.6164) and (0.7470, 1.8317) .. (0.5217, 1.7097) .. controls (0.3005, 1.5585) and (0.3397, 1.2578) .. (0.3951, 1.0501) .. controls (0.4419, 0.9023) and (0.5439, 0.6908) .. (0.4287, 0.5889) .. controls (0.3845, 0.5503) and (0.2295, 0.4255) .. (0.0123, 0.3869) .. controls (0.3032, 0.1931) and (1.0822, 0.6445) .. (0.8789, 1.0501) .. controls (0.8607, 1.114) and (0.8154, 1.1881) .. (0.8716, 1.2309) .. controls (0.9325, 1.2193) and (0.9536, 1.1463) .. (0.9795, 1.089) -- cycle;
-\else
-%
-% Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\squirrel@part@draw[\squirrel@body!70!brown!60!black] (0,1.66) ellipse[x radius=0.06, y radius=0.03];
-%
-% Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\squirrel@part@draw[\squirrel@eye] (0.07,1.78) ellipse[x radius=0.05, y radius=0.07];
-\squirrel@part@draw[\squirrel@eye] (-0.07,1.78) ellipse[x radius=0.05, y radius=0.07];
-\squirrel@part@draw[\squirrel@pupil] (0.07,1.76) ellipse[x radius=0.017, y radius=0.027];
-\squirrel@part@draw[\squirrel@pupil] (-0.07,1.76) ellipse[x radius=0.017, y radius=0.027];
-%
-% Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifsquirrel@contour
- \draw[\squirrel@contour,fill=white,line width=\scalingfactor*0.4pt] (-0.025,1.567) rectangle ++(0.02,0.03);
- \draw[\squirrel@contour,fill=white,line width=\scalingfactor*0.4pt] (0.025,1.567) rectangle ++(-0.02,0.03);
- \draw[\squirrel@contour,line width=\scalingfactor*0.4pt] (-0.15,1.61) .. controls (-0.15,1.61) and (-0.15,1.52) .. (0.0,1.61) .. controls (0.15,1.52) and (0.15,1.61) .. (0.15,1.61);
-\else
- \fill[white] (-0.025,1.567) rectangle ++(0.02,0.03);
- \fill[white] (0.025,1.567) rectangle ++(-0.02,0.03);
- \draw[\squirrel@body!70!brown!60!black,line width=\scalingfactor*0.4pt] (-0.15,1.61) .. controls (-0.15,1.61) and (-0.15,1.52) .. (0.0,1.61) .. controls (0.15,1.52) and (0.15,1.61) .. (0.15,1.61);
-\fi
-%
-% Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\squirrel@part@draw[\squirrel@body!70!brown!50!darkgray] (0.2,0.85) ellipse[x radius=0.22, y radius=0.11, rotate=70];
-\squirrel@part@draw[\squirrel@body!70!brown!50!darkgray] (-0.2,0.85) ellipse[x radius=0.22, y radius=0.11, rotate=-70];
-%
-\fi
-%
-% adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\csname squirrelhookbody\endcsname
-\csname tikzlinghookbody\endcsname
-%
+ \squirrel@part@draw[\squirrel@body] (0.2,1.6) circle[radius=0.15];
+ \squirrel@part@draw[\squirrel@body] (-0.2,1.6) circle[radius=0.15];
+ \ifsquirrel@back
+ \squirrel@part@draw[\squirrel@body] (0,1.75) circle[radius=0.3];
+ \fi% back
+ \else% contour
+ \squirrel@part@draw[\squirrel@body] (0,1.75) circle[radius=0.3] (0.2,1.6) circle[radius=0.15] (-0.2,1.6) circle[radius=0.15];
+ \fi% contour
+ %
+ \ifsquirrel@back
+ % Tail %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \squirrel@part@draw[\squirrel@body!70!brown!50!darkgray]
+ (0.9795, 1.089) .. controls (0.9795, 1.089) and (1.0684, 1.2135) .. (1.0837, 1.2877) .. controls (1.1483, 1.6164) and (0.7470, 1.8317) .. (0.5217, 1.7097) .. controls (0.3005, 1.5585) and (0.3397, 1.2578) .. (0.3951, 1.0501) .. controls (0.4419, 0.9023) and (0.5439, 0.6908) .. (0.4287, 0.5889) .. controls (0.3845, 0.5503) and (0.2295, 0.4255) .. (0.0123, 0.3869) .. controls (0.3032, 0.1931) and (1.0822, 0.6445) .. (0.8789, 1.0501) .. controls (0.8607, 1.114) and (0.8154, 1.1881) .. (0.8716, 1.2309) .. controls (0.9325, 1.2193) and (0.9536, 1.1463) .. (0.9795, 1.089) -- cycle;
+ \else% back
+ %
+ % Nose %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \squirrel@part@draw[\squirrel@body!70!brown!60!black] (0,1.66) ellipse[x radius=0.06, y radius=0.03];
+ %
+ % Eyes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \squirrel@part@draw[\squirrel@eye] (0.07,1.78) ellipse[x radius=0.05, y radius=0.07];
+ \squirrel@part@draw[\squirrel@eye] (-0.07,1.78) ellipse[x radius=0.05, y radius=0.07];
+ \squirrel@part@draw[\squirrel@pupil] (0.07,1.76) ellipse[x radius=0.017, y radius=0.027];
+ \squirrel@part@draw[\squirrel@pupil] (-0.07,1.76) ellipse[x radius=0.017, y radius=0.027];
+ %
+ % Mouth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ifsquirrel@contour
+ \draw[\squirrel@contour,fill=white,line width=\scalingfactor*0.4pt] (-0.025,1.567) rectangle ++(0.02,0.03);
+ \draw[\squirrel@contour,fill=white,line width=\scalingfactor*0.4pt] (0.025,1.567) rectangle ++(-0.02,0.03);
+ \draw[\squirrel@contour,line width=\scalingfactor*0.4pt] (-0.15,1.61) .. controls (-0.15,1.61) and (-0.15,1.52) .. (0.0,1.61) .. controls (0.15,1.52) and (0.15,1.61) .. (0.15,1.61);
+ \else% contour
+ \fill[white] (-0.025,1.567) rectangle ++(0.02,0.03);
+ \fill[white] (0.025,1.567) rectangle ++(-0.02,0.03);
+ \draw[\squirrel@body!70!brown!60!black,line width=\scalingfactor*0.4pt] (-0.15,1.61) .. controls (-0.15,1.61) and (-0.15,1.52) .. (0.0,1.61) .. controls (0.15,1.52) and (0.15,1.61) .. (0.15,1.61);
+ \fi% contour
+ %
+ % Arms %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \squirrel@part@draw[\squirrel@body!70!brown!50!darkgray] (0.2,0.85) ellipse[x radius=0.22, y radius=0.11, rotate=70];
+ \squirrel@part@draw[\squirrel@body!70!brown!50!darkgray] (-0.2,0.85) ellipse[x radius=0.22, y radius=0.11, rotate=-70];
+ %
+ \fi% back
+ %
+ % adding hook for users to customise %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \csname squirrelhookbody\endcsname
+ \csname tikzlinghookbody\endcsname
+ %
}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Documentation
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\clearpage
+%\section[Squirrel]{Ratatosk, the squirrel}
+%
+%\emph{named after the squirrel from Norse mythology who climbs around Yggdrasil}
+%
+%\subsection{Package name}
+%
+%\begin{tcolorbox}[lower separated=false, lefthand width=.8\linewidth]
+%\vspace*{0.5cm}
+%\lstinline|\usepackage{tikzlings-squirrels}|
+%\vspace*{0.5cm}
+%\end{tcolorbox}
+%
+%\subsection{Basic Usage}
+%
+%\begin{tcblisting}{}
+%\squirrel
+%\end{tcblisting}
+%
+%\subsection{Options}
+%
+%The basic squirrel can be modified by changing its colour:
+%\begin{tcblisting}{}
+%\squirrel[body=blue]
+%\end{tcblisting}
+%
+%In addition to the colour of the body, the colour of the eyes can be adjusted:
+%\begin{tcblisting}{}
+%\squirrel[eye=red]
+%\end{tcblisting}
+%\begin{tcblisting}{}
+%\squirrel[pupil=red]
+%\end{tcblisting}
+%
+%To view the squirrel from behind:
+%\begin{tcblisting}{}
+%\squirrel[back]
+%\end{tcblisting}
+%
+%The key \lstinline|3D| will make the squirrel 3-dimensional:
+%\begin{tcblisting}{}
+%\squirrel[3D]
+%\end{tcblisting}
+%
+%And finally the \lstinline|contour| key will only draw the outlines:
+%\begin{tcblisting}{}
+%\squirrel[contour=black]
+%\end{tcblisting}
diff --git a/graphics/pgf/contrib/tikzlings/tikzlings.sty b/graphics/pgf/contrib/tikzlings/tikzlings.sty
index 77e2bbc984..0413709e69 100644
--- a/graphics/pgf/contrib/tikzlings/tikzlings.sty
+++ b/graphics/pgf/contrib/tikzlings/tikzlings.sty
@@ -12,7 +12,7 @@
% See http://www.latex-project.org/lppl.txt
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{tikzlings}[2021/04/16 version v0.6 Collection of packages to draw animals and other beings in TikZ]
+\ProvidesPackage{tikzlings}[2021/08/06 version v0.8 Collection of packages to draw animals and other beings in TikZ]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
diff --git a/macros/generic/markdown/README.md b/macros/generic/markdown/README.md
index 99ee0367e3..62d857935a 100644
--- a/macros/generic/markdown/README.md
+++ b/macros/generic/markdown/README.md
@@ -2,10 +2,10 @@ Markdown
========
[![release](https://img.shields.io/github/release/witiko/markdown.svg)][release]
-[![CircleCI](https://circleci.com/gh/Witiko/markdown/tree/master.svg?style=shield)][CircleCI]
+[![ci](https://github.com/Witiko/markdown/workflows/Test/badge.svg)][ci]
- [CircleCI]: https://circleci.com/gh/Witiko/markdown/tree/master "CircleCI"
[release]: https://github.com/Witiko/markdown/releases/latest "Releases · Witiko/markdown"
+ [ci]: https://github.com/Witiko/markdown/actions "GitHub Actions"
The Markdown package converts [markdown][] markup to TeX commands. The
functionality is provided both as a Lua module, and as plain TeX, LaTeX, and
@@ -41,11 +41,14 @@ For further information, consult one of the following:
- [Writing Posters with Markdown][overleaf-5], and
- [Using Markdown in LaTeX documents][overleaf-6].
4. My journal articles published by [TUGboat][]:
- - [Using Markdown inside TeX documents][tb119], and
- - [Markdown 2.7.0: Towards lightweight markup in TeX][tb124].
+ - [Using Markdown inside TeX documents][tb119],
+ - [Markdown 2.7.0: Towards lightweight markup in TeX][tb124], and
+ - [Making Markdown into a Microwave Meal][tb129].
5. My journal articles published by [CSTUG][] (in Czech):
- [Rendering Markdown inside TeX Documents][10.5300/2016-1-4/78], and
- [Markdown 2.8.1: Boldly Unto the Throne of Lightweight Markup in TeX][10.5300/2020-1-2/48].
+6. My talks:
+ - [Five Years of Markdown in LaTeX: What, Why, How, and Whereto][pv212-fall2020] (in Czech).
[overleaf-1]: https://www.overleaf.com/learn/latex/Articles/How_to_write_in_Markdown_on_Overleaf "How to write in Markdown on Overleaf"
[overleaf-2]: https://www.overleaf.com/learn/latex/Articles/Markdown_into_LaTeX_with_Style "Markdown into LaTeX with Style"
@@ -56,10 +59,13 @@ For further information, consult one of the following:
[tb119]: https://www.tug.org/TUGboat/tb38-2/tb119novotny.pdf "Using Markdown inside TeX documents"
[tb124]: https://www.tug.org/TUGboat/tb40-1/tb124novotny-markdown.pdf "Markdown 2.7.0: Towards lightweight markup in TeX"
+ [tb129]: https://www.tug.org/TUGboat/tb41-3/tb129novotny-frozen.pdf "Making Markdown into a Microwave Meal"
[10.5300/2016-1-4/78]: https://bulletin.cstug.cz/pdf/2016-1-4.pdf#page=80 "Rendering Markdown inside TeX Documents"
[10.5300/2020-1-2/48]: https://bulletin.cstug.cz/pdf/2020-1-2.pdf#page=50 "Markdown 2.8.1: Boldly Unto the Throne of Lightweight Markup in TeX"
+ [pv212-fall2020]: https://is.muni.cz/el/fi/podzim2020/PV212/index.qwarp?prejit=5595952
+
[install]: http://mirrors.ctan.org/macros/generic/markdown/markdown.html#installation "Markdown Package User Manual"
[liantze]: http://liantze.penguinattack.org/ "Rants from the Lab"
[manual]: http://mirrors.ctan.org/macros/generic/markdown/markdown.html "Markdown Package User Manual"
@@ -99,13 +105,15 @@ the documentation, are placed in the `Makefile` file for ease of maintenance.
When the file `markdown.ins` is interpreted using a Unicode-aware TeX engine,
such as XeTeX (`xetex markdown.ins`) or LuaTeX (`luatex markdown.ins`), several
-files are produced from the `markdown.dtx` document. In `markdown.dtx`, the
-boundaries between the produced files are marked up using an XML-like syntax
-provided by the [DocStrip][] plain TeX package.
+files are produced from the `markdown.dtx` document. The `make base` command
+is provided by `Makefile` for convenience. In `markdown.dtx`, the boundaries
+between the produced files are marked up using an XML-like syntax provided by
+the [DocStrip][] plain TeX package.
Running the [LaTeXMK][] tool on the `markdown.dtx` file
(`latexmk markdown.dtx`) after the Markdown package has been
-[installed][install] typesets the documentation. In `markdown.dtx`, the
+[installed][install] typesets the documentation. The `make markdown.pdf`
+command is provided by `Makefile` for convenience. In `markdown.dtx`, the
documentation is placed inside TeX comments and marked up using the
[ltxdockit][] LaTeX document class. Support for typesetting the documentation
is provided by the [doc][] LaTeX package.
diff --git a/macros/generic/markdown/banner.png b/macros/generic/markdown/banner.png
new file mode 100644
index 0000000000..b95a90c2cb
--- /dev/null
+++ b/macros/generic/markdown/banner.png
Binary files differ
diff --git a/macros/generic/markdown/docstrip.cfg b/macros/generic/markdown/docstrip.cfg
index 60f15d3935..b1672cc298 100644
--- a/macros/generic/markdown/docstrip.cfg
+++ b/macros/generic/markdown/docstrip.cfg
@@ -22,7 +22,7 @@
-- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE^^J%
-- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.^^J%
-- ^^J%
--- Copyright (C) 2016-2020 Vít Novotný^^J%
+-- Copyright (C) 2016-2021 Vít Novotný^^J%
-- ^^J%
-- This work may be distributed and/or modified under the^^J%
-- conditions of the LaTeX Project Public License, either version 1.3^^J%
@@ -62,7 +62,7 @@
\let\luapostamble\empty
\declarepreamble\texpreamble
-Copyright (C) 2016-2020 Vít Novotný
+Copyright (C) 2016-2021 Vít Novotný
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
diff --git a/macros/generic/markdown/markdown.dtx b/macros/generic/markdown/markdown.dtx
index a3ebaecd88..f035985ca8 100644
--- a/macros/generic/markdown/markdown.dtx
+++ b/macros/generic/markdown/markdown.dtx
@@ -2,7 +2,7 @@
%<*driver>
\documentclass{ltxdockit}
\usepackage[american]{babel}
-\usepackage{amsmath,btxdockit,doc,fancyvrb,hologo,microtype,minted}
+\usepackage{amsmath,btxdockit,doc,fancyvrb,graphicx,hologo,microtype,minted}
\usepackage{fontspec}
\defaultfontfeatures[\rmfamily,\sffamily,\ttfamily]{}
@@ -21,6 +21,12 @@
\hypersetup{citecolor=spot}
\let\oldCodelineNo\theCodelineNo
\def\theCodelineNo{\textcolor[gray]{0.5}{\oldCodelineNo}}
+\makeatletter\renewcommand\fps@figure{htbp}\makeatother
+\setkeys{Gin}{
+ width = \columnwidth,
+ height = 0.65\paperheight,
+ keepaspectratio,
+}
% Define some markup.
\let\pkg\relax % A package name
@@ -58,6 +64,8 @@
html,
stripPercentSigns,
underscores=false,
+ theme=witiko/dot,
+ theme=witiko/graphicx/http,
]{markdown}
\markdownSetup{
renderers = {
@@ -93,6 +101,12 @@
% Set up the bibliography.
\begin{filecontents}[overwrite,nosearch,noheader]{markdown.bib}
+@book{tantau21,
+ author = {Till Tantau and Joseph Wright and Vedran Miletić},
+ title = {The Beamer class},
+ date = {2021-02-10},
+ url = {http://mirrors.ctan.org/macros/latex/contrib/beamer/doc/beameruserguide.pdf},
+ urldate = {2021-02-11}}
@online{sotkov17,
author = {Sotkov, Anton},
title = {File transclusion syntax for Markdown},
@@ -153,6 +167,12 @@
isbn = {0-201-13447-0},
pagetotal = {ix, 479},
publisher = {Addison-Wesley}}
+@online{novotny21,
+ author = {Novotný, Vít},
+ title = {\Hologo{LaTeX2e} no longer keys packages by pathnames},
+ date = {2021-02-20},
+ url = {https://github.com/latex3/latex2e/issues/510},
+ urldate = {2021-02-21}}
\end{filecontents}
\usepackage[
backend=biber,
@@ -577,11 +597,11 @@ documentation][techdoc].
% \fi
% \begin{macrocode}
local metadata = {
- version = "2.9.0",
+ version = "2.10.0",
comment = "A module for the conversion from markdown to plain TeX",
author = "John MacFarlane, Hans Hagen, Vít Novotný",
copyright = {"2009-2016 John MacFarlane, Hans Hagen",
- "2016-2020 Vít Novotný"},
+ "2016-2021 Vít Novotný"},
license = "LPPL 1.3"
}
@@ -660,7 +680,10 @@ This should produce the following files:
* `markdown.lua`, the Lua module,
* `markdown-cli.lua`, the Lua command-line interface,
* `markdown.tex`, the plain \TeX{} macro package,
- * `markdown.sty`, the \LaTeX{} package, and
+ * `markdown.sty`, the \LaTeX{} package,
+ * `markdownthemewitiko_dot.sty`, the `witiko/dot` \LaTeX{} theme,
+ * `markdownthemewitiko_graphicx_http.sty`, the `witiko/graphicx/http` \LaTeX{} theme,
+ * `markdownthemewitiko_tilde.sty`, the `witiko/tilde` \LaTeX{} theme, and
* `t-markdown.tex`, the \Hologo{ConTeXt} module.
### Local Installation
@@ -673,6 +696,9 @@ placed:
* `<TEXMF>/scripts/markdown/markdown-cli.lua`
* `<TEXMF>/tex/generic/markdown/markdown.tex`
* `<TEXMF>/tex/latex/markdown/markdown.sty`
+ * `<TEXMF>/tex/latex/markdown/markdownthemewitiko_dot.sty`
+ * `<TEXMF>/tex/latex/markdown/markdownthemewitiko_graphicx_http.sty`
+ * `<TEXMF>/tex/latex/markdown/markdownthemewitiko_tilde.sty`
* `<TEXMF>/tex/context/third/markdown/t-markdown.tex`
where `<TEXMF>` corresponds to a root of your \TeX{} distribution, such as
@@ -686,6 +712,11 @@ Alternatively, you can also store the above files in the same folder as your
\TeX{} document and distribute them together. This way your document can be
portably typeset on legacy \TeX{} distributions.
+Since Markdown version 2.10.0, the file `markdown.tex` must be placed in
+a directory named `markdown` due to [issue #74][issue-74].
+
+ [issue-74]: https://github.com/witiko/markdown/issues/74 (Does not compile if user names own document markdown.tex)
+
%</manual>
%<*lua>
% \fi
@@ -726,7 +757,18 @@ local lpeg = require("lpeg")
%
% \end{markdown}
% \begin{macrocode}
-local unicode = require("unicode")
+local ran_ok, unicode = pcall(require, "unicode")
+% \end{macrocode}
+% \begin{markdown}
+%
+% If the Selene Unicode library is unavailable and we are using
+% Lua${}\geq{}$5.3, we will use the built-in support for Unicode.
+%
+% \end{markdown}
+% \begin{macrocode}
+if not ran_ok then
+ unicode = {["utf8"]={char=utf8.char}}
+end
% \end{macrocode}
% \par
% \begin{markdown}
@@ -801,12 +843,19 @@ local md5 = require("md5")
% The \LaTeX{} part of the package requires that the \Hologo{LaTeX2e} format is
% loaded,
% \end{markdown}
+% \iffalse
+%<*latex-themes-witiko-dot,latex-themes-witiko-graphicx-http,latex-themes-witiko-tilde>
+% \fi
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}%
% \end{macrocode}
+% \iffalse
+%</latex-themes-witiko-dot,latex-themes-witiko-graphicx-http,latex-themes-witiko-tilde>
+% \fi
% \begin{markdown}
-% all the plain \TeX{} prerequisites (see Section \ref{sec:texprerequisites}),
-% and the following \Hologo{LaTeX2e} packages:
+% a \TeX{} engine that extends \Hologo{eTeX}, all the plain \TeX{}
+% prerequisites (see Section \ref{sec:texprerequisites}), and the following
+% \Hologo{LaTeX2e} packages:
%
% \pkg{keyval}
%
@@ -822,37 +871,38 @@ local md5 = require("md5")
% \par
% \begin{markdown}
%
-% \pkg{url}
+% \pkg{xstring}
%
-%: A package that provides the \m{url} macro for the typesetting of
-% \acro{url}s. It is used to provide the default token renderer prototype
-% (see Section \ref{sec:texrendererprototypes}) for links.
+%: A package that provides useful macros for manipulating strings of tokens.
%
% \end{markdown}
% \begin{macrocode}
-\RequirePackage{url}
+\RequirePackage{xstring}
% \end{macrocode}
% \par
% \begin{markdown}
%
+% The following packages are soft prerequisites and will not be loaded
+% if the `plain` package option has been enabled (see Section
+% \ref{sec:latexplain}):
+%
+% \pkg{url}
+%
+%: A package that provides the \m{url} macro for the typesetting of
+% \acro{url}s. It is used to provide the default token renderer
+% prototype (see Section \ref{sec:texrendererprototypes}) for links.
+%
% \pkg{graphicx}
%
%: A package that provides the \m{includegraphics} macro for the typesetting
% of images. It is used to provide the corresponding default token renderer
% prototype (see Section \ref{sec:texrendererprototypes}).
%
-% \end{markdown}
-% \begin{macrocode}
-\RequirePackage{graphicx}
-% \end{macrocode}
-% \par
-% \begin{markdown}
-%
% \pkg{paralist}
%
%: A package that provides the \envm{compactitem}, \envm{compactenum}, and
% \envm{compactdesc} macros for the typesetting of tight bulleted lists,
-% ordered lists, and definition lists. It is used to provide the
+% ordered lists, and definition lists. It is used to provide the
% corresponding default token renderer prototypes (see Section
% \ref{sec:texrendererprototypes}).
%
@@ -860,14 +910,9 @@ local md5 = require("md5")
%
%: A package that provides a concise syntax for the inspection of macro
% values. It is used to determine whether or not the \pkg{paralist} package
-% should be loaded based on the user options.
-%
-% \end{markdown}
-% \begin{macrocode}
-\RequirePackage{ifthen}
-% \end{macrocode}
-% \par
-% \begin{markdown}
+% should be loaded based on the user options, in the `witiko/dot` \LaTeX{}
+% theme (see Section \ref{sec:latexthemes}), and to provide default token
+% renderer prototypes (see Section \ref{sec:texrendererprototypes}).
%
% \pkg{fancyvrb}
%
@@ -876,34 +921,19 @@ local md5 = require("md5")
% corresponding default token renderer prototype (see Section
% \ref{sec:texrendererprototypes}).
%
-% \end{markdown}
-% \begin{macrocode}
-\RequirePackage{fancyvrb}
-% \end{macrocode}
-% \par
-% \begin{markdown}
-%
% \pkg{csvsimple}
%
%: A package that provides the default token renderer prototype for
% iA\,Writer content blocks with the \acro{csv} filename extension (see
% Section \ref{sec:texrendererprototypes}).
%
-% \end{markdown}
-% \begin{macrocode}
-\RequirePackage{csvsimple}
-% \end{macrocode}
-% \par
-% \begin{markdown}
-%
% \pkg{gobble}
%
-%: A package that provides the \m{\@gobblethree} \TeX{} command.
+%: A package that provides the \m{\@gobblethree} \TeX{} command that
+% is used in the default renderer prototype for citations (see
+% Section \ref{sec:texrendererprototypes}).
%
% \end{markdown}
-% \begin{macrocode}
-\RequirePackage{gobble}
-% \end{macrocode}
% \iffalse
%</latex>
%<*context>
@@ -963,8 +993,8 @@ Using a text editor, create a text document named `hello.lua` with the
following content:
``` lua
#!/usr/bin/env texlua
-local kpse = require("kpse")
-kpse.set_program_name("luatex")
+local ran_ok, kpse = pcall(require, "kpse")
+if ran_ok then kpse.set_program_name("luatex") end
local markdown = require("markdown")
local convert = markdown.new()
print(convert("Hello *world*!"))
@@ -1220,8 +1250,8 @@ Using a text editor, create a text document named `example.lua` with the
following content:
``` lua
#!/usr/bin/env texlua
-local kpse = require("kpse")
-kpse.set_program_name("luatex")
+local ran_ok, kpse = pcall(require, "kpse")
+if ran_ok then kpse.set_program_name("luatex") end
local markdown = require("markdown")
local input, convert_safe, convert_unsafe, paragraph
@@ -1308,7 +1338,10 @@ following content:
\input lmfonts
\input safe
+\begingroup
+\catcode`\%=12
\input unsafe
+\endgroup
\bye
```````
Using a text editor, create a text document named `example.md` with the
@@ -2677,13 +2710,13 @@ defaultOptions.breakableBlockquotes = false
%
: true
- : Replace regular spaces with non-breakable spaces inside the prenotes
+ : Replace regular spaces with non-breaking spaces inside the prenotes
and postnotes of citations produced via the pandoc citation syntax
extension.
false
- : Do not replace regular spaces with non-breakable spaces inside the
+ : Do not replace regular spaces with non-breaking spaces inside the
prenotes and postnotes of citations produced via the pandoc citation
syntax extension.
@@ -2729,7 +2762,7 @@ lualatex document.tex
lualatex document.tex
``````
A PDF document named `document.pdf` should be produced and contain the
-following text, where the middot (`·`) denotes a non-breakable space:
+following text, where the middot (`·`) denotes a non-breaking space:
> The TeXbook [1, p.·123·and·130] is good.
>
@@ -4506,7 +4539,10 @@ following content:
\input lmfonts
\input optionfalse
+\begingroup
+\catcode`\%=12
\input optiontrue
+\endgroup
\bye
```````
Using a text editor, create a text document named `content.md` with the
@@ -4666,7 +4702,7 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\documentclass{article}
-\usepackage[footnotes, inlineFootnotes]{markdown}
+\usepackage[inlineFootnotes]{markdown}
\begin{document}
\begin{markdown}
Here is an inline note.^[Inlines notes are easier to
@@ -4692,7 +4728,6 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionFootnotes{true}
\def\markdownOptionInlineFootnotes{true}
\starttext
\startmarkdown
@@ -4920,10 +4955,9 @@ following content:
``` tex
\documentclass{article}
\usepackage{markdown}
-\usepackage{filecontents}
-\begin{filecontents*}{example.md}
+\begin{filecontents}[overwrite,nosearch,noheader]{example.md}
## A section
-\end{filecontents*}
+\end{filecontents}
\begin{document}
\markdownInput[shiftHeadings=-1]{example.md}
\markdownInput{example.md}
@@ -5092,8 +5126,7 @@ following content:
``` tex
\documentclass{article}
\usepackage[headerAttributes]{markdown}
-\usepackage{filecontents}
-\begin{filecontents*}{hamlet.md}
+\begin{filecontents}[overwrite,nosearch,noheader]{hamlet.md}
# The Tragedy of Hamlet
Shakespeare's longest play.
@@ -5105,7 +5138,7 @@ Hamlet dies.
## Act I {#act-1}
Hamlet talks to ghost.
-\end{filecontents*}
+\end{filecontents}
\begin{document}
\markdownInput[slice=^ ^act-3]{hamlet.md}
\markdownInput[slice=act-1]{hamlet.md}
@@ -5328,7 +5361,9 @@ following content:
\usepackage{markdown}
\markdownSetup{
renderers = {
- ellipsis = {. . .} }}
+ ellipsis = {. . .}
+ }
+}
\begin{document}
\begin{markdown}
@@ -5520,6 +5555,109 @@ defaultOptions.startNumber = true
%</lua,lua-cli>
%<*manual-options>
+#### Option `stripIndent`
+
+`stripIndent` (default value: `false`)
+
+% \fi
+% \markdownBegin
+%
+% \Optitem[false]{stripIndent}{\opt{true}, \opt{false}}
+%
+: true
+
+ : Strip the minimal indentation of non-blank lines from all
+ lines in a markdown document. Requires that the
+ \Opt{preserveTabs} Lua option is \opt{false}:
+
+ ``` tex
+ \documentclass{article}
+ \usepackage[stripIndent]{markdown}
+ \begin{document}
+ \begin{markdown}
+ Hello *world*!
+ \end{markdown}
+ \end{document}
+ ```````
+
+: false
+
+ : Do not strip any indentation from the lines in a markdown
+ document.
+
+% \markdownEnd
+% \iffalse
+
+##### Plain \TeX{} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\input markdown
+\def\markdownOptionStripIndent{true}
+\markdownBegin
+ Hello *world*!
+\markdownEnd
+\bye
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+luatex document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the text
+“Hello *world*!”
+
+##### \LaTeX{} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\documentclass{article}
+\usepackage[stripIndent]{markdown}
+\begin{document}
+ \begin{markdown}
+ Hello *world*!
+ \end{markdown}
+\end{document}
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+lualatex document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+text “Hello *world*!”
+
+##### \Hologo{ConTeXt} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\usemodule[t][markdown]
+\def\markdownOptionStripIndent{true}
+\starttext
+ \startmarkdown
+ Hello *world*!
+ \stopmarkdown
+\stoptext
+````````
+Next, invoke LuaTeX from the terminal:
+``` sh
+context document.tex
+`````
+A PDF document named `document.pdf` should be produced and contain the
+text “Hello *world*!”
+
+%</manual-options>
+%<*lua,lua-cli>
+% \fi
+% \begin{macrocode}
+defaultOptions.stripIndent = false
+% \end{macrocode}
+% \par
+% \iffalse
+%</lua,lua-cli>
+%<*manual-options>
+
#### Option `tableCaptions`
`tableCaptions` (default value: `false`)
@@ -5634,6 +5772,110 @@ defaultOptions.tableCaptions = false
%</lua,lua-cli>
%<*manual-options>
+#### Option `texComments`
+
+`texComments` (default value: `false`)
+
+% \fi
+% \markdownBegin
+%
+% \Optitem[false]{texComments}{\opt{true}, \opt{false}}
+%
+: true
+
+ : Strip \TeX{}-style comments.
+
+ ``` tex
+ \documentclass{article}
+ \usepackage[texComments]{markdown}
+ \begin{document}
+ \begin{markdown}
+ Hel% this is a comment
+ lo *world*!
+ \end{markdown}
+ \end{document}
+ ```````
+
+: false
+
+ : Do not strip \TeX{}-style comments.
+
+% \markdownEnd
+% \iffalse
+
+##### Plain \TeX{} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\input markdown
+\def\markdownOptionTeXComments{true}
+\markdownBegin
+Hel% this is a comment
+ lo *world*!
+\markdownEnd
+\bye
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+luatex document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the text
+“Hello *world*!”
+
+##### \LaTeX{} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\documentclass{article}
+\usepackage[texComments]{markdown}
+\begin{document}
+\begin{markdown}
+Hel% this is a comment
+ lo *world*!
+\end{markdown}
+\end{document}
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+lualatex document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+text “Hello *world*!”
+
+##### \Hologo{ConTeXt} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\usemodule[t][markdown]
+\def\markdownOptionTeXComments{true}
+\starttext
+\startmarkdown
+Hel% this is a comment
+ lo *world*!
+\stopmarkdown
+\stoptext
+````````
+Next, invoke LuaTeX from the terminal:
+``` sh
+context document.tex
+`````
+A PDF document named `document.pdf` should be produced and contain the
+text “Hello *world*!”
+
+%</manual-options>
+%<*lua,lua-cli>
+% \fi
+% \begin{macrocode}
+defaultOptions.texComments = false
+% \end{macrocode}
+% \par
+% \iffalse
+%</lua,lua-cli>
+%<*manual-options>
+
#### Option `tightLists`
@@ -6096,8 +6338,8 @@ pdftex --shell-escape document.tex
%
% \end{markdown}
% \begin{macrocode}
-\def\markdownLastModified{2020/09/14}%
-\def\markdownVersion{2.9.0}%
+\def\markdownLastModified{2021/08/06}%
+\def\markdownVersion{2.10.0}%
% \end{macrocode}
% \par
% \begin{markdown}
@@ -6483,7 +6725,9 @@ bug](https://github.com/witiko/markdown/issues).
\let\markdownOptionSlice\undefined
\let\markdownOptionSmartEllipses\undefined
\let\markdownOptionStartNumber\undefined
+\let\markdownOptionStripIndent\undefined
\let\markdownOptionTableCaptions\undefined
+\let\markdownOptionTeXComments\undefined
\let\markdownOptionTightLists\undefined
% \end{macrocode}
% \par
@@ -7062,7 +7306,7 @@ Next, invoke LuaTeX from the terminal:
luatex document.tex
``````
A PDF document named `document.pdf` should be produced and contain the
-following text, where the middot (`·`) denotes a non-breakable space:
+following text, where the middot (`·`) denotes a non-breaking space:
> Bartel·Leendert van·der·Waerden
@@ -7090,7 +7334,7 @@ Next, invoke LuaTeX from the terminal:
lualatex document.tex
``````
A PDF document named `document.pdf` should be produced and contain the
-following text, where the middot (`·`) denotes a non-breakable space:
+following text, where the middot (`·`) denotes a non-breaking space:
> Bartel·Leendert van·der·Waerden
@@ -7113,7 +7357,7 @@ Next, invoke LuaTeX from the terminal:
context document.tex
``````
A PDF document named `document.pdf` should be produced and contain the
-following text, where the middot (`·`) denotes a non-breakable space:
+following text, where the middot (`·`) denotes a non-breaking space:
> Bartel·Leendert van·der·Waerden
@@ -7619,12 +7863,11 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\documentclass{article}
-\usepackage{filecontents}
-\begin{filecontents*}{markdown-languages.json}
+\begin{filecontents}[overwrite,nosearch,noheader]{markdown-languages.json}
{
"json": "JavaScript Object Notation",
}
-\end{filecontents*}
+\end{filecontents}
\usepackage[contentBlocks]{markdown}
\markdownSetup{
renderers = {
@@ -8171,7 +8414,8 @@ an ordered list. The macro receives no arguments.
The \mdef{markdownRendererOlItemWithNumber} macro represents an item in an
ordered list. This macro will only be produced, when the \Opt{startNumber}
-option is enabled. The macro receives no arguments.
+option is enabled. The macro receives a single numeric argument that
+corresponds to the item number.
% \end{markdown}
%
@@ -9997,7 +10241,7 @@ A PDF document named `document.pdf` should be produced and contain the
following text:
> This is a parenthesized citation *abrahams90* with a prefix see
-> and a postfix *pp. > 12*, and a citation *eijkhout91* with a
+> and a postfix *pp. 12*, and a citation *eijkhout91* with a
> postfix *pp. 34*.
%</manual-tokens>
@@ -10180,8 +10424,6 @@ following content:
: Demonstration of pipe table syntax
\end{markdown}
\end{document}
-\end{markdown}
-\end{document}
```````
Next, invoke LuaTeX from the terminal:
``` sh
@@ -10220,6 +10462,69 @@ following text:
%
% \begin{markdown}
+#### Inline HTML Comment Renderer
+The \mdef{markdownRendererInlineHtmlComment} macro represents the contents of an
+inline \acro{HTML} comment. This macro will only be produced, when the
+\Opt{html} option is enabled. The macro receives a single argument that
+corresponds to the contents of the \acro{HTML} comment.
+
+% \end{markdown}
+%
+% \iffalse
+
+##### \LaTeX{} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\documentclass{article}
+\usepackage[html]{markdown}
+\usepackage{marginnote}
+\markdownSetup{
+ renderers = {
+ inlineHtmlComment = {\marginnote{#1}},
+ },
+}
+\begin{document}
+\begin{markdown}
+A useful use of HTML comments are side notes.
+<!-- Side notes are displayed in the horizontal margins next to the relevant
+passages, which makes them easier for the reader to find than footnotes. -->
+\end{markdown}
+\end{document}
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+lualatex document.tex
+lualatex document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+following body text:
+
+> A useful use of HTML comments are side notes.
+
+The horizontal margins should contain the following text:
+
+> Side notes are displayed in the horizontal margins next to the relevant
+> passages, which makes them easier for the reader to find than footnotes.
+
+%</manual-tokens>
+%<*tex>
+% \fi
+%
+% \begin{macrocode}
+\def\markdownRendererInlineHtmlComment{%
+ \markdownRendererInlineHtmlCommentPrototype}%
+% \end{macrocode}
+% \par
+%
+% \iffalse
+%</tex>
+%<*manual-tokens>
+% \fi
+%
+% \begin{markdown}
+
### Token Renderer Prototypes
% \label{sec:texrendererprototypes}
@@ -10410,6 +10715,7 @@ following text:
\def\markdownRendererCitePrototype#1{}%
\def\markdownRendererTextCitePrototype#1{}%
\def\markdownRendererTablePrototype#1#2#3{}%
+\def\markdownRendererInlineHtmlCommentPrototype#1{}%
% \end{macrocode}
% \par
% \begin{markdown}
@@ -10418,27 +10724,9 @@ following text:
% The \mdef{markdownInfo}, \mdef{markdownWarning}, and \mdef{markdownError}
% macros perform logging for the Markdown package. Their first argument
% specifies the text of the info, warning, or error message.
-%
-% \end{markdown}
-% \begin{macrocode}
-\def\markdownInfo#1{}%
-\def\markdownWarning#1{}%
-% \end{macrocode}
-% \par
-% \begin{markdown}
-%
% The \m{markdownError} macro receives a second argument that provides a help
-% text.
-%
-% \end{markdown}
-% \begin{macrocode}
-\def\markdownError#1#2{}%
-% \end{macrocode}
-% \par
-% \begin{markdown}
-%
-% You may redefine these macros to redirect and process the info, warning, and
-% error messages.
+% text. You may redefine these macros to redirect and process the info,
+% warning, and error messages.
%
%### Miscellanea
% The \mdef{markdownMakeOther} macro is used by the package, when a \TeX{}
@@ -10677,31 +10965,566 @@ pdflatex --shell-escape document.tex
%
% The \LaTeX{} options are represented by a comma-delimited list of
% \meta{key}`=`\meta{value} pairs. For boolean options, the `=`\meta{value}
-% part is optional, and \meta{key} will be interpreted as \meta{key}`=true`.
+% part is optional, and \meta{key} will be interpreted as \meta{key}`=true`
+% if the `=`\meta{value} part has been omitted.
%
-% The \LaTeX{} options map directly to the options recognized by the plain
+% Except for the `plain` option described in Section \ref{sec:latexplain}, and
+% the \LaTeX{} themes described in Section \ref{sec:latexthemes}, and the
+% \LaTeX{} setup snippets described in Section \ref{sec:latexsetupsnippets},
+% \LaTeX{} options map directly to the options recognized by the plain
% \TeX{} interface (see Section \ref{sec:texoptions}) and to the markdown token
% renderers and their prototypes recognized by the plain \TeX{} interface (see
% Sections \ref{sec:texrenderersuser} and \ref{sec:texrendererprototypes}).
%
-% The \LaTeX{} options may be specified when loading the \LaTeX{} package (see
-% Section \ref{sec:latexinterface}), when using the \envm{markdown*} \LaTeX{}
-% environment, or via the \mdef{markdownSetup} macro. The \m{markdownSetup}
-% macro receives the options to set up as its only argument.
+% The \LaTeX{} options may be specified when loading the \LaTeX{} package, when
+% using the \envm{markdown*} \LaTeX{} environment or the \m{markdownInput}
+% macro (see Section \ref{sec:latexinterface}), or via the \mdef{markdownSetup}
+% macro. The \m{markdownSetup} macro receives the options to set up as its only
+% argument:
%
% \markdownEnd
% \begin{macrocode}
\newcommand\markdownSetup[1]{%
\setkeys{markdownOptions}{#1}}%
% \end{macrocode}
+% \begin{markdown}
+%
+% We may also store \LaTeX{} options as *setup snippets* and invoke them later
+% using the \mdef{markdownSetupSnippet} macro. The \m{markdownSetupSnippet}
+% macro receives two arguments: the name of the setup snippet and the options
+% to store:
+%
+% \end{markdown}
+% \begin{macrocode}
+\newcommand\markdownSetupSnippet[2]{%
+ \@ifundefined
+ {markdownLaTeXSetupSnippet\markdownLaTeXThemeName#1}{%
+ \newtoks\next
+ \next={#2}%
+ \expandafter\let\csname markdownLaTeXSetupSnippet%
+ \markdownLaTeXThemeName#1\endcsname=\next
+ }{%
+ \markdownWarning
+ {Redefined setup snippet \markdownLaTeXThemeName#1}%
+ \csname markdownLaTeXSetupSnippet%
+ \markdownLaTeXThemeName#1\endcsname={#2}%
+ }}%
+% \end{macrocode}
+% \begin{markdown}
+%
+% See Section \ref{sec:latexthemes} for information on interactions between
+% setup snippets and \LaTeX{} themes. See Section \ref{sec:latexsetupsnippets}
+% for information about invoking the stored setup snippets.
+%
+% \end{markdown}
+% \iffalse
+%</latex>
+%<*manual-options>
+
+### \LaTeX{}
+
+\LaTeX{} options allow us to disable the redefinition of the default renderer
+prototypes from plain \TeX{}, load user-contributed themes, and invoke
+user-defined setup snippets.
+
+% \fi
% \par
% \begin{markdown}
+
+#### No default token renderer prototypes
+% \label{sec:latexplain}
+Default token renderer prototypes require \LaTeX{} packages that may clash with
+other packages used in a document. Additionally, if we redefine token
+renderers and renderer prototypes ourselves, the default definitions will bring
+no benefit to us. Using the `plain` package option, we can keep the default
+definitions from the plain \TeX{} implementation (see Section
+\ref{sec:textokenrendererprototypes}) and prevent the soft \LaTeX{}
+prerequisites in Section \ref{sec:latexprerequisites} from being loaded:
+
+``` tex
+\usepackage[plain]{markdown}
+```````
+
+% \end{markdown}
+% \iffalse
+%</manual-options>
+%<*latex>
+% \fi
+% \begin{macrocode}
+\newif\ifmarkdownLaTeXPlain
+ \markdownLaTeXPlainfalse
+\define@key{markdownOptions}{plain}[true]{%
+ \ifmarkdownLaTeXLoaded
+ \markdownWarning
+ {The plain option must be specified when loading the package}%
+ \else
+ \markdownLaTeXPlaintrue
+ \fi}
+% \end{macrocode}
+% \iffalse
+%</latex>
+%<*manual-options>
+% \fi
+% \begin{markdown}
+
+#### \LaTeX{} themes
+% \label{sec:latexthemes}
+
+User-contributed \LaTeX{} themes for the Markdown package provide a
+domain-specific interpretation of some Markdown tokens. Similarly to \LaTeX{}
+packages, themes allow the authors to achieve a specific look and other
+high-level goals without low-level programming.
+
+% The \LaTeX{} option with key `theme` loads a \LaTeX{} package (further
+% referred to as *a theme*) named `markdowntheme`\meta{munged theme
+% name}`.sty`, where the *munged theme name* is the *theme name* after a
+% substitution of all forward slashes (\texttt{/}) for an underscore
+% (\texttt{_}), the theme name is a value that is *qualified* and contains no
+% underscores, and a value is qualified if and only if it contains at least one
+% forward slash. Themes are inspired by the Beamer \LaTeX{} package, which
+% provides similar functionality with its \m{usetheme} macro [@tantau21,
+% Section 15.1].
+%
+% Theme names must be qualified to minimize naming conflicts between different
+% themes intended for a single \LaTeX{} document class or for a single \LaTeX{}
+% package. The preferred format of a theme name is \meta{theme author}`/`<!--
+% -->\meta{target \LaTeX{} document class or package}`/`\meta{private naming
+% scheme}, where the *private naming scheme* may contain additional forward
+% slashes. For example, a theme by a user `witiko` for the MU theme of the
+% Beamer document class may have the name `witiko/beamer/MU`.
+%
+% Theme names are munged, because \LaTeX{} packages are identified only by
+% their filenames, not by their pathnames. [@novotny21] Therefore, we can't
+% store the qualified theme names directly using directories, but we must
+% encode the individual segments of the qualified theme in the filename. For
+% example, loading a theme named `witiko/beamer/MU` would load a \LaTeX{}
+% package named `markdownthemewitiko_beamer_MU.sty`.
+%
+% If the \LaTeX{} option with key `theme` is (repeatedly) specified in the
+% \m{usepackage} macro, the loading of the theme(s) will be postponed in
+% first-in-first-out order until after the Markdown \LaTeX{} package has been
+% loaded. Otherwise, the theme(s) will be loaded immediately. For example,
+% there is a theme named `witiko/dot`, which typesets fenced code blocks with
+% the `dot` infostring as images of directed graphs rendered by the Graphviz
+% tools. The following code would first load the Markdown package, then the
+% `markdownthemewitiko_beamer_MU.sty` \LaTeX{} package, and finally the
+% `markdownthemewitiko_dot.sty` \LaTeX{} package:
+% \end{markdown}
+% \iffalse
+
+For example, to load themes named `witiko/beamer/MU` and `witiko/dot`, you
+would use the following code in the preamble of your document:
+
+% \fi
+% \par
+% \begin{markdown}
+
+``` tex
+\usepackage[
+ theme = witiko/beamer/MU,
+ theme = witiko/dot,
+]{markdown}
+```````
+
+% \end{markdown}
+% \iffalse
+%</manual-options>
+%<*latex>
+% \fi
+% \begin{macrocode}
+\newif\ifmarkdownLaTeXLoaded
+ \markdownLaTeXLoadedfalse
+\AtEndOfPackage{\markdownLaTeXLoadedtrue}%
+\define@key{markdownOptions}{theme}{%
+ \IfSubStr{#1}{/}{}{%
+ \markdownError
+ {Won't load theme with unqualified name #1}%
+ {Theme names must contain at least one forward slash}}%
+ \StrSubstitute{#1}{/}{_}[\markdownLaTeXThemePackageName]%
+ \edef\markdownLaTeXThemePackageName{%
+ markdowntheme\markdownLaTeXThemePackageName}%
+ \expandafter\markdownLaTeXThemeLoad\expandafter{%
+ \markdownLaTeXThemePackageName}{#1/}}%
+\newcommand\markdownLaTeXThemeName{}%
+\newcommand\markdownLaTeXThemeLoad[2]{%
+ \ifmarkdownLaTeXLoaded
+ \def\markdownLaTeXThemeName{#2}%
+ \RequirePackage{#1}%
+ \def\markdownLaTeXThemeName{}%
+ \else
+ \AtEndOfPackage{%
+ \def\markdownLaTeXThemeName{#2}%
+ \RequirePackage{#1}%
+ \def\markdownLaTeXThemeName{}}%
+ \fi}%
+% \end{macrocode}
+% \begin{markdown}
%
+% The \LaTeX{} themes have a useful synergy with the setup snippets (see
+% Section \ref{sec:latexoptions}): To make it less likely that different
+% themes will define setup snippets with the same name, we will prepend
+% \meta{theme name}`/` before the snippet name and use the result as the
+% snippet name. For example, if the `witiko/dot` theme defines the `product`
+% setup snippet, the setup snippet will be available under the name
+% `witiko/dot/product`.
+%
+% \end{markdown}
+% \iffalse
+%</latex>
+%<*manual-options>
+% \fi
+% \begin{markdown}
+
+Due to limitations of \LaTeX{}, themes may not be loaded after the
+beginning of a \LaTeX{} document.
+
+% \end{markdown}
+% \iffalse
+%</manual-options>
+%<*latex>
+% \fi
+% \begin{macrocode}
+\@onlypreamble\KV@markdownOptions@theme
+% \end{macrocode}
+% \iffalse
+%</latex>
+%<*manual-options>
+% \fi
+% \par
+% \markdownBegin
+
+Example themes provided with the Markdown package include:
+
+\pkg{witiko/dot}
+
+: A theme that typesets fenced code blocks with the `dot …` infostring
+ as images of directed graphs rendered by the Graphviz tools. The
+ right tail of the infostring is used as the image title.
+% ```` tex
+% \documentclass{article}
+% \usepackage[theme=witiko/dot]{markdown}
+% \setkeys{Gin}{
+% width = \columnwidth,
+% height = 0.65\paperheight,
+% keepaspectratio}
+% \begin{document}
+% \begin{markdown}
+% ``` dot Various formats of mathemathical formulae
+% digraph tree {
+% margin = 0;
+% rankdir = "LR";
+%
+% latex -> pmml;
+% latex -> cmml;
+% pmml -> slt;
+% cmml -> opt;
+% cmml -> prefix;
+% cmml -> infix;
+% pmml -> mterms [style=dashed];
+% cmml -> mterms;
+%
+% latex [label = "LaTeX"];
+% pmml [label = "Presentation MathML"];
+% cmml [label = "Content MathML"];
+% slt [label = "Symbol Layout Tree"];
+% opt [label = "Operator Tree"];
+% prefix [label = "Prefix"];
+% infix [label = "Infix"];
+% mterms [label = "M-Terms"];
+% }
+% ```
+% \end{markdown}
+% \end{document}
+% ````````
+% Typesetting the above document produces the output shown in
+% Figure~\ref{fig:witiko/dot}.
+% ``` dot Various formats of mathemathical formulae \label{fig:witiko/dot}
+% digraph tree {
+% margin = 0;
+% rankdir = "LR";
+%
+% latex -> pmml;
+% latex -> cmml;
+% pmml -> slt;
+% cmml -> opt;
+% cmml -> prefix;
+% cmml -> infix;
+% pmml -> mterms [style=dashed];
+% cmml -> mterms;
+%
+% latex [label = "LaTeX"];
+% pmml [label = "Presentation MathML"];
+% cmml [label = "Content MathML"];
+% slt [label = "Symbol Layout Tree"];
+% opt [label = "Operator Tree"];
+% prefix [label = "Prefix"];
+% infix [label = "Infix"];
+% mterms [label = "M-Terms"];
+% }
+% ```
+ The theme requires a Unix-like operating system with GNU Diffutils and
+ Graphviz installed. The theme also requires shell access unless the
+ \m{markdownOptionFrozenCache} plain \TeX{} option is enabled.
+
+% \markdownEnd
+% \iffalse
+
+##### \LaTeX{} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+```` tex
+\documentclass{article}
+\usepackage[theme=witiko/dot]{markdown}
+\setkeys{Gin}{
+ width=\columnwidth,
+ height=0.65\paperheight,
+ keepaspectratio}
+\begin{document}
+\begin{markdown}
+``` dot Various formats of mathemathical formulae
+digraph tree {
+ margin = 0;
+ rankdir = "LR";
+
+ latex -> pmml;
+ latex -> cmml;
+ pmml -> slt;
+ cmml -> opt;
+ cmml -> prefix;
+ cmml -> infix;
+ pmml -> mterms [style=dashed];
+ cmml -> mterms;
+
+ latex [label = "LaTeX"];
+ pmml [label = "Presentation MathML"];
+ cmml [label = "Content MathML"];
+ slt [label = "Symbol Layout Tree"];
+ opt [label = "Operator Tree"];
+ prefix [label = "Prefix"];
+ infix [label = "Infix"];
+ mterms [label = "M-Terms"];
+}
+```
+\end{markdown}
+\end{document}
+````````
+Next, invoke LuaTeX from the terminal:
+``` sh
+lualatex document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain
+a drawing of a directed graph similar to Figure 1 from the following
+conference article:
+
+> NOVOTNÝ, Vít, Petr SOJKA, Michal ŠTEFÁNIK and Dávid LUPTÁK. Three is Better
+> than One: Ensembling Math Information Retrieval Systems. *CEUR Workshop
+> Proceedings*. Thessaloniki, Greece: M. Jeusfeld c/o Redaktion Sun SITE,
+> Informatik V, RWTH Aachen., 2020, vol. 2020, No 2696, p. 1-30. ISSN 1613-0073.
+> <http://ceur-ws.org/Vol-2696/paper_235.pdf>
+
+%</manual-options>
+%<*latex-themes-witiko-dot>
+% \fi
+% \begin{macrocode}
+\ProvidesPackage{markdownthemewitiko_dot}[2021/03/09]%
+% \end{macrocode}
+% \iffalse
+%</latex-themes-witiko-dot>
+%<*manual-options>
+% \fi
+% \par
+% \markdownBegin
+
+\pkg{witiko/graphicx/http}
+
+: A theme that adds support for downloading images whose URL has the
+ http or https protocol.
+% ``` tex
+% \documentclass{article}
+% \usepackage[theme=witiko/graphicx/http]{markdown}
+% \begin{document}
+% \begin{markdown}
+% ![img](https://github.com/witiko/markdown/raw/master/banner.png
+% "The banner of the Markdown package")
+% \end{markdown}
+% \end{document}
+% ```````
+% Typesetting the above document produces the output shown in
+% Figure~\ref{fig:witiko/graphicx/http}.
+% ![img](https://github.com/witiko/markdown/raw/master/banner.png
+% "The banner of the Markdown package \label{fig:witiko/graphicx/http}")
+ The theme requires the \pkg{catchfile} \LaTeX{} package and a Unix-like
+ operating system with GNU Coreutils `md5sum` and either GNU Wget or cURL
+ installed. The theme also requires shell access unless the
+ \m{markdownOptionFrozenCache} plain \TeX{} option is enabled.
+
+% \markdownEnd
+% \iffalse
+
+##### \LaTeX{} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\documentclass{article}
+\usepackage[theme=witiko/graphicx/http]{markdown}
+\begin{document}
+\begin{markdown}
+![img](https://github.com/witiko/markdown/raw/master/banner.png
+ "The banner of the Markdown package")
+\end{markdown}
+\end{document}
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+lualatex document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+following image:
+
+> ![img](https://github.com/witiko/markdown/raw/master/banner.png
+> "The banner of the Markdown package")
+
+%</manual-options>
+%<*latex-themes-witiko-graphicx-http>
+% \fi
+% \begin{macrocode}
+\ProvidesPackage{markdownthemewitiko_graphicx_http}[2021/03/22]%
+\RequirePackage{catchfile}
+% \end{macrocode}
+% \iffalse
+%</latex-themes-witiko-graphicx-http>
+%<*manual-options>
+% \fi
+% \par
+% \markdownBegin
+
+\pkg{witiko/tilde}
+
+: A theme that makes tilde (`~`) always typeset the non-breaking space even
+ when the \Opt{hybrid} Lua option is `false`.
+% ``` tex
+% \documentclass{article}
+% \usepackage[theme=witiko/tilde]{markdown}
+% \begin{document}
+% \begin{markdown}
+% Bartel~Leendert van~der~Waerden
+% \end{markdown}
+% \end{document}
+% ```````
+% Typesetting the above document produces the following text:
+% “Bartel~Leendert van~der~Waerden”.
+%
+% \markdownEnd
+% \iffalse
+
+##### \LaTeX{} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\documentclass{article}
+\usepackage[theme=witiko/tilde]{markdown}
+\begin{document}
+\begin{markdown}
+Bartel~Leendert van~der~Waerden
+\end{markdown}
+\end{document}
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+lualatex document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+following text, where the middot (`·`) denotes a non-breaking space:
+
+> Bartel·Leendert van·der·Waerden
+
+%</manual-options>
+%<*latex-themes-witiko-tilde>
+% \fi
+% \begin{macrocode}
+\ProvidesPackage{markdownthemewitiko_tilde}[2021/03/22]%
+% \end{macrocode}
+% \iffalse
+%</latex-themes-witiko-tilde>
+%<*manual-options>
+% \fi
+% \par
+% \begin{markdown}
+%
+% Please, see Section~\ref{sec:latexthemesimplementation} for implementation
+% details of the example themes.
+
+#### \LaTeX{} setup snippets
+% \label{sec:latexsetupsnippets}
+% \end{markdown}
+% \iffalse
+
+User-contributed \LaTeX{} themes provide global control over high-level goals.
+However, it is often desirable to change only some local aspects of a document.
+\LaTeX{} setup snippets provide syntactic sugar for defining and invoking
+various options locally.
+
+% \fi
+% \begin{markdown}
+% The \LaTeX{} option with key `snippet` invokes a snippet named \meta{value}:
+% \end{markdown}
+% \iffalse
+%</manual-options>
+%<*latex>
+% \fi
+% \begin{macrocode}
+\define@key{markdownOptions}{snippet}{%
+ \expandafter\markdownSetup\expandafter{%
+ \the\csname markdownLaTeXSetupSnippet#1\endcsname}}%
+% \end{macrocode}
+% \iffalse
+%</latex>
+%<*manual-options>
+% \fi
+% \par
+% \markdownBegin
+
+Here is how we can use setup snippets to store options and invoke them later:
+
+``` tex
+\markdownSetupSnippet{romanNumerals}{
+ renderers = {
+ olItemWithNumber = {%
+ \item[\romannumeral#1\relax.]%
+ },
+ },
+}
+\begin{markdown}
+
+The following ordered list will be preceded by arabic numerals:
+
+1. wahid
+2. aithnayn
+
+\end{markdown}
+\begin{markdown*}{snippet=romanNumerals}
+
+The following ordered list will be preceded by roman numerals:
+
+3. tres
+4. quattuor
+
+\end{markdown*}
+
+```````
+
%#### Plain \TeX{} Interface Options
% The following options map directly to the option macros exposed by the plain
% \TeX{} interface (see Section \ref{sec:texoptions}).
%
-% \end{markdown}
+% \markdownEnd
+% \iffalse
+%</manual-options>
+%<*latex>
+% \fi
% \begin{macrocode}
\define@key{markdownOptions}{helperScriptFileName}{%
\def\markdownOptionHelperScriptFileName{#1}}%
@@ -10761,8 +11584,12 @@ pdflatex --shell-escape document.tex
\def\markdownOptionSlice{#1}}%
\define@key{markdownOptions}{startNumber}[true]{%
\def\markdownOptionStartNumber{#1}}%
+\define@key{markdownOptions}{stripIndent}[true]{%
+ \def\markdownOptionStripIndent{#1}}%
\define@key{markdownOptions}{tableCaptions}[true]{%
\def\markdownOptionTableCaptions{#1}}%
+\define@key{markdownOptions}{texComments}[true]{%
+ \def\markdownOptionTeXComments{#1}}%
\define@key{markdownOptions}{tightLists}[true]{%
\def\markdownOptionTightLists{#1}}%
\define@key{markdownOptions}{underscores}[true]{%
@@ -10949,6 +11776,8 @@ pdflatex --shell-escape document.tex
\renewcommand\markdownRendererTextCite[1]{#1}}%
\define@key{markdownRenderers}{table}{%
\renewcommand\markdownRendererTable[3]{#1}}%
+\define@key{markdownRenderers}{inlineHtmlComment}{%
+ \renewcommand\markdownRendererInlineHtmlComment[1]{#1}}%
% \end{macrocode}
% \par
% \begin{markdown}
@@ -11092,6 +11921,8 @@ pdflatex --shell-escape document.tex
\renewcommand\markdownRendererTextCitePrototype[1]{#1}}%
\define@key{markdownRendererPrototypes}{table}{%
\renewcommand\markdownRendererTablePrototype[3]{#1}}%
+\define@key{markdownRendererPrototypes}{inlineHtmlComment}{%
+ \renewcommand\markdownRendererInlineHtmlCommentPrototype[1]{#1}}%
% \end{macrocode}
% \par
% \begin{markdown}
@@ -11175,6 +12006,7 @@ texexec --passon=--shell-escape document.tex
% \end{markdown}
% \begin{macrocode}
\writestatus{loading}{ConTeXt User Module / markdown}%
+\startmodule[markdown]
\unprotect
% \end{macrocode}
% \par
@@ -11294,7 +12126,8 @@ function util.cache(dir, string, salt, transform, suffix)
local name = util.pathname(dir, digest .. suffix)
local file = io.open(name, "r")
if file == nil then -- If no cache entry exists, then create a new one.
- local file = assert(io.open(name, "w"))
+ local file = assert(io.open(name, "w"),
+ [[could not open file "]] .. name .. [[" for writing]])
local result = string
if transform ~= nil then
result = transform(result)
@@ -13671,7 +14504,8 @@ M.writer = {}
%
% The objects produced by the \luam{writer.new} method expose instance methods
% and variables of their own. As a convention, I will refer to these
-% \meta{member}s as `writer->`\meta{member}.
+% \meta{member}s as `writer->`\meta{member}. All member variables are
+% immutable unless explicitly stated otherwise.
%
% \end{markdown}
% \begin{macrocode}
@@ -13693,7 +14527,8 @@ function M.writer.new(options)
% \begin{markdown}
%
% Parse the \Opt{slice} option and define \luamdef{writer->slice\_begin}
-% \luamdef{writer->slice\_end}, and \luamdef{writer->is\_writing}.
+% \luamdef{writer->slice\_end}, and \luamdef{writer->is\_writing}. The
+% \luam{writer->is\_writing} member variable is mutable.
%
% \end{markdown}
% \begin{macrocode}
@@ -13847,9 +14682,10 @@ function M.writer.new(options)
% Define a table \luamdef{escaped_chars} containing the mapping from special
% plain \TeX{} characters (including the active pipe character (`|`) of
% \Hologo{ConTeXt}) to their escaped variants. Define tables
-% \luamdef{escaped_minimal_chars} and \luamdef{escaped_minimal_strings}
-% containing the mapping from special plain characters and character strings
-% that need to be escaped even in content that will not be typeset.
+% \luamdef{escaped_uri_chars}, \luamdef{escaped_citation_chars}, and
+% \luamdef{escaped_minimal_strings} containing the mapping from special plain
+% characters and character strings that need to be escaped even in content
+% that will not be typeset.
%
% \end{markdown}
% \begin{macrocode}
@@ -13886,10 +14722,10 @@ function M.writer.new(options)
% \par
% \begin{markdown}
%
-% Use the \luam{escaped_chars} table to create an escaper function
-% \luamdef{escape} and the \luam{escaped_minimal_chars} and
-% \luam{escaped_minimal_strings} tables to create an escaper function
-% \luamdef{escape_minimal}.
+% Use the \luam{escaped_chars}, \luam{escaped_uri_chars},
+% \luam{escaped_citation_chars}, and \luam{escaped_minimal_strings} tables
+% to create the \luamdef{escape}, \luamdef{escape_citation}, and
+% \luamdef{escape_uri} escaper functions.
%
% \end{markdown}
% \begin{macrocode}
@@ -13902,10 +14738,12 @@ function M.writer.new(options)
% \begin{markdown}
%
% Define \luamdef{writer->string} as a function that will transform an input
-% plain text span `s` to the output format and \luamdef{writer->uri} as a
-% function that will transform an input \acro{uri} `u` to the output format.
-% If the \Opt{hybrid} option is enabled, use identity functions. Otherwise,
-% use the \luam{escape} and \luam{escape_minimal} functions.
+% plain text span `s` to the output format, \luamdef{writer->citation} as a
+% function that will transform an input citation name `c` to the output format,
+% and \luamdef{writer->uri} as a function that will transform an input
+% \acro{uri} `u` to the output format. If the \Opt{hybrid} option is enabled,
+% use identity functions. Otherwise, use the \luam{escape},
+% \luam{escape_citation}, and \luam{escape_uri} functions.
%
% \end{markdown}
% \begin{macrocode}
@@ -13922,13 +14760,25 @@ function M.writer.new(options)
% \par
% \begin{markdown}
%
+% Define \luamdef{writer->escape} as a function that will transform an input
+% plain text span to the output format. Unlike the \luam{writer->string}
+% function, \luam{writer->escape} always uses the \luam{escape} function,
+% even when the \Opt{hybrid} option is enabled.
+%
+% \end{markdown}
+% \begin{macrocode}
+ self.escape = escape
+% \end{macrocode}
+% \par
+% \begin{markdown}
+%
% Define \luamdef{writer->code} as a function that will transform an input
% inlined code span `s` to the output format.
%
% \end{markdown}
% \begin{macrocode}
function self.code(s)
- return {"\\markdownRendererCodeSpan{",escape(s),"}"}
+ return {"\\markdownRendererCodeSpan{",self.escape(s),"}"}
end
% \end{macrocode}
% \par
@@ -13942,7 +14792,7 @@ function M.writer.new(options)
% \begin{macrocode}
function self.link(lab,src,tit)
return {"\\markdownRendererLink{",lab,"}",
- "{",self.string(src),"}",
+ "{",self.escape(src),"}",
"{",self.uri(src),"}",
"{",self.string(tit or ""),"}"}
end
@@ -13957,6 +14807,7 @@ function M.writer.new(options)
% \end{markdown}
% \begin{macrocode}
function self.table(rows, caption)
+ if not self.is_writing then return "" end
local buffer = {"\\markdownRendererTable{",
caption or "", "}{", #rows - 1, "}{", #rows[1], "}"}
local temp = rows[2] -- put alignments on the first row
@@ -13970,10 +14821,10 @@ function M.writer.new(options)
end
table.insert(buffer, column)
if i > 1 then
- table.insert(buffer, "}%\n")
+ table.insert(buffer, "}")
end
end
- table.insert(buffer, "}%\n")
+ table.insert(buffer, "}")
end
return buffer
end
@@ -13999,20 +14850,34 @@ function M.writer.new(options)
%
% The \luamdef{languages_json} table maps programming language filename
% extensions to fence infostrings. All \luam{options.contentBlocksLanguageMap}
-% files located by \pkg{kpathsea} are loaded into a chain of tables.
+% files located by the KPathSea library are loaded into a chain of tables.
% \luam{languages_json} corresponds to the first table and is chained with
% the rest via Lua metatables.
%
% \end{markdown}
% \begin{macrocode}
local languages_json = (function()
- local kpse = require("kpse")
- kpse.set_program_name("luatex")
+ local ran_ok, kpse = pcall(require, "kpse")
+ if ran_ok then
+ kpse.set_program_name("luatex")
+% \end{macrocode}
+% \begin{markdown}
+%
+% If the KPathSea library is unavailable, perhaps because we are using
+% LuaMeta\TeX, we will only locate the \luam{options.contentBlocksLanguageMap}
+% in the current working directory:
+%
+% \end{markdown}
+% \begin{macrocode}
+ else
+ kpse = {lookup=function(filename, options) return filename end}
+ end
local base, prev, curr
- for _, file in ipairs{kpse.lookup(options.contentBlocksLanguageMap,
- { all=true })} do
- json = io.open(file, "r"):read("*all")
- :gsub('("[^\n]-"):','[%1]=')
+ for _, filename in ipairs{kpse.lookup(options.contentBlocksLanguageMap,
+ { all=true })} do
+ local file = io.open(filename, "r")
+ if not file then goto continue end
+ json = file:read("*all"):gsub('("[^\n]-"):','[%1]=')
curr = (function()
local _ENV={ json=json, load=load } -- run in sandbox
return load("return "..json)()
@@ -14025,6 +14890,7 @@ function M.writer.new(options)
end
prev = curr
end
+ ::continue::
end
return base or {}
end)()
@@ -14137,15 +15003,15 @@ function M.writer.new(options)
% \par
% \begin{markdown}
%
-% Define \luamdef{writer->inline_html} and \luamdef{writer->display_html}
-% as functions that will transform an inline or block \acro{html} element
-% respectively to the output format, where `html` is the \acro{html}
-% input.
+% Define \luamdef{writer->inline_html_comment} as a function that will
+% transform the contents of an inline \acro{HTML} comment, to the output
+% format, where `contents` are the contents of the \acro{HTML} comment.
%
% \end{markdown}
% \begin{macrocode}
- function self.inline_html(html) return "" end
- function self.display_html(html) return "" end
+ function self.inline_html_comment(contents)
+ return {"\\markdownRendererInlineHtmlComment{",contents,"}"}
+ end
% \end{macrocode}
% \par
% \begin{markdown}
@@ -14255,8 +15121,9 @@ function M.writer.new(options)
% \par
% \begin{markdown}
%
-% Define \luamdef{writer->active_headings} as a stack of identifiers
-% of the headings that are currently active.
+% Define \luamdef{writer->active\_headings} as a stack of identifiers
+% of the headings that are currently active. The
+% \luam{writer->active\_headings} member variable is mutable.
%
% \end{markdown}
% \begin{macrocode}
@@ -14376,6 +15243,57 @@ function M.writer.new(options)
end
return buffer
end
+% \end{macrocode}
+% \par
+% \begin{markdown}
+%
+% Define \luamdef{writer->get_state} as a function that returns the current
+% state of the writer, where the state of a writer are its mutable member
+% variables.
+%
+% \end{markdown}
+% \begin{macrocode}
+ function self.get_state()
+ return {
+ is_writing=self.is_writing,
+ active_headings={table.unpack(self.active_headings)},
+ }
+ end
+% \end{macrocode}
+% \par
+% \begin{markdown}
+%
+% Define \luamdef{writer->set_state} as a function that restores the input
+% state `s` and returns the previous state of the writer.
+%
+% \end{markdown}
+% \begin{macrocode}
+ function self.set_state(s)
+ previous_state = self.get_state()
+ for key, value in pairs(state) do
+ self[key] = value
+ end
+ return previous_state
+ end
+% \end{macrocode}
+% \par
+% \begin{markdown}
+%
+% Define \luamdef{writer->defer_call} as a function that will encapsulate the
+% input function `f`, so that `f` is called with the state of the writer at the
+% time of calling \luam{writer->defer_call}.
+%
+% \end{markdown}
+% \begin{macrocode}
+ function self.defer_call(f)
+ state = self.get_state()
+ return function(...)
+ state = self.set_state(state)
+ local return_value = f(...)
+ self.set_state(state)
+ return return_value
+ end
+ end
return self
end
@@ -14428,6 +15346,7 @@ parsers.semicolon = P(";")
parsers.exclamation = P("!")
parsers.pipe = P("|")
parsers.tilde = P("~")
+parsers.backslash = P("\\")
parsers.tab = P("\t")
parsers.newline = P("\n")
parsers.tightblocksep = P("\001")
@@ -14450,7 +15369,7 @@ parsers.any = P(1)
parsers.fail = parsers.any - 1
parsers.escapable = S("\\`*_{}[]()+_.!<>#-~:^@;")
-parsers.anyescaped = P("\\") / "" * parsers.escapable
+parsers.anyescaped = parsers.backslash / "" * parsers.escapable
+ parsers.any
parsers.spacechar = S("\t ")
@@ -14483,6 +15402,30 @@ parsers.spnl = parsers.optionalspace
parsers.line = parsers.linechar^0 * parsers.newline
parsers.nonemptyline = parsers.line - parsers.blankline
+parsers.commented_line = Cs(((parsers.linechar -- initial
+ - parsers.backslash
+ - parsers.percent)^1
+ + (parsers.backslash -- even backslash
+ * parsers.backslash)^1
+ + (parsers.backslash -- odd backslash
+ * parsers.backslash)^0
+ * (parsers.backslash / ""
+ * parsers.percent
+ + parsers.backslash
+ * (parsers.linechar -- initial
+ + parsers.newline
+ - parsers.backslash
+ - parsers.percent))
+ )^0)
+ * ((parsers.percent -- comment
+ * parsers.line
+ * #parsers.blankline) -- blank line
+ / "\n"
+ + parsers.percent -- comment
+ * parsers.line
+ * parsers.optionalspace -- leading tabs and spaces
+ + C(parsers.newline))
+
parsers.chunk = parsers.line * (parsers.optionallyindentedline
- parsers.blankline)^0
@@ -14959,9 +15902,13 @@ parsers.htmlattribute = parsers.spacing^1
* parsers.sp * parsers.equal * parsers.sp
* parsers.htmlattributevalue
-parsers.htmlcomment = P("<!--") * (parsers.any - P("-->"))^0 * P("-->")
+parsers.htmlcomment = P("<!--")
+ * parsers.optionalspace
+ * Cs((parsers.any - parsers.optionalspace * P("-->"))^0)
+ * parsers.optionalspace
+ * P("-->")
-parsers.htmlinstruction = P("<?") * (parsers.any - P("?>" ))^0 * P("?>" )
+parsers.htmlinstruction = P("<?") * (parsers.any - P("?>"))^0 * P("?>")
parsers.openelt_any = parsers.less * parsers.keyword * parsers.htmlattribute^0
* parsers.sp * parsers.more
@@ -15008,17 +15955,11 @@ end
parsers.in_matched_block_tags = parsers.less
* Cmt(#parsers.openelt_block, parse_matched_tags)
-parsers.displayhtml = parsers.htmlcomment
+parsers.displayhtml = parsers.htmlcomment / ""
+ parsers.emptyelt_block
+ parsers.openelt_exact("hr")
+ parsers.in_matched_block_tags
+ parsers.htmlinstruction
-
-parsers.inlinehtml = parsers.emptyelt_any
- + parsers.htmlcomment
- + parsers.htmlinstruction
- + parsers.openelt_any
- + parsers.closeelt_any
% \end{macrocode}
% \par
% \begin{markdown}
@@ -15204,15 +16145,29 @@ function M.reader.new(writer, options)
% \end{markdown}
% \begin{macrocode}
local function normalize_tag(tag)
- return unicode.utf8.lower(
+ return string.lower(
gsub(util.rope_to_string(tag), "[ \n\r\t]+", " "))
end
% \end{macrocode}
% \par
% \begin{markdown}
%
+% Define \luamdef{iterlines} as a function that iterates over the lines of
+% the input string `s`, transforms them using an input function `f`, and
+% reassembles them into a new string, which it returns.
+%
+% \end{markdown}
+% \begin{macrocode}
+ local function iterlines(s, f)
+ rope = lpeg.match(Ct((parsers.line / f)^1), s)
+ return util.rope_to_string(rope)
+ end
+% \end{macrocode}
+% \par
+% \begin{markdown}
+%
% Define \luamdef{expandtabs} either as an identity function, when the
-% \Opt{preserveTabs} Lua inrerface option is enabled, or to a function that
+% \Opt{preserveTabs} Lua interface option is enabled, or to a function that
% expands tabs into spaces otherwise.
%
% \end{markdown}
@@ -15223,7 +16178,7 @@ function M.reader.new(writer, options)
else
expandtabs = function(s)
if s:find("\t") then
- return s:gsub("[^\n]*", util.expand_tabs_in_line)
+ return iterlines(s, util.expand_tabs_in_line)
else
return s
end
@@ -15248,8 +16203,52 @@ function M.reader.new(writer, options)
%
% \end{markdown}
% \begin{macrocode}
- local function create_parser(name, grammar)
+ local function create_parser(name, grammar, toplevel)
return function(str)
+% \end{macrocode}
+% \par
+% \begin{markdown}
+%
+% If the parser is top-level and the \Opt{stripIndent} Lua option is enabled,
+% we will first expand tabs in the input string `str` into spaces and then we
+% will count the minimum indent across all lines, skipping blank lines. Next,
+% we will remove the minimum indent from all lines.
+%
+% \end{markdown}
+% \begin{macrocode}
+ if toplevel and options.stripIndent then
+ local min_prefix_length, min_prefix = nil, ''
+ str = iterlines(str, function(line)
+ if lpeg.match(parsers.nonemptyline, line) == nil then
+ return line
+ end
+ line = util.expand_tabs_in_line(line)
+ prefix = lpeg.match(C(parsers.optionalspace), line)
+ local prefix_length = #prefix
+ local is_shorter = min_prefix_length == nil
+ is_shorter = is_shorter or prefix_length < min_prefix_length
+ if is_shorter then
+ min_prefix_length, min_prefix = prefix_length, prefix
+ end
+ return line
+ end)
+ str = str:gsub('^' .. min_prefix, '')
+ end
+% \end{macrocode}
+% \par
+% \begin{markdown}
+%
+% If the parser is top-level and the \Opt{texComments} Lua option is
+% enabled, we will strip all plain \TeX{} comments from the input string `str`
+% together with the trailing newline characters.
+%
+% \end{markdown}
+% \begin{macrocode}
+ if toplevel and options.texComments then
+ str = lpeg.match(Ct(parsers.commented_line^1), str)
+ str = util.rope_to_string(str)
+ print(str)
+ end
local res = lpeg.match(grammar(), str)
if res == nil then
error(format("%s failed on:\n%s", name, str:sub(1,20)))
@@ -15263,37 +16262,43 @@ function M.reader.new(writer, options)
= create_parser("parse_blocks",
function()
return larsers.blocks
- end)
+ end, false)
local parse_blocks_toplevel
= create_parser("parse_blocks_toplevel",
function()
return larsers.blocks_toplevel
- end)
+ end, true)
local parse_inlines
= create_parser("parse_inlines",
function()
return larsers.inlines
- end)
+ end, false)
local parse_inlines_no_link
= create_parser("parse_inlines_no_link",
function()
return larsers.inlines_no_link
- end)
+ end, false)
local parse_inlines_no_inline_note
= create_parser("parse_inlines_no_inline_note",
function()
return larsers.inlines_no_inline_note
- end)
+ end, false)
+
+ local parse_inlines_no_html
+ = create_parser("parse_inlines_no_html",
+ function()
+ return larsers.inlines_no_html
+ end, false)
local parse_inlines_nbsp
= create_parser("parse_inlines_nbsp",
function()
return larsers.inlines_nbsp
- end)
+ end, false)
% \end{macrocode}
% \par
% \begin{markdown}
@@ -15381,14 +16386,14 @@ function M.reader.new(writer, options)
-- like indirect_link
local function lookup_note(ref)
- return function()
+ return writer.defer_call(function()
local found = rawnotes[normalize_tag(ref)]
if found then
return writer.note(parse_blocks_toplevel(found))
else
return {"[", parse_inlines("^" .. ref), "]"}
end
- end
+ end)
end
local function register_note(ref,rawnote)
@@ -15480,27 +16485,27 @@ larsers.PipeTable = Ct(larsers.table_row * parsers.newline
-- lookup link reference and return a link, if the reference is found,
-- or a bracketed label otherwise.
local function indirect_link(label,sps,tag)
- return function()
+ return writer.defer_call(function()
local r,fallback = lookup_reference(label,sps,tag)
if r then
return writer.link(parse_inlines_no_link(label), r.url, r.title)
else
return fallback
end
- end
+ end)
end
-- lookup image reference and return an image, if the reference is found,
-- or a bracketed label otherwise.
local function indirect_image(label,sps,tag)
- return function()
+ return writer.defer_call(function()
local r,fallback = lookup_reference(label,sps,tag)
if r then
return writer.image(writer.string(label), r.url, r.title)
else
return {"!", fallback}
end
- end
+ end)
end
% \end{macrocode}
% \par
@@ -15602,7 +16607,7 @@ larsers.PipeTable = Ct(larsers.table_row * parsers.newline
* C(parsers.alphanumeric^1 * P("://") * parsers.urlchar^1)
* parsers.more
/ function(url)
- return writer.link(writer.string(url), url)
+ return writer.link(writer.escape(url), url)
end
larsers.AutoLinkEmail = parsers.less
@@ -15610,7 +16615,7 @@ larsers.PipeTable = Ct(larsers.table_row * parsers.newline
* P("@") * parsers.urlchar^1)
* parsers.more
/ function(email)
- return writer.link(writer.string(email),
+ return writer.link(writer.escape(email),
"mailto:"..email)
end
@@ -15642,20 +16647,22 @@ larsers.PipeTable = Ct(larsers.table_row * parsers.newline
larsers.Image = larsers.DirectImage + larsers.IndirectImage
- larsers.TextCitations = Ct(Cc("")
+ larsers.TextCitations = Ct((parsers.spnl
+ * Cc("")
* parsers.citation_name
* ((parsers.spnl
* parsers.lbracket
* parsers.citation_headless_body
- * parsers.rbracket) + Cc("")))
+ * parsers.rbracket) + Cc("")))^1)
/ function(raw_cites)
return larsers.citations(true, raw_cites)
end
larsers.ParenthesizedCitations
- = Ct(parsers.lbracket
+ = Ct((parsers.spnl
+ * parsers.lbracket
* parsers.citation_body
- * parsers.rbracket)
+ * parsers.rbracket)^1)
/ function(raw_cites)
return larsers.citations(false, raw_cites)
end
@@ -15666,9 +16673,14 @@ larsers.PipeTable = Ct(larsers.table_row * parsers.newline
larsers.UlOrStarLine = parsers.asterisk^4 + parsers.underscore^4
/ writer.string
- larsers.EscapedChar = S("\\") * C(parsers.escapable) / writer.string
+ larsers.EscapedChar = parsers.backslash * C(parsers.escapable) / writer.string
- larsers.InlineHtml = C(parsers.inlinehtml) / writer.inline_html
+ larsers.InlineHtml = parsers.emptyelt_any
+ + (parsers.htmlcomment / parse_inlines_no_html)
+ / writer.inline_html_comment
+ + parsers.htmlinstruction
+ + parsers.openelt_any
+ + parsers.closeelt_any
larsers.HtmlEntity = parsers.hexentity / entities.hex_entity / writer.string
+ parsers.decentity / entities.dec_entity / writer.string
@@ -15686,8 +16698,7 @@ larsers.PipeTable = Ct(larsers.table_row * parsers.newline
* parsers.contentblock_tail
/ writer.contentblock
- larsers.DisplayHtml = C(parsers.displayhtml)
- / expandtabs / writer.display_html
+ larsers.DisplayHtml = parsers.displayhtml
larsers.Verbatim = Cs( (parsers.blanklines
* ((parsers.indentedline - parsers.blankline))^1)^1
@@ -16044,6 +17055,10 @@ larsers.PipeTable = Ct(larsers.table_row * parsers.newline
syntax.Smart = parsers.fail
end
+ if options.preserveTabs then
+ options.stripIndent = false
+ end
+
if not options.pipeTables then
syntax.PipeTable = parsers.fail
end
@@ -16067,6 +17082,12 @@ larsers.PipeTable = Ct(larsers.table_row * parsers.newline
inlines_no_inline_note_t.InlineNote = parsers.fail
larsers.inlines_no_inline_note = Ct(inlines_no_inline_note_t)
+ local inlines_no_html_t = util.table_copy(inlines_t)
+ inlines_no_html_t.DisplayHtml = parsers.fail
+ inlines_no_html_t.InlineHtml = parsers.fail
+ inlines_no_html_t.HtmlEntity = parsers.fail
+ larsers.inlines_no_html = Ct(inlines_no_html_t)
+
local inlines_nbsp_t = util.table_copy(inlines_t)
inlines_nbsp_t.Endline = larsers.NonbreakingEndline
inlines_nbsp_t.Space = larsers.NonbreakingSpace
@@ -16125,10 +17146,12 @@ larsers.PipeTable = Ct(larsers.table_row * parsers.newline
else
mode = "w"
end
- file = assert(io.open(options.frozenCacheFileName, mode))
- assert(file:write([[\expandafter\def\csname markdownFrozenCache]] ..
- options.frozenCacheCounter .. [[\endcsname{]] .. output .. [[}]] ..
- "\n"))
+ file = assert(io.open(options.frozenCacheFileName, mode),
+ [[could not open file "]] .. options.frozenCacheFileName
+ .. [[" for writing]])
+ assert(file:write([[\expandafter\global\expandafter\def\csname ]]
+ .. [[markdownFrozenCache]] .. options.frozenCacheCounter
+ .. [[\endcsname{]] .. output .. [[}]] .. "\n"))
assert(file:close())
end
return output
@@ -16172,7 +17195,8 @@ return M
local input
if input_filename then
- local input_file = assert(io.open(input_filename, "r"))
+ local input_file = assert(io.open(input_filename, "r"),
+ [[could not open file "]] .. input_filename .. [[" for reading]])
input = assert(input_file:read("*a"))
assert(input_file:close())
else
@@ -16189,8 +17213,8 @@ if options.cacheDir and not lfs.isdir(options.cacheDir) then
assert(lfs.mkdir(options["cacheDir"]))
end
-local kpse = require("kpse")
-kpse.set_program_name("luatex")
+local ran_ok, kpse = pcall(require, "kpse")
+if ran_ok then kpse.set_program_name("luatex") end
local md = require("markdown")
% \end{macrocode}
% \begin{markdown}
@@ -16214,7 +17238,8 @@ local convert = md.new(options)
local output = convert(input:gsub("\r\n?", "\n") .. "\n")
if output_filename then
- local output_file = assert(io.open(output_filename, "w"))
+ local output_file = assert(io.open(output_filename, "w"),
+ [[could not open file "]] .. output_filename .. [[" for writing]])
assert(output_file:write(output))
assert(output_file:close())
else
@@ -16241,13 +17266,19 @@ end
%
% \end{markdown}
% \begin{macrocode}
-\def\markdownInfo#1{%
- \immediate\write-1{(l.\the\inputlineno) markdown.tex info: #1.}}%
-\def\markdownWarning#1{%
- \immediate\write16{(l.\the\inputlineno) markdown.tex warning: #1}}%
-\def\markdownError#1#2{%
- \errhelp{#2.}%
- \errmessage{(l.\the\inputlineno) markdown.tex error: #1}}%
+\ifx\markdownInfo\undefined
+ \def\markdownInfo#1{%
+ \immediate\write-1{(l.\the\inputlineno) markdown.tex info: #1.}}%
+\fi
+\ifx\markdownWarning\undefined
+ \def\markdownWarning#1{%
+ \immediate\write16{(l.\the\inputlineno) markdown.tex warning: #1}}%
+\fi
+\ifx\markdownError\undefined
+ \def\markdownError#1#2{%
+ \errhelp{#2.}%
+ \errmessage{(l.\the\inputlineno) markdown.tex error: #1}}%
+\fi
% \end{macrocode}
% \par
% \begin{markdown}
@@ -16270,6 +17301,7 @@ end
% \begin{markdown}
%
%### Token Renderer Prototypes
+% \label{sec:textokenrendererprototypes}
% The following definitions should be considered placeholder.
%
% \end{markdown}
@@ -16425,9 +17457,15 @@ end
\ifx\markdownOptionStartNumber\undefined\else
startNumber = \markdownOptionStartNumber,
\fi
+\ifx\markdownOptionStripIndent\undefined\else
+ stripIndent = \markdownOptionStripIndent,
+\fi
\ifx\markdownOptionTableCaptions\undefined\else
tableCaptions = \markdownOptionTableCaptions,
\fi
+\ifx\markdownOptionTeXComments\undefined\else
+ texComments = \markdownOptionTeXComments,
+\fi
\ifx\markdownOptionTightLists\undefined\else
tightLists = \markdownOptionTightLists,
\fi
@@ -16793,8 +17831,8 @@ end
"|markdownOptionHelperScriptFileName"}%
|immediate|write|markdownOutputFileStream{%
local ran_ok, error = pcall(function()
- local kpse = require("kpse")
- kpse.set_program_name("luatex")
+ local ran_ok, kpse = pcall(require, "kpse")
+ if ran_ok then kpse.set_program_name("luatex") end
#1
end)
% \end{macrocode}
@@ -16891,6 +17929,15 @@ end
|gdef|markdownInput#1{%
% \end{macrocode}
% \begin{markdown}
+% Change the category code of the percent sign (`%`) to other, so that a user
+% of the \Opt{hybrid} Lua option or a malevolent actor can't produce TeX
+% comments in the plain TeX output of the Markdown package.
+% \end{markdown}
+% \begin{macrocode}
+ |begingroup
+ |catcode`|%=12
+% \end{macrocode}
+% \begin{markdown}
% If we are reading from the frozen cache, input it, expand the corresponding
% `\markdownFrozenCache`\meta{number} macro, and increment
% \m{markdownFrozenCacheCounter}.
@@ -16905,7 +17952,7 @@ end
|markdownInfo{Including markdown document number
"|the|markdownFrozenCacheCounter" from frozen cache}%
|csname markdownFrozenCache|the|markdownFrozenCacheCounter|endcsname
- |advance|markdownFrozenCacheCounter by 1|relax
+ |global|advance|markdownFrozenCacheCounter by 1|relax
}{%
|markdownInfo{Including markdown document "#1"}%
% \end{macrocode}
@@ -16919,7 +17966,8 @@ end
|closein|markdownInputFileStream
|markdownLuaExecute{%
|markdownPrepare
- local file = assert(io.open("#1", "r"))
+ local file = assert(io.open("#1", "r"),
+ [[could not open file "#1" for reading]])
local input = assert(file:read("*a"))
assert(file:close())
% \end{macrocode}
@@ -16937,9 +17985,10 @@ end
% \end{markdown}
% \begin{macrocode}
|markdownIfOption{FinalizeCache}{%
- |advance|markdownFrozenCacheCounter by 1|relax
+ |global|advance|markdownFrozenCacheCounter by 1|relax
}%
}%
+ |endgroup
}%
|endgroup
% \end{macrocode}
@@ -16958,9 +18007,16 @@ end
% format~[@latex17, Section 9]. As a consequence, we can directly reuse the
% existing plain \TeX{} implementation.
%
+% The \LaTeX{} implementation redefines the plain \TeX{} logging macros (see
+% Section \ref{sec:texinterfacelogging}) to use the \LaTeX{} \m{PackageInfo},
+% \m{PackageWarning}, and \m{PackageError} macros.
+%
% \end{markdown}
% \begin{macrocode}
-\input markdown
+\newcommand\markdownInfo[1]{\PackageInfo{markdown}{#1}}%
+\newcommand\markdownWarning[1]{\PackageWarning{markdown}{#1}}%
+\newcommand\markdownError[2]{\PackageError{markdown}{#1}{#2.}}%
+\input markdown/markdown
\def\markdownVersionSpace{ }%
\ProvidesPackage{markdown}[\markdownLastModified\markdownVersionSpace v%
\markdownVersion\markdownVersionSpace markdown renderer]%
@@ -16975,9 +18031,6 @@ end
%
% \end{markdown}
% \begin{macrocode}
-\renewcommand\markdownInfo[1]{\PackageInfo{markdown}{#1}}%
-\renewcommand\markdownWarning[1]{\PackageWarning{markdown}{#1}}%
-\renewcommand\markdownError[2]{\PackageError{markdown}{#1}{#2.}}%
% \end{macrocode}
% \par
% \begin{markdown}
@@ -17041,7 +18094,6 @@ end
\expandafter\markdownSetup\expandafter{\CurrentOption}}%
\ProcessOptions\relax
% \end{macrocode}
-% \par
% \begin{markdown}
%
% After processing the options, activate the `renderers` and
@@ -17059,8 +18111,229 @@ end
% \par
% \begin{markdown}
%
+%#### \LaTeX{} Themes
+% \label{sec:latexthemesimplementation}
+% This section implements example themes provided with the Markdown package.
+%
+% The `witiko/dot` theme enables the \Opt{fencedCode} Lua option:
+%
+% \end{markdown}
+% \iffalse
+%</latex>
+%<*latex-themes-witiko-dot>
+% \fi
+% \begin{macrocode}
+\markdownSetup{fencedCode}%
+% \end{macrocode}
+% \begin{markdown}
+%
+% We store the previous definition of the fenced code token renderer prototype:
+%
+% \end{markdown}
+% \begin{macrocode}
+\let\markdown@witiko@dot@oldRendererInputFencedCodePrototype
+ \markdownRendererInputFencedCodePrototype
+% \end{macrocode}
+% \begin{markdown}
+%
+% If the infostring starts with `dot …`, we redefine the fenced code block
+% token renderer prototype, so that it typesets the code block via Graphviz
+% tools if and only if the \m{markdownOptionFrozenCache} plain \TeX{} option is
+% disabled and the code block has not been previously typeset:
+%
+% \end{markdown}
+% \begin{macrocode}
+\RequirePackage{ifthen}
+\renewcommand\markdownRendererInputFencedCode[2]{%
+ \def\next##1 ##2\relax{%
+ \ifthenelse{\equal{##1}{dot}}{%
+ \markdownIfOption{FrozenCache}{}{%
+ \immediate\write18{%
+ if ! test -e #1.pdf.source || ! diff #1 #1.pdf.source;
+ then
+ dot -Tpdf -o #1.pdf #1;
+ cp #1 #1.pdf.source;
+ fi}}%
+% \end{macrocode}
+% \begin{markdown}
+%
+% We include the typeset image using the image token renderer:
+%
+% \end{markdown}
+% \begin{macrocode}
+ \markdownRendererImage{Graphviz image}{#1.pdf}{#1.pdf}{##2}%
+% \end{macrocode}
+% \begin{markdown}
+%
+% If the infostring does not start with `dot …`, we use the previous definition
+% of the fenced code token renderer prototype:
+%
+% \end{markdown}
+% \begin{macrocode}
+ }{%
+ \markdown@witiko@dot@oldRendererInputFencedCodePrototype{#1}{#2}%
+ }%
+ }%
+ \next#2 \relax}%
+% \end{macrocode}
+% \iffalse
+%</latex-themes-witiko-dot>
+%<*latex-themes-witiko-graphicx-http>
+% \fi
+% \par
+% \begin{markdown}
+%
+% The `witiko/graphicx/http` theme stores the previous definition of the image
+% token renderer prototype:
+%
+% \end{markdown}
+% \begin{macrocode}
+\let\markdown@witiko@graphicx@http@oldRendererImagePrototype
+ \markdownRendererImagePrototype
+% \end{macrocode}
+% \begin{markdown}
+%
+% We define the \m{markdown@witiko@graphicx@http@counter} counter to enumerate
+% the images for caching and the \m{markdown@witiko@graphicx@http@filename}
+% command, which will store the pathname of the file containing the pathname
+% of the downloaded image file.
+%
+% \end{markdown}
+% \begin{macrocode}
+\newcount\markdown@witiko@graphicx@http@counter
+\markdown@witiko@graphicx@http@counter=0
+\newcommand\markdown@witiko@graphicx@http@filename{%
+ \markdownOptionCacheDir/witiko_graphicx_http%
+ .\the\markdown@witiko@graphicx@http@counter}%
+% \end{macrocode}
+% \begin{markdown}
+%
+% We define the \m{markdown@witiko@graphicx@http@download} command, which will
+% receive two arguments that correspond to the URL of the online image and to
+% the pathname, where the online image should be downloaded. The command will
+% produce a shell command that tries to downloads the online image to the
+% pathname.
+%
+% \end{markdown}
+% \begin{macrocode}
+\newcommand\markdown@witiko@graphicx@http@download[2]{%
+ wget -O #2 #1 || curl --location -o #2 #1 || rm -f #2}
+% \end{macrocode}
+% \begin{markdown}
+%
+% We locally swap the category code of the percentage sign with the line feed
+% control character, so that we can use percentage signs in the shell code:
+%
+% \end{markdown}
+% \begin{macrocode}
+\begingroup
+\catcode`\%=12
+\catcode`\^^A=14
+% \end{macrocode}
+% \begin{markdown}
+%
+% We redefine the image token renderer prototype, so that it tries to download
+% an online image.
+%
+% \end{markdown}
+% \begin{macrocode}
+\global\def\markdownRendererImagePrototype#1#2#3#4{^^A
+ \begingroup
+ \edef\filename{\markdown@witiko@graphicx@http@filename}^^A
+% \end{macrocode}
+% \begin{markdown}
+%
+% The image will be downloaded only if the image URL has the http or https
+% protocols and the \m{markdownOptionFrozenCache} plain \TeX{} option is disabled:
+%
+% \end{markdown}
+% \begin{macrocode}
+ \markdownIfOption{FrozenCache}{}{^^A
+ \immediate\write18{^^A
+ if printf '%s' "#3" | grep -q -E '^https?:';
+ then
+% \end{macrocode}
+% \begin{markdown}
+%
+% The image will be downloaded to the pathname \m{markdownOptionCacheDir}<!--
+% -->`/`\meta{the MD5 digest of the image URL}`.`\meta{the suffix of the
+% image URL}:
+%
+% \end{markdown}
+% \begin{macrocode}
+ OUTPUT_PREFIX="\markdownOptionCacheDir";
+ OUTPUT_BODY="$(printf '%s' '#3' | md5sum | cut -d' ' -f1)";
+ OUTPUT_SUFFIX="$(printf '%s' '#3' | sed 's/.*[.]//')";
+ OUTPUT="$OUTPUT_PREFIX/$OUTPUT_BODY.$OUTPUT_SUFFIX";
+% \end{macrocode}
+% \begin{markdown}
+%
+% The image will be downloaded only if it has not already been downloaded:
+%
+% \end{markdown}
+% \begin{macrocode}
+ if ! [ -e "$OUTPUT" ];
+ then
+ \markdown@witiko@graphicx@http@download{'#3'}{"$OUTPUT"};
+ printf '%s' "$OUTPUT" > "\filename";
+ fi;
+% \end{macrocode}
+% \begin{markdown}
+%
+% If the image does not have the http or https protocols or the image has
+% already been downloaded, the URL will be stored as-is:
+%
+% \end{markdown}
+% \begin{macrocode}
+ else
+ printf '%s' '#3' > "\filename";
+ fi}}^^A
+% \end{macrocode}
+% \begin{markdown}
+%
+% We load the pathname of the downloaded image and we typeset the image using
+% the previous definition of the image renderer prototype:
+%
+% \end{markdown}
+% \begin{macrocode}
+ \CatchFileDef{\filename}{\filename}{}^^A
+ \markdown@witiko@graphicx@http@oldRendererImagePrototype^^A
+ {#1}{#2}{\filename}{#4}^^A
+ \endgroup
+ \global\advance\markdown@witiko@graphicx@http@counter by 1\relax}^^A
+\endgroup
+% \end{macrocode}
+% \iffalse
+%</latex-themes-witiko-graphicx-http>
+%<*latex-themes-witiko-tilde>
+% \fi
+% \par
+% \begin{markdown}
+%
+% The `witiko/tilde` theme redefines the tilde token renderer prototype,
+% so that it expands to a non-breaking space:
+%
+% \end{markdown}
+% \begin{macrocode}
+\renewcommand\markdownRendererTildePrototype{~}%
+% \end{macrocode}
+% \iffalse
+%</latex-themes-witiko-tilde>
+%<*latex>
+% \fi
+% \par
+% \begin{markdown}
+%
%### Token Renderer Prototypes
-% The following configuration should be considered placeholder.
+% The following configuration should be considered placeholder. If the `plain`
+% package option has been enabled (see Section \ref{sec:latexplain}), none of
+% it will take effect.
+% \end{markdown}
+% \begin{macrocode}
+\ifmarkdownLaTeXPlain\else
+% \end{macrocode}
+% \par
+% \begin{markdown}
%
% If the \m{markdownOptionTightLists} macro expands to `false`, do not load
% the \pkg{paralist} package. This is necessary for \Hologo{LaTeX2e} document
@@ -17070,13 +18343,14 @@ end
%
% \end{markdown}
% \begin{macrocode}
-\ifx\markdownOptionTightLists\undefined
- \@ifclassloaded{beamer}{}{
- \RequirePackage{paralist}}
-\else
- \ifthenelse{\equal{\markdownOptionTightLists}{false}}{}{
- \RequirePackage{paralist}}
-\fi
+\RequirePackage{ifthen}
+\@ifundefined{markdownOptionTightLists}{%
+ \@ifclassloaded{beamer}{}{%
+ \RequirePackage{paralist}}%
+}{%
+ \ifthenelse{\equal{\markdownOptionTightLists}{false}}{}{%
+ \RequirePackage{paralist}}%
+}%
% \end{macrocode}
% \par
% \begin{markdown}
@@ -17104,6 +18378,9 @@ end
olEndTight = {\markdownRendererOlEnd},
dlBeginTight = {\markdownRendererDlBegin},
dlEndTight = {\markdownRendererDlEnd}}}}
+\RequirePackage{csvsimple}
+\RequirePackage{fancyvrb}
+\RequirePackage{graphicx}
\markdownSetup{rendererPrototypes={
lineBreak = {\\},
leftBrace = {\textbraceleft},
@@ -17137,10 +18414,10 @@ end
\label{fig:#1}%
\end{figure}},
ulBegin = {\begin{itemize}},
- ulItem = {\item},
+ ulItem = {\item{}},
ulEnd = {\end{itemize}},
olBegin = {\begin{enumerate}},
- olItem = {\item},
+ olItem = {\item{}},
olItemWithNumber = {\item[#1.]},
olEnd = {\end{enumerate}},
dlBegin = {\begin{description}},
@@ -17154,8 +18431,8 @@ end
\ifx\relax#2\relax
\VerbatimInput{#1}%
\else
- \ifx\minted@code\undefined
- \ifx\lst@version\undefined
+ \@ifundefined{minted@code}{%
+ \@ifundefined{lst@version}{%
\markdownRendererInputFencedCode{#1}{}%
% \end{macrocode}
% \par
@@ -17165,9 +18442,9 @@ end
%
% \end{markdown}
% \begin{macrocode}
- \else
+ }{%
\lstinputlisting[language=#2]{#1}%
- \fi
+ }%
% \end{macrocode}
% \par
% \begin{markdown}
@@ -17177,9 +18454,9 @@ end
%
% \end{markdown}
% \begin{macrocode}
- \else
+ }{%
\inputminted{#2}{#1}%
- \fi
+ }%
\fi},
horizontalRule = {\noindent\rule[0.5ex]{\linewidth}{1pt}},
footnote = {\footnote{#1}}}}
@@ -17191,19 +18468,10 @@ end
%
% \end{markdown}
% \begin{macrocode}
-\newif\ifmarkdownLATEXStrongEmphasisNested
-\markdownLATEXStrongEmphasisNestedfalse
-\markdownSetup{rendererPrototypes={
- strongEmphasis = {%
- \ifmarkdownLATEXStrongEmphasisNested
- \markdownLATEXStrongEmphasisNestedfalse
- \textmd{#1}%
- \markdownLATEXStrongEmphasisNestedtrue
- \else
- \markdownLATEXStrongEmphasisNestedtrue
- \textbf{#1}%
- \markdownLATEXStrongEmphasisNestedfalse
- \fi}}}
+\def\markdownLATEXStrongEmphasis#1{%
+ \IfSubStr\f@series{b}{\textnormal{#1}}{\textbf{#1}}}
+\markdownSetup{rendererPrototypes={strongEmphasis={%
+ \protect\markdownLATEXStrongEmphasis{#1}}}}
% \end{macrocode}
% \par
% \begin{markdown}
@@ -17212,14 +18480,14 @@ end
%
% \end{markdown}
% \begin{macrocode}
-\ifx\chapter\undefined
+\@ifundefined{chapter}{%
\markdownSetup{rendererPrototypes = {
headingOne = {\section{#1}},
headingTwo = {\subsection{#1}},
headingThree = {\subsubsection{#1}},
headingFour = {\paragraph{#1}\leavevmode},
headingFive = {\subparagraph{#1}\leavevmode}}}
-\else
+}{%
\markdownSetup{rendererPrototypes = {
headingOne = {\chapter{#1}},
headingTwo = {\section{#1}},
@@ -17227,7 +18495,7 @@ end
headingFour = {\subsubsection{#1}},
headingFive = {\paragraph{#1}\leavevmode},
headingSix = {\subparagraph{#1}\leavevmode}}}
-\fi
+}%
% \end{macrocode}
% \par
% \begin{markdown}
@@ -17243,6 +18511,7 @@ end
\newcount\markdownLaTeXCitationsCounter
% Basic implementation
+\RequirePackage{gobble}
\def\markdownLaTeXBasicCitations#1#2#3#4#5#6{%
\advance\markdownLaTeXCitationsCounter by 1\relax
\ifx\relax#4\relax
@@ -17417,47 +18686,47 @@ end
cite = {%
\markdownLaTeXCitationsCounter=1%
\def\markdownLaTeXCitationsTotal{#1}%
- \ifx\autocites\undefined
- \ifx\citep\undefined
+ \@ifundefined{autocites}{%
+ \@ifundefined{citep}{%
\expandafter\expandafter\expandafter
\markdownLaTeXBasicCitations
\expandafter\expandafter\expandafter{%
\expandafter\expandafter\expandafter}%
\expandafter\expandafter\expandafter{%
\expandafter\expandafter\expandafter}%
- \else
+ }{%
\expandafter\expandafter\expandafter
\markdownLaTeXNatbibCitations
\expandafter\expandafter\expandafter{%
\expandafter\expandafter\expandafter}%
- \fi
- \else
+ }%
+ }{%
\expandafter\expandafter\expandafter
\markdownLaTeXBibLaTeXCitations
\expandafter{\expandafter}%
- \fi},
+ }},
textCite = {%
\markdownLaTeXCitationsCounter=1%
\def\markdownLaTeXCitationsTotal{#1}%
- \ifx\autocites\undefined
- \ifx\citep\undefined
+ \@ifundefined{autocites}{%
+ \@ifundefined{citep}{%
\expandafter\expandafter\expandafter
\markdownLaTeXBasicTextCitations
\expandafter\expandafter\expandafter{%
\expandafter\expandafter\expandafter}%
\expandafter\expandafter\expandafter{%
\expandafter\expandafter\expandafter}%
- \else
+ }{%
\expandafter\expandafter\expandafter
\markdownLaTeXNatbibTextCitations
\expandafter\expandafter\expandafter{%
\expandafter\expandafter\expandafter}%
- \fi
- \else
+ }%
+ }{%
\expandafter\expandafter\expandafter
\markdownLaTeXBibLaTeXTextCitations
\expandafter{\expandafter}%
- \fi}}}
+ }}}}
% \end{macrocode}
% \par
% \begin{markdown}
@@ -17469,6 +18738,7 @@ end
%
% \end{markdown}
% \begin{macrocode}
+\RequirePackage{url}
\def\markdownRendererLinkPrototype{%
\begingroup
\catcode`\#=12
@@ -17540,8 +18810,6 @@ end
\fi
\advance\markdownLaTeXRowCounter by 1\relax
\ifnum\markdownLaTeXRowCounter>\markdownLaTeXRowTotal\relax
- \markdownInfo{\the\markdownLaTeXTable}
- \markdownInfo{\the\markdownLaTeXTableEnd}
\the\markdownLaTeXTable
\the\markdownLaTeXTableEnd
\expandafter\@gobble
@@ -17564,6 +18832,7 @@ end
\addto@hook\markdownLaTeXTable{#1\\}%
\expandafter\@gobble
\fi\markdownLaTeXRenderTableCell}
+\fi
% \end{macrocode}
% \par
% \begin{markdown}
@@ -17600,11 +18869,17 @@ end
% consequence, we can directly reuse the existing plain \TeX{} implementation
% after supplying the missing plain \TeX{} macros.
%
+% The \Hologo{ConTeXt} implementation redefines the plain \TeX{} logging macros
+% (see Section \ref{sec:texinterfacelogging}) to use the \Hologo{ConTeXt}
+% \m{writestatus} macro.
+%
% \end{markdown}
% \begin{macrocode}
+\def\markdownInfo#1{\writestatus{markdown}{#1.}}%
+\def\markdownWarning#1{\writestatus{markdown\space warn}{#1.}}%
\def\dospecials{\do\ \do\\\do\{\do\}\do\$\do\&%
\do\#\do\^\do\_\do\%\do\~}%
-\input markdown
+\input markdown/markdown
% \end{macrocode}
% \par
% \begin{markdown}
@@ -17637,19 +18912,6 @@ end
% \par
% \begin{markdown}
%
-%### Logging Facilities
-% The \Hologo{ConTeXt} implementation redefines the plain \TeX{} logging macros (see
-% Section \ref{sec:texinterfacelogging}) to use the \Hologo{ConTeXt}
-% \m{writestatus} macro.
-%
-% \end{markdown}
-% \begin{macrocode}
-\def\markdownInfo#1{\writestatus{markdown}{#1.}}%
-\def\markdownWarning#1{\writestatus{markdown\space warn}{#1.}}%
-% \end{macrocode}
-% \par
-% \begin{markdown}
-%
%### Typesetting Markdown
% The \m{startmarkdown} and \m{stopmarkdown} macros are implemented using the
% \m{markdownReadAndConvert} macro.
@@ -17704,12 +18966,12 @@ end
\def\markdownConTeXtCSV{csv}
\def\markdownRendererContentBlockPrototype#1#2#3#4{%
\def\markdownConTeXtCSV@arg{#1}%
- \ifx\markdownConTeXtCSV@arg\markdownConTeXtCSV
+ \ifx\markdownConTeXtCSV@arg\markdownConTeXtCSV
\placetable[][tab:#1]{#4}{%
\processseparatedfile[MarkdownConTeXtCSV][#3]}%
- \else
- \markdownInput{#3}%
- \fi}%
+ \else
+ \markdownInput{#3}%
+ \fi}%
\def\markdownRendererImagePrototype#1#2#3#4{%
\placefigure[][fig:#1]{#4}{\externalfigure[#3]}}%
\def\markdownRendererUlBeginPrototype{\startitemize}%
diff --git a/macros/generic/markdown/markdown.html b/macros/generic/markdown/markdown.html
index 5ca9b7eb10..7a53cfde6c 100644
--- a/macros/generic/markdown/markdown.html
+++ b/macros/generic/markdown/markdown.html
@@ -6,115 +6,119 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<meta name="author" content="Vít Novotný" />
<title>Markdown Package User Manual</title>
- <style type="text/css">
- code{white-space: pre-wrap;}
- span.smallcaps{font-variant: small-caps;}
- span.underline{text-decoration: underline;}
- div.column{display: inline-block; vertical-align: top; width: 50%;}
- </style>
- <style type="text/css">
-a.sourceLine { display: inline-block; line-height: 1.25; }
-a.sourceLine { pointer-events: none; color: inherit; text-decoration: inherit; }
-a.sourceLine:empty { height: 1.2em; position: absolute; }
-.sourceCode { overflow: visible; }
-code.sourceCode { white-space: pre; position: relative; }
-div.sourceCode { margin: 1em 0; }
-pre.sourceCode { margin: 0; }
-@media screen {
-div.sourceCode { overflow: auto; }
-}
-@media print {
-code.sourceCode { white-space: pre-wrap; }
-a.sourceLine { text-indent: -1em; padding-left: 1em; }
-}
-pre.numberSource a.sourceLine
- { position: relative; }
-pre.numberSource a.sourceLine:empty
- { position: absolute; }
-pre.numberSource a.sourceLine::before
- { content: attr(data-line-number);
- position: absolute; left: -5em; text-align: right; vertical-align: baseline;
- border: none; pointer-events: all;
- -webkit-touch-callout: none; -webkit-user-select: none;
- -khtml-user-select: none; -moz-user-select: none;
- -ms-user-select: none; user-select: none;
- padding: 0 4px; width: 4em;
- color: #aaaaaa;
- }
-pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; }
-div.sourceCode
- { }
-@media screen {
-a.sourceLine::before { text-decoration: underline; }
-}
-code span.al { color: #ff0000; font-weight: bold; } /* Alert */
-code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
-code span.at { color: #7d9029; } /* Attribute */
-code span.bn { color: #40a070; } /* BaseN */
-code span.bu { } /* BuiltIn */
-code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */
-code span.ch { color: #4070a0; } /* Char */
-code span.cn { color: #880000; } /* Constant */
-code span.co { color: #60a0b0; font-style: italic; } /* Comment */
-code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */
-code span.do { color: #ba2121; font-style: italic; } /* Documentation */
-code span.dt { color: #902000; } /* DataType */
-code span.dv { color: #40a070; } /* DecVal */
-code span.er { color: #ff0000; font-weight: bold; } /* Error */
-code span.ex { } /* Extension */
-code span.fl { color: #40a070; } /* Float */
-code span.fu { color: #06287e; } /* Function */
-code span.im { } /* Import */
-code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
-code span.kw { color: #007020; font-weight: bold; } /* Keyword */
-code span.op { color: #666666; } /* Operator */
-code span.ot { color: #007020; } /* Other */
-code span.pp { color: #bc7a00; } /* Preprocessor */
-code span.sc { color: #4070a0; } /* SpecialChar */
-code span.ss { color: #bb6688; } /* SpecialString */
-code span.st { color: #4070a0; } /* String */
-code span.va { color: #19177c; } /* Variable */
-code span.vs { color: #4070a0; } /* VerbatimString */
-code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
+ <style>
+ code{white-space: pre-wrap;}
+ span.smallcaps{font-variant: small-caps;}
+ span.underline{text-decoration: underline;}
+ div.column{display: inline-block; vertical-align: top; width: 50%;}
+ div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
+ ul.task-list{list-style: none;}
+ pre > code.sourceCode { white-space: pre; position: relative; }
+ pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
+ pre > code.sourceCode > span:empty { height: 1.2em; }
+ code.sourceCode > span { color: inherit; text-decoration: inherit; }
+ div.sourceCode { margin: 1em 0; }
+ pre.sourceCode { margin: 0; }
+ @media screen {
+ div.sourceCode { overflow: auto; }
+ }
+ @media print {
+ pre > code.sourceCode { white-space: pre-wrap; }
+ pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
+ }
+ pre.numberSource code
+ { counter-reset: source-line 0; }
+ pre.numberSource code > span
+ { position: relative; left: -4em; counter-increment: source-line; }
+ pre.numberSource code > span > a:first-child::before
+ { content: counter(source-line);
+ position: relative; left: -1em; text-align: right; vertical-align: baseline;
+ border: none; display: inline-block;
+ -webkit-touch-callout: none; -webkit-user-select: none;
+ -khtml-user-select: none; -moz-user-select: none;
+ -ms-user-select: none; user-select: none;
+ padding: 0 4px; width: 4em;
+ color: #aaaaaa;
+ }
+ pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; }
+ div.sourceCode
+ { }
+ @media screen {
+ pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
+ }
+ code span.al { color: #ff0000; font-weight: bold; } /* Alert */
+ code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
+ code span.at { color: #7d9029; } /* Attribute */
+ code span.bn { color: #40a070; } /* BaseN */
+ code span.bu { } /* BuiltIn */
+ code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */
+ code span.ch { color: #4070a0; } /* Char */
+ code span.cn { color: #880000; } /* Constant */
+ code span.co { color: #60a0b0; font-style: italic; } /* Comment */
+ code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */
+ code span.do { color: #ba2121; font-style: italic; } /* Documentation */
+ code span.dt { color: #902000; } /* DataType */
+ code span.dv { color: #40a070; } /* DecVal */
+ code span.er { color: #ff0000; font-weight: bold; } /* Error */
+ code span.ex { } /* Extension */
+ code span.fl { color: #40a070; } /* Float */
+ code span.fu { color: #06287e; } /* Function */
+ code span.im { } /* Import */
+ code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
+ code span.kw { color: #007020; font-weight: bold; } /* Keyword */
+ code span.op { color: #666666; } /* Operator */
+ code span.ot { color: #007020; } /* Other */
+ code span.pp { color: #bc7a00; } /* Preprocessor */
+ code span.sc { color: #4070a0; } /* SpecialChar */
+ code span.ss { color: #bb6688; } /* SpecialString */
+ code span.st { color: #4070a0; } /* String */
+ code span.va { color: #19177c; } /* Variable */
+ code span.vs { color: #4070a0; } /* VerbatimString */
+ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
</style>
<link rel="stylesheet" href="markdown.css" />
- <!--[if lt IE 9]>
- <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
- <![endif]-->
</head>
<body>
-<header>
+<header id="title-block-header">
<h1 class="title">Markdown Package User Manual</h1>
<p class="author">Vít Novotný</p>
-<p class="date">v2.9.0 (2020/09/14)</p>
+<p class="date">v2.10.0 (2021/08/06)</p>
</header>
-<nav id="TOC">
+<nav id="TOC" role="doc-toc">
+<ul>
+<li><a href="#introduction"><span class="toc-section-number">1</span> Introduction</a>
<ul>
-<li><a href="#introduction"><span class="toc-section-number">1</span> Introduction</a><ul>
<li><a href="#requirements"><span class="toc-section-number">1.1</span> Requirements</a></li>
-<li><a href="#installation"><span class="toc-section-number">1.2</span> Installation</a><ul>
+<li><a href="#installation"><span class="toc-section-number">1.2</span> Installation</a>
+<ul>
<li><a href="#local-installation"><span class="toc-section-number">1.2.1</span> Local Installation</a></li>
<li><a href="#portable-installation"><span class="toc-section-number">1.2.2</span> Portable Installation</a></li>
</ul></li>
-<li><a href="#first-document"><span class="toc-section-number">1.3</span> First Document</a><ul>
+<li><a href="#first-document"><span class="toc-section-number">1.3</span> First Document</a>
+<ul>
<li><a href="#using-lua"><span class="toc-section-number">1.3.1</span> Using Lua</a></li>
<li><a href="#using-plain-tex"><span class="toc-section-number">1.3.2</span> Using Plain <span class="tex">T<sub>e</sub>X</span></a></li>
<li><a href="#using-latex"><span class="toc-section-number">1.3.3</span> Using <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span></a></li>
<li><a href="#using-context"><span class="toc-section-number">1.3.4</span> Using Con<span class="tex">T<sub>e</sub>X</span>t</a></li>
</ul></li>
</ul></li>
-<li><a href="#examples"><span class="toc-section-number">2</span> Examples</a><ul>
-<li><a href="#interfaces"><span class="toc-section-number">2.1</span> Interfaces</a><ul>
+<li><a href="#examples"><span class="toc-section-number">2</span> Examples</a>
+<ul>
+<li><a href="#interfaces"><span class="toc-section-number">2.1</span> Interfaces</a>
+<ul>
<li><a href="#lua"><span class="toc-section-number">2.1.1</span> Lua</a></li>
<li><a href="#plain-tex"><span class="toc-section-number">2.1.2</span> Plain <span class="tex">T<sub>e</sub>X</span></a></li>
<li><a href="#latex"><span class="toc-section-number">2.1.3</span> <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span></a></li>
<li><a href="#context"><span class="toc-section-number">2.1.4</span> Con<span class="tex">T<sub>e</sub>X</span>t</a></li>
</ul></li>
-<li><a href="#options"><span class="toc-section-number">2.2</span> Options</a><ul>
+<li><a href="#options"><span class="toc-section-number">2.2</span> Options</a>
+<ul>
<li><a href="#lua-1"><span class="toc-section-number">2.2.1</span> Lua</a></li>
<li><a href="#plain-tex-1"><span class="toc-section-number">2.2.2</span> Plain <span class="tex">T<sub>e</sub>X</span></a></li>
+<li><a href="#latex-1"><span class="toc-section-number">2.2.3</span> <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span></a></li>
</ul></li>
-<li><a href="#markdown-tokens"><span class="toc-section-number">2.3</span> Markdown Tokens</a><ul>
+<li><a href="#markdown-tokens"><span class="toc-section-number">2.3</span> Markdown Tokens</a>
+<ul>
<li><a href="#token-renderers"><span class="toc-section-number">2.3.1</span> Token Renderers</a></li>
<li><a href="#token-renderer-prototypes"><span class="toc-section-number">2.3.2</span> Token Renderer Prototypes</a></li>
</ul></li>
@@ -122,205 +126,215 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
</ul>
</nav>
<p><link href="https://afeld.github.io/emoji-css/emoji.css" rel="stylesheet" /></p>
-<h1 id="introduction"><span class="header-section-number">1</span> Introduction</h1>
+<h1 data-number="1" id="introduction"><span class="header-section-number">1</span> Introduction</h1>
<p>The <a href="https://ctan.org/pkg/markdown" title="CTAN: Package markdown">Markdown package</a> converts <a href="https://daringfireball.net/projects/markdown/basics" title="Daring Fireball: Markdown Basics">markdown</a> markup to <span class="tex">T<sub>e</sub>X</span> commands. The functionality is provided both as a Lua module and as plain <span class="tex">T<sub>e</sub>X</span>, <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span>, and Con<span class="tex">T<sub>e</sub>X</span>t macro packages that can be used to directly typeset documents containing markdown markup. Unlike other convertors, the Markdown package does not require any external programs, and makes it easy to redefine how each and every markdown element is rendered. Creative abuse of the markdown syntax is encouraged. <i class="em em-wink"></i></p>
<p>This document is a user manual for the <a href="https://ctan.org/pkg/markdown" title="CTAN: Package markdown">Markdown package</a>. It provides tutorials and code examples. For an in-depth description of the package requirements, interfaces, and implementation, please refer to the <a href="http://mirrors.ctan.org/macros/generic/markdown/markdown.pdf" title="A Markdown Interpreter for &lt;span class=&quot;tex&quot;&gt;T&lt;sub&gt;e&lt;/sub&gt;X&lt;/span&gt;">technical documentation</a>.</p>
-<h2 id="requirements"><span class="header-section-number">1.1</span> Requirements</h2>
+<h2 data-number="1.1" id="requirements"><span class="header-section-number">1.1</span> Requirements</h2>
<p>The package requires a working <span class="tex">T<sub>e</sub>X</span> distribution. <a href="https://www.tug.org/texlive/" title="TeX Live - TeX Users Group"><span class="tex">T<sub>e</sub>X</span> Live</a> ≥ 2013 is known to work and so are recent installation of <a href="https://miktex.org/" title="Home - MiKTeXorg">Mik<span class="tex">T<sub>e</sub>X</span></a>. If you are using a minimal installation of a <span class="tex">T<sub>e</sub>X</span> distribution, please consult the <a href="http://mirrors.ctan.org/macros/generic/markdown/markdown.pdf" title="A Markdown Interpreter for &lt;span class=&quot;tex&quot;&gt;T&lt;sub&gt;e&lt;/sub&gt;X&lt;/span&gt;">technical documentation</a> for a detailed list of required packages.</p>
-<h2 id="installation"><span class="header-section-number">1.2</span> Installation</h2>
+<h2 data-number="1.2" id="installation"><span class="header-section-number">1.2</span> Installation</h2>
<p>The package comes pre-installed with <a href="https://www.tug.org/texlive/" title="TeX Live - TeX Users Group"><span class="tex">T<sub>e</sub>X</span> Live</a> ≥ 2016 and with recent installations of <a href="https://miktex.org/" title="Home - MiKTeXorg">MikTeX</a>. Unless you explicitly wish to use the latest version of the package, you are encouraged to skip this step.</p>
<p>To install the package, first download the package from the repository using Git:</p>
-<div class="sourceCode" id="cb1"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb1-1" data-line-number="1"><span class="fu">git</span> clone https://github.com/witiko/markdown</a></code></pre></div>
+<div class="sourceCode" id="cb1"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true"></a><span class="fu">git</span> clone https://github.com/witiko/markdown</span></code></pre></div>
<p>Next, enter the directory named <code>markdown</code> and interpret the file named <code>markdown.ins</code> file using a Unicode-aware <span class="tex">T<sub>e</sub>X</span> engine, such as XeTeX or LuaTeX:</p>
-<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb2-1" data-line-number="1"><span class="bu">cd</span> markdown</a>
-<a class="sourceLine" id="cb2-2" data-line-number="2"><span class="ex">luatex</span> markdown.ins</a></code></pre></div>
+<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true"></a><span class="bu">cd</span> markdown</span>
+<span id="cb2-2"><a href="#cb2-2" aria-hidden="true"></a><span class="ex">luatex</span> markdown.ins</span></code></pre></div>
<p>This should produce the following files:</p>
<ul>
<li><code>markdown.lua</code>, the Lua module,</li>
<li><code>markdown-cli.lua</code>, the Lua command-line interface,</li>
<li><code>markdown.tex</code>, the plain <span class="tex">T<sub>e</sub>X</span> macro package,</li>
-<li><code>markdown.sty</code>, the <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> package, and</li>
+<li><code>markdown.sty</code>, the <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> package,</li>
+<li><code>markdownthemewitiko_dot.sty</code>, the <code>witiko/dot</code> <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> theme,</li>
+<li><code>markdownthemewitiko_graphicx_http.sty</code>, the <code>witiko/graphicx/http</code> <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> theme,</li>
+<li><code>markdownthemewitiko_tilde.sty</code>, the <code>witiko/tilde</code> <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> theme, and</li>
<li><code>t-markdown.tex</code>, the Con<span class="tex">T<sub>e</sub>X</span>t module.</li>
</ul>
-<h3 id="local-installation"><span class="header-section-number">1.2.1</span> Local Installation</h3>
+<h3 data-number="1.2.1" id="local-installation"><span class="header-section-number">1.2.1</span> Local Installation</h3>
<p>To perform a local installation, place the above files into your <span class="tex">T<sub>e</sub>X</span> directory structure. This is generally where the individual files should be placed:</p>
<ul>
<li><code>&lt;TEXMF&gt;/tex/luatex/markdown/markdown.lua</code></li>
<li><code>&lt;TEXMF&gt;/scripts/markdown/markdown-cli.lua</code></li>
<li><code>&lt;TEXMF&gt;/tex/generic/markdown/markdown.tex</code></li>
<li><code>&lt;TEXMF&gt;/tex/latex/markdown/markdown.sty</code></li>
+<li><code>&lt;TEXMF&gt;/tex/latex/markdown/markdownthemewitiko_dot.sty</code></li>
+<li><code>&lt;TEXMF&gt;/tex/latex/markdown/markdownthemewitiko_graphicx_http.sty</code></li>
+<li><code>&lt;TEXMF&gt;/tex/latex/markdown/markdownthemewitiko_tilde.sty</code></li>
<li><code>&lt;TEXMF&gt;/tex/context/third/markdown/t-markdown.tex</code></li>
</ul>
<p>where <code>&lt;TEXMF&gt;</code> corresponds to a root of your <span class="tex">T<sub>e</sub>X</span> distribution, such as <code>/usr/share/texmf</code> and <code>~/texmf</code> on UN*X systems or <code>C:\Users\</code>⟨<em>Your username</em>⟩<code>\texmf</code> on Windows systems. When in doubt, consult the manual of your <span class="tex">T<sub>e</sub>X</span> distribution.</p>
-<h3 id="portable-installation"><span class="header-section-number">1.2.2</span> Portable Installation</h3>
+<h3 data-number="1.2.2" id="portable-installation"><span class="header-section-number">1.2.2</span> Portable Installation</h3>
<p>Alternatively, you can also store the above files in the same folder as your <span class="tex">T<sub>e</sub>X</span> document and distribute them together. This way your document can be portably typeset on legacy <span class="tex">T<sub>e</sub>X</span> distributions.</p>
-<h2 id="first-document"><span class="header-section-number">1.3</span> First Document</h2>
+<p>Since Markdown version 2.10.0, the file <code>markdown.tex</code> must be placed in a directory named <code>markdown</code> due to <a href="https://github.com/witiko/markdown/issues/74" title="Does not compile if user names own document markdown.tex">issue #74</a>.</p>
+<h2 data-number="1.3" id="first-document"><span class="header-section-number">1.3</span> First Document</h2>
<p>In this section, we will take the necessary steps to typeset our first markdown document in <span class="tex">T<sub>e</sub>X</span>. This will serve as our first hands-on experience with the package and also as a reassurance that the package has been correctly installed.</p>
-<h3 id="using-lua"><span class="header-section-number">1.3.1</span> Using Lua</h3>
+<h3 data-number="1.3.1" id="using-lua"><span class="header-section-number">1.3.1</span> Using Lua</h3>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb3"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb3-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb3-2" data-line-number="2"><span class="fu">\input</span> hello</a>
-<a class="sourceLine" id="cb3-3" data-line-number="3"><span class="fu">\bye</span></a></code></pre></div>
-<h4 id="using-the-lua-module"><span class="header-section-number">1.3.1.1</span> Using the Lua Module</h4>
+<div class="sourceCode" id="cb3"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb3-2"><a href="#cb3-2" aria-hidden="true"></a><span class="fu">\input</span> hello</span>
+<span id="cb3-3"><a href="#cb3-3" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<h4 data-number="1.3.1.1" id="using-the-lua-module"><span class="header-section-number">1.3.1.1</span> Using the Lua Module</h4>
<p>Using a text editor, create a text document named <code>hello.lua</code> with the following content:</p>
-<div class="sourceCode" id="cb4"><pre class="sourceCode lua"><code class="sourceCode lua"><a class="sourceLine" id="cb4-1" data-line-number="1"><span class="ot">#</span>!<span class="ot">/</span>usr<span class="ot">/</span>bin<span class="ot">/</span>env texlua</a>
-<a class="sourceLine" id="cb4-2" data-line-number="2"><span class="kw">local</span> kpse <span class="ot">=</span> <span class="fu">require</span><span class="ot">(</span><span class="st">&quot;kpse&quot;</span><span class="ot">)</span></a>
-<a class="sourceLine" id="cb4-3" data-line-number="3">kpse<span class="ot">.</span>set_program_name<span class="ot">(</span><span class="st">&quot;luatex&quot;</span><span class="ot">)</span></a>
-<a class="sourceLine" id="cb4-4" data-line-number="4"><span class="kw">local</span> markdown <span class="ot">=</span> <span class="fu">require</span><span class="ot">(</span><span class="st">&quot;markdown&quot;</span><span class="ot">)</span></a>
-<a class="sourceLine" id="cb4-5" data-line-number="5"><span class="kw">local</span> convert <span class="ot">=</span> markdown<span class="ot">.</span>new<span class="ot">()</span></a>
-<a class="sourceLine" id="cb4-6" data-line-number="6"><span class="fu">print</span><span class="ot">(</span>convert<span class="ot">(</span><span class="st">&quot;Hello *world*!&quot;</span><span class="ot">))</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb5"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb5-1" data-line-number="1"><span class="ex">texlua</span> hello.lua <span class="op">&gt;</span> hello.tex</a>
-<a class="sourceLine" id="cb5-2" data-line-number="2"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb4"><pre class="sourceCode lua"><code class="sourceCode lua"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true"></a><span class="co">#!/usr/bin/env texlua</span></span>
+<span id="cb4-2"><a href="#cb4-2" aria-hidden="true"></a><span class="kw">local</span> ran_ok<span class="op">,</span> kpse <span class="op">=</span> <span class="fu">pcall</span><span class="op">(</span><span class="fu">require</span><span class="op">,</span> <span class="st">&quot;kpse&quot;</span><span class="op">)</span></span>
+<span id="cb4-3"><a href="#cb4-3" aria-hidden="true"></a><span class="cf">if</span> ran_ok <span class="cf">then</span> kpse<span class="op">.</span>set_program_name<span class="op">(</span><span class="st">&quot;luatex&quot;</span><span class="op">)</span> <span class="cf">end</span></span>
+<span id="cb4-4"><a href="#cb4-4" aria-hidden="true"></a><span class="kw">local</span> markdown <span class="op">=</span> <span class="fu">require</span><span class="op">(</span><span class="st">&quot;markdown&quot;</span><span class="op">)</span></span>
+<span id="cb4-5"><a href="#cb4-5" aria-hidden="true"></a><span class="kw">local</span> convert <span class="op">=</span> markdown<span class="op">.</span>new<span class="op">()</span></span>
+<span id="cb4-6"><a href="#cb4-6" aria-hidden="true"></a><span class="fu">print</span><span class="op">(</span>convert<span class="op">(</span><span class="st">&quot;Hello *world*!&quot;</span><span class="op">))</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb5"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true"></a><span class="ex">texlua</span> hello.lua <span class="op">&gt;</span> hello.tex</span>
+<span id="cb5-2"><a href="#cb5-2" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” Invoking pdfTeX should have the same effect:</p>
-<div class="sourceCode" id="cb6"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb6-1" data-line-number="1"><span class="ex">texlua</span> hello.lua <span class="op">&gt;</span> hello.tex</a>
-<a class="sourceLine" id="cb6-2" data-line-number="2"><span class="ex">pdftex</span> document.tex</a></code></pre></div>
-<h4 id="using-the-lua-command-line-interface"><span class="header-section-number">1.3.1.2</span> Using the Lua Command-Line Interface</h4>
+<div class="sourceCode" id="cb6"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true"></a><span class="ex">texlua</span> hello.lua <span class="op">&gt;</span> hello.tex</span>
+<span id="cb6-2"><a href="#cb6-2" aria-hidden="true"></a><span class="ex">pdftex</span> document.tex</span></code></pre></div>
+<h4 data-number="1.3.1.2" id="using-the-lua-command-line-interface"><span class="header-section-number">1.3.1.2</span> Using the Lua Command-Line Interface</h4>
<p>Using a text editor, create a text document named <code>hello.md</code> with the following content:</p>
-<div class="sourceCode" id="cb7"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb7-1" data-line-number="1">Hello *world*!</a></code></pre></div>
+<div class="sourceCode" id="cb7"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb7-1"><a href="#cb7-1" aria-hidden="true"></a>Hello *world*!</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb8"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb8-1" data-line-number="1"><span class="ex">texlua</span> ⟨CLI pathname⟩ -- hello.md hello.tex</a>
-<a class="sourceLine" id="cb8-2" data-line-number="2"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb8"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb8-1"><a href="#cb8-1" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ -- hello.md hello.tex</span>
+<span id="cb8-2"><a href="#cb8-2" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>where ⟨<em>CLI pathname</em>⟩ corresponds to the location of the Lua CLI script file, such as <code>~/texmf/scripts/markdown/markdown-cli.lua</code> on UN*X systems or <code>C:\Users\</code>⟨<em>Your username</em>⟩<code>\texmf\scripts\markdown\markdown-cli.lua</code> on Windows systems. Use the command <code>kpsewhich -a markdown-cli.lua</code> to locate the Lua CLI script file using <a href="https://tug.org/kpathsea/" title="Kpathsea - TeX Users Group">Kpathsea</a>.</p>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” Invoking pdfTeX should have the same effect:</p>
-<div class="sourceCode" id="cb9"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb9-1" data-line-number="1"><span class="ex">texlua</span> ⟨CLI pathname⟩ -- hello.md hello.tex</a>
-<a class="sourceLine" id="cb9-2" data-line-number="2"><span class="ex">pdftex</span> document.tex</a></code></pre></div>
-<h3 id="using-plain-tex"><span class="header-section-number">1.3.2</span> Using Plain <span class="tex">T<sub>e</sub>X</span></h3>
+<div class="sourceCode" id="cb9"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb9-1"><a href="#cb9-1" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ -- hello.md hello.tex</span>
+<span id="cb9-2"><a href="#cb9-2" aria-hidden="true"></a><span class="ex">pdftex</span> document.tex</span></code></pre></div>
+<h3 data-number="1.3.2" id="using-plain-tex"><span class="header-section-number">1.3.2</span> Using Plain <span class="tex">T<sub>e</sub>X</span></h3>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb10"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb10-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb10-2" data-line-number="2"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb10-3" data-line-number="3">Hello *world*!</a>
-<a class="sourceLine" id="cb10-4" data-line-number="4"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb10-5" data-line-number="5"><span class="fu">\bye</span></a></code></pre></div>
+<div class="sourceCode" id="cb10"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb10-1"><a href="#cb10-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb10-2"><a href="#cb10-2" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb10-3"><a href="#cb10-3" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb10-4"><a href="#cb10-4" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb10-5"><a href="#cb10-5" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb11"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb11-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb11"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb11-1"><a href="#cb11-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” Invoking pdfTeX should have the same effect:</p>
-<div class="sourceCode" id="cb12"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb12-1" data-line-number="1"><span class="ex">pdftex</span> --shell-escape document.tex</a></code></pre></div>
-<h3 id="using-latex"><span class="header-section-number">1.3.3</span> Using <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span></h3>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb13"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb13-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb13-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb13-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb13-4" data-line-number="4"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb13-5" data-line-number="5">Hello *world*!</a>
-<a class="sourceLine" id="cb13-6" data-line-number="6"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb13-7" data-line-number="7"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb14"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb14-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb12"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb12-1"><a href="#cb12-1" aria-hidden="true"></a><span class="ex">pdftex</span> --shell-escape document.tex</span></code></pre></div>
+<h3 data-number="1.3.3" id="using-latex"><span class="header-section-number">1.3.3</span> Using <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span></h3>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb13"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb13-1"><a href="#cb13-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb13-2"><a href="#cb13-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb13-3"><a href="#cb13-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb13-4"><a href="#cb13-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb13-5"><a href="#cb13-5" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb13-6"><a href="#cb13-6" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb13-7"><a href="#cb13-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb14"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb14-1"><a href="#cb14-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” Invoking pdfTeX should have the same effect:</p>
-<div class="sourceCode" id="cb15"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb15-1" data-line-number="1"><span class="ex">pdflatex</span> --shell-escape document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb15"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb15-1"><a href="#cb15-1" aria-hidden="true"></a><span class="ex">pdflatex</span> --shell-escape document.tex</span></code></pre></div>
<hr />
<p>As the next step, try typesetting the example documents distributed along with the Markdown package:</p>
-<div class="sourceCode" id="cb16"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb16-1" data-line-number="1"><span class="fu">git</span> clone https://github.com/witiko/markdown</a>
-<a class="sourceLine" id="cb16-2" data-line-number="2"><span class="bu">cd</span> markdown/examples</a>
-<a class="sourceLine" id="cb16-3" data-line-number="3"><span class="ex">lualatex</span> latex.tex</a></code></pre></div>
+<div class="sourceCode" id="cb16"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb16-1"><a href="#cb16-1" aria-hidden="true"></a><span class="fu">git</span> clone https://github.com/witiko/markdown</span>
+<span id="cb16-2"><a href="#cb16-2" aria-hidden="true"></a><span class="bu">cd</span> markdown/examples</span>
+<span id="cb16-3"><a href="#cb16-3" aria-hidden="true"></a><span class="ex">lualatex</span> latex.tex</span></code></pre></div>
<p>A PDF document named <code>latex.pdf</code> should be produced. Open the text documents <code>latex.tex</code> and <code>example.md</code> in a text editor to see how the example documents are structured. Try changing the documents and typesetting them as follows:</p>
-<div class="sourceCode" id="cb17"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb17-1" data-line-number="1"><span class="ex">lualatex</span> latex.tex</a></code></pre></div>
+<div class="sourceCode" id="cb17"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb17-1"><a href="#cb17-1" aria-hidden="true"></a><span class="ex">lualatex</span> latex.tex</span></code></pre></div>
<p>to see the effect of your changes.</p>
-<h3 id="using-context"><span class="header-section-number">1.3.4</span> Using Con<span class="tex">T<sub>e</sub>X</span>t</h3>
+<h3 data-number="1.3.4" id="using-context"><span class="header-section-number">1.3.4</span> Using Con<span class="tex">T<sub>e</sub>X</span>t</h3>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb18"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb18-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb18-2" data-line-number="2"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb18-3" data-line-number="3"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb18-4" data-line-number="4">Hello *world*!</a>
-<a class="sourceLine" id="cb18-5" data-line-number="5"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb18-6" data-line-number="6"><span class="fu">\stoptext</span></a></code></pre></div>
+<div class="sourceCode" id="cb18"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb18-1"><a href="#cb18-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb18-2"><a href="#cb18-2" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb18-3"><a href="#cb18-3" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb18-4"><a href="#cb18-4" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb18-5"><a href="#cb18-5" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb18-6"><a href="#cb18-6" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb19"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb19-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb19"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb19-1"><a href="#cb19-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” Invoking pdfTeX should have the same effect:</p>
-<div class="sourceCode" id="cb20"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb20-1" data-line-number="1"><span class="ex">texexec</span> --passon=--shell-escape document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb20"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb20-1"><a href="#cb20-1" aria-hidden="true"></a><span class="ex">texexec</span> --passon=--shell-escape document.tex</span></code></pre></div>
<hr />
<p>As the next step, try typesetting the example documents distributed along with the Markdown package:</p>
-<div class="sourceCode" id="cb21"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb21-1" data-line-number="1"><span class="fu">git</span> clone https://github.com/witiko/markdown</a>
-<a class="sourceLine" id="cb21-2" data-line-number="2"><span class="bu">cd</span> markdown/examples</a>
-<a class="sourceLine" id="cb21-3" data-line-number="3"><span class="ex">context</span> context.tex</a></code></pre></div>
+<div class="sourceCode" id="cb21"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb21-1"><a href="#cb21-1" aria-hidden="true"></a><span class="fu">git</span> clone https://github.com/witiko/markdown</span>
+<span id="cb21-2"><a href="#cb21-2" aria-hidden="true"></a><span class="bu">cd</span> markdown/examples</span>
+<span id="cb21-3"><a href="#cb21-3" aria-hidden="true"></a><span class="ex">context</span> context.tex</span></code></pre></div>
<p>A PDF document named <code>context.pdf</code> should be produced. Open the text documents <code>context.tex</code> and <code>example.md</code> in a text editor to see how the example documents are structured. Try changing the documents and typesetting them as follows:</p>
-<div class="sourceCode" id="cb22"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb22-1" data-line-number="1"><span class="ex">context</span> context.tex</a></code></pre></div>
+<div class="sourceCode" id="cb22"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb22-1"><a href="#cb22-1" aria-hidden="true"></a><span class="ex">context</span> context.tex</span></code></pre></div>
<p>to see the effect of your changes.</p>
-<h1 id="examples"><span class="header-section-number">2</span> Examples</h1>
+<h1 data-number="2" id="examples"><span class="header-section-number">2</span> Examples</h1>
<p>In this section, I will describe the individual parts of the Markdown package. Each part will be shown by example, leaving the implementation details to the <a href="http://mirrors.ctan.org/macros/generic/markdown/markdown.pdf" title="A Markdown Interpreter for &lt;span class=&quot;tex&quot;&gt;T&lt;sub&gt;e&lt;/sub&gt;X&lt;/span&gt;">technical documentation</a>.</p>
-<h2 id="interfaces"><span class="header-section-number">2.1</span> Interfaces</h2>
+<h2 data-number="2.1" id="interfaces"><span class="header-section-number">2.1</span> Interfaces</h2>
<p>In this section, I will describe the individual interfaces exposed by the Markdown package starting with the low-level Lua interfaces and all the way up to the <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> and Con<span class="tex">T<sub>e</sub>X</span>t interfaces intended for the ordinary user.</p>
-<h3 id="lua"><span class="header-section-number">2.1.1</span> Lua</h3>
+<h3 data-number="2.1.1" id="lua"><span class="header-section-number">2.1.1</span> Lua</h3>
<p>The Lua programming language is what drives the conversion from markdown to <span class="tex">T<sub>e</sub>X</span> in the Markdown package. Based on the <a href="https://github.com/jgm/lunamark" title="Lua library for conversion between markup formats">Lunamark</a> Lua library by John MacFarlane, the Lua implementation is largely independent on <span class="tex">T<sub>e</sub>X</span>, and can be used separately from typesetting a document. Lua provides two interfaces: a Lua module and a command-line interface (CLI).</p>
-<h4 id="lua-module"><span class="header-section-number">2.1.1.1</span> Lua Module</h4>
+<h4 data-number="2.1.1.1" id="lua-module"><span class="header-section-number">2.1.1.1</span> Lua Module</h4>
<p>A Lua module is a software library that can be used from in other programs. The <code>markdown</code> Lua module makes it possible to convert markdown to <span class="tex">T<sub>e</sub>X</span> from within Lua<span class="tex">T<sub>e</sub>X</span> documents and Lua scripts.</p>
<p>The <code>markdown</code> Lua module exposes the <code>new(</code>⟨<em>options</em>⟩<code>)</code> method, which creates a converter function from markdown to <span class="tex">T<sub>e</sub>X</span>. The properties of the converter function are specified by the Lua table <code>options</code>. The parameter is optional; when unspecified, the behaviour will be the same as if ⟨<em>options</em>⟩ were an empty table.</p>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb23"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb23-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb23-2" data-line-number="2"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb23-3" data-line-number="3"><span class="fu">\input</span> example</a>
-<a class="sourceLine" id="cb23-4" data-line-number="4"><span class="fu">\bye</span></a></code></pre></div>
+<div class="sourceCode" id="cb23"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb23-1"><a href="#cb23-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb23-2"><a href="#cb23-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb23-3"><a href="#cb23-3" aria-hidden="true"></a><span class="fu">\input</span> example</span>
+<span id="cb23-4"><a href="#cb23-4" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Using a text editor, create a text document named <code>example.lua</code> with the following content:</p>
-<div class="sourceCode" id="cb24"><pre class="sourceCode lua"><code class="sourceCode lua"><a class="sourceLine" id="cb24-1" data-line-number="1"><span class="ot">#</span>!<span class="ot">/</span>usr<span class="ot">/</span>bin<span class="ot">/</span>env texlua</a>
-<a class="sourceLine" id="cb24-2" data-line-number="2"><span class="kw">local</span> kpse <span class="ot">=</span> <span class="fu">require</span><span class="ot">(</span><span class="st">&quot;kpse&quot;</span><span class="ot">)</span></a>
-<a class="sourceLine" id="cb24-3" data-line-number="3">kpse<span class="ot">.</span>set_program_name<span class="ot">(</span><span class="st">&quot;luatex&quot;</span><span class="ot">)</span></a>
-<a class="sourceLine" id="cb24-4" data-line-number="4"><span class="kw">local</span> markdown <span class="ot">=</span> <span class="fu">require</span><span class="ot">(</span><span class="st">&quot;markdown&quot;</span><span class="ot">)</span></a>
-<a class="sourceLine" id="cb24-5" data-line-number="5"><span class="kw">local</span> input<span class="ot">,</span> convert_safe<span class="ot">,</span> convert_unsafe<span class="ot">,</span> paragraph</a>
-<a class="sourceLine" id="cb24-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb24-7" data-line-number="7">input <span class="ot">=</span> <span class="st">[[$\sqrt{-1}$ *equals* $i$.]]</span></a>
-<a class="sourceLine" id="cb24-8" data-line-number="8">convert_safe <span class="ot">=</span> markdown<span class="ot">.</span>new<span class="ot">()</span></a>
-<a class="sourceLine" id="cb24-9" data-line-number="9">convert_unsafe <span class="ot">=</span> markdown<span class="ot">.</span>new<span class="ot">({</span>hybrid <span class="ot">=</span> <span class="kw">true</span><span class="ot">})</span></a>
-<a class="sourceLine" id="cb24-10" data-line-number="10">paragraph <span class="ot">=</span> <span class="st">[[\par]]</span></a>
-<a class="sourceLine" id="cb24-11" data-line-number="11"></a>
-<a class="sourceLine" id="cb24-12" data-line-number="12"><span class="fu">print</span><span class="ot">(</span></a>
-<a class="sourceLine" id="cb24-13" data-line-number="13"> convert_safe<span class="ot">(</span>input<span class="ot">)</span> <span class="ot">..</span> paragraph <span class="ot">..</span></a>
-<a class="sourceLine" id="cb24-14" data-line-number="14"> convert_unsafe<span class="ot">(</span>input<span class="ot">)</span></a>
-<a class="sourceLine" id="cb24-15" data-line-number="15"><span class="ot">)</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb25"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb25-1" data-line-number="1"><span class="ex">texlua</span> example.lua <span class="op">&gt;</span> example.tex</a>
-<a class="sourceLine" id="cb25-2" data-line-number="2"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb24"><pre class="sourceCode lua"><code class="sourceCode lua"><span id="cb24-1"><a href="#cb24-1" aria-hidden="true"></a><span class="co">#!/usr/bin/env texlua</span></span>
+<span id="cb24-2"><a href="#cb24-2" aria-hidden="true"></a><span class="kw">local</span> ran_ok<span class="op">,</span> kpse <span class="op">=</span> <span class="fu">pcall</span><span class="op">(</span><span class="fu">require</span><span class="op">,</span> <span class="st">&quot;kpse&quot;</span><span class="op">)</span></span>
+<span id="cb24-3"><a href="#cb24-3" aria-hidden="true"></a><span class="cf">if</span> ran_ok <span class="cf">then</span> kpse<span class="op">.</span>set_program_name<span class="op">(</span><span class="st">&quot;luatex&quot;</span><span class="op">)</span> <span class="cf">end</span></span>
+<span id="cb24-4"><a href="#cb24-4" aria-hidden="true"></a><span class="kw">local</span> markdown <span class="op">=</span> <span class="fu">require</span><span class="op">(</span><span class="st">&quot;markdown&quot;</span><span class="op">)</span></span>
+<span id="cb24-5"><a href="#cb24-5" aria-hidden="true"></a><span class="kw">local</span> input<span class="op">,</span> convert_safe<span class="op">,</span> convert_unsafe<span class="op">,</span> paragraph</span>
+<span id="cb24-6"><a href="#cb24-6" aria-hidden="true"></a></span>
+<span id="cb24-7"><a href="#cb24-7" aria-hidden="true"></a>input <span class="op">=</span> <span class="vs">[[$\sqrt{-1}$ *equals* $i$.]]</span></span>
+<span id="cb24-8"><a href="#cb24-8" aria-hidden="true"></a>convert_safe <span class="op">=</span> markdown<span class="op">.</span>new<span class="op">()</span></span>
+<span id="cb24-9"><a href="#cb24-9" aria-hidden="true"></a>convert_unsafe <span class="op">=</span> markdown<span class="op">.</span>new<span class="op">({</span>hybrid <span class="op">=</span> <span class="kw">true</span><span class="op">})</span></span>
+<span id="cb24-10"><a href="#cb24-10" aria-hidden="true"></a>paragraph <span class="op">=</span> <span class="vs">[[\par]]</span></span>
+<span id="cb24-11"><a href="#cb24-11" aria-hidden="true"></a></span>
+<span id="cb24-12"><a href="#cb24-12" aria-hidden="true"></a><span class="fu">print</span><span class="op">(</span></span>
+<span id="cb24-13"><a href="#cb24-13" aria-hidden="true"></a> convert_safe<span class="op">(</span>input<span class="op">)</span> <span class="op">..</span> paragraph <span class="op">..</span></span>
+<span id="cb24-14"><a href="#cb24-14" aria-hidden="true"></a> convert_unsafe<span class="op">(</span>input<span class="op">)</span></span>
+<span id="cb24-15"><a href="#cb24-15" aria-hidden="true"></a><span class="op">)</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb25"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb25-1"><a href="#cb25-1" aria-hidden="true"></a><span class="ex">texlua</span> example.lua <span class="op">&gt;</span> example.tex</span>
+<span id="cb25-2"><a href="#cb25-2" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>$\sqrt{-1}$ <em>equals</em> $i$.</p>
<p>√-̅1̅ <em>equals</em> <span class="math inline"><em>i</em></span>.</p>
</blockquote>
<p>Invoking pdfTeX should have the same effect:</p>
-<div class="sourceCode" id="cb26"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb26-1" data-line-number="1"><span class="ex">texlua</span> example.lua <span class="op">&gt;</span> example.tex</a>
-<a class="sourceLine" id="cb26-2" data-line-number="2"><span class="ex">pdftex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb26"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb26-1"><a href="#cb26-1" aria-hidden="true"></a><span class="ex">texlua</span> example.lua <span class="op">&gt;</span> example.tex</span>
+<span id="cb26-2"><a href="#cb26-2" aria-hidden="true"></a><span class="ex">pdftex</span> document.tex</span></code></pre></div>
<hr />
<p>Rather than use the <code>texlua</code> interpreter, we can also access the <code>markdown</code> Lua module directly from our document. Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb27"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb27-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb27-2" data-line-number="2"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb27-3" data-line-number="3"><span class="fu">\directlua</span>{</a>
-<a class="sourceLine" id="cb27-4" data-line-number="4"> local markdown = require(&quot;markdown&quot;)</a>
-<a class="sourceLine" id="cb27-5" data-line-number="5"> local input, convert_safe, convert_unsafe, paragraph</a>
-<a class="sourceLine" id="cb27-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb27-7" data-line-number="7"> input = [[<span class="ss">$</span><span class="sc">\string\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.]]</a>
-<a class="sourceLine" id="cb27-8" data-line-number="8"> convert_safe = markdown.new()</a>
-<a class="sourceLine" id="cb27-9" data-line-number="9"> convert_unsafe = markdown.new({hybrid = true})</a>
-<a class="sourceLine" id="cb27-10" data-line-number="10"> paragraph = [[<span class="fu">\par</span>]]</a>
-<a class="sourceLine" id="cb27-11" data-line-number="11"></a>
-<a class="sourceLine" id="cb27-12" data-line-number="12"> tex.sprint(</a>
-<a class="sourceLine" id="cb27-13" data-line-number="13"> convert_safe(input) .. paragraph ..</a>
-<a class="sourceLine" id="cb27-14" data-line-number="14"> convert_unsafe(input)</a>
-<a class="sourceLine" id="cb27-15" data-line-number="15"> )</a>
-<a class="sourceLine" id="cb27-16" data-line-number="16">}</a>
-<a class="sourceLine" id="cb27-17" data-line-number="17"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb28"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb28-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb27"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb27-1"><a href="#cb27-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb27-2"><a href="#cb27-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb27-3"><a href="#cb27-3" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
+<span id="cb27-4"><a href="#cb27-4" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
+<span id="cb27-5"><a href="#cb27-5" aria-hidden="true"></a> local input, convert_safe, convert_unsafe, paragraph</span>
+<span id="cb27-6"><a href="#cb27-6" aria-hidden="true"></a></span>
+<span id="cb27-7"><a href="#cb27-7" aria-hidden="true"></a> input = [[<span class="ss">$</span><span class="sc">\string\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.]]</span>
+<span id="cb27-8"><a href="#cb27-8" aria-hidden="true"></a> convert_safe = markdown.new()</span>
+<span id="cb27-9"><a href="#cb27-9" aria-hidden="true"></a> convert_unsafe = markdown.new({hybrid = true})</span>
+<span id="cb27-10"><a href="#cb27-10" aria-hidden="true"></a> paragraph = [[<span class="fu">\par</span>]]</span>
+<span id="cb27-11"><a href="#cb27-11" aria-hidden="true"></a></span>
+<span id="cb27-12"><a href="#cb27-12" aria-hidden="true"></a> tex.sprint(</span>
+<span id="cb27-13"><a href="#cb27-13" aria-hidden="true"></a> convert_safe(input) .. paragraph ..</span>
+<span id="cb27-14"><a href="#cb27-14" aria-hidden="true"></a> convert_unsafe(input)</span>
+<span id="cb27-15"><a href="#cb27-15" aria-hidden="true"></a> )</span>
+<span id="cb27-16"><a href="#cb27-16" aria-hidden="true"></a>}</span>
+<span id="cb27-17"><a href="#cb27-17" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb28"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb28-1"><a href="#cb28-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>$\sqrt{-1}$ <em>equals</em> $i$.</p>
<p>√-̅1̅ <em>equals</em> <span class="math inline"><em>i</em></span>.</p>
</blockquote>
<p>In this case, we cannot use pdfTeX, because pdfTeX does not define the <code>\directlua</code> <span class="tex">T<sub>e</sub>X</span> command.</p>
-<h4 id="lua-command-line-interface"><span class="header-section-number">2.1.1.2</span> Lua Command-Line Interface</h4>
+<h4 data-number="2.1.1.2" id="lua-command-line-interface"><span class="header-section-number">2.1.1.2</span> Lua Command-Line Interface</h4>
<p>The Lua command-line interface (CLI) of the Markdown package makes the functionality of the Lua module accessible from the command line. This makes it possible to convert documents from markdown to <span class="tex">T<sub>e</sub>X</span> manually without any knowledge of the Lua programming language.</p>
<p>The Lua command-line interface accepts the same options as the <code>markdown</code> Lua module, but now the options are specified as command-line parameters.</p>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb29"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb29-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb29-2" data-line-number="2"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb29-3" data-line-number="3"><span class="fu">\input</span> safe</a>
-<a class="sourceLine" id="cb29-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb29-5" data-line-number="5"><span class="fu">\input</span> unsafe</a>
-<a class="sourceLine" id="cb29-6" data-line-number="6"><span class="fu">\bye</span></a></code></pre></div>
+<div class="sourceCode" id="cb29"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb29-1"><a href="#cb29-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb29-2"><a href="#cb29-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb29-3"><a href="#cb29-3" aria-hidden="true"></a><span class="fu">\input</span> safe</span>
+<span id="cb29-4"><a href="#cb29-4" aria-hidden="true"></a></span>
+<span id="cb29-5"><a href="#cb29-5" aria-hidden="true"></a><span class="fu">\begingroup</span></span>
+<span id="cb29-6"><a href="#cb29-6" aria-hidden="true"></a><span class="fu">\catcode</span>`<span class="fu">\%</span>=12</span>
+<span id="cb29-7"><a href="#cb29-7" aria-hidden="true"></a><span class="fu">\input</span> unsafe</span>
+<span id="cb29-8"><a href="#cb29-8" aria-hidden="true"></a><span class="fu">\endgroup</span></span>
+<span id="cb29-9"><a href="#cb29-9" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Using a text editor, create a text document named <code>example.md</code> with the following content:</p>
-<div class="sourceCode" id="cb30"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb30-1" data-line-number="1">$\sqrt{-1}$ *equals* $i$.</a></code></pre></div>
+<div class="sourceCode" id="cb30"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb30-1"><a href="#cb30-1" aria-hidden="true"></a>$\sqrt{-1}$ *equals* $i$.</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb31"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb31-1" data-line-number="1"><span class="ex">texlua</span> ⟨CLI pathname⟩ -- example.md safe.tex</a>
-<a class="sourceLine" id="cb31-2" data-line-number="2"><span class="ex">texlua</span> ⟨CLI pathname⟩ hybrid=true -- example.md unsafe.tex</a>
-<a class="sourceLine" id="cb31-3" data-line-number="3"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb31"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb31-1"><a href="#cb31-1" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ -- example.md safe.tex</span>
+<span id="cb31-2"><a href="#cb31-2" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ hybrid=true -- example.md unsafe.tex</span>
+<span id="cb31-3"><a href="#cb31-3" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>where ⟨<em>CLI pathname</em>⟩ corresponds to the location of the Lua CLI script file, such as <code>~/texmf/scripts/markdown/markdown-cli.lua</code> on UN*X systems or <code>C:\Users\</code>⟨<em>Your username</em>⟩<code>\texmf\scripts\markdown\markdown-cli.lua</code> on Windows systems. Use the command <code>kpsewhich -a markdown-cli.lua</code> to locate the Lua CLI script file using <a href="https://tug.org/kpathsea/" title="Kpathsea - TeX Users Group">Kpathsea</a>.</p>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
@@ -328,260 +342,260 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
<p>√-̅1̅ <em>equals</em> <span class="math inline"><em>i</em></span>.</p>
</blockquote>
<p>Invoking pdfTeX should have the same effect:</p>
-<div class="sourceCode" id="cb32"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb32-1" data-line-number="1"><span class="ex">texlua</span> ⟨CLI pathname⟩ -- example.md safe.tex</a>
-<a class="sourceLine" id="cb32-2" data-line-number="2"><span class="ex">texlua</span> ⟨CLI pathname⟩ hybrid=true -- example.md unsafe.tex</a>
-<a class="sourceLine" id="cb32-3" data-line-number="3"><span class="ex">pdftex</span> document.tex</a></code></pre></div>
-<h3 id="plain-tex"><span class="header-section-number">2.1.2</span> Plain <span class="tex">T<sub>e</sub>X</span></h3>
+<div class="sourceCode" id="cb32"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb32-1"><a href="#cb32-1" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ -- example.md safe.tex</span>
+<span id="cb32-2"><a href="#cb32-2" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ hybrid=true -- example.md unsafe.tex</span>
+<span id="cb32-3"><a href="#cb32-3" aria-hidden="true"></a><span class="ex">pdftex</span> document.tex</span></code></pre></div>
+<h3 data-number="2.1.2" id="plain-tex"><span class="header-section-number">2.1.2</span> Plain <span class="tex">T<sub>e</sub>X</span></h3>
<p>The plain <span class="tex">T<sub>e</sub>X</span> interface provides <span class="tex">T<sub>e</sub>X</span> commands that typeset markdown documents by using the Lua interface behind the scenes. Unlike the Lua interface, the plain TeX interface does not provide low-level tools for converting markdown to <span class="tex">T<sub>e</sub>X</span>. Instead, its goal is to provide high-level typesetting capabilities.</p>
<p>The plain <span class="tex">T<sub>e</sub>X</span> interface accepts the same options as the <code>markdown</code> Lua module, in addition to its own options, but now the options are specified as <span class="tex">T<sub>e</sub>X</span> commands.</p>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb33"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb33-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb33-2" data-line-number="2"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb33-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb33-4" data-line-number="4"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb33-5" data-line-number="5"><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</a>
-<a class="sourceLine" id="cb33-6" data-line-number="6"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb33-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb33-8" data-line-number="8"><span class="fu">\def</span>\markdownOptionHybrid{true}</a>
-<a class="sourceLine" id="cb33-9" data-line-number="9"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb33-10" data-line-number="10"><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</a>
-<a class="sourceLine" id="cb33-11" data-line-number="11"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb33-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb33-13" data-line-number="13"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb34"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb34-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb33"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb33-1"><a href="#cb33-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb33-2"><a href="#cb33-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb33-3"><a href="#cb33-3" aria-hidden="true"></a></span>
+<span id="cb33-4"><a href="#cb33-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb33-5"><a href="#cb33-5" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
+<span id="cb33-6"><a href="#cb33-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb33-7"><a href="#cb33-7" aria-hidden="true"></a></span>
+<span id="cb33-8"><a href="#cb33-8" aria-hidden="true"></a><span class="fu">\def\markdownOptionHybrid</span>{true}</span>
+<span id="cb33-9"><a href="#cb33-9" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb33-10"><a href="#cb33-10" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
+<span id="cb33-11"><a href="#cb33-11" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb33-12"><a href="#cb33-12" aria-hidden="true"></a></span>
+<span id="cb33-13"><a href="#cb33-13" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb34"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb34-1"><a href="#cb34-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>$\sqrt{-1}$ <em>equals</em> $i$.</p>
<p>√-̅1̅ <em>equals</em> <span class="math inline"><em>i</em></span>.</p>
</blockquote>
<p>Invoking pdfTeX should have the same effect:</p>
-<div class="sourceCode" id="cb35"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb35-1" data-line-number="1"><span class="ex">pdftex</span> --shell-escape document.tex</a></code></pre></div>
-<h3 id="latex"><span class="header-section-number">2.1.3</span> <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span></h3>
+<div class="sourceCode" id="cb35"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb35-1"><a href="#cb35-1" aria-hidden="true"></a><span class="ex">pdftex</span> --shell-escape document.tex</span></code></pre></div>
+<h3 data-number="2.1.3" id="latex"><span class="header-section-number">2.1.3</span> <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span></h3>
<p>The <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> interface provides the same level of functionality as the plain <span class="tex">T<sub>e</sub>X</span> interface by using the plain <span class="tex">T<sub>e</sub>X</span> interface behind the scenes. Unlike the plain <span class="tex">T<sub>e</sub>X</span> interface, the <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> interface uses familiar <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> idioms, such as package options and environments.</p>
<p>The <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> interface accepts the same options as the plain <span class="tex">T<sub>e</sub>X</span> interface, but now the options are specified as ⟨<em>key</em>⟩<span class="math inline"> = </span>⟨<em>value</em>⟩ pairs and they are passed either as package options, in the <code>\markdownSetup</code> command, or as parameters for the <code>markdown*</code> <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> environment.</p>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb36"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb36-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb36-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb36-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb36-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb36-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb36-6" data-line-number="6"><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></a>
-<a class="sourceLine" id="cb36-7" data-line-number="7"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb36-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb36-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{hybrid}</a>
-<a class="sourceLine" id="cb36-10" data-line-number="10"><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></a>
-<a class="sourceLine" id="cb36-11" data-line-number="11"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb36-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb36-13" data-line-number="13"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb37"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb37-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb36"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb36-1"><a href="#cb36-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb36-2"><a href="#cb36-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb36-3"><a href="#cb36-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb36-4"><a href="#cb36-4" aria-hidden="true"></a></span>
+<span id="cb36-5"><a href="#cb36-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb36-6"><a href="#cb36-6" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></span>
+<span id="cb36-7"><a href="#cb36-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb36-8"><a href="#cb36-8" aria-hidden="true"></a></span>
+<span id="cb36-9"><a href="#cb36-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{hybrid}</span>
+<span id="cb36-10"><a href="#cb36-10" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></span>
+<span id="cb36-11"><a href="#cb36-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb36-12"><a href="#cb36-12" aria-hidden="true"></a></span>
+<span id="cb36-13"><a href="#cb36-13" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb37"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb37-1"><a href="#cb37-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>$\sqrt{-1}$ <em>equals</em> $i$.</p>
<p>√-̅1̅ <em>equals</em> <span class="math inline"><em>i</em></span>.</p>
</blockquote>
<p>Invoking pdfTeX should have the same effect:</p>
-<div class="sourceCode" id="cb38"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb38-1" data-line-number="1"><span class="ex">pdflatex</span> --shell-escape document.tex</a></code></pre></div>
-<h3 id="context"><span class="header-section-number">2.1.4</span> Con<span class="tex">T<sub>e</sub>X</span>t</h3>
+<div class="sourceCode" id="cb38"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb38-1"><a href="#cb38-1" aria-hidden="true"></a><span class="ex">pdflatex</span> --shell-escape document.tex</span></code></pre></div>
+<h3 data-number="2.1.4" id="context"><span class="header-section-number">2.1.4</span> Con<span class="tex">T<sub>e</sub>X</span>t</h3>
<p>The Con<span class="tex">T<sub>e</sub>X</span>t interface provides the same level of functionality as the plain <span class="tex">T<sub>e</sub>X</span> interface by using the plain <span class="tex">T<sub>e</sub>X</span> interface behind the scenes. Unlike the plain <span class="tex">T<sub>e</sub>X</span> interface, the Con<span class="tex">T<sub>e</sub>X</span>t interface uses familiar Con<span class="tex">T<sub>e</sub>X</span>t idioms, such as environments.</p>
<p>The Con<span class="tex">T<sub>e</sub>X</span>t interface accepts the same options as the plain <span class="tex">T<sub>e</sub>X</span> interface.</p>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb39"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb39-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb39-2" data-line-number="2"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb39-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb39-4" data-line-number="4"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb39-5" data-line-number="5"><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</a>
-<a class="sourceLine" id="cb39-6" data-line-number="6"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb39-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb39-8" data-line-number="8"><span class="fu">\def</span>\markdownOptionHybrid{true}</a>
-<a class="sourceLine" id="cb39-9" data-line-number="9"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb39-10" data-line-number="10"><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</a>
-<a class="sourceLine" id="cb39-11" data-line-number="11"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb39-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb39-13" data-line-number="13"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb40"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb40-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb39"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb39-1"><a href="#cb39-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb39-2"><a href="#cb39-2" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb39-3"><a href="#cb39-3" aria-hidden="true"></a></span>
+<span id="cb39-4"><a href="#cb39-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb39-5"><a href="#cb39-5" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
+<span id="cb39-6"><a href="#cb39-6" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb39-7"><a href="#cb39-7" aria-hidden="true"></a></span>
+<span id="cb39-8"><a href="#cb39-8" aria-hidden="true"></a><span class="fu">\def\markdownOptionHybrid</span>{true}</span>
+<span id="cb39-9"><a href="#cb39-9" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb39-10"><a href="#cb39-10" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
+<span id="cb39-11"><a href="#cb39-11" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb39-12"><a href="#cb39-12" aria-hidden="true"></a></span>
+<span id="cb39-13"><a href="#cb39-13" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb40"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb40-1"><a href="#cb40-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>$\sqrt{-1}$ <em>equals</em> $i$.</p>
<p>√-̅1̅ <em>equals</em> <span class="math inline"><em>i</em></span>.</p>
</blockquote>
<p>Invoking pdfTeX should have the same effect:</p>
-<div class="sourceCode" id="cb41"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb41-1" data-line-number="1"><span class="ex">texexec</span> --passon=--shell-escape document.tex</a></code></pre></div>
-<h2 id="options"><span class="header-section-number">2.2</span> Options</h2>
+<div class="sourceCode" id="cb41"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb41-1"><a href="#cb41-1" aria-hidden="true"></a><span class="ex">texexec</span> --passon=--shell-escape document.tex</span></code></pre></div>
+<h2 data-number="2.2" id="options"><span class="header-section-number">2.2</span> Options</h2>
<p>In this section, I will describe all the options recognized by the Markdown package.</p>
-<h3 id="lua-1"><span class="header-section-number">2.2.1</span> Lua</h3>
+<h3 data-number="2.2.1" id="lua-1"><span class="header-section-number">2.2.1</span> Lua</h3>
<p>Lua options control the conversion from markdown to <span class="tex">T<sub>e</sub>X</span>. They are supported by all interfaces of the Markdown package starting with the low-level Lua interfaces and all the way up to the <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> and Con<span class="tex">T<sub>e</sub>X</span>t interfaces.</p>
-<h4 id="option-cachedir"><span class="header-section-number">2.2.1.1</span> Option <code>cacheDir</code></h4>
+<h4 data-number="2.2.1.1" id="option-cachedir"><span class="header-section-number">2.2.1.1</span> Option <code>cacheDir</code></h4>
<dl>
-<dt><code>cacheDir</code> (default value: <code>&quot;.&quot;</code>)</dt>
+<dt><code>cacheDir</code> (default value: <code>"."</code>)</dt>
<dd><p>A path to the directory containing auxiliary cache files. If the last segment of the path does not exist, it will be created by the Lua command-line and plain <span class="tex">T<sub>e</sub>X</span> implementations. The Lua implementation expects that the entire path already exists.</p>
<p>When iteratively writing and typesetting a markdown document, the cache files are going to accumulate over time. You are advised to clean the cache directory every now and then, or to set it to a temporary filesystem (such as <code>/tmp</code> on UN*X systems), which gets periodically emptied.</p>
</dd>
</dl>
-<h5 id="lua-module-example" class="unnumbered">Lua Module Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb42"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb42-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb42-2" data-line-number="2"><span class="fu">\directlua</span>{</a>
-<a class="sourceLine" id="cb42-3" data-line-number="3"> local markdown = require(&quot;markdown&quot;)</a>
-<a class="sourceLine" id="cb42-4" data-line-number="4"> local convert = markdown.new({cacheDir = &quot;cache&quot;})</a>
-<a class="sourceLine" id="cb42-5" data-line-number="5"> local input = &quot;Hello *world*!&quot;</a>
-<a class="sourceLine" id="cb42-6" data-line-number="6"> tex.sprint(convert(input)) }</a>
-<a class="sourceLine" id="cb42-7" data-line-number="7"><span class="fu">\bye</span></a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="lua-module-example">Lua Module Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb42"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb42-1"><a href="#cb42-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb42-2"><a href="#cb42-2" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
+<span id="cb42-3"><a href="#cb42-3" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
+<span id="cb42-4"><a href="#cb42-4" aria-hidden="true"></a> local convert = markdown.new({cacheDir = &quot;cache&quot;})</span>
+<span id="cb42-5"><a href="#cb42-5" aria-hidden="true"></a> local input = &quot;Hello *world*!&quot;</span>
+<span id="cb42-6"><a href="#cb42-6" aria-hidden="true"></a> tex.sprint(convert(input)) }</span>
+<span id="cb42-7"><a href="#cb42-7" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Create an empty directory named <code>cache</code> next to our text document. Then, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb43"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb43-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb43"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb43-1"><a href="#cb43-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” Several cache files of the Markdown package will also be produced in the <code>cache</code> directory as we requested using the <code>cacheDir</code> option.</p>
-<h5 id="lua-cli-example" class="unnumbered">Lua CLI Example</h5>
+<h5 class="unnumbered" data-number="" id="lua-cli-example">Lua CLI Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb44"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb44-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb44-2" data-line-number="2"><span class="fu">\input</span> hello</a>
-<a class="sourceLine" id="cb44-3" data-line-number="3"><span class="fu">\bye</span></a></code></pre></div>
+<div class="sourceCode" id="cb44"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb44-1"><a href="#cb44-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb44-2"><a href="#cb44-2" aria-hidden="true"></a><span class="fu">\input</span> hello</span>
+<span id="cb44-3"><a href="#cb44-3" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Using a text editor, create a text document named <code>hello.md</code> with the following content:</p>
-<div class="sourceCode" id="cb45"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb45-1" data-line-number="1">Hello *world*!</a></code></pre></div>
+<div class="sourceCode" id="cb45"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb45-1"><a href="#cb45-1" aria-hidden="true"></a>Hello *world*!</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb46"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb46-1" data-line-number="1"><span class="ex">texlua</span> ⟨CLI pathname⟩ cacheDir=cache -- hello.md hello.tex</a>
-<a class="sourceLine" id="cb46-2" data-line-number="2"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb46"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb46-1"><a href="#cb46-1" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ cacheDir=cache -- hello.md hello.tex</span>
+<span id="cb46-2"><a href="#cb46-2" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>where ⟨<em>CLI pathname</em>⟩ corresponds to the location of the Lua CLI script file, such as <code>~/texmf/scripts/markdown/markdown-cli.lua</code> on UN*X systems or <code>C:\Users\</code>⟨<em>Your username</em>⟩<code>\texmf\scripts\markdown\markdown-cli.lua</code> on Windows systems. Use the command <code>kpsewhich -a markdown-cli.lua</code> to locate the Lua CLI script file using <a href="https://tug.org/kpathsea/" title="Kpathsea - TeX Users Group">Kpathsea</a>.</p>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” A directory named <code>cache</code> containing several cache files of the Markdown package will also be produced as we requested using the <code>cacheDir</code> option.</p>
-<h5 id="plain-tex-example" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb47"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb47-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb47-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionCacheDir{cache}</a>
-<a class="sourceLine" id="cb47-3" data-line-number="3"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb47-4" data-line-number="4">Hello *world*!</a>
-<a class="sourceLine" id="cb47-5" data-line-number="5"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb47-6" data-line-number="6"><span class="fu">\bye</span></a></code></pre></div>
+<div class="sourceCode" id="cb47"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb47-1"><a href="#cb47-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb47-2"><a href="#cb47-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionCacheDir</span>{cache}</span>
+<span id="cb47-3"><a href="#cb47-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb47-4"><a href="#cb47-4" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb47-5"><a href="#cb47-5" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb47-6"><a href="#cb47-6" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb48"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb48-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb48"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb48-1"><a href="#cb48-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” A directory named <code>cache</code> containing several cache files of the Markdown package will also be produced as we requested using the <code>cacheDir</code> option.</p>
-<h5 id="latex-example" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb49"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb49-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb49-2" data-line-number="2"><span class="bu">\usepackage</span>[cacheDir=cache]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb49-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb49-4" data-line-number="4"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb49-5" data-line-number="5">Hello *world*!</a>
-<a class="sourceLine" id="cb49-6" data-line-number="6"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb49-7" data-line-number="7"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<div class="sourceCode" id="cb49"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb49-1"><a href="#cb49-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb49-2"><a href="#cb49-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[cacheDir=cache]{<span class="ex">markdown</span>}</span>
+<span id="cb49-3"><a href="#cb49-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb49-4"><a href="#cb49-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb49-5"><a href="#cb49-5" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb49-6"><a href="#cb49-6" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb49-7"><a href="#cb49-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb50"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb50-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb50"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb50-1"><a href="#cb50-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” A directory named <code>cache</code> containing several cache files of the Markdown package will also be produced as we requested using the <code>cacheDir</code> option.</p>
-<h5 id="context-example" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb51"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb51-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb51-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionCacheDir{cache}</a>
-<a class="sourceLine" id="cb51-3" data-line-number="3"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb51-4" data-line-number="4"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb51-5" data-line-number="5">Hello *world*!</a>
-<a class="sourceLine" id="cb51-6" data-line-number="6"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb51-7" data-line-number="7"><span class="fu">\stoptext</span></a></code></pre></div>
+<div class="sourceCode" id="cb51"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb51-1"><a href="#cb51-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb51-2"><a href="#cb51-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionCacheDir</span>{cache}</span>
+<span id="cb51-3"><a href="#cb51-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb51-4"><a href="#cb51-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb51-5"><a href="#cb51-5" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb51-6"><a href="#cb51-6" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb51-7"><a href="#cb51-7" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb52"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb52-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb52"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb52-1"><a href="#cb52-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” A directory named <code>cache</code> containing several cache files of the Markdown package will also be produced as we requested using the <code>cacheDir</code> option.</p>
-<h4 id="option-frozencachefilename"><span class="header-section-number">2.2.1.2</span> Option <code>frozenCacheFileName</code></h4>
+<h4 data-number="2.2.1.2" id="option-frozencachefilename"><span class="header-section-number">2.2.1.2</span> Option <code>frozenCacheFileName</code></h4>
<dl>
-<dt><code>frozenCacheFileName</code> (default value: <code>&quot;frozenCache.tex&quot;</code>)</dt>
+<dt><code>frozenCacheFileName</code> (default value: <code>"frozenCache.tex"</code>)</dt>
<dd><p>A path to an output file (frozen cache) that will be created when the <strong><code>finalizeCache</code></strong> option is enabled and will contain a mapping between an enumeration of markdown documents and their auxiliary cache files.</p>
<p>The frozen cache makes it possible to later typeset a plain <span class="tex">T<sub>e</sub>X</span> document that contains markdown documents without invoking Lua using the <code>\markdownOptionFrozenCache</code> plain <span class="tex">T<sub>e</sub>X</span> option. As a result, the plain <span class="tex">T<sub>e</sub>X</span> document becomes more portable, but further changes in the order and the content of markdown documents will not be reflected.</p>
</dd>
</dl>
-<h5 id="lua-module-example-1" class="unnumbered">Lua Module Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb53"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb53-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb53-2" data-line-number="2"><span class="fu">\directlua</span>{</a>
-<a class="sourceLine" id="cb53-3" data-line-number="3"> local markdown = require(&quot;markdown&quot;)</a>
-<a class="sourceLine" id="cb53-4" data-line-number="4"> local convert = markdown.new({finalizeCache = true, frozenCacheFileName = &quot;cache.tex&quot;})</a>
-<a class="sourceLine" id="cb53-5" data-line-number="5"> local input = &quot;Hello *world*!&quot;</a>
-<a class="sourceLine" id="cb53-6" data-line-number="6"> tex.sprint(convert(input)) }</a>
-<a class="sourceLine" id="cb53-7" data-line-number="7"><span class="fu">\bye</span></a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="lua-module-example-1">Lua Module Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb53"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb53-1"><a href="#cb53-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb53-2"><a href="#cb53-2" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
+<span id="cb53-3"><a href="#cb53-3" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
+<span id="cb53-4"><a href="#cb53-4" aria-hidden="true"></a> local convert = markdown.new({finalizeCache = true, frozenCacheFileName = &quot;cache.tex&quot;})</span>
+<span id="cb53-5"><a href="#cb53-5" aria-hidden="true"></a> local input = &quot;Hello *world*!&quot;</span>
+<span id="cb53-6"><a href="#cb53-6" aria-hidden="true"></a> tex.sprint(convert(input)) }</span>
+<span id="cb53-7"><a href="#cb53-7" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Then, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb54"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb54-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb54"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb54-1"><a href="#cb54-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” A frozen cache will also be produced in the <code>cache.tex</code> output file as we requested using the <code>finalizeCache</code> and <code>frozenCacheFileName</code> options.</p>
-<h5 id="lua-cli-example-1" class="unnumbered">Lua CLI Example</h5>
+<h5 class="unnumbered" data-number="" id="lua-cli-example-1">Lua CLI Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb55"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb55-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb55-2" data-line-number="2"><span class="fu">\input</span> hello</a>
-<a class="sourceLine" id="cb55-3" data-line-number="3"><span class="fu">\bye</span></a></code></pre></div>
+<div class="sourceCode" id="cb55"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb55-1"><a href="#cb55-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb55-2"><a href="#cb55-2" aria-hidden="true"></a><span class="fu">\input</span> hello</span>
+<span id="cb55-3"><a href="#cb55-3" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Using a text editor, create a text document named <code>hello.md</code> with the following content:</p>
-<div class="sourceCode" id="cb56"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb56-1" data-line-number="1">Hello *world*!</a></code></pre></div>
+<div class="sourceCode" id="cb56"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb56-1"><a href="#cb56-1" aria-hidden="true"></a>Hello *world*!</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb57"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb57-1" data-line-number="1"><span class="ex">texlua</span> ⟨CLI pathname⟩ finalizeCache=true frozenCacheFileName=cache.tex -- hello.md hello.tex</a>
-<a class="sourceLine" id="cb57-2" data-line-number="2"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb57"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb57-1"><a href="#cb57-1" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ finalizeCache=true frozenCacheFileName=cache.tex -- hello.md hello.tex</span>
+<span id="cb57-2"><a href="#cb57-2" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>where ⟨<em>CLI pathname</em>⟩ corresponds to the location of the Lua CLI script file, such as <code>~/texmf/scripts/markdown/markdown-cli.lua</code> on UN*X systems or <code>C:\Users\</code>⟨<em>Your username</em>⟩<code>\texmf\scripts\markdown\markdown-cli.lua</code> on Windows systems. Use the command <code>kpsewhich -a markdown-cli.lua</code> to locate the Lua CLI script file using <a href="https://tug.org/kpathsea/" title="Kpathsea - TeX Users Group">Kpathsea</a>.</p>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” A frozen cache will also be produced in the <code>cache.tex</code> output file as we requested using the <code>finalizeCache</code> and <code>frozenCacheFileName</code> options.</p>
-<h5 id="plain-tex-example-1" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-1">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb58"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb58-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb58-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionFinalizeCache{true}</a>
-<a class="sourceLine" id="cb58-3" data-line-number="3"><span class="fu">\def</span>\markdownOptionFrozenCacheFileName{cache.tex}</a>
-<a class="sourceLine" id="cb58-4" data-line-number="4"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb58-5" data-line-number="5">Hello *world*!</a>
-<a class="sourceLine" id="cb58-6" data-line-number="6"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb58-7" data-line-number="7"><span class="fu">\bye</span></a></code></pre></div>
+<div class="sourceCode" id="cb58"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb58-1"><a href="#cb58-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb58-2"><a href="#cb58-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFinalizeCache</span>{true}</span>
+<span id="cb58-3"><a href="#cb58-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionFrozenCacheFileName</span>{cache.tex}</span>
+<span id="cb58-4"><a href="#cb58-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb58-5"><a href="#cb58-5" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb58-6"><a href="#cb58-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb58-7"><a href="#cb58-7" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb59"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb59-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb59"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb59-1"><a href="#cb59-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” A frozen cache will also be produced in the <code>cache.tex</code> output file as we requested using the <code>finalizeCache</code> and <code>frozenCacheFileName</code> options.</p>
<p>Next, create a new text document <code>frozen-document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb60"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb60-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb60-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionFrozenCache{true}</a>
-<a class="sourceLine" id="cb60-3" data-line-number="3"><span class="fu">\def</span>\markdownOptionFrozenCacheFileName{cache.tex}</a>
-<a class="sourceLine" id="cb60-4" data-line-number="4"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb60-5" data-line-number="5">Hi *world*!</a>
-<a class="sourceLine" id="cb60-6" data-line-number="6"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb60-7" data-line-number="7"><span class="fu">\bye</span></a></code></pre></div>
+<div class="sourceCode" id="cb60"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb60-1"><a href="#cb60-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb60-2"><a href="#cb60-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFrozenCache</span>{true}</span>
+<span id="cb60-3"><a href="#cb60-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionFrozenCacheFileName</span>{cache.tex}</span>
+<span id="cb60-4"><a href="#cb60-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb60-5"><a href="#cb60-5" aria-hidden="true"></a>Hi *world*!</span>
+<span id="cb60-6"><a href="#cb60-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb60-7"><a href="#cb60-7" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Last, invoke pdfTeX without shell access from the terminal:</p>
-<div class="sourceCode" id="cb61"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb61-1" data-line-number="1"><span class="ex">pdftex</span> -no-shell-escape frozen-document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb61"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb61-1"><a href="#cb61-1" aria-hidden="true"></a><span class="ex">pdftex</span> -no-shell-escape frozen-document.tex</span></code></pre></div>
<p>A PDF document named <code>frozen-document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” Since we used the contents of the frozen cache using the <code>\markdownOptionFrozenCache</code> option, we were able to typeset the document without accessing the shell or invoking Lua, but the change in the content of the markdown document from “Hello <em>world</em>!” to “Hi <em>world</em>!” was not reflected.</p>
-<h5 id="latex-example-1" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-1"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb62"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb62-1" data-line-number="1"><span class="bu">\documentclass</span>[finalizecache]{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb62-2" data-line-number="2"><span class="bu">\usepackage</span>[frozenCacheFileName=cache.tex]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb62-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb62-4" data-line-number="4"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb62-5" data-line-number="5">Hello *world*!</a>
-<a class="sourceLine" id="cb62-6" data-line-number="6"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb62-7" data-line-number="7"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<div class="sourceCode" id="cb62"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb62-1"><a href="#cb62-1" aria-hidden="true"></a><span class="bu">\documentclass</span>[finalizecache]{<span class="ex">article</span>}</span>
+<span id="cb62-2"><a href="#cb62-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[frozenCacheFileName=cache.tex]{<span class="ex">markdown</span>}</span>
+<span id="cb62-3"><a href="#cb62-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb62-4"><a href="#cb62-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb62-5"><a href="#cb62-5" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb62-6"><a href="#cb62-6" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb62-7"><a href="#cb62-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb63"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb63-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb63"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb63-1"><a href="#cb63-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” A frozen cache will also be produced in the <code>cache.tex</code> output file as we requested using the <code>finalizecache</code> and <code>frozenCacheFileName</code> options.</p>
<p>Next, create a new text document <code>frozen-document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb64"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb64-1" data-line-number="1"><span class="bu">\documentclass</span>[frozencache]{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb64-2" data-line-number="2"><span class="bu">\usepackage</span>[frozenCacheFileName=cache.tex]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb64-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb64-4" data-line-number="4"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb64-5" data-line-number="5">Hi *world*!</a>
-<a class="sourceLine" id="cb64-6" data-line-number="6"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb64-7" data-line-number="7"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<div class="sourceCode" id="cb64"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb64-1"><a href="#cb64-1" aria-hidden="true"></a><span class="bu">\documentclass</span>[frozencache]{<span class="ex">article</span>}</span>
+<span id="cb64-2"><a href="#cb64-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[frozenCacheFileName=cache.tex]{<span class="ex">markdown</span>}</span>
+<span id="cb64-3"><a href="#cb64-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb64-4"><a href="#cb64-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb64-5"><a href="#cb64-5" aria-hidden="true"></a>Hi *world*!</span>
+<span id="cb64-6"><a href="#cb64-6" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb64-7"><a href="#cb64-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Last, invoke pdfTeX without shell access from the terminal:</p>
-<div class="sourceCode" id="cb65"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb65-1" data-line-number="1"><span class="ex">pdflatex</span> -no-shell-escape frozen-document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb65"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb65-1"><a href="#cb65-1" aria-hidden="true"></a><span class="ex">pdflatex</span> -no-shell-escape frozen-document.tex</span></code></pre></div>
<p>A PDF document named <code>frozen-document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” Since we used the contents of the frozen cache using the <code>frozencache</code> option, we were able to typeset the document without accessing the shell or invoking Lua, but the change in the content of the markdown document from “Hello <em>world</em>!” to “Hi <em>world</em>!” was not reflected.</p>
-<h5 id="context-example-1" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb66"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb66-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb66-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionFinalizeCache{true}</a>
-<a class="sourceLine" id="cb66-3" data-line-number="3"><span class="fu">\def</span>\markdownOptionFrozenCacheFileName{cache.tex}</a>
-<a class="sourceLine" id="cb66-4" data-line-number="4"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb66-5" data-line-number="5"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb66-6" data-line-number="6">Hello *world*!</a>
-<a class="sourceLine" id="cb66-7" data-line-number="7"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb66-8" data-line-number="8"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb67"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb67-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-1">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb66"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb66-1"><a href="#cb66-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb66-2"><a href="#cb66-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFinalizeCache</span>{true}</span>
+<span id="cb66-3"><a href="#cb66-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionFrozenCacheFileName</span>{cache.tex}</span>
+<span id="cb66-4"><a href="#cb66-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb66-5"><a href="#cb66-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb66-6"><a href="#cb66-6" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb66-7"><a href="#cb66-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb66-8"><a href="#cb66-8" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb67"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb67-1"><a href="#cb67-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” A frozen cache will also be produced in the <code>cache.tex</code> output file as we requested using the <code>finalizeCache</code> and <code>frozenCacheFileName</code> options.</p>
<p>Next, create a new text document <code>frozen-document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb68"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb68-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb68-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionFrozenCache{true}</a>
-<a class="sourceLine" id="cb68-3" data-line-number="3"><span class="fu">\def</span>\markdownOptionFrozenCacheFileName{cache.tex}</a>
-<a class="sourceLine" id="cb68-4" data-line-number="4"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb68-5" data-line-number="5"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb68-6" data-line-number="6">Hi *world*!</a>
-<a class="sourceLine" id="cb68-7" data-line-number="7"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb68-8" data-line-number="8"><span class="fu">\stoptext</span></a></code></pre></div>
+<div class="sourceCode" id="cb68"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb68-1"><a href="#cb68-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb68-2"><a href="#cb68-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFrozenCache</span>{true}</span>
+<span id="cb68-3"><a href="#cb68-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionFrozenCacheFileName</span>{cache.tex}</span>
+<span id="cb68-4"><a href="#cb68-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb68-5"><a href="#cb68-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb68-6"><a href="#cb68-6" aria-hidden="true"></a>Hi *world*!</span>
+<span id="cb68-7"><a href="#cb68-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb68-8"><a href="#cb68-8" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Last, invoke pdfTeX without shell access from the terminal:</p>
-<div class="sourceCode" id="cb69"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb69-1" data-line-number="1"><span class="ex">texexec</span> --passon=--no-shell-escape frozen-document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb69"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb69-1"><a href="#cb69-1" aria-hidden="true"></a><span class="ex">texexec</span> --passon=--no-shell-escape frozen-document.tex</span></code></pre></div>
<p>A PDF document named <code>frozen-document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” Since we used the contents of the frozen cache using the <code>\markdownOptionFrozenCache</code> option, we were able to typeset the document without accessing the shell or invoking Lua, but the change in the content of the markdown document from “Hello <em>world</em>!” to “Hi <em>world</em>!” was not reflected.</p>
-<h4 id="option-blankbeforeblockquote"><span class="header-section-number">2.2.1.3</span> Option <code>blankBeforeBlockquote</code></h4>
+<h4 data-number="2.2.1.3" id="option-blankbeforeblockquote"><span class="header-section-number">2.2.1.3</span> Option <code>blankBeforeBlockquote</code></h4>
<dl>
<dt><code>blankBeforeBlockquote</code> (default value: <code>false</code>)</dt>
<dd><dl>
@@ -594,27 +608,27 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
</dl>
</dd>
</dl>
-<h5 id="lua-module-example-2" class="unnumbered">Lua Module Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb70"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb70-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb70-2" data-line-number="2"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb70-3" data-line-number="3"><span class="fu">\directlua</span>{</a>
-<a class="sourceLine" id="cb70-4" data-line-number="4"> local markdown = require(&quot;markdown&quot;)</a>
-<a class="sourceLine" id="cb70-5" data-line-number="5"> local newline = [[^^J^^J]]</a>
-<a class="sourceLine" id="cb70-6" data-line-number="6"> local convert, input</a>
-<a class="sourceLine" id="cb70-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb70-8" data-line-number="8"> convert = markdown.new()</a>
-<a class="sourceLine" id="cb70-9" data-line-number="9"> input = &quot;A paragraph.&quot; .. newline ..</a>
-<a class="sourceLine" id="cb70-10" data-line-number="10"> &quot;&gt; A quote.&quot; .. newline</a>
-<a class="sourceLine" id="cb70-11" data-line-number="11"> tex.sprint(convert(input))</a>
-<a class="sourceLine" id="cb70-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb70-13" data-line-number="13"> convert = markdown.new({blankBeforeBlockquote = true})</a>
-<a class="sourceLine" id="cb70-14" data-line-number="14"> input = &quot;A paragraph.&quot; .. newline ..</a>
-<a class="sourceLine" id="cb70-15" data-line-number="15"> &quot;&gt; Not a quote.&quot; .. newline</a>
-<a class="sourceLine" id="cb70-16" data-line-number="16"> tex.sprint(convert(input)) }</a>
-<a class="sourceLine" id="cb70-17" data-line-number="17"><span class="fu">\bye</span></a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="lua-module-example-2">Lua Module Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb70"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb70-1"><a href="#cb70-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb70-2"><a href="#cb70-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb70-3"><a href="#cb70-3" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
+<span id="cb70-4"><a href="#cb70-4" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
+<span id="cb70-5"><a href="#cb70-5" aria-hidden="true"></a> local newline = [[^^J^^J]]</span>
+<span id="cb70-6"><a href="#cb70-6" aria-hidden="true"></a> local convert, input</span>
+<span id="cb70-7"><a href="#cb70-7" aria-hidden="true"></a></span>
+<span id="cb70-8"><a href="#cb70-8" aria-hidden="true"></a> convert = markdown.new()</span>
+<span id="cb70-9"><a href="#cb70-9" aria-hidden="true"></a> input = &quot;A paragraph.&quot; .. newline ..</span>
+<span id="cb70-10"><a href="#cb70-10" aria-hidden="true"></a> &quot;&gt; A quote.&quot; .. newline</span>
+<span id="cb70-11"><a href="#cb70-11" aria-hidden="true"></a> tex.sprint(convert(input))</span>
+<span id="cb70-12"><a href="#cb70-12" aria-hidden="true"></a></span>
+<span id="cb70-13"><a href="#cb70-13" aria-hidden="true"></a> convert = markdown.new({blankBeforeBlockquote = true})</span>
+<span id="cb70-14"><a href="#cb70-14" aria-hidden="true"></a> input = &quot;A paragraph.&quot; .. newline ..</span>
+<span id="cb70-15"><a href="#cb70-15" aria-hidden="true"></a> &quot;&gt; Not a quote.&quot; .. newline</span>
+<span id="cb70-16"><a href="#cb70-16" aria-hidden="true"></a> tex.sprint(convert(input)) }</span>
+<span id="cb70-17"><a href="#cb70-17" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Then, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb71"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb71-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb71"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb71-1"><a href="#cb71-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>A paragraph.</p>
@@ -623,20 +637,20 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
</blockquote>
<p>A paragraph &gt; Not a quote.</p>
</blockquote>
-<h5 id="lua-cli-example-2" class="unnumbered">Lua CLI Example</h5>
+<h5 class="unnumbered" data-number="" id="lua-cli-example-2">Lua CLI Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb72"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb72-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb72-2" data-line-number="2"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb72-3" data-line-number="3"><span class="fu">\input</span> optionfalse</a>
-<a class="sourceLine" id="cb72-4" data-line-number="4"><span class="fu">\input</span> optiontrue</a>
-<a class="sourceLine" id="cb72-5" data-line-number="5"><span class="fu">\bye</span></a></code></pre></div>
+<div class="sourceCode" id="cb72"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb72-1"><a href="#cb72-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb72-2"><a href="#cb72-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb72-3"><a href="#cb72-3" aria-hidden="true"></a><span class="fu">\input</span> optionfalse</span>
+<span id="cb72-4"><a href="#cb72-4" aria-hidden="true"></a><span class="fu">\input</span> optiontrue</span>
+<span id="cb72-5"><a href="#cb72-5" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Using a text editor, create a text document named <code>content.md</code> with the following content:</p>
-<div class="sourceCode" id="cb73"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb73-1" data-line-number="1">A paragraph.</a>
-<a class="sourceLine" id="cb73-2" data-line-number="2">&gt;<span class="dt"> A quote?</span></a></code></pre></div>
+<div class="sourceCode" id="cb73"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb73-1"><a href="#cb73-1" aria-hidden="true"></a>A paragraph.</span>
+<span id="cb73-2"><a href="#cb73-2" aria-hidden="true"></a><span class="at">&gt; A quote?</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb74"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb74-1" data-line-number="1"><span class="ex">texlua</span> ⟨CLI pathname⟩ -- content.md optionfalse.tex</a>
-<a class="sourceLine" id="cb74-2" data-line-number="2"><span class="ex">texlua</span> ⟨CLI pathname⟩ blankBeforeBlockquote=true -- content.md optiontrue.tex</a>
-<a class="sourceLine" id="cb74-3" data-line-number="3"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb74"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb74-1"><a href="#cb74-1" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ -- content.md optionfalse.tex</span>
+<span id="cb74-2"><a href="#cb74-2" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ blankBeforeBlockquote=true -- content.md optiontrue.tex</span>
+<span id="cb74-3"><a href="#cb74-3" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>where ⟨<em>CLI pathname</em>⟩ corresponds to the location of the Lua CLI script file, such as <code>~/texmf/scripts/markdown/markdown-cli.lua</code> on UN*X systems or <code>C:\Users\</code>⟨<em>Your username</em>⟩<code>\texmf\scripts\markdown\markdown-cli.lua</code> on Windows systems. Use the command <code>kpsewhich -a markdown-cli.lua</code> to locate the Lua CLI script file using <a href="https://tug.org/kpathsea/" title="Kpathsea - TeX Users Group">Kpathsea</a>.</p>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
@@ -646,24 +660,24 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
</blockquote>
<p>A paragraph. &gt; A quote?</p>
</blockquote>
-<h5 id="plain-tex-example-2" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb75"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb75-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb75-2" data-line-number="2"></a>
-<a class="sourceLine" id="cb75-3" data-line-number="3"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb75-4" data-line-number="4">A paragraph.</a>
-<a class="sourceLine" id="cb75-5" data-line-number="5">&gt; A quote.</a>
-<a class="sourceLine" id="cb75-6" data-line-number="6"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb75-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb75-8" data-line-number="8"><span class="fu">\def</span>\markdownOptionBlankBeforeBlockquote{true}</a>
-<a class="sourceLine" id="cb75-9" data-line-number="9"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb75-10" data-line-number="10">A paragraph.</a>
-<a class="sourceLine" id="cb75-11" data-line-number="11">&gt; Not a quote.</a>
-<a class="sourceLine" id="cb75-12" data-line-number="12"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb75-13" data-line-number="13"></a>
-<a class="sourceLine" id="cb75-14" data-line-number="14"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb76"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb76-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-2">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb75"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb75-1"><a href="#cb75-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb75-2"><a href="#cb75-2" aria-hidden="true"></a></span>
+<span id="cb75-3"><a href="#cb75-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb75-4"><a href="#cb75-4" aria-hidden="true"></a>A paragraph.</span>
+<span id="cb75-5"><a href="#cb75-5" aria-hidden="true"></a>&gt; A quote.</span>
+<span id="cb75-6"><a href="#cb75-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb75-7"><a href="#cb75-7" aria-hidden="true"></a></span>
+<span id="cb75-8"><a href="#cb75-8" aria-hidden="true"></a><span class="fu">\def\markdownOptionBlankBeforeBlockquote</span>{true}</span>
+<span id="cb75-9"><a href="#cb75-9" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb75-10"><a href="#cb75-10" aria-hidden="true"></a>A paragraph.</span>
+<span id="cb75-11"><a href="#cb75-11" aria-hidden="true"></a>&gt; Not a quote.</span>
+<span id="cb75-12"><a href="#cb75-12" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb75-13"><a href="#cb75-13" aria-hidden="true"></a></span>
+<span id="cb75-14"><a href="#cb75-14" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb76"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb76-1"><a href="#cb76-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>A paragraph.</p>
@@ -672,25 +686,25 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
</blockquote>
<p>A paragraph &gt; Not a quote.</p>
</blockquote>
-<h5 id="latex-example-2" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb77"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb77-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb77-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb77-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb77-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb77-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb77-6" data-line-number="6">A paragraph.</a>
-<a class="sourceLine" id="cb77-7" data-line-number="7">&gt; A quote.</a>
-<a class="sourceLine" id="cb77-8" data-line-number="8"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb77-9" data-line-number="9"></a>
-<a class="sourceLine" id="cb77-10" data-line-number="10"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{blankBeforeBlockquote}</a>
-<a class="sourceLine" id="cb77-11" data-line-number="11">A paragraph.</a>
-<a class="sourceLine" id="cb77-12" data-line-number="12">&gt; Not a quote.</a>
-<a class="sourceLine" id="cb77-13" data-line-number="13"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb77-14" data-line-number="14"></a>
-<a class="sourceLine" id="cb77-15" data-line-number="15"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb78"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb78-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-2"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb77"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb77-1"><a href="#cb77-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb77-2"><a href="#cb77-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb77-3"><a href="#cb77-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb77-4"><a href="#cb77-4" aria-hidden="true"></a></span>
+<span id="cb77-5"><a href="#cb77-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb77-6"><a href="#cb77-6" aria-hidden="true"></a>A paragraph.</span>
+<span id="cb77-7"><a href="#cb77-7" aria-hidden="true"></a>&gt; A quote.</span>
+<span id="cb77-8"><a href="#cb77-8" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb77-9"><a href="#cb77-9" aria-hidden="true"></a></span>
+<span id="cb77-10"><a href="#cb77-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{blankBeforeBlockquote}</span>
+<span id="cb77-11"><a href="#cb77-11" aria-hidden="true"></a>A paragraph.</span>
+<span id="cb77-12"><a href="#cb77-12" aria-hidden="true"></a>&gt; Not a quote.</span>
+<span id="cb77-13"><a href="#cb77-13" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb77-14"><a href="#cb77-14" aria-hidden="true"></a></span>
+<span id="cb77-15"><a href="#cb77-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb78"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb78-1"><a href="#cb78-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>A paragraph.</p>
@@ -699,25 +713,25 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
</blockquote>
<p>A paragraph &gt; Not a quote.</p>
</blockquote>
-<h5 id="context-example-2" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb79"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb79-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb79-2" data-line-number="2"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb79-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb79-4" data-line-number="4"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb79-5" data-line-number="5">A paragraph.</a>
-<a class="sourceLine" id="cb79-6" data-line-number="6">&gt; A quote.</a>
-<a class="sourceLine" id="cb79-7" data-line-number="7"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb79-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb79-9" data-line-number="9"><span class="fu">\def</span>\markdownOptionBlankBeforeBlockquote{true}</a>
-<a class="sourceLine" id="cb79-10" data-line-number="10"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb79-11" data-line-number="11">A paragraph.</a>
-<a class="sourceLine" id="cb79-12" data-line-number="12">&gt; Not a quote.</a>
-<a class="sourceLine" id="cb79-13" data-line-number="13"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb79-14" data-line-number="14"></a>
-<a class="sourceLine" id="cb79-15" data-line-number="15"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb80"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb80-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-2">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb79"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb79-1"><a href="#cb79-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb79-2"><a href="#cb79-2" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb79-3"><a href="#cb79-3" aria-hidden="true"></a></span>
+<span id="cb79-4"><a href="#cb79-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb79-5"><a href="#cb79-5" aria-hidden="true"></a>A paragraph.</span>
+<span id="cb79-6"><a href="#cb79-6" aria-hidden="true"></a>&gt; A quote.</span>
+<span id="cb79-7"><a href="#cb79-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb79-8"><a href="#cb79-8" aria-hidden="true"></a></span>
+<span id="cb79-9"><a href="#cb79-9" aria-hidden="true"></a><span class="fu">\def\markdownOptionBlankBeforeBlockquote</span>{true}</span>
+<span id="cb79-10"><a href="#cb79-10" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb79-11"><a href="#cb79-11" aria-hidden="true"></a>A paragraph.</span>
+<span id="cb79-12"><a href="#cb79-12" aria-hidden="true"></a>&gt; Not a quote.</span>
+<span id="cb79-13"><a href="#cb79-13" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb79-14"><a href="#cb79-14" aria-hidden="true"></a></span>
+<span id="cb79-15"><a href="#cb79-15" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb80"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb80-1"><a href="#cb80-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>A paragraph.</p>
@@ -726,7 +740,7 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
</blockquote>
<p>A paragraph &gt; Not a quote.</p>
</blockquote>
-<h4 id="option-blankbeforecodefence"><span class="header-section-number">2.2.1.4</span> Option <code>blankBeforeCodeFence</code></h4>
+<h4 data-number="2.2.1.4" id="option-blankbeforecodefence"><span class="header-section-number">2.2.1.4</span> Option <code>blankBeforeCodeFence</code></h4>
<dl>
<dt><code>blankBeforeCodeFence</code> (default value: <code>false</code>)</dt>
<dd><dl>
@@ -739,54 +753,54 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
</dl>
</dd>
</dl>
-<h5 id="lua-module-example-3" class="unnumbered">Lua Module Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb81"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb81-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb81-2" data-line-number="2"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb81-3" data-line-number="3"><span class="fu">\directlua</span>{</a>
-<a class="sourceLine" id="cb81-4" data-line-number="4"> local markdown = require(&quot;markdown&quot;)</a>
-<a class="sourceLine" id="cb81-5" data-line-number="5"> local newline = [[^^J^^J]]</a>
-<a class="sourceLine" id="cb81-6" data-line-number="6"> local convert, input</a>
-<a class="sourceLine" id="cb81-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb81-8" data-line-number="8"> convert = markdown.new({fencedCode = true})</a>
-<a class="sourceLine" id="cb81-9" data-line-number="9"> input = &quot;A paragraph.&quot; .. newline ..</a>
-<a class="sourceLine" id="cb81-10" data-line-number="10"> &quot;```&quot; .. newline ..</a>
-<a class="sourceLine" id="cb81-11" data-line-number="11"> &quot;A code fence.&quot; .. newline ..</a>
-<a class="sourceLine" id="cb81-12" data-line-number="12"> &quot;```&quot; .. newline</a>
-<a class="sourceLine" id="cb81-13" data-line-number="13"> tex.sprint(convert(input))</a>
-<a class="sourceLine" id="cb81-14" data-line-number="14"></a>
-<a class="sourceLine" id="cb81-15" data-line-number="15"> convert = markdown.new({</a>
-<a class="sourceLine" id="cb81-16" data-line-number="16"> fencedCode = true, blankBeforeCodeFence = true})</a>
-<a class="sourceLine" id="cb81-17" data-line-number="17"> input = &quot;A paragraph.&quot; .. newline ..</a>
-<a class="sourceLine" id="cb81-18" data-line-number="18"> &quot;```&quot; .. newline ..</a>
-<a class="sourceLine" id="cb81-19" data-line-number="19"> &quot;Not a code fence.&quot; .. newline ..</a>
-<a class="sourceLine" id="cb81-20" data-line-number="20"> &quot;```&quot; .. newline</a>
-<a class="sourceLine" id="cb81-21" data-line-number="21"> tex.sprint(convert(input)) }</a>
-<a class="sourceLine" id="cb81-22" data-line-number="22"><span class="fu">\bye</span></a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="lua-module-example-3">Lua Module Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb81"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb81-1"><a href="#cb81-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb81-2"><a href="#cb81-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb81-3"><a href="#cb81-3" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
+<span id="cb81-4"><a href="#cb81-4" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
+<span id="cb81-5"><a href="#cb81-5" aria-hidden="true"></a> local newline = [[^^J^^J]]</span>
+<span id="cb81-6"><a href="#cb81-6" aria-hidden="true"></a> local convert, input</span>
+<span id="cb81-7"><a href="#cb81-7" aria-hidden="true"></a></span>
+<span id="cb81-8"><a href="#cb81-8" aria-hidden="true"></a> convert = markdown.new({fencedCode = true})</span>
+<span id="cb81-9"><a href="#cb81-9" aria-hidden="true"></a> input = &quot;A paragraph.&quot; .. newline ..</span>
+<span id="cb81-10"><a href="#cb81-10" aria-hidden="true"></a> &quot;```&quot; .. newline ..</span>
+<span id="cb81-11"><a href="#cb81-11" aria-hidden="true"></a> &quot;A code fence.&quot; .. newline ..</span>
+<span id="cb81-12"><a href="#cb81-12" aria-hidden="true"></a> &quot;```&quot; .. newline</span>
+<span id="cb81-13"><a href="#cb81-13" aria-hidden="true"></a> tex.sprint(convert(input))</span>
+<span id="cb81-14"><a href="#cb81-14" aria-hidden="true"></a></span>
+<span id="cb81-15"><a href="#cb81-15" aria-hidden="true"></a> convert = markdown.new({</span>
+<span id="cb81-16"><a href="#cb81-16" aria-hidden="true"></a> fencedCode = true, blankBeforeCodeFence = true})</span>
+<span id="cb81-17"><a href="#cb81-17" aria-hidden="true"></a> input = &quot;A paragraph.&quot; .. newline ..</span>
+<span id="cb81-18"><a href="#cb81-18" aria-hidden="true"></a> &quot;```&quot; .. newline ..</span>
+<span id="cb81-19"><a href="#cb81-19" aria-hidden="true"></a> &quot;Not a code fence.&quot; .. newline ..</span>
+<span id="cb81-20"><a href="#cb81-20" aria-hidden="true"></a> &quot;```&quot; .. newline</span>
+<span id="cb81-21"><a href="#cb81-21" aria-hidden="true"></a> tex.sprint(convert(input)) }</span>
+<span id="cb81-22"><a href="#cb81-22" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Then, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb82"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb82-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb82"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb82-1"><a href="#cb82-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>A paragraph.</p>
<pre><code>A code fence.</code></pre>
<p>A paragraph. <code>Not a code fence.</code></p>
</blockquote>
-<h5 id="lua-cli-example-3" class="unnumbered">Lua CLI Example</h5>
+<h5 class="unnumbered" data-number="" id="lua-cli-example-3">Lua CLI Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb84"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb84-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb84-2" data-line-number="2"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb84-3" data-line-number="3"><span class="fu">\input</span> optionfalse</a>
-<a class="sourceLine" id="cb84-4" data-line-number="4"><span class="fu">\input</span> optiontrue</a>
-<a class="sourceLine" id="cb84-5" data-line-number="5"><span class="fu">\bye</span></a></code></pre></div>
+<div class="sourceCode" id="cb84"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb84-1"><a href="#cb84-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb84-2"><a href="#cb84-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb84-3"><a href="#cb84-3" aria-hidden="true"></a><span class="fu">\input</span> optionfalse</span>
+<span id="cb84-4"><a href="#cb84-4" aria-hidden="true"></a><span class="fu">\input</span> optiontrue</span>
+<span id="cb84-5"><a href="#cb84-5" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Using a text editor, create a text document named <code>content.md</code> with the following content:</p>
-<div class="sourceCode" id="cb85"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb85-1" data-line-number="1">A paragraph.</a>
-<a class="sourceLine" id="cb85-2" data-line-number="2">```</a>
-<a class="sourceLine" id="cb85-3" data-line-number="3">A code fence?</a>
-<a class="sourceLine" id="cb85-4" data-line-number="4">```</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb86"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb86-1" data-line-number="1"><span class="ex">texlua</span> ⟨CLI pathname⟩ fencedCode=true -- content.md optionfalse.tex</a>
-<a class="sourceLine" id="cb86-2" data-line-number="2"><span class="ex">texlua</span> ⟨CLI pathname⟩ fencedCode=true blankBeforeCodeFence=true -- content.md optiontrue.tex</a>
-<a class="sourceLine" id="cb86-3" data-line-number="3"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb85"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb85-1"><a href="#cb85-1" aria-hidden="true"></a>A paragraph.</span>
+<span id="cb85-2"><a href="#cb85-2" aria-hidden="true"></a><span class="in">```</span></span>
+<span id="cb85-3"><a href="#cb85-3" aria-hidden="true"></a><span class="in">A code fence?</span></span>
+<span id="cb85-4"><a href="#cb85-4" aria-hidden="true"></a><span class="in">```</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb86"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb86-1"><a href="#cb86-1" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ fencedCode=true -- content.md optionfalse.tex</span>
+<span id="cb86-2"><a href="#cb86-2" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ fencedCode=true blankBeforeCodeFence=true -- content.md optiontrue.tex</span>
+<span id="cb86-3"><a href="#cb86-3" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>where ⟨<em>CLI pathname</em>⟩ corresponds to the location of the Lua CLI script file, such as <code>~/texmf/scripts/markdown/markdown-cli.lua</code> on UN*X systems or <code>C:\Users\</code>⟨<em>Your username</em>⟩<code>\texmf\scripts\markdown\markdown-cli.lua</code> on Windows systems. Use the command <code>kpsewhich -a markdown-cli.lua</code> to locate the Lua CLI script file using <a href="https://tug.org/kpathsea/" title="Kpathsea - TeX Users Group">Kpathsea</a>.</p>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
@@ -794,95 +808,95 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
<pre><code>A code fence?</code></pre>
<p>A paragraph. <code>A code fence?</code></p>
</blockquote>
-<h5 id="plain-tex-example-3" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb88"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb88-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb88-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionFencedCode{true}</a>
-<a class="sourceLine" id="cb88-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb88-4" data-line-number="4"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb88-5" data-line-number="5">A paragraph.</a>
-<a class="sourceLine" id="cb88-6" data-line-number="6">```</a>
-<a class="sourceLine" id="cb88-7" data-line-number="7">A code fence.</a>
-<a class="sourceLine" id="cb88-8" data-line-number="8">```</a>
-<a class="sourceLine" id="cb88-9" data-line-number="9"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb88-10" data-line-number="10"></a>
-<a class="sourceLine" id="cb88-11" data-line-number="11"><span class="fu">\def</span>\markdownOptionBlankBeforeCodeFence{true}</a>
-<a class="sourceLine" id="cb88-12" data-line-number="12"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb88-13" data-line-number="13">A paragraph.</a>
-<a class="sourceLine" id="cb88-14" data-line-number="14">```</a>
-<a class="sourceLine" id="cb88-15" data-line-number="15">Not a code fence.</a>
-<a class="sourceLine" id="cb88-16" data-line-number="16">```</a>
-<a class="sourceLine" id="cb88-17" data-line-number="17"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb88-18" data-line-number="18"></a>
-<a class="sourceLine" id="cb88-19" data-line-number="19"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb89"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb89-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-3">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb88"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb88-1"><a href="#cb88-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb88-2"><a href="#cb88-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFencedCode</span>{true}</span>
+<span id="cb88-3"><a href="#cb88-3" aria-hidden="true"></a></span>
+<span id="cb88-4"><a href="#cb88-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb88-5"><a href="#cb88-5" aria-hidden="true"></a>A paragraph.</span>
+<span id="cb88-6"><a href="#cb88-6" aria-hidden="true"></a>```</span>
+<span id="cb88-7"><a href="#cb88-7" aria-hidden="true"></a>A code fence.</span>
+<span id="cb88-8"><a href="#cb88-8" aria-hidden="true"></a>```</span>
+<span id="cb88-9"><a href="#cb88-9" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb88-10"><a href="#cb88-10" aria-hidden="true"></a></span>
+<span id="cb88-11"><a href="#cb88-11" aria-hidden="true"></a><span class="fu">\def\markdownOptionBlankBeforeCodeFence</span>{true}</span>
+<span id="cb88-12"><a href="#cb88-12" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb88-13"><a href="#cb88-13" aria-hidden="true"></a>A paragraph.</span>
+<span id="cb88-14"><a href="#cb88-14" aria-hidden="true"></a>```</span>
+<span id="cb88-15"><a href="#cb88-15" aria-hidden="true"></a>Not a code fence.</span>
+<span id="cb88-16"><a href="#cb88-16" aria-hidden="true"></a>```</span>
+<span id="cb88-17"><a href="#cb88-17" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb88-18"><a href="#cb88-18" aria-hidden="true"></a></span>
+<span id="cb88-19"><a href="#cb88-19" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb89"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb89-1"><a href="#cb89-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>A paragraph.</p>
<pre><code>A code fence.</code></pre>
<p>A paragraph. <code>Not a code fence.</code></p>
</blockquote>
-<h5 id="latex-example-3" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb91"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb91-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb91-2" data-line-number="2"><span class="bu">\usepackage</span>[fencedCode]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb91-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb91-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb91-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb91-6" data-line-number="6">A paragraph.</a>
-<a class="sourceLine" id="cb91-7" data-line-number="7">```</a>
-<a class="sourceLine" id="cb91-8" data-line-number="8">A code fence.</a>
-<a class="sourceLine" id="cb91-9" data-line-number="9">```</a>
-<a class="sourceLine" id="cb91-10" data-line-number="10"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb91-11" data-line-number="11"></a>
-<a class="sourceLine" id="cb91-12" data-line-number="12"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{blankBeforeCodeFence}</a>
-<a class="sourceLine" id="cb91-13" data-line-number="13">A paragraph.</a>
-<a class="sourceLine" id="cb91-14" data-line-number="14">```</a>
-<a class="sourceLine" id="cb91-15" data-line-number="15">Not a code fence.</a>
-<a class="sourceLine" id="cb91-16" data-line-number="16">```</a>
-<a class="sourceLine" id="cb91-17" data-line-number="17"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb91-18" data-line-number="18"></a>
-<a class="sourceLine" id="cb91-19" data-line-number="19"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb92"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb92-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-3"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb91"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb91-1"><a href="#cb91-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb91-2"><a href="#cb91-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[fencedCode]{<span class="ex">markdown</span>}</span>
+<span id="cb91-3"><a href="#cb91-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb91-4"><a href="#cb91-4" aria-hidden="true"></a></span>
+<span id="cb91-5"><a href="#cb91-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb91-6"><a href="#cb91-6" aria-hidden="true"></a>A paragraph.</span>
+<span id="cb91-7"><a href="#cb91-7" aria-hidden="true"></a>```</span>
+<span id="cb91-8"><a href="#cb91-8" aria-hidden="true"></a>A code fence.</span>
+<span id="cb91-9"><a href="#cb91-9" aria-hidden="true"></a>```</span>
+<span id="cb91-10"><a href="#cb91-10" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb91-11"><a href="#cb91-11" aria-hidden="true"></a></span>
+<span id="cb91-12"><a href="#cb91-12" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{blankBeforeCodeFence}</span>
+<span id="cb91-13"><a href="#cb91-13" aria-hidden="true"></a>A paragraph.</span>
+<span id="cb91-14"><a href="#cb91-14" aria-hidden="true"></a>```</span>
+<span id="cb91-15"><a href="#cb91-15" aria-hidden="true"></a>Not a code fence.</span>
+<span id="cb91-16"><a href="#cb91-16" aria-hidden="true"></a>```</span>
+<span id="cb91-17"><a href="#cb91-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb91-18"><a href="#cb91-18" aria-hidden="true"></a></span>
+<span id="cb91-19"><a href="#cb91-19" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb92"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb92-1"><a href="#cb92-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>A paragraph.</p>
<pre><code>A code fence.</code></pre>
<p>A paragraph. <code>Not a code fence.</code></p>
</blockquote>
-<h5 id="context-example-3" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb94"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb94-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb94-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionFencedCode{true}</a>
-<a class="sourceLine" id="cb94-3" data-line-number="3"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb94-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb94-5" data-line-number="5"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb94-6" data-line-number="6">A paragraph.</a>
-<a class="sourceLine" id="cb94-7" data-line-number="7">```</a>
-<a class="sourceLine" id="cb94-8" data-line-number="8">A code fence.</a>
-<a class="sourceLine" id="cb94-9" data-line-number="9">```</a>
-<a class="sourceLine" id="cb94-10" data-line-number="10"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb94-11" data-line-number="11"></a>
-<a class="sourceLine" id="cb94-12" data-line-number="12"><span class="fu">\def</span>\markdownOptionBlankBeforeCodeFence{true}</a>
-<a class="sourceLine" id="cb94-13" data-line-number="13"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb94-14" data-line-number="14">A paragraph.</a>
-<a class="sourceLine" id="cb94-15" data-line-number="15">```</a>
-<a class="sourceLine" id="cb94-16" data-line-number="16">Not a code fence.</a>
-<a class="sourceLine" id="cb94-17" data-line-number="17">```</a>
-<a class="sourceLine" id="cb94-18" data-line-number="18"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb94-19" data-line-number="19"></a>
-<a class="sourceLine" id="cb94-20" data-line-number="20"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb95"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb95-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-3">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb94"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb94-1"><a href="#cb94-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb94-2"><a href="#cb94-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFencedCode</span>{true}</span>
+<span id="cb94-3"><a href="#cb94-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb94-4"><a href="#cb94-4" aria-hidden="true"></a></span>
+<span id="cb94-5"><a href="#cb94-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb94-6"><a href="#cb94-6" aria-hidden="true"></a>A paragraph.</span>
+<span id="cb94-7"><a href="#cb94-7" aria-hidden="true"></a>```</span>
+<span id="cb94-8"><a href="#cb94-8" aria-hidden="true"></a>A code fence.</span>
+<span id="cb94-9"><a href="#cb94-9" aria-hidden="true"></a>```</span>
+<span id="cb94-10"><a href="#cb94-10" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb94-11"><a href="#cb94-11" aria-hidden="true"></a></span>
+<span id="cb94-12"><a href="#cb94-12" aria-hidden="true"></a><span class="fu">\def\markdownOptionBlankBeforeCodeFence</span>{true}</span>
+<span id="cb94-13"><a href="#cb94-13" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb94-14"><a href="#cb94-14" aria-hidden="true"></a>A paragraph.</span>
+<span id="cb94-15"><a href="#cb94-15" aria-hidden="true"></a>```</span>
+<span id="cb94-16"><a href="#cb94-16" aria-hidden="true"></a>Not a code fence.</span>
+<span id="cb94-17"><a href="#cb94-17" aria-hidden="true"></a>```</span>
+<span id="cb94-18"><a href="#cb94-18" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb94-19"><a href="#cb94-19" aria-hidden="true"></a></span>
+<span id="cb94-20"><a href="#cb94-20" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb95"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb95-1"><a href="#cb95-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>A paragraph.</p>
<pre><code>A code fence.</code></pre>
<p>A paragraph. <code>Not a code fence.</code></p>
</blockquote>
-<h4 id="option-blankbeforeheading"><span class="header-section-number">2.2.1.5</span> Option <code>blankBeforeHeading</code></h4>
+<h4 data-number="2.2.1.5" id="option-blankbeforeheading"><span class="header-section-number">2.2.1.5</span> Option <code>blankBeforeHeading</code></h4>
<dl>
<dt><code>blankBeforeHeading</code> (default value: <code>false</code>)</dt>
<dd><dl>
@@ -895,51 +909,51 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
</dl>
</dd>
</dl>
-<h5 id="lua-module-example-4" class="unnumbered">Lua Module Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb97"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb97-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb97-2" data-line-number="2"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb97-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererHeadingOne#1{{\bf #1}\par}</a>
-<a class="sourceLine" id="cb97-4" data-line-number="4"><span class="fu">\directlua</span>{</a>
-<a class="sourceLine" id="cb97-5" data-line-number="5"> local markdown = require(&quot;markdown&quot;)</a>
-<a class="sourceLine" id="cb97-6" data-line-number="6"> local newline = [[^^J^^J]]</a>
-<a class="sourceLine" id="cb97-7" data-line-number="7"> local convert, input</a>
-<a class="sourceLine" id="cb97-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb97-9" data-line-number="9"> convert = markdown.new()</a>
-<a class="sourceLine" id="cb97-10" data-line-number="10"> input = &quot;A paragraph.&quot; .. newline ..</a>
-<a class="sourceLine" id="cb97-11" data-line-number="11"> &quot;A heading.&quot; .. newline ..</a>
-<a class="sourceLine" id="cb97-12" data-line-number="12"> &quot;==========&quot; .. newline</a>
-<a class="sourceLine" id="cb97-13" data-line-number="13"> tex.sprint(convert(input))</a>
-<a class="sourceLine" id="cb97-14" data-line-number="14"></a>
-<a class="sourceLine" id="cb97-15" data-line-number="15"> convert = markdown.new({blankBeforeHeading = true})</a>
-<a class="sourceLine" id="cb97-16" data-line-number="16"> input = &quot;A paragraph.&quot; .. newline ..</a>
-<a class="sourceLine" id="cb97-17" data-line-number="17"> &quot;Not a heading.&quot; .. newline ..</a>
-<a class="sourceLine" id="cb97-18" data-line-number="18"> &quot;==============&quot; .. newline</a>
-<a class="sourceLine" id="cb97-19" data-line-number="19"> tex.sprint(convert(input)) }</a>
-<a class="sourceLine" id="cb97-20" data-line-number="20"><span class="fu">\bye</span></a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="lua-module-example-4">Lua Module Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb97"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb97-1"><a href="#cb97-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb97-2"><a href="#cb97-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb97-3"><a href="#cb97-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingOne</span>#1{{<span class="fu">\bf</span> #1}<span class="fu">\par</span>}</span>
+<span id="cb97-4"><a href="#cb97-4" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
+<span id="cb97-5"><a href="#cb97-5" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
+<span id="cb97-6"><a href="#cb97-6" aria-hidden="true"></a> local newline = [[^^J^^J]]</span>
+<span id="cb97-7"><a href="#cb97-7" aria-hidden="true"></a> local convert, input</span>
+<span id="cb97-8"><a href="#cb97-8" aria-hidden="true"></a></span>
+<span id="cb97-9"><a href="#cb97-9" aria-hidden="true"></a> convert = markdown.new()</span>
+<span id="cb97-10"><a href="#cb97-10" aria-hidden="true"></a> input = &quot;A paragraph.&quot; .. newline ..</span>
+<span id="cb97-11"><a href="#cb97-11" aria-hidden="true"></a> &quot;A heading.&quot; .. newline ..</span>
+<span id="cb97-12"><a href="#cb97-12" aria-hidden="true"></a> &quot;==========&quot; .. newline</span>
+<span id="cb97-13"><a href="#cb97-13" aria-hidden="true"></a> tex.sprint(convert(input))</span>
+<span id="cb97-14"><a href="#cb97-14" aria-hidden="true"></a></span>
+<span id="cb97-15"><a href="#cb97-15" aria-hidden="true"></a> convert = markdown.new({blankBeforeHeading = true})</span>
+<span id="cb97-16"><a href="#cb97-16" aria-hidden="true"></a> input = &quot;A paragraph.&quot; .. newline ..</span>
+<span id="cb97-17"><a href="#cb97-17" aria-hidden="true"></a> &quot;Not a heading.&quot; .. newline ..</span>
+<span id="cb97-18"><a href="#cb97-18" aria-hidden="true"></a> &quot;==============&quot; .. newline</span>
+<span id="cb97-19"><a href="#cb97-19" aria-hidden="true"></a> tex.sprint(convert(input)) }</span>
+<span id="cb97-20"><a href="#cb97-20" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Then, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb98"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb98-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb98"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb98-1"><a href="#cb98-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>A paragraph.</p>
<h1 id="a-heading.">A heading.</h1>
<p>A paragraph. Not a heading. ==============</p>
</blockquote>
-<h5 id="lua-cli-example-4" class="unnumbered">Lua CLI Example</h5>
+<h5 class="unnumbered" data-number="" id="lua-cli-example-4">Lua CLI Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb99"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb99-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb99-2" data-line-number="2"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb99-3" data-line-number="3"><span class="fu">\input</span> optionfalse</a>
-<a class="sourceLine" id="cb99-4" data-line-number="4"><span class="fu">\input</span> optiontrue</a>
-<a class="sourceLine" id="cb99-5" data-line-number="5"><span class="fu">\bye</span></a></code></pre></div>
+<div class="sourceCode" id="cb99"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb99-1"><a href="#cb99-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb99-2"><a href="#cb99-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb99-3"><a href="#cb99-3" aria-hidden="true"></a><span class="fu">\input</span> optionfalse</span>
+<span id="cb99-4"><a href="#cb99-4" aria-hidden="true"></a><span class="fu">\input</span> optiontrue</span>
+<span id="cb99-5"><a href="#cb99-5" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Using a text editor, create a text document named <code>content.md</code> with the following content:</p>
-<div class="sourceCode" id="cb100"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb100-1" data-line-number="1">A paragraph.</a>
-<a class="sourceLine" id="cb100-2" data-line-number="2">A heading?</a>
-<a class="sourceLine" id="cb100-3" data-line-number="3">==========</a></code></pre></div>
+<div class="sourceCode" id="cb100"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb100-1"><a href="#cb100-1" aria-hidden="true"></a>A paragraph.</span>
+<span id="cb100-2"><a href="#cb100-2" aria-hidden="true"></a>A heading?</span>
+<span id="cb100-3"><a href="#cb100-3" aria-hidden="true"></a><span class="fu">==========</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb101"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb101-1" data-line-number="1"><span class="ex">texlua</span> ⟨CLI pathname⟩ -- content.md optionfalse.tex</a>
-<a class="sourceLine" id="cb101-2" data-line-number="2"><span class="ex">texlua</span> ⟨CLI pathname⟩ blankBeforeHeading=true -- content.md optiontrue.tex</a>
-<a class="sourceLine" id="cb101-3" data-line-number="3"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb101"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb101-1"><a href="#cb101-1" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ -- content.md optionfalse.tex</span>
+<span id="cb101-2"><a href="#cb101-2" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ blankBeforeHeading=true -- content.md optiontrue.tex</span>
+<span id="cb101-3"><a href="#cb101-3" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>where ⟨<em>CLI pathname</em>⟩ corresponds to the location of the Lua CLI script file, such as <code>~/texmf/scripts/markdown/markdown-cli.lua</code> on UN*X systems or <code>C:\Users\</code>⟨<em>Your username</em>⟩<code>\texmf\scripts\markdown\markdown-cli.lua</code> on Windows systems. Use the command <code>kpsewhich -a markdown-cli.lua</code> to locate the Lua CLI script file using <a href="https://tug.org/kpathsea/" title="Kpathsea - TeX Users Group">Kpathsea</a>.</p>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
@@ -947,87 +961,87 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
<h1 id="a-heading">A heading?</h1>
<p>A paragraph. A heading? ==========</p>
</blockquote>
-<h5 id="plain-tex-example-4" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb102"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb102-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb102-2" data-line-number="2"></a>
-<a class="sourceLine" id="cb102-3" data-line-number="3"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb102-4" data-line-number="4">A paragraph.</a>
-<a class="sourceLine" id="cb102-5" data-line-number="5">A heading.</a>
-<a class="sourceLine" id="cb102-6" data-line-number="6">==========</a>
-<a class="sourceLine" id="cb102-7" data-line-number="7"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb102-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb102-9" data-line-number="9"><span class="fu">\def</span>\markdownOptionBlankBeforeHeading{true}</a>
-<a class="sourceLine" id="cb102-10" data-line-number="10"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb102-11" data-line-number="11">A paragraph.</a>
-<a class="sourceLine" id="cb102-12" data-line-number="12">Not a heading.</a>
-<a class="sourceLine" id="cb102-13" data-line-number="13">==============</a>
-<a class="sourceLine" id="cb102-14" data-line-number="14"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb102-15" data-line-number="15"></a>
-<a class="sourceLine" id="cb102-16" data-line-number="16"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb103"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb103-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-4">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb102"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb102-1"><a href="#cb102-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb102-2"><a href="#cb102-2" aria-hidden="true"></a></span>
+<span id="cb102-3"><a href="#cb102-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb102-4"><a href="#cb102-4" aria-hidden="true"></a>A paragraph.</span>
+<span id="cb102-5"><a href="#cb102-5" aria-hidden="true"></a>A heading.</span>
+<span id="cb102-6"><a href="#cb102-6" aria-hidden="true"></a>==========</span>
+<span id="cb102-7"><a href="#cb102-7" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb102-8"><a href="#cb102-8" aria-hidden="true"></a></span>
+<span id="cb102-9"><a href="#cb102-9" aria-hidden="true"></a><span class="fu">\def\markdownOptionBlankBeforeHeading</span>{true}</span>
+<span id="cb102-10"><a href="#cb102-10" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb102-11"><a href="#cb102-11" aria-hidden="true"></a>A paragraph.</span>
+<span id="cb102-12"><a href="#cb102-12" aria-hidden="true"></a>Not a heading.</span>
+<span id="cb102-13"><a href="#cb102-13" aria-hidden="true"></a>==============</span>
+<span id="cb102-14"><a href="#cb102-14" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb102-15"><a href="#cb102-15" aria-hidden="true"></a></span>
+<span id="cb102-16"><a href="#cb102-16" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb103"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb103-1"><a href="#cb103-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>A paragraph.</p>
<h1 id="a-heading.-1">A heading.</h1>
<p>A paragraph. Not a heading. ==============</p>
</blockquote>
-<h5 id="latex-example-4" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb104"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb104-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb104-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb104-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb104-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb104-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb104-6" data-line-number="6">A paragraph.</a>
-<a class="sourceLine" id="cb104-7" data-line-number="7">A heading.</a>
-<a class="sourceLine" id="cb104-8" data-line-number="8">==========</a>
-<a class="sourceLine" id="cb104-9" data-line-number="9"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb104-10" data-line-number="10"></a>
-<a class="sourceLine" id="cb104-11" data-line-number="11"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{blankBeforeHeading}</a>
-<a class="sourceLine" id="cb104-12" data-line-number="12">A paragraph.</a>
-<a class="sourceLine" id="cb104-13" data-line-number="13">Not a heading.</a>
-<a class="sourceLine" id="cb104-14" data-line-number="14">==============</a>
-<a class="sourceLine" id="cb104-15" data-line-number="15"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb104-16" data-line-number="16"></a>
-<a class="sourceLine" id="cb104-17" data-line-number="17"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb105"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb105-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-4"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb104"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb104-1"><a href="#cb104-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb104-2"><a href="#cb104-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb104-3"><a href="#cb104-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb104-4"><a href="#cb104-4" aria-hidden="true"></a></span>
+<span id="cb104-5"><a href="#cb104-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb104-6"><a href="#cb104-6" aria-hidden="true"></a>A paragraph.</span>
+<span id="cb104-7"><a href="#cb104-7" aria-hidden="true"></a>A heading.</span>
+<span id="cb104-8"><a href="#cb104-8" aria-hidden="true"></a>==========</span>
+<span id="cb104-9"><a href="#cb104-9" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb104-10"><a href="#cb104-10" aria-hidden="true"></a></span>
+<span id="cb104-11"><a href="#cb104-11" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{blankBeforeHeading}</span>
+<span id="cb104-12"><a href="#cb104-12" aria-hidden="true"></a>A paragraph.</span>
+<span id="cb104-13"><a href="#cb104-13" aria-hidden="true"></a>Not a heading.</span>
+<span id="cb104-14"><a href="#cb104-14" aria-hidden="true"></a>==============</span>
+<span id="cb104-15"><a href="#cb104-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb104-16"><a href="#cb104-16" aria-hidden="true"></a></span>
+<span id="cb104-17"><a href="#cb104-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb105"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb105-1"><a href="#cb105-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>A paragraph.</p>
<h1 id="a-heading.-2">A heading.</h1>
<p>A paragraph. Not a heading. ==============</p>
</blockquote>
-<h5 id="context-example-4" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb106"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb106-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb106-2" data-line-number="2"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb106-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb106-4" data-line-number="4"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb106-5" data-line-number="5">A paragraph.</a>
-<a class="sourceLine" id="cb106-6" data-line-number="6">A heading.</a>
-<a class="sourceLine" id="cb106-7" data-line-number="7">==========</a>
-<a class="sourceLine" id="cb106-8" data-line-number="8"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb106-9" data-line-number="9"></a>
-<a class="sourceLine" id="cb106-10" data-line-number="10"><span class="fu">\def</span>\markdownOptionBlankBeforeHeading{true}</a>
-<a class="sourceLine" id="cb106-11" data-line-number="11"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb106-12" data-line-number="12">A paragraph.</a>
-<a class="sourceLine" id="cb106-13" data-line-number="13">Not a heading.</a>
-<a class="sourceLine" id="cb106-14" data-line-number="14">==============</a>
-<a class="sourceLine" id="cb106-15" data-line-number="15"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb106-16" data-line-number="16"></a>
-<a class="sourceLine" id="cb106-17" data-line-number="17"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb107"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb107-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-4">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb106"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb106-1"><a href="#cb106-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb106-2"><a href="#cb106-2" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb106-3"><a href="#cb106-3" aria-hidden="true"></a></span>
+<span id="cb106-4"><a href="#cb106-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb106-5"><a href="#cb106-5" aria-hidden="true"></a>A paragraph.</span>
+<span id="cb106-6"><a href="#cb106-6" aria-hidden="true"></a>A heading.</span>
+<span id="cb106-7"><a href="#cb106-7" aria-hidden="true"></a>==========</span>
+<span id="cb106-8"><a href="#cb106-8" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb106-9"><a href="#cb106-9" aria-hidden="true"></a></span>
+<span id="cb106-10"><a href="#cb106-10" aria-hidden="true"></a><span class="fu">\def\markdownOptionBlankBeforeHeading</span>{true}</span>
+<span id="cb106-11"><a href="#cb106-11" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb106-12"><a href="#cb106-12" aria-hidden="true"></a>A paragraph.</span>
+<span id="cb106-13"><a href="#cb106-13" aria-hidden="true"></a>Not a heading.</span>
+<span id="cb106-14"><a href="#cb106-14" aria-hidden="true"></a>==============</span>
+<span id="cb106-15"><a href="#cb106-15" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb106-16"><a href="#cb106-16" aria-hidden="true"></a></span>
+<span id="cb106-17"><a href="#cb106-17" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb107"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb107-1"><a href="#cb107-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>A paragraph.</p>
<h1 id="a-heading.-3">A heading.</h1>
<p>A paragraph. Not a heading. ==============</p>
</blockquote>
-<h4 id="option-breakableblockquotes"><span class="header-section-number">2.2.1.6</span> Option <code>breakableBlockquotes</code></h4>
+<h4 data-number="2.2.1.6" id="option-breakableblockquotes"><span class="header-section-number">2.2.1.6</span> Option <code>breakableBlockquotes</code></h4>
<dl>
<dt><code>breakableBlockquotes</code> (default value: <code>false</code>)</dt>
<dd><dl>
@@ -1040,28 +1054,28 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
</dl>
</dd>
</dl>
-<h5 id="lua-module-example-5" class="unnumbered">Lua Module Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb108"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb108-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb108-2" data-line-number="2"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb108-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererHeadingOne#1{{\bf #1}\par}</a>
-<a class="sourceLine" id="cb108-4" data-line-number="4"><span class="fu">\directlua</span>{</a>
-<a class="sourceLine" id="cb108-5" data-line-number="5"> local markdown = require(&quot;markdown&quot;)</a>
-<a class="sourceLine" id="cb108-6" data-line-number="6"> local newline = [[^^J^^J]]</a>
-<a class="sourceLine" id="cb108-7" data-line-number="7"> local convert, input</a>
-<a class="sourceLine" id="cb108-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb108-9" data-line-number="9"> convert = markdown.new()</a>
-<a class="sourceLine" id="cb108-10" data-line-number="10"> input = &quot;&gt; A single&quot; .. newline .. newline ..</a>
-<a class="sourceLine" id="cb108-11" data-line-number="11"> &quot;&gt; block quote.&quot; .. newline</a>
-<a class="sourceLine" id="cb108-12" data-line-number="12"> tex.sprint(convert(input))</a>
-<a class="sourceLine" id="cb108-13" data-line-number="13"></a>
-<a class="sourceLine" id="cb108-14" data-line-number="14"> convert = markdown.new({breakableBlockquotes = true})</a>
-<a class="sourceLine" id="cb108-15" data-line-number="15"> input = &quot;&gt; A block quote.&quot; .. newline .. newline ..</a>
-<a class="sourceLine" id="cb108-16" data-line-number="16"> &quot;&gt; Another block quote.&quot; .. newline</a>
-<a class="sourceLine" id="cb108-17" data-line-number="17"> tex.sprint(convert(input)) }</a>
-<a class="sourceLine" id="cb108-18" data-line-number="18"><span class="fu">\bye</span></a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="lua-module-example-5">Lua Module Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb108"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb108-1"><a href="#cb108-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb108-2"><a href="#cb108-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb108-3"><a href="#cb108-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingOne</span>#1{{<span class="fu">\bf</span> #1}<span class="fu">\par</span>}</span>
+<span id="cb108-4"><a href="#cb108-4" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
+<span id="cb108-5"><a href="#cb108-5" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
+<span id="cb108-6"><a href="#cb108-6" aria-hidden="true"></a> local newline = [[^^J^^J]]</span>
+<span id="cb108-7"><a href="#cb108-7" aria-hidden="true"></a> local convert, input</span>
+<span id="cb108-8"><a href="#cb108-8" aria-hidden="true"></a></span>
+<span id="cb108-9"><a href="#cb108-9" aria-hidden="true"></a> convert = markdown.new()</span>
+<span id="cb108-10"><a href="#cb108-10" aria-hidden="true"></a> input = &quot;&gt; A single&quot; .. newline .. newline ..</span>
+<span id="cb108-11"><a href="#cb108-11" aria-hidden="true"></a> &quot;&gt; block quote.&quot; .. newline</span>
+<span id="cb108-12"><a href="#cb108-12" aria-hidden="true"></a> tex.sprint(convert(input))</span>
+<span id="cb108-13"><a href="#cb108-13" aria-hidden="true"></a></span>
+<span id="cb108-14"><a href="#cb108-14" aria-hidden="true"></a> convert = markdown.new({breakableBlockquotes = true})</span>
+<span id="cb108-15"><a href="#cb108-15" aria-hidden="true"></a> input = &quot;&gt; A block quote.&quot; .. newline .. newline ..</span>
+<span id="cb108-16"><a href="#cb108-16" aria-hidden="true"></a> &quot;&gt; Another block quote.&quot; .. newline</span>
+<span id="cb108-17"><a href="#cb108-17" aria-hidden="true"></a> tex.sprint(convert(input)) }</span>
+<span id="cb108-18"><a href="#cb108-18" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Then, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb109"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb109-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb109"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb109-1"><a href="#cb109-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<blockquote>
@@ -1074,21 +1088,21 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
<p>Another block quote.</p>
</blockquote>
</blockquote>
-<h5 id="lua-cli-example-5" class="unnumbered">Lua CLI Example</h5>
+<h5 class="unnumbered" data-number="" id="lua-cli-example-5">Lua CLI Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb110"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb110-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb110-2" data-line-number="2"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb110-3" data-line-number="3"><span class="fu">\input</span> optionfalse</a>
-<a class="sourceLine" id="cb110-4" data-line-number="4"><span class="fu">\input</span> optiontrue</a>
-<a class="sourceLine" id="cb110-5" data-line-number="5"><span class="fu">\bye</span></a></code></pre></div>
+<div class="sourceCode" id="cb110"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb110-1"><a href="#cb110-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb110-2"><a href="#cb110-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb110-3"><a href="#cb110-3" aria-hidden="true"></a><span class="fu">\input</span> optionfalse</span>
+<span id="cb110-4"><a href="#cb110-4" aria-hidden="true"></a><span class="fu">\input</span> optiontrue</span>
+<span id="cb110-5"><a href="#cb110-5" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Using a text editor, create a text document named <code>content.md</code> with the following content:</p>
-<div class="sourceCode" id="cb111"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb111-1" data-line-number="1">&gt;<span class="dt"> A single block quote</span></a>
-<a class="sourceLine" id="cb111-2" data-line-number="2"></a>
-<a class="sourceLine" id="cb111-3" data-line-number="3">&gt;<span class="dt"> or two block quotes?</span></a></code></pre></div>
+<div class="sourceCode" id="cb111"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb111-1"><a href="#cb111-1" aria-hidden="true"></a><span class="at">&gt; A single block quote</span></span>
+<span id="cb111-2"><a href="#cb111-2" aria-hidden="true"></a></span>
+<span id="cb111-3"><a href="#cb111-3" aria-hidden="true"></a><span class="at">&gt; or two block quotes?</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb112"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb112-1" data-line-number="1"><span class="ex">texlua</span> ⟨CLI pathname⟩ -- content.md optionfalse.tex</a>
-<a class="sourceLine" id="cb112-2" data-line-number="2"><span class="ex">texlua</span> ⟨CLI pathname⟩ breakableBlockquotes=true -- content.md optiontrue.tex</a>
-<a class="sourceLine" id="cb112-3" data-line-number="3"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb112"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb112-1"><a href="#cb112-1" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ -- content.md optionfalse.tex</span>
+<span id="cb112-2"><a href="#cb112-2" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ breakableBlockquotes=true -- content.md optiontrue.tex</span>
+<span id="cb112-3"><a href="#cb112-3" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>where ⟨<em>CLI pathname</em>⟩ corresponds to the location of the Lua CLI script file, such as <code>~/texmf/scripts/markdown/markdown-cli.lua</code> on UN*X systems or <code>C:\Users\</code>⟨<em>Your username</em>⟩<code>\texmf\scripts\markdown\markdown-cli.lua</code> on Windows systems. Use the command <code>kpsewhich -a markdown-cli.lua</code> to locate the Lua CLI script file using <a href="https://tug.org/kpathsea/" title="Kpathsea - TeX Users Group">Kpathsea</a>.</p>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
@@ -1102,26 +1116,26 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
<p>or two block quotes?</p>
</blockquote>
</blockquote>
-<h5 id="plain-tex-example-5" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb113"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb113-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb113-2" data-line-number="2"></a>
-<a class="sourceLine" id="cb113-3" data-line-number="3"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb113-4" data-line-number="4">&gt; A single</a>
-<a class="sourceLine" id="cb113-5" data-line-number="5"></a>
-<a class="sourceLine" id="cb113-6" data-line-number="6">&gt; block quote.</a>
-<a class="sourceLine" id="cb113-7" data-line-number="7"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb113-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb113-9" data-line-number="9"><span class="fu">\def</span>\markdownOptionBreakableBlockquotes{true}</a>
-<a class="sourceLine" id="cb113-10" data-line-number="10"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb113-11" data-line-number="11">&gt; A block quote.</a>
-<a class="sourceLine" id="cb113-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb113-13" data-line-number="13">&gt; Another block quote.</a>
-<a class="sourceLine" id="cb113-14" data-line-number="14"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb113-15" data-line-number="15"></a>
-<a class="sourceLine" id="cb113-16" data-line-number="16"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb114"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb114-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-5">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb113"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb113-1"><a href="#cb113-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb113-2"><a href="#cb113-2" aria-hidden="true"></a></span>
+<span id="cb113-3"><a href="#cb113-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb113-4"><a href="#cb113-4" aria-hidden="true"></a>&gt; A single</span>
+<span id="cb113-5"><a href="#cb113-5" aria-hidden="true"></a></span>
+<span id="cb113-6"><a href="#cb113-6" aria-hidden="true"></a>&gt; block quote.</span>
+<span id="cb113-7"><a href="#cb113-7" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb113-8"><a href="#cb113-8" aria-hidden="true"></a></span>
+<span id="cb113-9"><a href="#cb113-9" aria-hidden="true"></a><span class="fu">\def\markdownOptionBreakableBlockquotes</span>{true}</span>
+<span id="cb113-10"><a href="#cb113-10" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb113-11"><a href="#cb113-11" aria-hidden="true"></a>&gt; A block quote.</span>
+<span id="cb113-12"><a href="#cb113-12" aria-hidden="true"></a></span>
+<span id="cb113-13"><a href="#cb113-13" aria-hidden="true"></a>&gt; Another block quote.</span>
+<span id="cb113-14"><a href="#cb113-14" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb113-15"><a href="#cb113-15" aria-hidden="true"></a></span>
+<span id="cb113-16"><a href="#cb113-16" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb114"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb114-1"><a href="#cb114-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<blockquote>
@@ -1134,27 +1148,27 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
<p>Another block quote.</p>
</blockquote>
</blockquote>
-<h5 id="latex-example-5" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb115"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb115-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb115-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb115-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb115-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb115-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb115-6" data-line-number="6">&gt; A single</a>
-<a class="sourceLine" id="cb115-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb115-8" data-line-number="8">&gt; block quote.</a>
-<a class="sourceLine" id="cb115-9" data-line-number="9"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb115-10" data-line-number="10"></a>
-<a class="sourceLine" id="cb115-11" data-line-number="11"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{breakableBlockquotes}</a>
-<a class="sourceLine" id="cb115-12" data-line-number="12">&gt; A block quote.</a>
-<a class="sourceLine" id="cb115-13" data-line-number="13"></a>
-<a class="sourceLine" id="cb115-14" data-line-number="14">&gt; Another block quote.</a>
-<a class="sourceLine" id="cb115-15" data-line-number="15"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb115-16" data-line-number="16"></a>
-<a class="sourceLine" id="cb115-17" data-line-number="17"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb116"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb116-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-5"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb115"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb115-1"><a href="#cb115-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb115-2"><a href="#cb115-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb115-3"><a href="#cb115-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb115-4"><a href="#cb115-4" aria-hidden="true"></a></span>
+<span id="cb115-5"><a href="#cb115-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb115-6"><a href="#cb115-6" aria-hidden="true"></a>&gt; A single</span>
+<span id="cb115-7"><a href="#cb115-7" aria-hidden="true"></a></span>
+<span id="cb115-8"><a href="#cb115-8" aria-hidden="true"></a>&gt; block quote.</span>
+<span id="cb115-9"><a href="#cb115-9" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb115-10"><a href="#cb115-10" aria-hidden="true"></a></span>
+<span id="cb115-11"><a href="#cb115-11" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{breakableBlockquotes}</span>
+<span id="cb115-12"><a href="#cb115-12" aria-hidden="true"></a>&gt; A block quote.</span>
+<span id="cb115-13"><a href="#cb115-13" aria-hidden="true"></a></span>
+<span id="cb115-14"><a href="#cb115-14" aria-hidden="true"></a>&gt; Another block quote.</span>
+<span id="cb115-15"><a href="#cb115-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb115-16"><a href="#cb115-16" aria-hidden="true"></a></span>
+<span id="cb115-17"><a href="#cb115-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb116"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb116-1"><a href="#cb116-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<blockquote>
@@ -1167,27 +1181,27 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
<p>Another block quote.</p>
</blockquote>
</blockquote>
-<h5 id="context-example-5" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb117"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb117-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb117-2" data-line-number="2"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb117-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb117-4" data-line-number="4"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb117-5" data-line-number="5">&gt; A single</a>
-<a class="sourceLine" id="cb117-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb117-7" data-line-number="7">&gt; block quote.</a>
-<a class="sourceLine" id="cb117-8" data-line-number="8"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb117-9" data-line-number="9"></a>
-<a class="sourceLine" id="cb117-10" data-line-number="10"><span class="fu">\def</span>\markdownOptionBreakableBlockquotes{true}</a>
-<a class="sourceLine" id="cb117-11" data-line-number="11"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb117-12" data-line-number="12">&gt; A block quote.</a>
-<a class="sourceLine" id="cb117-13" data-line-number="13"></a>
-<a class="sourceLine" id="cb117-14" data-line-number="14">&gt; Another block quote.</a>
-<a class="sourceLine" id="cb117-15" data-line-number="15"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb117-16" data-line-number="16"></a>
-<a class="sourceLine" id="cb117-17" data-line-number="17"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb118"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb118-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-5">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb117"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb117-1"><a href="#cb117-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb117-2"><a href="#cb117-2" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb117-3"><a href="#cb117-3" aria-hidden="true"></a></span>
+<span id="cb117-4"><a href="#cb117-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb117-5"><a href="#cb117-5" aria-hidden="true"></a>&gt; A single</span>
+<span id="cb117-6"><a href="#cb117-6" aria-hidden="true"></a></span>
+<span id="cb117-7"><a href="#cb117-7" aria-hidden="true"></a>&gt; block quote.</span>
+<span id="cb117-8"><a href="#cb117-8" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb117-9"><a href="#cb117-9" aria-hidden="true"></a></span>
+<span id="cb117-10"><a href="#cb117-10" aria-hidden="true"></a><span class="fu">\def\markdownOptionBreakableBlockquotes</span>{true}</span>
+<span id="cb117-11"><a href="#cb117-11" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb117-12"><a href="#cb117-12" aria-hidden="true"></a>&gt; A block quote.</span>
+<span id="cb117-13"><a href="#cb117-13" aria-hidden="true"></a></span>
+<span id="cb117-14"><a href="#cb117-14" aria-hidden="true"></a>&gt; Another block quote.</span>
+<span id="cb117-15"><a href="#cb117-15" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb117-16"><a href="#cb117-16" aria-hidden="true"></a></span>
+<span id="cb117-17"><a href="#cb117-17" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb118"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb118-1"><a href="#cb118-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<blockquote>
@@ -1200,74 +1214,74 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
<p>Another block quote.</p>
</blockquote>
</blockquote>
-<h4 id="option-citationnbsps"><span class="header-section-number">2.2.1.7</span> Option <code>citationNbsps</code></h4>
+<h4 data-number="2.2.1.7" id="option-citationnbsps"><span class="header-section-number">2.2.1.7</span> Option <code>citationNbsps</code></h4>
<dl>
<dt><code>citationNbsps</code> (default value: <code>true</code>)</dt>
<dd><dl>
<dt>true</dt>
-<dd><p>Replace regular spaces with non-breakable spaces inside the prenotes and postnotes of citations produced via the pandoc citation syntax extension.</p>
+<dd><p>Replace regular spaces with non-breaking spaces inside the prenotes and postnotes of citations produced via the pandoc citation syntax extension.</p>
</dd>
<dt>false</dt>
-<dd><p>Do not replace regular spaces with non-breakable spaces inside the prenotes and postnotes of citations produced via the pandoc citation syntax extension.</p>
+<dd><p>Do not replace regular spaces with non-breaking spaces inside the prenotes and postnotes of citations produced via the pandoc citation syntax extension.</p>
</dd>
</dl>
</dd>
</dl>
-<h5 id="latex-example-6" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-6"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.bib</code> with the following content:</p>
-<div class="sourceCode" id="cb119"><pre class="sourceCode bib"><code class="sourceCode bibtex"><a class="sourceLine" id="cb119-1" data-line-number="1"><span class="va">@book</span>{<span class="ot">knuth:tex</span>,</a>
-<a class="sourceLine" id="cb119-2" data-line-number="2"> <span class="dt">author</span> = &quot;<span class="st">Knuth, Donald Ervin</span>&quot;,</a>
-<a class="sourceLine" id="cb119-3" data-line-number="3"> <span class="dt">title</span> = &quot;<span class="st">The </span><span class="ch">\TeX</span><span class="st"> book, volume A of Computers and typesetting</span>&quot;,</a>
-<a class="sourceLine" id="cb119-4" data-line-number="4"> <span class="dt">publisher</span> = &quot;<span class="st">Addison-Wesley</span>&quot;,</a>
-<a class="sourceLine" id="cb119-5" data-line-number="5"> <span class="dt">year</span> = &quot;<span class="st">1984</span>&quot;</a>
-<a class="sourceLine" id="cb119-6" data-line-number="6">}</a></code></pre></div>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb120"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb120-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb120-2" data-line-number="2"><span class="bu">\usepackage</span>[citations]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb120-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb120-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb120-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb120-6" data-line-number="6">The TeXbook [@knuth:tex, p. 123 and 130] is good.</a>
-<a class="sourceLine" id="cb120-7" data-line-number="7"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb120-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb120-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{citationNbsps = false}</a>
-<a class="sourceLine" id="cb120-10" data-line-number="10">The TeXbook [@knuth:tex, p. 123 and 130] is good.</a>
-<a class="sourceLine" id="cb120-11" data-line-number="11"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb120-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb120-13" data-line-number="13"><span class="bu">\bibliographystyle</span>{<span class="ex">plain</span>}</a>
-<a class="sourceLine" id="cb120-14" data-line-number="14"><span class="bu">\bibliography</span>{<span class="ex">document.bib</span>}</a>
-<a class="sourceLine" id="cb120-15" data-line-number="15"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<div class="sourceCode" id="cb119"><pre class="sourceCode bib"><code class="sourceCode bibtex"><span id="cb119-1"><a href="#cb119-1" aria-hidden="true"></a><span class="va">@book</span>{<span class="ot">knuth:tex</span>,</span>
+<span id="cb119-2"><a href="#cb119-2" aria-hidden="true"></a> <span class="dt">author</span> = &quot;<span class="st">Knuth, Donald Ervin</span>&quot;,</span>
+<span id="cb119-3"><a href="#cb119-3" aria-hidden="true"></a> <span class="dt">title</span> = &quot;<span class="st">The </span><span class="ch">\TeX</span><span class="st"> book, volume A of Computers and typesetting</span>&quot;,</span>
+<span id="cb119-4"><a href="#cb119-4" aria-hidden="true"></a> <span class="dt">publisher</span> = &quot;<span class="st">Addison-Wesley</span>&quot;,</span>
+<span id="cb119-5"><a href="#cb119-5" aria-hidden="true"></a> <span class="dt">year</span> = &quot;<span class="st">1984</span>&quot;</span>
+<span id="cb119-6"><a href="#cb119-6" aria-hidden="true"></a>}</span></code></pre></div>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb120"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb120-1"><a href="#cb120-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb120-2"><a href="#cb120-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[citations]{<span class="ex">markdown</span>}</span>
+<span id="cb120-3"><a href="#cb120-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb120-4"><a href="#cb120-4" aria-hidden="true"></a></span>
+<span id="cb120-5"><a href="#cb120-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb120-6"><a href="#cb120-6" aria-hidden="true"></a>The TeXbook [@knuth:tex, p. 123 and 130] is good.</span>
+<span id="cb120-7"><a href="#cb120-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb120-8"><a href="#cb120-8" aria-hidden="true"></a></span>
+<span id="cb120-9"><a href="#cb120-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{citationNbsps = false}</span>
+<span id="cb120-10"><a href="#cb120-10" aria-hidden="true"></a>The TeXbook [@knuth:tex, p. 123 and 130] is good.</span>
+<span id="cb120-11"><a href="#cb120-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb120-12"><a href="#cb120-12" aria-hidden="true"></a></span>
+<span id="cb120-13"><a href="#cb120-13" aria-hidden="true"></a><span class="bu">\bibliographystyle</span>{<span class="ex">plain</span>}</span>
+<span id="cb120-14"><a href="#cb120-14" aria-hidden="true"></a><span class="bu">\bibliography</span>{<span class="ex">document.bib</span>}</span>
+<span id="cb120-15"><a href="#cb120-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX and BibTeX from the terminal:</p>
-<div class="sourceCode" id="cb121"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb121-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a>
-<a class="sourceLine" id="cb121-2" data-line-number="2"><span class="ex">bibtex</span> document.aux</a>
-<a class="sourceLine" id="cb121-3" data-line-number="3"><span class="ex">lualatex</span> document.tex</a>
-<a class="sourceLine" id="cb121-4" data-line-number="4"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
-<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text, where the middot (<code>·</code>) denotes a non-breakable space:</p>
+<div class="sourceCode" id="cb121"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb121-1"><a href="#cb121-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span>
+<span id="cb121-2"><a href="#cb121-2" aria-hidden="true"></a><span class="ex">bibtex</span> document.aux</span>
+<span id="cb121-3"><a href="#cb121-3" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span>
+<span id="cb121-4"><a href="#cb121-4" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text, where the middot (<code>·</code>) denotes a non-breaking space:</p>
<blockquote>
<p>The TeXbook [1, p.·123·and·130] is good.</p>
<p>The TeXbook [1, p. 123 and 130] is good.</p>
<h3 id="references">References</h3>
<p>[1] Donald·Ervin Knuth. <em>The TeXbook, volume A of Computers and typesetting.</em> Addison-Wesley, 1984.</p>
</blockquote>
-<h4 id="option-citations"><span class="header-section-number">2.2.1.8</span> Option <code>citations</code></h4>
+<h4 data-number="2.2.1.8" id="option-citations"><span class="header-section-number">2.2.1.8</span> Option <code>citations</code></h4>
<dl>
<dt><code>citations</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Enable the pandoc citation syntax extension:</p>
-<div class="sourceCode" id="cb122"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb122-1" data-line-number="1">Here is a simple parenthetical citation [@doe99] and here</a>
-<a class="sourceLine" id="cb122-2" data-line-number="2">is a string of several [see @doe99, pp. 33-35; also</a>
-<a class="sourceLine" id="cb122-3" data-line-number="3">@smith04, chap. 1].</a>
-<a class="sourceLine" id="cb122-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb122-5" data-line-number="5">A parenthetical citation can have a [prenote @doe99] and</a>
-<a class="sourceLine" id="cb122-6" data-line-number="6">a [@smith04 postnote]. The name of the author can be</a>
-<a class="sourceLine" id="cb122-7" data-line-number="7">suppressed by inserting a dash before the name of an</a>
-<a class="sourceLine" id="cb122-8" data-line-number="8">author as follows [-@smith04].</a>
-<a class="sourceLine" id="cb122-9" data-line-number="9"></a>
-<a class="sourceLine" id="cb122-10" data-line-number="10">Here is a simple text citation @doe99 and here is</a>
-<a class="sourceLine" id="cb122-11" data-line-number="11">a string of several @doe99 [pp. 33-35; also @smith04,</a>
-<a class="sourceLine" id="cb122-12" data-line-number="12">chap. 1]. Here is one with the name of the author</a>
-<a class="sourceLine" id="cb122-13" data-line-number="13">suppressed -@doe99.</a></code></pre></div>
+<div class="sourceCode" id="cb122"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb122-1"><a href="#cb122-1" aria-hidden="true"></a>Here is a simple parenthetical citation <span class="co">[</span><span class="ot">@doe99</span><span class="co">]</span> and here</span>
+<span id="cb122-2"><a href="#cb122-2" aria-hidden="true"></a>is a string of several [see @doe99, pp. 33-35; also</span>
+<span id="cb122-3"><a href="#cb122-3" aria-hidden="true"></a>@smith04, chap. 1].</span>
+<span id="cb122-4"><a href="#cb122-4" aria-hidden="true"></a></span>
+<span id="cb122-5"><a href="#cb122-5" aria-hidden="true"></a>A parenthetical citation can have a <span class="co">[</span><span class="ot">prenote @doe99</span><span class="co">]</span> and</span>
+<span id="cb122-6"><a href="#cb122-6" aria-hidden="true"></a>a <span class="co">[</span><span class="ot">@smith04 postnote</span><span class="co">]</span>. The name of the author can be</span>
+<span id="cb122-7"><a href="#cb122-7" aria-hidden="true"></a>suppressed by inserting a dash before the name of an</span>
+<span id="cb122-8"><a href="#cb122-8" aria-hidden="true"></a>author as follows <span class="co">[</span><span class="ot">-@smith04</span><span class="co">]</span>.</span>
+<span id="cb122-9"><a href="#cb122-9" aria-hidden="true"></a></span>
+<span id="cb122-10"><a href="#cb122-10" aria-hidden="true"></a>Here is a simple text citation @doe99 and here is</span>
+<span id="cb122-11"><a href="#cb122-11" aria-hidden="true"></a>a string of several @doe99 [pp. 33-35; also @smith04,</span>
+<span id="cb122-12"><a href="#cb122-12" aria-hidden="true"></a>chap. 1]. Here is one with the name of the author</span>
+<span id="cb122-13"><a href="#cb122-13" aria-hidden="true"></a>suppressed -@doe99.</span></code></pre></div>
</dd>
</dl>
</dd>
@@ -1278,46 +1292,46 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
</dl>
</dd>
</dl>
-<h5 id="latex-example-7" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-7"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.bib</code> with the following content:</p>
-<div class="sourceCode" id="cb123"><pre class="sourceCode bib"><code class="sourceCode bibtex"><a class="sourceLine" id="cb123-1" data-line-number="1"><span class="va">@book</span>{<span class="ot">knuth:tex</span>,</a>
-<a class="sourceLine" id="cb123-2" data-line-number="2"> <span class="dt">author</span> = &quot;<span class="st">Knuth, Donald Ervin</span>&quot;,</a>
-<a class="sourceLine" id="cb123-3" data-line-number="3"> <span class="dt">title</span> = &quot;<span class="st">The </span><span class="ch">\TeX</span><span class="st"> book, volume A of Computers and typesetting</span>&quot;,</a>
-<a class="sourceLine" id="cb123-4" data-line-number="4"> <span class="dt">publisher</span> = &quot;<span class="st">Addison-Wesley</span>&quot;,</a>
-<a class="sourceLine" id="cb123-5" data-line-number="5"> <span class="dt">year</span> = &quot;<span class="st">1984</span>&quot;</a>
-<a class="sourceLine" id="cb123-6" data-line-number="6">}</a></code></pre></div>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb124"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb124-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb124-2" data-line-number="2"><span class="bu">\usepackage</span>[backend=biber]{<span class="ex">biblatex</span>}</a>
-<a class="sourceLine" id="cb124-3" data-line-number="3"><span class="fu">\addbibresource</span>{document.bib}</a>
-<a class="sourceLine" id="cb124-4" data-line-number="4"><span class="bu">\usepackage</span>[citations]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb124-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb124-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb124-7" data-line-number="7"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb124-8" data-line-number="8">The TeXbook [@knuth:tex, p. 123 and 130] was written by @knuth:tex.</a>
-<a class="sourceLine" id="cb124-9" data-line-number="9"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb124-10" data-line-number="10"></a>
-<a class="sourceLine" id="cb124-11" data-line-number="11"><span class="fu">\printbibliography</span></a>
-<a class="sourceLine" id="cb124-12" data-line-number="12"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<div class="sourceCode" id="cb123"><pre class="sourceCode bib"><code class="sourceCode bibtex"><span id="cb123-1"><a href="#cb123-1" aria-hidden="true"></a><span class="va">@book</span>{<span class="ot">knuth:tex</span>,</span>
+<span id="cb123-2"><a href="#cb123-2" aria-hidden="true"></a> <span class="dt">author</span> = &quot;<span class="st">Knuth, Donald Ervin</span>&quot;,</span>
+<span id="cb123-3"><a href="#cb123-3" aria-hidden="true"></a> <span class="dt">title</span> = &quot;<span class="st">The </span><span class="ch">\TeX</span><span class="st"> book, volume A of Computers and typesetting</span>&quot;,</span>
+<span id="cb123-4"><a href="#cb123-4" aria-hidden="true"></a> <span class="dt">publisher</span> = &quot;<span class="st">Addison-Wesley</span>&quot;,</span>
+<span id="cb123-5"><a href="#cb123-5" aria-hidden="true"></a> <span class="dt">year</span> = &quot;<span class="st">1984</span>&quot;</span>
+<span id="cb123-6"><a href="#cb123-6" aria-hidden="true"></a>}</span></code></pre></div>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb124"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb124-1"><a href="#cb124-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb124-2"><a href="#cb124-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[backend=biber]{<span class="ex">biblatex</span>}</span>
+<span id="cb124-3"><a href="#cb124-3" aria-hidden="true"></a><span class="fu">\addbibresource</span>{document.bib}</span>
+<span id="cb124-4"><a href="#cb124-4" aria-hidden="true"></a><span class="bu">\usepackage</span>[citations]{<span class="ex">markdown</span>}</span>
+<span id="cb124-5"><a href="#cb124-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb124-6"><a href="#cb124-6" aria-hidden="true"></a></span>
+<span id="cb124-7"><a href="#cb124-7" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb124-8"><a href="#cb124-8" aria-hidden="true"></a>The TeXbook [@knuth:tex, p. 123 and 130] was written by @knuth:tex.</span>
+<span id="cb124-9"><a href="#cb124-9" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb124-10"><a href="#cb124-10" aria-hidden="true"></a></span>
+<span id="cb124-11"><a href="#cb124-11" aria-hidden="true"></a><span class="fu">\printbibliography</span></span>
+<span id="cb124-12"><a href="#cb124-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX and Biber from the terminal:</p>
-<div class="sourceCode" id="cb125"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb125-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a>
-<a class="sourceLine" id="cb125-2" data-line-number="2"><span class="ex">biber</span> document.bcf</a>
-<a class="sourceLine" id="cb125-3" data-line-number="3"><span class="ex">lualatex</span> document.tex</a>
-<a class="sourceLine" id="cb125-4" data-line-number="4"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb125"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb125-1"><a href="#cb125-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span>
+<span id="cb125-2"><a href="#cb125-2" aria-hidden="true"></a><span class="ex">biber</span> document.bcf</span>
+<span id="cb125-3"><a href="#cb125-3" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span>
+<span id="cb125-4"><a href="#cb125-4" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>The TeXbook [1, p.·123 and 130] was written by Knuth [1].</p>
<h3 id="references-1">References</h3>
<p>[1] Donald Ervin Knuth. <em>The <span class="tex">T<sub>e</sub>X</span>book, volume A of Computers and typesetting.</em> Addison-Wesley, 1984.</p>
</blockquote>
-<h4 id="option-codespans"><span class="header-section-number">2.2.1.9</span> Option <code>codeSpans</code></h4>
+<h4 data-number="2.2.1.9" id="option-codespans"><span class="header-section-number">2.2.1.9</span> Option <code>codeSpans</code></h4>
<dl>
<dt><code>codeSpans</code> (default value: <code>true</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Enable the code span syntax:</p>
-<div class="sourceCode" id="cb126"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb126-1" data-line-number="1">Use the <span class="bn">`printf()`</span> function.</a>
-<a class="sourceLine" id="cb126-2" data-line-number="2">`<span class="bn">`There is a literal backtick (`</span>) here.``</a></code></pre></div>
+<div class="sourceCode" id="cb126"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb126-1"><a href="#cb126-1" aria-hidden="true"></a>Use the <span class="in">`printf()`</span> function.</span>
+<span id="cb126-2"><a href="#cb126-2" aria-hidden="true"></a><span class="in">``There is a literal backtick (`) here.``</span></span></code></pre></div>
</dd>
</dl>
</dd>
@@ -1329,136 +1343,136 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
</dl>
</dd>
</dl>
-<h5 id="lua-module-example-6" class="unnumbered">Lua Module Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb128"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb128-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb128-2" data-line-number="2"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb128-3" data-line-number="3"><span class="fu">\directlua</span>{</a>
-<a class="sourceLine" id="cb128-4" data-line-number="4"> local markdown = require(&quot;markdown&quot;)</a>
-<a class="sourceLine" id="cb128-5" data-line-number="5"> local convert = markdown.new()</a>
-<a class="sourceLine" id="cb128-6" data-line-number="6"> local input =</a>
-<a class="sourceLine" id="cb128-7" data-line-number="7"> &quot;``This is a code span.&#39;&#39; &quot; ..</a>
-<a class="sourceLine" id="cb128-8" data-line-number="8"> &quot;``This is no longer a code span.&#39;&#39;&quot;</a>
-<a class="sourceLine" id="cb128-9" data-line-number="9"> tex.sprint(convert(input)) }</a>
-<a class="sourceLine" id="cb128-10" data-line-number="10"><span class="fu">\par</span></a>
-<a class="sourceLine" id="cb128-11" data-line-number="11"><span class="fu">\directlua</span>{</a>
-<a class="sourceLine" id="cb128-12" data-line-number="12"> local markdown = require(&quot;markdown&quot;)</a>
-<a class="sourceLine" id="cb128-13" data-line-number="13"> local convert = markdown.new({codeSpans = false})</a>
-<a class="sourceLine" id="cb128-14" data-line-number="14"> local input =</a>
-<a class="sourceLine" id="cb128-15" data-line-number="15"> &quot;``This is a quote.&#39;&#39; &quot; ..</a>
-<a class="sourceLine" id="cb128-16" data-line-number="16"> &quot;``This is another quote.&#39;&#39;&quot;</a>
-<a class="sourceLine" id="cb128-17" data-line-number="17"> tex.sprint(convert(input)) }</a>
-<a class="sourceLine" id="cb128-18" data-line-number="18"><span class="fu">\bye</span></a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="lua-module-example-6">Lua Module Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb128"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb128-1"><a href="#cb128-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb128-2"><a href="#cb128-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb128-3"><a href="#cb128-3" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
+<span id="cb128-4"><a href="#cb128-4" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
+<span id="cb128-5"><a href="#cb128-5" aria-hidden="true"></a> local convert = markdown.new()</span>
+<span id="cb128-6"><a href="#cb128-6" aria-hidden="true"></a> local input =</span>
+<span id="cb128-7"><a href="#cb128-7" aria-hidden="true"></a> &quot;``This is a code span.&#39;&#39; &quot; ..</span>
+<span id="cb128-8"><a href="#cb128-8" aria-hidden="true"></a> &quot;``This is no longer a code span.&#39;&#39;&quot;</span>
+<span id="cb128-9"><a href="#cb128-9" aria-hidden="true"></a> tex.sprint(convert(input)) }</span>
+<span id="cb128-10"><a href="#cb128-10" aria-hidden="true"></a><span class="fu">\par</span></span>
+<span id="cb128-11"><a href="#cb128-11" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
+<span id="cb128-12"><a href="#cb128-12" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
+<span id="cb128-13"><a href="#cb128-13" aria-hidden="true"></a> local convert = markdown.new({codeSpans = false})</span>
+<span id="cb128-14"><a href="#cb128-14" aria-hidden="true"></a> local input =</span>
+<span id="cb128-15"><a href="#cb128-15" aria-hidden="true"></a> &quot;``This is a quote.&#39;&#39; &quot; ..</span>
+<span id="cb128-16"><a href="#cb128-16" aria-hidden="true"></a> &quot;``This is another quote.&#39;&#39;&quot;</span>
+<span id="cb128-17"><a href="#cb128-17" aria-hidden="true"></a> tex.sprint(convert(input)) }</span>
+<span id="cb128-18"><a href="#cb128-18" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Then, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb129"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb129-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb129"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb129-1"><a href="#cb129-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p><code>This is a code span.''</code>This is no longer a code span.’’</p>
<p>“This is a quote.” “This is another quote.”</p>
</blockquote>
-<h5 id="lua-cli-example-6" class="unnumbered">Lua CLI Example</h5>
+<h5 class="unnumbered" data-number="" id="lua-cli-example-6">Lua CLI Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb130"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb130-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb130-2" data-line-number="2"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb130-3" data-line-number="3"><span class="fu">\input</span> optionfalse</a>
-<a class="sourceLine" id="cb130-4" data-line-number="4"><span class="fu">\par</span></a>
-<a class="sourceLine" id="cb130-5" data-line-number="5"><span class="fu">\input</span> optiontrue</a>
-<a class="sourceLine" id="cb130-6" data-line-number="6"><span class="fu">\bye</span></a></code></pre></div>
+<div class="sourceCode" id="cb130"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb130-1"><a href="#cb130-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb130-2"><a href="#cb130-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb130-3"><a href="#cb130-3" aria-hidden="true"></a><span class="fu">\input</span> optionfalse</span>
+<span id="cb130-4"><a href="#cb130-4" aria-hidden="true"></a><span class="fu">\par</span></span>
+<span id="cb130-5"><a href="#cb130-5" aria-hidden="true"></a><span class="fu">\input</span> optiontrue</span>
+<span id="cb130-6"><a href="#cb130-6" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Using a text editor, create a text document named <code>content.md</code> with the following content:</p>
-<div class="sourceCode" id="cb131"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb131-1" data-line-number="1">`<span class="bn">`Is this a code span?&#39;&#39; `</span>`Or a quote?&#39;&#39;</a></code></pre></div>
+<div class="sourceCode" id="cb131"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb131-1"><a href="#cb131-1" aria-hidden="true"></a><span class="in">``Is this a code span?&#39;&#39; ``</span>Or a quote?&#39;&#39;</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb132"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb132-1" data-line-number="1"><span class="ex">texlua</span> ⟨CLI pathname⟩ codeSpans=false -- content.md optionfalse.tex</a>
-<a class="sourceLine" id="cb132-2" data-line-number="2"><span class="ex">texlua</span> ⟨CLI pathname⟩ -- content.md optiontrue.tex</a>
-<a class="sourceLine" id="cb132-3" data-line-number="3"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb132"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb132-1"><a href="#cb132-1" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ codeSpans=false -- content.md optionfalse.tex</span>
+<span id="cb132-2"><a href="#cb132-2" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ -- content.md optiontrue.tex</span>
+<span id="cb132-3"><a href="#cb132-3" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>where ⟨<em>CLI pathname</em>⟩ corresponds to the location of the Lua CLI script file, such as <code>~/texmf/scripts/markdown/markdown-cli.lua</code> on UN*X systems or <code>C:\Users\</code>⟨<em>Your username</em>⟩<code>\texmf\scripts\markdown\markdown-cli.lua</code> on Windows systems. Use the command <code>kpsewhich -a markdown-cli.lua</code> to locate the Lua CLI script file using <a href="https://tug.org/kpathsea/" title="Kpathsea - TeX Users Group">Kpathsea</a>.</p>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>“Is this a code span?” “Or a quote?”</p>
<p><code>Is this a code span?''</code>Or a quote?’’</p>
</blockquote>
-<h5 id="plain-tex-example-6" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb133"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb133-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb133-2" data-line-number="2"></a>
-<a class="sourceLine" id="cb133-3" data-line-number="3"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb133-4" data-line-number="4">``This is a code span.&#39;&#39;</a>
-<a class="sourceLine" id="cb133-5" data-line-number="5">``This is no longer a code span.&#39;&#39;</a>
-<a class="sourceLine" id="cb133-6" data-line-number="6"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb133-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb133-8" data-line-number="8"><span class="fu">\def</span>\markdownOptionCodeSpans{false}</a>
-<a class="sourceLine" id="cb133-9" data-line-number="9"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb133-10" data-line-number="10">``This is a quote.&#39;&#39;</a>
-<a class="sourceLine" id="cb133-11" data-line-number="11">``This is another quote.&#39;&#39;</a>
-<a class="sourceLine" id="cb133-12" data-line-number="12"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb133-13" data-line-number="13"></a>
-<a class="sourceLine" id="cb133-14" data-line-number="14"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb134"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb134-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-6">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb133"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb133-1"><a href="#cb133-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb133-2"><a href="#cb133-2" aria-hidden="true"></a></span>
+<span id="cb133-3"><a href="#cb133-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb133-4"><a href="#cb133-4" aria-hidden="true"></a>``This is a code span.&#39;&#39;</span>
+<span id="cb133-5"><a href="#cb133-5" aria-hidden="true"></a>``This is no longer a code span.&#39;&#39;</span>
+<span id="cb133-6"><a href="#cb133-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb133-7"><a href="#cb133-7" aria-hidden="true"></a></span>
+<span id="cb133-8"><a href="#cb133-8" aria-hidden="true"></a><span class="fu">\def\markdownOptionCodeSpans</span>{false}</span>
+<span id="cb133-9"><a href="#cb133-9" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb133-10"><a href="#cb133-10" aria-hidden="true"></a>``This is a quote.&#39;&#39;</span>
+<span id="cb133-11"><a href="#cb133-11" aria-hidden="true"></a>``This is another quote.&#39;&#39;</span>
+<span id="cb133-12"><a href="#cb133-12" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb133-13"><a href="#cb133-13" aria-hidden="true"></a></span>
+<span id="cb133-14"><a href="#cb133-14" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb134"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb134-1"><a href="#cb134-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p><code>This is a code span.''</code>This is no longer a code span.’’</p>
<p>“This is a quote.” “This is another quote.”</p>
</blockquote>
-<h5 id="latex-example-8" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb135"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb135-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb135-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb135-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb135-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb135-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb135-6" data-line-number="6">``This is a code span.&#39;&#39;</a>
-<a class="sourceLine" id="cb135-7" data-line-number="7">``This is no longer a code span.&#39;&#39;</a>
-<a class="sourceLine" id="cb135-8" data-line-number="8"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb135-9" data-line-number="9"></a>
-<a class="sourceLine" id="cb135-10" data-line-number="10"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{codeSpans=false}</a>
-<a class="sourceLine" id="cb135-11" data-line-number="11">``This is a quote.&#39;&#39;</a>
-<a class="sourceLine" id="cb135-12" data-line-number="12">``This is another quote.&#39;&#39;</a>
-<a class="sourceLine" id="cb135-13" data-line-number="13"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb135-14" data-line-number="14"></a>
-<a class="sourceLine" id="cb135-15" data-line-number="15"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb136"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb136-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-8"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb135"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb135-1"><a href="#cb135-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb135-2"><a href="#cb135-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb135-3"><a href="#cb135-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb135-4"><a href="#cb135-4" aria-hidden="true"></a></span>
+<span id="cb135-5"><a href="#cb135-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb135-6"><a href="#cb135-6" aria-hidden="true"></a>``This is a code span.&#39;&#39;</span>
+<span id="cb135-7"><a href="#cb135-7" aria-hidden="true"></a>``This is no longer a code span.&#39;&#39;</span>
+<span id="cb135-8"><a href="#cb135-8" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb135-9"><a href="#cb135-9" aria-hidden="true"></a></span>
+<span id="cb135-10"><a href="#cb135-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{codeSpans=false}</span>
+<span id="cb135-11"><a href="#cb135-11" aria-hidden="true"></a>``This is a quote.&#39;&#39;</span>
+<span id="cb135-12"><a href="#cb135-12" aria-hidden="true"></a>``This is another quote.&#39;&#39;</span>
+<span id="cb135-13"><a href="#cb135-13" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb135-14"><a href="#cb135-14" aria-hidden="true"></a></span>
+<span id="cb135-15"><a href="#cb135-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb136"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb136-1"><a href="#cb136-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p><code>This is a code span.''</code>This is no longer a code span.’’</p>
<p>“This is a quote.” “This is another quote.”</p>
</blockquote>
-<h5 id="context-example-6" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb137"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb137-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb137-2" data-line-number="2"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb137-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb137-4" data-line-number="4"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb137-5" data-line-number="5">``This is a code span.&#39;&#39;</a>
-<a class="sourceLine" id="cb137-6" data-line-number="6">``This is no longer a code span.&#39;&#39;</a>
-<a class="sourceLine" id="cb137-7" data-line-number="7"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb137-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb137-9" data-line-number="9"><span class="fu">\def</span>\markdownOptionCodeSpans{false}</a>
-<a class="sourceLine" id="cb137-10" data-line-number="10"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb137-11" data-line-number="11">``This is a quote.&#39;&#39;</a>
-<a class="sourceLine" id="cb137-12" data-line-number="12">``This is another quote.&#39;&#39;</a>
-<a class="sourceLine" id="cb137-13" data-line-number="13"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb137-14" data-line-number="14"></a>
-<a class="sourceLine" id="cb137-15" data-line-number="15"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb138"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb138-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-6">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb137"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb137-1"><a href="#cb137-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb137-2"><a href="#cb137-2" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb137-3"><a href="#cb137-3" aria-hidden="true"></a></span>
+<span id="cb137-4"><a href="#cb137-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb137-5"><a href="#cb137-5" aria-hidden="true"></a>``This is a code span.&#39;&#39;</span>
+<span id="cb137-6"><a href="#cb137-6" aria-hidden="true"></a>``This is no longer a code span.&#39;&#39;</span>
+<span id="cb137-7"><a href="#cb137-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb137-8"><a href="#cb137-8" aria-hidden="true"></a></span>
+<span id="cb137-9"><a href="#cb137-9" aria-hidden="true"></a><span class="fu">\def\markdownOptionCodeSpans</span>{false}</span>
+<span id="cb137-10"><a href="#cb137-10" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb137-11"><a href="#cb137-11" aria-hidden="true"></a>``This is a quote.&#39;&#39;</span>
+<span id="cb137-12"><a href="#cb137-12" aria-hidden="true"></a>``This is another quote.&#39;&#39;</span>
+<span id="cb137-13"><a href="#cb137-13" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb137-14"><a href="#cb137-14" aria-hidden="true"></a></span>
+<span id="cb137-15"><a href="#cb137-15" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb138"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb138-1"><a href="#cb138-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p><code>This is a code span.''</code>This is no longer a code span.’’</p>
<p>“This is a quote.” “This is another quote.”</p>
</blockquote>
-<h4 id="option-contentblocks"><span class="header-section-number">2.2.1.10</span> Option <code>contentBlocks</code></h4>
+<h4 data-number="2.2.1.10" id="option-contentblocks"><span class="header-section-number">2.2.1.10</span> Option <code>contentBlocks</code></h4>
<dl>
<dt><code>contentBlocks</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Enable the iA Writer content blocks syntax extension:</p>
-<div class="sourceCode" id="cb139"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb139-1" data-line-number="1">http://example.com/minard.jpg (Napoleon&#39;s</a>
-<a class="sourceLine" id="cb139-2" data-line-number="2"> disastrous Russian campaign of 1812)</a>
-<a class="sourceLine" id="cb139-3" data-line-number="3">/Flowchart.png &quot;Engineering Flowchart&quot;</a>
-<a class="sourceLine" id="cb139-4" data-line-number="4">/Savings Account.csv &#39;Recent Transactions&#39;</a>
-<a class="sourceLine" id="cb139-5" data-line-number="5">/Example.swift</a>
-<a class="sourceLine" id="cb139-6" data-line-number="6">/Lorem Ipsum.txt</a></code></pre></div>
+<div class="sourceCode" id="cb139"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb139-1"><a href="#cb139-1" aria-hidden="true"></a>http://example.com/minard.jpg (Napoleon&#39;s</span>
+<span id="cb139-2"><a href="#cb139-2" aria-hidden="true"></a> disastrous Russian campaign of 1812)</span>
+<span id="cb139-3"><a href="#cb139-3" aria-hidden="true"></a>/Flowchart.png &quot;Engineering Flowchart&quot;</span>
+<span id="cb139-4"><a href="#cb139-4" aria-hidden="true"></a>/Savings Account.csv &#39;Recent Transactions&#39;</span>
+<span id="cb139-5"><a href="#cb139-5" aria-hidden="true"></a>/Example.swift</span>
+<span id="cb139-6"><a href="#cb139-6" aria-hidden="true"></a>/Lorem Ipsum.txt</span></code></pre></div>
</dd>
</dl>
</dd>
@@ -1469,33 +1483,33 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
</dl>
</dd>
</dl>
-<h5 id="latex-example-9" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-9"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>table.csv</code> with the following content:</p>
<pre class="csv"><code>Name,Surname,Born
Albert,Einstein,1879
Marie,Curie,1867
Thomas,Edison,1847</code></pre>
<p>Create also a text document named <code>markdown-languages.json</code> with the following content:</p>
-<div class="sourceCode" id="cb141"><pre class="sourceCode js"><code class="sourceCode javascript"><a class="sourceLine" id="cb141-1" data-line-number="1"><span class="op">{</span></a>
-<a class="sourceLine" id="cb141-2" data-line-number="2"> <span class="st">&quot;tex&quot;</span><span class="op">:</span> <span class="st">&quot;LaTeX&quot;</span></a>
-<a class="sourceLine" id="cb141-3" data-line-number="3"><span class="op">}</span></a></code></pre></div>
+<div class="sourceCode" id="cb141"><pre class="sourceCode js"><code class="sourceCode javascript"><span id="cb141-1"><a href="#cb141-1" aria-hidden="true"></a>{</span>
+<span id="cb141-2"><a href="#cb141-2" aria-hidden="true"></a> <span class="st">&quot;tex&quot;</span><span class="op">:</span> <span class="st">&quot;LaTeX&quot;</span></span>
+<span id="cb141-3"><a href="#cb141-3" aria-hidden="true"></a>}</span></code></pre></div>
<p>Create also a text document named <code>code.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb142"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb142-1" data-line-number="1">This is an example code listing in <span class="fu">\LaTeX</span>.</a></code></pre></div>
+<div class="sourceCode" id="cb142"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb142-1"><a href="#cb142-1" aria-hidden="true"></a>This is an example code listing in <span class="fu">\LaTeX</span>.</span></code></pre></div>
<p>Create also a text document named <code>part.md</code> with the following content:</p>
-<div class="sourceCode" id="cb143"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb143-1" data-line-number="1">This is a *transcluded markdown document*.</a></code></pre></div>
+<div class="sourceCode" id="cb143"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb143-1"><a href="#cb143-1" aria-hidden="true"></a>This is a *transcluded markdown document*.</span></code></pre></div>
<p>Create also a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb144"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb144-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb144-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">minted</span>}</a>
-<a class="sourceLine" id="cb144-3" data-line-number="3"><span class="bu">\usepackage</span>[contentBlocks]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb144-4" data-line-number="4"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb144-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb144-6" data-line-number="6">/table.csv (An example table)</a>
-<a class="sourceLine" id="cb144-7" data-line-number="7">/code.tex (An example code listing)</a>
-<a class="sourceLine" id="cb144-8" data-line-number="8">/part.md (A file transclusion example)</a>
-<a class="sourceLine" id="cb144-9" data-line-number="9"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb144-10" data-line-number="10"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb145"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb145-1" data-line-number="1"><span class="ex">lualatex</span> --shell-escape document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb144"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb144-1"><a href="#cb144-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb144-2"><a href="#cb144-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">minted</span>}</span>
+<span id="cb144-3"><a href="#cb144-3" aria-hidden="true"></a><span class="bu">\usepackage</span>[contentBlocks]{<span class="ex">markdown</span>}</span>
+<span id="cb144-4"><a href="#cb144-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb144-5"><a href="#cb144-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb144-6"><a href="#cb144-6" aria-hidden="true"></a>/table.csv (An example table)</span>
+<span id="cb144-7"><a href="#cb144-7" aria-hidden="true"></a>/code.tex (An example code listing)</span>
+<span id="cb144-8"><a href="#cb144-8" aria-hidden="true"></a>/part.md (A file transclusion example)</span>
+<span id="cb144-9"><a href="#cb144-9" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb144-10"><a href="#cb144-10" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb145"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb145-1"><a href="#cb145-1" aria-hidden="true"></a><span class="ex">lualatex</span> --shell-escape document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<table>
@@ -1525,37 +1539,37 @@ Thomas,Edison,1847</code></pre>
</tbody>
</table>
<p>Table 1: An example table</p>
-<div class="sourceCode" id="cb146"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb146-1" data-line-number="1">This is an example code listing in <span class="fu">\LaTeX</span>.</a></code></pre></div>
+<div class="sourceCode" id="cb146"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb146-1"><a href="#cb146-1" aria-hidden="true"></a>This is an example code listing in <span class="fu">\LaTeX</span>.</span></code></pre></div>
<p>This is a <em>transcluded markdown document</em>.</p>
</blockquote>
-<h5 id="context-example-7" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-7">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>table.csv</code> with the following content:</p>
<pre class="csv"><code>Name,Surname,Born
Albert,Einstein,1879
Marie,Curie,1867
Thomas,Edison,1847</code></pre>
<p>Create also a text document named <code>markdown-languages.json</code> with the following content:</p>
-<div class="sourceCode" id="cb148"><pre class="sourceCode js"><code class="sourceCode javascript"><a class="sourceLine" id="cb148-1" data-line-number="1"><span class="op">{</span></a>
-<a class="sourceLine" id="cb148-2" data-line-number="2"> <span class="st">&quot;tex&quot;</span><span class="op">:</span> <span class="st">&quot;ConTeXt&quot;</span></a>
-<a class="sourceLine" id="cb148-3" data-line-number="3"><span class="op">}</span></a></code></pre></div>
+<div class="sourceCode" id="cb148"><pre class="sourceCode js"><code class="sourceCode javascript"><span id="cb148-1"><a href="#cb148-1" aria-hidden="true"></a>{</span>
+<span id="cb148-2"><a href="#cb148-2" aria-hidden="true"></a> <span class="st">&quot;tex&quot;</span><span class="op">:</span> <span class="st">&quot;ConTeXt&quot;</span></span>
+<span id="cb148-3"><a href="#cb148-3" aria-hidden="true"></a>}</span></code></pre></div>
<p>Create also a text document named <code>code.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb149"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb149-1" data-line-number="1">This is an example code listing in <span class="fu">\ConTeXt</span>.</a></code></pre></div>
+<div class="sourceCode" id="cb149"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb149-1"><a href="#cb149-1" aria-hidden="true"></a>This is an example code listing in <span class="fu">\ConTeXt</span>.</span></code></pre></div>
<p>Create also a text document named <code>part.md</code> with the following content:</p>
-<div class="sourceCode" id="cb150"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb150-1" data-line-number="1">This is a *transcluded markdown document*.</a></code></pre></div>
+<div class="sourceCode" id="cb150"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb150-1"><a href="#cb150-1" aria-hidden="true"></a>This is a *transcluded markdown document*.</span></code></pre></div>
<p>Create also a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb151"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb151-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb151-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionContentBlocks{true}</a>
-<a class="sourceLine" id="cb151-3" data-line-number="3"><span class="fu">\definetyping</span> [ConTeXt]</a>
-<a class="sourceLine" id="cb151-4" data-line-number="4"><span class="fu">\setuptyping</span> [ConTeXt] [option=TEX]</a>
-<a class="sourceLine" id="cb151-5" data-line-number="5"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb151-6" data-line-number="6"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb151-7" data-line-number="7">/table.csv (An example table)</a>
-<a class="sourceLine" id="cb151-8" data-line-number="8">/code.tex (An example code listing)</a>
-<a class="sourceLine" id="cb151-9" data-line-number="9">/part.md (A file transclusion example)</a>
-<a class="sourceLine" id="cb151-10" data-line-number="10"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb151-11" data-line-number="11"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb152"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb152-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb151"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb151-1"><a href="#cb151-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb151-2"><a href="#cb151-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionContentBlocks</span>{true}</span>
+<span id="cb151-3"><a href="#cb151-3" aria-hidden="true"></a><span class="fu">\definetyping</span> [ConTeXt]</span>
+<span id="cb151-4"><a href="#cb151-4" aria-hidden="true"></a><span class="fu">\setuptyping</span> [ConTeXt] [option=TEX]</span>
+<span id="cb151-5"><a href="#cb151-5" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb151-6"><a href="#cb151-6" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb151-7"><a href="#cb151-7" aria-hidden="true"></a>/table.csv (An example table)</span>
+<span id="cb151-8"><a href="#cb151-8" aria-hidden="true"></a>/code.tex (An example code listing)</span>
+<span id="cb151-9"><a href="#cb151-9" aria-hidden="true"></a>/part.md (A file transclusion example)</span>
+<span id="cb151-10"><a href="#cb151-10" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb151-11"><a href="#cb151-11" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb152"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb152-1"><a href="#cb152-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<table>
@@ -1585,45 +1599,45 @@ Thomas,Edison,1847</code></pre>
</tbody>
</table>
<p>Table 1: An example table</p>
-<div class="sourceCode" id="cb153"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb153-1" data-line-number="1">This is an example code listing in <span class="fu">\ConTeXt</span>.</a></code></pre></div>
+<div class="sourceCode" id="cb153"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb153-1"><a href="#cb153-1" aria-hidden="true"></a>This is an example code listing in <span class="fu">\ConTeXt</span>.</span></code></pre></div>
<p>This is a <em>transcluded markdown document</em>.</p>
</blockquote>
-<h4 id="option-contentblockslanguagemap"><span class="header-section-number">2.2.1.11</span> Option <code>contentBlocksLanguageMap</code></h4>
+<h4 data-number="2.2.1.11" id="option-contentblockslanguagemap"><span class="header-section-number">2.2.1.11</span> Option <code>contentBlocksLanguageMap</code></h4>
<dl>
-<dt><code>contentBlocksLanguageMap</code> (default value: <code>&quot;markdown-languages.json&quot;</code>)</dt>
+<dt><code>contentBlocksLanguageMap</code> (default value: <code>"markdown-languages.json"</code>)</dt>
<dd><p>The filename of the JSON file that maps filename extensions to programming language names in the iA Writer content blocks.</p>
</dd>
</dl>
-<h5 id="latex-example-10" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-10"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>table.csv</code> with the following content:</p>
<pre class="csv"><code>Name,Surname,Born
Albert,Einstein,1879
Marie,Curie,1867
Thomas,Edison,1847</code></pre>
<p>Create also a text document named <code>language-map.json</code> with the following content:</p>
-<div class="sourceCode" id="cb155"><pre class="sourceCode js"><code class="sourceCode javascript"><a class="sourceLine" id="cb155-1" data-line-number="1"><span class="op">{</span></a>
-<a class="sourceLine" id="cb155-2" data-line-number="2"> <span class="st">&quot;tex&quot;</span><span class="op">:</span> <span class="st">&quot;LaTeX&quot;</span></a>
-<a class="sourceLine" id="cb155-3" data-line-number="3"><span class="op">}</span></a></code></pre></div>
+<div class="sourceCode" id="cb155"><pre class="sourceCode js"><code class="sourceCode javascript"><span id="cb155-1"><a href="#cb155-1" aria-hidden="true"></a>{</span>
+<span id="cb155-2"><a href="#cb155-2" aria-hidden="true"></a> <span class="st">&quot;tex&quot;</span><span class="op">:</span> <span class="st">&quot;LaTeX&quot;</span></span>
+<span id="cb155-3"><a href="#cb155-3" aria-hidden="true"></a>}</span></code></pre></div>
<p>Create also a text document named <code>code.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb156"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb156-1" data-line-number="1">This is an example code listing in <span class="fu">\LaTeX</span>.</a></code></pre></div>
+<div class="sourceCode" id="cb156"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb156-1"><a href="#cb156-1" aria-hidden="true"></a>This is an example code listing in <span class="fu">\LaTeX</span>.</span></code></pre></div>
<p>Create also a text document named <code>part.md</code> with the following content:</p>
-<div class="sourceCode" id="cb157"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb157-1" data-line-number="1">This is a *transcluded markdown document*.</a></code></pre></div>
+<div class="sourceCode" id="cb157"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb157-1"><a href="#cb157-1" aria-hidden="true"></a>This is a *transcluded markdown document*.</span></code></pre></div>
<p>Create also a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb158"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb158-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb158-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">minted</span>}</a>
-<a class="sourceLine" id="cb158-3" data-line-number="3"><span class="bu">\usepackage</span>[contentBlocks]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb158-4" data-line-number="4"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb158-5" data-line-number="5"> contentBlocksLanguageMap = {language-map.json},</a>
-<a class="sourceLine" id="cb158-6" data-line-number="6">}</a>
-<a class="sourceLine" id="cb158-7" data-line-number="7"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb158-8" data-line-number="8"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb158-9" data-line-number="9">/table.csv (An example table)</a>
-<a class="sourceLine" id="cb158-10" data-line-number="10">/code.tex (An example code listing)</a>
-<a class="sourceLine" id="cb158-11" data-line-number="11">/part.md (A file transclusion example)</a>
-<a class="sourceLine" id="cb158-12" data-line-number="12"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb158-13" data-line-number="13"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb159"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb159-1" data-line-number="1"><span class="ex">lualatex</span> --shell-escape document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb158"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb158-1"><a href="#cb158-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb158-2"><a href="#cb158-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">minted</span>}</span>
+<span id="cb158-3"><a href="#cb158-3" aria-hidden="true"></a><span class="bu">\usepackage</span>[contentBlocks]{<span class="ex">markdown</span>}</span>
+<span id="cb158-4"><a href="#cb158-4" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb158-5"><a href="#cb158-5" aria-hidden="true"></a> contentBlocksLanguageMap = {language-map.json},</span>
+<span id="cb158-6"><a href="#cb158-6" aria-hidden="true"></a>}</span>
+<span id="cb158-7"><a href="#cb158-7" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb158-8"><a href="#cb158-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb158-9"><a href="#cb158-9" aria-hidden="true"></a>/table.csv (An example table)</span>
+<span id="cb158-10"><a href="#cb158-10" aria-hidden="true"></a>/code.tex (An example code listing)</span>
+<span id="cb158-11"><a href="#cb158-11" aria-hidden="true"></a>/part.md (A file transclusion example)</span>
+<span id="cb158-12"><a href="#cb158-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb158-13"><a href="#cb158-13" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb159"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb159-1"><a href="#cb159-1" aria-hidden="true"></a><span class="ex">lualatex</span> --shell-escape document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<table>
@@ -1653,38 +1667,38 @@ Thomas,Edison,1847</code></pre>
</tbody>
</table>
<p>Table 1: An example table</p>
-<div class="sourceCode" id="cb160"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb160-1" data-line-number="1">This is an example code listing in <span class="fu">\LaTeX</span>.</a></code></pre></div>
+<div class="sourceCode" id="cb160"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb160-1"><a href="#cb160-1" aria-hidden="true"></a>This is an example code listing in <span class="fu">\LaTeX</span>.</span></code></pre></div>
<p>This is a <em>transcluded markdown document</em>.</p>
</blockquote>
-<h5 id="context-example-8" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-8">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>table.csv</code> with the following content:</p>
<pre class="csv"><code>Name,Surname,Born
Albert,Einstein,1879
Marie,Curie,1867
Thomas,Edison,1847</code></pre>
<p>Create also a text document named <code>language-map.json</code> with the following content:</p>
-<div class="sourceCode" id="cb162"><pre class="sourceCode js"><code class="sourceCode javascript"><a class="sourceLine" id="cb162-1" data-line-number="1"><span class="op">{</span></a>
-<a class="sourceLine" id="cb162-2" data-line-number="2"> <span class="st">&quot;tex&quot;</span><span class="op">:</span> <span class="st">&quot;ConTeXt&quot;</span></a>
-<a class="sourceLine" id="cb162-3" data-line-number="3"><span class="op">}</span></a></code></pre></div>
+<div class="sourceCode" id="cb162"><pre class="sourceCode js"><code class="sourceCode javascript"><span id="cb162-1"><a href="#cb162-1" aria-hidden="true"></a>{</span>
+<span id="cb162-2"><a href="#cb162-2" aria-hidden="true"></a> <span class="st">&quot;tex&quot;</span><span class="op">:</span> <span class="st">&quot;ConTeXt&quot;</span></span>
+<span id="cb162-3"><a href="#cb162-3" aria-hidden="true"></a>}</span></code></pre></div>
<p>Create also a text document named <code>code.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb163"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb163-1" data-line-number="1">This is an example code listing in <span class="fu">\ConTeXt</span>.</a></code></pre></div>
+<div class="sourceCode" id="cb163"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb163-1"><a href="#cb163-1" aria-hidden="true"></a>This is an example code listing in <span class="fu">\ConTeXt</span>.</span></code></pre></div>
<p>Create also a text document named <code>part.md</code> with the following content:</p>
-<div class="sourceCode" id="cb164"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb164-1" data-line-number="1">This is a *transcluded markdown document*.</a></code></pre></div>
+<div class="sourceCode" id="cb164"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb164-1"><a href="#cb164-1" aria-hidden="true"></a>This is a *transcluded markdown document*.</span></code></pre></div>
<p>Create also a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb165"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb165-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb165-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionContentBlocks{true}</a>
-<a class="sourceLine" id="cb165-3" data-line-number="3"><span class="fu">\def</span>\markdownOptionContentBlocksLanguageMap{language-map.json}</a>
-<a class="sourceLine" id="cb165-4" data-line-number="4"><span class="fu">\definetyping</span> [ConTeXt]</a>
-<a class="sourceLine" id="cb165-5" data-line-number="5"><span class="fu">\setuptyping</span> [ConTeXt] [option=TEX]</a>
-<a class="sourceLine" id="cb165-6" data-line-number="6"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb165-7" data-line-number="7"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb165-8" data-line-number="8">/table.csv (An example table)</a>
-<a class="sourceLine" id="cb165-9" data-line-number="9">/code.tex (An example code listing)</a>
-<a class="sourceLine" id="cb165-10" data-line-number="10">/part.md (A file transclusion example)</a>
-<a class="sourceLine" id="cb165-11" data-line-number="11"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb165-12" data-line-number="12"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb166"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb166-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb165"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb165-1"><a href="#cb165-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb165-2"><a href="#cb165-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionContentBlocks</span>{true}</span>
+<span id="cb165-3"><a href="#cb165-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionContentBlocksLanguageMap</span>{language-map.json}</span>
+<span id="cb165-4"><a href="#cb165-4" aria-hidden="true"></a><span class="fu">\definetyping</span> [ConTeXt]</span>
+<span id="cb165-5"><a href="#cb165-5" aria-hidden="true"></a><span class="fu">\setuptyping</span> [ConTeXt] [option=TEX]</span>
+<span id="cb165-6"><a href="#cb165-6" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb165-7"><a href="#cb165-7" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb165-8"><a href="#cb165-8" aria-hidden="true"></a>/table.csv (An example table)</span>
+<span id="cb165-9"><a href="#cb165-9" aria-hidden="true"></a>/code.tex (An example code listing)</span>
+<span id="cb165-10"><a href="#cb165-10" aria-hidden="true"></a>/part.md (A file transclusion example)</span>
+<span id="cb165-11"><a href="#cb165-11" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb165-12"><a href="#cb165-12" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb166"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb166-1"><a href="#cb166-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<table>
@@ -1714,26 +1728,26 @@ Thomas,Edison,1847</code></pre>
</tbody>
</table>
<p>Table 1: An example table</p>
-<div class="sourceCode" id="cb167"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb167-1" data-line-number="1">This is an example code listing in <span class="fu">\ConTeXt</span>.</a></code></pre></div>
+<div class="sourceCode" id="cb167"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb167-1"><a href="#cb167-1" aria-hidden="true"></a>This is an example code listing in <span class="fu">\ConTeXt</span>.</span></code></pre></div>
<p>This is a <em>transcluded markdown document</em>.</p>
</blockquote>
-<h4 id="option-definitionlists"><span class="header-section-number">2.2.1.12</span> Option <code>definitionLists</code></h4>
+<h4 data-number="2.2.1.12" id="option-definitionlists"><span class="header-section-number">2.2.1.12</span> Option <code>definitionLists</code></h4>
<dl>
<dt><code>definitionLists</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Enable the pandoc definition list syntax extension:</p>
-<div class="sourceCode" id="cb168"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb168-1" data-line-number="1">Term 1</a>
-<a class="sourceLine" id="cb168-2" data-line-number="2"></a>
-<a class="sourceLine" id="cb168-3" data-line-number="3">: Definition 1</a>
-<a class="sourceLine" id="cb168-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb168-5" data-line-number="5">Term 2 with *inline markup*</a>
-<a class="sourceLine" id="cb168-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb168-7" data-line-number="7">: Definition 2</a>
-<a class="sourceLine" id="cb168-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb168-9" data-line-number="9"><span class="bn"> { some code, part of Definition 2 }</span></a>
-<a class="sourceLine" id="cb168-10" data-line-number="10"></a>
-<a class="sourceLine" id="cb168-11" data-line-number="11"><span class="bn"> Third paragraph of definition 2.</span></a></code></pre></div>
+<div class="sourceCode" id="cb168"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb168-1"><a href="#cb168-1" aria-hidden="true"></a>Term 1</span>
+<span id="cb168-2"><a href="#cb168-2" aria-hidden="true"></a></span>
+<span id="cb168-3"><a href="#cb168-3" aria-hidden="true"></a>: Definition 1</span>
+<span id="cb168-4"><a href="#cb168-4" aria-hidden="true"></a></span>
+<span id="cb168-5"><a href="#cb168-5" aria-hidden="true"></a>Term 2 with *inline markup*</span>
+<span id="cb168-6"><a href="#cb168-6" aria-hidden="true"></a></span>
+<span id="cb168-7"><a href="#cb168-7" aria-hidden="true"></a>: Definition 2</span>
+<span id="cb168-8"><a href="#cb168-8" aria-hidden="true"></a></span>
+<span id="cb168-9"><a href="#cb168-9" aria-hidden="true"></a><span class="in"> { some code, part of Definition 2 }</span></span>
+<span id="cb168-10"><a href="#cb168-10" aria-hidden="true"></a></span>
+<span id="cb168-11"><a href="#cb168-11" aria-hidden="true"></a><span class="in"> Third paragraph of definition 2.</span></span></code></pre></div>
</dd>
</dl>
</dd>
@@ -1744,27 +1758,27 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 id="latex-example-11" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb169"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb169-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb169-2" data-line-number="2"><span class="bu">\usepackage</span>[definitionLists]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb169-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb169-4" data-line-number="4"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb169-5" data-line-number="5">Term 1</a>
-<a class="sourceLine" id="cb169-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb169-7" data-line-number="7">: Definition 1</a>
-<a class="sourceLine" id="cb169-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb169-9" data-line-number="9">Term 2 with *inline markup*</a>
-<a class="sourceLine" id="cb169-10" data-line-number="10"></a>
-<a class="sourceLine" id="cb169-11" data-line-number="11">: Definition 2</a>
-<a class="sourceLine" id="cb169-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb169-13" data-line-number="13"> { some code, part of Definition 2 }</a>
-<a class="sourceLine" id="cb169-14" data-line-number="14"></a>
-<a class="sourceLine" id="cb169-15" data-line-number="15"> Third paragraph of definition 2.</a>
-<a class="sourceLine" id="cb169-16" data-line-number="16"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb169-17" data-line-number="17"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb170"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb170-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-11"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb169"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb169-1"><a href="#cb169-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb169-2"><a href="#cb169-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[definitionLists]{<span class="ex">markdown</span>}</span>
+<span id="cb169-3"><a href="#cb169-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb169-4"><a href="#cb169-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb169-5"><a href="#cb169-5" aria-hidden="true"></a>Term 1</span>
+<span id="cb169-6"><a href="#cb169-6" aria-hidden="true"></a></span>
+<span id="cb169-7"><a href="#cb169-7" aria-hidden="true"></a>: Definition 1</span>
+<span id="cb169-8"><a href="#cb169-8" aria-hidden="true"></a></span>
+<span id="cb169-9"><a href="#cb169-9" aria-hidden="true"></a>Term 2 with *inline markup*</span>
+<span id="cb169-10"><a href="#cb169-10" aria-hidden="true"></a></span>
+<span id="cb169-11"><a href="#cb169-11" aria-hidden="true"></a>: Definition 2</span>
+<span id="cb169-12"><a href="#cb169-12" aria-hidden="true"></a></span>
+<span id="cb169-13"><a href="#cb169-13" aria-hidden="true"></a> { some code, part of Definition 2 }</span>
+<span id="cb169-14"><a href="#cb169-14" aria-hidden="true"></a></span>
+<span id="cb169-15"><a href="#cb169-15" aria-hidden="true"></a> Third paragraph of definition 2.</span>
+<span id="cb169-16"><a href="#cb169-16" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb169-17"><a href="#cb169-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb170"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb170-1"><a href="#cb170-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<dl>
@@ -1778,27 +1792,27 @@ Thomas,Edison,1847</code></pre>
</dd>
</dl>
</blockquote>
-<h5 id="context-example-9" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb172"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb172-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb172-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionDefinitionLists{true}</a>
-<a class="sourceLine" id="cb172-3" data-line-number="3"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb172-4" data-line-number="4"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb172-5" data-line-number="5">Term 1</a>
-<a class="sourceLine" id="cb172-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb172-7" data-line-number="7">: Definition 1</a>
-<a class="sourceLine" id="cb172-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb172-9" data-line-number="9">Term 2 with *inline markup*</a>
-<a class="sourceLine" id="cb172-10" data-line-number="10"></a>
-<a class="sourceLine" id="cb172-11" data-line-number="11">: Definition 2</a>
-<a class="sourceLine" id="cb172-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb172-13" data-line-number="13"> { some code, part of Definition 2 }</a>
-<a class="sourceLine" id="cb172-14" data-line-number="14"></a>
-<a class="sourceLine" id="cb172-15" data-line-number="15"> Third paragraph of definition 2.</a>
-<a class="sourceLine" id="cb172-16" data-line-number="16"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb172-17" data-line-number="17"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb173"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb173-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-9">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb172"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb172-1"><a href="#cb172-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb172-2"><a href="#cb172-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionDefinitionLists</span>{true}</span>
+<span id="cb172-3"><a href="#cb172-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb172-4"><a href="#cb172-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb172-5"><a href="#cb172-5" aria-hidden="true"></a>Term 1</span>
+<span id="cb172-6"><a href="#cb172-6" aria-hidden="true"></a></span>
+<span id="cb172-7"><a href="#cb172-7" aria-hidden="true"></a>: Definition 1</span>
+<span id="cb172-8"><a href="#cb172-8" aria-hidden="true"></a></span>
+<span id="cb172-9"><a href="#cb172-9" aria-hidden="true"></a>Term 2 with *inline markup*</span>
+<span id="cb172-10"><a href="#cb172-10" aria-hidden="true"></a></span>
+<span id="cb172-11"><a href="#cb172-11" aria-hidden="true"></a>: Definition 2</span>
+<span id="cb172-12"><a href="#cb172-12" aria-hidden="true"></a></span>
+<span id="cb172-13"><a href="#cb172-13" aria-hidden="true"></a> { some code, part of Definition 2 }</span>
+<span id="cb172-14"><a href="#cb172-14" aria-hidden="true"></a></span>
+<span id="cb172-15"><a href="#cb172-15" aria-hidden="true"></a> Third paragraph of definition 2.</span>
+<span id="cb172-16"><a href="#cb172-16" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb172-17"><a href="#cb172-17" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb173"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb173-1"><a href="#cb173-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<dl>
@@ -1812,28 +1826,28 @@ Thomas,Edison,1847</code></pre>
</dd>
</dl>
</blockquote>
-<h4 id="option-fencedcode"><span class="header-section-number">2.2.1.13</span> Option <code>fencedCode</code></h4>
+<h4 data-number="2.2.1.13" id="option-fencedcode"><span class="header-section-number">2.2.1.13</span> Option <code>fencedCode</code></h4>
<dl>
<dt><code>fencedCode</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Enable the commonmark fenced code block extension:</p>
-<div class="sourceCode" id="cb175"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb175-1" data-line-number="1">~~~ js</a>
-<a class="sourceLine" id="cb175-2" data-line-number="2">if (a &gt; 3) {</a>
-<a class="sourceLine" id="cb175-3" data-line-number="3"><span class="bn"> moveShip(5 * gravity, DOWN);</span></a>
-<a class="sourceLine" id="cb175-4" data-line-number="4">}</a>
-<a class="sourceLine" id="cb175-5" data-line-number="5">~~~~~~</a>
-<a class="sourceLine" id="cb175-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb175-7" data-line-number="7"> ``` html</a>
-<a class="sourceLine" id="cb175-8" data-line-number="8"> &lt;pre&gt;</a>
-<a class="sourceLine" id="cb175-9" data-line-number="9"><span class="bn"> &lt;code&gt;</span></a>
-<a class="sourceLine" id="cb175-10" data-line-number="10"><span class="bn"> // Some comments</span></a>
-<a class="sourceLine" id="cb175-11" data-line-number="11"><span class="bn"> line 1 of code</span></a>
-<a class="sourceLine" id="cb175-12" data-line-number="12"><span class="bn"> line 2 of code</span></a>
-<a class="sourceLine" id="cb175-13" data-line-number="13"><span class="bn"> line 3 of code</span></a>
-<a class="sourceLine" id="cb175-14" data-line-number="14"><span class="bn"> &lt;/code&gt;</span></a>
-<a class="sourceLine" id="cb175-15" data-line-number="15"> &lt;/pre&gt;</a>
-<a class="sourceLine" id="cb175-16" data-line-number="16"> ```</a></code></pre></div>
+<div class="sourceCode" id="cb175"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb175-1"><a href="#cb175-1" aria-hidden="true"></a><span class="in">~~~ js</span></span>
+<span id="cb175-2"><a href="#cb175-2" aria-hidden="true"></a><span class="cf">if</span> (a <span class="op">&gt;</span> <span class="dv">3</span>) {</span>
+<span id="cb175-3"><a href="#cb175-3" aria-hidden="true"></a> <span class="fu">moveShip</span>(<span class="dv">5</span> <span class="op">*</span> gravity<span class="op">,</span> DOWN)<span class="op">;</span></span>
+<span id="cb175-4"><a href="#cb175-4" aria-hidden="true"></a>}</span>
+<span id="cb175-5"><a href="#cb175-5" aria-hidden="true"></a><span class="op">~~~~~~</span></span>
+<span id="cb175-6"><a href="#cb175-6" aria-hidden="true"></a></span>
+<span id="cb175-7"><a href="#cb175-7" aria-hidden="true"></a> <span class="vs">``` html</span></span>
+<span id="cb175-8"><a href="#cb175-8" aria-hidden="true"></a><span class="vs"> &lt;pre&gt;</span></span>
+<span id="cb175-9"><a href="#cb175-9" aria-hidden="true"></a><span class="vs"> &lt;code&gt;</span></span>
+<span id="cb175-10"><a href="#cb175-10" aria-hidden="true"></a><span class="vs"> // Some comments</span></span>
+<span id="cb175-11"><a href="#cb175-11" aria-hidden="true"></a><span class="vs"> line 1 of code</span></span>
+<span id="cb175-12"><a href="#cb175-12" aria-hidden="true"></a><span class="vs"> line 2 of code</span></span>
+<span id="cb175-13"><a href="#cb175-13" aria-hidden="true"></a><span class="vs"> line 3 of code</span></span>
+<span id="cb175-14"><a href="#cb175-14" aria-hidden="true"></a><span class="vs"> &lt;/code&gt;</span></span>
+<span id="cb175-15"><a href="#cb175-15" aria-hidden="true"></a><span class="vs"> &lt;/pre&gt;</span></span>
+<span id="cb175-16"><a href="#cb175-16" aria-hidden="true"></a><span class="vs"> ```</span></span></code></pre></div>
</dd>
</dl>
</dd>
@@ -1844,187 +1858,187 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 id="latex-example-12" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb176"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb176-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb176-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">minted</span>}</a>
-<a class="sourceLine" id="cb176-3" data-line-number="3"><span class="bu">\usepackage</span>[fencedCode]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb176-4" data-line-number="4"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb176-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb176-6" data-line-number="6">~~~ js</a>
-<a class="sourceLine" id="cb176-7" data-line-number="7">if (a &gt; 3) {</a>
-<a class="sourceLine" id="cb176-8" data-line-number="8"> moveShip(5 * gravity, DOWN);</a>
-<a class="sourceLine" id="cb176-9" data-line-number="9">}</a>
-<a class="sourceLine" id="cb176-10" data-line-number="10">~~~~~~</a>
-<a class="sourceLine" id="cb176-11" data-line-number="11"></a>
-<a class="sourceLine" id="cb176-12" data-line-number="12"> ``` html</a>
-<a class="sourceLine" id="cb176-13" data-line-number="13"> &lt;pre&gt;</a>
-<a class="sourceLine" id="cb176-14" data-line-number="14"> &lt;code&gt;</a>
-<a class="sourceLine" id="cb176-15" data-line-number="15"> // Some comments</a>
-<a class="sourceLine" id="cb176-16" data-line-number="16"> line 1 of code</a>
-<a class="sourceLine" id="cb176-17" data-line-number="17"> line 2 of code</a>
-<a class="sourceLine" id="cb176-18" data-line-number="18"> line 3 of code</a>
-<a class="sourceLine" id="cb176-19" data-line-number="19"> &lt;/code&gt;</a>
-<a class="sourceLine" id="cb176-20" data-line-number="20"> &lt;/pre&gt;</a>
-<a class="sourceLine" id="cb176-21" data-line-number="21"> ```</a>
-<a class="sourceLine" id="cb176-22" data-line-number="22"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb176-23" data-line-number="23"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb177"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb177-1" data-line-number="1"><span class="ex">lualatex</span> --shell-escape document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-12"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb176"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb176-1"><a href="#cb176-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb176-2"><a href="#cb176-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">minted</span>}</span>
+<span id="cb176-3"><a href="#cb176-3" aria-hidden="true"></a><span class="bu">\usepackage</span>[fencedCode]{<span class="ex">markdown</span>}</span>
+<span id="cb176-4"><a href="#cb176-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb176-5"><a href="#cb176-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb176-6"><a href="#cb176-6" aria-hidden="true"></a>~~~ js</span>
+<span id="cb176-7"><a href="#cb176-7" aria-hidden="true"></a>if (a &gt; 3) {</span>
+<span id="cb176-8"><a href="#cb176-8" aria-hidden="true"></a> moveShip(5 * gravity, DOWN);</span>
+<span id="cb176-9"><a href="#cb176-9" aria-hidden="true"></a>}</span>
+<span id="cb176-10"><a href="#cb176-10" aria-hidden="true"></a>~~~~~~</span>
+<span id="cb176-11"><a href="#cb176-11" aria-hidden="true"></a></span>
+<span id="cb176-12"><a href="#cb176-12" aria-hidden="true"></a> ``` html</span>
+<span id="cb176-13"><a href="#cb176-13" aria-hidden="true"></a> &lt;pre&gt;</span>
+<span id="cb176-14"><a href="#cb176-14" aria-hidden="true"></a> &lt;code&gt;</span>
+<span id="cb176-15"><a href="#cb176-15" aria-hidden="true"></a> // Some comments</span>
+<span id="cb176-16"><a href="#cb176-16" aria-hidden="true"></a> line 1 of code</span>
+<span id="cb176-17"><a href="#cb176-17" aria-hidden="true"></a> line 2 of code</span>
+<span id="cb176-18"><a href="#cb176-18" aria-hidden="true"></a> line 3 of code</span>
+<span id="cb176-19"><a href="#cb176-19" aria-hidden="true"></a> &lt;/code&gt;</span>
+<span id="cb176-20"><a href="#cb176-20" aria-hidden="true"></a> &lt;/pre&gt;</span>
+<span id="cb176-21"><a href="#cb176-21" aria-hidden="true"></a> ```</span>
+<span id="cb176-22"><a href="#cb176-22" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb176-23"><a href="#cb176-23" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb177"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb177-1"><a href="#cb177-1" aria-hidden="true"></a><span class="ex">lualatex</span> --shell-escape document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
-<div class="sourceCode" id="cb178"><pre class="sourceCode js"><code class="sourceCode javascript"><a class="sourceLine" id="cb178-1" data-line-number="1"><span class="cf">if</span> (a <span class="op">&gt;</span> <span class="dv">3</span>) <span class="op">{</span></a>
-<a class="sourceLine" id="cb178-2" data-line-number="2"> <span class="at">moveShip</span>(<span class="dv">5</span> <span class="op">*</span> gravity<span class="op">,</span> DOWN)<span class="op">;</span></a>
-<a class="sourceLine" id="cb178-3" data-line-number="3"><span class="op">}</span></a></code></pre></div>
-<div class="sourceCode" id="cb179"><pre class="sourceCode html"><code class="sourceCode html"><a class="sourceLine" id="cb179-1" data-line-number="1"><span class="kw">&lt;pre&gt;</span></a>
-<a class="sourceLine" id="cb179-2" data-line-number="2"> <span class="kw">&lt;code&gt;</span></a>
-<a class="sourceLine" id="cb179-3" data-line-number="3"> // Some comments</a>
-<a class="sourceLine" id="cb179-4" data-line-number="4"> line 1 of code</a>
-<a class="sourceLine" id="cb179-5" data-line-number="5"> line 2 of code</a>
-<a class="sourceLine" id="cb179-6" data-line-number="6"> line 3 of code</a>
-<a class="sourceLine" id="cb179-7" data-line-number="7"> <span class="kw">&lt;/code&gt;</span></a>
-<a class="sourceLine" id="cb179-8" data-line-number="8"><span class="kw">&lt;/pre&gt;</span></a></code></pre></div>
-</blockquote>
-<h5 id="context-example-10" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb180"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb180-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb180-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionFencedCode{true}</a>
-<a class="sourceLine" id="cb180-3" data-line-number="3"><span class="fu">\definetyping</span> [js]</a>
-<a class="sourceLine" id="cb180-4" data-line-number="4"><span class="fu">\definetyping</span> [html]</a>
-<a class="sourceLine" id="cb180-5" data-line-number="5"><span class="fu">\setuptyping</span> [html] [option=XML]</a>
-<a class="sourceLine" id="cb180-6" data-line-number="6"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb180-7" data-line-number="7"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb180-8" data-line-number="8">~~~ js</a>
-<a class="sourceLine" id="cb180-9" data-line-number="9">if (a &gt; 3) {</a>
-<a class="sourceLine" id="cb180-10" data-line-number="10"> moveShip(5 * gravity, DOWN);</a>
-<a class="sourceLine" id="cb180-11" data-line-number="11">}</a>
-<a class="sourceLine" id="cb180-12" data-line-number="12">~~~~~~</a>
-<a class="sourceLine" id="cb180-13" data-line-number="13"></a>
-<a class="sourceLine" id="cb180-14" data-line-number="14"> ``` html</a>
-<a class="sourceLine" id="cb180-15" data-line-number="15"> &lt;pre&gt;</a>
-<a class="sourceLine" id="cb180-16" data-line-number="16"> &lt;code&gt;</a>
-<a class="sourceLine" id="cb180-17" data-line-number="17"> // Some comments</a>
-<a class="sourceLine" id="cb180-18" data-line-number="18"> line 1 of code</a>
-<a class="sourceLine" id="cb180-19" data-line-number="19"> line 2 of code</a>
-<a class="sourceLine" id="cb180-20" data-line-number="20"> line 3 of code</a>
-<a class="sourceLine" id="cb180-21" data-line-number="21"> &lt;/code&gt;</a>
-<a class="sourceLine" id="cb180-22" data-line-number="22"> &lt;/pre&gt;</a>
-<a class="sourceLine" id="cb180-23" data-line-number="23"> ```</a>
-<a class="sourceLine" id="cb180-24" data-line-number="24"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb180-25" data-line-number="25"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb181"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb181-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb178"><pre class="sourceCode js"><code class="sourceCode javascript"><span id="cb178-1"><a href="#cb178-1" aria-hidden="true"></a><span class="cf">if</span> (a <span class="op">&gt;</span> <span class="dv">3</span>) {</span>
+<span id="cb178-2"><a href="#cb178-2" aria-hidden="true"></a> <span class="fu">moveShip</span>(<span class="dv">5</span> <span class="op">*</span> gravity<span class="op">,</span> DOWN)<span class="op">;</span></span>
+<span id="cb178-3"><a href="#cb178-3" aria-hidden="true"></a>}</span></code></pre></div>
+<div class="sourceCode" id="cb179"><pre class="sourceCode html"><code class="sourceCode html"><span id="cb179-1"><a href="#cb179-1" aria-hidden="true"></a><span class="kw">&lt;pre&gt;</span></span>
+<span id="cb179-2"><a href="#cb179-2" aria-hidden="true"></a> <span class="kw">&lt;code&gt;</span></span>
+<span id="cb179-3"><a href="#cb179-3" aria-hidden="true"></a> // Some comments</span>
+<span id="cb179-4"><a href="#cb179-4" aria-hidden="true"></a> line 1 of code</span>
+<span id="cb179-5"><a href="#cb179-5" aria-hidden="true"></a> line 2 of code</span>
+<span id="cb179-6"><a href="#cb179-6" aria-hidden="true"></a> line 3 of code</span>
+<span id="cb179-7"><a href="#cb179-7" aria-hidden="true"></a> <span class="kw">&lt;/code&gt;</span></span>
+<span id="cb179-8"><a href="#cb179-8" aria-hidden="true"></a><span class="kw">&lt;/pre&gt;</span></span></code></pre></div>
+</blockquote>
+<h5 class="unnumbered" data-number="" id="context-example-10">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb180"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb180-1"><a href="#cb180-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb180-2"><a href="#cb180-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFencedCode</span>{true}</span>
+<span id="cb180-3"><a href="#cb180-3" aria-hidden="true"></a><span class="fu">\definetyping</span> [js]</span>
+<span id="cb180-4"><a href="#cb180-4" aria-hidden="true"></a><span class="fu">\definetyping</span> [html]</span>
+<span id="cb180-5"><a href="#cb180-5" aria-hidden="true"></a><span class="fu">\setuptyping</span> [html] [option=XML]</span>
+<span id="cb180-6"><a href="#cb180-6" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb180-7"><a href="#cb180-7" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb180-8"><a href="#cb180-8" aria-hidden="true"></a>~~~ js</span>
+<span id="cb180-9"><a href="#cb180-9" aria-hidden="true"></a>if (a &gt; 3) {</span>
+<span id="cb180-10"><a href="#cb180-10" aria-hidden="true"></a> moveShip(5 * gravity, DOWN);</span>
+<span id="cb180-11"><a href="#cb180-11" aria-hidden="true"></a>}</span>
+<span id="cb180-12"><a href="#cb180-12" aria-hidden="true"></a>~~~~~~</span>
+<span id="cb180-13"><a href="#cb180-13" aria-hidden="true"></a></span>
+<span id="cb180-14"><a href="#cb180-14" aria-hidden="true"></a> ``` html</span>
+<span id="cb180-15"><a href="#cb180-15" aria-hidden="true"></a> &lt;pre&gt;</span>
+<span id="cb180-16"><a href="#cb180-16" aria-hidden="true"></a> &lt;code&gt;</span>
+<span id="cb180-17"><a href="#cb180-17" aria-hidden="true"></a> // Some comments</span>
+<span id="cb180-18"><a href="#cb180-18" aria-hidden="true"></a> line 1 of code</span>
+<span id="cb180-19"><a href="#cb180-19" aria-hidden="true"></a> line 2 of code</span>
+<span id="cb180-20"><a href="#cb180-20" aria-hidden="true"></a> line 3 of code</span>
+<span id="cb180-21"><a href="#cb180-21" aria-hidden="true"></a> &lt;/code&gt;</span>
+<span id="cb180-22"><a href="#cb180-22" aria-hidden="true"></a> &lt;/pre&gt;</span>
+<span id="cb180-23"><a href="#cb180-23" aria-hidden="true"></a> ```</span>
+<span id="cb180-24"><a href="#cb180-24" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb180-25"><a href="#cb180-25" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb181"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb181-1"><a href="#cb181-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
-<div class="sourceCode" id="cb182"><pre class="sourceCode js"><code class="sourceCode javascript"><a class="sourceLine" id="cb182-1" data-line-number="1"><span class="cf">if</span> (a <span class="op">&gt;</span> <span class="dv">3</span>) <span class="op">{</span></a>
-<a class="sourceLine" id="cb182-2" data-line-number="2"> <span class="at">moveShip</span>(<span class="dv">5</span> <span class="op">*</span> gravity<span class="op">,</span> DOWN)<span class="op">;</span></a>
-<a class="sourceLine" id="cb182-3" data-line-number="3"><span class="op">}</span></a></code></pre></div>
-<div class="sourceCode" id="cb183"><pre class="sourceCode html"><code class="sourceCode html"><a class="sourceLine" id="cb183-1" data-line-number="1"><span class="kw">&lt;pre&gt;</span></a>
-<a class="sourceLine" id="cb183-2" data-line-number="2"> <span class="kw">&lt;code&gt;</span></a>
-<a class="sourceLine" id="cb183-3" data-line-number="3"> // Some comments</a>
-<a class="sourceLine" id="cb183-4" data-line-number="4"> line 1 of code</a>
-<a class="sourceLine" id="cb183-5" data-line-number="5"> line 2 of code</a>
-<a class="sourceLine" id="cb183-6" data-line-number="6"> line 3 of code</a>
-<a class="sourceLine" id="cb183-7" data-line-number="7"> <span class="kw">&lt;/code&gt;</span></a>
-<a class="sourceLine" id="cb183-8" data-line-number="8"><span class="kw">&lt;/pre&gt;</span></a></code></pre></div>
-</blockquote>
-<h4 id="option-finalizecache"><span class="header-section-number">2.2.1.14</span> Option <code>finalizeCache</code></h4>
+<div class="sourceCode" id="cb182"><pre class="sourceCode js"><code class="sourceCode javascript"><span id="cb182-1"><a href="#cb182-1" aria-hidden="true"></a><span class="cf">if</span> (a <span class="op">&gt;</span> <span class="dv">3</span>) {</span>
+<span id="cb182-2"><a href="#cb182-2" aria-hidden="true"></a> <span class="fu">moveShip</span>(<span class="dv">5</span> <span class="op">*</span> gravity<span class="op">,</span> DOWN)<span class="op">;</span></span>
+<span id="cb182-3"><a href="#cb182-3" aria-hidden="true"></a>}</span></code></pre></div>
+<div class="sourceCode" id="cb183"><pre class="sourceCode html"><code class="sourceCode html"><span id="cb183-1"><a href="#cb183-1" aria-hidden="true"></a><span class="kw">&lt;pre&gt;</span></span>
+<span id="cb183-2"><a href="#cb183-2" aria-hidden="true"></a> <span class="kw">&lt;code&gt;</span></span>
+<span id="cb183-3"><a href="#cb183-3" aria-hidden="true"></a> // Some comments</span>
+<span id="cb183-4"><a href="#cb183-4" aria-hidden="true"></a> line 1 of code</span>
+<span id="cb183-5"><a href="#cb183-5" aria-hidden="true"></a> line 2 of code</span>
+<span id="cb183-6"><a href="#cb183-6" aria-hidden="true"></a> line 3 of code</span>
+<span id="cb183-7"><a href="#cb183-7" aria-hidden="true"></a> <span class="kw">&lt;/code&gt;</span></span>
+<span id="cb183-8"><a href="#cb183-8" aria-hidden="true"></a><span class="kw">&lt;/pre&gt;</span></span></code></pre></div>
+</blockquote>
+<h4 data-number="2.2.1.14" id="option-finalizecache"><span class="header-section-number">2.2.1.14</span> Option <code>finalizeCache</code></h4>
<dl>
<dt><code>finalizeCache</code> (default value: <code>false</code>)</dt>
<dd><p>Whether an output file specified with the <strong><code>frozenCacheFileName</code></strong> option (frozen cache) that contains a mapping between an enumeration of markdown documents and their auxiliary cache files will be created.</p>
<p>The frozen cache makes it possible to later typeset a plain <span class="tex">T<sub>e</sub>X</span> document that contains markdown documents without invoking Lua using the <code>\markdownOptionFrozenCache</code> plain <span class="tex">T<sub>e</sub>X</span> option. As a result, the plain <span class="tex">T<sub>e</sub>X</span> document becomes more portable, but further changes in the order and the content of markdown documents will not be reflected.</p>
</dd>
</dl>
-<h5 id="plain-tex-example-7" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-7">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb184"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb184-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb184-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionFinalizeCache{true}</a>
-<a class="sourceLine" id="cb184-3" data-line-number="3"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb184-4" data-line-number="4">Hello *world*!</a>
-<a class="sourceLine" id="cb184-5" data-line-number="5"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb184-6" data-line-number="6"><span class="fu">\bye</span></a></code></pre></div>
+<div class="sourceCode" id="cb184"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb184-1"><a href="#cb184-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb184-2"><a href="#cb184-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFinalizeCache</span>{true}</span>
+<span id="cb184-3"><a href="#cb184-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb184-4"><a href="#cb184-4" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb184-5"><a href="#cb184-5" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb184-6"><a href="#cb184-6" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb185"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb185-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb185"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb185-1"><a href="#cb185-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” A frozen cache will also be produced as we requested using the <code>finalizeCache</code> option.</p>
<p>Next, change the content of <code>document.tex</code> as follows:</p>
-<div class="sourceCode" id="cb186"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb186-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb186-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionFrozenCache{true}</a>
-<a class="sourceLine" id="cb186-3" data-line-number="3"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb186-4" data-line-number="4">Hi *world*!</a>
-<a class="sourceLine" id="cb186-5" data-line-number="5"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb186-6" data-line-number="6"><span class="fu">\bye</span></a></code></pre></div>
+<div class="sourceCode" id="cb186"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb186-1"><a href="#cb186-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb186-2"><a href="#cb186-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFrozenCache</span>{true}</span>
+<span id="cb186-3"><a href="#cb186-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb186-4"><a href="#cb186-4" aria-hidden="true"></a>Hi *world*!</span>
+<span id="cb186-5"><a href="#cb186-5" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb186-6"><a href="#cb186-6" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Last, invoke pdfTeX without shell access from the terminal:</p>
-<div class="sourceCode" id="cb187"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb187-1" data-line-number="1"><span class="ex">pdftex</span> -no-shell-escape document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb187"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb187-1"><a href="#cb187-1" aria-hidden="true"></a><span class="ex">pdftex</span> -no-shell-escape document.tex</span></code></pre></div>
<p>A new PDF document named <code>document.pdf</code> should be produced and contain the same text “Hello <em>world</em>!” Since we used the contents of the frozen cache using the <code>\markdownOptionFrozenCache</code> option, we were able to typeset the document without accessing the shell or invoking Lua, but the change in the content of the markdown document from “Hello <em>world</em>!” to “Hi <em>world</em>!” was not reflected.</p>
-<h5 id="latex-example-13" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-13"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb188"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb188-1" data-line-number="1"><span class="bu">\documentclass</span>[finalizecache]{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb188-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb188-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb188-4" data-line-number="4"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb188-5" data-line-number="5">Hello *world*!</a>
-<a class="sourceLine" id="cb188-6" data-line-number="6"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb188-7" data-line-number="7"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<div class="sourceCode" id="cb188"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb188-1"><a href="#cb188-1" aria-hidden="true"></a><span class="bu">\documentclass</span>[finalizecache]{<span class="ex">article</span>}</span>
+<span id="cb188-2"><a href="#cb188-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb188-3"><a href="#cb188-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb188-4"><a href="#cb188-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb188-5"><a href="#cb188-5" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb188-6"><a href="#cb188-6" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb188-7"><a href="#cb188-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb189"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb189-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb189"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb189-1"><a href="#cb189-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” A frozen cache will also be produced as we requested using the <code>finalizecache</code> option.</p>
<p>Next, change the content of <code>document.tex</code> as follows:</p>
-<div class="sourceCode" id="cb190"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb190-1" data-line-number="1"><span class="bu">\documentclass</span>[frozencache]{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb190-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb190-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb190-4" data-line-number="4"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb190-5" data-line-number="5">Hi *world*!</a>
-<a class="sourceLine" id="cb190-6" data-line-number="6"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb190-7" data-line-number="7"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<div class="sourceCode" id="cb190"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb190-1"><a href="#cb190-1" aria-hidden="true"></a><span class="bu">\documentclass</span>[frozencache]{<span class="ex">article</span>}</span>
+<span id="cb190-2"><a href="#cb190-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb190-3"><a href="#cb190-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb190-4"><a href="#cb190-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb190-5"><a href="#cb190-5" aria-hidden="true"></a>Hi *world*!</span>
+<span id="cb190-6"><a href="#cb190-6" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb190-7"><a href="#cb190-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Last, invoke pdfTeX without shell access from the terminal:</p>
-<div class="sourceCode" id="cb191"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb191-1" data-line-number="1"><span class="ex">pdflatex</span> -no-shell-escape document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb191"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb191-1"><a href="#cb191-1" aria-hidden="true"></a><span class="ex">pdflatex</span> -no-shell-escape document.tex</span></code></pre></div>
<p>A new PDF document named <code>document.pdf</code> should be produced and contain the same text “Hello <em>world</em>!” Since we used the contents of the frozen cache using the <code>\markdownOptionFrozenCache</code> option, we were able to typeset the document without accessing the shell or invoking Lua, but the change in the content of the markdown document from “Hello <em>world</em>!” to “Hi <em>world</em>!” was not reflected.</p>
-<h5 id="context-example-11" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-11">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb192"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb192-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb192-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionFinalizeCache{true}</a>
-<a class="sourceLine" id="cb192-3" data-line-number="3"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb192-4" data-line-number="4"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb192-5" data-line-number="5">Hello *world*!</a>
-<a class="sourceLine" id="cb192-6" data-line-number="6"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb192-7" data-line-number="7"><span class="fu">\stoptext</span></a></code></pre></div>
+<div class="sourceCode" id="cb192"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb192-1"><a href="#cb192-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb192-2"><a href="#cb192-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFinalizeCache</span>{true}</span>
+<span id="cb192-3"><a href="#cb192-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb192-4"><a href="#cb192-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb192-5"><a href="#cb192-5" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb192-6"><a href="#cb192-6" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb192-7"><a href="#cb192-7" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb193"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb193-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb193"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb193-1"><a href="#cb193-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” A frozen cache will also be produced in the <code>cache.tex</code> output file as we requested using the <code>finalizeCache</code> option.</p>
<p>Next, change the content of <code>document.tex</code> as follows:</p>
-<div class="sourceCode" id="cb194"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb194-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb194-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionFrozenCache{true}</a>
-<a class="sourceLine" id="cb194-3" data-line-number="3"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb194-4" data-line-number="4"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb194-5" data-line-number="5">Hi *world*!</a>
-<a class="sourceLine" id="cb194-6" data-line-number="6"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb194-7" data-line-number="7"><span class="fu">\stoptext</span></a></code></pre></div>
+<div class="sourceCode" id="cb194"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb194-1"><a href="#cb194-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb194-2"><a href="#cb194-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFrozenCache</span>{true}</span>
+<span id="cb194-3"><a href="#cb194-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb194-4"><a href="#cb194-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb194-5"><a href="#cb194-5" aria-hidden="true"></a>Hi *world*!</span>
+<span id="cb194-6"><a href="#cb194-6" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb194-7"><a href="#cb194-7" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Last, invoke pdfTeX without shell access from the terminal:</p>
-<div class="sourceCode" id="cb195"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb195-1" data-line-number="1"><span class="ex">texexec</span> --passon=--no-shell-escape document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb195"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb195-1"><a href="#cb195-1" aria-hidden="true"></a><span class="ex">texexec</span> --passon=--no-shell-escape document.tex</span></code></pre></div>
<p>A new PDF document named <code>document.pdf</code> should be produced and contain the same text “Hello <em>world</em>!” Since we used the contents of the frozen cache using the <code>\markdownOptionFrozenCache</code> option, we were able to typeset the document without accessing the shell or invoking Lua, but the change in the content of the markdown document from “Hello <em>world</em>!” to “Hi <em>world</em>!” was not reflected.</p>
-<h4 id="option-footnotes"><span class="header-section-number">2.2.1.15</span> Option <code>footnotes</code></h4>
+<h4 data-number="2.2.1.15" id="option-footnotes"><span class="header-section-number">2.2.1.15</span> Option <code>footnotes</code></h4>
<dl>
<dt><code>footnotes</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Enable the pandoc footnote syntax extension:</p>
-<div class="sourceCode" id="cb196"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb196-1" data-line-number="1">Here is a footnote reference,<span class="ot">[^1]</span> and another.<span class="ot">[^longnote]</span></a>
-<a class="sourceLine" id="cb196-2" data-line-number="2"></a>
-<a class="sourceLine" id="cb196-3" data-line-number="3"><span class="ot">[^1]</span>: Here is the footnote.</a>
-<a class="sourceLine" id="cb196-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb196-5" data-line-number="5"><span class="ot">[^longnote]</span>: Here&#39;s one with multiple blocks.</a>
-<a class="sourceLine" id="cb196-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb196-7" data-line-number="7"><span class="bn"> Subsequent paragraphs are indented to show that they</span></a>
-<a class="sourceLine" id="cb196-8" data-line-number="8">belong to the previous footnote.</a>
-<a class="sourceLine" id="cb196-9" data-line-number="9"></a>
-<a class="sourceLine" id="cb196-10" data-line-number="10"><span class="bn"> { some.code }</span></a>
-<a class="sourceLine" id="cb196-11" data-line-number="11"></a>
-<a class="sourceLine" id="cb196-12" data-line-number="12"><span class="bn"> The whole paragraph can be indented, or just the</span></a>
-<a class="sourceLine" id="cb196-13" data-line-number="13"><span class="bn"> first line. In this way, multi-paragraph footnotes</span></a>
-<a class="sourceLine" id="cb196-14" data-line-number="14"><span class="bn"> work like multi-paragraph list items.</span></a>
-<a class="sourceLine" id="cb196-15" data-line-number="15"></a>
-<a class="sourceLine" id="cb196-16" data-line-number="16">This paragraph won&#39;t be part of the note, because it</a>
-<a class="sourceLine" id="cb196-17" data-line-number="17">isn&#39;t indented.</a></code></pre></div>
+<div class="sourceCode" id="cb196"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb196-1"><a href="#cb196-1" aria-hidden="true"></a>Here is a footnote reference,<span class="ot">[^1]</span> and another.<span class="ot">[^longnote]</span></span>
+<span id="cb196-2"><a href="#cb196-2" aria-hidden="true"></a></span>
+<span id="cb196-3"><a href="#cb196-3" aria-hidden="true"></a><span class="ot">[^1]: </span>Here is the footnote.</span>
+<span id="cb196-4"><a href="#cb196-4" aria-hidden="true"></a></span>
+<span id="cb196-5"><a href="#cb196-5" aria-hidden="true"></a><span class="ot">[^longnote]: </span>Here&#39;s one with multiple blocks.</span>
+<span id="cb196-6"><a href="#cb196-6" aria-hidden="true"></a></span>
+<span id="cb196-7"><a href="#cb196-7" aria-hidden="true"></a><span class="in"> Subsequent paragraphs are indented to show that they</span></span>
+<span id="cb196-8"><a href="#cb196-8" aria-hidden="true"></a>belong to the previous footnote.</span>
+<span id="cb196-9"><a href="#cb196-9" aria-hidden="true"></a></span>
+<span id="cb196-10"><a href="#cb196-10" aria-hidden="true"></a><span class="in"> { some.code }</span></span>
+<span id="cb196-11"><a href="#cb196-11" aria-hidden="true"></a></span>
+<span id="cb196-12"><a href="#cb196-12" aria-hidden="true"></a><span class="in"> The whole paragraph can be indented, or just the</span></span>
+<span id="cb196-13"><a href="#cb196-13" aria-hidden="true"></a><span class="in"> first line. In this way, multi-paragraph footnotes</span></span>
+<span id="cb196-14"><a href="#cb196-14" aria-hidden="true"></a><span class="in"> work like multi-paragraph list items.</span></span>
+<span id="cb196-15"><a href="#cb196-15" aria-hidden="true"></a></span>
+<span id="cb196-16"><a href="#cb196-16" aria-hidden="true"></a>This paragraph won&#39;t be part of the note, because it</span>
+<span id="cb196-17"><a href="#cb196-17" aria-hidden="true"></a>isn&#39;t indented.</span></code></pre></div>
</dd>
</dl>
</dd>
@@ -2035,100 +2049,100 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 id="latex-example-14" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb197"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb197-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb197-2" data-line-number="2"><span class="bu">\usepackage</span>[footnotes]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb197-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb197-4" data-line-number="4"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb197-5" data-line-number="5">Here is a footnote reference,[^1] and another.[^longnote]</a>
-<a class="sourceLine" id="cb197-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb197-7" data-line-number="7">[^1]: Here is the footnote.</a>
-<a class="sourceLine" id="cb197-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb197-9" data-line-number="9">[^longnote]: Here&#39;s one with multiple blocks.</a>
-<a class="sourceLine" id="cb197-10" data-line-number="10"></a>
-<a class="sourceLine" id="cb197-11" data-line-number="11"> Subsequent paragraphs are indented to show that they</a>
-<a class="sourceLine" id="cb197-12" data-line-number="12">belong to the previous footnote.</a>
-<a class="sourceLine" id="cb197-13" data-line-number="13"></a>
-<a class="sourceLine" id="cb197-14" data-line-number="14"> { some.code }</a>
-<a class="sourceLine" id="cb197-15" data-line-number="15"></a>
-<a class="sourceLine" id="cb197-16" data-line-number="16"> The whole paragraph can be indented, or just the</a>
-<a class="sourceLine" id="cb197-17" data-line-number="17"> first line. In this way, multi-paragraph footnotes</a>
-<a class="sourceLine" id="cb197-18" data-line-number="18"> work like multi-paragraph list items.</a>
-<a class="sourceLine" id="cb197-19" data-line-number="19"></a>
-<a class="sourceLine" id="cb197-20" data-line-number="20">This paragraph won&#39;t be part of the note, because it</a>
-<a class="sourceLine" id="cb197-21" data-line-number="21">isn&#39;t indented.</a>
-<a class="sourceLine" id="cb197-22" data-line-number="22"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb197-23" data-line-number="23"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb198"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb198-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-14"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb197"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb197-1"><a href="#cb197-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb197-2"><a href="#cb197-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[footnotes]{<span class="ex">markdown</span>}</span>
+<span id="cb197-3"><a href="#cb197-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb197-4"><a href="#cb197-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb197-5"><a href="#cb197-5" aria-hidden="true"></a>Here is a footnote reference,[^1] and another.[^longnote]</span>
+<span id="cb197-6"><a href="#cb197-6" aria-hidden="true"></a></span>
+<span id="cb197-7"><a href="#cb197-7" aria-hidden="true"></a>[^1]: Here is the footnote.</span>
+<span id="cb197-8"><a href="#cb197-8" aria-hidden="true"></a></span>
+<span id="cb197-9"><a href="#cb197-9" aria-hidden="true"></a>[^longnote]: Here&#39;s one with multiple blocks.</span>
+<span id="cb197-10"><a href="#cb197-10" aria-hidden="true"></a></span>
+<span id="cb197-11"><a href="#cb197-11" aria-hidden="true"></a> Subsequent paragraphs are indented to show that they</span>
+<span id="cb197-12"><a href="#cb197-12" aria-hidden="true"></a>belong to the previous footnote.</span>
+<span id="cb197-13"><a href="#cb197-13" aria-hidden="true"></a></span>
+<span id="cb197-14"><a href="#cb197-14" aria-hidden="true"></a> { some.code }</span>
+<span id="cb197-15"><a href="#cb197-15" aria-hidden="true"></a></span>
+<span id="cb197-16"><a href="#cb197-16" aria-hidden="true"></a> The whole paragraph can be indented, or just the</span>
+<span id="cb197-17"><a href="#cb197-17" aria-hidden="true"></a> first line. In this way, multi-paragraph footnotes</span>
+<span id="cb197-18"><a href="#cb197-18" aria-hidden="true"></a> work like multi-paragraph list items.</span>
+<span id="cb197-19"><a href="#cb197-19" aria-hidden="true"></a></span>
+<span id="cb197-20"><a href="#cb197-20" aria-hidden="true"></a>This paragraph won&#39;t be part of the note, because it</span>
+<span id="cb197-21"><a href="#cb197-21" aria-hidden="true"></a>isn&#39;t indented.</span>
+<span id="cb197-22"><a href="#cb197-22" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb197-23"><a href="#cb197-23" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb198"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb198-1"><a href="#cb198-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
-<p>Here is a footnote reference,<a href="#fn1" class="footnote-ref" id="fnref1"><sup>1</sup></a> and another.<a href="#fn2" class="footnote-ref" id="fnref2"><sup>2</sup></a></p>
+<p>Here is a footnote reference,<a href="#fn1" class="footnote-ref" id="fnref1" role="doc-noteref"><sup>1</sup></a> and another.<a href="#fn2" class="footnote-ref" id="fnref2" role="doc-noteref"><sup>2</sup></a></p>
<p>This paragraph won’t be part of the note, because it isn’t indented.</p>
</blockquote>
-<h5 id="context-example-12" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb200"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb200-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb200-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionFootnotes{true}</a>
-<a class="sourceLine" id="cb200-3" data-line-number="3"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb200-4" data-line-number="4"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb200-5" data-line-number="5">Here is a footnote reference,[^1] and another.[^longnote]</a>
-<a class="sourceLine" id="cb200-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb200-7" data-line-number="7">[^1]: Here is the footnote.</a>
-<a class="sourceLine" id="cb200-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb200-9" data-line-number="9">[^longnote]: Here&#39;s one with multiple blocks.</a>
-<a class="sourceLine" id="cb200-10" data-line-number="10"></a>
-<a class="sourceLine" id="cb200-11" data-line-number="11"> Subsequent paragraphs are indented to show that they</a>
-<a class="sourceLine" id="cb200-12" data-line-number="12">belong to the previous footnote.</a>
-<a class="sourceLine" id="cb200-13" data-line-number="13"></a>
-<a class="sourceLine" id="cb200-14" data-line-number="14"> { some.code }</a>
-<a class="sourceLine" id="cb200-15" data-line-number="15"></a>
-<a class="sourceLine" id="cb200-16" data-line-number="16"> The whole paragraph can be indented, or just the</a>
-<a class="sourceLine" id="cb200-17" data-line-number="17"> first line. In this way, multi-paragraph footnotes</a>
-<a class="sourceLine" id="cb200-18" data-line-number="18"> work like multi-paragraph list items.</a>
-<a class="sourceLine" id="cb200-19" data-line-number="19"></a>
-<a class="sourceLine" id="cb200-20" data-line-number="20">This paragraph won&#39;t be part of the note, because it</a>
-<a class="sourceLine" id="cb200-21" data-line-number="21">isn&#39;t indented.</a>
-<a class="sourceLine" id="cb200-22" data-line-number="22"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb200-23" data-line-number="23"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb201"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb201-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-12">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb200"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb200-1"><a href="#cb200-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb200-2"><a href="#cb200-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFootnotes</span>{true}</span>
+<span id="cb200-3"><a href="#cb200-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb200-4"><a href="#cb200-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb200-5"><a href="#cb200-5" aria-hidden="true"></a>Here is a footnote reference,[^1] and another.[^longnote]</span>
+<span id="cb200-6"><a href="#cb200-6" aria-hidden="true"></a></span>
+<span id="cb200-7"><a href="#cb200-7" aria-hidden="true"></a>[^1]: Here is the footnote.</span>
+<span id="cb200-8"><a href="#cb200-8" aria-hidden="true"></a></span>
+<span id="cb200-9"><a href="#cb200-9" aria-hidden="true"></a>[^longnote]: Here&#39;s one with multiple blocks.</span>
+<span id="cb200-10"><a href="#cb200-10" aria-hidden="true"></a></span>
+<span id="cb200-11"><a href="#cb200-11" aria-hidden="true"></a> Subsequent paragraphs are indented to show that they</span>
+<span id="cb200-12"><a href="#cb200-12" aria-hidden="true"></a>belong to the previous footnote.</span>
+<span id="cb200-13"><a href="#cb200-13" aria-hidden="true"></a></span>
+<span id="cb200-14"><a href="#cb200-14" aria-hidden="true"></a> { some.code }</span>
+<span id="cb200-15"><a href="#cb200-15" aria-hidden="true"></a></span>
+<span id="cb200-16"><a href="#cb200-16" aria-hidden="true"></a> The whole paragraph can be indented, or just the</span>
+<span id="cb200-17"><a href="#cb200-17" aria-hidden="true"></a> first line. In this way, multi-paragraph footnotes</span>
+<span id="cb200-18"><a href="#cb200-18" aria-hidden="true"></a> work like multi-paragraph list items.</span>
+<span id="cb200-19"><a href="#cb200-19" aria-hidden="true"></a></span>
+<span id="cb200-20"><a href="#cb200-20" aria-hidden="true"></a>This paragraph won&#39;t be part of the note, because it</span>
+<span id="cb200-21"><a href="#cb200-21" aria-hidden="true"></a>isn&#39;t indented.</span>
+<span id="cb200-22"><a href="#cb200-22" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb200-23"><a href="#cb200-23" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb201"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb201-1"><a href="#cb201-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
-<p>Here is a footnote reference,<a href="#fn3" class="footnote-ref" id="fnref3"><sup>3</sup></a> and another.<a href="#fn4" class="footnote-ref" id="fnref4"><sup>4</sup></a></p>
+<p>Here is a footnote reference,<a href="#fn3" class="footnote-ref" id="fnref3" role="doc-noteref"><sup>3</sup></a> and another.<a href="#fn4" class="footnote-ref" id="fnref4" role="doc-noteref"><sup>4</sup></a></p>
<p>This paragraph won’t be part of the note, because it isn’t indented.</p>
</blockquote>
-<h4 id="option-frozencachecounter"><span class="header-section-number">2.2.1.16</span> Option <code>frozenCacheCounter</code></h4>
+<h4 data-number="2.2.1.16" id="option-frozencachecounter"><span class="header-section-number">2.2.1.16</span> Option <code>frozenCacheCounter</code></h4>
<dl>
<dt><code>frozenCacheCounter</code> (default value: <code>0</code>)</dt>
<dd><p>The number of the current markdown document that will be stored in an output file (frozen cache) when the <strong><code>finalizeCache</code></strong> is enabled. When the document number is 0, then a new frozen cache will be created. Otherwise, the frozen cache will be appended.</p>
<p>Each frozen cache entry will define a <span class="tex">T<sub>e</sub>X</span> macro <code>\markdownFrozenCache</code>⟨<em>number</em>⟩ that will typeset markdown document number ⟨<em>number</em>⟩.</p>
</dd>
</dl>
-<h5 id="lua-module-example-7" class="unnumbered">Lua Module Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb203"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb203-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb203-2" data-line-number="2"><span class="fu">\directlua</span>{</a>
-<a class="sourceLine" id="cb203-3" data-line-number="3"> local markdown = require(&quot;markdown&quot;)</a>
-<a class="sourceLine" id="cb203-4" data-line-number="4"> local firstConvert = markdown.new({finalizeCache = true, frozenCacheCounter = 0})</a>
-<a class="sourceLine" id="cb203-5" data-line-number="5"> local firstInput = &quot;Hello&quot;</a>
-<a class="sourceLine" id="cb203-6" data-line-number="6"> local secondConvert = markdown.new({finalizeCache = true, frozenCacheCounter = 1})</a>
-<a class="sourceLine" id="cb203-7" data-line-number="7"> local secondInput = &quot;*world*!&quot;</a>
-<a class="sourceLine" id="cb203-8" data-line-number="8"> tex.sprint(firstConvert(firstInput) .. [[ ]] .. secondConvert(secondInput)) }</a>
-<a class="sourceLine" id="cb203-9" data-line-number="9"><span class="fu">\bye</span></a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="lua-module-example-7">Lua Module Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb203"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb203-1"><a href="#cb203-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb203-2"><a href="#cb203-2" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
+<span id="cb203-3"><a href="#cb203-3" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
+<span id="cb203-4"><a href="#cb203-4" aria-hidden="true"></a> local firstConvert = markdown.new({finalizeCache = true, frozenCacheCounter = 0})</span>
+<span id="cb203-5"><a href="#cb203-5" aria-hidden="true"></a> local firstInput = &quot;Hello&quot;</span>
+<span id="cb203-6"><a href="#cb203-6" aria-hidden="true"></a> local secondConvert = markdown.new({finalizeCache = true, frozenCacheCounter = 1})</span>
+<span id="cb203-7"><a href="#cb203-7" aria-hidden="true"></a> local secondInput = &quot;*world*!&quot;</span>
+<span id="cb203-8"><a href="#cb203-8" aria-hidden="true"></a> tex.sprint(firstConvert(firstInput) .. [[ ]] .. secondConvert(secondInput)) }</span>
+<span id="cb203-9"><a href="#cb203-9" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Then, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb204"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb204-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb204"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb204-1"><a href="#cb204-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” A frozen cache with two entries will also be produced as we requested using the <code>frozenCacheCounter</code> option.</p>
-<h4 id="option-hashenumerators"><span class="header-section-number">2.2.1.17</span> Option <code>hashEnumerators</code></h4>
+<h4 data-number="2.2.1.17" id="option-hashenumerators"><span class="header-section-number">2.2.1.17</span> Option <code>hashEnumerators</code></h4>
<dl>
<dt><code>hashEnumerators</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Enable the use of hash symbols (<code>#</code>) as ordered item list markers:</p>
-<div class="sourceCode" id="cb205"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb205-1" data-line-number="1">#. Bird</a>
-<a class="sourceLine" id="cb205-2" data-line-number="2">#. McHale</a>
-<a class="sourceLine" id="cb205-3" data-line-number="3">#. Parish</a></code></pre></div>
+<div class="sourceCode" id="cb205"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb205-1"><a href="#cb205-1" aria-hidden="true"></a>#. Bird</span>
+<span id="cb205-2"><a href="#cb205-2" aria-hidden="true"></a>#. McHale</span>
+<span id="cb205-3"><a href="#cb205-3" aria-hidden="true"></a>#. Parish</span></code></pre></div>
</dd>
</dl>
</dd>
@@ -2139,27 +2153,27 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 id="latex-example-15" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb206"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb206-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb206-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb206-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb206-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb206-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb206-6" data-line-number="6">. Bird</a>
-<a class="sourceLine" id="cb206-7" data-line-number="7">. McHale</a>
-<a class="sourceLine" id="cb206-8" data-line-number="8">. Parish</a>
-<a class="sourceLine" id="cb206-9" data-line-number="9"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb206-10" data-line-number="10"></a>
-<a class="sourceLine" id="cb206-11" data-line-number="11"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{hashEnumerators}</a>
-<a class="sourceLine" id="cb206-12" data-line-number="12">. Bird</a>
-<a class="sourceLine" id="cb206-13" data-line-number="13">. McHale</a>
-<a class="sourceLine" id="cb206-14" data-line-number="14">. Parish</a>
-<a class="sourceLine" id="cb206-15" data-line-number="15"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb206-16" data-line-number="16"></a>
-<a class="sourceLine" id="cb206-17" data-line-number="17"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb207"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb207-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-15"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb206"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb206-1"><a href="#cb206-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb206-2"><a href="#cb206-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb206-3"><a href="#cb206-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb206-4"><a href="#cb206-4" aria-hidden="true"></a></span>
+<span id="cb206-5"><a href="#cb206-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb206-6"><a href="#cb206-6" aria-hidden="true"></a>. Bird</span>
+<span id="cb206-7"><a href="#cb206-7" aria-hidden="true"></a>. McHale</span>
+<span id="cb206-8"><a href="#cb206-8" aria-hidden="true"></a>. Parish</span>
+<span id="cb206-9"><a href="#cb206-9" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb206-10"><a href="#cb206-10" aria-hidden="true"></a></span>
+<span id="cb206-11"><a href="#cb206-11" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{hashEnumerators}</span>
+<span id="cb206-12"><a href="#cb206-12" aria-hidden="true"></a>. Bird</span>
+<span id="cb206-13"><a href="#cb206-13" aria-hidden="true"></a>. McHale</span>
+<span id="cb206-14"><a href="#cb206-14" aria-hidden="true"></a>. Parish</span>
+<span id="cb206-15"><a href="#cb206-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb206-16"><a href="#cb206-16" aria-hidden="true"></a></span>
+<span id="cb206-17"><a href="#cb206-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb207"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb207-1"><a href="#cb207-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<h1 id="bird">. Bird</h1>
@@ -2171,27 +2185,27 @@ Thomas,Edison,1847</code></pre>
<li>Parish</li>
</ol>
</blockquote>
-<h5 id="context-example-13" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb208"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb208-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb208-2" data-line-number="2"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb208-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb208-4" data-line-number="4"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb208-5" data-line-number="5">. Bird</a>
-<a class="sourceLine" id="cb208-6" data-line-number="6">. McHale</a>
-<a class="sourceLine" id="cb208-7" data-line-number="7">. Parish</a>
-<a class="sourceLine" id="cb208-8" data-line-number="8"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb208-9" data-line-number="9"></a>
-<a class="sourceLine" id="cb208-10" data-line-number="10"><span class="fu">\def</span>\markdownOptionHashEnumerators{true}</a>
-<a class="sourceLine" id="cb208-11" data-line-number="11"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb208-12" data-line-number="12">. Bird</a>
-<a class="sourceLine" id="cb208-13" data-line-number="13">. McHale</a>
-<a class="sourceLine" id="cb208-14" data-line-number="14">. Parish</a>
-<a class="sourceLine" id="cb208-15" data-line-number="15"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb208-16" data-line-number="16"></a>
-<a class="sourceLine" id="cb208-17" data-line-number="17"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb209"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb209-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-13">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb208"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb208-1"><a href="#cb208-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb208-2"><a href="#cb208-2" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb208-3"><a href="#cb208-3" aria-hidden="true"></a></span>
+<span id="cb208-4"><a href="#cb208-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb208-5"><a href="#cb208-5" aria-hidden="true"></a>. Bird</span>
+<span id="cb208-6"><a href="#cb208-6" aria-hidden="true"></a>. McHale</span>
+<span id="cb208-7"><a href="#cb208-7" aria-hidden="true"></a>. Parish</span>
+<span id="cb208-8"><a href="#cb208-8" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb208-9"><a href="#cb208-9" aria-hidden="true"></a></span>
+<span id="cb208-10"><a href="#cb208-10" aria-hidden="true"></a><span class="fu">\def\markdownOptionHashEnumerators</span>{true}</span>
+<span id="cb208-11"><a href="#cb208-11" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb208-12"><a href="#cb208-12" aria-hidden="true"></a>. Bird</span>
+<span id="cb208-13"><a href="#cb208-13" aria-hidden="true"></a>. McHale</span>
+<span id="cb208-14"><a href="#cb208-14" aria-hidden="true"></a>. Parish</span>
+<span id="cb208-15"><a href="#cb208-15" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb208-16"><a href="#cb208-16" aria-hidden="true"></a></span>
+<span id="cb208-17"><a href="#cb208-17" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb209"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb209-1"><a href="#cb209-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<h1 id="bird-1">. Bird</h1>
@@ -2203,18 +2217,18 @@ Thomas,Edison,1847</code></pre>
<li>Parish</li>
</ol>
</blockquote>
-<h4 id="header-attributes"><span class="header-section-number">2.2.1.18</span> Option <code>headerAttributes</code></h4>
+<h4 data-number="2.2.1.18" id="header-attributes"><span class="header-section-number">2.2.1.18</span> Option <code>headerAttributes</code></h4>
<dl>
<dt><code>headerAttributes</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Enable the assignment of HTML attributes to headings:</p>
-<div class="sourceCode" id="cb210"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb210-1" data-line-number="1"><span class="fu"># My first heading {#foo}</span></a>
-<a class="sourceLine" id="cb210-2" data-line-number="2"></a>
-<a class="sourceLine" id="cb210-3" data-line-number="3"><span class="fu">## My second heading ## {#bar .baz}</span></a>
-<a class="sourceLine" id="cb210-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb210-5" data-line-number="5">Yet another heading {key=value}</a>
-<a class="sourceLine" id="cb210-6" data-line-number="6">===================</a></code></pre></div>
+<div class="sourceCode" id="cb210"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb210-1"><a href="#cb210-1" aria-hidden="true"></a><span class="fu"># My first heading {#foo}</span></span>
+<span id="cb210-2"><a href="#cb210-2" aria-hidden="true"></a></span>
+<span id="cb210-3"><a href="#cb210-3" aria-hidden="true"></a><span class="fu">## My second heading ## {#bar .baz}</span></span>
+<span id="cb210-4"><a href="#cb210-4" aria-hidden="true"></a></span>
+<span id="cb210-5"><a href="#cb210-5" aria-hidden="true"></a>Yet another heading {key=value}</span>
+<span id="cb210-6"><a href="#cb210-6" aria-hidden="true"></a><span class="fu">===================</span></span></code></pre></div>
<p>These HTML attributes have currently no effect other than enabling <a href="#slice">content slicing</a>.</p>
</dd>
</dl>
@@ -2226,7 +2240,7 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h4 id="option-html"><span class="header-section-number">2.2.1.19</span> Option <code>html</code></h4>
+<h4 data-number="2.2.1.19" id="option-html"><span class="header-section-number">2.2.1.19</span> Option <code>html</code></h4>
<dl>
<dt><code>html</code> (default value: <code>false</code>)</dt>
<dd><dl>
@@ -2242,160 +2256,160 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 id="lua-module-example-8" class="unnumbered">Lua Module Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb211"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb211-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb211-2" data-line-number="2"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb211-3" data-line-number="3"><span class="fu">\directlua</span>{</a>
-<a class="sourceLine" id="cb211-4" data-line-number="4"> local markdown = require(&quot;markdown&quot;)</a>
-<a class="sourceLine" id="cb211-5" data-line-number="5"> local convert = markdown.new()</a>
-<a class="sourceLine" id="cb211-6" data-line-number="6"> local newline = [[^^J^^J]]</a>
-<a class="sourceLine" id="cb211-7" data-line-number="7"> local input =</a>
-<a class="sourceLine" id="cb211-8" data-line-number="8"> &quot;&lt;div&gt;*There is no block tag support.*&lt;/div&gt;&quot; .. newline ..</a>
-<a class="sourceLine" id="cb211-9" data-line-number="9"> &quot;*There is no &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*&quot; .. newline ..</a>
-<a class="sourceLine" id="cb211-10" data-line-number="10"> &quot;_There is no &lt;!-- comment --&gt; support._&quot; .. newline ..</a>
-<a class="sourceLine" id="cb211-11" data-line-number="11"> &quot;_There is no &lt;? HTML instruction ?&gt; support._&quot;</a>
-<a class="sourceLine" id="cb211-12" data-line-number="12"> tex.sprint(convert(input)) }</a>
-<a class="sourceLine" id="cb211-13" data-line-number="13"><span class="fu">\par</span></a>
-<a class="sourceLine" id="cb211-14" data-line-number="14"><span class="fu">\directlua</span>{</a>
-<a class="sourceLine" id="cb211-15" data-line-number="15"> local markdown = require(&quot;markdown&quot;)</a>
-<a class="sourceLine" id="cb211-16" data-line-number="16"> local convert = markdown.new({html = true})</a>
-<a class="sourceLine" id="cb211-17" data-line-number="17"> local input =</a>
-<a class="sourceLine" id="cb211-18" data-line-number="18"> &quot;&lt;div&gt;*There is block tag support.*&lt;/div&gt;&quot; .. newline ..</a>
-<a class="sourceLine" id="cb211-19" data-line-number="19"> &quot;*There is &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*&quot; .. newline ..</a>
-<a class="sourceLine" id="cb211-20" data-line-number="20"> &quot;_There is &lt;!-- comment --&gt; support._&quot; .. newline ..</a>
-<a class="sourceLine" id="cb211-21" data-line-number="21"> &quot;_There is &lt;? HTML instruction ?&gt; support._&quot;</a>
-<a class="sourceLine" id="cb211-22" data-line-number="22"> tex.sprint(convert(input)) }</a>
-<a class="sourceLine" id="cb211-23" data-line-number="23"><span class="fu">\bye</span></a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="lua-module-example-8">Lua Module Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb211"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb211-1"><a href="#cb211-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb211-2"><a href="#cb211-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb211-3"><a href="#cb211-3" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
+<span id="cb211-4"><a href="#cb211-4" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
+<span id="cb211-5"><a href="#cb211-5" aria-hidden="true"></a> local convert = markdown.new()</span>
+<span id="cb211-6"><a href="#cb211-6" aria-hidden="true"></a> local newline = [[^^J^^J]]</span>
+<span id="cb211-7"><a href="#cb211-7" aria-hidden="true"></a> local input =</span>
+<span id="cb211-8"><a href="#cb211-8" aria-hidden="true"></a> &quot;&lt;div&gt;*There is no block tag support.*&lt;/div&gt;&quot; .. newline ..</span>
+<span id="cb211-9"><a href="#cb211-9" aria-hidden="true"></a> &quot;*There is no &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*&quot; .. newline ..</span>
+<span id="cb211-10"><a href="#cb211-10" aria-hidden="true"></a> &quot;_There is no &lt;!-- comment --&gt; support._&quot; .. newline ..</span>
+<span id="cb211-11"><a href="#cb211-11" aria-hidden="true"></a> &quot;_There is no &lt;? HTML instruction ?&gt; support._&quot;</span>
+<span id="cb211-12"><a href="#cb211-12" aria-hidden="true"></a> tex.sprint(convert(input)) }</span>
+<span id="cb211-13"><a href="#cb211-13" aria-hidden="true"></a><span class="fu">\par</span></span>
+<span id="cb211-14"><a href="#cb211-14" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
+<span id="cb211-15"><a href="#cb211-15" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
+<span id="cb211-16"><a href="#cb211-16" aria-hidden="true"></a> local convert = markdown.new({html = true})</span>
+<span id="cb211-17"><a href="#cb211-17" aria-hidden="true"></a> local input =</span>
+<span id="cb211-18"><a href="#cb211-18" aria-hidden="true"></a> &quot;&lt;div&gt;*There is block tag support.*&lt;/div&gt;&quot; .. newline ..</span>
+<span id="cb211-19"><a href="#cb211-19" aria-hidden="true"></a> &quot;*There is &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*&quot; .. newline ..</span>
+<span id="cb211-20"><a href="#cb211-20" aria-hidden="true"></a> &quot;_There is &lt;!-- comment --&gt; support._&quot; .. newline ..</span>
+<span id="cb211-21"><a href="#cb211-21" aria-hidden="true"></a> &quot;_There is &lt;? HTML instruction ?&gt; support._&quot;</span>
+<span id="cb211-22"><a href="#cb211-22" aria-hidden="true"></a> tex.sprint(convert(input)) }</span>
+<span id="cb211-23"><a href="#cb211-23" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Then, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb212"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb212-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb212"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb212-1"><a href="#cb212-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>&lt;div&gt;There is no block tag support.&lt;/div&gt; There is no &lt;inline tag=”tag”&gt;&lt;/inline&gt; support. There is no &lt;!– comment –&gt; support. There is no &lt;? HTML instruction ?&gt; support.</p>
<p>There is support. There is support. There is support.</p>
</blockquote>
-<h5 id="lua-cli-example-7" class="unnumbered">Lua CLI Example</h5>
+<h5 class="unnumbered" data-number="" id="lua-cli-example-7">Lua CLI Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb213"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb213-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb213-2" data-line-number="2"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb213-3" data-line-number="3"><span class="fu">\input</span> optionfalse</a>
-<a class="sourceLine" id="cb213-4" data-line-number="4"><span class="fu">\par</span></a>
-<a class="sourceLine" id="cb213-5" data-line-number="5"><span class="fu">\input</span> optiontrue</a>
-<a class="sourceLine" id="cb213-6" data-line-number="6"><span class="fu">\bye</span></a></code></pre></div>
+<div class="sourceCode" id="cb213"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb213-1"><a href="#cb213-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb213-2"><a href="#cb213-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb213-3"><a href="#cb213-3" aria-hidden="true"></a><span class="fu">\input</span> optionfalse</span>
+<span id="cb213-4"><a href="#cb213-4" aria-hidden="true"></a><span class="fu">\par</span></span>
+<span id="cb213-5"><a href="#cb213-5" aria-hidden="true"></a><span class="fu">\input</span> optiontrue</span>
+<span id="cb213-6"><a href="#cb213-6" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Using a text editor, create a text document named <code>content.md</code> with the following content:</p>
-<div class="sourceCode" id="cb214"><pre class="sourceCode html"><code class="sourceCode html"><a class="sourceLine" id="cb214-1" data-line-number="1"><span class="kw">&lt;div&gt;</span></a>
-<a class="sourceLine" id="cb214-2" data-line-number="2">*Is there block tag support?*</a>
-<a class="sourceLine" id="cb214-3" data-line-number="3"><span class="kw">&lt;/div&gt;</span></a>
-<a class="sourceLine" id="cb214-4" data-line-number="4">*Is there <span class="kw">&lt;inline</span><span class="ot"> tag=</span><span class="st">&quot;tag&quot;</span><span class="kw">&gt;&lt;/inline&gt;</span> support?*</a>
-<a class="sourceLine" id="cb214-5" data-line-number="5">_Is there <span class="co">&lt;!-- comment --&gt;</span> support?_</a>
-<a class="sourceLine" id="cb214-6" data-line-number="6">_Is there <span class="kw">&lt;?</span> HTML instruction <span class="kw">?&gt;</span> support?_</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb215"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb215-1" data-line-number="1"><span class="ex">texlua</span> ⟨CLI pathname⟩ -- content.md optionfalse.tex</a>
-<a class="sourceLine" id="cb215-2" data-line-number="2"><span class="ex">texlua</span> ⟨CLI pathname⟩ html=true -- content.md optiontrue.tex</a>
-<a class="sourceLine" id="cb215-3" data-line-number="3"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb214"><pre class="sourceCode html"><code class="sourceCode html"><span id="cb214-1"><a href="#cb214-1" aria-hidden="true"></a><span class="kw">&lt;div&gt;</span></span>
+<span id="cb214-2"><a href="#cb214-2" aria-hidden="true"></a>*Is there block tag support?*</span>
+<span id="cb214-3"><a href="#cb214-3" aria-hidden="true"></a><span class="kw">&lt;/div&gt;</span></span>
+<span id="cb214-4"><a href="#cb214-4" aria-hidden="true"></a>*Is there <span class="kw">&lt;inline</span><span class="ot"> tag=</span><span class="st">&quot;tag&quot;</span><span class="kw">&gt;&lt;/inline&gt;</span> support?*</span>
+<span id="cb214-5"><a href="#cb214-5" aria-hidden="true"></a>_Is there <span class="co">&lt;!-- comment --&gt;</span> support?_</span>
+<span id="cb214-6"><a href="#cb214-6" aria-hidden="true"></a>_Is there <span class="kw">&lt;?</span> HTML instruction <span class="kw">?&gt;</span> support?_</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb215"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb215-1"><a href="#cb215-1" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ -- content.md optionfalse.tex</span>
+<span id="cb215-2"><a href="#cb215-2" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ html=true -- content.md optiontrue.tex</span>
+<span id="cb215-3"><a href="#cb215-3" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>where ⟨<em>CLI pathname</em>⟩ corresponds to the location of the Lua CLI script file, such as <code>~/texmf/scripts/markdown/markdown-cli.lua</code> on UN*X systems or <code>C:\Users\</code>⟨<em>Your username</em>⟩<code>\texmf\scripts\markdown\markdown-cli.lua</code> on Windows systems. Use the command <code>kpsewhich -a markdown-cli.lua</code> to locate the Lua CLI script file using <a href="https://tug.org/kpathsea/" title="Kpathsea - TeX Users Group">Kpathsea</a>.</p>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>&lt;div&gt;Is there block tag support?&lt;/div&gt; Is there &lt;inline tag=”tag”&gt;&lt;/inline&gt; support? Is there &lt;!– comment –&gt; support? Is there &lt;? HTML instruction ?&gt; support?</p>
<p>Is there support? Is there support? Is there support?</p>
</blockquote>
-<h5 id="plain-tex-example-8" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb216"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb216-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb216-2" data-line-number="2"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb216-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb216-4" data-line-number="4"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb216-5" data-line-number="5">&lt;div&gt;</a>
-<a class="sourceLine" id="cb216-6" data-line-number="6">*There is no block tag support.*</a>
-<a class="sourceLine" id="cb216-7" data-line-number="7">&lt;/div&gt;</a>
-<a class="sourceLine" id="cb216-8" data-line-number="8">*There is no &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</a>
-<a class="sourceLine" id="cb216-9" data-line-number="9">_There is no &lt;!-- comment --&gt; support._</a>
-<a class="sourceLine" id="cb216-10" data-line-number="10">_There is no &lt;? HTML instruction ?&gt; support._</a>
-<a class="sourceLine" id="cb216-11" data-line-number="11"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb216-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb216-13" data-line-number="13"><span class="fu">\def</span>\markdownOptionHtml{true}</a>
-<a class="sourceLine" id="cb216-14" data-line-number="14"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb216-15" data-line-number="15">&lt;div&gt;</a>
-<a class="sourceLine" id="cb216-16" data-line-number="16">*There is block tag support.*</a>
-<a class="sourceLine" id="cb216-17" data-line-number="17">&lt;/div&gt;</a>
-<a class="sourceLine" id="cb216-18" data-line-number="18">*There is &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</a>
-<a class="sourceLine" id="cb216-19" data-line-number="19">_There is &lt;!-- comment --&gt; support._</a>
-<a class="sourceLine" id="cb216-20" data-line-number="20">_There is &lt;? HTML instruction ?&gt; support._</a>
-<a class="sourceLine" id="cb216-21" data-line-number="21"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb216-22" data-line-number="22"></a>
-<a class="sourceLine" id="cb216-23" data-line-number="23"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb217"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb217-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-8">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb216"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb216-1"><a href="#cb216-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb216-2"><a href="#cb216-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb216-3"><a href="#cb216-3" aria-hidden="true"></a></span>
+<span id="cb216-4"><a href="#cb216-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb216-5"><a href="#cb216-5" aria-hidden="true"></a>&lt;div&gt;</span>
+<span id="cb216-6"><a href="#cb216-6" aria-hidden="true"></a>*There is no block tag support.*</span>
+<span id="cb216-7"><a href="#cb216-7" aria-hidden="true"></a>&lt;/div&gt;</span>
+<span id="cb216-8"><a href="#cb216-8" aria-hidden="true"></a>*There is no &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</span>
+<span id="cb216-9"><a href="#cb216-9" aria-hidden="true"></a>_There is no &lt;!-- comment --&gt; support._</span>
+<span id="cb216-10"><a href="#cb216-10" aria-hidden="true"></a>_There is no &lt;? HTML instruction ?&gt; support._</span>
+<span id="cb216-11"><a href="#cb216-11" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb216-12"><a href="#cb216-12" aria-hidden="true"></a></span>
+<span id="cb216-13"><a href="#cb216-13" aria-hidden="true"></a><span class="fu">\def\markdownOptionHtml</span>{true}</span>
+<span id="cb216-14"><a href="#cb216-14" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb216-15"><a href="#cb216-15" aria-hidden="true"></a>&lt;div&gt;</span>
+<span id="cb216-16"><a href="#cb216-16" aria-hidden="true"></a>*There is block tag support.*</span>
+<span id="cb216-17"><a href="#cb216-17" aria-hidden="true"></a>&lt;/div&gt;</span>
+<span id="cb216-18"><a href="#cb216-18" aria-hidden="true"></a>*There is &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</span>
+<span id="cb216-19"><a href="#cb216-19" aria-hidden="true"></a>_There is &lt;!-- comment --&gt; support._</span>
+<span id="cb216-20"><a href="#cb216-20" aria-hidden="true"></a>_There is &lt;? HTML instruction ?&gt; support._</span>
+<span id="cb216-21"><a href="#cb216-21" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb216-22"><a href="#cb216-22" aria-hidden="true"></a></span>
+<span id="cb216-23"><a href="#cb216-23" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb217"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb217-1"><a href="#cb217-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>&lt;div&gt;There is no block tag support.&lt;/div&gt; There is no &lt;inline tag=”tag”&gt;&lt;/inline&gt; support. There is no &lt;!– comment –&gt; support. There is no &lt;? HTML instruction ?&gt; support.</p>
<p>There is support. There is support. There is support.</p>
</blockquote>
-<h5 id="latex-example-16" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb218"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb218-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb218-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb218-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb218-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb218-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb218-6" data-line-number="6">&lt;div&gt;</a>
-<a class="sourceLine" id="cb218-7" data-line-number="7">*There is no block tag support.*</a>
-<a class="sourceLine" id="cb218-8" data-line-number="8">&lt;/div&gt;</a>
-<a class="sourceLine" id="cb218-9" data-line-number="9">*There is no &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</a>
-<a class="sourceLine" id="cb218-10" data-line-number="10">_There is no &lt;!-- comment --&gt; support._</a>
-<a class="sourceLine" id="cb218-11" data-line-number="11">_There is no &lt;? HTML instruction ?&gt; support._</a>
-<a class="sourceLine" id="cb218-12" data-line-number="12"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb218-13" data-line-number="13"></a>
-<a class="sourceLine" id="cb218-14" data-line-number="14"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{html}</a>
-<a class="sourceLine" id="cb218-15" data-line-number="15">&lt;div&gt;</a>
-<a class="sourceLine" id="cb218-16" data-line-number="16">*There is block tag support.*</a>
-<a class="sourceLine" id="cb218-17" data-line-number="17">&lt;/div&gt;</a>
-<a class="sourceLine" id="cb218-18" data-line-number="18">*There is &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</a>
-<a class="sourceLine" id="cb218-19" data-line-number="19">_There is &lt;!-- comment --&gt; support._</a>
-<a class="sourceLine" id="cb218-20" data-line-number="20">_There is &lt;? HTML instruction ?&gt; support._</a>
-<a class="sourceLine" id="cb218-21" data-line-number="21"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb218-22" data-line-number="22"></a>
-<a class="sourceLine" id="cb218-23" data-line-number="23"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb219"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb219-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-16"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb218"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb218-1"><a href="#cb218-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb218-2"><a href="#cb218-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb218-3"><a href="#cb218-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb218-4"><a href="#cb218-4" aria-hidden="true"></a></span>
+<span id="cb218-5"><a href="#cb218-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb218-6"><a href="#cb218-6" aria-hidden="true"></a>&lt;div&gt;</span>
+<span id="cb218-7"><a href="#cb218-7" aria-hidden="true"></a>*There is no block tag support.*</span>
+<span id="cb218-8"><a href="#cb218-8" aria-hidden="true"></a>&lt;/div&gt;</span>
+<span id="cb218-9"><a href="#cb218-9" aria-hidden="true"></a>*There is no &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</span>
+<span id="cb218-10"><a href="#cb218-10" aria-hidden="true"></a>_There is no &lt;!-- comment --&gt; support._</span>
+<span id="cb218-11"><a href="#cb218-11" aria-hidden="true"></a>_There is no &lt;? HTML instruction ?&gt; support._</span>
+<span id="cb218-12"><a href="#cb218-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb218-13"><a href="#cb218-13" aria-hidden="true"></a></span>
+<span id="cb218-14"><a href="#cb218-14" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{html}</span>
+<span id="cb218-15"><a href="#cb218-15" aria-hidden="true"></a>&lt;div&gt;</span>
+<span id="cb218-16"><a href="#cb218-16" aria-hidden="true"></a>*There is block tag support.*</span>
+<span id="cb218-17"><a href="#cb218-17" aria-hidden="true"></a>&lt;/div&gt;</span>
+<span id="cb218-18"><a href="#cb218-18" aria-hidden="true"></a>*There is &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</span>
+<span id="cb218-19"><a href="#cb218-19" aria-hidden="true"></a>_There is &lt;!-- comment --&gt; support._</span>
+<span id="cb218-20"><a href="#cb218-20" aria-hidden="true"></a>_There is &lt;? HTML instruction ?&gt; support._</span>
+<span id="cb218-21"><a href="#cb218-21" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb218-22"><a href="#cb218-22" aria-hidden="true"></a></span>
+<span id="cb218-23"><a href="#cb218-23" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb219"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb219-1"><a href="#cb219-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>&lt;div&gt;There is no block tag support.&lt;/div&gt; There is no &lt;inline tag=”tag”&gt;&lt;/inline&gt; support. There is no &lt;!– comment –&gt; support. There is no &lt;? HTML instruction ?&gt; support.</p>
<p>There is support. There is support. There is support.</p>
</blockquote>
-<h5 id="context-example-14" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb220"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb220-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb220-2" data-line-number="2"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb220-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb220-4" data-line-number="4"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb220-5" data-line-number="5">&lt;div&gt;</a>
-<a class="sourceLine" id="cb220-6" data-line-number="6">*There is no block tag support.*</a>
-<a class="sourceLine" id="cb220-7" data-line-number="7">&lt;/div&gt;</a>
-<a class="sourceLine" id="cb220-8" data-line-number="8">*There is no &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</a>
-<a class="sourceLine" id="cb220-9" data-line-number="9">_There is no &lt;!-- comment --&gt; support._</a>
-<a class="sourceLine" id="cb220-10" data-line-number="10">_There is no &lt;? HTML instruction ?&gt; support._</a>
-<a class="sourceLine" id="cb220-11" data-line-number="11"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb220-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb220-13" data-line-number="13"><span class="fu">\def</span>\markdownOptionHtml{true}</a>
-<a class="sourceLine" id="cb220-14" data-line-number="14"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb220-15" data-line-number="15">&lt;div&gt;</a>
-<a class="sourceLine" id="cb220-16" data-line-number="16">*There is block tag support.*</a>
-<a class="sourceLine" id="cb220-17" data-line-number="17">&lt;/div&gt;</a>
-<a class="sourceLine" id="cb220-18" data-line-number="18">*There is &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</a>
-<a class="sourceLine" id="cb220-19" data-line-number="19">_There is &lt;!-- comment --&gt; support._</a>
-<a class="sourceLine" id="cb220-20" data-line-number="20">_There is &lt;? HTML instruction ?&gt; support._</a>
-<a class="sourceLine" id="cb220-21" data-line-number="21"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb220-22" data-line-number="22"></a>
-<a class="sourceLine" id="cb220-23" data-line-number="23"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb221"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb221-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-14">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb220"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb220-1"><a href="#cb220-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb220-2"><a href="#cb220-2" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb220-3"><a href="#cb220-3" aria-hidden="true"></a></span>
+<span id="cb220-4"><a href="#cb220-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb220-5"><a href="#cb220-5" aria-hidden="true"></a>&lt;div&gt;</span>
+<span id="cb220-6"><a href="#cb220-6" aria-hidden="true"></a>*There is no block tag support.*</span>
+<span id="cb220-7"><a href="#cb220-7" aria-hidden="true"></a>&lt;/div&gt;</span>
+<span id="cb220-8"><a href="#cb220-8" aria-hidden="true"></a>*There is no &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</span>
+<span id="cb220-9"><a href="#cb220-9" aria-hidden="true"></a>_There is no &lt;!-- comment --&gt; support._</span>
+<span id="cb220-10"><a href="#cb220-10" aria-hidden="true"></a>_There is no &lt;? HTML instruction ?&gt; support._</span>
+<span id="cb220-11"><a href="#cb220-11" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb220-12"><a href="#cb220-12" aria-hidden="true"></a></span>
+<span id="cb220-13"><a href="#cb220-13" aria-hidden="true"></a><span class="fu">\def\markdownOptionHtml</span>{true}</span>
+<span id="cb220-14"><a href="#cb220-14" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb220-15"><a href="#cb220-15" aria-hidden="true"></a>&lt;div&gt;</span>
+<span id="cb220-16"><a href="#cb220-16" aria-hidden="true"></a>*There is block tag support.*</span>
+<span id="cb220-17"><a href="#cb220-17" aria-hidden="true"></a>&lt;/div&gt;</span>
+<span id="cb220-18"><a href="#cb220-18" aria-hidden="true"></a>*There is &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</span>
+<span id="cb220-19"><a href="#cb220-19" aria-hidden="true"></a>_There is &lt;!-- comment --&gt; support._</span>
+<span id="cb220-20"><a href="#cb220-20" aria-hidden="true"></a>_There is &lt;? HTML instruction ?&gt; support._</span>
+<span id="cb220-21"><a href="#cb220-21" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb220-22"><a href="#cb220-22" aria-hidden="true"></a></span>
+<span id="cb220-23"><a href="#cb220-23" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb221"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb221-1"><a href="#cb221-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>&lt;div&gt;There is no block tag support.&lt;/div&gt; There is no &lt;inline tag=”tag”&gt;&lt;/inline&gt; support. There is no &lt;!– comment –&gt; support. There is no &lt;? HTML instruction ?&gt; support.</p>
<p>There is support. There is support. There is support.</p>
</blockquote>
-<h4 id="option-hybrid"><span class="header-section-number">2.2.1.20</span> Option <code>hybrid</code></h4>
+<h4 data-number="2.2.1.20" id="option-hybrid"><span class="header-section-number">2.2.1.20</span> Option <code>hybrid</code></h4>
<dl>
<dt><code>hybrid</code> (default value: <code>true</code>)</dt>
<dd><dl>
@@ -2411,127 +2425,130 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 id="lua-module-example-9" class="unnumbered">Lua Module Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb222"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb222-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb222-2" data-line-number="2"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb222-3" data-line-number="3"><span class="fu">\directlua</span>{</a>
-<a class="sourceLine" id="cb222-4" data-line-number="4"> local markdown = require(&quot;markdown&quot;)</a>
-<a class="sourceLine" id="cb222-5" data-line-number="5"> local input, convert_safe, convert_unsafe, paragraph</a>
-<a class="sourceLine" id="cb222-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb222-7" data-line-number="7"> input = [[<span class="ss">$</span><span class="sc">\string\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.]]</a>
-<a class="sourceLine" id="cb222-8" data-line-number="8"> convert_safe = markdown.new()</a>
-<a class="sourceLine" id="cb222-9" data-line-number="9"> convert_unsafe = markdown.new({hybrid = true})</a>
-<a class="sourceLine" id="cb222-10" data-line-number="10"> paragraph = [[<span class="fu">\par</span>]]</a>
-<a class="sourceLine" id="cb222-11" data-line-number="11"></a>
-<a class="sourceLine" id="cb222-12" data-line-number="12"> tex.sprint(</a>
-<a class="sourceLine" id="cb222-13" data-line-number="13"> convert_safe(input) .. paragraph ..</a>
-<a class="sourceLine" id="cb222-14" data-line-number="14"> convert_unsafe(input)</a>
-<a class="sourceLine" id="cb222-15" data-line-number="15"> )</a>
-<a class="sourceLine" id="cb222-16" data-line-number="16">}</a>
-<a class="sourceLine" id="cb222-17" data-line-number="17"><span class="fu">\bye</span></a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="lua-module-example-9">Lua Module Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb222"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb222-1"><a href="#cb222-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb222-2"><a href="#cb222-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb222-3"><a href="#cb222-3" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
+<span id="cb222-4"><a href="#cb222-4" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
+<span id="cb222-5"><a href="#cb222-5" aria-hidden="true"></a> local input, convert_safe, convert_unsafe, paragraph</span>
+<span id="cb222-6"><a href="#cb222-6" aria-hidden="true"></a></span>
+<span id="cb222-7"><a href="#cb222-7" aria-hidden="true"></a> input = [[<span class="ss">$</span><span class="sc">\string\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.]]</span>
+<span id="cb222-8"><a href="#cb222-8" aria-hidden="true"></a> convert_safe = markdown.new()</span>
+<span id="cb222-9"><a href="#cb222-9" aria-hidden="true"></a> convert_unsafe = markdown.new({hybrid = true})</span>
+<span id="cb222-10"><a href="#cb222-10" aria-hidden="true"></a> paragraph = [[<span class="fu">\par</span>]]</span>
+<span id="cb222-11"><a href="#cb222-11" aria-hidden="true"></a></span>
+<span id="cb222-12"><a href="#cb222-12" aria-hidden="true"></a> tex.sprint(</span>
+<span id="cb222-13"><a href="#cb222-13" aria-hidden="true"></a> convert_safe(input) .. paragraph ..</span>
+<span id="cb222-14"><a href="#cb222-14" aria-hidden="true"></a> convert_unsafe(input)</span>
+<span id="cb222-15"><a href="#cb222-15" aria-hidden="true"></a> )</span>
+<span id="cb222-16"><a href="#cb222-16" aria-hidden="true"></a>}</span>
+<span id="cb222-17"><a href="#cb222-17" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Then, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb223"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb223-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb223"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb223-1"><a href="#cb223-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>$\sqrt {-1}$ <em>equals</em> $i$.</p>
<p>√-̅1̅ <em>equals</em> <span class="math inline"><em>i</em></span>.</p>
</blockquote>
-<h5 id="lua-cli-example-8" class="unnumbered">Lua CLI Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb224"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb224-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb224-2" data-line-number="2"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb224-3" data-line-number="3"><span class="fu">\input</span> optionfalse</a>
-<a class="sourceLine" id="cb224-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb224-5" data-line-number="5"><span class="fu">\input</span> optiontrue</a>
-<a class="sourceLine" id="cb224-6" data-line-number="6"><span class="fu">\bye</span></a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="lua-cli-example-8">Lua CLI Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb224"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb224-1"><a href="#cb224-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb224-2"><a href="#cb224-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb224-3"><a href="#cb224-3" aria-hidden="true"></a><span class="fu">\input</span> optionfalse</span>
+<span id="cb224-4"><a href="#cb224-4" aria-hidden="true"></a></span>
+<span id="cb224-5"><a href="#cb224-5" aria-hidden="true"></a><span class="fu">\begingroup</span></span>
+<span id="cb224-6"><a href="#cb224-6" aria-hidden="true"></a><span class="fu">\catcode</span>`<span class="fu">\%</span>=12</span>
+<span id="cb224-7"><a href="#cb224-7" aria-hidden="true"></a><span class="fu">\input</span> optiontrue</span>
+<span id="cb224-8"><a href="#cb224-8" aria-hidden="true"></a><span class="fu">\endgroup</span></span>
+<span id="cb224-9"><a href="#cb224-9" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Using a text editor, create a text document named <code>content.md</code> with the following content:</p>
-<div class="sourceCode" id="cb225"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb225-1" data-line-number="1">$\sqrt{-1}$ *equals* $i$.</a></code></pre></div>
+<div class="sourceCode" id="cb225"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb225-1"><a href="#cb225-1" aria-hidden="true"></a>$\sqrt{-1}$ *equals* $i$.</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb226"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb226-1" data-line-number="1"><span class="ex">texlua</span> ⟨CLI pathname⟩ -- content.md optionfalse.tex</a>
-<a class="sourceLine" id="cb226-2" data-line-number="2"><span class="ex">texlua</span> ⟨CLI pathname⟩ hybrid=true -- content.md optiontrue.tex</a>
-<a class="sourceLine" id="cb226-3" data-line-number="3"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb226"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb226-1"><a href="#cb226-1" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ -- content.md optionfalse.tex</span>
+<span id="cb226-2"><a href="#cb226-2" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ hybrid=true -- content.md optiontrue.tex</span>
+<span id="cb226-3"><a href="#cb226-3" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>where ⟨<em>CLI pathname</em>⟩ corresponds to the location of the Lua CLI script file, such as <code>~/texmf/scripts/markdown/markdown-cli.lua</code> on UN*X systems or <code>C:\Users\</code>⟨<em>Your username</em>⟩<code>\texmf\scripts\markdown\markdown-cli.lua</code> on Windows systems. Use the command <code>kpsewhich -a markdown-cli.lua</code> to locate the Lua CLI script file using <a href="https://tug.org/kpathsea/" title="Kpathsea - TeX Users Group">Kpathsea</a>.</p>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>$\sqrt {-1}$ <em>equals</em> $i$.</p>
<p>√-̅1̅ <em>equals</em> <span class="math inline"><em>i</em></span>.</p>
</blockquote>
-<h5 id="plain-tex-example-9" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb227"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb227-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb227-2" data-line-number="2"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb227-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb227-4" data-line-number="4"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb227-5" data-line-number="5"><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</a>
-<a class="sourceLine" id="cb227-6" data-line-number="6"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb227-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb227-8" data-line-number="8"><span class="fu">\def</span>\markdownOptionHybrid{true}</a>
-<a class="sourceLine" id="cb227-9" data-line-number="9"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb227-10" data-line-number="10"><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</a>
-<a class="sourceLine" id="cb227-11" data-line-number="11"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb227-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb227-13" data-line-number="13"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb228"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb228-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-9">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb227"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb227-1"><a href="#cb227-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb227-2"><a href="#cb227-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb227-3"><a href="#cb227-3" aria-hidden="true"></a></span>
+<span id="cb227-4"><a href="#cb227-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb227-5"><a href="#cb227-5" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
+<span id="cb227-6"><a href="#cb227-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb227-7"><a href="#cb227-7" aria-hidden="true"></a></span>
+<span id="cb227-8"><a href="#cb227-8" aria-hidden="true"></a><span class="fu">\def\markdownOptionHybrid</span>{true}</span>
+<span id="cb227-9"><a href="#cb227-9" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb227-10"><a href="#cb227-10" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
+<span id="cb227-11"><a href="#cb227-11" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb227-12"><a href="#cb227-12" aria-hidden="true"></a></span>
+<span id="cb227-13"><a href="#cb227-13" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb228"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb228-1"><a href="#cb228-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>$\sqrt {-1}$ <em>equals</em> $i$.</p>
<p>√-̅1̅ <em>equals</em> <span class="math inline"><em>i</em></span>.</p>
</blockquote>
-<h5 id="latex-example-17" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb229"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb229-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb229-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb229-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb229-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb229-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb229-6" data-line-number="6"><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</a>
-<a class="sourceLine" id="cb229-7" data-line-number="7"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb229-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb229-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{hybrid}</a>
-<a class="sourceLine" id="cb229-10" data-line-number="10"><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</a>
-<a class="sourceLine" id="cb229-11" data-line-number="11"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb229-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb229-13" data-line-number="13"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb230"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb230-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-17"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb229"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb229-1"><a href="#cb229-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb229-2"><a href="#cb229-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb229-3"><a href="#cb229-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb229-4"><a href="#cb229-4" aria-hidden="true"></a></span>
+<span id="cb229-5"><a href="#cb229-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb229-6"><a href="#cb229-6" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
+<span id="cb229-7"><a href="#cb229-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb229-8"><a href="#cb229-8" aria-hidden="true"></a></span>
+<span id="cb229-9"><a href="#cb229-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{hybrid}</span>
+<span id="cb229-10"><a href="#cb229-10" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
+<span id="cb229-11"><a href="#cb229-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb229-12"><a href="#cb229-12" aria-hidden="true"></a></span>
+<span id="cb229-13"><a href="#cb229-13" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb230"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb230-1"><a href="#cb230-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>$\sqrt {-1}$ <em>equals</em> $i$.</p>
<p>√-̅1̅ <em>equals</em> <span class="math inline"><em>i</em></span>.</p>
</blockquote>
-<h5 id="context-example-15" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb231"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb231-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb231-2" data-line-number="2"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb231-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb231-4" data-line-number="4"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb231-5" data-line-number="5"><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</a>
-<a class="sourceLine" id="cb231-6" data-line-number="6"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb231-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb231-8" data-line-number="8"><span class="fu">\def</span>\markdownOptionHybrid{true}</a>
-<a class="sourceLine" id="cb231-9" data-line-number="9"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb231-10" data-line-number="10"><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</a>
-<a class="sourceLine" id="cb231-11" data-line-number="11"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb231-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb231-13" data-line-number="13"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb232"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb232-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-15">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb231"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb231-1"><a href="#cb231-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb231-2"><a href="#cb231-2" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb231-3"><a href="#cb231-3" aria-hidden="true"></a></span>
+<span id="cb231-4"><a href="#cb231-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb231-5"><a href="#cb231-5" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
+<span id="cb231-6"><a href="#cb231-6" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb231-7"><a href="#cb231-7" aria-hidden="true"></a></span>
+<span id="cb231-8"><a href="#cb231-8" aria-hidden="true"></a><span class="fu">\def\markdownOptionHybrid</span>{true}</span>
+<span id="cb231-9"><a href="#cb231-9" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb231-10"><a href="#cb231-10" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
+<span id="cb231-11"><a href="#cb231-11" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb231-12"><a href="#cb231-12" aria-hidden="true"></a></span>
+<span id="cb231-13"><a href="#cb231-13" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb232"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb232-1"><a href="#cb232-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>$\sqrt {-1}$ <em>equals</em> $i$.</p>
<p>√-̅1̅ <em>equals</em> <span class="math inline"><em>i</em></span>.</p>
</blockquote>
-<h4 id="option-inlinefootnotes"><span class="header-section-number">2.2.1.21</span> Option <code>inlineFootnotes</code></h4>
+<h4 data-number="2.2.1.21" id="option-inlinefootnotes"><span class="header-section-number">2.2.1.21</span> Option <code>inlineFootnotes</code></h4>
<dl>
<dt><code>inlineFootnotes</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Enable the pandoc inline footnote syntax extension:</p>
-<div class="sourceCode" id="cb233"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb233-1" data-line-number="1">Here is an inline note.^[Inlines notes are easier to</a>
-<a class="sourceLine" id="cb233-2" data-line-number="2">write, since you don&#39;t have to pick an identifier and</a>
-<a class="sourceLine" id="cb233-3" data-line-number="3">move down to type the note.]</a></code></pre></div>
+<div class="sourceCode" id="cb233"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb233-1"><a href="#cb233-1" aria-hidden="true"></a>Here is an inline note.^[Inlines notes are easier to</span>
+<span id="cb233-2"><a href="#cb233-2" aria-hidden="true"></a>write, since you don&#39;t have to pick an identifier and</span>
+<span id="cb233-3"><a href="#cb233-3" aria-hidden="true"></a>move down to type the note.]</span></code></pre></div>
</dd>
</dl>
</dd>
@@ -2542,52 +2559,51 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 id="latex-example-18" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb234"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb234-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb234-2" data-line-number="2"><span class="bu">\usepackage</span>[footnotes, inlineFootnotes]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb234-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb234-4" data-line-number="4"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb234-5" data-line-number="5">Here is an inline note.^[Inlines notes are easier to</a>
-<a class="sourceLine" id="cb234-6" data-line-number="6">write, since you don&#39;t have to pick an identifier and</a>
-<a class="sourceLine" id="cb234-7" data-line-number="7">move down to type the note.]</a>
-<a class="sourceLine" id="cb234-8" data-line-number="8"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb234-9" data-line-number="9"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb235"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb235-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-18"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb234"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb234-1"><a href="#cb234-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb234-2"><a href="#cb234-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[inlineFootnotes]{<span class="ex">markdown</span>}</span>
+<span id="cb234-3"><a href="#cb234-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb234-4"><a href="#cb234-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb234-5"><a href="#cb234-5" aria-hidden="true"></a>Here is an inline note.^[Inlines notes are easier to</span>
+<span id="cb234-6"><a href="#cb234-6" aria-hidden="true"></a>write, since you don&#39;t have to pick an identifier and</span>
+<span id="cb234-7"><a href="#cb234-7" aria-hidden="true"></a>move down to type the note.]</span>
+<span id="cb234-8"><a href="#cb234-8" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb234-9"><a href="#cb234-9" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb235"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb235-1"><a href="#cb235-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
-<p>Here is an inline note.<a href="#fn5" class="footnote-ref" id="fnref5"><sup>5</sup></a></p>
+<p>Here is an inline note.<a href="#fn5" class="footnote-ref" id="fnref5" role="doc-noteref"><sup>5</sup></a></p>
</blockquote>
-<h5 id="context-example-16" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-16">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb236"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb236-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb236-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionFootnotes{true}</a>
-<a class="sourceLine" id="cb236-3" data-line-number="3"><span class="fu">\def</span>\markdownOptionInlineFootnotes{true}</a>
-<a class="sourceLine" id="cb236-4" data-line-number="4"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb236-5" data-line-number="5"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb236-6" data-line-number="6">Here is an inline note.^[Inlines notes are easier to</a>
-<a class="sourceLine" id="cb236-7" data-line-number="7">write, since you don&#39;t have to pick an identifier and</a>
-<a class="sourceLine" id="cb236-8" data-line-number="8">move down to type the note.]</a>
-<a class="sourceLine" id="cb236-9" data-line-number="9"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb236-10" data-line-number="10"><span class="fu">\stoptext</span></a></code></pre></div>
+<div class="sourceCode" id="cb236"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb236-1"><a href="#cb236-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb236-2"><a href="#cb236-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionInlineFootnotes</span>{true}</span>
+<span id="cb236-3"><a href="#cb236-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb236-4"><a href="#cb236-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb236-5"><a href="#cb236-5" aria-hidden="true"></a>Here is an inline note.^[Inlines notes are easier to</span>
+<span id="cb236-6"><a href="#cb236-6" aria-hidden="true"></a>write, since you don&#39;t have to pick an identifier and</span>
+<span id="cb236-7"><a href="#cb236-7" aria-hidden="true"></a>move down to type the note.]</span>
+<span id="cb236-8"><a href="#cb236-8" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb236-9"><a href="#cb236-9" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb237"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb237-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb237"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb237-1"><a href="#cb237-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
-<p>Here is an inline note.<a href="#fn6" class="footnote-ref" id="fnref6"><sup>6</sup></a></p>
+<p>Here is an inline note.<a href="#fn6" class="footnote-ref" id="fnref6" role="doc-noteref"><sup>6</sup></a></p>
</blockquote>
-<h4 id="pipe-tables"><span class="header-section-number">2.2.1.22</span> Option <code>pipeTables</code></h4>
+<h4 data-number="2.2.1.22" id="pipe-tables"><span class="header-section-number">2.2.1.22</span> Option <code>pipeTables</code></h4>
<dl>
<dt><code>pipeTables</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Enable the <abbr>PHP</abbr> Markdown table syntax extension:</p>
-<div class="sourceCode" id="cb238"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb238-1" data-line-number="1">| Right | Left | Default | Center |</a>
-<a class="sourceLine" id="cb238-2" data-line-number="2">|------:|:-----|---------|:------:|</a>
-<a class="sourceLine" id="cb238-3" data-line-number="3">| 12 | 12 | 12 | 12 |</a>
-<a class="sourceLine" id="cb238-4" data-line-number="4">| 123 | 123 | 123 | 123 |</a>
-<a class="sourceLine" id="cb238-5" data-line-number="5">| 1 | 1 | 1 | 1 |</a></code></pre></div>
+<div class="sourceCode" id="cb238"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb238-1"><a href="#cb238-1" aria-hidden="true"></a>| Right | Left | Default | Center |</span>
+<span id="cb238-2"><a href="#cb238-2" aria-hidden="true"></a>|------:|:-----|---------|:------:|</span>
+<span id="cb238-3"><a href="#cb238-3" aria-hidden="true"></a>| 12 | 12 | 12 | 12 |</span>
+<span id="cb238-4"><a href="#cb238-4" aria-hidden="true"></a>| 123 | 123 | 123 | 123 |</span>
+<span id="cb238-5"><a href="#cb238-5" aria-hidden="true"></a>| 1 | 1 | 1 | 1 |</span></code></pre></div>
</dd>
</dl>
</dd>
@@ -2598,21 +2614,21 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 id="latex-example-19" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb239"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb239-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb239-2" data-line-number="2"><span class="bu">\usepackage</span>[pipeTables]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb239-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb239-4" data-line-number="4"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb239-5" data-line-number="5">| Right | Left | Default | Center |</a>
-<a class="sourceLine" id="cb239-6" data-line-number="6">|------:|:-----|---------|:------:|</a>
-<a class="sourceLine" id="cb239-7" data-line-number="7">| 12 | 12 | 12 | 12 |</a>
-<a class="sourceLine" id="cb239-8" data-line-number="8">| 123 | 123 | 123 | 123 |</a>
-<a class="sourceLine" id="cb239-9" data-line-number="9">| 1 | 1 | 1 | 1 |</a>
-<a class="sourceLine" id="cb239-10" data-line-number="10"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb239-11" data-line-number="11"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb240"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb240-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-19"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb239"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb239-1"><a href="#cb239-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb239-2"><a href="#cb239-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[pipeTables]{<span class="ex">markdown</span>}</span>
+<span id="cb239-3"><a href="#cb239-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb239-4"><a href="#cb239-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb239-5"><a href="#cb239-5" aria-hidden="true"></a>| Right | Left | Default | Center |</span>
+<span id="cb239-6"><a href="#cb239-6" aria-hidden="true"></a>|------:|:-----|---------|:------:|</span>
+<span id="cb239-7"><a href="#cb239-7" aria-hidden="true"></a>| 12 | 12 | 12 | 12 |</span>
+<span id="cb239-8"><a href="#cb239-8" aria-hidden="true"></a>| 123 | 123 | 123 | 123 |</span>
+<span id="cb239-9"><a href="#cb239-9" aria-hidden="true"></a>| 1 | 1 | 1 | 1 |</span>
+<span id="cb239-10"><a href="#cb239-10" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb239-11"><a href="#cb239-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb240"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb240-1"><a href="#cb240-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<table>
@@ -2646,21 +2662,21 @@ Thomas,Edison,1847</code></pre>
</tbody>
</table>
</blockquote>
-<h5 id="context-example-17" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb241"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb241-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb241-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionPipeTables{true}</a>
-<a class="sourceLine" id="cb241-3" data-line-number="3"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb241-4" data-line-number="4"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb241-5" data-line-number="5">| Right | Left | Default | Center |</a>
-<a class="sourceLine" id="cb241-6" data-line-number="6">|------:|:-----|---------|:------:|</a>
-<a class="sourceLine" id="cb241-7" data-line-number="7">| 12 | 12 | 12 | 12 |</a>
-<a class="sourceLine" id="cb241-8" data-line-number="8">| 123 | 123 | 123 | 123 |</a>
-<a class="sourceLine" id="cb241-9" data-line-number="9">| 1 | 1 | 1 | 1 |</a>
-<a class="sourceLine" id="cb241-10" data-line-number="10"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb241-11" data-line-number="11"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb242"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb242-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-17">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb241"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb241-1"><a href="#cb241-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb241-2"><a href="#cb241-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionPipeTables</span>{true}</span>
+<span id="cb241-3"><a href="#cb241-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb241-4"><a href="#cb241-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb241-5"><a href="#cb241-5" aria-hidden="true"></a>| Right | Left | Default | Center |</span>
+<span id="cb241-6"><a href="#cb241-6" aria-hidden="true"></a>|------:|:-----|---------|:------:|</span>
+<span id="cb241-7"><a href="#cb241-7" aria-hidden="true"></a>| 12 | 12 | 12 | 12 |</span>
+<span id="cb241-8"><a href="#cb241-8" aria-hidden="true"></a>| 123 | 123 | 123 | 123 |</span>
+<span id="cb241-9"><a href="#cb241-9" aria-hidden="true"></a>| 1 | 1 | 1 | 1 |</span>
+<span id="cb241-10"><a href="#cb241-10" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb241-11"><a href="#cb241-11" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb242"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb242-1"><a href="#cb242-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<table>
@@ -2694,7 +2710,7 @@ Thomas,Edison,1847</code></pre>
</tbody>
</table>
</blockquote>
-<h4 id="option-preservetabs"><span class="header-section-number">2.2.1.23</span> Option <code>preserveTabs</code></h4>
+<h4 data-number="2.2.1.23" id="option-preservetabs"><span class="header-section-number">2.2.1.23</span> Option <code>preserveTabs</code></h4>
<dl>
<dt><code>preserveTabs</code> (default value: <code>false</code>)</dt>
<dd><dl>
@@ -2710,89 +2726,88 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h4 id="option-shiftheadings"><span class="header-section-number">2.2.1.24</span> Option <code>shiftHeadings</code></h4>
+<h4 data-number="2.2.1.24" id="option-shiftheadings"><span class="header-section-number">2.2.1.24</span> Option <code>shiftHeadings</code></h4>
<dl>
<dt><code>shiftHeadings</code> (default value: <code>0</code>)</dt>
<dd><p>All headings will be shifted by ⟨<em>shift amount</em>⟩, which can be both positive and negative. Headings will not be shifted beyond level 6 or below level 1. Instead, those headings will be shifted to level 6, when ⟨<em>shift amount</em>⟩ is positive, and to level 1, when ⟨<em>shift amount</em>⟩ is negative.</p>
</dd>
</dl>
-<h5 id="plain-tex-example-10" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-10">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>example.md</code> with the following content:</p>
-<div class="sourceCode" id="cb243"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb243-1" data-line-number="1"><span class="fu">## A section</span></a></code></pre></div>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb244"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb244-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb244-2" data-line-number="2"></a>
-<a class="sourceLine" id="cb244-3" data-line-number="3"><span class="fu">\font\normal</span>=cmr10<span class="fu">\normal</span></a>
-<a class="sourceLine" id="cb244-4" data-line-number="4"><span class="fu">\font\big</span>=cmr10 at 12pt</a>
-<a class="sourceLine" id="cb244-5" data-line-number="5"><span class="fu">\def</span>\markdownRendererHeadingTwo#1{{\big #1\par}}</a>
-<a class="sourceLine" id="cb244-6" data-line-number="6"><span class="fu">\font\bigger</span>=cmr10 scaled 1440</a>
-<a class="sourceLine" id="cb244-7" data-line-number="7"><span class="fu">\def</span>\markdownRendererHeadingOne#1{{\bigger #1\par}}</a>
-<a class="sourceLine" id="cb244-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb244-9" data-line-number="9"><span class="fu">\def</span>\markdownOptionShiftHeadings{-1}</a>
-<a class="sourceLine" id="cb244-10" data-line-number="10"><span class="fu">\markdownInput</span>{example.md}</a>
-<a class="sourceLine" id="cb244-11" data-line-number="11"></a>
-<a class="sourceLine" id="cb244-12" data-line-number="12"><span class="fu">\def</span>\markdownOptionShiftHeadings{0}</a>
-<a class="sourceLine" id="cb244-13" data-line-number="13"><span class="fu">\markdownInput</span>{example.md}</a>
-<a class="sourceLine" id="cb244-14" data-line-number="14"></a>
-<a class="sourceLine" id="cb244-15" data-line-number="15"><span class="fu">\def</span>\markdownOptionShiftHeadings{+1}</a>
-<a class="sourceLine" id="cb244-16" data-line-number="16"><span class="fu">\markdownInput</span>{example.md}</a>
-<a class="sourceLine" id="cb244-17" data-line-number="17"></a>
-<a class="sourceLine" id="cb244-18" data-line-number="18"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb245"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb245-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb243"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb243-1"><a href="#cb243-1" aria-hidden="true"></a><span class="fu">## A section</span></span></code></pre></div>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb244"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb244-1"><a href="#cb244-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb244-2"><a href="#cb244-2" aria-hidden="true"></a></span>
+<span id="cb244-3"><a href="#cb244-3" aria-hidden="true"></a><span class="fu">\font\normal</span>=cmr10<span class="fu">\normal</span></span>
+<span id="cb244-4"><a href="#cb244-4" aria-hidden="true"></a><span class="fu">\font\big</span>=cmr10 at 12pt</span>
+<span id="cb244-5"><a href="#cb244-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingTwo</span>#1{{<span class="fu">\big</span> #1<span class="fu">\par</span>}}</span>
+<span id="cb244-6"><a href="#cb244-6" aria-hidden="true"></a><span class="fu">\font\bigger</span>=cmr10 scaled 1440</span>
+<span id="cb244-7"><a href="#cb244-7" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingOne</span>#1{{<span class="fu">\bigger</span> #1<span class="fu">\par</span>}}</span>
+<span id="cb244-8"><a href="#cb244-8" aria-hidden="true"></a></span>
+<span id="cb244-9"><a href="#cb244-9" aria-hidden="true"></a><span class="fu">\def\markdownOptionShiftHeadings</span>{-1}</span>
+<span id="cb244-10"><a href="#cb244-10" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
+<span id="cb244-11"><a href="#cb244-11" aria-hidden="true"></a></span>
+<span id="cb244-12"><a href="#cb244-12" aria-hidden="true"></a><span class="fu">\def\markdownOptionShiftHeadings</span>{0}</span>
+<span id="cb244-13"><a href="#cb244-13" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
+<span id="cb244-14"><a href="#cb244-14" aria-hidden="true"></a></span>
+<span id="cb244-15"><a href="#cb244-15" aria-hidden="true"></a><span class="fu">\def\markdownOptionShiftHeadings</span>{+1}</span>
+<span id="cb244-16"><a href="#cb244-16" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
+<span id="cb244-17"><a href="#cb244-17" aria-hidden="true"></a></span>
+<span id="cb244-18"><a href="#cb244-18" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb245"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb245-1"><a href="#cb245-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<h1 id="a-section">A section</h1>
<h2 id="a-section-1">A section</h2>
<h3 id="a-section-2">A section</h3>
</blockquote>
-<h5 id="latex-example-20" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb246"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb246-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb246-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb246-3" data-line-number="3"><span class="bu">\usepackage</span>{<span class="ex">filecontents</span>}</a>
-<a class="sourceLine" id="cb246-4" data-line-number="4"><span class="kw">\begin</span>{<span class="ex">filecontents*</span>}{example.md}</a>
-<a class="sourceLine" id="cb246-5" data-line-number="5">## A section</a>
-<a class="sourceLine" id="cb246-6" data-line-number="6"><span class="kw">\end</span>{<span class="ex">filecontents*</span>}</a>
-<a class="sourceLine" id="cb246-7" data-line-number="7"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb246-8" data-line-number="8"><span class="fu">\markdownInput</span>[shiftHeadings=-1]{example.md}</a>
-<a class="sourceLine" id="cb246-9" data-line-number="9"><span class="fu">\markdownInput</span>{example.md}</a>
-<a class="sourceLine" id="cb246-10" data-line-number="10"><span class="fu">\markdownInput</span>[shiftHeadings=+1]{example.md}</a>
-<a class="sourceLine" id="cb246-11" data-line-number="11"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb247"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb247-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-20"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb246"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb246-1"><a href="#cb246-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb246-2"><a href="#cb246-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb246-3"><a href="#cb246-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">filecontents</span>}[overwrite,nosearch,noheader]{example.md}</span>
+<span id="cb246-4"><a href="#cb246-4" aria-hidden="true"></a>## A section</span>
+<span id="cb246-5"><a href="#cb246-5" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">filecontents</span>}</span>
+<span id="cb246-6"><a href="#cb246-6" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb246-7"><a href="#cb246-7" aria-hidden="true"></a><span class="fu">\markdownInput</span>[shiftHeadings=-1]{example.md}</span>
+<span id="cb246-8"><a href="#cb246-8" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
+<span id="cb246-9"><a href="#cb246-9" aria-hidden="true"></a><span class="fu">\markdownInput</span>[shiftHeadings=+1]{example.md}</span>
+<span id="cb246-10"><a href="#cb246-10" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb247"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb247-1"><a href="#cb247-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<h1 id="a-section-3">A section</h1>
<h2 id="a-section-4">A section</h2>
<h3 id="a-section-5">A section</h3>
</blockquote>
-<h5 id="context-example-18" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-18">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>example.md</code> with the following content:</p>
-<div class="sourceCode" id="cb248"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb248-1" data-line-number="1"><span class="fu">## A section</span></a></code></pre></div>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb249"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb249-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb249-2" data-line-number="2"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb249-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb249-4" data-line-number="4"><span class="fu">\def</span>\markdownOptionShiftHeadings{-1}</a>
-<a class="sourceLine" id="cb249-5" data-line-number="5"><span class="fu">\markdownInput</span>{example.md}</a>
-<a class="sourceLine" id="cb249-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb249-7" data-line-number="7"><span class="fu">\def</span>\markdownOptionShiftHeadings{0}</a>
-<a class="sourceLine" id="cb249-8" data-line-number="8"><span class="fu">\markdownInput</span>{example.md}</a>
-<a class="sourceLine" id="cb249-9" data-line-number="9"></a>
-<a class="sourceLine" id="cb249-10" data-line-number="10"><span class="fu">\def</span>\markdownOptionShiftHeadings{+1}</a>
-<a class="sourceLine" id="cb249-11" data-line-number="11"><span class="fu">\markdownInput</span>{example.md}</a>
-<a class="sourceLine" id="cb249-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb249-13" data-line-number="13"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb250"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb250-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb248"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb248-1"><a href="#cb248-1" aria-hidden="true"></a><span class="fu">## A section</span></span></code></pre></div>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb249"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb249-1"><a href="#cb249-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb249-2"><a href="#cb249-2" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb249-3"><a href="#cb249-3" aria-hidden="true"></a></span>
+<span id="cb249-4"><a href="#cb249-4" aria-hidden="true"></a><span class="fu">\def\markdownOptionShiftHeadings</span>{-1}</span>
+<span id="cb249-5"><a href="#cb249-5" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
+<span id="cb249-6"><a href="#cb249-6" aria-hidden="true"></a></span>
+<span id="cb249-7"><a href="#cb249-7" aria-hidden="true"></a><span class="fu">\def\markdownOptionShiftHeadings</span>{0}</span>
+<span id="cb249-8"><a href="#cb249-8" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
+<span id="cb249-9"><a href="#cb249-9" aria-hidden="true"></a></span>
+<span id="cb249-10"><a href="#cb249-10" aria-hidden="true"></a><span class="fu">\def\markdownOptionShiftHeadings</span>{+1}</span>
+<span id="cb249-11"><a href="#cb249-11" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
+<span id="cb249-12"><a href="#cb249-12" aria-hidden="true"></a></span>
+<span id="cb249-13"><a href="#cb249-13" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb250"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb250-1"><a href="#cb250-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<h1 id="a-section-6">A section</h1>
<h2 id="a-section-7">A section</h2>
<h3 id="a-section-8">A section</h3>
</blockquote>
-<h4 id="slice"><span class="header-section-number">2.2.1.25</span> Option <code>slice</code></h4>
+<h4 data-number="2.2.1.25" id="slice"><span class="header-section-number">2.2.1.25</span> Option <code>slice</code></h4>
<dl>
<dt><code>slice</code> (default value: <code>^ $</code>)</dt>
<dd><p>Two space-separated selectors that specify the slice of a document that will be processed, whereas the remainder of the document will be ignored. The following selectors are recognized:</p>
@@ -2803,44 +2818,44 @@ Thomas,Edison,1847</code></pre>
<li><code>$</code>⟨<em>identifier</em>⟩ selects the end of a section with the <abbr>HTML</abbr> attribute <code>#</code>⟨<em>identifier</em>⟩.</li>
<li>⟨<em>identifier</em>⟩ corresponds to <code>^</code>⟨<em>identifier</em>⟩ for the first selector and to <code>$</code>⟨<em>identifier</em>⟩ for the second selector.</li>
</ul>
-<p>Specifying only a single selector, ⟨<em>identifier</em>⟩, is equivalent to specifying the two selectors ⟨<em>identifier</em>⟩ ⟨<em>identifier</em>⟩, which is equivalent to <code>^</code>⟨<em>identifier</em>⟩ <code>$</code>⟨<em>identifier</em>⟩, i.e. the entire section with the <abbr>HTML</abbr> attribute <code>#</code>⟨<em>identifier</em>⟩ will be selected.</p>
+<p>Specifying only a single selector, ⟨<em>identifier</em>⟩, is equivalent to specifying the two selectors ⟨<em>identifier</em>⟩ ⟨<em>identifier</em>⟩, which is equivalent to <code>^</code>⟨<em>identifier</em>⟩ <code>$</code>⟨<em>identifier</em>⟩, i.e. the entire section with the <abbr>HTML</abbr> attribute <code>#</code>⟨<em>identifier</em>⟩ will be selected.</p>
</dd>
</dl>
-<h5 id="plain-tex-example-11" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-11">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>hamlet.md</code> with the following content:</p>
-<div class="sourceCode" id="cb251"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb251-1" data-line-number="1"><span class="fu"># The Tragedy of Hamlet</span></a>
-<a class="sourceLine" id="cb251-2" data-line-number="2">Shakespeare&#39;s longest play.</a>
-<a class="sourceLine" id="cb251-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb251-4" data-line-number="4"><span class="fu">## Act III {#act-3}</span></a>
-<a class="sourceLine" id="cb251-5" data-line-number="5">Hamlet kills Polonius.</a>
-<a class="sourceLine" id="cb251-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb251-7" data-line-number="7"><span class="fu">## Act V {#act-5}</span></a>
-<a class="sourceLine" id="cb251-8" data-line-number="8">Hamlet dies.</a>
-<a class="sourceLine" id="cb251-9" data-line-number="9"></a>
-<a class="sourceLine" id="cb251-10" data-line-number="10"><span class="fu">## Act I {#act-1}</span></a>
-<a class="sourceLine" id="cb251-11" data-line-number="11">Hamlet talks to ghost.</a></code></pre></div>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb252"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb252-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb252-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionHeaderAttributes{true}</a>
-<a class="sourceLine" id="cb252-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb252-4" data-line-number="4"><span class="fu">\font\normal</span>=cmr10<span class="fu">\normal</span></a>
-<a class="sourceLine" id="cb252-5" data-line-number="5"><span class="fu">\font\big</span>=cmr10 at 12pt</a>
-<a class="sourceLine" id="cb252-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererHeadingTwo#1{{\big #1\par}}</a>
-<a class="sourceLine" id="cb252-7" data-line-number="7"><span class="fu">\font\bigger</span>=cmr10 scaled 1440</a>
-<a class="sourceLine" id="cb252-8" data-line-number="8"><span class="fu">\def</span>\markdownRendererHeadingOne#1{{\bigger #1\par}}</a>
-<a class="sourceLine" id="cb252-9" data-line-number="9"></a>
-<a class="sourceLine" id="cb252-10" data-line-number="10"><span class="fu">\def</span>\markdownOptionSlice{^ ^act-3}</a>
-<a class="sourceLine" id="cb252-11" data-line-number="11"><span class="fu">\markdownInput</span>{hamlet.md}</a>
-<a class="sourceLine" id="cb252-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb252-13" data-line-number="13"><span class="fu">\def</span>\markdownOptionSlice{act-1}</a>
-<a class="sourceLine" id="cb252-14" data-line-number="14"><span class="fu">\markdownInput</span>{hamlet.md}</a>
-<a class="sourceLine" id="cb252-15" data-line-number="15"></a>
-<a class="sourceLine" id="cb252-16" data-line-number="16"><span class="fu">\def</span>\markdownOptionSlice{act-3 act-5}</a>
-<a class="sourceLine" id="cb252-17" data-line-number="17"><span class="fu">\markdownInput</span>{hamlet.md}</a>
-<a class="sourceLine" id="cb252-18" data-line-number="18"></a>
-<a class="sourceLine" id="cb252-19" data-line-number="19"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb253"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb253-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb251"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb251-1"><a href="#cb251-1" aria-hidden="true"></a><span class="fu"># The Tragedy of Hamlet</span></span>
+<span id="cb251-2"><a href="#cb251-2" aria-hidden="true"></a>Shakespeare&#39;s longest play.</span>
+<span id="cb251-3"><a href="#cb251-3" aria-hidden="true"></a></span>
+<span id="cb251-4"><a href="#cb251-4" aria-hidden="true"></a><span class="fu">## Act III {#act-3}</span></span>
+<span id="cb251-5"><a href="#cb251-5" aria-hidden="true"></a>Hamlet kills Polonius.</span>
+<span id="cb251-6"><a href="#cb251-6" aria-hidden="true"></a></span>
+<span id="cb251-7"><a href="#cb251-7" aria-hidden="true"></a><span class="fu">## Act V {#act-5}</span></span>
+<span id="cb251-8"><a href="#cb251-8" aria-hidden="true"></a>Hamlet dies.</span>
+<span id="cb251-9"><a href="#cb251-9" aria-hidden="true"></a></span>
+<span id="cb251-10"><a href="#cb251-10" aria-hidden="true"></a><span class="fu">## Act I {#act-1}</span></span>
+<span id="cb251-11"><a href="#cb251-11" aria-hidden="true"></a>Hamlet talks to ghost.</span></code></pre></div>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb252"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb252-1"><a href="#cb252-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb252-2"><a href="#cb252-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionHeaderAttributes</span>{true}</span>
+<span id="cb252-3"><a href="#cb252-3" aria-hidden="true"></a></span>
+<span id="cb252-4"><a href="#cb252-4" aria-hidden="true"></a><span class="fu">\font\normal</span>=cmr10<span class="fu">\normal</span></span>
+<span id="cb252-5"><a href="#cb252-5" aria-hidden="true"></a><span class="fu">\font\big</span>=cmr10 at 12pt</span>
+<span id="cb252-6"><a href="#cb252-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingTwo</span>#1{{<span class="fu">\big</span> #1<span class="fu">\par</span>}}</span>
+<span id="cb252-7"><a href="#cb252-7" aria-hidden="true"></a><span class="fu">\font\bigger</span>=cmr10 scaled 1440</span>
+<span id="cb252-8"><a href="#cb252-8" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingOne</span>#1{{<span class="fu">\bigger</span> #1<span class="fu">\par</span>}}</span>
+<span id="cb252-9"><a href="#cb252-9" aria-hidden="true"></a></span>
+<span id="cb252-10"><a href="#cb252-10" aria-hidden="true"></a><span class="fu">\def\markdownOptionSlice</span>{^ ^act-3}</span>
+<span id="cb252-11"><a href="#cb252-11" aria-hidden="true"></a><span class="fu">\markdownInput</span>{hamlet.md}</span>
+<span id="cb252-12"><a href="#cb252-12" aria-hidden="true"></a></span>
+<span id="cb252-13"><a href="#cb252-13" aria-hidden="true"></a><span class="fu">\def\markdownOptionSlice</span>{act-1}</span>
+<span id="cb252-14"><a href="#cb252-14" aria-hidden="true"></a><span class="fu">\markdownInput</span>{hamlet.md}</span>
+<span id="cb252-15"><a href="#cb252-15" aria-hidden="true"></a></span>
+<span id="cb252-16"><a href="#cb252-16" aria-hidden="true"></a><span class="fu">\def\markdownOptionSlice</span>{act-3 act-5}</span>
+<span id="cb252-17"><a href="#cb252-17" aria-hidden="true"></a><span class="fu">\markdownInput</span>{hamlet.md}</span>
+<span id="cb252-18"><a href="#cb252-18" aria-hidden="true"></a></span>
+<span id="cb252-19"><a href="#cb252-19" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb253"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb253-1"><a href="#cb253-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<h1 id="the-tragedy-of-hamlet">The Tragedy of Hamlet</h1>
@@ -2852,31 +2867,30 @@ Thomas,Edison,1847</code></pre>
<h2 id="act-v">Act V</h2>
<p>Hamlet dies.</p>
</blockquote>
-<h5 id="latex-example-21" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb254"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb254-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb254-2" data-line-number="2"><span class="bu">\usepackage</span>[headerAttributes]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb254-3" data-line-number="3"><span class="bu">\usepackage</span>{<span class="ex">filecontents</span>}</a>
-<a class="sourceLine" id="cb254-4" data-line-number="4"><span class="kw">\begin</span>{<span class="ex">filecontents*</span>}{hamlet.md}</a>
-<a class="sourceLine" id="cb254-5" data-line-number="5"># The Tragedy of Hamlet</a>
-<a class="sourceLine" id="cb254-6" data-line-number="6">Shakespeare&#39;s longest play.</a>
-<a class="sourceLine" id="cb254-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb254-8" data-line-number="8">## Act III {#act-3}</a>
-<a class="sourceLine" id="cb254-9" data-line-number="9">Hamlet kills Polonius.</a>
-<a class="sourceLine" id="cb254-10" data-line-number="10"></a>
-<a class="sourceLine" id="cb254-11" data-line-number="11">## Act V {#act-5}</a>
-<a class="sourceLine" id="cb254-12" data-line-number="12">Hamlet dies.</a>
-<a class="sourceLine" id="cb254-13" data-line-number="13"></a>
-<a class="sourceLine" id="cb254-14" data-line-number="14">## Act I {#act-1}</a>
-<a class="sourceLine" id="cb254-15" data-line-number="15">Hamlet talks to ghost.</a>
-<a class="sourceLine" id="cb254-16" data-line-number="16"><span class="kw">\end</span>{<span class="ex">filecontents*</span>}</a>
-<a class="sourceLine" id="cb254-17" data-line-number="17"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb254-18" data-line-number="18"><span class="fu">\markdownInput</span>[slice=^ ^act-3]{hamlet.md}</a>
-<a class="sourceLine" id="cb254-19" data-line-number="19"><span class="fu">\markdownInput</span>[slice=act-1]{hamlet.md}</a>
-<a class="sourceLine" id="cb254-20" data-line-number="20"><span class="fu">\markdownInput</span>[slice=act-3 act-5]{hamlet.md}</a>
-<a class="sourceLine" id="cb254-21" data-line-number="21"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb255"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb255-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-21"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb254"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb254-1"><a href="#cb254-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb254-2"><a href="#cb254-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[headerAttributes]{<span class="ex">markdown</span>}</span>
+<span id="cb254-3"><a href="#cb254-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">filecontents</span>}[overwrite,nosearch,noheader]{hamlet.md}</span>
+<span id="cb254-4"><a href="#cb254-4" aria-hidden="true"></a># The Tragedy of Hamlet</span>
+<span id="cb254-5"><a href="#cb254-5" aria-hidden="true"></a>Shakespeare&#39;s longest play.</span>
+<span id="cb254-6"><a href="#cb254-6" aria-hidden="true"></a></span>
+<span id="cb254-7"><a href="#cb254-7" aria-hidden="true"></a>## Act III {#act-3}</span>
+<span id="cb254-8"><a href="#cb254-8" aria-hidden="true"></a>Hamlet kills Polonius.</span>
+<span id="cb254-9"><a href="#cb254-9" aria-hidden="true"></a></span>
+<span id="cb254-10"><a href="#cb254-10" aria-hidden="true"></a>## Act V {#act-5}</span>
+<span id="cb254-11"><a href="#cb254-11" aria-hidden="true"></a>Hamlet dies.</span>
+<span id="cb254-12"><a href="#cb254-12" aria-hidden="true"></a></span>
+<span id="cb254-13"><a href="#cb254-13" aria-hidden="true"></a>## Act I {#act-1}</span>
+<span id="cb254-14"><a href="#cb254-14" aria-hidden="true"></a>Hamlet talks to ghost.</span>
+<span id="cb254-15"><a href="#cb254-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">filecontents</span>}</span>
+<span id="cb254-16"><a href="#cb254-16" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb254-17"><a href="#cb254-17" aria-hidden="true"></a><span class="fu">\markdownInput</span>[slice=^ ^act-3]{hamlet.md}</span>
+<span id="cb254-18"><a href="#cb254-18" aria-hidden="true"></a><span class="fu">\markdownInput</span>[slice=act-1]{hamlet.md}</span>
+<span id="cb254-19"><a href="#cb254-19" aria-hidden="true"></a><span class="fu">\markdownInput</span>[slice=act-3 act-5]{hamlet.md}</span>
+<span id="cb254-20"><a href="#cb254-20" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb255"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb255-1"><a href="#cb255-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<h1 id="the-tragedy-of-hamlet-1">The Tragedy of Hamlet</h1>
@@ -2888,36 +2902,36 @@ Thomas,Edison,1847</code></pre>
<h2 id="act-v-1">Act V</h2>
<p>Hamlet dies.</p>
</blockquote>
-<h5 id="context-example-19" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-19">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>hamlet.md</code> with the following content:</p>
-<div class="sourceCode" id="cb256"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb256-1" data-line-number="1"><span class="fu"># The Tragedy of Hamlet</span></a>
-<a class="sourceLine" id="cb256-2" data-line-number="2">Shakespeare&#39;s longest play.</a>
-<a class="sourceLine" id="cb256-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb256-4" data-line-number="4"><span class="fu">## Act III {#act-3}</span></a>
-<a class="sourceLine" id="cb256-5" data-line-number="5">Hamlet kills Polonius.</a>
-<a class="sourceLine" id="cb256-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb256-7" data-line-number="7"><span class="fu">## Act V {#act-5}</span></a>
-<a class="sourceLine" id="cb256-8" data-line-number="8">Hamlet dies.</a>
-<a class="sourceLine" id="cb256-9" data-line-number="9"></a>
-<a class="sourceLine" id="cb256-10" data-line-number="10"><span class="fu">## Act I {#act-1}</span></a>
-<a class="sourceLine" id="cb256-11" data-line-number="11">Hamlet talks to ghost.</a></code></pre></div>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb257"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb257-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb257-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionHeaderAttributes{true}</a>
-<a class="sourceLine" id="cb257-3" data-line-number="3"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb257-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb257-5" data-line-number="5"><span class="fu">\def</span>\markdownOptionSlice{^ ^act-3}</a>
-<a class="sourceLine" id="cb257-6" data-line-number="6"><span class="fu">\markdownInput</span>{hamlet.md}</a>
-<a class="sourceLine" id="cb257-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb257-8" data-line-number="8"><span class="fu">\def</span>\markdownOptionSlice{act-1}</a>
-<a class="sourceLine" id="cb257-9" data-line-number="9"><span class="fu">\markdownInput</span>{hamlet.md}</a>
-<a class="sourceLine" id="cb257-10" data-line-number="10"></a>
-<a class="sourceLine" id="cb257-11" data-line-number="11"><span class="fu">\def</span>\markdownOptionSlice{act-3 act-5}</a>
-<a class="sourceLine" id="cb257-12" data-line-number="12"><span class="fu">\markdownInput</span>{hamlet.md}</a>
-<a class="sourceLine" id="cb257-13" data-line-number="13"></a>
-<a class="sourceLine" id="cb257-14" data-line-number="14"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb258"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb258-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb256"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb256-1"><a href="#cb256-1" aria-hidden="true"></a><span class="fu"># The Tragedy of Hamlet</span></span>
+<span id="cb256-2"><a href="#cb256-2" aria-hidden="true"></a>Shakespeare&#39;s longest play.</span>
+<span id="cb256-3"><a href="#cb256-3" aria-hidden="true"></a></span>
+<span id="cb256-4"><a href="#cb256-4" aria-hidden="true"></a><span class="fu">## Act III {#act-3}</span></span>
+<span id="cb256-5"><a href="#cb256-5" aria-hidden="true"></a>Hamlet kills Polonius.</span>
+<span id="cb256-6"><a href="#cb256-6" aria-hidden="true"></a></span>
+<span id="cb256-7"><a href="#cb256-7" aria-hidden="true"></a><span class="fu">## Act V {#act-5}</span></span>
+<span id="cb256-8"><a href="#cb256-8" aria-hidden="true"></a>Hamlet dies.</span>
+<span id="cb256-9"><a href="#cb256-9" aria-hidden="true"></a></span>
+<span id="cb256-10"><a href="#cb256-10" aria-hidden="true"></a><span class="fu">## Act I {#act-1}</span></span>
+<span id="cb256-11"><a href="#cb256-11" aria-hidden="true"></a>Hamlet talks to ghost.</span></code></pre></div>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb257"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb257-1"><a href="#cb257-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb257-2"><a href="#cb257-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionHeaderAttributes</span>{true}</span>
+<span id="cb257-3"><a href="#cb257-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb257-4"><a href="#cb257-4" aria-hidden="true"></a></span>
+<span id="cb257-5"><a href="#cb257-5" aria-hidden="true"></a><span class="fu">\def\markdownOptionSlice</span>{^ ^act-3}</span>
+<span id="cb257-6"><a href="#cb257-6" aria-hidden="true"></a><span class="fu">\markdownInput</span>{hamlet.md}</span>
+<span id="cb257-7"><a href="#cb257-7" aria-hidden="true"></a></span>
+<span id="cb257-8"><a href="#cb257-8" aria-hidden="true"></a><span class="fu">\def\markdownOptionSlice</span>{act-1}</span>
+<span id="cb257-9"><a href="#cb257-9" aria-hidden="true"></a><span class="fu">\markdownInput</span>{hamlet.md}</span>
+<span id="cb257-10"><a href="#cb257-10" aria-hidden="true"></a></span>
+<span id="cb257-11"><a href="#cb257-11" aria-hidden="true"></a><span class="fu">\def\markdownOptionSlice</span>{act-3 act-5}</span>
+<span id="cb257-12"><a href="#cb257-12" aria-hidden="true"></a><span class="fu">\markdownInput</span>{hamlet.md}</span>
+<span id="cb257-13"><a href="#cb257-13" aria-hidden="true"></a></span>
+<span id="cb257-14"><a href="#cb257-14" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb258"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb258-1"><a href="#cb258-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<h1 id="the-tragedy-of-hamlet-2">The Tragedy of Hamlet</h1>
@@ -2929,7 +2943,7 @@ Thomas,Edison,1847</code></pre>
<h2 id="act-v-2">Act V</h2>
<p>Hamlet dies.</p>
</blockquote>
-<h4 id="option-smartellipses"><span class="header-section-number">2.2.1.26</span> Option <code>smartEllipses</code></h4>
+<h4 data-number="2.2.1.26" id="option-smartellipses"><span class="header-section-number">2.2.1.26</span> Option <code>smartEllipses</code></h4>
<dl>
<dt><code>smartEllipses</code> (default value: <code>false</code>)</dt>
<dd><dl>
@@ -2945,122 +2959,124 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 id="lua-module-example-10" class="unnumbered">Lua Module Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb259"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb259-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb259-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererEllipsis{. . .}</a>
-<a class="sourceLine" id="cb259-3" data-line-number="3"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb259-4" data-line-number="4"><span class="fu">\directlua</span>{</a>
-<a class="sourceLine" id="cb259-5" data-line-number="5"> local markdown = require(&quot;markdown&quot;)</a>
-<a class="sourceLine" id="cb259-6" data-line-number="6"> local convert = markdown.new()</a>
-<a class="sourceLine" id="cb259-7" data-line-number="7"> local input = &quot;These are just three regular dots ...&quot;</a>
-<a class="sourceLine" id="cb259-8" data-line-number="8"> tex.sprint(convert(input)) }</a>
-<a class="sourceLine" id="cb259-9" data-line-number="9"><span class="fu">\par</span></a>
-<a class="sourceLine" id="cb259-10" data-line-number="10"><span class="fu">\directlua</span>{</a>
-<a class="sourceLine" id="cb259-11" data-line-number="11"> local markdown = require(&quot;markdown&quot;)</a>
-<a class="sourceLine" id="cb259-12" data-line-number="12"> local convert = markdown.new({smartEllipses = true})</a>
-<a class="sourceLine" id="cb259-13" data-line-number="13"> local input = &quot;... and this is a victorian ellipsis.&quot;</a>
-<a class="sourceLine" id="cb259-14" data-line-number="14"> tex.sprint(convert(input)) }</a>
-<a class="sourceLine" id="cb259-15" data-line-number="15"><span class="fu">\bye</span></a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="lua-module-example-10">Lua Module Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb259"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb259-1"><a href="#cb259-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb259-2"><a href="#cb259-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererEllipsis</span>{. . .}</span>
+<span id="cb259-3"><a href="#cb259-3" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb259-4"><a href="#cb259-4" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
+<span id="cb259-5"><a href="#cb259-5" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
+<span id="cb259-6"><a href="#cb259-6" aria-hidden="true"></a> local convert = markdown.new()</span>
+<span id="cb259-7"><a href="#cb259-7" aria-hidden="true"></a> local input = &quot;These are just three regular dots ...&quot;</span>
+<span id="cb259-8"><a href="#cb259-8" aria-hidden="true"></a> tex.sprint(convert(input)) }</span>
+<span id="cb259-9"><a href="#cb259-9" aria-hidden="true"></a><span class="fu">\par</span></span>
+<span id="cb259-10"><a href="#cb259-10" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
+<span id="cb259-11"><a href="#cb259-11" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
+<span id="cb259-12"><a href="#cb259-12" aria-hidden="true"></a> local convert = markdown.new({smartEllipses = true})</span>
+<span id="cb259-13"><a href="#cb259-13" aria-hidden="true"></a> local input = &quot;... and this is a victorian ellipsis.&quot;</span>
+<span id="cb259-14"><a href="#cb259-14" aria-hidden="true"></a> tex.sprint(convert(input)) }</span>
+<span id="cb259-15"><a href="#cb259-15" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Then, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb260"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb260-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb260"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb260-1"><a href="#cb260-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>These are just three regular dots …</p>
<p>. . . and this is a victorian ellipsis.</p>
</blockquote>
-<h5 id="lua-cli-example-9" class="unnumbered">Lua CLI Example</h5>
+<h5 class="unnumbered" data-number="" id="lua-cli-example-9">Lua CLI Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb261"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb261-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb261-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererEllipsis{. . .}</a>
-<a class="sourceLine" id="cb261-3" data-line-number="3"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb261-4" data-line-number="4"><span class="fu">\input</span> optionfalse</a>
-<a class="sourceLine" id="cb261-5" data-line-number="5"><span class="fu">\par</span></a>
-<a class="sourceLine" id="cb261-6" data-line-number="6"><span class="fu">\input</span> optiontrue</a>
-<a class="sourceLine" id="cb261-7" data-line-number="7"><span class="fu">\bye</span></a></code></pre></div>
+<div class="sourceCode" id="cb261"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb261-1"><a href="#cb261-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb261-2"><a href="#cb261-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererEllipsis</span>{. . .}</span>
+<span id="cb261-3"><a href="#cb261-3" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb261-4"><a href="#cb261-4" aria-hidden="true"></a><span class="fu">\input</span> optionfalse</span>
+<span id="cb261-5"><a href="#cb261-5" aria-hidden="true"></a><span class="fu">\par</span></span>
+<span id="cb261-6"><a href="#cb261-6" aria-hidden="true"></a><span class="fu">\input</span> optiontrue</span>
+<span id="cb261-7"><a href="#cb261-7" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Using a text editor, create a text document named <code>content.md</code> with the following content:</p>
-<div class="sourceCode" id="cb262"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb262-1" data-line-number="1">Are these just three regular dots, a victorian ellipsis, or ... ?</a></code></pre></div>
+<div class="sourceCode" id="cb262"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb262-1"><a href="#cb262-1" aria-hidden="true"></a>Are these just three regular dots, a victorian ellipsis, or ... ?</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb263"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb263-1" data-line-number="1"><span class="ex">texlua</span> ⟨CLI pathname⟩ -- content.md optionfalse.tex</a>
-<a class="sourceLine" id="cb263-2" data-line-number="2"><span class="ex">texlua</span> ⟨CLI pathname⟩ smartEllipses=true -- content.md optiontrue.tex</a>
-<a class="sourceLine" id="cb263-3" data-line-number="3"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb263"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb263-1"><a href="#cb263-1" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ -- content.md optionfalse.tex</span>
+<span id="cb263-2"><a href="#cb263-2" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ smartEllipses=true -- content.md optiontrue.tex</span>
+<span id="cb263-3"><a href="#cb263-3" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>where ⟨<em>CLI pathname</em>⟩ corresponds to the location of the Lua CLI script file, such as <code>~/texmf/scripts/markdown/markdown-cli.lua</code> on UN*X systems or <code>C:\Users\</code>⟨<em>Your username</em>⟩<code>\texmf\scripts\markdown\markdown-cli.lua</code> on Windows systems. Use the command <code>kpsewhich -a markdown-cli.lua</code> to locate the Lua CLI script file using <a href="https://tug.org/kpathsea/" title="Kpathsea - TeX Users Group">Kpathsea</a>.</p>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Are these just three regular dots, a victorian ellipsis, or … ?</p>
<p>Are these just three regular dots, a victorian ellipsis, or . . . ?</p>
</blockquote>
-<h5 id="plain-tex-example-12" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb264"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb264-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb264-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererEllipsis{. . .}</a>
-<a class="sourceLine" id="cb264-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb264-4" data-line-number="4"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb264-5" data-line-number="5">These are just three regular dots ...</a>
-<a class="sourceLine" id="cb264-6" data-line-number="6"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb264-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb264-8" data-line-number="8"><span class="fu">\def</span>\markdownOptionSmartEllipses{true}</a>
-<a class="sourceLine" id="cb264-9" data-line-number="9"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb264-10" data-line-number="10">... and this is a victorian ellipsis.</a>
-<a class="sourceLine" id="cb264-11" data-line-number="11"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb264-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb264-13" data-line-number="13"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb265"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb265-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-12">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb264"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb264-1"><a href="#cb264-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb264-2"><a href="#cb264-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererEllipsis</span>{. . .}</span>
+<span id="cb264-3"><a href="#cb264-3" aria-hidden="true"></a></span>
+<span id="cb264-4"><a href="#cb264-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb264-5"><a href="#cb264-5" aria-hidden="true"></a>These are just three regular dots ...</span>
+<span id="cb264-6"><a href="#cb264-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb264-7"><a href="#cb264-7" aria-hidden="true"></a></span>
+<span id="cb264-8"><a href="#cb264-8" aria-hidden="true"></a><span class="fu">\def\markdownOptionSmartEllipses</span>{true}</span>
+<span id="cb264-9"><a href="#cb264-9" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb264-10"><a href="#cb264-10" aria-hidden="true"></a>... and this is a victorian ellipsis.</span>
+<span id="cb264-11"><a href="#cb264-11" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb264-12"><a href="#cb264-12" aria-hidden="true"></a></span>
+<span id="cb264-13"><a href="#cb264-13" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb265"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb265-1"><a href="#cb265-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>These are just three regular dots …</p>
<p>. . . and this is a victorian ellipsis.</p>
</blockquote>
-<h5 id="latex-example-22" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb266"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb266-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb266-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb266-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb266-4" data-line-number="4"> renderers = {</a>
-<a class="sourceLine" id="cb266-5" data-line-number="5"> ellipsis = {. . .} }}</a>
-<a class="sourceLine" id="cb266-6" data-line-number="6"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb266-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb266-8" data-line-number="8"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb266-9" data-line-number="9">These are just three regular dots ...</a>
-<a class="sourceLine" id="cb266-10" data-line-number="10"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb266-11" data-line-number="11"></a>
-<a class="sourceLine" id="cb266-12" data-line-number="12"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{smartEllipses}</a>
-<a class="sourceLine" id="cb266-13" data-line-number="13">... and this is a victorian ellipsis.</a>
-<a class="sourceLine" id="cb266-14" data-line-number="14"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb266-15" data-line-number="15"></a>
-<a class="sourceLine" id="cb266-16" data-line-number="16"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb267"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb267-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-22"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb266"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb266-1"><a href="#cb266-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb266-2"><a href="#cb266-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb266-3"><a href="#cb266-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb266-4"><a href="#cb266-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb266-5"><a href="#cb266-5" aria-hidden="true"></a> ellipsis = {. . .}</span>
+<span id="cb266-6"><a href="#cb266-6" aria-hidden="true"></a> }</span>
+<span id="cb266-7"><a href="#cb266-7" aria-hidden="true"></a>}</span>
+<span id="cb266-8"><a href="#cb266-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb266-9"><a href="#cb266-9" aria-hidden="true"></a></span>
+<span id="cb266-10"><a href="#cb266-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb266-11"><a href="#cb266-11" aria-hidden="true"></a>These are just three regular dots ...</span>
+<span id="cb266-12"><a href="#cb266-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb266-13"><a href="#cb266-13" aria-hidden="true"></a></span>
+<span id="cb266-14"><a href="#cb266-14" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{smartEllipses}</span>
+<span id="cb266-15"><a href="#cb266-15" aria-hidden="true"></a>... and this is a victorian ellipsis.</span>
+<span id="cb266-16"><a href="#cb266-16" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb266-17"><a href="#cb266-17" aria-hidden="true"></a></span>
+<span id="cb266-18"><a href="#cb266-18" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb267"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb267-1"><a href="#cb267-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>These are just three regular dots …</p>
<p>. . . and this is a victorian ellipsis.</p>
</blockquote>
-<h5 id="context-example-20" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb268"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb268-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb268-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererEllipsis{. . .}</a>
-<a class="sourceLine" id="cb268-3" data-line-number="3"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb268-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb268-5" data-line-number="5"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb268-6" data-line-number="6">These are just three regular dots ...</a>
-<a class="sourceLine" id="cb268-7" data-line-number="7"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb268-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb268-9" data-line-number="9"><span class="fu">\def</span>\markdownOptionSmartEllipses{true}</a>
-<a class="sourceLine" id="cb268-10" data-line-number="10"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb268-11" data-line-number="11">... and this is a victorian ellipsis.</a>
-<a class="sourceLine" id="cb268-12" data-line-number="12"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb268-13" data-line-number="13"></a>
-<a class="sourceLine" id="cb268-14" data-line-number="14"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb269"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb269-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-20">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb268"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb268-1"><a href="#cb268-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb268-2"><a href="#cb268-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererEllipsis</span>{. . .}</span>
+<span id="cb268-3"><a href="#cb268-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb268-4"><a href="#cb268-4" aria-hidden="true"></a></span>
+<span id="cb268-5"><a href="#cb268-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb268-6"><a href="#cb268-6" aria-hidden="true"></a>These are just three regular dots ...</span>
+<span id="cb268-7"><a href="#cb268-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb268-8"><a href="#cb268-8" aria-hidden="true"></a></span>
+<span id="cb268-9"><a href="#cb268-9" aria-hidden="true"></a><span class="fu">\def\markdownOptionSmartEllipses</span>{true}</span>
+<span id="cb268-10"><a href="#cb268-10" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb268-11"><a href="#cb268-11" aria-hidden="true"></a>... and this is a victorian ellipsis.</span>
+<span id="cb268-12"><a href="#cb268-12" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb268-13"><a href="#cb268-13" aria-hidden="true"></a></span>
+<span id="cb268-14"><a href="#cb268-14" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb269"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb269-1"><a href="#cb269-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>These are just three regular dots …</p>
<p>. . . and this is a victorian ellipsis.</p>
</blockquote>
-<h4 id="option-startnumber"><span class="header-section-number">2.2.1.27</span> Option <code>startNumber</code></h4>
+<h4 data-number="2.2.1.27" id="option-startnumber"><span class="header-section-number">2.2.1.27</span> Option <code>startNumber</code></h4>
<dl>
<dt><code>startNumber</code> (default value: <code>true</code>)</dt>
<dd><dl>
@@ -3076,32 +3092,32 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 id="latex-example-23" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb270"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb270-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb270-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb270-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb270-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb270-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb270-6" data-line-number="6">The following list respects the numbers specified in the markup:</a>
-<a class="sourceLine" id="cb270-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb270-8" data-line-number="8">3. third item</a>
-<a class="sourceLine" id="cb270-9" data-line-number="9">4. fourth item</a>
-<a class="sourceLine" id="cb270-10" data-line-number="10">5. fifth item</a>
-<a class="sourceLine" id="cb270-11" data-line-number="11"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb270-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb270-13" data-line-number="13"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{startNumber=false}</a>
-<a class="sourceLine" id="cb270-14" data-line-number="14">The following list does not respect the numbers specified in the</a>
-<a class="sourceLine" id="cb270-15" data-line-number="15">markup:</a>
-<a class="sourceLine" id="cb270-16" data-line-number="16"></a>
-<a class="sourceLine" id="cb270-17" data-line-number="17">3. third item</a>
-<a class="sourceLine" id="cb270-18" data-line-number="18">4. fourth item</a>
-<a class="sourceLine" id="cb270-19" data-line-number="19">5. fifth item</a>
-<a class="sourceLine" id="cb270-20" data-line-number="20"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb270-21" data-line-number="21"></a>
-<a class="sourceLine" id="cb270-22" data-line-number="22"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb271"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb271-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-23"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb270"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb270-1"><a href="#cb270-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb270-2"><a href="#cb270-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb270-3"><a href="#cb270-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb270-4"><a href="#cb270-4" aria-hidden="true"></a></span>
+<span id="cb270-5"><a href="#cb270-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb270-6"><a href="#cb270-6" aria-hidden="true"></a>The following list respects the numbers specified in the markup:</span>
+<span id="cb270-7"><a href="#cb270-7" aria-hidden="true"></a></span>
+<span id="cb270-8"><a href="#cb270-8" aria-hidden="true"></a>3. third item</span>
+<span id="cb270-9"><a href="#cb270-9" aria-hidden="true"></a>4. fourth item</span>
+<span id="cb270-10"><a href="#cb270-10" aria-hidden="true"></a>5. fifth item</span>
+<span id="cb270-11"><a href="#cb270-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb270-12"><a href="#cb270-12" aria-hidden="true"></a></span>
+<span id="cb270-13"><a href="#cb270-13" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{startNumber=false}</span>
+<span id="cb270-14"><a href="#cb270-14" aria-hidden="true"></a>The following list does not respect the numbers specified in the</span>
+<span id="cb270-15"><a href="#cb270-15" aria-hidden="true"></a>markup:</span>
+<span id="cb270-16"><a href="#cb270-16" aria-hidden="true"></a></span>
+<span id="cb270-17"><a href="#cb270-17" aria-hidden="true"></a>3. third item</span>
+<span id="cb270-18"><a href="#cb270-18" aria-hidden="true"></a>4. fourth item</span>
+<span id="cb270-19"><a href="#cb270-19" aria-hidden="true"></a>5. fifth item</span>
+<span id="cb270-20"><a href="#cb270-20" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb270-21"><a href="#cb270-21" aria-hidden="true"></a></span>
+<span id="cb270-22"><a href="#cb270-22" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb271"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb271-1"><a href="#cb271-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>The following list respects the numbers specified in the markup:</p>
@@ -3117,30 +3133,30 @@ Thomas,Edison,1847</code></pre>
<li>fifth item</li>
</ol>
</blockquote>
-<h5 id="context-example-21" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb272"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb272-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb272-2" data-line-number="2"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb272-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb272-4" data-line-number="4"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb272-5" data-line-number="5">The following list respects the numbers specified in the markup:</a>
-<a class="sourceLine" id="cb272-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb272-7" data-line-number="7">3. third item</a>
-<a class="sourceLine" id="cb272-8" data-line-number="8">4. fourth item</a>
-<a class="sourceLine" id="cb272-9" data-line-number="9">5. fifth item</a>
-<a class="sourceLine" id="cb272-10" data-line-number="10"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb272-11" data-line-number="11"></a>
-<a class="sourceLine" id="cb272-12" data-line-number="12"><span class="fu">\def</span>\markdownOptionStartNumber{false}</a>
-<a class="sourceLine" id="cb272-13" data-line-number="13"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb272-14" data-line-number="14">The following list respects the numbers specified in the markup:</a>
-<a class="sourceLine" id="cb272-15" data-line-number="15"></a>
-<a class="sourceLine" id="cb272-16" data-line-number="16">3. third item</a>
-<a class="sourceLine" id="cb272-17" data-line-number="17">4. fourth item</a>
-<a class="sourceLine" id="cb272-18" data-line-number="18">5. fifth item</a>
-<a class="sourceLine" id="cb272-19" data-line-number="19"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb272-20" data-line-number="20"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb273"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb273-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-21">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb272"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb272-1"><a href="#cb272-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb272-2"><a href="#cb272-2" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb272-3"><a href="#cb272-3" aria-hidden="true"></a></span>
+<span id="cb272-4"><a href="#cb272-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb272-5"><a href="#cb272-5" aria-hidden="true"></a>The following list respects the numbers specified in the markup:</span>
+<span id="cb272-6"><a href="#cb272-6" aria-hidden="true"></a></span>
+<span id="cb272-7"><a href="#cb272-7" aria-hidden="true"></a>3. third item</span>
+<span id="cb272-8"><a href="#cb272-8" aria-hidden="true"></a>4. fourth item</span>
+<span id="cb272-9"><a href="#cb272-9" aria-hidden="true"></a>5. fifth item</span>
+<span id="cb272-10"><a href="#cb272-10" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb272-11"><a href="#cb272-11" aria-hidden="true"></a></span>
+<span id="cb272-12"><a href="#cb272-12" aria-hidden="true"></a><span class="fu">\def\markdownOptionStartNumber</span>{false}</span>
+<span id="cb272-13"><a href="#cb272-13" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb272-14"><a href="#cb272-14" aria-hidden="true"></a>The following list respects the numbers specified in the markup:</span>
+<span id="cb272-15"><a href="#cb272-15" aria-hidden="true"></a></span>
+<span id="cb272-16"><a href="#cb272-16" aria-hidden="true"></a>3. third item</span>
+<span id="cb272-17"><a href="#cb272-17" aria-hidden="true"></a>4. fourth item</span>
+<span id="cb272-18"><a href="#cb272-18" aria-hidden="true"></a>5. fifth item</span>
+<span id="cb272-19"><a href="#cb272-19" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb272-20"><a href="#cb272-20" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb273"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb273-1"><a href="#cb273-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>The following list respects the numbers specified in the markup:</p>
@@ -3156,19 +3172,77 @@ Thomas,Edison,1847</code></pre>
<li>fifth item</li>
</ol>
</blockquote>
-<h4 id="option-tablecaptions"><span class="header-section-number">2.2.1.28</span> Option <code>tableCaptions</code></h4>
+<h4 data-number="2.2.1.28" id="option-stripindent"><span class="header-section-number">2.2.1.28</span> Option <code>stripIndent</code></h4>
+<dl>
+<dt><code>stripIndent</code> (default value: <code>false</code>)</dt>
+<dd><dl>
+<dt>true</dt>
+<dd><p>Strip the minimal indentation of non-blank lines from all lines in a markdown document. Requires that the <strong><code>preserveTabs</code></strong> Lua option is :</p>
+<div class="sourceCode" id="cb274"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb274-1"><a href="#cb274-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb274-2"><a href="#cb274-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[stripIndent]{<span class="ex">markdown</span>}</span>
+<span id="cb274-3"><a href="#cb274-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb274-4"><a href="#cb274-4" aria-hidden="true"></a> <span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb274-5"><a href="#cb274-5" aria-hidden="true"></a> Hello *world*!</span>
+<span id="cb274-6"><a href="#cb274-6" aria-hidden="true"></a> <span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb274-7"><a href="#cb274-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+</dd>
+</dl>
+</dd>
+<dd><dl>
+<dt>false</dt>
+<dd><p>Do not strip any indentation from the lines in a markdown document.</p>
+</dd>
+</dl>
+</dd>
+</dl>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-13">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb275"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb275-1"><a href="#cb275-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb275-2"><a href="#cb275-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionStripIndent</span>{true}</span>
+<span id="cb275-3"><a href="#cb275-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb275-4"><a href="#cb275-4" aria-hidden="true"></a> Hello *world*!</span>
+<span id="cb275-5"><a href="#cb275-5" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb275-6"><a href="#cb275-6" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb276"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb276-1"><a href="#cb276-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!”</p>
+<h5 class="unnumbered" data-number="" id="latex-example-24"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb277"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb277-1"><a href="#cb277-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb277-2"><a href="#cb277-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[stripIndent]{<span class="ex">markdown</span>}</span>
+<span id="cb277-3"><a href="#cb277-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb277-4"><a href="#cb277-4" aria-hidden="true"></a> <span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb277-5"><a href="#cb277-5" aria-hidden="true"></a> Hello *world*!</span>
+<span id="cb277-6"><a href="#cb277-6" aria-hidden="true"></a> <span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb277-7"><a href="#cb277-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb278"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb278-1"><a href="#cb278-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!”</p>
+<h5 class="unnumbered" data-number="" id="context-example-22">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb279"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb279-1"><a href="#cb279-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb279-2"><a href="#cb279-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionStripIndent</span>{true}</span>
+<span id="cb279-3"><a href="#cb279-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb279-4"><a href="#cb279-4" aria-hidden="true"></a> <span class="fu">\startmarkdown</span></span>
+<span id="cb279-5"><a href="#cb279-5" aria-hidden="true"></a> Hello *world*!</span>
+<span id="cb279-6"><a href="#cb279-6" aria-hidden="true"></a> <span class="fu">\stopmarkdown</span></span>
+<span id="cb279-7"><a href="#cb279-7" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb280"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb280-1"><a href="#cb280-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!”</p>
+<h4 data-number="2.2.1.29" id="option-tablecaptions"><span class="header-section-number">2.2.1.29</span> Option <code>tableCaptions</code></h4>
<dl>
<dt><code>tableCaptions</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Enable the Pandoc <code>table_captions</code> syntax extension for <a href="#pipe-tables">pipe tables</a>.</p>
-<div class="sourceCode" id="cb274"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb274-1" data-line-number="1">| Right | Left | Default | Center |</a>
-<a class="sourceLine" id="cb274-2" data-line-number="2">|------:|:-----|---------|:------:|</a>
-<a class="sourceLine" id="cb274-3" data-line-number="3">| 12 | 12 | 12 | 12 |</a>
-<a class="sourceLine" id="cb274-4" data-line-number="4">| 123 | 123 | 123 | 123 |</a>
-<a class="sourceLine" id="cb274-5" data-line-number="5">| 1 | 1 | 1 | 1 |</a>
-<a class="sourceLine" id="cb274-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb274-7" data-line-number="7"> : Demonstration of pipe table syntax.</a></code></pre></div>
+<div class="sourceCode" id="cb281"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb281-1"><a href="#cb281-1" aria-hidden="true"></a>| Right | Left | Default | Center |</span>
+<span id="cb281-2"><a href="#cb281-2" aria-hidden="true"></a>|------:|:-----|---------|:------:|</span>
+<span id="cb281-3"><a href="#cb281-3" aria-hidden="true"></a>| 12 | 12 | 12 | 12 |</span>
+<span id="cb281-4"><a href="#cb281-4" aria-hidden="true"></a>| 123 | 123 | 123 | 123 |</span>
+<span id="cb281-5"><a href="#cb281-5" aria-hidden="true"></a>| 1 | 1 | 1 | 1 |</span>
+<span id="cb281-6"><a href="#cb281-6" aria-hidden="true"></a></span>
+<span id="cb281-7"><a href="#cb281-7" aria-hidden="true"></a> : Demonstration of pipe table syntax.</span></code></pre></div>
</dd>
</dl>
</dd>
@@ -3179,23 +3253,23 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 id="latex-example-24" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb275"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb275-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb275-2" data-line-number="2"><span class="bu">\usepackage</span>[pipeTables, tableCaptions]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb275-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb275-4" data-line-number="4"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb275-5" data-line-number="5">| Right | Left | Default | Center |</a>
-<a class="sourceLine" id="cb275-6" data-line-number="6">|------:|:-----|---------|:------:|</a>
-<a class="sourceLine" id="cb275-7" data-line-number="7">| 12 | 12 | 12 | 12 |</a>
-<a class="sourceLine" id="cb275-8" data-line-number="8">| 123 | 123 | 123 | 123 |</a>
-<a class="sourceLine" id="cb275-9" data-line-number="9">| 1 | 1 | 1 | 1 |</a>
-<a class="sourceLine" id="cb275-10" data-line-number="10"></a>
-<a class="sourceLine" id="cb275-11" data-line-number="11"> : Demonstration of pipe table syntax.</a>
-<a class="sourceLine" id="cb275-12" data-line-number="12"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb275-13" data-line-number="13"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb276"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb276-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-25"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb282"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb282-1"><a href="#cb282-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb282-2"><a href="#cb282-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[pipeTables, tableCaptions]{<span class="ex">markdown</span>}</span>
+<span id="cb282-3"><a href="#cb282-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb282-4"><a href="#cb282-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb282-5"><a href="#cb282-5" aria-hidden="true"></a>| Right | Left | Default | Center |</span>
+<span id="cb282-6"><a href="#cb282-6" aria-hidden="true"></a>|------:|:-----|---------|:------:|</span>
+<span id="cb282-7"><a href="#cb282-7" aria-hidden="true"></a>| 12 | 12 | 12 | 12 |</span>
+<span id="cb282-8"><a href="#cb282-8" aria-hidden="true"></a>| 123 | 123 | 123 | 123 |</span>
+<span id="cb282-9"><a href="#cb282-9" aria-hidden="true"></a>| 1 | 1 | 1 | 1 |</span>
+<span id="cb282-10"><a href="#cb282-10" aria-hidden="true"></a></span>
+<span id="cb282-11"><a href="#cb282-11" aria-hidden="true"></a> : Demonstration of pipe table syntax.</span>
+<span id="cb282-12"><a href="#cb282-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb282-13"><a href="#cb282-13" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb283"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb283-1"><a href="#cb283-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<table>
@@ -3230,24 +3304,24 @@ Thomas,Edison,1847</code></pre>
</tbody>
</table>
</blockquote>
-<h5 id="context-example-22" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb277"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb277-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb277-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionPipeTables{true}</a>
-<a class="sourceLine" id="cb277-3" data-line-number="3"><span class="fu">\def</span>\markdownOptionTableCaptions{true}</a>
-<a class="sourceLine" id="cb277-4" data-line-number="4"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb277-5" data-line-number="5"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb277-6" data-line-number="6">| Right | Left | Default | Center |</a>
-<a class="sourceLine" id="cb277-7" data-line-number="7">|------:|:-----|---------|:------:|</a>
-<a class="sourceLine" id="cb277-8" data-line-number="8">| 12 | 12 | 12 | 12 |</a>
-<a class="sourceLine" id="cb277-9" data-line-number="9">| 123 | 123 | 123 | 123 |</a>
-<a class="sourceLine" id="cb277-10" data-line-number="10">| 1 | 1 | 1 | 1 |</a>
-<a class="sourceLine" id="cb277-11" data-line-number="11"></a>
-<a class="sourceLine" id="cb277-12" data-line-number="12"> : Demonstration of pipe table syntax.</a>
-<a class="sourceLine" id="cb277-13" data-line-number="13"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb277-14" data-line-number="14"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb278"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb278-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-23">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb284"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb284-1"><a href="#cb284-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb284-2"><a href="#cb284-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionPipeTables</span>{true}</span>
+<span id="cb284-3"><a href="#cb284-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionTableCaptions</span>{true}</span>
+<span id="cb284-4"><a href="#cb284-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb284-5"><a href="#cb284-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb284-6"><a href="#cb284-6" aria-hidden="true"></a>| Right | Left | Default | Center |</span>
+<span id="cb284-7"><a href="#cb284-7" aria-hidden="true"></a>|------:|:-----|---------|:------:|</span>
+<span id="cb284-8"><a href="#cb284-8" aria-hidden="true"></a>| 12 | 12 | 12 | 12 |</span>
+<span id="cb284-9"><a href="#cb284-9" aria-hidden="true"></a>| 123 | 123 | 123 | 123 |</span>
+<span id="cb284-10"><a href="#cb284-10" aria-hidden="true"></a>| 1 | 1 | 1 | 1 |</span>
+<span id="cb284-11"><a href="#cb284-11" aria-hidden="true"></a></span>
+<span id="cb284-12"><a href="#cb284-12" aria-hidden="true"></a> : Demonstration of pipe table syntax.</span>
+<span id="cb284-13"><a href="#cb284-13" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb284-14"><a href="#cb284-14" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb285"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb285-1"><a href="#cb285-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<table>
@@ -3282,7 +3356,69 @@ Thomas,Edison,1847</code></pre>
</tbody>
</table>
</blockquote>
-<h4 id="option-tightlists"><span class="header-section-number">2.2.1.29</span> Option <code>tightLists</code></h4>
+<h4 data-number="2.2.1.30" id="option-texcomments"><span class="header-section-number">2.2.1.30</span> Option <code>texComments</code></h4>
+<dl>
+<dt><code>texComments</code> (default value: <code>false</code>)</dt>
+<dd><dl>
+<dt>true</dt>
+<dd><p>Strip <span class="tex">T<sub>e</sub>X</span>-style comments.</p>
+<div class="sourceCode" id="cb286"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb286-1"><a href="#cb286-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb286-2"><a href="#cb286-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[texComments]{<span class="ex">markdown</span>}</span>
+<span id="cb286-3"><a href="#cb286-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb286-4"><a href="#cb286-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb286-5"><a href="#cb286-5" aria-hidden="true"></a>Hel<span class="co">% this is a comment</span></span>
+<span id="cb286-6"><a href="#cb286-6" aria-hidden="true"></a> lo *world*!</span>
+<span id="cb286-7"><a href="#cb286-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb286-8"><a href="#cb286-8" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+</dd>
+</dl>
+</dd>
+<dd><dl>
+<dt>false</dt>
+<dd><p>Do not strip <span class="tex">T<sub>e</sub>X</span>-style comments.</p>
+</dd>
+</dl>
+</dd>
+</dl>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-14">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb287"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb287-1"><a href="#cb287-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb287-2"><a href="#cb287-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionTeXComments</span>{true}</span>
+<span id="cb287-3"><a href="#cb287-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb287-4"><a href="#cb287-4" aria-hidden="true"></a>Hel<span class="co">% this is a comment</span></span>
+<span id="cb287-5"><a href="#cb287-5" aria-hidden="true"></a> lo *world*!</span>
+<span id="cb287-6"><a href="#cb287-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb287-7"><a href="#cb287-7" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb288"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb288-1"><a href="#cb288-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!”</p>
+<h5 class="unnumbered" data-number="" id="latex-example-26"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb289"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb289-1"><a href="#cb289-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb289-2"><a href="#cb289-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[texComments]{<span class="ex">markdown</span>}</span>
+<span id="cb289-3"><a href="#cb289-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb289-4"><a href="#cb289-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb289-5"><a href="#cb289-5" aria-hidden="true"></a>Hel<span class="co">% this is a comment</span></span>
+<span id="cb289-6"><a href="#cb289-6" aria-hidden="true"></a> lo *world*!</span>
+<span id="cb289-7"><a href="#cb289-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb289-8"><a href="#cb289-8" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb290"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb290-1"><a href="#cb290-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!”</p>
+<h5 class="unnumbered" data-number="" id="context-example-24">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb291"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb291-1"><a href="#cb291-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb291-2"><a href="#cb291-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionTeXComments</span>{true}</span>
+<span id="cb291-3"><a href="#cb291-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb291-4"><a href="#cb291-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb291-5"><a href="#cb291-5" aria-hidden="true"></a>Hel<span class="co">% this is a comment</span></span>
+<span id="cb291-6"><a href="#cb291-6" aria-hidden="true"></a> lo *world*!</span>
+<span id="cb291-7"><a href="#cb291-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb291-8"><a href="#cb291-8" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb292"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb292-1"><a href="#cb292-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!”</p>
+<h4 data-number="2.2.1.31" id="option-tightlists"><span class="header-section-number">2.2.1.31</span> Option <code>tightLists</code></h4>
<dl>
<dt><code>tightLists</code> (default value: <code>true</code>)</dt>
<dd><dl>
@@ -3298,39 +3434,39 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 id="latex-example-25" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb279"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb279-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb279-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb279-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb279-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb279-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb279-6" data-line-number="6">The following list is tight:</a>
-<a class="sourceLine" id="cb279-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb279-8" data-line-number="8"> - first item</a>
-<a class="sourceLine" id="cb279-9" data-line-number="9"> - second item</a>
-<a class="sourceLine" id="cb279-10" data-line-number="10"> - third item</a>
-<a class="sourceLine" id="cb279-11" data-line-number="11"></a>
-<a class="sourceLine" id="cb279-12" data-line-number="12">The following list is loose:</a>
-<a class="sourceLine" id="cb279-13" data-line-number="13"></a>
-<a class="sourceLine" id="cb279-14" data-line-number="14"> - first item</a>
-<a class="sourceLine" id="cb279-15" data-line-number="15"> - second item that spans</a>
-<a class="sourceLine" id="cb279-16" data-line-number="16"></a>
-<a class="sourceLine" id="cb279-17" data-line-number="17"> multiple paragraphs</a>
-<a class="sourceLine" id="cb279-18" data-line-number="18"> - third item</a>
-<a class="sourceLine" id="cb279-19" data-line-number="19"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb279-20" data-line-number="20"></a>
-<a class="sourceLine" id="cb279-21" data-line-number="21"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{tightLists=false}</a>
-<a class="sourceLine" id="cb279-22" data-line-number="22">The following list is now also loose:</a>
-<a class="sourceLine" id="cb279-23" data-line-number="23"></a>
-<a class="sourceLine" id="cb279-24" data-line-number="24"> - first item</a>
-<a class="sourceLine" id="cb279-25" data-line-number="25"> - second item</a>
-<a class="sourceLine" id="cb279-26" data-line-number="26"> - third item</a>
-<a class="sourceLine" id="cb279-27" data-line-number="27"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb279-28" data-line-number="28"></a>
-<a class="sourceLine" id="cb279-29" data-line-number="29"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb280"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb280-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-27"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb293"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb293-1"><a href="#cb293-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb293-2"><a href="#cb293-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb293-3"><a href="#cb293-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb293-4"><a href="#cb293-4" aria-hidden="true"></a></span>
+<span id="cb293-5"><a href="#cb293-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb293-6"><a href="#cb293-6" aria-hidden="true"></a>The following list is tight:</span>
+<span id="cb293-7"><a href="#cb293-7" aria-hidden="true"></a></span>
+<span id="cb293-8"><a href="#cb293-8" aria-hidden="true"></a> - first item</span>
+<span id="cb293-9"><a href="#cb293-9" aria-hidden="true"></a> - second item</span>
+<span id="cb293-10"><a href="#cb293-10" aria-hidden="true"></a> - third item</span>
+<span id="cb293-11"><a href="#cb293-11" aria-hidden="true"></a></span>
+<span id="cb293-12"><a href="#cb293-12" aria-hidden="true"></a>The following list is loose:</span>
+<span id="cb293-13"><a href="#cb293-13" aria-hidden="true"></a></span>
+<span id="cb293-14"><a href="#cb293-14" aria-hidden="true"></a> - first item</span>
+<span id="cb293-15"><a href="#cb293-15" aria-hidden="true"></a> - second item that spans</span>
+<span id="cb293-16"><a href="#cb293-16" aria-hidden="true"></a></span>
+<span id="cb293-17"><a href="#cb293-17" aria-hidden="true"></a> multiple paragraphs</span>
+<span id="cb293-18"><a href="#cb293-18" aria-hidden="true"></a> - third item</span>
+<span id="cb293-19"><a href="#cb293-19" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb293-20"><a href="#cb293-20" aria-hidden="true"></a></span>
+<span id="cb293-21"><a href="#cb293-21" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{tightLists=false}</span>
+<span id="cb293-22"><a href="#cb293-22" aria-hidden="true"></a>The following list is now also loose:</span>
+<span id="cb293-23"><a href="#cb293-23" aria-hidden="true"></a></span>
+<span id="cb293-24"><a href="#cb293-24" aria-hidden="true"></a> - first item</span>
+<span id="cb293-25"><a href="#cb293-25" aria-hidden="true"></a> - second item</span>
+<span id="cb293-26"><a href="#cb293-26" aria-hidden="true"></a> - third item</span>
+<span id="cb293-27"><a href="#cb293-27" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb293-28"><a href="#cb293-28" aria-hidden="true"></a></span>
+<span id="cb293-29"><a href="#cb293-29" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb294"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb294-1"><a href="#cb294-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>The following list is tight:</p>
@@ -3341,9 +3477,9 @@ Thomas,Edison,1847</code></pre>
</ul>
<p>The following list is loose:</p>
<ul>
-<li>first item</li>
+<li><p>first item</p></li>
<li><p>second item that spans</p>
-multiple paragraphs</li>
+<p>multiple paragraphs</p></li>
<li><p>third item</p></li>
</ul>
<p>The following list is now also loose:</p>
@@ -3353,16 +3489,16 @@ multiple paragraphs</li>
<li><p>third item</p></li>
</ul>
</blockquote>
-<h4 id="option-underscores"><span class="header-section-number">2.2.1.30</span> Option <code>underscores</code></h4>
+<h4 data-number="2.2.1.32" id="option-underscores"><span class="header-section-number">2.2.1.32</span> Option <code>underscores</code></h4>
<dl>
<dt><code>underscores</code> (default value: <code>true</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Both underscores and asterisks can be used to denote emphasis and strong emphasis:</p>
-<div class="sourceCode" id="cb281"><pre class="sourceCode md"><code class="sourceCode markdown"><a class="sourceLine" id="cb281-1" data-line-number="1">*single asterisks*</a>
-<a class="sourceLine" id="cb281-2" data-line-number="2">_single underscores_</a>
-<a class="sourceLine" id="cb281-3" data-line-number="3">**double asterisks**</a>
-<a class="sourceLine" id="cb281-4" data-line-number="4">__double underscores__</a></code></pre></div>
+<div class="sourceCode" id="cb295"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb295-1"><a href="#cb295-1" aria-hidden="true"></a>*single asterisks*</span>
+<span id="cb295-2"><a href="#cb295-2" aria-hidden="true"></a>_single underscores_</span>
+<span id="cb295-3"><a href="#cb295-3" aria-hidden="true"></a>**double asterisks**</span>
+<span id="cb295-4"><a href="#cb295-4" aria-hidden="true"></a>__double underscores__</span></code></pre></div>
</dd>
</dl>
</dd>
@@ -3373,76 +3509,76 @@ multiple paragraphs</li>
</dl>
</dd>
</dl>
-<h5 id="plain-tex-example-13" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb282"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb282-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb282-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionHybrid{true}</a>
-<a class="sourceLine" id="cb282-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb282-4" data-line-number="4"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb282-5" data-line-number="5">This is _emphasized text_ and this is a math subscript: <span class="ss">$m</span><span class="sc">\_</span><span class="ss">n$</span>.</a>
-<a class="sourceLine" id="cb282-6" data-line-number="6"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb282-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb282-8" data-line-number="8"><span class="fu">\def</span>\markdownOptionUnderscores{false}</a>
-<a class="sourceLine" id="cb282-9" data-line-number="9"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb282-10" data-line-number="10">This is *emphasized text* and this is a math subscript: <span class="ss">$m_n$</span>.</a>
-<a class="sourceLine" id="cb282-11" data-line-number="11"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb282-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb282-13" data-line-number="13"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb283"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb283-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-15">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb296"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb296-1"><a href="#cb296-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb296-2"><a href="#cb296-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionHybrid</span>{true}</span>
+<span id="cb296-3"><a href="#cb296-3" aria-hidden="true"></a></span>
+<span id="cb296-4"><a href="#cb296-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb296-5"><a href="#cb296-5" aria-hidden="true"></a>This is _emphasized text_ and this is a math subscript: <span class="ss">$m</span><span class="sc">\_</span><span class="ss">n$</span>.</span>
+<span id="cb296-6"><a href="#cb296-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb296-7"><a href="#cb296-7" aria-hidden="true"></a></span>
+<span id="cb296-8"><a href="#cb296-8" aria-hidden="true"></a><span class="fu">\def\markdownOptionUnderscores</span>{false}</span>
+<span id="cb296-9"><a href="#cb296-9" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb296-10"><a href="#cb296-10" aria-hidden="true"></a>This is *emphasized text* and this is a math subscript: <span class="ss">$m_n$</span>.</span>
+<span id="cb296-11"><a href="#cb296-11" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb296-12"><a href="#cb296-12" aria-hidden="true"></a></span>
+<span id="cb296-13"><a href="#cb296-13" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb297"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb297-1"><a href="#cb297-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is <em>emphasized text</em> and this is a math subscript: <em>mₙ</em>.</p>
<p>This is <em>emphasized text</em> and this is a math subscript: <em>mₙ</em>.</p>
</blockquote>
-<h5 id="latex-example-26" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb284"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb284-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb284-2" data-line-number="2"><span class="bu">\usepackage</span>[hybrid]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb284-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb284-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb284-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb284-6" data-line-number="6">This is _emphasized text_ and this is a math subscript: <span class="ss">$m</span><span class="sc">\_</span><span class="ss">n$</span>.</a>
-<a class="sourceLine" id="cb284-7" data-line-number="7"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb284-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb284-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{underscores=false}</a>
-<a class="sourceLine" id="cb284-10" data-line-number="10">This is *emphasized text* and this is a math subscript: <span class="ss">$m_n$</span>.</a>
-<a class="sourceLine" id="cb284-11" data-line-number="11"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb284-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb284-13" data-line-number="13"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb285"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb285-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-28"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb298"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb298-1"><a href="#cb298-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb298-2"><a href="#cb298-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[hybrid]{<span class="ex">markdown</span>}</span>
+<span id="cb298-3"><a href="#cb298-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb298-4"><a href="#cb298-4" aria-hidden="true"></a></span>
+<span id="cb298-5"><a href="#cb298-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb298-6"><a href="#cb298-6" aria-hidden="true"></a>This is _emphasized text_ and this is a math subscript: <span class="ss">$m</span><span class="sc">\_</span><span class="ss">n$</span>.</span>
+<span id="cb298-7"><a href="#cb298-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb298-8"><a href="#cb298-8" aria-hidden="true"></a></span>
+<span id="cb298-9"><a href="#cb298-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{underscores=false}</span>
+<span id="cb298-10"><a href="#cb298-10" aria-hidden="true"></a>This is *emphasized text* and this is a math subscript: <span class="ss">$m_n$</span>.</span>
+<span id="cb298-11"><a href="#cb298-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb298-12"><a href="#cb298-12" aria-hidden="true"></a></span>
+<span id="cb298-13"><a href="#cb298-13" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb299"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb299-1"><a href="#cb299-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is <em>emphasized text</em> and this is a math subscript: <em>mₙ</em>.</p>
<p>This is <em>emphasized text</em> and this is a math subscript: <em>mₙ</em>.</p>
</blockquote>
-<h5 id="context-example-23" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb286"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb286-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb286-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionHybrid{true}</a>
-<a class="sourceLine" id="cb286-3" data-line-number="3"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb286-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb286-5" data-line-number="5"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb286-6" data-line-number="6">This is _emphasized text_ and this is a math subscript: <span class="ss">$m</span><span class="sc">\_</span><span class="ss">n$</span>.</a>
-<a class="sourceLine" id="cb286-7" data-line-number="7"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb286-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb286-9" data-line-number="9"><span class="fu">\def</span>\markdownOptionUnderscores{false}</a>
-<a class="sourceLine" id="cb286-10" data-line-number="10"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb286-11" data-line-number="11">This is *emphasized text* and this is a math subscript: <span class="ss">$m_n$</span>.</a>
-<a class="sourceLine" id="cb286-12" data-line-number="12"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb286-13" data-line-number="13"></a>
-<a class="sourceLine" id="cb286-14" data-line-number="14"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb287"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb287-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-25">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb300"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb300-1"><a href="#cb300-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb300-2"><a href="#cb300-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionHybrid</span>{true}</span>
+<span id="cb300-3"><a href="#cb300-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb300-4"><a href="#cb300-4" aria-hidden="true"></a></span>
+<span id="cb300-5"><a href="#cb300-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb300-6"><a href="#cb300-6" aria-hidden="true"></a>This is _emphasized text_ and this is a math subscript: <span class="ss">$m</span><span class="sc">\_</span><span class="ss">n$</span>.</span>
+<span id="cb300-7"><a href="#cb300-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb300-8"><a href="#cb300-8" aria-hidden="true"></a></span>
+<span id="cb300-9"><a href="#cb300-9" aria-hidden="true"></a><span class="fu">\def\markdownOptionUnderscores</span>{false}</span>
+<span id="cb300-10"><a href="#cb300-10" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb300-11"><a href="#cb300-11" aria-hidden="true"></a>This is *emphasized text* and this is a math subscript: <span class="ss">$m_n$</span>.</span>
+<span id="cb300-12"><a href="#cb300-12" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb300-13"><a href="#cb300-13" aria-hidden="true"></a></span>
+<span id="cb300-14"><a href="#cb300-14" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb301"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb301-1"><a href="#cb301-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is <em>emphasized text</em> and this is a math subscript: <em>mₙ</em>.</p>
<p>This is <em>emphasized text</em> and this is a math subscript: <em>mₙ</em>.</p>
</blockquote>
-<h3 id="plain-tex-1"><span class="header-section-number">2.2.2</span> Plain <span class="tex">T<sub>e</sub>X</span></h3>
+<h3 data-number="2.2.2" id="plain-tex-1"><span class="header-section-number">2.2.2</span> Plain <span class="tex">T<sub>e</sub>X</span></h3>
<p>Plain <span class="tex">T<sub>e</sub>X</span> options control the communication between the <span class="tex">T<sub>e</sub>X</span> interface and the <code>markdown</code> Lua module. They are supported by all higher-level interfaces of the Markdown package, i.e. the plain <span class="tex">T<sub>e</sub>X</span>, <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> and Con<span class="tex">T<sub>e</sub>X</span>t interfaces.</p>
-<h4 id="finalizing-and-freezing-the-cache"><span class="header-section-number">2.2.2.1</span> Finalizing and Freezing the Cache</h4>
+<h4 data-number="2.2.2.1" id="finalizing-and-freezing-the-cache"><span class="header-section-number">2.2.2.1</span> Finalizing and Freezing the Cache</h4>
<p>The <code>\markdownOptionFrozenCache</code> option uses the mapping previously created by the Lua interface <strong><code>finalizeCache</code></strong> option, and uses it to typeset the plain <span class="tex">T<sub>e</sub>X</span> document without invoking Lua. As a result, the plain <span class="tex">T<sub>e</sub>X</span> document becomes more portable, but further changes in the order and the content of markdown documents will not be reflected. It defaults to <code>false</code>.</p>
<p>The standard usage of the <strong><code>finalizeCache</code></strong> and <code>\markdownOptionFrozenCache</code> options is as follows:</p>
<ol type="1">
@@ -3453,7 +3589,7 @@ multiple paragraphs</li>
<li>Publish the source code of the plain <span class="tex">T<sub>e</sub>X</span> document and the <strong><code>cacheDir</code></strong> directory.</li>
</ol>
<p>For more information, see the examples for the <strong><code>finalizeCache</code></strong> option.</p>
-<h4 id="file-and-directory-names"><span class="header-section-number">2.2.2.2</span> File and Directory Names</h4>
+<h4 data-number="2.2.2.2" id="file-and-directory-names"><span class="header-section-number">2.2.2.2</span> File and Directory Names</h4>
<p>The plain <span class="tex">T<sub>e</sub>X</span> interface provides the following commands that you can use to specify the location of temporary files produced during the conversion from Markdown to <span class="tex">T<sub>e</sub>X</span>:</p>
<ul>
<li><code>\markdownOptionHelperScriptFileName</code>,</li>
@@ -3465,293 +3601,423 @@ multiple paragraphs</li>
<li><code>\markdownOptionFrozenCacheFileName</code>.</li>
</ul>
<p>Using a text editor, create a folder named <code>output-directory</code> and a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb288"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb288-1" data-line-number="1"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb288-2" data-line-number="2"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb288-3" data-line-number="3"><span class="fu">\def</span>\markdownOptionHelperScriptFileName{helper-script.lua}</a>
-<a class="sourceLine" id="cb288-4" data-line-number="4"><span class="fu">\def</span>\markdownOptionInputTempFileName{temporary-input.md}</a>
-<a class="sourceLine" id="cb288-5" data-line-number="5"><span class="fu">\def</span>\markdownOptionOutputTempFileName{temporary-output.tex}</a>
-<a class="sourceLine" id="cb288-6" data-line-number="6"><span class="fu">\def</span>\markdownOptionErrorTempFileName{error-output.txt}</a>
-<a class="sourceLine" id="cb288-7" data-line-number="7"><span class="fu">\def</span>\markdownOptionOutputDir{output-directory}</a>
-<a class="sourceLine" id="cb288-8" data-line-number="8"><span class="fu">\def</span>\markdownOptionCacheDir{output-directory/cache-directory}</a>
-<a class="sourceLine" id="cb288-9" data-line-number="9"><span class="fu">\markdownOptionFinalizeCachetrue</span></a>
-<a class="sourceLine" id="cb288-10" data-line-number="10"><span class="fu">\def</span>\markdownOptionFrozenCacheFileName{output-directory/cache-directory/frozen-cache.tex}</a>
-<a class="sourceLine" id="cb288-11" data-line-number="11"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb288-12" data-line-number="12">Hello *world*!</a>
-<a class="sourceLine" id="cb288-13" data-line-number="13"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb288-14" data-line-number="14"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb289"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb289-1" data-line-number="1"><span class="ex">luatex</span> --output-directory output-directory document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb302"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb302-1"><a href="#cb302-1" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb302-2"><a href="#cb302-2" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb302-3"><a href="#cb302-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionHelperScriptFileName</span>{helper-script.lua}</span>
+<span id="cb302-4"><a href="#cb302-4" aria-hidden="true"></a><span class="fu">\def\markdownOptionInputTempFileName</span>{temporary-input.md}</span>
+<span id="cb302-5"><a href="#cb302-5" aria-hidden="true"></a><span class="fu">\def\markdownOptionOutputTempFileName</span>{temporary-output.tex}</span>
+<span id="cb302-6"><a href="#cb302-6" aria-hidden="true"></a><span class="fu">\def\markdownOptionErrorTempFileName</span>{error-output.txt}</span>
+<span id="cb302-7"><a href="#cb302-7" aria-hidden="true"></a><span class="fu">\def\markdownOptionOutputDir</span>{output-directory}</span>
+<span id="cb302-8"><a href="#cb302-8" aria-hidden="true"></a><span class="fu">\def\markdownOptionCacheDir</span>{output-directory/cache-directory}</span>
+<span id="cb302-9"><a href="#cb302-9" aria-hidden="true"></a><span class="fu">\markdownOptionFinalizeCachetrue</span></span>
+<span id="cb302-10"><a href="#cb302-10" aria-hidden="true"></a><span class="fu">\def\markdownOptionFrozenCacheFileName</span>{output-directory/cache-directory/frozen-cache.tex}</span>
+<span id="cb302-11"><a href="#cb302-11" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb302-12"><a href="#cb302-12" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb302-13"><a href="#cb302-13" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb302-14"><a href="#cb302-14" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb303"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb303-1"><a href="#cb303-1" aria-hidden="true"></a><span class="ex">luatex</span> --output-directory output-directory document.tex</span></code></pre></div>
<p>A text document named <code>temporary-input.md</code> should be produced in the folder named <code>output-directory</code> and contain the following text:</p>
<blockquote>
<p>Hello *world*!</p>
</blockquote>
<p>A folder named <code>output-directory/cache-directory</code> should also be produced and contain fragments of the converted markdown document. LuaTeX does not need other temporary files to perform the conversion from markdown to <span class="tex">T<sub>e</sub>X</span>. To produce the remaining temporary files, invoke pdfTeX from the terminal:</p>
-<div class="sourceCode" id="cb290"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb290-1" data-line-number="1"><span class="ex">pdftex</span> --output-directory output-directory --shell-escape document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb304"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb304-1"><a href="#cb304-1" aria-hidden="true"></a><span class="ex">pdftex</span> --output-directory output-directory --shell-escape document.tex</span></code></pre></div>
<p>Text documents named <code>helper-script.lua</code>, and <code>temporary-output.md</code> should be produced in the folder named <code>output-directory</code>. The document named <code>helper-script.lua</code> will contain Lua code that was executed to convert markdown to plain <span class="tex">T<sub>e</sub>X</span>. The document named <code>temporary-output.tex</code> will contain the input markdown document converted to <span class="tex">T<sub>e</sub>X</span>.</p>
<p>No document named <code>error-output.txt</code> should be produced in the folder named <code>output-directory</code>. This document would only be produced if an error had occured while executing the Lua code. If this happens, please <a href="https://github.com/witiko/markdown/issues">file a bug</a>.</p>
-<h4 id="package-documentation"><span class="header-section-number">2.2.2.3</span> Package Documentation</h4>
+<h4 data-number="2.2.2.3" id="package-documentation"><span class="header-section-number">2.2.2.3</span> Package Documentation</h4>
<p>The <code>\markdownOptionStripPercentSigns</code> macro controls whether a percent sign (<code>%</code>) at the beginning of a line will be discarded when reading Markdown input from a <span class="tex">T<sub>e</sub>X</span> document. This enables the use of markdown when writing <span class="tex">T<sub>e</sub>X</span> package documentation using the <a href="https://ctan.org/pkg/doc" title="doc – Format LaTeX documentation">Doc <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> package</a> by Frank Mittelbach. The recognized values of the macro are <code>true</code> (discard) and <code>false</code> (retain). It defaults to <code>false</code>.</p>
<p>Using a text editor, create a text document named <code>document.dtx</code> with the following content:</p>
-<div class="sourceCode" id="cb291"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb291-1" data-line-number="1"><span class="co">% \iffalse</span></a>
-<a class="sourceLine" id="cb291-2" data-line-number="2"><span class="bu">\documentclass</span>{<span class="ex">ltxdoc</span>}</a>
-<a class="sourceLine" id="cb291-3" data-line-number="3"><span class="bu">\usepackage</span>[stripPercentSigns]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb291-4" data-line-number="4"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb291-5" data-line-number="5"><span class="fu">\DocInput</span>{document.dtx}</a>
-<a class="sourceLine" id="cb291-6" data-line-number="6"><span class="kw">\end</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb291-7" data-line-number="7"><span class="co">% \fi</span></a>
-<a class="sourceLine" id="cb291-8" data-line-number="8"><span class="co">%</span></a>
-<a class="sourceLine" id="cb291-9" data-line-number="9"><span class="co">% \begin{markdown}</span></a>
-<a class="sourceLine" id="cb291-10" data-line-number="10"><span class="co">% Hello *world*!</span></a>
-<a class="sourceLine" id="cb291-11" data-line-number="11"><span class="co">% \end{markdown}</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb292"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb292-1" data-line-number="1"><span class="ex">lualatex</span> document.dtx</a></code></pre></div>
+<div class="sourceCode" id="cb305"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb305-1"><a href="#cb305-1" aria-hidden="true"></a><span class="co">% \iffalse</span></span>
+<span id="cb305-2"><a href="#cb305-2" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">ltxdoc</span>}</span>
+<span id="cb305-3"><a href="#cb305-3" aria-hidden="true"></a><span class="bu">\usepackage</span>[stripPercentSigns]{<span class="ex">markdown</span>}</span>
+<span id="cb305-4"><a href="#cb305-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb305-5"><a href="#cb305-5" aria-hidden="true"></a><span class="fu">\DocInput</span>{document.dtx}</span>
+<span id="cb305-6"><a href="#cb305-6" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span>
+<span id="cb305-7"><a href="#cb305-7" aria-hidden="true"></a><span class="co">% \fi</span></span>
+<span id="cb305-8"><a href="#cb305-8" aria-hidden="true"></a><span class="co">%</span></span>
+<span id="cb305-9"><a href="#cb305-9" aria-hidden="true"></a><span class="co">% \begin{markdown}</span></span>
+<span id="cb305-10"><a href="#cb305-10" aria-hidden="true"></a><span class="co">% Hello *world*!</span></span>
+<span id="cb305-11"><a href="#cb305-11" aria-hidden="true"></a><span class="co">% \end{markdown}</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb306"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb306-1"><a href="#cb306-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.dtx</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!”</p>
-<h2 id="markdown-tokens"><span class="header-section-number">2.3</span> Markdown Tokens</h2>
+<h3 data-number="2.2.3" id="latex-1"><span class="header-section-number">2.2.3</span> <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span></h3>
+<p><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> options allow us to disable the redefinition of the default renderer prototypes from plain <span class="tex">T<sub>e</sub>X</span>, load user-contributed themes, and invoke user-defined setup snippets.</p>
+<h4 data-number="2.2.3.1" id="no-default-token-renderer-prototypes"><span class="header-section-number">2.2.3.1</span> No default token renderer prototypes</h4>
+<p>Default token renderer prototypes require <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> packages that may clash with other packages used in a document. Additionally, if we redefine token renderers and renderer prototypes ourselves, the default definitions will bring no benefit to us. Using the <code>plain</code> package option, we can keep the default definitions from the plain <span class="tex">T<sub>e</sub>X</span> implementation (see Section ) and prevent the soft <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> prerequisites in Section from being loaded:</p>
+<div class="sourceCode" id="cb307"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb307-1"><a href="#cb307-1" aria-hidden="true"></a><span class="bu">\usepackage</span>[plain]{<span class="ex">markdown</span>}</span></code></pre></div>
+<h4 data-number="2.2.3.2" id="latex-themes"><span class="header-section-number">2.2.3.2</span> <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> themes</h4>
+<p>User-contributed <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> themes for the Markdown package provide a domain-specific interpretation of some Markdown tokens. Similarly to <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> packages, themes allow the authors to achieve a specific look and other high-level goals without low-level programming.</p>
+<p>For example, to load themes named <code>witiko/beamer/MU</code> and <code>witiko/dot</code>, you would use the following code in the preamble of your document:</p>
+<div class="sourceCode" id="cb308"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb308-1"><a href="#cb308-1" aria-hidden="true"></a><span class="bu">\usepackage</span>[</span>
+<span id="cb308-2"><a href="#cb308-2" aria-hidden="true"></a> theme = witiko/beamer/MU,</span>
+<span id="cb308-3"><a href="#cb308-3" aria-hidden="true"></a> theme = witiko/dot,</span>
+<span id="cb308-4"><a href="#cb308-4" aria-hidden="true"></a>]{<span class="ex">markdown</span>}</span></code></pre></div>
+<p>Due to limitations of <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span>, themes may not be loaded after the beginning of a <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> document.</p>
+<p>Example themes provided with the Markdown package include:</p>
+<dl>
+<dt><strong><code>witiko/dot</code></strong></dt>
+<dd><p>A theme that typesets fenced code blocks with the <code>dot …</code> infostring as images of directed graphs rendered by the Graphviz tools. The right tail of the infostring is used as the image title. The theme requires a Unix-like operating system with GNU Diffutils and Graphviz installed. The theme also requires shell access unless the <code>\markdownOptionFrozenCache</code> plain <span class="tex">T<sub>e</sub>X</span> option is enabled.</p>
+</dd>
+</dl>
+<h5 class="unnumbered" data-number="" id="latex-example-29"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb309"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb309-1"><a href="#cb309-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb309-2"><a href="#cb309-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[theme=witiko/dot]{<span class="ex">markdown</span>}</span>
+<span id="cb309-3"><a href="#cb309-3" aria-hidden="true"></a><span class="fu">\setkeys</span>{Gin}{</span>
+<span id="cb309-4"><a href="#cb309-4" aria-hidden="true"></a> width=<span class="fu">\columnwidth</span>,</span>
+<span id="cb309-5"><a href="#cb309-5" aria-hidden="true"></a> height=0.65<span class="fu">\paperheight</span>,</span>
+<span id="cb309-6"><a href="#cb309-6" aria-hidden="true"></a> keepaspectratio}</span>
+<span id="cb309-7"><a href="#cb309-7" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb309-8"><a href="#cb309-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb309-9"><a href="#cb309-9" aria-hidden="true"></a>``` dot Various formats of mathemathical formulae</span>
+<span id="cb309-10"><a href="#cb309-10" aria-hidden="true"></a>digraph tree {</span>
+<span id="cb309-11"><a href="#cb309-11" aria-hidden="true"></a> margin = 0;</span>
+<span id="cb309-12"><a href="#cb309-12" aria-hidden="true"></a> rankdir = &quot;LR&quot;;</span>
+<span id="cb309-13"><a href="#cb309-13" aria-hidden="true"></a></span>
+<span id="cb309-14"><a href="#cb309-14" aria-hidden="true"></a> latex -&gt; pmml;</span>
+<span id="cb309-15"><a href="#cb309-15" aria-hidden="true"></a> latex -&gt; cmml;</span>
+<span id="cb309-16"><a href="#cb309-16" aria-hidden="true"></a> pmml -&gt; slt;</span>
+<span id="cb309-17"><a href="#cb309-17" aria-hidden="true"></a> cmml -&gt; opt;</span>
+<span id="cb309-18"><a href="#cb309-18" aria-hidden="true"></a> cmml -&gt; prefix;</span>
+<span id="cb309-19"><a href="#cb309-19" aria-hidden="true"></a> cmml -&gt; infix;</span>
+<span id="cb309-20"><a href="#cb309-20" aria-hidden="true"></a> pmml -&gt; mterms [style=dashed];</span>
+<span id="cb309-21"><a href="#cb309-21" aria-hidden="true"></a> cmml -&gt; mterms;</span>
+<span id="cb309-22"><a href="#cb309-22" aria-hidden="true"></a></span>
+<span id="cb309-23"><a href="#cb309-23" aria-hidden="true"></a> latex [label = &quot;LaTeX&quot;];</span>
+<span id="cb309-24"><a href="#cb309-24" aria-hidden="true"></a> pmml [label = &quot;Presentation MathML&quot;];</span>
+<span id="cb309-25"><a href="#cb309-25" aria-hidden="true"></a> cmml [label = &quot;Content MathML&quot;];</span>
+<span id="cb309-26"><a href="#cb309-26" aria-hidden="true"></a> slt [label = &quot;Symbol Layout Tree&quot;];</span>
+<span id="cb309-27"><a href="#cb309-27" aria-hidden="true"></a> opt [label = &quot;Operator Tree&quot;];</span>
+<span id="cb309-28"><a href="#cb309-28" aria-hidden="true"></a> prefix [label = &quot;Prefix&quot;];</span>
+<span id="cb309-29"><a href="#cb309-29" aria-hidden="true"></a> infix [label = &quot;Infix&quot;];</span>
+<span id="cb309-30"><a href="#cb309-30" aria-hidden="true"></a> mterms [label = &quot;M-Terms&quot;];</span>
+<span id="cb309-31"><a href="#cb309-31" aria-hidden="true"></a>}</span>
+<span id="cb309-32"><a href="#cb309-32" aria-hidden="true"></a>```</span>
+<span id="cb309-33"><a href="#cb309-33" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb309-34"><a href="#cb309-34" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb310"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb310-1"><a href="#cb310-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain a drawing of a directed graph similar to Figure 1 from the following conference article:</p>
+<blockquote>
+<p>NOVOTNÝ, Vít, Petr SOJKA, Michal ŠTEFÁNIK and Dávid LUPTÁK. Three is Better than One: Ensembling Math Information Retrieval Systems. <em>CEUR Workshop Proceedings</em>. Thessaloniki, Greece: M. Jeusfeld c/o Redaktion Sun SITE, Informatik V, RWTH Aachen., 2020, vol. 2020, No 2696, p. 1-30. ISSN 1613-0073. <a href="http://ceur-ws.org/Vol-2696/paper_235.pdf" class="uri">http://ceur-ws.org/Vol-2696/paper_235.pdf</a></p>
+</blockquote>
+<dl>
+<dt><strong><code>witiko/graphicx/http</code></strong></dt>
+<dd><p>A theme that adds support for downloading images whose URL has the http or https protocol. The theme requires the <strong><code>catchfile</code></strong> <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> package and a Unix-like operating system with GNU Coreutils <code>md5sum</code> and either GNU Wget or cURL installed. The theme also requires shell access unless the <code>\markdownOptionFrozenCache</code> plain <span class="tex">T<sub>e</sub>X</span> option is enabled.</p>
+</dd>
+</dl>
+<h5 class="unnumbered" data-number="" id="latex-example-30"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb311"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb311-1"><a href="#cb311-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb311-2"><a href="#cb311-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[theme=witiko/graphicx/http]{<span class="ex">markdown</span>}</span>
+<span id="cb311-3"><a href="#cb311-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb311-4"><a href="#cb311-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb311-5"><a href="#cb311-5" aria-hidden="true"></a>![img](https://github.com/witiko/markdown/raw/master/banner.png</span>
+<span id="cb311-6"><a href="#cb311-6" aria-hidden="true"></a> &quot;The banner of the Markdown package&quot;)</span>
+<span id="cb311-7"><a href="#cb311-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb311-8"><a href="#cb311-8" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb312"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb312-1"><a href="#cb312-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following image:</p>
+<blockquote>
+<figure>
+<img src="https://github.com/witiko/markdown/raw/master/banner.png" title="The banner of the Markdown package" alt="" /><figcaption>img</figcaption>
+</figure>
+</blockquote>
+<dl>
+<dt><strong><code>witiko/tilde</code></strong></dt>
+<dd><p>A theme that makes tilde (<code>~</code>) always typeset the non-breaking space even when the <strong><code>hybrid</code></strong> Lua option is <code>false</code>.</p>
+</dd>
+</dl>
+<h5 class="unnumbered" data-number="" id="latex-example-31"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb313"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb313-1"><a href="#cb313-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb313-2"><a href="#cb313-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[theme=witiko/tilde]{<span class="ex">markdown</span>}</span>
+<span id="cb313-3"><a href="#cb313-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb313-4"><a href="#cb313-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb313-5"><a href="#cb313-5" aria-hidden="true"></a>Bartel~Leendert van~der~Waerden</span>
+<span id="cb313-6"><a href="#cb313-6" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb313-7"><a href="#cb313-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb314"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb314-1"><a href="#cb314-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text, where the middot (<code>·</code>) denotes a non-breaking space:</p>
+<blockquote>
+<p>Bartel·Leendert van·der·Waerden</p>
+</blockquote>
+<h4 data-number="2.2.3.3" id="latex-setup-snippets"><span class="header-section-number">2.2.3.3</span> <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> setup snippets</h4>
+<p>User-contributed <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> themes provide global control over high-level goals. However, it is often desirable to change only some local aspects of a document. <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> setup snippets provide syntactic sugar for defining and invoking various options locally.</p>
+<p>Here is how we can use setup snippets to store options and invoke them later:</p>
+<div class="sourceCode" id="cb315"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb315-1"><a href="#cb315-1" aria-hidden="true"></a><span class="fu">\markdownSetupSnippet</span>{romanNumerals}{</span>
+<span id="cb315-2"><a href="#cb315-2" aria-hidden="true"></a> renderers = {</span>
+<span id="cb315-3"><a href="#cb315-3" aria-hidden="true"></a> olItemWithNumber = {<span class="co">%</span></span>
+<span id="cb315-4"><a href="#cb315-4" aria-hidden="true"></a> <span class="fu">\item</span>[<span class="fu">\romannumeral</span>#1<span class="fu">\relax</span>.]<span class="co">%</span></span>
+<span id="cb315-5"><a href="#cb315-5" aria-hidden="true"></a> },</span>
+<span id="cb315-6"><a href="#cb315-6" aria-hidden="true"></a> },</span>
+<span id="cb315-7"><a href="#cb315-7" aria-hidden="true"></a>}</span>
+<span id="cb315-8"><a href="#cb315-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb315-9"><a href="#cb315-9" aria-hidden="true"></a></span>
+<span id="cb315-10"><a href="#cb315-10" aria-hidden="true"></a>The following ordered list will be preceded by arabic numerals:</span>
+<span id="cb315-11"><a href="#cb315-11" aria-hidden="true"></a></span>
+<span id="cb315-12"><a href="#cb315-12" aria-hidden="true"></a>1. wahid</span>
+<span id="cb315-13"><a href="#cb315-13" aria-hidden="true"></a>2. aithnayn</span>
+<span id="cb315-14"><a href="#cb315-14" aria-hidden="true"></a></span>
+<span id="cb315-15"><a href="#cb315-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb315-16"><a href="#cb315-16" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{snippet=romanNumerals}</span>
+<span id="cb315-17"><a href="#cb315-17" aria-hidden="true"></a></span>
+<span id="cb315-18"><a href="#cb315-18" aria-hidden="true"></a>The following ordered list will be preceded by roman numerals:</span>
+<span id="cb315-19"><a href="#cb315-19" aria-hidden="true"></a></span>
+<span id="cb315-20"><a href="#cb315-20" aria-hidden="true"></a>3. tres</span>
+<span id="cb315-21"><a href="#cb315-21" aria-hidden="true"></a>4. quattuor</span>
+<span id="cb315-22"><a href="#cb315-22" aria-hidden="true"></a></span>
+<span id="cb315-23"><a href="#cb315-23" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span></code></pre></div>
+<h2 data-number="2.3" id="markdown-tokens"><span class="header-section-number">2.3</span> Markdown Tokens</h2>
<p>A key feature of the Markdown package is the support for manipulating markdown tokens, such as headings, emphasized text, links, and lists, in <span class="tex">T<sub>e</sub>X</span>. Instead of reducing <span class="tex">T<sub>e</sub>X</span> to a PDF document producer, the Markdown package allows the user to specify how every markdown token should be processed and rendered.</p>
-<h3 id="token-renderers"><span class="header-section-number">2.3.1</span> Token Renderers</h3>
+<h3 data-number="2.3.1" id="token-renderers"><span class="header-section-number">2.3.1</span> Token Renderers</h3>
<p>Token renderers are user-defined <span class="tex">T<sub>e</sub>X</span> macros, which render markdown tokens. In this section, I will describe the individual token renderers.</p>
-<h4 id="interblock-separator-renderer"><span class="header-section-number">2.3.1.1</span> Interblock Separator Renderer</h4>
+<h4 data-number="2.3.1.1" id="interblock-separator-renderer"><span class="header-section-number">2.3.1.1</span> Interblock Separator Renderer</h4>
<p>The <code>\markdownRendererInterblockSeparator</code> macro represents a separator between two markdown block elements. The macro receives no arguments.</p>
-<h5 id="plain-tex-example-14" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb293"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb293-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb293-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb293-3" data-line-number="3"> \par</a>
-<a class="sourceLine" id="cb293-4" data-line-number="4"> {\it(The end of a block)}<span class="co">%</span></a>
-<a class="sourceLine" id="cb293-5" data-line-number="5"> \par</a>
-<a class="sourceLine" id="cb293-6" data-line-number="6">}</a>
-<a class="sourceLine" id="cb293-7" data-line-number="7"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb293-8" data-line-number="8">Hello *world*!</a>
-<a class="sourceLine" id="cb293-9" data-line-number="9"></a>
-<a class="sourceLine" id="cb293-10" data-line-number="10">_Foo_ bar!</a>
-<a class="sourceLine" id="cb293-11" data-line-number="11"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb293-12" data-line-number="12"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb294"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb294-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-16">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb316"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb316-1"><a href="#cb316-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb316-2"><a href="#cb316-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb316-3"><a href="#cb316-3" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb316-4"><a href="#cb316-4" aria-hidden="true"></a> {<span class="fu">\it</span>(The end of a block)}<span class="co">%</span></span>
+<span id="cb316-5"><a href="#cb316-5" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb316-6"><a href="#cb316-6" aria-hidden="true"></a>}</span>
+<span id="cb316-7"><a href="#cb316-7" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb316-8"><a href="#cb316-8" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb316-9"><a href="#cb316-9" aria-hidden="true"></a></span>
+<span id="cb316-10"><a href="#cb316-10" aria-hidden="true"></a>_Foo_ bar!</span>
+<span id="cb316-11"><a href="#cb316-11" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb316-12"><a href="#cb316-12" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb317"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb317-1"><a href="#cb317-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Hello <em>world</em>!</p>
<p><em>(The end of a block)</em></p>
<p><em>Foo</em> bar!</p>
</blockquote>
-<h5 id="latex-example-27" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb295"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb295-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb295-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb295-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb295-4" data-line-number="4"> renderers = {</a>
-<a class="sourceLine" id="cb295-5" data-line-number="5"> interblockSeparator = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb295-6" data-line-number="6"> <span class="fu">\par</span></a>
-<a class="sourceLine" id="cb295-7" data-line-number="7"> <span class="fu">\emph</span>{(The end of a block)}<span class="co">%</span></a>
-<a class="sourceLine" id="cb295-8" data-line-number="8"> <span class="fu">\par</span></a>
-<a class="sourceLine" id="cb295-9" data-line-number="9"> },</a>
-<a class="sourceLine" id="cb295-10" data-line-number="10"> },</a>
-<a class="sourceLine" id="cb295-11" data-line-number="11">}</a>
-<a class="sourceLine" id="cb295-12" data-line-number="12"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb295-13" data-line-number="13"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb295-14" data-line-number="14">Hello *world*!</a>
-<a class="sourceLine" id="cb295-15" data-line-number="15"></a>
-<a class="sourceLine" id="cb295-16" data-line-number="16">_Foo_ bar!</a>
-<a class="sourceLine" id="cb295-17" data-line-number="17"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb295-18" data-line-number="18"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb296"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb296-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-32"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb318"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb318-1"><a href="#cb318-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb318-2"><a href="#cb318-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb318-3"><a href="#cb318-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb318-4"><a href="#cb318-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb318-5"><a href="#cb318-5" aria-hidden="true"></a> interblockSeparator = {<span class="co">%</span></span>
+<span id="cb318-6"><a href="#cb318-6" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb318-7"><a href="#cb318-7" aria-hidden="true"></a> <span class="fu">\emph</span>{(The end of a block)}<span class="co">%</span></span>
+<span id="cb318-8"><a href="#cb318-8" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb318-9"><a href="#cb318-9" aria-hidden="true"></a> },</span>
+<span id="cb318-10"><a href="#cb318-10" aria-hidden="true"></a> },</span>
+<span id="cb318-11"><a href="#cb318-11" aria-hidden="true"></a>}</span>
+<span id="cb318-12"><a href="#cb318-12" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb318-13"><a href="#cb318-13" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb318-14"><a href="#cb318-14" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb318-15"><a href="#cb318-15" aria-hidden="true"></a></span>
+<span id="cb318-16"><a href="#cb318-16" aria-hidden="true"></a>_Foo_ bar!</span>
+<span id="cb318-17"><a href="#cb318-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb318-18"><a href="#cb318-18" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb319"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb319-1"><a href="#cb319-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Hello <em>world</em>!</p>
<p><em>(The end of a block)</em></p>
<p><em>Foo</em> bar!</p>
</blockquote>
-<h5 id="context-example-24" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb297"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb297-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb297-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb297-3" data-line-number="3"> \par</a>
-<a class="sourceLine" id="cb297-4" data-line-number="4"> \emph{(The end of a block)}<span class="co">%</span></a>
-<a class="sourceLine" id="cb297-5" data-line-number="5"> \par</a>
-<a class="sourceLine" id="cb297-6" data-line-number="6">}</a>
-<a class="sourceLine" id="cb297-7" data-line-number="7"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb297-8" data-line-number="8"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb297-9" data-line-number="9">Hello *world*!</a>
-<a class="sourceLine" id="cb297-10" data-line-number="10"></a>
-<a class="sourceLine" id="cb297-11" data-line-number="11">_Foo_ bar!</a>
-<a class="sourceLine" id="cb297-12" data-line-number="12"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb297-13" data-line-number="13"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb298"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb298-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-26">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb320"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb320-1"><a href="#cb320-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb320-2"><a href="#cb320-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb320-3"><a href="#cb320-3" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb320-4"><a href="#cb320-4" aria-hidden="true"></a> <span class="fu">\emph</span>{(The end of a block)}<span class="co">%</span></span>
+<span id="cb320-5"><a href="#cb320-5" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb320-6"><a href="#cb320-6" aria-hidden="true"></a>}</span>
+<span id="cb320-7"><a href="#cb320-7" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb320-8"><a href="#cb320-8" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb320-9"><a href="#cb320-9" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb320-10"><a href="#cb320-10" aria-hidden="true"></a></span>
+<span id="cb320-11"><a href="#cb320-11" aria-hidden="true"></a>_Foo_ bar!</span>
+<span id="cb320-12"><a href="#cb320-12" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb320-13"><a href="#cb320-13" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb321"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb321-1"><a href="#cb321-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Hello <em>world</em>!</p>
<p><em>(The end of a block)</em></p>
<p><em>Foo</em> bar!</p>
</blockquote>
-<h4 id="line-break-renderer"><span class="header-section-number">2.3.1.2</span> Line Break Renderer</h4>
+<h4 data-number="2.3.1.2" id="line-break-renderer"><span class="header-section-number">2.3.1.2</span> Line Break Renderer</h4>
<p>The <code>\markdownRendererLineBreak</code> macro represents a forced line break. The macro receives no arguments.</p>
-<h5 id="plain-tex-example-15" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb299"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb299-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb299-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererLineBreak{<span class="co">%</span></a>
-<a class="sourceLine" id="cb299-3" data-line-number="3"> \par</a>
-<a class="sourceLine" id="cb299-4" data-line-number="4"> {\it(A forced linebreak)}<span class="co">%</span></a>
-<a class="sourceLine" id="cb299-5" data-line-number="5"> \par</a>
-<a class="sourceLine" id="cb299-6" data-line-number="6">}</a>
-<a class="sourceLine" id="cb299-7" data-line-number="7"><span class="fu">\markdownInput</span>{example.md}</a>
-<a class="sourceLine" id="cb299-8" data-line-number="8"><span class="fu">\bye</span></a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-17">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb322"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb322-1"><a href="#cb322-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb322-2"><a href="#cb322-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererLineBreak</span>{<span class="co">%</span></span>
+<span id="cb322-3"><a href="#cb322-3" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb322-4"><a href="#cb322-4" aria-hidden="true"></a> {<span class="fu">\it</span>(A forced linebreak)}<span class="co">%</span></span>
+<span id="cb322-5"><a href="#cb322-5" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb322-6"><a href="#cb322-6" aria-hidden="true"></a>}</span>
+<span id="cb322-7"><a href="#cb322-7" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
+<span id="cb322-8"><a href="#cb322-8" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Using a text editor, create a text document named <code>example.md</code> with the following content. Note the two spaces at the end of the first line, which specify a hard linebreak. Due to the limitations of the <span class="tex">T<sub>e</sub>X</span> input processor, hard linebreaks would be ignored if we typed them directly into the <code>document.tex</code> document.</p>
<pre><code>Hello world! <br/>_Foo_ bar!</code></pre>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb300"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb300-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb323"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb323-1"><a href="#cb323-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Hello <em>world</em>!</p>
<p><em>(A forced linebreak)</em></p>
<p><em>Foo</em> bar!</p>
</blockquote>
-<h5 id="latex-example-28" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb301"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb301-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb301-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb301-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb301-4" data-line-number="4"> renderers = {</a>
-<a class="sourceLine" id="cb301-5" data-line-number="5"> lineBreak = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb301-6" data-line-number="6"> <span class="fu">\par</span></a>
-<a class="sourceLine" id="cb301-7" data-line-number="7"> <span class="fu">\emph</span>{(A forced linebreak)}<span class="co">%</span></a>
-<a class="sourceLine" id="cb301-8" data-line-number="8"> <span class="fu">\par</span></a>
-<a class="sourceLine" id="cb301-9" data-line-number="9"> },</a>
-<a class="sourceLine" id="cb301-10" data-line-number="10"> },</a>
-<a class="sourceLine" id="cb301-11" data-line-number="11">}</a>
-<a class="sourceLine" id="cb301-12" data-line-number="12"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb301-13" data-line-number="13"><span class="fu">\markdownInput</span>{example.md}</a>
-<a class="sourceLine" id="cb301-14" data-line-number="14"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-33"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb324"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb324-1"><a href="#cb324-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb324-2"><a href="#cb324-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb324-3"><a href="#cb324-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb324-4"><a href="#cb324-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb324-5"><a href="#cb324-5" aria-hidden="true"></a> lineBreak = {<span class="co">%</span></span>
+<span id="cb324-6"><a href="#cb324-6" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb324-7"><a href="#cb324-7" aria-hidden="true"></a> <span class="fu">\emph</span>{(A forced linebreak)}<span class="co">%</span></span>
+<span id="cb324-8"><a href="#cb324-8" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb324-9"><a href="#cb324-9" aria-hidden="true"></a> },</span>
+<span id="cb324-10"><a href="#cb324-10" aria-hidden="true"></a> },</span>
+<span id="cb324-11"><a href="#cb324-11" aria-hidden="true"></a>}</span>
+<span id="cb324-12"><a href="#cb324-12" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb324-13"><a href="#cb324-13" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
+<span id="cb324-14"><a href="#cb324-14" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Using a text editor, create a text document named <code>example.md</code> with the following content. Note the two spaces at the end of the first line, which specify a hard linebreak. Due to the limitations of the <span class="tex">T<sub>e</sub>X</span> input processor, hard linebreaks would be ignored if we typed them directly into the <code>document.tex</code> document.</p>
<pre><code>Hello world! <br/>_Foo_ bar!</code></pre>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb302"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb302-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb325"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb325-1"><a href="#cb325-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Hello <em>world</em>!</p>
<p><em>(A forced linebreak)</em></p>
<p><em>Foo</em> bar!</p>
</blockquote>
-<h5 id="context-example-25" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb303"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb303-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb303-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererLineBreak{<span class="co">%</span></a>
-<a class="sourceLine" id="cb303-3" data-line-number="3"> \par</a>
-<a class="sourceLine" id="cb303-4" data-line-number="4"> \emph{(A forced linebreak)}<span class="co">%</span></a>
-<a class="sourceLine" id="cb303-5" data-line-number="5"> \par</a>
-<a class="sourceLine" id="cb303-6" data-line-number="6">}</a>
-<a class="sourceLine" id="cb303-7" data-line-number="7"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb303-8" data-line-number="8"><span class="fu">\markdownInput</span>{example.md}</a>
-<a class="sourceLine" id="cb303-9" data-line-number="9"><span class="fu">\stoptext</span></a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-27">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb326"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb326-1"><a href="#cb326-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb326-2"><a href="#cb326-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererLineBreak</span>{<span class="co">%</span></span>
+<span id="cb326-3"><a href="#cb326-3" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb326-4"><a href="#cb326-4" aria-hidden="true"></a> <span class="fu">\emph</span>{(A forced linebreak)}<span class="co">%</span></span>
+<span id="cb326-5"><a href="#cb326-5" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb326-6"><a href="#cb326-6" aria-hidden="true"></a>}</span>
+<span id="cb326-7"><a href="#cb326-7" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb326-8"><a href="#cb326-8" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
+<span id="cb326-9"><a href="#cb326-9" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Using a text editor, create a text document named <code>example.md</code> with the following content. Note the two spaces at the end of the first line, which specify a hard linebreak. Due to the limitations of the <span class="tex">T<sub>e</sub>X</span> input processor, hard linebreaks would be ignored if we typed them directly into the <code>document.tex</code> document.</p>
<pre><code>Hello world! <br/>_Foo_ bar!</code></pre>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb304"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb304-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb327"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb327-1"><a href="#cb327-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Hello <em>world</em>!</p>
<p><em>(A forced linebreak)</em></p>
<p><em>Foo</em> bar!</p>
</blockquote>
-<h4 id="ellipsis-renderer"><span class="header-section-number">2.3.1.3</span> Ellipsis Renderer</h4>
+<h4 data-number="2.3.1.3" id="ellipsis-renderer"><span class="header-section-number">2.3.1.3</span> Ellipsis Renderer</h4>
<p>The <code>\markdownRendererEllipsis</code> macro replaces any occurance of ASCII ellipses in the input text. This macro will only be produced, when the <strong><code>smartEllipses</code></strong> option is enabled. The macro receives no arguments.</p>
-<h5 id="plain-tex-example-16" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-18">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb305"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb305-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb305-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionSmartEllipses{true}</a>
-<a class="sourceLine" id="cb305-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererEllipsis{{\it SHAZAM}!}</a>
-<a class="sourceLine" id="cb305-4" data-line-number="4"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb305-5" data-line-number="5">The secret word is ...</a>
-<a class="sourceLine" id="cb305-6" data-line-number="6"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb305-7" data-line-number="7"><span class="fu">\bye</span></a></code></pre></div>
+<div class="sourceCode" id="cb328"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb328-1"><a href="#cb328-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb328-2"><a href="#cb328-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionSmartEllipses</span>{true}</span>
+<span id="cb328-3"><a href="#cb328-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererEllipsis</span>{{<span class="fu">\it</span> SHAZAM}!}</span>
+<span id="cb328-4"><a href="#cb328-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb328-5"><a href="#cb328-5" aria-hidden="true"></a>The secret word is ...</span>
+<span id="cb328-6"><a href="#cb328-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb328-7"><a href="#cb328-7" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb306"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb306-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb329"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb329-1"><a href="#cb329-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>The secret word is <em>SHAZAM</em>!</p>
</blockquote>
-<h5 id="latex-example-29" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb307"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb307-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb307-2" data-line-number="2"><span class="bu">\usepackage</span>[smartEllipses]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb307-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb307-4" data-line-number="4"> renderers = {</a>
-<a class="sourceLine" id="cb307-5" data-line-number="5"> ellipsis = <span class="fu">\emph</span>{SHAZAM}!,</a>
-<a class="sourceLine" id="cb307-6" data-line-number="6"> },</a>
-<a class="sourceLine" id="cb307-7" data-line-number="7">}</a>
-<a class="sourceLine" id="cb307-8" data-line-number="8"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb307-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb307-10" data-line-number="10">The secret word is ...</a>
-<a class="sourceLine" id="cb307-11" data-line-number="11"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb307-12" data-line-number="12"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb308"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb308-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-34"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb330"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb330-1"><a href="#cb330-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb330-2"><a href="#cb330-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[smartEllipses]{<span class="ex">markdown</span>}</span>
+<span id="cb330-3"><a href="#cb330-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb330-4"><a href="#cb330-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb330-5"><a href="#cb330-5" aria-hidden="true"></a> ellipsis = <span class="fu">\emph</span>{SHAZAM}!,</span>
+<span id="cb330-6"><a href="#cb330-6" aria-hidden="true"></a> },</span>
+<span id="cb330-7"><a href="#cb330-7" aria-hidden="true"></a>}</span>
+<span id="cb330-8"><a href="#cb330-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb330-9"><a href="#cb330-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb330-10"><a href="#cb330-10" aria-hidden="true"></a>The secret word is ...</span>
+<span id="cb330-11"><a href="#cb330-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb330-12"><a href="#cb330-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb331"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb331-1"><a href="#cb331-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>The secret word is <em>SHAZAM</em>!</p>
</blockquote>
-<h5 id="context-example-26" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-28">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb309"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb309-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb309-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionSmartEllipses{true}</a>
-<a class="sourceLine" id="cb309-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererEllipsis{\emph{SHAZAM}!}</a>
-<a class="sourceLine" id="cb309-4" data-line-number="4"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb309-5" data-line-number="5"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb309-6" data-line-number="6">The secret word is ...</a>
-<a class="sourceLine" id="cb309-7" data-line-number="7"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb309-8" data-line-number="8"><span class="fu">\stoptext</span></a></code></pre></div>
+<div class="sourceCode" id="cb332"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb332-1"><a href="#cb332-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb332-2"><a href="#cb332-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionSmartEllipses</span>{true}</span>
+<span id="cb332-3"><a href="#cb332-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererEllipsis</span>{<span class="fu">\emph</span>{SHAZAM}!}</span>
+<span id="cb332-4"><a href="#cb332-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb332-5"><a href="#cb332-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb332-6"><a href="#cb332-6" aria-hidden="true"></a>The secret word is ...</span>
+<span id="cb332-7"><a href="#cb332-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb332-8"><a href="#cb332-8" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb310"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb310-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb333"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb333-1"><a href="#cb333-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Hello <em>world</em>!</p>
<p><em>(The end of a block)</em></p>
<p><em>Foo</em> bar!</p>
</blockquote>
-<h4 id="non-breaking-space-renderer"><span class="header-section-number">2.3.1.4</span> Non-Breaking Space Renderer</h4>
+<h4 data-number="2.3.1.4" id="non-breaking-space-renderer"><span class="header-section-number">2.3.1.4</span> Non-Breaking Space Renderer</h4>
<p>The <code>\markdownRendererNbsp</code> macro represents a non-breaking space.</p>
-<h5 id="latex-example-30" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-35"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.bib</code> with the following content:</p>
-<div class="sourceCode" id="cb311"><pre class="sourceCode bib"><code class="sourceCode bibtex"><a class="sourceLine" id="cb311-1" data-line-number="1"><span class="va">@book</span>{<span class="ot">knuth:tex</span>,</a>
-<a class="sourceLine" id="cb311-2" data-line-number="2"> <span class="dt">author</span> = &quot;<span class="st">Knuth, Donald Ervin</span>&quot;,</a>
-<a class="sourceLine" id="cb311-3" data-line-number="3"> <span class="dt">title</span> = &quot;<span class="st">The </span><span class="ch">\TeX</span><span class="st"> book, volume A of Computers and typesetting</span>&quot;,</a>
-<a class="sourceLine" id="cb311-4" data-line-number="4"> <span class="dt">publisher</span> = &quot;<span class="st">Addison-Wesley</span>&quot;,</a>
-<a class="sourceLine" id="cb311-5" data-line-number="5"> <span class="dt">year</span> = &quot;<span class="st">1984</span>&quot;</a>
-<a class="sourceLine" id="cb311-6" data-line-number="6">}</a></code></pre></div>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb312"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb312-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb312-2" data-line-number="2"><span class="bu">\usepackage</span>[</a>
-<a class="sourceLine" id="cb312-3" data-line-number="3"> citations,</a>
-<a class="sourceLine" id="cb312-4" data-line-number="4"> citationNbsps,</a>
-<a class="sourceLine" id="cb312-5" data-line-number="5">]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb312-6" data-line-number="6"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb312-7" data-line-number="7"> renderers = {</a>
-<a class="sourceLine" id="cb312-8" data-line-number="8"> nbsp = {<span class="ss">$</span><span class="sc">\cdot</span><span class="ss">$</span>},</a>
-<a class="sourceLine" id="cb312-9" data-line-number="9"> },</a>
-<a class="sourceLine" id="cb312-10" data-line-number="10">}</a>
-<a class="sourceLine" id="cb312-11" data-line-number="11"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb312-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb312-13" data-line-number="13"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb312-14" data-line-number="14">The TeXbook [@knuth:tex, p. 123 and 130] is good.</a>
-<a class="sourceLine" id="cb312-15" data-line-number="15"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb312-16" data-line-number="16"></a>
-<a class="sourceLine" id="cb312-17" data-line-number="17"><span class="bu">\bibliographystyle</span>{<span class="ex">plain</span>}</a>
-<a class="sourceLine" id="cb312-18" data-line-number="18"><span class="bu">\bibliography</span>{<span class="ex">document.bib</span>}</a>
-<a class="sourceLine" id="cb312-19" data-line-number="19"></a>
-<a class="sourceLine" id="cb312-20" data-line-number="20"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<div class="sourceCode" id="cb334"><pre class="sourceCode bib"><code class="sourceCode bibtex"><span id="cb334-1"><a href="#cb334-1" aria-hidden="true"></a><span class="va">@book</span>{<span class="ot">knuth:tex</span>,</span>
+<span id="cb334-2"><a href="#cb334-2" aria-hidden="true"></a> <span class="dt">author</span> = &quot;<span class="st">Knuth, Donald Ervin</span>&quot;,</span>
+<span id="cb334-3"><a href="#cb334-3" aria-hidden="true"></a> <span class="dt">title</span> = &quot;<span class="st">The </span><span class="ch">\TeX</span><span class="st"> book, volume A of Computers and typesetting</span>&quot;,</span>
+<span id="cb334-4"><a href="#cb334-4" aria-hidden="true"></a> <span class="dt">publisher</span> = &quot;<span class="st">Addison-Wesley</span>&quot;,</span>
+<span id="cb334-5"><a href="#cb334-5" aria-hidden="true"></a> <span class="dt">year</span> = &quot;<span class="st">1984</span>&quot;</span>
+<span id="cb334-6"><a href="#cb334-6" aria-hidden="true"></a>}</span></code></pre></div>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb335"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb335-1"><a href="#cb335-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb335-2"><a href="#cb335-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[</span>
+<span id="cb335-3"><a href="#cb335-3" aria-hidden="true"></a> citations,</span>
+<span id="cb335-4"><a href="#cb335-4" aria-hidden="true"></a> citationNbsps,</span>
+<span id="cb335-5"><a href="#cb335-5" aria-hidden="true"></a>]{<span class="ex">markdown</span>}</span>
+<span id="cb335-6"><a href="#cb335-6" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb335-7"><a href="#cb335-7" aria-hidden="true"></a> renderers = {</span>
+<span id="cb335-8"><a href="#cb335-8" aria-hidden="true"></a> nbsp = {<span class="ss">$</span><span class="sc">\cdot</span><span class="ss">$</span>},</span>
+<span id="cb335-9"><a href="#cb335-9" aria-hidden="true"></a> },</span>
+<span id="cb335-10"><a href="#cb335-10" aria-hidden="true"></a>}</span>
+<span id="cb335-11"><a href="#cb335-11" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb335-12"><a href="#cb335-12" aria-hidden="true"></a></span>
+<span id="cb335-13"><a href="#cb335-13" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb335-14"><a href="#cb335-14" aria-hidden="true"></a>The TeXbook [@knuth:tex, p. 123 and 130] is good.</span>
+<span id="cb335-15"><a href="#cb335-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb335-16"><a href="#cb335-16" aria-hidden="true"></a></span>
+<span id="cb335-17"><a href="#cb335-17" aria-hidden="true"></a><span class="bu">\bibliographystyle</span>{<span class="ex">plain</span>}</span>
+<span id="cb335-18"><a href="#cb335-18" aria-hidden="true"></a><span class="bu">\bibliography</span>{<span class="ex">document.bib</span>}</span>
+<span id="cb335-19"><a href="#cb335-19" aria-hidden="true"></a></span>
+<span id="cb335-20"><a href="#cb335-20" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX and BibTeX from the terminal:</p>
-<div class="sourceCode" id="cb313"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb313-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a>
-<a class="sourceLine" id="cb313-2" data-line-number="2"><span class="ex">bibtex</span> document.aux</a>
-<a class="sourceLine" id="cb313-3" data-line-number="3"><span class="ex">lualatex</span> document.tex</a>
-<a class="sourceLine" id="cb313-4" data-line-number="4"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb336"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb336-1"><a href="#cb336-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span>
+<span id="cb336-2"><a href="#cb336-2" aria-hidden="true"></a><span class="ex">bibtex</span> document.aux</span>
+<span id="cb336-3"><a href="#cb336-3" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span>
+<span id="cb336-4"><a href="#cb336-4" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>The TeXbook [1, p.·123·and·130] is good.</p>
<h3 id="references-2">References</h3>
<p>[1] Donald Ervin Knuth. <em>The TeXbook, volume A of Computers and typesetting.</em> Addison-Wesley, 1984.</p>
</blockquote>
-<h4 id="special-character-renderers"><span class="header-section-number">2.3.1.5</span> Special Character Renderers</h4>
+<h4 data-number="2.3.1.5" id="special-character-renderers"><span class="header-section-number">2.3.1.5</span> Special Character Renderers</h4>
<p>The following macros replace any special plain <span class="tex">T<sub>e</sub>X</span> characters, including the active pipe character (<code>|</code>) of Con<span class="tex">T<sub>e</sub>X</span>t, in the input text:</p>
<ul>
<li><code>\markdownRendererAmpersand</code> replaces the ampersand (<code>&amp;</code>).</li>
@@ -3766,406 +4032,405 @@ multiple paragraphs</li>
<li><code>\markdownRendererTilde</code> replaces the tilde (<code>~</code>).</li>
<li><code>\markdownRendererUnderscore</code> replaces the underscore (<code>_</code>).</li>
</ul>
-<h5 id="plain-tex-example-17" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-19">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content. We will make the tilde behave as if it were written in <span class="tex">T<sub>e</sub>X</span>, where it represents a non-breaking space.</p>
-<div class="sourceCode" id="cb314"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb314-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb314-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererTilde{~}</a>
-<a class="sourceLine" id="cb314-3" data-line-number="3"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb314-4" data-line-number="4">Bartel~Leendert van~der~Waerden</a>
-<a class="sourceLine" id="cb314-5" data-line-number="5"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb314-6" data-line-number="6"><span class="fu">\bye</span></a></code></pre></div>
+<div class="sourceCode" id="cb337"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb337-1"><a href="#cb337-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb337-2"><a href="#cb337-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererTilde</span>{~}</span>
+<span id="cb337-3"><a href="#cb337-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb337-4"><a href="#cb337-4" aria-hidden="true"></a>Bartel~Leendert van~der~Waerden</span>
+<span id="cb337-5"><a href="#cb337-5" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb337-6"><a href="#cb337-6" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb315"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb315-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
-<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text, where the middot (<code>·</code>) denotes a non-breakable space:</p>
+<div class="sourceCode" id="cb338"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb338-1"><a href="#cb338-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text, where the middot (<code>·</code>) denotes a non-breaking space:</p>
<blockquote>
<p>Bartel·Leendert van·der·Waerden</p>
</blockquote>
-<h5 id="latex-example-31" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-36"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content. We will make the tilde behave as if it were written in <span class="tex">T<sub>e</sub>X</span>, where it represents a non-breaking space.</p>
-<div class="sourceCode" id="cb316"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb316-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb316-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb316-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb316-4" data-line-number="4"> renderers = {</a>
-<a class="sourceLine" id="cb316-5" data-line-number="5"> tilde = ~,</a>
-<a class="sourceLine" id="cb316-6" data-line-number="6"> },</a>
-<a class="sourceLine" id="cb316-7" data-line-number="7">}</a>
-<a class="sourceLine" id="cb316-8" data-line-number="8"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb316-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb316-10" data-line-number="10">Bartel~Leendert van~der~Waerden</a>
-<a class="sourceLine" id="cb316-11" data-line-number="11"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb316-12" data-line-number="12"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb317"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb317-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
-<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text, where the middot (<code>·</code>) denotes a non-breakable space:</p>
+<div class="sourceCode" id="cb339"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb339-1"><a href="#cb339-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb339-2"><a href="#cb339-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb339-3"><a href="#cb339-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb339-4"><a href="#cb339-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb339-5"><a href="#cb339-5" aria-hidden="true"></a> tilde = ~,</span>
+<span id="cb339-6"><a href="#cb339-6" aria-hidden="true"></a> },</span>
+<span id="cb339-7"><a href="#cb339-7" aria-hidden="true"></a>}</span>
+<span id="cb339-8"><a href="#cb339-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb339-9"><a href="#cb339-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb339-10"><a href="#cb339-10" aria-hidden="true"></a>Bartel~Leendert van~der~Waerden</span>
+<span id="cb339-11"><a href="#cb339-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb339-12"><a href="#cb339-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb340"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb340-1"><a href="#cb340-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text, where the middot (<code>·</code>) denotes a non-breaking space:</p>
<blockquote>
<p>Bartel·Leendert van·der·Waerden</p>
</blockquote>
-<h5 id="context-example-27" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-29">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content. We will make the tilde behave as if it were written in <span class="tex">T<sub>e</sub>X</span>, where it represents a non-breaking space.</p>
-<div class="sourceCode" id="cb318"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb318-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb318-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererTilde{~}</a>
-<a class="sourceLine" id="cb318-3" data-line-number="3"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb318-4" data-line-number="4"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb318-5" data-line-number="5">Bartel~Leendert van~der~Waerden</a>
-<a class="sourceLine" id="cb318-6" data-line-number="6"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb318-7" data-line-number="7"><span class="fu">\stoptext</span></a></code></pre></div>
+<div class="sourceCode" id="cb341"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb341-1"><a href="#cb341-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb341-2"><a href="#cb341-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererTilde</span>{~}</span>
+<span id="cb341-3"><a href="#cb341-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb341-4"><a href="#cb341-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb341-5"><a href="#cb341-5" aria-hidden="true"></a>Bartel~Leendert van~der~Waerden</span>
+<span id="cb341-6"><a href="#cb341-6" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb341-7"><a href="#cb341-7" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb319"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb319-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
-<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text, where the middot (<code>·</code>) denotes a non-breakable space:</p>
+<div class="sourceCode" id="cb342"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb342-1"><a href="#cb342-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text, where the middot (<code>·</code>) denotes a non-breaking space:</p>
<blockquote>
<p>Bartel·Leendert van·der·Waerden</p>
</blockquote>
-<h4 id="code-span-renderer"><span class="header-section-number">2.3.1.6</span> Code Span Renderer</h4>
+<h4 data-number="2.3.1.6" id="code-span-renderer"><span class="header-section-number">2.3.1.6</span> Code Span Renderer</h4>
<p>The <code>\markdownRendererCodeSpan</code> macro represents inlined code span in the input text. It receives a single argument that corresponds to the inlined code span.</p>
-<h5 id="plain-tex-example-18" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb320"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb320-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb320-2" data-line-number="2"><span class="fu">\input</span> lmfonts</a>
-<a class="sourceLine" id="cb320-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb320-4" data-line-number="4"><span class="fu">\def</span>\markdownRendererCodeSpan#1{#1}</a>
-<a class="sourceLine" id="cb320-5" data-line-number="5"></a>
-<a class="sourceLine" id="cb320-6" data-line-number="6"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb320-7" data-line-number="7">`<span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>`</a>
-<a class="sourceLine" id="cb320-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb320-9" data-line-number="9"><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></a>
-<a class="sourceLine" id="cb320-10" data-line-number="10"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb320-11" data-line-number="11"></a>
-<a class="sourceLine" id="cb320-12" data-line-number="12"><span class="fu">\def</span>\markdownOptionHybrid{true}</a>
-<a class="sourceLine" id="cb320-13" data-line-number="13"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb320-14" data-line-number="14"><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></a>
-<a class="sourceLine" id="cb320-15" data-line-number="15"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb320-16" data-line-number="16"></a>
-<a class="sourceLine" id="cb320-17" data-line-number="17"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb321"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb321-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-20">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb343"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb343-1"><a href="#cb343-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb343-2"><a href="#cb343-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb343-3"><a href="#cb343-3" aria-hidden="true"></a></span>
+<span id="cb343-4"><a href="#cb343-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererCodeSpan</span>#1{#1}</span>
+<span id="cb343-5"><a href="#cb343-5" aria-hidden="true"></a></span>
+<span id="cb343-6"><a href="#cb343-6" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb343-7"><a href="#cb343-7" aria-hidden="true"></a>`<span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>`</span>
+<span id="cb343-8"><a href="#cb343-8" aria-hidden="true"></a></span>
+<span id="cb343-9"><a href="#cb343-9" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></span>
+<span id="cb343-10"><a href="#cb343-10" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb343-11"><a href="#cb343-11" aria-hidden="true"></a></span>
+<span id="cb343-12"><a href="#cb343-12" aria-hidden="true"></a><span class="fu">\def\markdownOptionHybrid</span>{true}</span>
+<span id="cb343-13"><a href="#cb343-13" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb343-14"><a href="#cb343-14" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></span>
+<span id="cb343-15"><a href="#cb343-15" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb343-16"><a href="#cb343-16" aria-hidden="true"></a></span>
+<span id="cb343-17"><a href="#cb343-17" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb344"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb344-1"><a href="#cb344-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>$\sqrt{-1}$ *equals* $i$.</p>
<p>$\sqrt{-1}$ <em>equals</em> $i$.</p>
<p>√-̅1̅ <em>equals</em> <span class="math inline"><em>i</em></span>.</p>
</blockquote>
-<h5 id="latex-example-32" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb322"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb322-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb322-2" data-line-number="2"><span class="bu">\usepackage</span>[smartEllipses]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb322-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb322-4" data-line-number="4"> renderers = {</a>
-<a class="sourceLine" id="cb322-5" data-line-number="5"> codeSpan = {#1},</a>
-<a class="sourceLine" id="cb322-6" data-line-number="6"> },</a>
-<a class="sourceLine" id="cb322-7" data-line-number="7">}</a>
-<a class="sourceLine" id="cb322-8" data-line-number="8"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb322-9" data-line-number="9"></a>
-<a class="sourceLine" id="cb322-10" data-line-number="10"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb322-11" data-line-number="11">`<span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>`</a>
-<a class="sourceLine" id="cb322-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb322-13" data-line-number="13"><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></a>
-<a class="sourceLine" id="cb322-14" data-line-number="14"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb322-15" data-line-number="15"></a>
-<a class="sourceLine" id="cb322-16" data-line-number="16"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{hybrid}</a>
-<a class="sourceLine" id="cb322-17" data-line-number="17"><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></a>
-<a class="sourceLine" id="cb322-18" data-line-number="18"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb322-19" data-line-number="19"></a>
-<a class="sourceLine" id="cb322-20" data-line-number="20"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb323"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb323-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-37"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb345"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb345-1"><a href="#cb345-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb345-2"><a href="#cb345-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[smartEllipses]{<span class="ex">markdown</span>}</span>
+<span id="cb345-3"><a href="#cb345-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb345-4"><a href="#cb345-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb345-5"><a href="#cb345-5" aria-hidden="true"></a> codeSpan = {#1},</span>
+<span id="cb345-6"><a href="#cb345-6" aria-hidden="true"></a> },</span>
+<span id="cb345-7"><a href="#cb345-7" aria-hidden="true"></a>}</span>
+<span id="cb345-8"><a href="#cb345-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb345-9"><a href="#cb345-9" aria-hidden="true"></a></span>
+<span id="cb345-10"><a href="#cb345-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb345-11"><a href="#cb345-11" aria-hidden="true"></a>`<span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>`</span>
+<span id="cb345-12"><a href="#cb345-12" aria-hidden="true"></a></span>
+<span id="cb345-13"><a href="#cb345-13" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></span>
+<span id="cb345-14"><a href="#cb345-14" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb345-15"><a href="#cb345-15" aria-hidden="true"></a></span>
+<span id="cb345-16"><a href="#cb345-16" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{hybrid}</span>
+<span id="cb345-17"><a href="#cb345-17" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></span>
+<span id="cb345-18"><a href="#cb345-18" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb345-19"><a href="#cb345-19" aria-hidden="true"></a></span>
+<span id="cb345-20"><a href="#cb345-20" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb346"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb346-1"><a href="#cb346-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>$\sqrt{-1}$ *equals* $i$.</p>
<p>$\sqrt{-1}$ <em>equals</em> $i$.</p>
<p>√-̅1̅ <em>equals</em> <span class="math inline"><em>i</em></span>.</p>
</blockquote>
-<h5 id="context-example-28" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb324"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb324-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb324-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererCodeSpan#1{#1}</a>
-<a class="sourceLine" id="cb324-3" data-line-number="3"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb324-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb324-5" data-line-number="5"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb324-6" data-line-number="6">`<span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>`</a>
-<a class="sourceLine" id="cb324-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb324-8" data-line-number="8"><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></a>
-<a class="sourceLine" id="cb324-9" data-line-number="9"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb324-10" data-line-number="10"></a>
-<a class="sourceLine" id="cb324-11" data-line-number="11"><span class="fu">\def</span>\markdownOptionHybrid{true}</a>
-<a class="sourceLine" id="cb324-12" data-line-number="12"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb324-13" data-line-number="13"><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></a>
-<a class="sourceLine" id="cb324-14" data-line-number="14"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb324-15" data-line-number="15"></a>
-<a class="sourceLine" id="cb324-16" data-line-number="16"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb325"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb325-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-30">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb347"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb347-1"><a href="#cb347-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb347-2"><a href="#cb347-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererCodeSpan</span>#1{#1}</span>
+<span id="cb347-3"><a href="#cb347-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb347-4"><a href="#cb347-4" aria-hidden="true"></a></span>
+<span id="cb347-5"><a href="#cb347-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb347-6"><a href="#cb347-6" aria-hidden="true"></a>`<span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>`</span>
+<span id="cb347-7"><a href="#cb347-7" aria-hidden="true"></a></span>
+<span id="cb347-8"><a href="#cb347-8" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></span>
+<span id="cb347-9"><a href="#cb347-9" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb347-10"><a href="#cb347-10" aria-hidden="true"></a></span>
+<span id="cb347-11"><a href="#cb347-11" aria-hidden="true"></a><span class="fu">\def\markdownOptionHybrid</span>{true}</span>
+<span id="cb347-12"><a href="#cb347-12" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb347-13"><a href="#cb347-13" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></span>
+<span id="cb347-14"><a href="#cb347-14" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb347-15"><a href="#cb347-15" aria-hidden="true"></a></span>
+<span id="cb347-16"><a href="#cb347-16" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb348"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb348-1"><a href="#cb348-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>$\sqrt{-1}$ *equals* $i$.</p>
<p>$\sqrt{-1}$ <em>equals</em> $i$.</p>
<p>√-̅1̅ <em>equals</em> <span class="math inline"><em>i</em></span>.</p>
</blockquote>
-<h4 id="link-renderer"><span class="header-section-number">2.3.1.7</span> Link Renderer</h4>
+<h4 data-number="2.3.1.7" id="link-renderer"><span class="header-section-number">2.3.1.7</span> Link Renderer</h4>
<p>The <code>\markdownRendererLink</code> macro represents a hyperlink. It receives four arguments: the label, the fully escaped <abbr>uri</abbr> that can be directly typeset, the raw <abbr>uri</abbr> that can be used outside typesetting, and the title of the link.</p>
-<h5 id="plain-tex-example-19" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb326"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb326-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb326-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererLink#1#2#3#4{<span class="co">%</span></a>
-<a class="sourceLine" id="cb326-3" data-line-number="3"> #1 {\tt#2} titled {\it#4}<span class="co">%</span></a>
-<a class="sourceLine" id="cb326-4" data-line-number="4">}</a>
-<a class="sourceLine" id="cb326-5" data-line-number="5"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb326-6" data-line-number="6">Please visit [the link][ctan].</a>
-<a class="sourceLine" id="cb326-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb326-8" data-line-number="8"> [ctan]: https://ctan.org/</a>
-<a class="sourceLine" id="cb326-9" data-line-number="9"> (the Comprehensive TeX Archive Network)</a>
-<a class="sourceLine" id="cb326-10" data-line-number="10"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb326-11" data-line-number="11"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb327"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb327-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-21">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb349"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb349-1"><a href="#cb349-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb349-2"><a href="#cb349-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererLink</span>#1#2#3#4{<span class="co">%</span></span>
+<span id="cb349-3"><a href="#cb349-3" aria-hidden="true"></a> #1 {<span class="fu">\tt</span>#2} titled {<span class="fu">\it</span>#4}<span class="co">%</span></span>
+<span id="cb349-4"><a href="#cb349-4" aria-hidden="true"></a>}</span>
+<span id="cb349-5"><a href="#cb349-5" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb349-6"><a href="#cb349-6" aria-hidden="true"></a>Please visit [the link][ctan].</span>
+<span id="cb349-7"><a href="#cb349-7" aria-hidden="true"></a></span>
+<span id="cb349-8"><a href="#cb349-8" aria-hidden="true"></a> [ctan]: https://ctan.org/</span>
+<span id="cb349-9"><a href="#cb349-9" aria-hidden="true"></a> (the Comprehensive TeX Archive Network)</span>
+<span id="cb349-10"><a href="#cb349-10" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb349-11"><a href="#cb349-11" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb350"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb350-1"><a href="#cb350-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Please visit the link <a href="https://ctan.org/" class="uri">https://ctan.org/</a> titled <em>the Comprehensive TeX Archive Network</em>.</p>
</blockquote>
-<h5 id="latex-example-33" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb328"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb328-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb328-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb328-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb328-4" data-line-number="4"> renderers = {</a>
-<a class="sourceLine" id="cb328-5" data-line-number="5"> link = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb328-6" data-line-number="6"> #1 <span class="fu">\texttt</span>{#2} titled <span class="fu">\emph</span>{#4}<span class="co">%</span></a>
-<a class="sourceLine" id="cb328-7" data-line-number="7"> },</a>
-<a class="sourceLine" id="cb328-8" data-line-number="8"> },</a>
-<a class="sourceLine" id="cb328-9" data-line-number="9">}</a>
-<a class="sourceLine" id="cb328-10" data-line-number="10"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb328-11" data-line-number="11"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb328-12" data-line-number="12">Please visit [the link][ctan].</a>
-<a class="sourceLine" id="cb328-13" data-line-number="13"></a>
-<a class="sourceLine" id="cb328-14" data-line-number="14"> [ctan]: https://ctan.org/</a>
-<a class="sourceLine" id="cb328-15" data-line-number="15"> (the Comprehensive TeX Archive Network)</a>
-<a class="sourceLine" id="cb328-16" data-line-number="16"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb328-17" data-line-number="17"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb329"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb329-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-38"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb351"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb351-1"><a href="#cb351-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb351-2"><a href="#cb351-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb351-3"><a href="#cb351-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb351-4"><a href="#cb351-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb351-5"><a href="#cb351-5" aria-hidden="true"></a> link = {<span class="co">%</span></span>
+<span id="cb351-6"><a href="#cb351-6" aria-hidden="true"></a> #1 <span class="fu">\texttt</span>{#2} titled <span class="fu">\emph</span>{#4}<span class="co">%</span></span>
+<span id="cb351-7"><a href="#cb351-7" aria-hidden="true"></a> },</span>
+<span id="cb351-8"><a href="#cb351-8" aria-hidden="true"></a> },</span>
+<span id="cb351-9"><a href="#cb351-9" aria-hidden="true"></a>}</span>
+<span id="cb351-10"><a href="#cb351-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb351-11"><a href="#cb351-11" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb351-12"><a href="#cb351-12" aria-hidden="true"></a>Please visit [the link][ctan].</span>
+<span id="cb351-13"><a href="#cb351-13" aria-hidden="true"></a></span>
+<span id="cb351-14"><a href="#cb351-14" aria-hidden="true"></a> [ctan]: https://ctan.org/</span>
+<span id="cb351-15"><a href="#cb351-15" aria-hidden="true"></a> (the Comprehensive TeX Archive Network)</span>
+<span id="cb351-16"><a href="#cb351-16" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb351-17"><a href="#cb351-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb352"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb352-1"><a href="#cb352-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Please visit the link <a href="https://ctan.org/" class="uri">https://ctan.org/</a> titled <em>the Comprehensive TeX Archive Network</em>.</p>
</blockquote>
-<h5 id="context-example-29" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb330"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb330-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb330-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererLink#1#2#3#4{<span class="co">%</span></a>
-<a class="sourceLine" id="cb330-3" data-line-number="3"> #1 {\tt#2} titled \emph{#4}<span class="co">%</span></a>
-<a class="sourceLine" id="cb330-4" data-line-number="4">}</a>
-<a class="sourceLine" id="cb330-5" data-line-number="5"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb330-6" data-line-number="6"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb330-7" data-line-number="7">Please visit [the link][ctan].</a>
-<a class="sourceLine" id="cb330-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb330-9" data-line-number="9"> [ctan]: https://ctan.org/</a>
-<a class="sourceLine" id="cb330-10" data-line-number="10"> (the Comprehensive TeX Archive Network)</a>
-<a class="sourceLine" id="cb330-11" data-line-number="11"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb330-12" data-line-number="12"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb331"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb331-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-31">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb353"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb353-1"><a href="#cb353-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb353-2"><a href="#cb353-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererLink</span>#1#2#3#4{<span class="co">%</span></span>
+<span id="cb353-3"><a href="#cb353-3" aria-hidden="true"></a> #1 {<span class="fu">\tt</span>#2} titled <span class="fu">\emph</span>{#4}<span class="co">%</span></span>
+<span id="cb353-4"><a href="#cb353-4" aria-hidden="true"></a>}</span>
+<span id="cb353-5"><a href="#cb353-5" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb353-6"><a href="#cb353-6" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb353-7"><a href="#cb353-7" aria-hidden="true"></a>Please visit [the link][ctan].</span>
+<span id="cb353-8"><a href="#cb353-8" aria-hidden="true"></a></span>
+<span id="cb353-9"><a href="#cb353-9" aria-hidden="true"></a> [ctan]: https://ctan.org/</span>
+<span id="cb353-10"><a href="#cb353-10" aria-hidden="true"></a> (the Comprehensive TeX Archive Network)</span>
+<span id="cb353-11"><a href="#cb353-11" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb353-12"><a href="#cb353-12" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb354"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb354-1"><a href="#cb354-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Please visit the link <a href="https://ctan.org/" class="uri">https://ctan.org/</a> titled <em>the Comprehensive TeX Archive Network</em>.</p>
</blockquote>
-<h4 id="image-renderer"><span class="header-section-number">2.3.1.8</span> Image Renderer</h4>
+<h4 data-number="2.3.1.8" id="image-renderer"><span class="header-section-number">2.3.1.8</span> Image Renderer</h4>
<p>The <code>\markdownRendererImage</code> macro represents an image. It receives four arguments: the label, the fully escaped <abbr>uri</abbr> that can be directly typeset, the raw <abbr>uri</abbr> that can be used outside typesetting, and the title of the link.</p>
-<h5 id="latex-example-34" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb332"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb332-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb332-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb332-3" data-line-number="3"><span class="fu">\begingroup</span></a>
-<a class="sourceLine" id="cb332-4" data-line-number="4"><span class="fu">\catcode</span>`<span class="fu">\@</span>=11</a>
-<a class="sourceLine" id="cb332-5" data-line-number="5"><span class="fu">\catcode</span>`<span class="fu">\%</span>=12</a>
-<a class="sourceLine" id="cb332-6" data-line-number="6"><span class="fu">\catcode</span>`<span class="fu">\^</span>^A=14</a>
-<a class="sourceLine" id="cb332-7" data-line-number="7"><span class="fu">\global\def</span>\markdownRendererImage#1#2#3#4{^^A</a>
-<a class="sourceLine" id="cb332-8" data-line-number="8"> \immediate\write18{^^A</a></code></pre></div>
-<div class="sourceCode" id="cb333"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb333-1" data-line-number="1"> <span class="kw">if</span> <span class="bu">printf</span> <span class="st">&#39;%s&#39;</span> <span class="st">&quot;#3&quot;</span> <span class="kw">|</span> <span class="fu">grep</span> -q ^http<span class="kw">;</span> <span class="kw">then</span></a>
-<a class="sourceLine" id="cb333-2" data-line-number="2"> <span class="va">OUTPUT=</span><span class="st">&quot;</span><span class="va">$(</span><span class="bu">printf</span> <span class="st">&#39;%s&#39;</span> <span class="st">&quot;#3&quot;</span> <span class="kw">|</span> <span class="ex">md5sum</span> <span class="kw">|</span> <span class="fu">cut</span> -d<span class="st">&#39; &#39;</span> -f1<span class="va">)</span><span class="st">.^^A</span></a>
-<a class="sourceLine" id="cb333-3" data-line-number="3"><span class="st"> </span><span class="va">$(</span><span class="bu">printf</span> <span class="st">&#39;%s&#39;</span> <span class="st">&quot;#3&quot;</span> <span class="kw">|</span> <span class="fu">sed</span> <span class="st">&#39;s/.*[.]//&#39;</span><span class="va">)</span><span class="st">&quot;</span>;</a>
-<a class="sourceLine" id="cb333-4" data-line-number="4"> <span class="kw">if</span> !<span class="bu"> [</span> <span class="ot">-e</span> <span class="st">&quot;</span><span class="va">$OUTPUT</span><span class="st">&quot;</span><span class="bu"> ]</span>; <span class="kw">then</span></a>
-<a class="sourceLine" id="cb333-5" data-line-number="5"> <span class="fu">wget</span> -O <span class="st">&quot;</span><span class="va">$OUTPUT</span><span class="st">&quot;</span> <span class="st">&#39;#3&#39;</span> <span class="kw">||</span> <span class="fu">rm</span> <span class="st">&quot;</span><span class="va">$OUTPUT</span><span class="st">&quot;</span><span class="kw">;</span></a>
-<a class="sourceLine" id="cb333-6" data-line-number="6"> <span class="ex">convert</span> <span class="st">&quot;</span><span class="va">$OUTPUT</span><span class="st">&quot;</span> png:<span class="st">&quot;</span><span class="va">$OUTPUT</span><span class="st">&quot;</span><span class="kw">;</span></a>
-<a class="sourceLine" id="cb333-7" data-line-number="7"> <span class="kw">fi</span>;</a>
-<a class="sourceLine" id="cb333-8" data-line-number="8"> <span class="bu">printf</span> <span class="st">&#39;%s%%&#39;</span> <span class="st">&quot;</span><span class="va">$OUTPUT</span><span class="st">&quot;</span> <span class="op">&gt;</span> \jobname.fetched<span class="kw">;</span></a>
-<a class="sourceLine" id="cb333-9" data-line-number="9"> <span class="kw">else</span></a>
-<a class="sourceLine" id="cb333-10" data-line-number="10"> <span class="bu">printf</span> <span class="st">&#39;%s%%&#39;</span> <span class="st">&quot;#3&quot;</span> <span class="op">&gt;</span> \jobname.fetched<span class="kw">;</span></a>
-<a class="sourceLine" id="cb333-11" data-line-number="11"> <span class="kw">fi</span>^^<span class="ex">A</span></a></code></pre></div>
-<div class="sourceCode" id="cb334"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb334-1" data-line-number="1"> }^^A</a>
-<a class="sourceLine" id="cb334-2" data-line-number="2"> {^^A</a>
-<a class="sourceLine" id="cb334-3" data-line-number="3"> <span class="fu">\everyeof</span>={<span class="fu">\noexpand</span>}^^A</a>
-<a class="sourceLine" id="cb334-4" data-line-number="4"> <span class="fu">\edef</span>\filename{\@@input&quot;\jobname.fetched&quot; }^^A</a>
-<a class="sourceLine" id="cb334-5" data-line-number="5"> <span class="bu">\includegraphics</span>[width=<span class="fu">\textwidth</span>]{<span class="fu">\filename</span>}^^A</a>
-<a class="sourceLine" id="cb334-6" data-line-number="6"> }^^A</a>
-<a class="sourceLine" id="cb334-7" data-line-number="7">}</a>
-<a class="sourceLine" id="cb334-8" data-line-number="8"><span class="fu">\endgroup</span></a>
-<a class="sourceLine" id="cb334-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb334-10" data-line-number="10"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb334-11" data-line-number="11">![TUGboat](https://tug.org/tugboat/noword.jpg)</a>
-<a class="sourceLine" id="cb334-12" data-line-number="12"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb334-13" data-line-number="13"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb335"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb335-1" data-line-number="1"><span class="ex">lualatex</span> --shell-escape document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-39"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb355"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb355-1"><a href="#cb355-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb355-2"><a href="#cb355-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb355-3"><a href="#cb355-3" aria-hidden="true"></a><span class="fu">\begingroup</span></span>
+<span id="cb355-4"><a href="#cb355-4" aria-hidden="true"></a><span class="fu">\catcode</span>`<span class="fu">\@</span>=11</span>
+<span id="cb355-5"><a href="#cb355-5" aria-hidden="true"></a><span class="fu">\catcode</span>`<span class="fu">\%</span>=12</span>
+<span id="cb355-6"><a href="#cb355-6" aria-hidden="true"></a><span class="fu">\catcode</span>`<span class="fu">\^</span>^A=14</span>
+<span id="cb355-7"><a href="#cb355-7" aria-hidden="true"></a><span class="fu">\global\def\markdownRendererImage</span>#1#2#3#4{^^A</span>
+<span id="cb355-8"><a href="#cb355-8" aria-hidden="true"></a> <span class="fu">\immediate\write</span>18{^^A</span></code></pre></div>
+<div class="sourceCode" id="cb356"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb356-1"><a href="#cb356-1" aria-hidden="true"></a> <span class="kw">if</span> <span class="bu">printf</span> <span class="st">&#39;%s&#39;</span> <span class="st">&quot;#3&quot;</span> <span class="kw">|</span> <span class="fu">grep</span> -q ^http<span class="kw">;</span> <span class="kw">then</span></span>
+<span id="cb356-2"><a href="#cb356-2" aria-hidden="true"></a> <span class="va">OUTPUT=</span><span class="st">&quot;</span><span class="va">$(</span><span class="bu">printf</span> <span class="st">&#39;%s&#39;</span> <span class="st">&quot;#3&quot;</span> <span class="kw">|</span> <span class="ex">md5sum</span> <span class="kw">|</span> <span class="fu">cut</span> -d<span class="st">&#39; &#39;</span> -f1<span class="va">)</span><span class="st">.^^A</span></span>
+<span id="cb356-3"><a href="#cb356-3" aria-hidden="true"></a><span class="st"> </span><span class="va">$(</span><span class="bu">printf</span> <span class="st">&#39;%s&#39;</span> <span class="st">&quot;#3&quot;</span> <span class="kw">|</span> <span class="fu">sed</span> <span class="st">&#39;s/.*[.]//&#39;</span><span class="va">)</span><span class="st">&quot;</span>;</span>
+<span id="cb356-4"><a href="#cb356-4" aria-hidden="true"></a> <span class="kw">if</span> !<span class="bu"> [</span> <span class="ot">-e</span> <span class="st">&quot;</span><span class="va">$OUTPUT</span><span class="st">&quot;</span><span class="bu"> ]</span>; <span class="kw">then</span></span>
+<span id="cb356-5"><a href="#cb356-5" aria-hidden="true"></a> <span class="fu">wget</span> -O <span class="st">&quot;</span><span class="va">$OUTPUT</span><span class="st">&quot;</span> <span class="st">&#39;#3&#39;</span> <span class="kw">||</span> <span class="fu">rm</span> <span class="st">&quot;</span><span class="va">$OUTPUT</span><span class="st">&quot;</span><span class="kw">;</span></span>
+<span id="cb356-6"><a href="#cb356-6" aria-hidden="true"></a> <span class="ex">convert</span> <span class="st">&quot;</span><span class="va">$OUTPUT</span><span class="st">&quot;</span> png:<span class="st">&quot;</span><span class="va">$OUTPUT</span><span class="st">&quot;</span><span class="kw">;</span></span>
+<span id="cb356-7"><a href="#cb356-7" aria-hidden="true"></a> <span class="kw">fi</span>;</span>
+<span id="cb356-8"><a href="#cb356-8" aria-hidden="true"></a> <span class="bu">printf</span> <span class="st">&#39;%s%%&#39;</span> <span class="st">&quot;</span><span class="va">$OUTPUT</span><span class="st">&quot;</span> <span class="op">&gt;</span> \jobname.fetched<span class="kw">;</span></span>
+<span id="cb356-9"><a href="#cb356-9" aria-hidden="true"></a> <span class="kw">else</span></span>
+<span id="cb356-10"><a href="#cb356-10" aria-hidden="true"></a> <span class="bu">printf</span> <span class="st">&#39;%s%%&#39;</span> <span class="st">&quot;#3&quot;</span> <span class="op">&gt;</span> \jobname.fetched<span class="kw">;</span></span>
+<span id="cb356-11"><a href="#cb356-11" aria-hidden="true"></a> <span class="kw">fi</span>^^<span class="ex">A</span></span></code></pre></div>
+<div class="sourceCode" id="cb357"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb357-1"><a href="#cb357-1" aria-hidden="true"></a> }^^A</span>
+<span id="cb357-2"><a href="#cb357-2" aria-hidden="true"></a> {^^A</span>
+<span id="cb357-3"><a href="#cb357-3" aria-hidden="true"></a> <span class="fu">\everyeof</span>={<span class="fu">\noexpand</span>}^^A</span>
+<span id="cb357-4"><a href="#cb357-4" aria-hidden="true"></a> <span class="fu">\edef\filename</span>{<span class="fu">\@@input</span>&quot;<span class="fu">\jobname</span>.fetched&quot; }^^A</span>
+<span id="cb357-5"><a href="#cb357-5" aria-hidden="true"></a> <span class="bu">\includegraphics</span>[width=<span class="fu">\textwidth</span>]{<span class="fu">\filename</span>}^^A</span>
+<span id="cb357-6"><a href="#cb357-6" aria-hidden="true"></a> }^^A</span>
+<span id="cb357-7"><a href="#cb357-7" aria-hidden="true"></a>}</span>
+<span id="cb357-8"><a href="#cb357-8" aria-hidden="true"></a><span class="fu">\endgroup</span></span>
+<span id="cb357-9"><a href="#cb357-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb357-10"><a href="#cb357-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb357-11"><a href="#cb357-11" aria-hidden="true"></a>![TUGboat](https://tug.org/tugboat/noword.jpg)</span>
+<span id="cb357-12"><a href="#cb357-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb357-13"><a href="#cb357-13" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb358"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb358-1"><a href="#cb358-1" aria-hidden="true"></a><span class="ex">lualatex</span> --shell-escape document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following content. This assumes that you use a Unix-like operating system with Bourne or Bourne again shell as the default shell of the current user. It also assumes that the <code>md5sum</code>, <code>wget</code>, and <code>convert</code> binaries are installed and that the <span class="tex">T<sub>e</sub>X</span> engine has shell access.</p>
<blockquote>
<p><img src="https://tug.org/tugboat/noword.jpg" title="The Communications of the TeX Users Group" /></p>
</blockquote>
-<h4 id="content-block-renderers"><span class="header-section-number">2.3.1.9</span> Content Block Renderers</h4>
+<h4 data-number="2.3.1.9" id="content-block-renderers"><span class="header-section-number">2.3.1.9</span> Content Block Renderers</h4>
<p> The <code>\markdownRendererContentBlock</code> macro represents an iA Writer content block. It receives four arguments: the local file or online image filename extension cast to the lower case, the fully escaped <abbr>uri</abbr> that can be directly typeset, the raw <abbr>uri</abbr> that can be used outside typesetting, and the title of the content block.</p>
<p>The <code>\markdownRendererContentBlockOnlineImage</code> macro represents an iA Writer online image content block. The macro receives the same arguments as <code>\markdownRendererContentBlock</code>.</p>
-<p>The <code>\markdownRendererContentBlockCode</code> macro represents an iA Writer content block that was recognized as a file in a known programming language by its filename extension <span class="math inline"><em>s</em></span>. If any <code>markdown-languages.json</code> file found by contains a record <span class="math inline">(<em>k</em>, <em>v</em>)</span>, then a non-online-image content block with the filename extension <span class="math inline"><em>s</em>, <em>s</em></span><code>:lower()</code><span class="math inline"> = <em>k</em></span> is considered to be in a known programming language <span class="math inline"><em>v</em></span>. The macro receives five arguments: the local file name extension <span class="math inline"><em>s</em></span> cast to the lower case, the language <span class="math inline"><em>v</em></span>, the fully escaped <abbr>uri</abbr> that can be directly typeset, the raw <abbr>uri</abbr> that can be used outside typesetting, and the title of the content block.</p>
+<p>The <code>\markdownRendererContentBlockCode</code> macro represents an iA Writer content block that was recognized as a file in a known programming language by its filename extension <span class="math inline"><em>s</em></span>. If any <code>markdown-languages.json</code> file found by <strong><code>kpathsea</code></strong> contains a record <span class="math inline">(<em>k</em>, <em>v</em>)</span>, then a non-online-image content block with the filename extension <span class="math inline"><em>s</em>, <em>s</em></span><code>:lower()</code><span class="math inline"> = <em>k</em></span> is considered to be in a known programming language <span class="math inline"><em>v</em></span>. The macro receives five arguments: the local file name extension <span class="math inline"><em>s</em></span> cast to the lower case, the language <span class="math inline"><em>v</em></span>, the fully escaped <abbr>uri</abbr> that can be directly typeset, the raw <abbr>uri</abbr> that can be used outside typesetting, and the title of the content block.</p>
<p>Note that you will need to place place a <code>markdown-languages.json</code> file inside your working directory or inside your local <span class="tex">T<sub>e</sub>X</span> directory structure. In this file, you will define a mapping between filename extensions and the language names recognized by your favorite syntax highlighter; there may exist other creative uses beside syntax highlighting. <a href="https://github.com/iainc/Markdown-Content-Blocks" title="File transclusion syntax for Markdown">The <code>Languages.json</code> file provided by Anton Sotkov</a> is a good starting point.</p>
-<h5 id="plain-tex-example-20" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb336"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb336-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb336-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionContentBlocks{true}</a>
-<a class="sourceLine" id="cb336-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererContentBlock#1#2#3#4{<span class="co">%</span></a>
-<a class="sourceLine" id="cb336-4" data-line-number="4"> This is {\tt #2}, #4.</a>
-<a class="sourceLine" id="cb336-5" data-line-number="5">}</a>
-<a class="sourceLine" id="cb336-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererContentBlockOnlineImage#1#2#3#4{<span class="co">%</span></a>
-<a class="sourceLine" id="cb336-7" data-line-number="7"> This is the image {\tt #2}, #4.</a>
-<a class="sourceLine" id="cb336-8" data-line-number="8">}</a>
-<a class="sourceLine" id="cb336-9" data-line-number="9"><span class="fu">\def</span>\markdownRendererContentBlockCode#1#2#3#4#5{<span class="co">%</span></a>
-<a class="sourceLine" id="cb336-10" data-line-number="10"> This is the #2 (\uppercase{#1}) document {\tt #3}, #5.</a>
-<a class="sourceLine" id="cb336-11" data-line-number="11">}</a>
-<a class="sourceLine" id="cb336-12" data-line-number="12"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb336-13" data-line-number="13">/document.tex (the document that we are currently typesetting)</a>
-<a class="sourceLine" id="cb336-14" data-line-number="14">/markdown-languages.json (the mapping between filename extensions</a>
-<a class="sourceLine" id="cb336-15" data-line-number="15"> and programming language names)</a>
-<a class="sourceLine" id="cb336-16" data-line-number="16">https://tug.org/tugboat/noword.jpg (the logotype of TUGboat)</a>
-<a class="sourceLine" id="cb336-17" data-line-number="17"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb336-18" data-line-number="18"><span class="fu">\bye</span></a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-22">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb359"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb359-1"><a href="#cb359-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb359-2"><a href="#cb359-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionContentBlocks</span>{true}</span>
+<span id="cb359-3"><a href="#cb359-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererContentBlock</span>#1#2#3#4{<span class="co">%</span></span>
+<span id="cb359-4"><a href="#cb359-4" aria-hidden="true"></a> This is {<span class="fu">\tt</span> #2}, #4.</span>
+<span id="cb359-5"><a href="#cb359-5" aria-hidden="true"></a>}</span>
+<span id="cb359-6"><a href="#cb359-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererContentBlockOnlineImage</span>#1#2#3#4{<span class="co">%</span></span>
+<span id="cb359-7"><a href="#cb359-7" aria-hidden="true"></a> This is the image {<span class="fu">\tt</span> #2}, #4.</span>
+<span id="cb359-8"><a href="#cb359-8" aria-hidden="true"></a>}</span>
+<span id="cb359-9"><a href="#cb359-9" aria-hidden="true"></a><span class="fu">\def\markdownRendererContentBlockCode</span>#1#2#3#4#5{<span class="co">%</span></span>
+<span id="cb359-10"><a href="#cb359-10" aria-hidden="true"></a> This is the #2 (<span class="fu">\uppercase</span>{#1}) document {<span class="fu">\tt</span> #3}, #5.</span>
+<span id="cb359-11"><a href="#cb359-11" aria-hidden="true"></a>}</span>
+<span id="cb359-12"><a href="#cb359-12" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb359-13"><a href="#cb359-13" aria-hidden="true"></a>/document.tex (the document that we are currently typesetting)</span>
+<span id="cb359-14"><a href="#cb359-14" aria-hidden="true"></a>/markdown-languages.json (the mapping between filename extensions</span>
+<span id="cb359-15"><a href="#cb359-15" aria-hidden="true"></a> and programming language names)</span>
+<span id="cb359-16"><a href="#cb359-16" aria-hidden="true"></a>https://tug.org/tugboat/noword.jpg (the logotype of TUGboat)</span>
+<span id="cb359-17"><a href="#cb359-17" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb359-18"><a href="#cb359-18" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Create also a text document named <code>markdown-languages.json</code> with the following content:</p>
-<div class="sourceCode" id="cb337"><pre class="sourceCode js"><code class="sourceCode javascript"><a class="sourceLine" id="cb337-1" data-line-number="1"><span class="op">{</span></a>
-<a class="sourceLine" id="cb337-2" data-line-number="2"> <span class="st">&quot;json&quot;</span><span class="op">:</span> <span class="st">&quot;JavaScript Object Notation&quot;</span><span class="op">,</span></a>
-<a class="sourceLine" id="cb337-3" data-line-number="3"><span class="op">}</span></a></code></pre></div>
+<div class="sourceCode" id="cb360"><pre class="sourceCode js"><code class="sourceCode javascript"><span id="cb360-1"><a href="#cb360-1" aria-hidden="true"></a>{</span>
+<span id="cb360-2"><a href="#cb360-2" aria-hidden="true"></a> <span class="st">&quot;json&quot;</span><span class="op">:</span> <span class="st">&quot;JavaScript Object Notation&quot;</span><span class="op">,</span></span>
+<span id="cb360-3"><a href="#cb360-3" aria-hidden="true"></a>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb338"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb338-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb361"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb361-1"><a href="#cb361-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is <code>document.tex</code>, the document that we are currently typesetting.</p>
<p>This is the JavaScript Object Notation (JSON) document <code>markdown-languages.json</code>, the mapping between filename extensions and programming language names.</p>
<p>This is the image <code>https://tug.org/tugboat/noword.jpg</code>, the logotype of TUGboat.</p>
</blockquote>
-<h5 id="latex-example-35" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb339"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb339-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb339-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">filecontents</span>}</a>
-<a class="sourceLine" id="cb339-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">filecontents*</span>}{markdown-languages.json}</a>
-<a class="sourceLine" id="cb339-4" data-line-number="4">{</a>
-<a class="sourceLine" id="cb339-5" data-line-number="5"> &quot;json&quot;: &quot;JavaScript Object Notation&quot;,</a>
-<a class="sourceLine" id="cb339-6" data-line-number="6">}</a>
-<a class="sourceLine" id="cb339-7" data-line-number="7"><span class="kw">\end</span>{<span class="ex">filecontents*</span>}</a>
-<a class="sourceLine" id="cb339-8" data-line-number="8"><span class="bu">\usepackage</span>[contentBlocks]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb339-9" data-line-number="9"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb339-10" data-line-number="10"> renderers = {</a>
-<a class="sourceLine" id="cb339-11" data-line-number="11"> contentBlock = {This is <span class="fu">\texttt</span>{#2}, #4.},</a>
-<a class="sourceLine" id="cb339-12" data-line-number="12"> contentBlockOnlineImage = {This is the image <span class="fu">\texttt</span>{#2}, #4.},</a>
-<a class="sourceLine" id="cb339-13" data-line-number="13"> contentBlockCode = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb339-14" data-line-number="14"> This is the #2 (<span class="fu">\MakeUppercase</span>{#1}) document <span class="fu">\texttt</span>{#3}, #5.</a>
-<a class="sourceLine" id="cb339-15" data-line-number="15"> },</a>
-<a class="sourceLine" id="cb339-16" data-line-number="16"> },</a>
-<a class="sourceLine" id="cb339-17" data-line-number="17">}</a>
-<a class="sourceLine" id="cb339-18" data-line-number="18"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb339-19" data-line-number="19"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb339-20" data-line-number="20">/document.tex (the document that we are currently typesetting)</a>
-<a class="sourceLine" id="cb339-21" data-line-number="21">/markdown-languages.json (the mapping between filename extensions</a>
-<a class="sourceLine" id="cb339-22" data-line-number="22"> and programming language names)</a>
-<a class="sourceLine" id="cb339-23" data-line-number="23">https://tug.org/tugboat/noword.jpg (the logotype of TUGboat)</a>
-<a class="sourceLine" id="cb339-24" data-line-number="24"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb339-25" data-line-number="25"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb340"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb340-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-40"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb362"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb362-1"><a href="#cb362-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb362-2"><a href="#cb362-2" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">filecontents</span>}[overwrite,nosearch,noheader]{markdown-languages.json}</span>
+<span id="cb362-3"><a href="#cb362-3" aria-hidden="true"></a>{</span>
+<span id="cb362-4"><a href="#cb362-4" aria-hidden="true"></a> &quot;json&quot;: &quot;JavaScript Object Notation&quot;,</span>
+<span id="cb362-5"><a href="#cb362-5" aria-hidden="true"></a>}</span>
+<span id="cb362-6"><a href="#cb362-6" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">filecontents</span>}</span>
+<span id="cb362-7"><a href="#cb362-7" aria-hidden="true"></a><span class="bu">\usepackage</span>[contentBlocks]{<span class="ex">markdown</span>}</span>
+<span id="cb362-8"><a href="#cb362-8" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb362-9"><a href="#cb362-9" aria-hidden="true"></a> renderers = {</span>
+<span id="cb362-10"><a href="#cb362-10" aria-hidden="true"></a> contentBlock = {This is <span class="fu">\texttt</span>{#2}, #4.},</span>
+<span id="cb362-11"><a href="#cb362-11" aria-hidden="true"></a> contentBlockOnlineImage = {This is the image <span class="fu">\texttt</span>{#2}, #4.},</span>
+<span id="cb362-12"><a href="#cb362-12" aria-hidden="true"></a> contentBlockCode = {<span class="co">%</span></span>
+<span id="cb362-13"><a href="#cb362-13" aria-hidden="true"></a> This is the #2 (<span class="fu">\MakeUppercase</span>{#1}) document <span class="fu">\texttt</span>{#3}, #5.</span>
+<span id="cb362-14"><a href="#cb362-14" aria-hidden="true"></a> },</span>
+<span id="cb362-15"><a href="#cb362-15" aria-hidden="true"></a> },</span>
+<span id="cb362-16"><a href="#cb362-16" aria-hidden="true"></a>}</span>
+<span id="cb362-17"><a href="#cb362-17" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb362-18"><a href="#cb362-18" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb362-19"><a href="#cb362-19" aria-hidden="true"></a>/document.tex (the document that we are currently typesetting)</span>
+<span id="cb362-20"><a href="#cb362-20" aria-hidden="true"></a>/markdown-languages.json (the mapping between filename extensions</span>
+<span id="cb362-21"><a href="#cb362-21" aria-hidden="true"></a> and programming language names)</span>
+<span id="cb362-22"><a href="#cb362-22" aria-hidden="true"></a>https://tug.org/tugboat/noword.jpg (the logotype of TUGboat)</span>
+<span id="cb362-23"><a href="#cb362-23" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb362-24"><a href="#cb362-24" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb363"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb363-1"><a href="#cb363-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is <code>document.tex</code>, the document that we are currently typesetting.</p>
<p>This is the JavaScript Object Notation (JSON) document <code>markdown-languages.json</code>, the mapping between filename extensions and programming language names.</p>
<p>This is the image <code>https://tug.org/tugboat/noword.jpg</code>, the logotype of TUGboat.</p>
</blockquote>
-<h5 id="context-example-30" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb341"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb341-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb341-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionContentBlocks{true}</a>
-<a class="sourceLine" id="cb341-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererContentBlock#1#2#3#4{<span class="co">%</span></a>
-<a class="sourceLine" id="cb341-4" data-line-number="4"> This is {\tt #2}, #4.</a>
-<a class="sourceLine" id="cb341-5" data-line-number="5">}</a>
-<a class="sourceLine" id="cb341-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererContentBlockOnlineImage#1#2#3#4{<span class="co">%</span></a>
-<a class="sourceLine" id="cb341-7" data-line-number="7"> This is the image {\tt #2}, #4.</a>
-<a class="sourceLine" id="cb341-8" data-line-number="8">}</a>
-<a class="sourceLine" id="cb341-9" data-line-number="9"><span class="fu">\def</span>\markdownRendererContentBlockCode#1#2#3#4#5{<span class="co">%</span></a>
-<a class="sourceLine" id="cb341-10" data-line-number="10"> This is the #2 (\uppercase{#1}) document {\tt #3}, #5.</a>
-<a class="sourceLine" id="cb341-11" data-line-number="11">}</a>
-<a class="sourceLine" id="cb341-12" data-line-number="12"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb341-13" data-line-number="13"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb341-14" data-line-number="14">/document.tex (the document that we are currently typesetting)</a>
-<a class="sourceLine" id="cb341-15" data-line-number="15">/markdown-languages.json (the mapping between filename extensions</a>
-<a class="sourceLine" id="cb341-16" data-line-number="16"> and programming language names)</a>
-<a class="sourceLine" id="cb341-17" data-line-number="17">https://tug.org/tugboat/noword.jpg (the logotype of TUGboat)</a>
-<a class="sourceLine" id="cb341-18" data-line-number="18"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb341-19" data-line-number="19"><span class="fu">\stoptext</span></a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-32">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb364"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb364-1"><a href="#cb364-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb364-2"><a href="#cb364-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionContentBlocks</span>{true}</span>
+<span id="cb364-3"><a href="#cb364-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererContentBlock</span>#1#2#3#4{<span class="co">%</span></span>
+<span id="cb364-4"><a href="#cb364-4" aria-hidden="true"></a> This is {<span class="fu">\tt</span> #2}, #4.</span>
+<span id="cb364-5"><a href="#cb364-5" aria-hidden="true"></a>}</span>
+<span id="cb364-6"><a href="#cb364-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererContentBlockOnlineImage</span>#1#2#3#4{<span class="co">%</span></span>
+<span id="cb364-7"><a href="#cb364-7" aria-hidden="true"></a> This is the image {<span class="fu">\tt</span> #2}, #4.</span>
+<span id="cb364-8"><a href="#cb364-8" aria-hidden="true"></a>}</span>
+<span id="cb364-9"><a href="#cb364-9" aria-hidden="true"></a><span class="fu">\def\markdownRendererContentBlockCode</span>#1#2#3#4#5{<span class="co">%</span></span>
+<span id="cb364-10"><a href="#cb364-10" aria-hidden="true"></a> This is the #2 (<span class="fu">\uppercase</span>{#1}) document {<span class="fu">\tt</span> #3}, #5.</span>
+<span id="cb364-11"><a href="#cb364-11" aria-hidden="true"></a>}</span>
+<span id="cb364-12"><a href="#cb364-12" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb364-13"><a href="#cb364-13" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb364-14"><a href="#cb364-14" aria-hidden="true"></a>/document.tex (the document that we are currently typesetting)</span>
+<span id="cb364-15"><a href="#cb364-15" aria-hidden="true"></a>/markdown-languages.json (the mapping between filename extensions</span>
+<span id="cb364-16"><a href="#cb364-16" aria-hidden="true"></a> and programming language names)</span>
+<span id="cb364-17"><a href="#cb364-17" aria-hidden="true"></a>https://tug.org/tugboat/noword.jpg (the logotype of TUGboat)</span>
+<span id="cb364-18"><a href="#cb364-18" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb364-19"><a href="#cb364-19" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Create also a text document named <code>markdown-languages.json</code> with the following content:</p>
-<div class="sourceCode" id="cb342"><pre class="sourceCode js"><code class="sourceCode javascript"><a class="sourceLine" id="cb342-1" data-line-number="1"><span class="op">{</span></a>
-<a class="sourceLine" id="cb342-2" data-line-number="2"> <span class="st">&quot;json&quot;</span><span class="op">:</span> <span class="st">&quot;JavaScript Object Notation&quot;</span><span class="op">,</span></a>
-<a class="sourceLine" id="cb342-3" data-line-number="3"><span class="op">}</span></a></code></pre></div>
+<div class="sourceCode" id="cb365"><pre class="sourceCode js"><code class="sourceCode javascript"><span id="cb365-1"><a href="#cb365-1" aria-hidden="true"></a>{</span>
+<span id="cb365-2"><a href="#cb365-2" aria-hidden="true"></a> <span class="st">&quot;json&quot;</span><span class="op">:</span> <span class="st">&quot;JavaScript Object Notation&quot;</span><span class="op">,</span></span>
+<span id="cb365-3"><a href="#cb365-3" aria-hidden="true"></a>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb343"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb343-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb366"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb366-1"><a href="#cb366-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is <code>document.tex</code>, the document that we are currently typesetting.</p>
<p>This is the JavaScript Object Notation (JSON) document <code>markdown-languages.json</code>, the mapping between filename extensions and programming language names.</p>
<p>This is the image <code>https://tug.org/tugboat/noword.jpg</code>, the logotype of TUGboat.</p>
</blockquote>
-<h4 id="bullet-list-renderers"><span class="header-section-number">2.3.1.10</span> Bullet List Renderers</h4>
+<h4 data-number="2.3.1.10" id="bullet-list-renderers"><span class="header-section-number">2.3.1.10</span> Bullet List Renderers</h4>
<p>The <code>\markdownRendererUlBegin</code> macro represents the beginning of a bulleted list that contains an item with several paragraphs of text (the list is not tight). The macro receives no arguments.</p>
<p>The <code>\markdownRendererUlBeginTight</code> macro represents the beginning of a bulleted list that contains no item with several paragraphs of text (the list is tight). This macro will only be produced, when the <strong><code>tightLists</code></strong> option is <code>false</code>. The macro receives no arguments.</p>
<p>The <code>\markdownRendererUlItem</code> macro represents an item in a bulleted list. The macro receives no arguments.</p>
<p>The <code>\markdownRendererUlItemEnd</code> macro represents the end of an item in a bulleted list. The macro receives no arguments.</p>
<p>The <code>\markdownRendererUlEnd</code> macro represents the end of a bulleted list that contains an item with several paragraphs of text (the list is not tight). The macro receives no arguments.</p>
<p>The <code>\markdownRendererUlEndTight</code> macro represents the end of a bulleted list that contains no item with several paragraphs of text (the list is tight). This macro will only be produced, when the <strong><code>tightLists</code></strong> option is <code>false</code>. The macro receives no arguments.</p>
-<h5 id="plain-tex-example-21" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb344"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb344-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb344-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionTightLists{true}</a>
-<a class="sourceLine" id="cb344-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb344-4" data-line-number="4"><span class="fu">\def</span>\markdownRendererInterblockSeparator{}</a>
-<a class="sourceLine" id="cb344-5" data-line-number="5"><span class="fu">\def</span>\markdownRendererUlBeginTight{ (}</a>
-<a class="sourceLine" id="cb344-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererUlItem{<span class="co">%</span></a>
-<a class="sourceLine" id="cb344-7" data-line-number="7"> \def\markdownRendererUlItem{<span class="co">%</span></a>
-<a class="sourceLine" id="cb344-8" data-line-number="8"> ,</a>
-<a class="sourceLine" id="cb344-9" data-line-number="9"> \def\markdownRendererUlItem{, and }<span class="co">%</span></a>
-<a class="sourceLine" id="cb344-10" data-line-number="10"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb344-11" data-line-number="11">}</a>
-<a class="sourceLine" id="cb344-12" data-line-number="12"><span class="fu">\def</span>\markdownRendererUlItemEnd{}</a>
-<a class="sourceLine" id="cb344-13" data-line-number="13"><span class="fu">\def</span>\markdownRendererUlEndTight{).}</a>
-<a class="sourceLine" id="cb344-14" data-line-number="14"></a>
-<a class="sourceLine" id="cb344-15" data-line-number="15"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb344-16" data-line-number="16">This is a tight list</a>
-<a class="sourceLine" id="cb344-17" data-line-number="17"></a>
-<a class="sourceLine" id="cb344-18" data-line-number="18">- the first item</a>
-<a class="sourceLine" id="cb344-19" data-line-number="19">- the second item</a>
-<a class="sourceLine" id="cb344-20" data-line-number="20">- the third item</a>
-<a class="sourceLine" id="cb344-21" data-line-number="21"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb344-22" data-line-number="22"></a>
-<a class="sourceLine" id="cb344-23" data-line-number="23"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb344-24" data-line-number="24"> :\par</a>
-<a class="sourceLine" id="cb344-25" data-line-number="25"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb344-26" data-line-number="26">}</a>
-<a class="sourceLine" id="cb344-27" data-line-number="27"><span class="fu">\def</span>\markdownRendererUlBegin{}</a>
-<a class="sourceLine" id="cb344-28" data-line-number="28"><span class="fu">\def</span>\markdownRendererUlItem{--\kern 0.5em}</a>
-<a class="sourceLine" id="cb344-29" data-line-number="29"><span class="fu">\def</span>\markdownRendererUlItemEnd{.\par}</a>
-<a class="sourceLine" id="cb344-30" data-line-number="30"><span class="fu">\def</span>\markdownRendererUlEnd{}</a>
-<a class="sourceLine" id="cb344-31" data-line-number="31"></a>
-<a class="sourceLine" id="cb344-32" data-line-number="32"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb344-33" data-line-number="33">This is a loose list</a>
-<a class="sourceLine" id="cb344-34" data-line-number="34"></a>
-<a class="sourceLine" id="cb344-35" data-line-number="35">- This is the first item</a>
-<a class="sourceLine" id="cb344-36" data-line-number="36"></a>
-<a class="sourceLine" id="cb344-37" data-line-number="37">- This is the second item</a>
-<a class="sourceLine" id="cb344-38" data-line-number="38"></a>
-<a class="sourceLine" id="cb344-39" data-line-number="39">- This is the third item</a>
-<a class="sourceLine" id="cb344-40" data-line-number="40"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb344-41" data-line-number="41"></a>
-<a class="sourceLine" id="cb344-42" data-line-number="42"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb345"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb345-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-23">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb367"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb367-1"><a href="#cb367-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb367-2"><a href="#cb367-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionTightLists</span>{true}</span>
+<span id="cb367-3"><a href="#cb367-3" aria-hidden="true"></a></span>
+<span id="cb367-4"><a href="#cb367-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{}</span>
+<span id="cb367-5"><a href="#cb367-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlBeginTight</span>{ (}</span>
+<span id="cb367-6"><a href="#cb367-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItem</span>{<span class="co">%</span></span>
+<span id="cb367-7"><a href="#cb367-7" aria-hidden="true"></a> <span class="fu">\def\markdownRendererUlItem</span>{<span class="co">%</span></span>
+<span id="cb367-8"><a href="#cb367-8" aria-hidden="true"></a> ,</span>
+<span id="cb367-9"><a href="#cb367-9" aria-hidden="true"></a> <span class="fu">\def\markdownRendererUlItem</span>{, and }<span class="co">%</span></span>
+<span id="cb367-10"><a href="#cb367-10" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb367-11"><a href="#cb367-11" aria-hidden="true"></a>}</span>
+<span id="cb367-12"><a href="#cb367-12" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItemEnd</span>{}</span>
+<span id="cb367-13"><a href="#cb367-13" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlEndTight</span>{).}</span>
+<span id="cb367-14"><a href="#cb367-14" aria-hidden="true"></a></span>
+<span id="cb367-15"><a href="#cb367-15" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb367-16"><a href="#cb367-16" aria-hidden="true"></a>This is a tight list</span>
+<span id="cb367-17"><a href="#cb367-17" aria-hidden="true"></a></span>
+<span id="cb367-18"><a href="#cb367-18" aria-hidden="true"></a>- the first item</span>
+<span id="cb367-19"><a href="#cb367-19" aria-hidden="true"></a>- the second item</span>
+<span id="cb367-20"><a href="#cb367-20" aria-hidden="true"></a>- the third item</span>
+<span id="cb367-21"><a href="#cb367-21" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb367-22"><a href="#cb367-22" aria-hidden="true"></a></span>
+<span id="cb367-23"><a href="#cb367-23" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb367-24"><a href="#cb367-24" aria-hidden="true"></a> :<span class="fu">\par</span></span>
+<span id="cb367-25"><a href="#cb367-25" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb367-26"><a href="#cb367-26" aria-hidden="true"></a>}</span>
+<span id="cb367-27"><a href="#cb367-27" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlBegin</span>{}</span>
+<span id="cb367-28"><a href="#cb367-28" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItem</span>{--<span class="fu">\kern</span> 0.5em}</span>
+<span id="cb367-29"><a href="#cb367-29" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItemEnd</span>{.<span class="fu">\par</span>}</span>
+<span id="cb367-30"><a href="#cb367-30" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlEnd</span>{}</span>
+<span id="cb367-31"><a href="#cb367-31" aria-hidden="true"></a></span>
+<span id="cb367-32"><a href="#cb367-32" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb367-33"><a href="#cb367-33" aria-hidden="true"></a>This is a loose list</span>
+<span id="cb367-34"><a href="#cb367-34" aria-hidden="true"></a></span>
+<span id="cb367-35"><a href="#cb367-35" aria-hidden="true"></a>- This is the first item</span>
+<span id="cb367-36"><a href="#cb367-36" aria-hidden="true"></a></span>
+<span id="cb367-37"><a href="#cb367-37" aria-hidden="true"></a>- This is the second item</span>
+<span id="cb367-38"><a href="#cb367-38" aria-hidden="true"></a></span>
+<span id="cb367-39"><a href="#cb367-39" aria-hidden="true"></a>- This is the third item</span>
+<span id="cb367-40"><a href="#cb367-40" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb367-41"><a href="#cb367-41" aria-hidden="true"></a></span>
+<span id="cb367-42"><a href="#cb367-42" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb368"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb368-1"><a href="#cb368-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is a tight list (the first item, the second item, and the third item).</p>
@@ -4176,57 +4441,57 @@ multiple paragraphs</li>
<li><p>This is the third item.</p></li>
</ul>
</blockquote>
-<h5 id="latex-example-36" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb346"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb346-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb346-2" data-line-number="2"><span class="bu">\usepackage</span>[tightLists]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb346-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb346-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb346-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</a>
-<a class="sourceLine" id="cb346-6" data-line-number="6"> renderers = {</a>
-<a class="sourceLine" id="cb346-7" data-line-number="7"> interblockSeparator = {},</a>
-<a class="sourceLine" id="cb346-8" data-line-number="8"> ulBeginTight = { (},</a>
-<a class="sourceLine" id="cb346-9" data-line-number="9"> ulItem = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb346-10" data-line-number="10"> <span class="fu">\def</span>\markdownRendererUlItem{<span class="co">%</span></a>
-<a class="sourceLine" id="cb346-11" data-line-number="11"> ,</a>
-<a class="sourceLine" id="cb346-12" data-line-number="12"> \def\markdownRendererUlItem{, and }<span class="co">%</span></a>
-<a class="sourceLine" id="cb346-13" data-line-number="13"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb346-14" data-line-number="14"> },</a>
-<a class="sourceLine" id="cb346-15" data-line-number="15"> ulItemEnd = {},</a>
-<a class="sourceLine" id="cb346-16" data-line-number="16"> ulEndTight = {).},</a>
-<a class="sourceLine" id="cb346-17" data-line-number="17"> },</a>
-<a class="sourceLine" id="cb346-18" data-line-number="18">}</a>
-<a class="sourceLine" id="cb346-19" data-line-number="19">This is a tight list</a>
-<a class="sourceLine" id="cb346-20" data-line-number="20"></a>
-<a class="sourceLine" id="cb346-21" data-line-number="21">- the first item</a>
-<a class="sourceLine" id="cb346-22" data-line-number="22">- the second item</a>
-<a class="sourceLine" id="cb346-23" data-line-number="23">- the third item</a>
-<a class="sourceLine" id="cb346-24" data-line-number="24"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb346-25" data-line-number="25"></a>
-<a class="sourceLine" id="cb346-26" data-line-number="26"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</a>
-<a class="sourceLine" id="cb346-27" data-line-number="27"> renderers = {</a>
-<a class="sourceLine" id="cb346-28" data-line-number="28"> interblockSeparator = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb346-29" data-line-number="29"> :<span class="fu">\par</span></a>
-<a class="sourceLine" id="cb346-30" data-line-number="30"> <span class="fu">\def</span>\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb346-31" data-line-number="31"> },</a>
-<a class="sourceLine" id="cb346-32" data-line-number="32"> ulBeginTight = {<span class="kw">\begin</span>{<span class="ex">itemize</span>}},</a>
-<a class="sourceLine" id="cb346-33" data-line-number="33"> ulItem = {<span class="fu">\item</span>},</a>
-<a class="sourceLine" id="cb346-34" data-line-number="34"> ulItemEnd = {.},</a>
-<a class="sourceLine" id="cb346-35" data-line-number="35"> ulEnd = {<span class="kw">\end</span>{<span class="ex">itemize</span>}},</a>
-<a class="sourceLine" id="cb346-36" data-line-number="36"> },</a>
-<a class="sourceLine" id="cb346-37" data-line-number="37">}</a>
-<a class="sourceLine" id="cb346-38" data-line-number="38">This is a loose list</a>
-<a class="sourceLine" id="cb346-39" data-line-number="39"></a>
-<a class="sourceLine" id="cb346-40" data-line-number="40">- This is the first item</a>
-<a class="sourceLine" id="cb346-41" data-line-number="41"></a>
-<a class="sourceLine" id="cb346-42" data-line-number="42">- This is the second item</a>
-<a class="sourceLine" id="cb346-43" data-line-number="43"></a>
-<a class="sourceLine" id="cb346-44" data-line-number="44">- This is the third item</a>
-<a class="sourceLine" id="cb346-45" data-line-number="45"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb346-46" data-line-number="46"></a>
-<a class="sourceLine" id="cb346-47" data-line-number="47"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb347"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb347-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-41"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb369"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb369-1"><a href="#cb369-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb369-2"><a href="#cb369-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[tightLists]{<span class="ex">markdown</span>}</span>
+<span id="cb369-3"><a href="#cb369-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb369-4"><a href="#cb369-4" aria-hidden="true"></a></span>
+<span id="cb369-5"><a href="#cb369-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</span>
+<span id="cb369-6"><a href="#cb369-6" aria-hidden="true"></a> renderers = {</span>
+<span id="cb369-7"><a href="#cb369-7" aria-hidden="true"></a> interblockSeparator = {},</span>
+<span id="cb369-8"><a href="#cb369-8" aria-hidden="true"></a> ulBeginTight = { (},</span>
+<span id="cb369-9"><a href="#cb369-9" aria-hidden="true"></a> ulItem = {<span class="co">%</span></span>
+<span id="cb369-10"><a href="#cb369-10" aria-hidden="true"></a> <span class="fu">\def\markdownRendererUlItem</span>{<span class="co">%</span></span>
+<span id="cb369-11"><a href="#cb369-11" aria-hidden="true"></a> ,</span>
+<span id="cb369-12"><a href="#cb369-12" aria-hidden="true"></a> <span class="fu">\def\markdownRendererUlItem</span>{, and }<span class="co">%</span></span>
+<span id="cb369-13"><a href="#cb369-13" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb369-14"><a href="#cb369-14" aria-hidden="true"></a> },</span>
+<span id="cb369-15"><a href="#cb369-15" aria-hidden="true"></a> ulItemEnd = {},</span>
+<span id="cb369-16"><a href="#cb369-16" aria-hidden="true"></a> ulEndTight = {).},</span>
+<span id="cb369-17"><a href="#cb369-17" aria-hidden="true"></a> },</span>
+<span id="cb369-18"><a href="#cb369-18" aria-hidden="true"></a>}</span>
+<span id="cb369-19"><a href="#cb369-19" aria-hidden="true"></a>This is a tight list</span>
+<span id="cb369-20"><a href="#cb369-20" aria-hidden="true"></a></span>
+<span id="cb369-21"><a href="#cb369-21" aria-hidden="true"></a>- the first item</span>
+<span id="cb369-22"><a href="#cb369-22" aria-hidden="true"></a>- the second item</span>
+<span id="cb369-23"><a href="#cb369-23" aria-hidden="true"></a>- the third item</span>
+<span id="cb369-24"><a href="#cb369-24" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb369-25"><a href="#cb369-25" aria-hidden="true"></a></span>
+<span id="cb369-26"><a href="#cb369-26" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</span>
+<span id="cb369-27"><a href="#cb369-27" aria-hidden="true"></a> renderers = {</span>
+<span id="cb369-28"><a href="#cb369-28" aria-hidden="true"></a> interblockSeparator = {<span class="co">%</span></span>
+<span id="cb369-29"><a href="#cb369-29" aria-hidden="true"></a> :<span class="fu">\par</span></span>
+<span id="cb369-30"><a href="#cb369-30" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb369-31"><a href="#cb369-31" aria-hidden="true"></a> },</span>
+<span id="cb369-32"><a href="#cb369-32" aria-hidden="true"></a> ulBeginTight = {<span class="kw">\begin</span>{<span class="ex">itemize</span>}},</span>
+<span id="cb369-33"><a href="#cb369-33" aria-hidden="true"></a> ulItem = {<span class="fu">\item</span>},</span>
+<span id="cb369-34"><a href="#cb369-34" aria-hidden="true"></a> ulItemEnd = {.},</span>
+<span id="cb369-35"><a href="#cb369-35" aria-hidden="true"></a> ulEnd = {<span class="kw">\end</span>{<span class="ex">itemize</span>}},</span>
+<span id="cb369-36"><a href="#cb369-36" aria-hidden="true"></a> },</span>
+<span id="cb369-37"><a href="#cb369-37" aria-hidden="true"></a>}</span>
+<span id="cb369-38"><a href="#cb369-38" aria-hidden="true"></a>This is a loose list</span>
+<span id="cb369-39"><a href="#cb369-39" aria-hidden="true"></a></span>
+<span id="cb369-40"><a href="#cb369-40" aria-hidden="true"></a>- This is the first item</span>
+<span id="cb369-41"><a href="#cb369-41" aria-hidden="true"></a></span>
+<span id="cb369-42"><a href="#cb369-42" aria-hidden="true"></a>- This is the second item</span>
+<span id="cb369-43"><a href="#cb369-43" aria-hidden="true"></a></span>
+<span id="cb369-44"><a href="#cb369-44" aria-hidden="true"></a>- This is the third item</span>
+<span id="cb369-45"><a href="#cb369-45" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb369-46"><a href="#cb369-46" aria-hidden="true"></a></span>
+<span id="cb369-47"><a href="#cb369-47" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb370"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb370-1"><a href="#cb370-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is a tight list (the first item, the second item, and the third item).</p>
@@ -4237,53 +4502,53 @@ multiple paragraphs</li>
<li><p>This is the third item.</p></li>
</ul>
</blockquote>
-<h5 id="context-example-31" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb348"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb348-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb348-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionTightLists{true}</a>
-<a class="sourceLine" id="cb348-3" data-line-number="3"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb348-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb348-5" data-line-number="5"><span class="fu">\def</span>\markdownRendererInterblockSeparator{}</a>
-<a class="sourceLine" id="cb348-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererUlBeginTight{ (}</a>
-<a class="sourceLine" id="cb348-7" data-line-number="7"><span class="fu">\def</span>\markdownRendererUlItem{<span class="co">%</span></a>
-<a class="sourceLine" id="cb348-8" data-line-number="8"> \def\markdownRendererUlItem{<span class="co">%</span></a>
-<a class="sourceLine" id="cb348-9" data-line-number="9"> ,</a>
-<a class="sourceLine" id="cb348-10" data-line-number="10"> \def\markdownRendererUlItem{, and }<span class="co">%</span></a>
-<a class="sourceLine" id="cb348-11" data-line-number="11"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb348-12" data-line-number="12">}</a>
-<a class="sourceLine" id="cb348-13" data-line-number="13"><span class="fu">\def</span>\markdownRendererUlItemEnd{}</a>
-<a class="sourceLine" id="cb348-14" data-line-number="14"><span class="fu">\def</span>\markdownRendererUlEndTight{).}</a>
-<a class="sourceLine" id="cb348-15" data-line-number="15"></a>
-<a class="sourceLine" id="cb348-16" data-line-number="16"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb348-17" data-line-number="17">This is a tight list</a>
-<a class="sourceLine" id="cb348-18" data-line-number="18"></a>
-<a class="sourceLine" id="cb348-19" data-line-number="19">- the first item</a>
-<a class="sourceLine" id="cb348-20" data-line-number="20">- the second item</a>
-<a class="sourceLine" id="cb348-21" data-line-number="21">- the third item</a>
-<a class="sourceLine" id="cb348-22" data-line-number="22"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb348-23" data-line-number="23"></a>
-<a class="sourceLine" id="cb348-24" data-line-number="24"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb348-25" data-line-number="25"> :\par</a>
-<a class="sourceLine" id="cb348-26" data-line-number="26"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb348-27" data-line-number="27">}</a>
-<a class="sourceLine" id="cb348-28" data-line-number="28"><span class="fu">\def</span>\markdownRendererUlBegin{\startitemize}</a>
-<a class="sourceLine" id="cb348-29" data-line-number="29"><span class="fu">\def</span>\markdownRendererUlItem{\item}</a>
-<a class="sourceLine" id="cb348-30" data-line-number="30"><span class="fu">\def</span>\markdownRendererUlItemEnd{.}</a>
-<a class="sourceLine" id="cb348-31" data-line-number="31"><span class="fu">\def</span>\markdownRendererUlEnd{\stopitemize}</a>
-<a class="sourceLine" id="cb348-32" data-line-number="32"></a>
-<a class="sourceLine" id="cb348-33" data-line-number="33"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb348-34" data-line-number="34">This is a loose list</a>
-<a class="sourceLine" id="cb348-35" data-line-number="35"></a>
-<a class="sourceLine" id="cb348-36" data-line-number="36">- This is the first item</a>
-<a class="sourceLine" id="cb348-37" data-line-number="37"></a>
-<a class="sourceLine" id="cb348-38" data-line-number="38">- This is the second item</a>
-<a class="sourceLine" id="cb348-39" data-line-number="39"></a>
-<a class="sourceLine" id="cb348-40" data-line-number="40">- This is the third item</a>
-<a class="sourceLine" id="cb348-41" data-line-number="41"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb348-42" data-line-number="42"></a>
-<a class="sourceLine" id="cb348-43" data-line-number="43"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb349"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb349-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-33">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb371"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb371-1"><a href="#cb371-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb371-2"><a href="#cb371-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionTightLists</span>{true}</span>
+<span id="cb371-3"><a href="#cb371-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb371-4"><a href="#cb371-4" aria-hidden="true"></a></span>
+<span id="cb371-5"><a href="#cb371-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{}</span>
+<span id="cb371-6"><a href="#cb371-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlBeginTight</span>{ (}</span>
+<span id="cb371-7"><a href="#cb371-7" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItem</span>{<span class="co">%</span></span>
+<span id="cb371-8"><a href="#cb371-8" aria-hidden="true"></a> <span class="fu">\def\markdownRendererUlItem</span>{<span class="co">%</span></span>
+<span id="cb371-9"><a href="#cb371-9" aria-hidden="true"></a> ,</span>
+<span id="cb371-10"><a href="#cb371-10" aria-hidden="true"></a> <span class="fu">\def\markdownRendererUlItem</span>{, and }<span class="co">%</span></span>
+<span id="cb371-11"><a href="#cb371-11" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb371-12"><a href="#cb371-12" aria-hidden="true"></a>}</span>
+<span id="cb371-13"><a href="#cb371-13" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItemEnd</span>{}</span>
+<span id="cb371-14"><a href="#cb371-14" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlEndTight</span>{).}</span>
+<span id="cb371-15"><a href="#cb371-15" aria-hidden="true"></a></span>
+<span id="cb371-16"><a href="#cb371-16" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb371-17"><a href="#cb371-17" aria-hidden="true"></a>This is a tight list</span>
+<span id="cb371-18"><a href="#cb371-18" aria-hidden="true"></a></span>
+<span id="cb371-19"><a href="#cb371-19" aria-hidden="true"></a>- the first item</span>
+<span id="cb371-20"><a href="#cb371-20" aria-hidden="true"></a>- the second item</span>
+<span id="cb371-21"><a href="#cb371-21" aria-hidden="true"></a>- the third item</span>
+<span id="cb371-22"><a href="#cb371-22" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb371-23"><a href="#cb371-23" aria-hidden="true"></a></span>
+<span id="cb371-24"><a href="#cb371-24" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb371-25"><a href="#cb371-25" aria-hidden="true"></a> :<span class="fu">\par</span></span>
+<span id="cb371-26"><a href="#cb371-26" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb371-27"><a href="#cb371-27" aria-hidden="true"></a>}</span>
+<span id="cb371-28"><a href="#cb371-28" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlBegin</span>{<span class="fu">\startitemize</span>}</span>
+<span id="cb371-29"><a href="#cb371-29" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItem</span>{<span class="fu">\item</span>}</span>
+<span id="cb371-30"><a href="#cb371-30" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItemEnd</span>{.}</span>
+<span id="cb371-31"><a href="#cb371-31" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlEnd</span>{<span class="fu">\stopitemize</span>}</span>
+<span id="cb371-32"><a href="#cb371-32" aria-hidden="true"></a></span>
+<span id="cb371-33"><a href="#cb371-33" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb371-34"><a href="#cb371-34" aria-hidden="true"></a>This is a loose list</span>
+<span id="cb371-35"><a href="#cb371-35" aria-hidden="true"></a></span>
+<span id="cb371-36"><a href="#cb371-36" aria-hidden="true"></a>- This is the first item</span>
+<span id="cb371-37"><a href="#cb371-37" aria-hidden="true"></a></span>
+<span id="cb371-38"><a href="#cb371-38" aria-hidden="true"></a>- This is the second item</span>
+<span id="cb371-39"><a href="#cb371-39" aria-hidden="true"></a></span>
+<span id="cb371-40"><a href="#cb371-40" aria-hidden="true"></a>- This is the third item</span>
+<span id="cb371-41"><a href="#cb371-41" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb371-42"><a href="#cb371-42" aria-hidden="true"></a></span>
+<span id="cb371-43"><a href="#cb371-43" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb372"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb372-1"><a href="#cb372-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is a tight list (the first item, the second item, and the third item).</p>
@@ -4294,78 +4559,78 @@ multiple paragraphs</li>
<li><p>This is the third item.</p></li>
</ul>
</blockquote>
-<h4 id="ordered-list-renderers"><span class="header-section-number">2.3.1.11</span> Ordered List Renderers</h4>
+<h4 data-number="2.3.1.11" id="ordered-list-renderers"><span class="header-section-number">2.3.1.11</span> Ordered List Renderers</h4>
<p>The <code>\markdownRendererOlBegin</code> macro represents the beginning of an ordered list that contains an item with several paragraphs of text (the list is not tight). The macro receives no arguments.</p>
<p>The <code>\markdownRendererOlBeginTight</code> macro represents the beginning of an ordered list that contains no item with several paragraphs of text (the list is tight). This macro will only be produced, when the <strong><code>tightLists</code></strong> option is <code>false</code>. The macro receives no arguments.</p>
<p>The <code>\markdownRendererOlItem</code> macro represents an item in an ordered list. This macro will only be produced, when the <strong><code>startNumber</code></strong> option is <code>false</code>. The macro receives no arguments.</p>
<p>The <code>\markdownRendererOlItemEnd</code> macro represents the end of an item in an ordered list. The macro receives no arguments.</p>
-<p>The <code>\markdownRendererOlItemWithNumber</code> macro represents an item in an ordered list. This macro will only be produced, when the <strong><code>startNumber</code></strong> option is enabled. The macro receives no arguments.</p>
+<p>The <code>\markdownRendererOlItemWithNumber</code> macro represents an item in an ordered list. This macro will only be produced, when the <strong><code>startNumber</code></strong> option is enabled. The macro receives a single numeric argument that corresponds to the item number.</p>
<p>The <code>\markdownRendererOlEnd</code> macro represents the end of an ordered list that contains an item with several paragraphs of text (the list is not tight). The macro receives no arguments.</p>
<p>The <code>\markdownRendererOlEndTight</code> macro represents the end of an ordered list that contains no item with several paragraphs of text (the list is tight). This macro will only be produced, when the <strong><code>tightLists</code></strong> option is <code>false</code>. The macro receives no arguments.</p>
-<h5 id="plain-tex-example-22" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb350"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb350-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb350-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionTightLists{true}</a>
-<a class="sourceLine" id="cb350-3" data-line-number="3"><span class="fu">\def</span>\markdownOptionStartNumber{true}</a>
-<a class="sourceLine" id="cb350-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb350-5" data-line-number="5"><span class="fu">\def</span>\markdownRendererInterblockSeparator{}</a>
-<a class="sourceLine" id="cb350-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererOlBeginTight{ (}</a>
-<a class="sourceLine" id="cb350-7" data-line-number="7"><span class="fu">\def</span>\markdownRendererOlItemWithNumber#1{<span class="co">%</span></a>
-<a class="sourceLine" id="cb350-8" data-line-number="8"> \ifnum #1=1\relax</a>
-<a class="sourceLine" id="cb350-9" data-line-number="9"> the first</a>
-<a class="sourceLine" id="cb350-10" data-line-number="10"> \else</a>
-<a class="sourceLine" id="cb350-11" data-line-number="11"> \ifnum #1=2\relax</a>
-<a class="sourceLine" id="cb350-12" data-line-number="12"> , the second</a>
-<a class="sourceLine" id="cb350-13" data-line-number="13"> \else</a>
-<a class="sourceLine" id="cb350-14" data-line-number="14"> , and the third</a>
-<a class="sourceLine" id="cb350-15" data-line-number="15"> \fi</a>
-<a class="sourceLine" id="cb350-16" data-line-number="16"> \fi</a>
-<a class="sourceLine" id="cb350-17" data-line-number="17">}</a>
-<a class="sourceLine" id="cb350-18" data-line-number="18"><span class="fu">\def</span>\markdownRendererOlItemEnd{}</a>
-<a class="sourceLine" id="cb350-19" data-line-number="19"><span class="fu">\def</span>\markdownRendererOlEndTight{).}</a>
-<a class="sourceLine" id="cb350-20" data-line-number="20"></a>
-<a class="sourceLine" id="cb350-21" data-line-number="21"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb350-22" data-line-number="22">This is a tight list</a>
-<a class="sourceLine" id="cb350-23" data-line-number="23"></a>
-<a class="sourceLine" id="cb350-24" data-line-number="24">1. item</a>
-<a class="sourceLine" id="cb350-25" data-line-number="25">2. item</a>
-<a class="sourceLine" id="cb350-26" data-line-number="26">3. item</a>
-<a class="sourceLine" id="cb350-27" data-line-number="27"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb350-28" data-line-number="28"></a>
-<a class="sourceLine" id="cb350-29" data-line-number="29"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb350-30" data-line-number="30"> :\par</a>
-<a class="sourceLine" id="cb350-31" data-line-number="31"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb350-32" data-line-number="32">}</a>
-<a class="sourceLine" id="cb350-33" data-line-number="33"><span class="fu">\def</span>\markdownRendererOlBegin{}</a>
-<a class="sourceLine" id="cb350-34" data-line-number="34"><span class="fu">\def</span>\markdownRendererOlItemWithNumber#1{<span class="co">%</span></a>
-<a class="sourceLine" id="cb350-35" data-line-number="35"> #1.\kern 0.5em<span class="co">%</span></a>
-<a class="sourceLine" id="cb350-36" data-line-number="36"> This is the</a>
-<a class="sourceLine" id="cb350-37" data-line-number="37"> \ifnum #1=1\relax</a>
-<a class="sourceLine" id="cb350-38" data-line-number="38"> first</a>
-<a class="sourceLine" id="cb350-39" data-line-number="39"> \else</a>
-<a class="sourceLine" id="cb350-40" data-line-number="40"> \ifnum #1=2\relax</a>
-<a class="sourceLine" id="cb350-41" data-line-number="41"> second</a>
-<a class="sourceLine" id="cb350-42" data-line-number="42"> \else</a>
-<a class="sourceLine" id="cb350-43" data-line-number="43"> third</a>
-<a class="sourceLine" id="cb350-44" data-line-number="44"> \fi</a>
-<a class="sourceLine" id="cb350-45" data-line-number="45"> \fi</a>
-<a class="sourceLine" id="cb350-46" data-line-number="46">}</a>
-<a class="sourceLine" id="cb350-47" data-line-number="47"><span class="fu">\def</span>\markdownRendererOlItemEnd{.\par}</a>
-<a class="sourceLine" id="cb350-48" data-line-number="48"><span class="fu">\def</span>\markdownRendererOlEnd{}</a>
-<a class="sourceLine" id="cb350-49" data-line-number="49"></a>
-<a class="sourceLine" id="cb350-50" data-line-number="50"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb350-51" data-line-number="51">This is a loose list</a>
-<a class="sourceLine" id="cb350-52" data-line-number="52"></a>
-<a class="sourceLine" id="cb350-53" data-line-number="53">1. item</a>
-<a class="sourceLine" id="cb350-54" data-line-number="54"></a>
-<a class="sourceLine" id="cb350-55" data-line-number="55">2. item</a>
-<a class="sourceLine" id="cb350-56" data-line-number="56"></a>
-<a class="sourceLine" id="cb350-57" data-line-number="57">3. item</a>
-<a class="sourceLine" id="cb350-58" data-line-number="58"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb350-59" data-line-number="59"></a>
-<a class="sourceLine" id="cb350-60" data-line-number="60"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb351"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb351-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-24">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb373"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb373-1"><a href="#cb373-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb373-2"><a href="#cb373-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionTightLists</span>{true}</span>
+<span id="cb373-3"><a href="#cb373-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionStartNumber</span>{true}</span>
+<span id="cb373-4"><a href="#cb373-4" aria-hidden="true"></a></span>
+<span id="cb373-5"><a href="#cb373-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{}</span>
+<span id="cb373-6"><a href="#cb373-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlBeginTight</span>{ (}</span>
+<span id="cb373-7"><a href="#cb373-7" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemWithNumber</span>#1{<span class="co">%</span></span>
+<span id="cb373-8"><a href="#cb373-8" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></span>
+<span id="cb373-9"><a href="#cb373-9" aria-hidden="true"></a> the first</span>
+<span id="cb373-10"><a href="#cb373-10" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb373-11"><a href="#cb373-11" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></span>
+<span id="cb373-12"><a href="#cb373-12" aria-hidden="true"></a> , the second</span>
+<span id="cb373-13"><a href="#cb373-13" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb373-14"><a href="#cb373-14" aria-hidden="true"></a> , and the third</span>
+<span id="cb373-15"><a href="#cb373-15" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb373-16"><a href="#cb373-16" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb373-17"><a href="#cb373-17" aria-hidden="true"></a>}</span>
+<span id="cb373-18"><a href="#cb373-18" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemEnd</span>{}</span>
+<span id="cb373-19"><a href="#cb373-19" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlEndTight</span>{).}</span>
+<span id="cb373-20"><a href="#cb373-20" aria-hidden="true"></a></span>
+<span id="cb373-21"><a href="#cb373-21" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb373-22"><a href="#cb373-22" aria-hidden="true"></a>This is a tight list</span>
+<span id="cb373-23"><a href="#cb373-23" aria-hidden="true"></a></span>
+<span id="cb373-24"><a href="#cb373-24" aria-hidden="true"></a>1. item</span>
+<span id="cb373-25"><a href="#cb373-25" aria-hidden="true"></a>2. item</span>
+<span id="cb373-26"><a href="#cb373-26" aria-hidden="true"></a>3. item</span>
+<span id="cb373-27"><a href="#cb373-27" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb373-28"><a href="#cb373-28" aria-hidden="true"></a></span>
+<span id="cb373-29"><a href="#cb373-29" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb373-30"><a href="#cb373-30" aria-hidden="true"></a> :<span class="fu">\par</span></span>
+<span id="cb373-31"><a href="#cb373-31" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb373-32"><a href="#cb373-32" aria-hidden="true"></a>}</span>
+<span id="cb373-33"><a href="#cb373-33" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlBegin</span>{}</span>
+<span id="cb373-34"><a href="#cb373-34" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemWithNumber</span>#1{<span class="co">%</span></span>
+<span id="cb373-35"><a href="#cb373-35" aria-hidden="true"></a> #1.<span class="fu">\kern</span> 0.5em<span class="co">%</span></span>
+<span id="cb373-36"><a href="#cb373-36" aria-hidden="true"></a> This is the</span>
+<span id="cb373-37"><a href="#cb373-37" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></span>
+<span id="cb373-38"><a href="#cb373-38" aria-hidden="true"></a> first</span>
+<span id="cb373-39"><a href="#cb373-39" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb373-40"><a href="#cb373-40" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></span>
+<span id="cb373-41"><a href="#cb373-41" aria-hidden="true"></a> second</span>
+<span id="cb373-42"><a href="#cb373-42" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb373-43"><a href="#cb373-43" aria-hidden="true"></a> third</span>
+<span id="cb373-44"><a href="#cb373-44" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb373-45"><a href="#cb373-45" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb373-46"><a href="#cb373-46" aria-hidden="true"></a>}</span>
+<span id="cb373-47"><a href="#cb373-47" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemEnd</span>{.<span class="fu">\par</span>}</span>
+<span id="cb373-48"><a href="#cb373-48" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlEnd</span>{}</span>
+<span id="cb373-49"><a href="#cb373-49" aria-hidden="true"></a></span>
+<span id="cb373-50"><a href="#cb373-50" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb373-51"><a href="#cb373-51" aria-hidden="true"></a>This is a loose list</span>
+<span id="cb373-52"><a href="#cb373-52" aria-hidden="true"></a></span>
+<span id="cb373-53"><a href="#cb373-53" aria-hidden="true"></a>1. item</span>
+<span id="cb373-54"><a href="#cb373-54" aria-hidden="true"></a></span>
+<span id="cb373-55"><a href="#cb373-55" aria-hidden="true"></a>2. item</span>
+<span id="cb373-56"><a href="#cb373-56" aria-hidden="true"></a></span>
+<span id="cb373-57"><a href="#cb373-57" aria-hidden="true"></a>3. item</span>
+<span id="cb373-58"><a href="#cb373-58" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb373-59"><a href="#cb373-59" aria-hidden="true"></a></span>
+<span id="cb373-60"><a href="#cb373-60" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb374"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb374-1"><a href="#cb374-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is a tight list (the first item, the second item, and the third item).</p>
@@ -4376,73 +4641,73 @@ multiple paragraphs</li>
<li><p>This is the third item.</p></li>
</ol>
</blockquote>
-<h5 id="latex-example-37" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb352"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb352-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb352-2" data-line-number="2"><span class="bu">\usepackage</span>[tightLists, startNumber]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb352-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb352-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb352-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</a>
-<a class="sourceLine" id="cb352-6" data-line-number="6"> renderers = {</a>
-<a class="sourceLine" id="cb352-7" data-line-number="7"> interblockSeparator = {},</a>
-<a class="sourceLine" id="cb352-8" data-line-number="8"> olBeginTight = { (},</a>
-<a class="sourceLine" id="cb352-9" data-line-number="9"> olItemWithNumber = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb352-10" data-line-number="10"> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></a>
-<a class="sourceLine" id="cb352-11" data-line-number="11"> the first</a>
-<a class="sourceLine" id="cb352-12" data-line-number="12"> <span class="fu">\else</span></a>
-<a class="sourceLine" id="cb352-13" data-line-number="13"> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></a>
-<a class="sourceLine" id="cb352-14" data-line-number="14"> , the second</a>
-<a class="sourceLine" id="cb352-15" data-line-number="15"> <span class="fu">\else</span></a>
-<a class="sourceLine" id="cb352-16" data-line-number="16"> , and the third</a>
-<a class="sourceLine" id="cb352-17" data-line-number="17"> <span class="fu">\fi</span></a>
-<a class="sourceLine" id="cb352-18" data-line-number="18"> <span class="fu">\fi</span></a>
-<a class="sourceLine" id="cb352-19" data-line-number="19"> },</a>
-<a class="sourceLine" id="cb352-20" data-line-number="20"> olItemEnd = {},</a>
-<a class="sourceLine" id="cb352-21" data-line-number="21"> olEndTight = {).},</a>
-<a class="sourceLine" id="cb352-22" data-line-number="22"> },</a>
-<a class="sourceLine" id="cb352-23" data-line-number="23">}</a>
-<a class="sourceLine" id="cb352-24" data-line-number="24">This is a tight list</a>
-<a class="sourceLine" id="cb352-25" data-line-number="25"></a>
-<a class="sourceLine" id="cb352-26" data-line-number="26">1. item</a>
-<a class="sourceLine" id="cb352-27" data-line-number="27">2. item</a>
-<a class="sourceLine" id="cb352-28" data-line-number="28">3. item</a>
-<a class="sourceLine" id="cb352-29" data-line-number="29"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb352-30" data-line-number="30"></a>
-<a class="sourceLine" id="cb352-31" data-line-number="31"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</a>
-<a class="sourceLine" id="cb352-32" data-line-number="32"> renderers = {</a>
-<a class="sourceLine" id="cb352-33" data-line-number="33"> interblockSeparator = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb352-34" data-line-number="34"> :<span class="fu">\par</span></a>
-<a class="sourceLine" id="cb352-35" data-line-number="35"> <span class="fu">\def</span>\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb352-36" data-line-number="36"> },</a>
-<a class="sourceLine" id="cb352-37" data-line-number="37"> olBeginTight = {<span class="kw">\begin</span>{<span class="ex">enumerate</span>}},</a>
-<a class="sourceLine" id="cb352-38" data-line-number="38"> olItemWithNumber = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb352-39" data-line-number="39"> <span class="fu">\item</span> This is the</a>
-<a class="sourceLine" id="cb352-40" data-line-number="40"> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></a>
-<a class="sourceLine" id="cb352-41" data-line-number="41"> first</a>
-<a class="sourceLine" id="cb352-42" data-line-number="42"> <span class="fu">\else</span></a>
-<a class="sourceLine" id="cb352-43" data-line-number="43"> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></a>
-<a class="sourceLine" id="cb352-44" data-line-number="44"> second</a>
-<a class="sourceLine" id="cb352-45" data-line-number="45"> <span class="fu">\else</span></a>
-<a class="sourceLine" id="cb352-46" data-line-number="46"> third</a>
-<a class="sourceLine" id="cb352-47" data-line-number="47"> <span class="fu">\fi</span></a>
-<a class="sourceLine" id="cb352-48" data-line-number="48"> <span class="fu">\fi</span></a>
-<a class="sourceLine" id="cb352-49" data-line-number="49"> },</a>
-<a class="sourceLine" id="cb352-50" data-line-number="50"> olItemEnd = {.},</a>
-<a class="sourceLine" id="cb352-51" data-line-number="51"> olEnd = {<span class="kw">\end</span>{<span class="ex">enumerate</span>}},</a>
-<a class="sourceLine" id="cb352-52" data-line-number="52"> },</a>
-<a class="sourceLine" id="cb352-53" data-line-number="53">}</a>
-<a class="sourceLine" id="cb352-54" data-line-number="54">This is a loose list</a>
-<a class="sourceLine" id="cb352-55" data-line-number="55"></a>
-<a class="sourceLine" id="cb352-56" data-line-number="56">1. item</a>
-<a class="sourceLine" id="cb352-57" data-line-number="57"></a>
-<a class="sourceLine" id="cb352-58" data-line-number="58">2. item</a>
-<a class="sourceLine" id="cb352-59" data-line-number="59"></a>
-<a class="sourceLine" id="cb352-60" data-line-number="60">3. item</a>
-<a class="sourceLine" id="cb352-61" data-line-number="61"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb352-62" data-line-number="62"></a>
-<a class="sourceLine" id="cb352-63" data-line-number="63"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb353"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb353-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-42"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb375"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb375-1"><a href="#cb375-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb375-2"><a href="#cb375-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[tightLists, startNumber]{<span class="ex">markdown</span>}</span>
+<span id="cb375-3"><a href="#cb375-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb375-4"><a href="#cb375-4" aria-hidden="true"></a></span>
+<span id="cb375-5"><a href="#cb375-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</span>
+<span id="cb375-6"><a href="#cb375-6" aria-hidden="true"></a> renderers = {</span>
+<span id="cb375-7"><a href="#cb375-7" aria-hidden="true"></a> interblockSeparator = {},</span>
+<span id="cb375-8"><a href="#cb375-8" aria-hidden="true"></a> olBeginTight = { (},</span>
+<span id="cb375-9"><a href="#cb375-9" aria-hidden="true"></a> olItemWithNumber = {<span class="co">%</span></span>
+<span id="cb375-10"><a href="#cb375-10" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></span>
+<span id="cb375-11"><a href="#cb375-11" aria-hidden="true"></a> the first</span>
+<span id="cb375-12"><a href="#cb375-12" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb375-13"><a href="#cb375-13" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></span>
+<span id="cb375-14"><a href="#cb375-14" aria-hidden="true"></a> , the second</span>
+<span id="cb375-15"><a href="#cb375-15" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb375-16"><a href="#cb375-16" aria-hidden="true"></a> , and the third</span>
+<span id="cb375-17"><a href="#cb375-17" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb375-18"><a href="#cb375-18" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb375-19"><a href="#cb375-19" aria-hidden="true"></a> },</span>
+<span id="cb375-20"><a href="#cb375-20" aria-hidden="true"></a> olItemEnd = {},</span>
+<span id="cb375-21"><a href="#cb375-21" aria-hidden="true"></a> olEndTight = {).},</span>
+<span id="cb375-22"><a href="#cb375-22" aria-hidden="true"></a> },</span>
+<span id="cb375-23"><a href="#cb375-23" aria-hidden="true"></a>}</span>
+<span id="cb375-24"><a href="#cb375-24" aria-hidden="true"></a>This is a tight list</span>
+<span id="cb375-25"><a href="#cb375-25" aria-hidden="true"></a></span>
+<span id="cb375-26"><a href="#cb375-26" aria-hidden="true"></a>1. item</span>
+<span id="cb375-27"><a href="#cb375-27" aria-hidden="true"></a>2. item</span>
+<span id="cb375-28"><a href="#cb375-28" aria-hidden="true"></a>3. item</span>
+<span id="cb375-29"><a href="#cb375-29" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb375-30"><a href="#cb375-30" aria-hidden="true"></a></span>
+<span id="cb375-31"><a href="#cb375-31" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</span>
+<span id="cb375-32"><a href="#cb375-32" aria-hidden="true"></a> renderers = {</span>
+<span id="cb375-33"><a href="#cb375-33" aria-hidden="true"></a> interblockSeparator = {<span class="co">%</span></span>
+<span id="cb375-34"><a href="#cb375-34" aria-hidden="true"></a> :<span class="fu">\par</span></span>
+<span id="cb375-35"><a href="#cb375-35" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb375-36"><a href="#cb375-36" aria-hidden="true"></a> },</span>
+<span id="cb375-37"><a href="#cb375-37" aria-hidden="true"></a> olBeginTight = {<span class="kw">\begin</span>{<span class="ex">enumerate</span>}},</span>
+<span id="cb375-38"><a href="#cb375-38" aria-hidden="true"></a> olItemWithNumber = {<span class="co">%</span></span>
+<span id="cb375-39"><a href="#cb375-39" aria-hidden="true"></a> <span class="fu">\item</span> This is the</span>
+<span id="cb375-40"><a href="#cb375-40" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></span>
+<span id="cb375-41"><a href="#cb375-41" aria-hidden="true"></a> first</span>
+<span id="cb375-42"><a href="#cb375-42" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb375-43"><a href="#cb375-43" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></span>
+<span id="cb375-44"><a href="#cb375-44" aria-hidden="true"></a> second</span>
+<span id="cb375-45"><a href="#cb375-45" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb375-46"><a href="#cb375-46" aria-hidden="true"></a> third</span>
+<span id="cb375-47"><a href="#cb375-47" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb375-48"><a href="#cb375-48" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb375-49"><a href="#cb375-49" aria-hidden="true"></a> },</span>
+<span id="cb375-50"><a href="#cb375-50" aria-hidden="true"></a> olItemEnd = {.},</span>
+<span id="cb375-51"><a href="#cb375-51" aria-hidden="true"></a> olEnd = {<span class="kw">\end</span>{<span class="ex">enumerate</span>}},</span>
+<span id="cb375-52"><a href="#cb375-52" aria-hidden="true"></a> },</span>
+<span id="cb375-53"><a href="#cb375-53" aria-hidden="true"></a>}</span>
+<span id="cb375-54"><a href="#cb375-54" aria-hidden="true"></a>This is a loose list</span>
+<span id="cb375-55"><a href="#cb375-55" aria-hidden="true"></a></span>
+<span id="cb375-56"><a href="#cb375-56" aria-hidden="true"></a>1. item</span>
+<span id="cb375-57"><a href="#cb375-57" aria-hidden="true"></a></span>
+<span id="cb375-58"><a href="#cb375-58" aria-hidden="true"></a>2. item</span>
+<span id="cb375-59"><a href="#cb375-59" aria-hidden="true"></a></span>
+<span id="cb375-60"><a href="#cb375-60" aria-hidden="true"></a>3. item</span>
+<span id="cb375-61"><a href="#cb375-61" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb375-62"><a href="#cb375-62" aria-hidden="true"></a></span>
+<span id="cb375-63"><a href="#cb375-63" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb376"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb376-1"><a href="#cb376-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is a tight list (the first item, the second item, and the third item).</p>
@@ -4453,71 +4718,71 @@ multiple paragraphs</li>
<li><p>This is the third item.</p></li>
</ol>
</blockquote>
-<h5 id="context-example-32" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb354"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb354-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb354-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionTightLists{true}</a>
-<a class="sourceLine" id="cb354-3" data-line-number="3"><span class="fu">\def</span>\markdownOptionStartNumber{true}</a>
-<a class="sourceLine" id="cb354-4" data-line-number="4"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb354-5" data-line-number="5"></a>
-<a class="sourceLine" id="cb354-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererInterblockSeparator{}</a>
-<a class="sourceLine" id="cb354-7" data-line-number="7"><span class="fu">\def</span>\markdownRendererOlBeginTight{ (}</a>
-<a class="sourceLine" id="cb354-8" data-line-number="8"><span class="fu">\def</span>\markdownRendererOlItemWithNumber#1{<span class="co">%</span></a>
-<a class="sourceLine" id="cb354-9" data-line-number="9"> \ifnum #1=1\relax</a>
-<a class="sourceLine" id="cb354-10" data-line-number="10"> the first</a>
-<a class="sourceLine" id="cb354-11" data-line-number="11"> \else</a>
-<a class="sourceLine" id="cb354-12" data-line-number="12"> \ifnum #1=2\relax</a>
-<a class="sourceLine" id="cb354-13" data-line-number="13"> , the second</a>
-<a class="sourceLine" id="cb354-14" data-line-number="14"> \else</a>
-<a class="sourceLine" id="cb354-15" data-line-number="15"> , and the third</a>
-<a class="sourceLine" id="cb354-16" data-line-number="16"> \fi</a>
-<a class="sourceLine" id="cb354-17" data-line-number="17"> \fi</a>
-<a class="sourceLine" id="cb354-18" data-line-number="18">}</a>
-<a class="sourceLine" id="cb354-19" data-line-number="19"><span class="fu">\def</span>\markdownRendererOlItemEnd{}</a>
-<a class="sourceLine" id="cb354-20" data-line-number="20"><span class="fu">\def</span>\markdownRendererOlEndTight{).}</a>
-<a class="sourceLine" id="cb354-21" data-line-number="21"></a>
-<a class="sourceLine" id="cb354-22" data-line-number="22"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb354-23" data-line-number="23">This is a tight list</a>
-<a class="sourceLine" id="cb354-24" data-line-number="24"></a>
-<a class="sourceLine" id="cb354-25" data-line-number="25">1. item</a>
-<a class="sourceLine" id="cb354-26" data-line-number="26">2. item</a>
-<a class="sourceLine" id="cb354-27" data-line-number="27">3. item</a>
-<a class="sourceLine" id="cb354-28" data-line-number="28"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb354-29" data-line-number="29"></a>
-<a class="sourceLine" id="cb354-30" data-line-number="30"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb354-31" data-line-number="31"> :\par</a>
-<a class="sourceLine" id="cb354-32" data-line-number="32"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb354-33" data-line-number="33">}</a>
-<a class="sourceLine" id="cb354-34" data-line-number="34"><span class="fu">\def</span>\markdownRendererOlBegin{\startitemize}</a>
-<a class="sourceLine" id="cb354-35" data-line-number="35"><span class="fu">\def</span>\markdownRendererOlItemWithNumber#1{<span class="co">%</span></a>
-<a class="sourceLine" id="cb354-36" data-line-number="36"> \sym{#1.}</a>
-<a class="sourceLine" id="cb354-37" data-line-number="37"> This is the</a>
-<a class="sourceLine" id="cb354-38" data-line-number="38"> \ifnum #1=1\relax</a>
-<a class="sourceLine" id="cb354-39" data-line-number="39"> first</a>
-<a class="sourceLine" id="cb354-40" data-line-number="40"> \else</a>
-<a class="sourceLine" id="cb354-41" data-line-number="41"> \ifnum #1=2\relax</a>
-<a class="sourceLine" id="cb354-42" data-line-number="42"> second</a>
-<a class="sourceLine" id="cb354-43" data-line-number="43"> \else</a>
-<a class="sourceLine" id="cb354-44" data-line-number="44"> third</a>
-<a class="sourceLine" id="cb354-45" data-line-number="45"> \fi</a>
-<a class="sourceLine" id="cb354-46" data-line-number="46"> \fi</a>
-<a class="sourceLine" id="cb354-47" data-line-number="47">}</a>
-<a class="sourceLine" id="cb354-48" data-line-number="48"><span class="fu">\def</span>\markdownRendererOlItemEnd{.\par}</a>
-<a class="sourceLine" id="cb354-49" data-line-number="49"><span class="fu">\def</span>\markdownRendererOlEnd{\stopitemize}</a>
-<a class="sourceLine" id="cb354-50" data-line-number="50"></a>
-<a class="sourceLine" id="cb354-51" data-line-number="51"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb354-52" data-line-number="52">This is a loose list</a>
-<a class="sourceLine" id="cb354-53" data-line-number="53"></a>
-<a class="sourceLine" id="cb354-54" data-line-number="54">1. item</a>
-<a class="sourceLine" id="cb354-55" data-line-number="55"></a>
-<a class="sourceLine" id="cb354-56" data-line-number="56">2. item</a>
-<a class="sourceLine" id="cb354-57" data-line-number="57"></a>
-<a class="sourceLine" id="cb354-58" data-line-number="58">3. item</a>
-<a class="sourceLine" id="cb354-59" data-line-number="59"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb354-60" data-line-number="60"></a>
-<a class="sourceLine" id="cb354-61" data-line-number="61"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb355"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb355-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-34">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb377"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb377-1"><a href="#cb377-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb377-2"><a href="#cb377-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionTightLists</span>{true}</span>
+<span id="cb377-3"><a href="#cb377-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionStartNumber</span>{true}</span>
+<span id="cb377-4"><a href="#cb377-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb377-5"><a href="#cb377-5" aria-hidden="true"></a></span>
+<span id="cb377-6"><a href="#cb377-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{}</span>
+<span id="cb377-7"><a href="#cb377-7" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlBeginTight</span>{ (}</span>
+<span id="cb377-8"><a href="#cb377-8" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemWithNumber</span>#1{<span class="co">%</span></span>
+<span id="cb377-9"><a href="#cb377-9" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></span>
+<span id="cb377-10"><a href="#cb377-10" aria-hidden="true"></a> the first</span>
+<span id="cb377-11"><a href="#cb377-11" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb377-12"><a href="#cb377-12" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></span>
+<span id="cb377-13"><a href="#cb377-13" aria-hidden="true"></a> , the second</span>
+<span id="cb377-14"><a href="#cb377-14" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb377-15"><a href="#cb377-15" aria-hidden="true"></a> , and the third</span>
+<span id="cb377-16"><a href="#cb377-16" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb377-17"><a href="#cb377-17" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb377-18"><a href="#cb377-18" aria-hidden="true"></a>}</span>
+<span id="cb377-19"><a href="#cb377-19" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemEnd</span>{}</span>
+<span id="cb377-20"><a href="#cb377-20" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlEndTight</span>{).}</span>
+<span id="cb377-21"><a href="#cb377-21" aria-hidden="true"></a></span>
+<span id="cb377-22"><a href="#cb377-22" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb377-23"><a href="#cb377-23" aria-hidden="true"></a>This is a tight list</span>
+<span id="cb377-24"><a href="#cb377-24" aria-hidden="true"></a></span>
+<span id="cb377-25"><a href="#cb377-25" aria-hidden="true"></a>1. item</span>
+<span id="cb377-26"><a href="#cb377-26" aria-hidden="true"></a>2. item</span>
+<span id="cb377-27"><a href="#cb377-27" aria-hidden="true"></a>3. item</span>
+<span id="cb377-28"><a href="#cb377-28" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb377-29"><a href="#cb377-29" aria-hidden="true"></a></span>
+<span id="cb377-30"><a href="#cb377-30" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb377-31"><a href="#cb377-31" aria-hidden="true"></a> :<span class="fu">\par</span></span>
+<span id="cb377-32"><a href="#cb377-32" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb377-33"><a href="#cb377-33" aria-hidden="true"></a>}</span>
+<span id="cb377-34"><a href="#cb377-34" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlBegin</span>{<span class="fu">\startitemize</span>}</span>
+<span id="cb377-35"><a href="#cb377-35" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemWithNumber</span>#1{<span class="co">%</span></span>
+<span id="cb377-36"><a href="#cb377-36" aria-hidden="true"></a> <span class="fu">\sym</span>{#1.}</span>
+<span id="cb377-37"><a href="#cb377-37" aria-hidden="true"></a> This is the</span>
+<span id="cb377-38"><a href="#cb377-38" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></span>
+<span id="cb377-39"><a href="#cb377-39" aria-hidden="true"></a> first</span>
+<span id="cb377-40"><a href="#cb377-40" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb377-41"><a href="#cb377-41" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></span>
+<span id="cb377-42"><a href="#cb377-42" aria-hidden="true"></a> second</span>
+<span id="cb377-43"><a href="#cb377-43" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb377-44"><a href="#cb377-44" aria-hidden="true"></a> third</span>
+<span id="cb377-45"><a href="#cb377-45" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb377-46"><a href="#cb377-46" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb377-47"><a href="#cb377-47" aria-hidden="true"></a>}</span>
+<span id="cb377-48"><a href="#cb377-48" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemEnd</span>{.<span class="fu">\par</span>}</span>
+<span id="cb377-49"><a href="#cb377-49" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlEnd</span>{<span class="fu">\stopitemize</span>}</span>
+<span id="cb377-50"><a href="#cb377-50" aria-hidden="true"></a></span>
+<span id="cb377-51"><a href="#cb377-51" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb377-52"><a href="#cb377-52" aria-hidden="true"></a>This is a loose list</span>
+<span id="cb377-53"><a href="#cb377-53" aria-hidden="true"></a></span>
+<span id="cb377-54"><a href="#cb377-54" aria-hidden="true"></a>1. item</span>
+<span id="cb377-55"><a href="#cb377-55" aria-hidden="true"></a></span>
+<span id="cb377-56"><a href="#cb377-56" aria-hidden="true"></a>2. item</span>
+<span id="cb377-57"><a href="#cb377-57" aria-hidden="true"></a></span>
+<span id="cb377-58"><a href="#cb377-58" aria-hidden="true"></a>3. item</span>
+<span id="cb377-59"><a href="#cb377-59" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb377-60"><a href="#cb377-60" aria-hidden="true"></a></span>
+<span id="cb377-61"><a href="#cb377-61" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb378"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb378-1"><a href="#cb378-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is a tight list (the first item, the second item, and the third item).</p>
@@ -4528,7 +4793,7 @@ multiple paragraphs</li>
<li><p>This is the third item.</p></li>
</ol>
</blockquote>
-<h4 id="definition-list-renderers"><span class="header-section-number">2.3.1.12</span> Definition List Renderers</h4>
+<h4 data-number="2.3.1.12" id="definition-list-renderers"><span class="header-section-number">2.3.1.12</span> Definition List Renderers</h4>
<p>The following macros are only produced, when the <strong><code>definitionLists</code></strong> option is enabled.</p>
<p>The <code>\markdownRendererDlBegin</code> macro represents the beginning of a definition list that contains an item with several paragraphs of text (the list is not tight). The macro receives no arguments.</p>
<p>The <code>\markdownRendererDlBeginTight</code> macro represents the beginning of a definition list that contains an item with several paragraphs of text (the list is not tight). This macro will only be produced, when the <strong><code>tightLists</code></strong> option is <code>false</code>. The macro receives no arguments.</p>
@@ -4538,88 +4803,88 @@ multiple paragraphs</li>
<p>The <code>\markdownRendererDlDefinitionEnd</code> macro represents the end of a definition in a definition list. There can be several definitions for a single term.</p>
<p>The <code>\markdownRendererDlEnd</code> macro represents the end of a definition list that contains an item with several paragraphs of text (the list is not tight). The macro receives no arguments.</p>
<p>The <code>\markdownRendererDlEndTight</code> macro represents the end of a definition list that contains no item with several paragraphs of text (the list is tight). This macro will only be produced, when the <strong><code>tightLists</code></strong> option is <code>false</code>. The macro receives no arguments.</p>
-<h5 id="plain-tex-example-23" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb356"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb356-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb356-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionDefinitionLists{true}</a>
-<a class="sourceLine" id="cb356-3" data-line-number="3"><span class="fu">\def</span>\markdownOptionTightLists{true}</a>
-<a class="sourceLine" id="cb356-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb356-5" data-line-number="5"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb356-6" data-line-number="6"> :<span class="co">%</span></a>
-<a class="sourceLine" id="cb356-7" data-line-number="7"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb356-8" data-line-number="8">}</a>
-<a class="sourceLine" id="cb356-9" data-line-number="9"><span class="fu">\def</span>\markdownRendererDlBeginTight{<span class="co">%</span></a>
-<a class="sourceLine" id="cb356-10" data-line-number="10"> \begingroup</a>
-<a class="sourceLine" id="cb356-11" data-line-number="11"> \parindent=0pt</a>
-<a class="sourceLine" id="cb356-12" data-line-number="12">}</a>
-<a class="sourceLine" id="cb356-13" data-line-number="13"><span class="fu">\def</span>\markdownRendererDlItem#1{<span class="co">%</span></a>
-<a class="sourceLine" id="cb356-14" data-line-number="14"> \par{\bf#1}<span class="co">%</span></a>
-<a class="sourceLine" id="cb356-15" data-line-number="15"> \def\markdownRendererDlDefinitionEnd{<span class="co">%</span></a>
-<a class="sourceLine" id="cb356-16" data-line-number="16"> ,</a>
-<a class="sourceLine" id="cb356-17" data-line-number="17"> \def\markdownRendererDlDefinitionEnd{<span class="co">%</span></a>
-<a class="sourceLine" id="cb356-18" data-line-number="18"> , and</a>
-<a class="sourceLine" id="cb356-19" data-line-number="19"> \def\markdownRendererDlDefinitionEnd{.}<span class="co">%</span></a>
-<a class="sourceLine" id="cb356-20" data-line-number="20"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb356-21" data-line-number="21"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb356-22" data-line-number="22">}</a>
-<a class="sourceLine" id="cb356-23" data-line-number="23"><span class="fu">\def</span>\markdownRendererDlItemEnd{}</a>
-<a class="sourceLine" id="cb356-24" data-line-number="24"><span class="fu">\def</span>\markdownRendererDlDefinitionBegin{\par--\kern 0.5em}</a>
-<a class="sourceLine" id="cb356-25" data-line-number="25"><span class="fu">\def</span>\markdownRendererDlEndTight{\endgroup}</a>
-<a class="sourceLine" id="cb356-26" data-line-number="26"></a>
-<a class="sourceLine" id="cb356-27" data-line-number="27"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb356-28" data-line-number="28">This is a tight definition list</a>
-<a class="sourceLine" id="cb356-29" data-line-number="29"></a>
-<a class="sourceLine" id="cb356-30" data-line-number="30">Coffee</a>
-<a class="sourceLine" id="cb356-31" data-line-number="31">: black hot drink</a>
-<a class="sourceLine" id="cb356-32" data-line-number="32">: prepared from roasted coffee beans</a>
-<a class="sourceLine" id="cb356-33" data-line-number="33">: one of the most traded agricultural commodities in the world</a>
-<a class="sourceLine" id="cb356-34" data-line-number="34"></a>
-<a class="sourceLine" id="cb356-35" data-line-number="35">Milk</a>
-<a class="sourceLine" id="cb356-36" data-line-number="36">: white cold drink</a>
-<a class="sourceLine" id="cb356-37" data-line-number="37">: nutrient-rich</a>
-<a class="sourceLine" id="cb356-38" data-line-number="38">: produced on an industrial scale</a>
-<a class="sourceLine" id="cb356-39" data-line-number="39"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb356-40" data-line-number="40"></a>
-<a class="sourceLine" id="cb356-41" data-line-number="41"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb356-42" data-line-number="42"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb356-43" data-line-number="43">}</a>
-<a class="sourceLine" id="cb356-44" data-line-number="44"><span class="fu">\def</span>\markdownRendererDlBegin{}</a>
-<a class="sourceLine" id="cb356-45" data-line-number="45"><span class="fu">\def</span>\markdownRendererDlItem#1{<span class="co">%</span></a>
-<a class="sourceLine" id="cb356-46" data-line-number="46"> . #1 is a</a>
-<a class="sourceLine" id="cb356-47" data-line-number="47"> \def\markdownRendererDlDefinitionBegin{<span class="co">%</span></a>
-<a class="sourceLine" id="cb356-48" data-line-number="48"> \def\markdownRendererDlDefinitionBegin{<span class="co">%</span></a>
-<a class="sourceLine" id="cb356-49" data-line-number="49"> ,</a>
-<a class="sourceLine" id="cb356-50" data-line-number="50"> \def\markdownRendererDlDefinitionBegin{, and }<span class="co">%</span></a>
-<a class="sourceLine" id="cb356-51" data-line-number="51"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb356-52" data-line-number="52"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb356-53" data-line-number="53">}</a>
-<a class="sourceLine" id="cb356-54" data-line-number="54"><span class="fu">\def</span>\markdownRendererDlItemEnd{}</a>
-<a class="sourceLine" id="cb356-55" data-line-number="55"><span class="fu">\def</span>\markdownRendererDlDefinitionEnd{}</a>
-<a class="sourceLine" id="cb356-56" data-line-number="56"><span class="fu">\def</span>\markdownRendererDlEnd{.}</a>
-<a class="sourceLine" id="cb356-57" data-line-number="57"></a>
-<a class="sourceLine" id="cb356-58" data-line-number="58"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb356-59" data-line-number="59">This is a loose definition list</a>
-<a class="sourceLine" id="cb356-60" data-line-number="60"></a>
-<a class="sourceLine" id="cb356-61" data-line-number="61">Coffee</a>
-<a class="sourceLine" id="cb356-62" data-line-number="62"></a>
-<a class="sourceLine" id="cb356-63" data-line-number="63">: black hot drink</a>
-<a class="sourceLine" id="cb356-64" data-line-number="64"></a>
-<a class="sourceLine" id="cb356-65" data-line-number="65">: prepared from roasted coffee beans</a>
-<a class="sourceLine" id="cb356-66" data-line-number="66"></a>
-<a class="sourceLine" id="cb356-67" data-line-number="67">: one of the most traded agricultural commodities in the world</a>
-<a class="sourceLine" id="cb356-68" data-line-number="68"></a>
-<a class="sourceLine" id="cb356-69" data-line-number="69">Milk</a>
-<a class="sourceLine" id="cb356-70" data-line-number="70"></a>
-<a class="sourceLine" id="cb356-71" data-line-number="71">: white cold drink</a>
-<a class="sourceLine" id="cb356-72" data-line-number="72"></a>
-<a class="sourceLine" id="cb356-73" data-line-number="73">: nutrient-rich</a>
-<a class="sourceLine" id="cb356-74" data-line-number="74"></a>
-<a class="sourceLine" id="cb356-75" data-line-number="75">: produced on an industrial scale</a>
-<a class="sourceLine" id="cb356-76" data-line-number="76"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb356-77" data-line-number="77"></a>
-<a class="sourceLine" id="cb356-78" data-line-number="78"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb357"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb357-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-25">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb379"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb379-1"><a href="#cb379-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb379-2"><a href="#cb379-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionDefinitionLists</span>{true}</span>
+<span id="cb379-3"><a href="#cb379-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionTightLists</span>{true}</span>
+<span id="cb379-4"><a href="#cb379-4" aria-hidden="true"></a></span>
+<span id="cb379-5"><a href="#cb379-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb379-6"><a href="#cb379-6" aria-hidden="true"></a> :<span class="co">%</span></span>
+<span id="cb379-7"><a href="#cb379-7" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb379-8"><a href="#cb379-8" aria-hidden="true"></a>}</span>
+<span id="cb379-9"><a href="#cb379-9" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlBeginTight</span>{<span class="co">%</span></span>
+<span id="cb379-10"><a href="#cb379-10" aria-hidden="true"></a> <span class="fu">\begingroup</span></span>
+<span id="cb379-11"><a href="#cb379-11" aria-hidden="true"></a> <span class="fu">\parindent</span>=0pt</span>
+<span id="cb379-12"><a href="#cb379-12" aria-hidden="true"></a>}</span>
+<span id="cb379-13"><a href="#cb379-13" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItem</span>#1{<span class="co">%</span></span>
+<span id="cb379-14"><a href="#cb379-14" aria-hidden="true"></a> <span class="fu">\par</span>{<span class="fu">\bf</span>#1}<span class="co">%</span></span>
+<span id="cb379-15"><a href="#cb379-15" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{<span class="co">%</span></span>
+<span id="cb379-16"><a href="#cb379-16" aria-hidden="true"></a> ,</span>
+<span id="cb379-17"><a href="#cb379-17" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{<span class="co">%</span></span>
+<span id="cb379-18"><a href="#cb379-18" aria-hidden="true"></a> , and</span>
+<span id="cb379-19"><a href="#cb379-19" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{.}<span class="co">%</span></span>
+<span id="cb379-20"><a href="#cb379-20" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb379-21"><a href="#cb379-21" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb379-22"><a href="#cb379-22" aria-hidden="true"></a>}</span>
+<span id="cb379-23"><a href="#cb379-23" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItemEnd</span>{}</span>
+<span id="cb379-24"><a href="#cb379-24" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="fu">\par</span>--<span class="fu">\kern</span> 0.5em}</span>
+<span id="cb379-25"><a href="#cb379-25" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlEndTight</span>{<span class="fu">\endgroup</span>}</span>
+<span id="cb379-26"><a href="#cb379-26" aria-hidden="true"></a></span>
+<span id="cb379-27"><a href="#cb379-27" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb379-28"><a href="#cb379-28" aria-hidden="true"></a>This is a tight definition list</span>
+<span id="cb379-29"><a href="#cb379-29" aria-hidden="true"></a></span>
+<span id="cb379-30"><a href="#cb379-30" aria-hidden="true"></a>Coffee</span>
+<span id="cb379-31"><a href="#cb379-31" aria-hidden="true"></a>: black hot drink</span>
+<span id="cb379-32"><a href="#cb379-32" aria-hidden="true"></a>: prepared from roasted coffee beans</span>
+<span id="cb379-33"><a href="#cb379-33" aria-hidden="true"></a>: one of the most traded agricultural commodities in the world</span>
+<span id="cb379-34"><a href="#cb379-34" aria-hidden="true"></a></span>
+<span id="cb379-35"><a href="#cb379-35" aria-hidden="true"></a>Milk</span>
+<span id="cb379-36"><a href="#cb379-36" aria-hidden="true"></a>: white cold drink</span>
+<span id="cb379-37"><a href="#cb379-37" aria-hidden="true"></a>: nutrient-rich</span>
+<span id="cb379-38"><a href="#cb379-38" aria-hidden="true"></a>: produced on an industrial scale</span>
+<span id="cb379-39"><a href="#cb379-39" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb379-40"><a href="#cb379-40" aria-hidden="true"></a></span>
+<span id="cb379-41"><a href="#cb379-41" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb379-42"><a href="#cb379-42" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb379-43"><a href="#cb379-43" aria-hidden="true"></a>}</span>
+<span id="cb379-44"><a href="#cb379-44" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlBegin</span>{}</span>
+<span id="cb379-45"><a href="#cb379-45" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItem</span>#1{<span class="co">%</span></span>
+<span id="cb379-46"><a href="#cb379-46" aria-hidden="true"></a> . #1 is a</span>
+<span id="cb379-47"><a href="#cb379-47" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="co">%</span></span>
+<span id="cb379-48"><a href="#cb379-48" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="co">%</span></span>
+<span id="cb379-49"><a href="#cb379-49" aria-hidden="true"></a> ,</span>
+<span id="cb379-50"><a href="#cb379-50" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{, and }<span class="co">%</span></span>
+<span id="cb379-51"><a href="#cb379-51" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb379-52"><a href="#cb379-52" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb379-53"><a href="#cb379-53" aria-hidden="true"></a>}</span>
+<span id="cb379-54"><a href="#cb379-54" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItemEnd</span>{}</span>
+<span id="cb379-55"><a href="#cb379-55" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlDefinitionEnd</span>{}</span>
+<span id="cb379-56"><a href="#cb379-56" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlEnd</span>{.}</span>
+<span id="cb379-57"><a href="#cb379-57" aria-hidden="true"></a></span>
+<span id="cb379-58"><a href="#cb379-58" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb379-59"><a href="#cb379-59" aria-hidden="true"></a>This is a loose definition list</span>
+<span id="cb379-60"><a href="#cb379-60" aria-hidden="true"></a></span>
+<span id="cb379-61"><a href="#cb379-61" aria-hidden="true"></a>Coffee</span>
+<span id="cb379-62"><a href="#cb379-62" aria-hidden="true"></a></span>
+<span id="cb379-63"><a href="#cb379-63" aria-hidden="true"></a>: black hot drink</span>
+<span id="cb379-64"><a href="#cb379-64" aria-hidden="true"></a></span>
+<span id="cb379-65"><a href="#cb379-65" aria-hidden="true"></a>: prepared from roasted coffee beans</span>
+<span id="cb379-66"><a href="#cb379-66" aria-hidden="true"></a></span>
+<span id="cb379-67"><a href="#cb379-67" aria-hidden="true"></a>: one of the most traded agricultural commodities in the world</span>
+<span id="cb379-68"><a href="#cb379-68" aria-hidden="true"></a></span>
+<span id="cb379-69"><a href="#cb379-69" aria-hidden="true"></a>Milk</span>
+<span id="cb379-70"><a href="#cb379-70" aria-hidden="true"></a></span>
+<span id="cb379-71"><a href="#cb379-71" aria-hidden="true"></a>: white cold drink</span>
+<span id="cb379-72"><a href="#cb379-72" aria-hidden="true"></a></span>
+<span id="cb379-73"><a href="#cb379-73" aria-hidden="true"></a>: nutrient-rich</span>
+<span id="cb379-74"><a href="#cb379-74" aria-hidden="true"></a></span>
+<span id="cb379-75"><a href="#cb379-75" aria-hidden="true"></a>: produced on an industrial scale</span>
+<span id="cb379-76"><a href="#cb379-76" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb379-77"><a href="#cb379-77" aria-hidden="true"></a></span>
+<span id="cb379-78"><a href="#cb379-78" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb380"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb380-1"><a href="#cb380-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is a tight definition list:</p>
@@ -4637,90 +4902,90 @@ multiple paragraphs</li>
</ul>
<p>This is a loose definition list. Coffee is a black hot drink, prepared from roasted coffee beans, and one of the most traded agricultural commodities in the world. Milk is a white cold drink, nutrient-rich, and produced on an industrial scale.</p>
</blockquote>
-<h5 id="latex-example-38" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb358"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb358-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb358-2" data-line-number="2"><span class="bu">\usepackage</span>[definitionLists, tightLists]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb358-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb358-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb358-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</a>
-<a class="sourceLine" id="cb358-6" data-line-number="6"> renderers = {</a>
-<a class="sourceLine" id="cb358-7" data-line-number="7"> interblockSeparator = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb358-8" data-line-number="8"> :<span class="co">%</span></a>
-<a class="sourceLine" id="cb358-9" data-line-number="9"> <span class="fu">\def</span>\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb358-10" data-line-number="10"> },</a>
-<a class="sourceLine" id="cb358-11" data-line-number="11"> dlBeginTight = {<span class="kw">\begin</span>{<span class="ex">description</span>}},</a>
-<a class="sourceLine" id="cb358-12" data-line-number="12"> dlItem = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb358-13" data-line-number="13"> <span class="fu">\item</span>[#1]</a>
-<a class="sourceLine" id="cb358-14" data-line-number="14"> <span class="kw">\begin</span>{<span class="ex">itemize</span>}</a>
-<a class="sourceLine" id="cb358-15" data-line-number="15"> <span class="fu">\def</span>\markdownRendererDlDefinitionEnd{<span class="co">%</span></a>
-<a class="sourceLine" id="cb358-16" data-line-number="16"> ,</a>
-<a class="sourceLine" id="cb358-17" data-line-number="17"> \def\markdownRendererDlDefinitionEnd{<span class="co">%</span></a>
-<a class="sourceLine" id="cb358-18" data-line-number="18"> , and</a>
-<a class="sourceLine" id="cb358-19" data-line-number="19"> \def\markdownRendererDlDefinitionEnd{.}<span class="co">%</span></a>
-<a class="sourceLine" id="cb358-20" data-line-number="20"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb358-21" data-line-number="21"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb358-22" data-line-number="22"> },</a>
-<a class="sourceLine" id="cb358-23" data-line-number="23"> dlItemEnd = {<span class="kw">\end</span>{<span class="ex">itemize</span>}},</a>
-<a class="sourceLine" id="cb358-24" data-line-number="24"> dlDefinitionBegin = <span class="fu">\item</span>,</a>
-<a class="sourceLine" id="cb358-25" data-line-number="25"> dlEndTight = {<span class="kw">\end</span>{<span class="ex">description</span>}},</a>
-<a class="sourceLine" id="cb358-26" data-line-number="26"> },</a>
-<a class="sourceLine" id="cb358-27" data-line-number="27">}</a>
-<a class="sourceLine" id="cb358-28" data-line-number="28">This is a tight definition list</a>
-<a class="sourceLine" id="cb358-29" data-line-number="29"></a>
-<a class="sourceLine" id="cb358-30" data-line-number="30">Coffee</a>
-<a class="sourceLine" id="cb358-31" data-line-number="31">: black hot drink</a>
-<a class="sourceLine" id="cb358-32" data-line-number="32">: prepared from roasted coffee beans</a>
-<a class="sourceLine" id="cb358-33" data-line-number="33">: one of the most traded agricultural commodities in the world</a>
-<a class="sourceLine" id="cb358-34" data-line-number="34"></a>
-<a class="sourceLine" id="cb358-35" data-line-number="35">Milk</a>
-<a class="sourceLine" id="cb358-36" data-line-number="36">: white cold drink</a>
-<a class="sourceLine" id="cb358-37" data-line-number="37">: nutrient-rich</a>
-<a class="sourceLine" id="cb358-38" data-line-number="38">: produced on an industrial scale</a>
-<a class="sourceLine" id="cb358-39" data-line-number="39"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb358-40" data-line-number="40"></a>
-<a class="sourceLine" id="cb358-41" data-line-number="41"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</a>
-<a class="sourceLine" id="cb358-42" data-line-number="42"> renderers = {</a>
-<a class="sourceLine" id="cb358-43" data-line-number="43"> interblockSeparator = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb358-44" data-line-number="44"> <span class="fu">\def</span>\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb358-45" data-line-number="45"> },</a>
-<a class="sourceLine" id="cb358-46" data-line-number="46"> dlBegin = {},</a>
-<a class="sourceLine" id="cb358-47" data-line-number="47"> dlItem = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb358-48" data-line-number="48"> . #1 is a</a>
-<a class="sourceLine" id="cb358-49" data-line-number="49"> <span class="fu">\def</span>\markdownRendererDlDefinitionBegin{<span class="co">%</span></a>
-<a class="sourceLine" id="cb358-50" data-line-number="50"> \def\markdownRendererDlDefinitionBegin{<span class="co">%</span></a>
-<a class="sourceLine" id="cb358-51" data-line-number="51"> ,</a>
-<a class="sourceLine" id="cb358-52" data-line-number="52"> \def\markdownRendererDlDefinitionBegin{, and }<span class="co">%</span></a>
-<a class="sourceLine" id="cb358-53" data-line-number="53"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb358-54" data-line-number="54"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb358-55" data-line-number="55"> },</a>
-<a class="sourceLine" id="cb358-56" data-line-number="56"> dlItemEnd = {},</a>
-<a class="sourceLine" id="cb358-57" data-line-number="57"> dlDefinitionEnd = {},</a>
-<a class="sourceLine" id="cb358-58" data-line-number="58"> dlEnd = {.},</a>
-<a class="sourceLine" id="cb358-59" data-line-number="59"> },</a>
-<a class="sourceLine" id="cb358-60" data-line-number="60">}</a>
-<a class="sourceLine" id="cb358-61" data-line-number="61">This is a loose definition list</a>
-<a class="sourceLine" id="cb358-62" data-line-number="62"></a>
-<a class="sourceLine" id="cb358-63" data-line-number="63">Coffee</a>
-<a class="sourceLine" id="cb358-64" data-line-number="64"></a>
-<a class="sourceLine" id="cb358-65" data-line-number="65">: black hot drink</a>
-<a class="sourceLine" id="cb358-66" data-line-number="66"></a>
-<a class="sourceLine" id="cb358-67" data-line-number="67">: prepared from roasted coffee beans</a>
-<a class="sourceLine" id="cb358-68" data-line-number="68"></a>
-<a class="sourceLine" id="cb358-69" data-line-number="69">: one of the most traded agricultural commodities in the world</a>
-<a class="sourceLine" id="cb358-70" data-line-number="70"></a>
-<a class="sourceLine" id="cb358-71" data-line-number="71">Milk</a>
-<a class="sourceLine" id="cb358-72" data-line-number="72"></a>
-<a class="sourceLine" id="cb358-73" data-line-number="73">: white cold drink</a>
-<a class="sourceLine" id="cb358-74" data-line-number="74"></a>
-<a class="sourceLine" id="cb358-75" data-line-number="75">: nutrient-rich</a>
-<a class="sourceLine" id="cb358-76" data-line-number="76"></a>
-<a class="sourceLine" id="cb358-77" data-line-number="77">: produced on an industrial scale</a>
-<a class="sourceLine" id="cb358-78" data-line-number="78"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb358-79" data-line-number="79"></a>
-<a class="sourceLine" id="cb358-80" data-line-number="80"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb359"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb359-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-43"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb381"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb381-1"><a href="#cb381-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb381-2"><a href="#cb381-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[definitionLists, tightLists]{<span class="ex">markdown</span>}</span>
+<span id="cb381-3"><a href="#cb381-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb381-4"><a href="#cb381-4" aria-hidden="true"></a></span>
+<span id="cb381-5"><a href="#cb381-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</span>
+<span id="cb381-6"><a href="#cb381-6" aria-hidden="true"></a> renderers = {</span>
+<span id="cb381-7"><a href="#cb381-7" aria-hidden="true"></a> interblockSeparator = {<span class="co">%</span></span>
+<span id="cb381-8"><a href="#cb381-8" aria-hidden="true"></a> :<span class="co">%</span></span>
+<span id="cb381-9"><a href="#cb381-9" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb381-10"><a href="#cb381-10" aria-hidden="true"></a> },</span>
+<span id="cb381-11"><a href="#cb381-11" aria-hidden="true"></a> dlBeginTight = {<span class="kw">\begin</span>{<span class="ex">description</span>}},</span>
+<span id="cb381-12"><a href="#cb381-12" aria-hidden="true"></a> dlItem = {<span class="co">%</span></span>
+<span id="cb381-13"><a href="#cb381-13" aria-hidden="true"></a> <span class="fu">\item</span>[#1]</span>
+<span id="cb381-14"><a href="#cb381-14" aria-hidden="true"></a> <span class="kw">\begin</span>{<span class="ex">itemize</span>}</span>
+<span id="cb381-15"><a href="#cb381-15" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{<span class="co">%</span></span>
+<span id="cb381-16"><a href="#cb381-16" aria-hidden="true"></a> ,</span>
+<span id="cb381-17"><a href="#cb381-17" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{<span class="co">%</span></span>
+<span id="cb381-18"><a href="#cb381-18" aria-hidden="true"></a> , and</span>
+<span id="cb381-19"><a href="#cb381-19" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{.}<span class="co">%</span></span>
+<span id="cb381-20"><a href="#cb381-20" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb381-21"><a href="#cb381-21" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb381-22"><a href="#cb381-22" aria-hidden="true"></a> },</span>
+<span id="cb381-23"><a href="#cb381-23" aria-hidden="true"></a> dlItemEnd = {<span class="kw">\end</span>{<span class="ex">itemize</span>}},</span>
+<span id="cb381-24"><a href="#cb381-24" aria-hidden="true"></a> dlDefinitionBegin = <span class="fu">\item</span>,</span>
+<span id="cb381-25"><a href="#cb381-25" aria-hidden="true"></a> dlEndTight = {<span class="kw">\end</span>{<span class="ex">description</span>}},</span>
+<span id="cb381-26"><a href="#cb381-26" aria-hidden="true"></a> },</span>
+<span id="cb381-27"><a href="#cb381-27" aria-hidden="true"></a>}</span>
+<span id="cb381-28"><a href="#cb381-28" aria-hidden="true"></a>This is a tight definition list</span>
+<span id="cb381-29"><a href="#cb381-29" aria-hidden="true"></a></span>
+<span id="cb381-30"><a href="#cb381-30" aria-hidden="true"></a>Coffee</span>
+<span id="cb381-31"><a href="#cb381-31" aria-hidden="true"></a>: black hot drink</span>
+<span id="cb381-32"><a href="#cb381-32" aria-hidden="true"></a>: prepared from roasted coffee beans</span>
+<span id="cb381-33"><a href="#cb381-33" aria-hidden="true"></a>: one of the most traded agricultural commodities in the world</span>
+<span id="cb381-34"><a href="#cb381-34" aria-hidden="true"></a></span>
+<span id="cb381-35"><a href="#cb381-35" aria-hidden="true"></a>Milk</span>
+<span id="cb381-36"><a href="#cb381-36" aria-hidden="true"></a>: white cold drink</span>
+<span id="cb381-37"><a href="#cb381-37" aria-hidden="true"></a>: nutrient-rich</span>
+<span id="cb381-38"><a href="#cb381-38" aria-hidden="true"></a>: produced on an industrial scale</span>
+<span id="cb381-39"><a href="#cb381-39" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb381-40"><a href="#cb381-40" aria-hidden="true"></a></span>
+<span id="cb381-41"><a href="#cb381-41" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</span>
+<span id="cb381-42"><a href="#cb381-42" aria-hidden="true"></a> renderers = {</span>
+<span id="cb381-43"><a href="#cb381-43" aria-hidden="true"></a> interblockSeparator = {<span class="co">%</span></span>
+<span id="cb381-44"><a href="#cb381-44" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb381-45"><a href="#cb381-45" aria-hidden="true"></a> },</span>
+<span id="cb381-46"><a href="#cb381-46" aria-hidden="true"></a> dlBegin = {},</span>
+<span id="cb381-47"><a href="#cb381-47" aria-hidden="true"></a> dlItem = {<span class="co">%</span></span>
+<span id="cb381-48"><a href="#cb381-48" aria-hidden="true"></a> . #1 is a</span>
+<span id="cb381-49"><a href="#cb381-49" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="co">%</span></span>
+<span id="cb381-50"><a href="#cb381-50" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="co">%</span></span>
+<span id="cb381-51"><a href="#cb381-51" aria-hidden="true"></a> ,</span>
+<span id="cb381-52"><a href="#cb381-52" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{, and }<span class="co">%</span></span>
+<span id="cb381-53"><a href="#cb381-53" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb381-54"><a href="#cb381-54" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb381-55"><a href="#cb381-55" aria-hidden="true"></a> },</span>
+<span id="cb381-56"><a href="#cb381-56" aria-hidden="true"></a> dlItemEnd = {},</span>
+<span id="cb381-57"><a href="#cb381-57" aria-hidden="true"></a> dlDefinitionEnd = {},</span>
+<span id="cb381-58"><a href="#cb381-58" aria-hidden="true"></a> dlEnd = {.},</span>
+<span id="cb381-59"><a href="#cb381-59" aria-hidden="true"></a> },</span>
+<span id="cb381-60"><a href="#cb381-60" aria-hidden="true"></a>}</span>
+<span id="cb381-61"><a href="#cb381-61" aria-hidden="true"></a>This is a loose definition list</span>
+<span id="cb381-62"><a href="#cb381-62" aria-hidden="true"></a></span>
+<span id="cb381-63"><a href="#cb381-63" aria-hidden="true"></a>Coffee</span>
+<span id="cb381-64"><a href="#cb381-64" aria-hidden="true"></a></span>
+<span id="cb381-65"><a href="#cb381-65" aria-hidden="true"></a>: black hot drink</span>
+<span id="cb381-66"><a href="#cb381-66" aria-hidden="true"></a></span>
+<span id="cb381-67"><a href="#cb381-67" aria-hidden="true"></a>: prepared from roasted coffee beans</span>
+<span id="cb381-68"><a href="#cb381-68" aria-hidden="true"></a></span>
+<span id="cb381-69"><a href="#cb381-69" aria-hidden="true"></a>: one of the most traded agricultural commodities in the world</span>
+<span id="cb381-70"><a href="#cb381-70" aria-hidden="true"></a></span>
+<span id="cb381-71"><a href="#cb381-71" aria-hidden="true"></a>Milk</span>
+<span id="cb381-72"><a href="#cb381-72" aria-hidden="true"></a></span>
+<span id="cb381-73"><a href="#cb381-73" aria-hidden="true"></a>: white cold drink</span>
+<span id="cb381-74"><a href="#cb381-74" aria-hidden="true"></a></span>
+<span id="cb381-75"><a href="#cb381-75" aria-hidden="true"></a>: nutrient-rich</span>
+<span id="cb381-76"><a href="#cb381-76" aria-hidden="true"></a></span>
+<span id="cb381-77"><a href="#cb381-77" aria-hidden="true"></a>: produced on an industrial scale</span>
+<span id="cb381-78"><a href="#cb381-78" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb381-79"><a href="#cb381-79" aria-hidden="true"></a></span>
+<span id="cb381-80"><a href="#cb381-80" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb382"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb382-1"><a href="#cb382-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is a tight definition list:</p>
@@ -4738,87 +5003,87 @@ multiple paragraphs</li>
</ul>
<p>This is a loose definition list. Coffee is a black hot drink, prepared from roasted coffee beans, and one of the most traded agricultural commodities in the world. Milk is a white cold drink, nutrient-rich, and produced on an industrial scale.</p>
</blockquote>
-<h5 id="context-example-33" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb360"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb360-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb360-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionDefinitionLists{true}</a>
-<a class="sourceLine" id="cb360-3" data-line-number="3"><span class="fu">\def</span>\markdownOptionTightLists{true}</a>
-<a class="sourceLine" id="cb360-4" data-line-number="4"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb360-5" data-line-number="5"></a>
-<a class="sourceLine" id="cb360-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb360-7" data-line-number="7"> :<span class="co">%</span></a>
-<a class="sourceLine" id="cb360-8" data-line-number="8"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb360-9" data-line-number="9">}</a>
-<a class="sourceLine" id="cb360-10" data-line-number="10"><span class="fu">\def</span>\markdownRendererDlBeginTight{}</a>
-<a class="sourceLine" id="cb360-11" data-line-number="11"><span class="fu">\def</span>\markdownRendererDlItem#1{<span class="co">%</span></a>
-<a class="sourceLine" id="cb360-12" data-line-number="12"> \par{\bf#1}<span class="co">%</span></a>
-<a class="sourceLine" id="cb360-13" data-line-number="13"> \startitemize</a>
-<a class="sourceLine" id="cb360-14" data-line-number="14"> \def\markdownRendererDlDefinitionEnd{<span class="co">%</span></a>
-<a class="sourceLine" id="cb360-15" data-line-number="15"> ,</a>
-<a class="sourceLine" id="cb360-16" data-line-number="16"> \def\markdownRendererDlDefinitionEnd{<span class="co">%</span></a>
-<a class="sourceLine" id="cb360-17" data-line-number="17"> , and</a>
-<a class="sourceLine" id="cb360-18" data-line-number="18"> \def\markdownRendererDlDefinitionEnd{.}<span class="co">%</span></a>
-<a class="sourceLine" id="cb360-19" data-line-number="19"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb360-20" data-line-number="20"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb360-21" data-line-number="21">}</a>
-<a class="sourceLine" id="cb360-22" data-line-number="22"><span class="fu">\def</span>\markdownRendererDlItemEnd{\stopitemize}</a>
-<a class="sourceLine" id="cb360-23" data-line-number="23"><span class="fu">\def</span>\markdownRendererDlDefinitionBegin{\item}</a>
-<a class="sourceLine" id="cb360-24" data-line-number="24"><span class="fu">\def</span>\markdownRendererDlEndTight{}</a>
-<a class="sourceLine" id="cb360-25" data-line-number="25"></a>
-<a class="sourceLine" id="cb360-26" data-line-number="26"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb360-27" data-line-number="27">This is a tight definition list</a>
-<a class="sourceLine" id="cb360-28" data-line-number="28"></a>
-<a class="sourceLine" id="cb360-29" data-line-number="29">Coffee</a>
-<a class="sourceLine" id="cb360-30" data-line-number="30">: black hot drink</a>
-<a class="sourceLine" id="cb360-31" data-line-number="31">: prepared from roasted coffee beans</a>
-<a class="sourceLine" id="cb360-32" data-line-number="32">: one of the most traded agricultural commodities in the world</a>
-<a class="sourceLine" id="cb360-33" data-line-number="33"></a>
-<a class="sourceLine" id="cb360-34" data-line-number="34">Milk</a>
-<a class="sourceLine" id="cb360-35" data-line-number="35">: white cold drink</a>
-<a class="sourceLine" id="cb360-36" data-line-number="36">: nutrient-rich</a>
-<a class="sourceLine" id="cb360-37" data-line-number="37">: produced on an industrial scale</a>
-<a class="sourceLine" id="cb360-38" data-line-number="38"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb360-39" data-line-number="39"></a>
-<a class="sourceLine" id="cb360-40" data-line-number="40"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb360-41" data-line-number="41"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb360-42" data-line-number="42">}</a>
-<a class="sourceLine" id="cb360-43" data-line-number="43"><span class="fu">\def</span>\markdownRendererDlBegin{}</a>
-<a class="sourceLine" id="cb360-44" data-line-number="44"><span class="fu">\def</span>\markdownRendererDlItem#1{<span class="co">%</span></a>
-<a class="sourceLine" id="cb360-45" data-line-number="45"> . #1 is a</a>
-<a class="sourceLine" id="cb360-46" data-line-number="46"> \def\markdownRendererDlDefinitionBegin{<span class="co">%</span></a>
-<a class="sourceLine" id="cb360-47" data-line-number="47"> \def\markdownRendererDlDefinitionBegin{<span class="co">%</span></a>
-<a class="sourceLine" id="cb360-48" data-line-number="48"> ,</a>
-<a class="sourceLine" id="cb360-49" data-line-number="49"> \def\markdownRendererDlDefinitionBegin{, and }<span class="co">%</span></a>
-<a class="sourceLine" id="cb360-50" data-line-number="50"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb360-51" data-line-number="51"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb360-52" data-line-number="52">}</a>
-<a class="sourceLine" id="cb360-53" data-line-number="53"><span class="fu">\def</span>\markdownRendererDlItemEnd{}</a>
-<a class="sourceLine" id="cb360-54" data-line-number="54"><span class="fu">\def</span>\markdownRendererDlDefinitionEnd{}</a>
-<a class="sourceLine" id="cb360-55" data-line-number="55"><span class="fu">\def</span>\markdownRendererDlEnd{.}</a>
-<a class="sourceLine" id="cb360-56" data-line-number="56"></a>
-<a class="sourceLine" id="cb360-57" data-line-number="57"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb360-58" data-line-number="58">This is a loose definition list</a>
-<a class="sourceLine" id="cb360-59" data-line-number="59"></a>
-<a class="sourceLine" id="cb360-60" data-line-number="60">Coffee</a>
-<a class="sourceLine" id="cb360-61" data-line-number="61"></a>
-<a class="sourceLine" id="cb360-62" data-line-number="62">: black hot drink</a>
-<a class="sourceLine" id="cb360-63" data-line-number="63"></a>
-<a class="sourceLine" id="cb360-64" data-line-number="64">: prepared from roasted coffee beans</a>
-<a class="sourceLine" id="cb360-65" data-line-number="65"></a>
-<a class="sourceLine" id="cb360-66" data-line-number="66">: one of the most traded agricultural commodities in the world</a>
-<a class="sourceLine" id="cb360-67" data-line-number="67"></a>
-<a class="sourceLine" id="cb360-68" data-line-number="68">Milk</a>
-<a class="sourceLine" id="cb360-69" data-line-number="69"></a>
-<a class="sourceLine" id="cb360-70" data-line-number="70">: white cold drink</a>
-<a class="sourceLine" id="cb360-71" data-line-number="71"></a>
-<a class="sourceLine" id="cb360-72" data-line-number="72">: nutrient-rich</a>
-<a class="sourceLine" id="cb360-73" data-line-number="73"></a>
-<a class="sourceLine" id="cb360-74" data-line-number="74">: produced on an industrial scale</a>
-<a class="sourceLine" id="cb360-75" data-line-number="75"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb360-76" data-line-number="76"></a>
-<a class="sourceLine" id="cb360-77" data-line-number="77"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb361"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb361-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-35">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb383"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb383-1"><a href="#cb383-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb383-2"><a href="#cb383-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionDefinitionLists</span>{true}</span>
+<span id="cb383-3"><a href="#cb383-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionTightLists</span>{true}</span>
+<span id="cb383-4"><a href="#cb383-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb383-5"><a href="#cb383-5" aria-hidden="true"></a></span>
+<span id="cb383-6"><a href="#cb383-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb383-7"><a href="#cb383-7" aria-hidden="true"></a> :<span class="co">%</span></span>
+<span id="cb383-8"><a href="#cb383-8" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb383-9"><a href="#cb383-9" aria-hidden="true"></a>}</span>
+<span id="cb383-10"><a href="#cb383-10" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlBeginTight</span>{}</span>
+<span id="cb383-11"><a href="#cb383-11" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItem</span>#1{<span class="co">%</span></span>
+<span id="cb383-12"><a href="#cb383-12" aria-hidden="true"></a> <span class="fu">\par</span>{<span class="fu">\bf</span>#1}<span class="co">%</span></span>
+<span id="cb383-13"><a href="#cb383-13" aria-hidden="true"></a> <span class="fu">\startitemize</span></span>
+<span id="cb383-14"><a href="#cb383-14" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{<span class="co">%</span></span>
+<span id="cb383-15"><a href="#cb383-15" aria-hidden="true"></a> ,</span>
+<span id="cb383-16"><a href="#cb383-16" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{<span class="co">%</span></span>
+<span id="cb383-17"><a href="#cb383-17" aria-hidden="true"></a> , and</span>
+<span id="cb383-18"><a href="#cb383-18" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{.}<span class="co">%</span></span>
+<span id="cb383-19"><a href="#cb383-19" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb383-20"><a href="#cb383-20" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb383-21"><a href="#cb383-21" aria-hidden="true"></a>}</span>
+<span id="cb383-22"><a href="#cb383-22" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItemEnd</span>{<span class="fu">\stopitemize</span>}</span>
+<span id="cb383-23"><a href="#cb383-23" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="fu">\item</span>}</span>
+<span id="cb383-24"><a href="#cb383-24" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlEndTight</span>{}</span>
+<span id="cb383-25"><a href="#cb383-25" aria-hidden="true"></a></span>
+<span id="cb383-26"><a href="#cb383-26" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb383-27"><a href="#cb383-27" aria-hidden="true"></a>This is a tight definition list</span>
+<span id="cb383-28"><a href="#cb383-28" aria-hidden="true"></a></span>
+<span id="cb383-29"><a href="#cb383-29" aria-hidden="true"></a>Coffee</span>
+<span id="cb383-30"><a href="#cb383-30" aria-hidden="true"></a>: black hot drink</span>
+<span id="cb383-31"><a href="#cb383-31" aria-hidden="true"></a>: prepared from roasted coffee beans</span>
+<span id="cb383-32"><a href="#cb383-32" aria-hidden="true"></a>: one of the most traded agricultural commodities in the world</span>
+<span id="cb383-33"><a href="#cb383-33" aria-hidden="true"></a></span>
+<span id="cb383-34"><a href="#cb383-34" aria-hidden="true"></a>Milk</span>
+<span id="cb383-35"><a href="#cb383-35" aria-hidden="true"></a>: white cold drink</span>
+<span id="cb383-36"><a href="#cb383-36" aria-hidden="true"></a>: nutrient-rich</span>
+<span id="cb383-37"><a href="#cb383-37" aria-hidden="true"></a>: produced on an industrial scale</span>
+<span id="cb383-38"><a href="#cb383-38" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb383-39"><a href="#cb383-39" aria-hidden="true"></a></span>
+<span id="cb383-40"><a href="#cb383-40" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb383-41"><a href="#cb383-41" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb383-42"><a href="#cb383-42" aria-hidden="true"></a>}</span>
+<span id="cb383-43"><a href="#cb383-43" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlBegin</span>{}</span>
+<span id="cb383-44"><a href="#cb383-44" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItem</span>#1{<span class="co">%</span></span>
+<span id="cb383-45"><a href="#cb383-45" aria-hidden="true"></a> . #1 is a</span>
+<span id="cb383-46"><a href="#cb383-46" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="co">%</span></span>
+<span id="cb383-47"><a href="#cb383-47" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="co">%</span></span>
+<span id="cb383-48"><a href="#cb383-48" aria-hidden="true"></a> ,</span>
+<span id="cb383-49"><a href="#cb383-49" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{, and }<span class="co">%</span></span>
+<span id="cb383-50"><a href="#cb383-50" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb383-51"><a href="#cb383-51" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb383-52"><a href="#cb383-52" aria-hidden="true"></a>}</span>
+<span id="cb383-53"><a href="#cb383-53" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItemEnd</span>{}</span>
+<span id="cb383-54"><a href="#cb383-54" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlDefinitionEnd</span>{}</span>
+<span id="cb383-55"><a href="#cb383-55" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlEnd</span>{.}</span>
+<span id="cb383-56"><a href="#cb383-56" aria-hidden="true"></a></span>
+<span id="cb383-57"><a href="#cb383-57" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb383-58"><a href="#cb383-58" aria-hidden="true"></a>This is a loose definition list</span>
+<span id="cb383-59"><a href="#cb383-59" aria-hidden="true"></a></span>
+<span id="cb383-60"><a href="#cb383-60" aria-hidden="true"></a>Coffee</span>
+<span id="cb383-61"><a href="#cb383-61" aria-hidden="true"></a></span>
+<span id="cb383-62"><a href="#cb383-62" aria-hidden="true"></a>: black hot drink</span>
+<span id="cb383-63"><a href="#cb383-63" aria-hidden="true"></a></span>
+<span id="cb383-64"><a href="#cb383-64" aria-hidden="true"></a>: prepared from roasted coffee beans</span>
+<span id="cb383-65"><a href="#cb383-65" aria-hidden="true"></a></span>
+<span id="cb383-66"><a href="#cb383-66" aria-hidden="true"></a>: one of the most traded agricultural commodities in the world</span>
+<span id="cb383-67"><a href="#cb383-67" aria-hidden="true"></a></span>
+<span id="cb383-68"><a href="#cb383-68" aria-hidden="true"></a>Milk</span>
+<span id="cb383-69"><a href="#cb383-69" aria-hidden="true"></a></span>
+<span id="cb383-70"><a href="#cb383-70" aria-hidden="true"></a>: white cold drink</span>
+<span id="cb383-71"><a href="#cb383-71" aria-hidden="true"></a></span>
+<span id="cb383-72"><a href="#cb383-72" aria-hidden="true"></a>: nutrient-rich</span>
+<span id="cb383-73"><a href="#cb383-73" aria-hidden="true"></a></span>
+<span id="cb383-74"><a href="#cb383-74" aria-hidden="true"></a>: produced on an industrial scale</span>
+<span id="cb383-75"><a href="#cb383-75" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb383-76"><a href="#cb383-76" aria-hidden="true"></a></span>
+<span id="cb383-77"><a href="#cb383-77" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb384"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb384-1"><a href="#cb384-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is a tight definition list:</p>
@@ -4836,97 +5101,97 @@ multiple paragraphs</li>
</ul>
<p>This is a loose definition list. Coffee is a black hot drink, prepared from roasted coffee beans, and one of the most traded agricultural commodities in the world. Milk is a white cold drink, nutrient-rich, and produced on an industrial scale.</p>
</blockquote>
-<h4 id="emphasis-renderers"><span class="header-section-number">2.3.1.13</span> Emphasis Renderers</h4>
+<h4 data-number="2.3.1.13" id="emphasis-renderers"><span class="header-section-number">2.3.1.13</span> Emphasis Renderers</h4>
<p>The <code>\markdownRendererEmphasis</code> macro represents an emphasized span of text. The macro receives a single argument that corresponds to the emphasized span of text.</p>
-<h5 id="plain-tex-example-24" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb362"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb362-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb362-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererEmphasis#1{{\it#1}}</a>
-<a class="sourceLine" id="cb362-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererStrongEmphasis#1{{\bf#1}}</a>
-<a class="sourceLine" id="cb362-4" data-line-number="4"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb362-5" data-line-number="5">This is *emphasis*.</a>
-<a class="sourceLine" id="cb362-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb362-7" data-line-number="7">This is **strong emphasis**.</a>
-<a class="sourceLine" id="cb362-8" data-line-number="8"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb362-9" data-line-number="9"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb363"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb363-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-26">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb385"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb385-1"><a href="#cb385-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb385-2"><a href="#cb385-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererEmphasis</span>#1{{<span class="fu">\it</span>#1}}</span>
+<span id="cb385-3"><a href="#cb385-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererStrongEmphasis</span>#1{{<span class="fu">\bf</span>#1}}</span>
+<span id="cb385-4"><a href="#cb385-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb385-5"><a href="#cb385-5" aria-hidden="true"></a>This is *emphasis*.</span>
+<span id="cb385-6"><a href="#cb385-6" aria-hidden="true"></a></span>
+<span id="cb385-7"><a href="#cb385-7" aria-hidden="true"></a>This is **strong emphasis**.</span>
+<span id="cb385-8"><a href="#cb385-8" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb385-9"><a href="#cb385-9" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb386"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb386-1"><a href="#cb386-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is <em>emphasis</em>.</p>
<p>This is <strong>strong emphasis</strong>.</p>
</blockquote>
-<h5 id="latex-example-39" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb364"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb364-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb364-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb364-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb364-4" data-line-number="4"> renderers = {</a>
-<a class="sourceLine" id="cb364-5" data-line-number="5"> emphasis = {<span class="fu">\emph</span>{#1}},</a>
-<a class="sourceLine" id="cb364-6" data-line-number="6"> strongEmphasis = {<span class="fu">\textbf</span>{#1}},</a>
-<a class="sourceLine" id="cb364-7" data-line-number="7"> },</a>
-<a class="sourceLine" id="cb364-8" data-line-number="8">}</a>
-<a class="sourceLine" id="cb364-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb364-10" data-line-number="10"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb364-11" data-line-number="11">This is *emphasis*.</a>
-<a class="sourceLine" id="cb364-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb364-13" data-line-number="13">This is **strong emphasis**.</a>
-<a class="sourceLine" id="cb364-14" data-line-number="14"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb364-15" data-line-number="15"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb365"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb365-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-44"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb387"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb387-1"><a href="#cb387-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb387-2"><a href="#cb387-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb387-3"><a href="#cb387-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb387-4"><a href="#cb387-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb387-5"><a href="#cb387-5" aria-hidden="true"></a> emphasis = {<span class="fu">\emph</span>{#1}},</span>
+<span id="cb387-6"><a href="#cb387-6" aria-hidden="true"></a> strongEmphasis = {<span class="fu">\textbf</span>{#1}},</span>
+<span id="cb387-7"><a href="#cb387-7" aria-hidden="true"></a> },</span>
+<span id="cb387-8"><a href="#cb387-8" aria-hidden="true"></a>}</span>
+<span id="cb387-9"><a href="#cb387-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb387-10"><a href="#cb387-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb387-11"><a href="#cb387-11" aria-hidden="true"></a>This is *emphasis*.</span>
+<span id="cb387-12"><a href="#cb387-12" aria-hidden="true"></a></span>
+<span id="cb387-13"><a href="#cb387-13" aria-hidden="true"></a>This is **strong emphasis**.</span>
+<span id="cb387-14"><a href="#cb387-14" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb387-15"><a href="#cb387-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb388"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb388-1"><a href="#cb388-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is <em>emphasis</em>.</p>
<p>This is <strong>strong emphasis</strong>.</p>
</blockquote>
-<h5 id="context-example-34" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-36">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb366"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb366-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb366-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererEmphasis#1{\emph{#1}}</a>
-<a class="sourceLine" id="cb366-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererStrongEmphasis#1{\bold{#1}}</a>
-<a class="sourceLine" id="cb366-4" data-line-number="4"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb366-5" data-line-number="5"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb366-6" data-line-number="6">This is *emphasis*.</a>
-<a class="sourceLine" id="cb366-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb366-8" data-line-number="8">This is **strong emphasis**.</a>
-<a class="sourceLine" id="cb366-9" data-line-number="9"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb366-10" data-line-number="10"><span class="fu">\stoptext</span></a></code></pre></div>
+<div class="sourceCode" id="cb389"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb389-1"><a href="#cb389-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb389-2"><a href="#cb389-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererEmphasis</span>#1{<span class="fu">\emph</span>{#1}}</span>
+<span id="cb389-3"><a href="#cb389-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererStrongEmphasis</span>#1{<span class="fu">\bold</span>{#1}}</span>
+<span id="cb389-4"><a href="#cb389-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb389-5"><a href="#cb389-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb389-6"><a href="#cb389-6" aria-hidden="true"></a>This is *emphasis*.</span>
+<span id="cb389-7"><a href="#cb389-7" aria-hidden="true"></a></span>
+<span id="cb389-8"><a href="#cb389-8" aria-hidden="true"></a>This is **strong emphasis**.</span>
+<span id="cb389-9"><a href="#cb389-9" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb389-10"><a href="#cb389-10" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb367"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb367-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb390"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb390-1"><a href="#cb390-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is <em>emphasis</em>.</p>
<p>This is <strong>strong emphasis</strong>.</p>
</blockquote>
<p>The <code>\markdownRendererStrongEmphasis</code> macro represents a strongly emphasized span of text. The macro receives a single argument that corresponds to the emphasized span of text.</p>
-<h4 id="block-quote-renderers"><span class="header-section-number">2.3.1.14</span> Block Quote Renderers</h4>
+<h4 data-number="2.3.1.14" id="block-quote-renderers"><span class="header-section-number">2.3.1.14</span> Block Quote Renderers</h4>
<p>The <code>\markdownRendererBlockQuoteBegin</code> macro represents the beginning of a block quote. The macro receives no arguments.</p>
-<h5 id="plain-tex-example-25" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb368"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb368-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb368-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererBlockQuoteBegin{<span class="co">%</span></a>
-<a class="sourceLine" id="cb368-3" data-line-number="3"> \begingroup</a>
-<a class="sourceLine" id="cb368-4" data-line-number="4"> \vskip\parindent</a>
-<a class="sourceLine" id="cb368-5" data-line-number="5"> \leftskip=2\parindent</a>
-<a class="sourceLine" id="cb368-6" data-line-number="6"> \parindent=0pt</a>
-<a class="sourceLine" id="cb368-7" data-line-number="7">}</a>
-<a class="sourceLine" id="cb368-8" data-line-number="8"><span class="fu">\def</span>\markdownRendererBlockQuoteEnd{<span class="co">%</span></a>
-<a class="sourceLine" id="cb368-9" data-line-number="9"> \par</a>
-<a class="sourceLine" id="cb368-10" data-line-number="10"> \vskip\parindent</a>
-<a class="sourceLine" id="cb368-11" data-line-number="11"> \endgroup</a>
-<a class="sourceLine" id="cb368-12" data-line-number="12">}</a>
-<a class="sourceLine" id="cb368-13" data-line-number="13"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb368-14" data-line-number="14">A quote from William Shakespeare&#39;s King Lear:</a>
-<a class="sourceLine" id="cb368-15" data-line-number="15"></a>
-<a class="sourceLine" id="cb368-16" data-line-number="16">&gt; This is the excellent foppery of the world that when we are</a>
-<a class="sourceLine" id="cb368-17" data-line-number="17">&gt; sick in fortune---often the surfeit of our own behavior---we</a>
-<a class="sourceLine" id="cb368-18" data-line-number="18">&gt; make guilty of our disasters the sun, the moon, and the</a>
-<a class="sourceLine" id="cb368-19" data-line-number="19">&gt; stars [...]</a>
-<a class="sourceLine" id="cb368-20" data-line-number="20"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb368-21" data-line-number="21"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb369"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb369-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-27">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb391"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb391-1"><a href="#cb391-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb391-2"><a href="#cb391-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererBlockQuoteBegin</span>{<span class="co">%</span></span>
+<span id="cb391-3"><a href="#cb391-3" aria-hidden="true"></a> <span class="fu">\begingroup</span></span>
+<span id="cb391-4"><a href="#cb391-4" aria-hidden="true"></a> <span class="fu">\vskip\parindent</span></span>
+<span id="cb391-5"><a href="#cb391-5" aria-hidden="true"></a> <span class="fu">\leftskip</span>=2<span class="fu">\parindent</span></span>
+<span id="cb391-6"><a href="#cb391-6" aria-hidden="true"></a> <span class="fu">\parindent</span>=0pt</span>
+<span id="cb391-7"><a href="#cb391-7" aria-hidden="true"></a>}</span>
+<span id="cb391-8"><a href="#cb391-8" aria-hidden="true"></a><span class="fu">\def\markdownRendererBlockQuoteEnd</span>{<span class="co">%</span></span>
+<span id="cb391-9"><a href="#cb391-9" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb391-10"><a href="#cb391-10" aria-hidden="true"></a> <span class="fu">\vskip\parindent</span></span>
+<span id="cb391-11"><a href="#cb391-11" aria-hidden="true"></a> <span class="fu">\endgroup</span></span>
+<span id="cb391-12"><a href="#cb391-12" aria-hidden="true"></a>}</span>
+<span id="cb391-13"><a href="#cb391-13" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb391-14"><a href="#cb391-14" aria-hidden="true"></a>A quote from William Shakespeare&#39;s King Lear:</span>
+<span id="cb391-15"><a href="#cb391-15" aria-hidden="true"></a></span>
+<span id="cb391-16"><a href="#cb391-16" aria-hidden="true"></a>&gt; This is the excellent foppery of the world that when we are</span>
+<span id="cb391-17"><a href="#cb391-17" aria-hidden="true"></a>&gt; sick in fortune---often the surfeit of our own behavior---we</span>
+<span id="cb391-18"><a href="#cb391-18" aria-hidden="true"></a>&gt; make guilty of our disasters the sun, the moon, and the</span>
+<span id="cb391-19"><a href="#cb391-19" aria-hidden="true"></a>&gt; stars [...]</span>
+<span id="cb391-20"><a href="#cb391-20" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb391-21"><a href="#cb391-21" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb392"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb392-1"><a href="#cb392-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>A quote from William Shakespeare’s King Lear:</p>
@@ -4934,28 +5199,28 @@ multiple paragraphs</li>
<p>This is the excellent foppery of the world that when we are sick in fortune—often the surfeit of our own behavior—we make guilty of our disasters the sun, the moon, and the stars […]</p>
</blockquote>
</blockquote>
-<h5 id="latex-example-40" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb370"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb370-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb370-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb370-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb370-4" data-line-number="4"> renderers = {</a>
-<a class="sourceLine" id="cb370-5" data-line-number="5"> blockQuoteBegin = {<span class="kw">\begin</span>{<span class="ex">quote</span>}},</a>
-<a class="sourceLine" id="cb370-6" data-line-number="6"> blockQuoteEnd = {<span class="kw">\end</span>{<span class="ex">quote</span>}},</a>
-<a class="sourceLine" id="cb370-7" data-line-number="7"> },</a>
-<a class="sourceLine" id="cb370-8" data-line-number="8">}</a>
-<a class="sourceLine" id="cb370-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb370-10" data-line-number="10"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb370-11" data-line-number="11">A quote from William Shakespeare&#39;s King Lear:</a>
-<a class="sourceLine" id="cb370-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb370-13" data-line-number="13">&gt; This is the excellent foppery of the world that when we are</a>
-<a class="sourceLine" id="cb370-14" data-line-number="14">&gt; sick in fortune---often the surfeit of our own behavior---we</a>
-<a class="sourceLine" id="cb370-15" data-line-number="15">&gt; make guilty of our disasters the sun, the moon, and the</a>
-<a class="sourceLine" id="cb370-16" data-line-number="16">&gt; stars [...]</a>
-<a class="sourceLine" id="cb370-17" data-line-number="17"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb370-18" data-line-number="18"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb371"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb371-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-45"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb393"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb393-1"><a href="#cb393-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb393-2"><a href="#cb393-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb393-3"><a href="#cb393-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb393-4"><a href="#cb393-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb393-5"><a href="#cb393-5" aria-hidden="true"></a> blockQuoteBegin = {<span class="kw">\begin</span>{<span class="ex">quote</span>}},</span>
+<span id="cb393-6"><a href="#cb393-6" aria-hidden="true"></a> blockQuoteEnd = {<span class="kw">\end</span>{<span class="ex">quote</span>}},</span>
+<span id="cb393-7"><a href="#cb393-7" aria-hidden="true"></a> },</span>
+<span id="cb393-8"><a href="#cb393-8" aria-hidden="true"></a>}</span>
+<span id="cb393-9"><a href="#cb393-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb393-10"><a href="#cb393-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb393-11"><a href="#cb393-11" aria-hidden="true"></a>A quote from William Shakespeare&#39;s King Lear:</span>
+<span id="cb393-12"><a href="#cb393-12" aria-hidden="true"></a></span>
+<span id="cb393-13"><a href="#cb393-13" aria-hidden="true"></a>&gt; This is the excellent foppery of the world that when we are</span>
+<span id="cb393-14"><a href="#cb393-14" aria-hidden="true"></a>&gt; sick in fortune---often the surfeit of our own behavior---we</span>
+<span id="cb393-15"><a href="#cb393-15" aria-hidden="true"></a>&gt; make guilty of our disasters the sun, the moon, and the</span>
+<span id="cb393-16"><a href="#cb393-16" aria-hidden="true"></a>&gt; stars [...]</span>
+<span id="cb393-17"><a href="#cb393-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb393-18"><a href="#cb393-18" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb394"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb394-1"><a href="#cb394-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>A quote from William Shakespeare’s King Lear:</p>
@@ -4963,23 +5228,23 @@ multiple paragraphs</li>
<p>This is the excellent foppery of the world that when we are sick in fortune—often the surfeit of our own behavior—we make guilty of our disasters the sun, the moon, and the stars […]</p>
</blockquote>
</blockquote>
-<h5 id="context-example-35" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-37">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb372"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb372-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb372-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererBlockQuoteBegin{\startquotation}</a>
-<a class="sourceLine" id="cb372-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererBlockQuoteEnd{\stopquotation}</a>
-<a class="sourceLine" id="cb372-4" data-line-number="4"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb372-5" data-line-number="5"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb372-6" data-line-number="6">A quote from William Shakespeare&#39;s King Lear:</a>
-<a class="sourceLine" id="cb372-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb372-8" data-line-number="8">&gt; This is the excellent foppery of the world that when we are</a>
-<a class="sourceLine" id="cb372-9" data-line-number="9">&gt; sick in fortune---often the surfeit of our own behavior---we</a>
-<a class="sourceLine" id="cb372-10" data-line-number="10">&gt; make guilty of our disasters the sun, the moon, and the</a>
-<a class="sourceLine" id="cb372-11" data-line-number="11">&gt; stars [...]</a>
-<a class="sourceLine" id="cb372-12" data-line-number="12"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb372-13" data-line-number="13"><span class="fu">\stoptext</span></a></code></pre></div>
+<div class="sourceCode" id="cb395"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb395-1"><a href="#cb395-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb395-2"><a href="#cb395-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererBlockQuoteBegin</span>{<span class="fu">\startquotation</span>}</span>
+<span id="cb395-3"><a href="#cb395-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererBlockQuoteEnd</span>{<span class="fu">\stopquotation</span>}</span>
+<span id="cb395-4"><a href="#cb395-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb395-5"><a href="#cb395-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb395-6"><a href="#cb395-6" aria-hidden="true"></a>A quote from William Shakespeare&#39;s King Lear:</span>
+<span id="cb395-7"><a href="#cb395-7" aria-hidden="true"></a></span>
+<span id="cb395-8"><a href="#cb395-8" aria-hidden="true"></a>&gt; This is the excellent foppery of the world that when we are</span>
+<span id="cb395-9"><a href="#cb395-9" aria-hidden="true"></a>&gt; sick in fortune---often the surfeit of our own behavior---we</span>
+<span id="cb395-10"><a href="#cb395-10" aria-hidden="true"></a>&gt; make guilty of our disasters the sun, the moon, and the</span>
+<span id="cb395-11"><a href="#cb395-11" aria-hidden="true"></a>&gt; stars [...]</span>
+<span id="cb395-12"><a href="#cb395-12" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb395-13"><a href="#cb395-13" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb373"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb373-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb396"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb396-1"><a href="#cb396-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>A quote from William Shakespeare’s King Lear:</p>
@@ -4988,398 +5253,398 @@ multiple paragraphs</li>
</blockquote>
</blockquote>
<p>The <code>\markdownRendererBlockQuoteEnd</code> macro represents the end of a block quote. The macro receives no arguments.</p>
-<h4 id="code-block-renderers"><span class="header-section-number">2.3.1.15</span> Code Block Renderers</h4>
+<h4 data-number="2.3.1.15" id="code-block-renderers"><span class="header-section-number">2.3.1.15</span> Code Block Renderers</h4>
<p>The <code>\markdownRendererInputVerbatim</code> macro represents a code block. The macro receives a single argument that corresponds to the filename of a file contaning the code block contents.</p>
<p>The <code>\markdownRendererInputFencedCode</code> macro represents a fenced code block. This macro will only be produced, when the <strong><code>fencedCode</code></strong> option is enabled. The macro receives two arguments that correspond to the filename of a file contaning the code block contents and to the code fence infostring.</p>
-<h5 id="latex-example-41" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb374"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb374-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb374-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">verbatim</span>}</a>
-<a class="sourceLine" id="cb374-3" data-line-number="3"><span class="bu">\usepackage</span>[hyphens]{<span class="ex">url</span>}</a>
-<a class="sourceLine" id="cb374-4" data-line-number="4"><span class="bu">\usepackage</span>[fencedCode]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb374-5" data-line-number="5"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb374-6" data-line-number="6"> renderers = {</a>
-<a class="sourceLine" id="cb374-7" data-line-number="7"> interblockSeparator = {</a>
-<a class="sourceLine" id="cb374-8" data-line-number="8"> <span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb374-9" data-line-number="9"> \par</a>
-<a class="sourceLine" id="cb374-10" data-line-number="10"> \def\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb374-11" data-line-number="11"> \def\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb374-12" data-line-number="12"> \par</a>
-<a class="sourceLine" id="cb374-13" data-line-number="13"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb374-14" data-line-number="14"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb374-15" data-line-number="15"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb374-16" data-line-number="16"> },</a>
-<a class="sourceLine" id="cb374-17" data-line-number="17"> inputVerbatim = {</a>
-<a class="sourceLine" id="cb374-18" data-line-number="18"> is contained in file <span class="fu">\url</span>{#1}:<span class="co">%</span></a>
-<a class="sourceLine" id="cb374-19" data-line-number="19"> <span class="fu">\verbatiminput</span>{#1}<span class="co">%</span></a>
-<a class="sourceLine" id="cb374-20" data-line-number="20"> },</a>
-<a class="sourceLine" id="cb374-21" data-line-number="21"> inputFencedCode = {</a>
-<a class="sourceLine" id="cb374-22" data-line-number="22"> in #2 <span class="fu">\markdownRendererInputVerbatim</span>{#1}<span class="co">%</span></a>
-<a class="sourceLine" id="cb374-23" data-line-number="23"> },</a>
-<a class="sourceLine" id="cb374-24" data-line-number="24"> },</a>
-<a class="sourceLine" id="cb374-25" data-line-number="25">}</a>
-<a class="sourceLine" id="cb374-26" data-line-number="26"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb374-27" data-line-number="27"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb374-28" data-line-number="28">The following code</a>
-<a class="sourceLine" id="cb374-29" data-line-number="29"></a>
-<a class="sourceLine" id="cb374-30" data-line-number="30"> def foo(bar):</a>
-<a class="sourceLine" id="cb374-31" data-line-number="31"> if len(bar) &lt;= 1:</a>
-<a class="sourceLine" id="cb374-32" data-line-number="32"> return bar[0]</a>
-<a class="sourceLine" id="cb374-33" data-line-number="33"> elif len(bar) == 2:</a>
-<a class="sourceLine" id="cb374-34" data-line-number="34"> return sorted(bar)</a>
-<a class="sourceLine" id="cb374-35" data-line-number="35"> else:</a>
-<a class="sourceLine" id="cb374-36" data-line-number="36"> baz = len(bar) // 2</a>
-<a class="sourceLine" id="cb374-37" data-line-number="37"> return foo(bar[baz:], bar[:baz])</a>
-<a class="sourceLine" id="cb374-38" data-line-number="38"></a>
-<a class="sourceLine" id="cb374-39" data-line-number="39">The following code</a>
-<a class="sourceLine" id="cb374-40" data-line-number="40"></a>
-<a class="sourceLine" id="cb374-41" data-line-number="41">~~~ Python</a>
-<a class="sourceLine" id="cb374-42" data-line-number="42">&gt;&gt;&gt; foo([4, 2, 1, 3])</a>
-<a class="sourceLine" id="cb374-43" data-line-number="43">[1, 2, 3, 4]</a>
-<a class="sourceLine" id="cb374-44" data-line-number="44">~~~~~~~~~~</a>
-<a class="sourceLine" id="cb374-45" data-line-number="45"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb374-46" data-line-number="46"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb375"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb375-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-46"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb397"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb397-1"><a href="#cb397-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb397-2"><a href="#cb397-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">verbatim</span>}</span>
+<span id="cb397-3"><a href="#cb397-3" aria-hidden="true"></a><span class="bu">\usepackage</span>[hyphens]{<span class="ex">url</span>}</span>
+<span id="cb397-4"><a href="#cb397-4" aria-hidden="true"></a><span class="bu">\usepackage</span>[fencedCode]{<span class="ex">markdown</span>}</span>
+<span id="cb397-5"><a href="#cb397-5" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb397-6"><a href="#cb397-6" aria-hidden="true"></a> renderers = {</span>
+<span id="cb397-7"><a href="#cb397-7" aria-hidden="true"></a> interblockSeparator = {</span>
+<span id="cb397-8"><a href="#cb397-8" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb397-9"><a href="#cb397-9" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb397-10"><a href="#cb397-10" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb397-11"><a href="#cb397-11" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb397-12"><a href="#cb397-12" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb397-13"><a href="#cb397-13" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb397-14"><a href="#cb397-14" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb397-15"><a href="#cb397-15" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb397-16"><a href="#cb397-16" aria-hidden="true"></a> },</span>
+<span id="cb397-17"><a href="#cb397-17" aria-hidden="true"></a> inputVerbatim = {</span>
+<span id="cb397-18"><a href="#cb397-18" aria-hidden="true"></a> is contained in file <span class="fu">\url</span>{#1}:<span class="co">%</span></span>
+<span id="cb397-19"><a href="#cb397-19" aria-hidden="true"></a> <span class="fu">\verbatiminput</span>{#1}<span class="co">%</span></span>
+<span id="cb397-20"><a href="#cb397-20" aria-hidden="true"></a> },</span>
+<span id="cb397-21"><a href="#cb397-21" aria-hidden="true"></a> inputFencedCode = {</span>
+<span id="cb397-22"><a href="#cb397-22" aria-hidden="true"></a> in #2 <span class="fu">\markdownRendererInputVerbatim</span>{#1}<span class="co">%</span></span>
+<span id="cb397-23"><a href="#cb397-23" aria-hidden="true"></a> },</span>
+<span id="cb397-24"><a href="#cb397-24" aria-hidden="true"></a> },</span>
+<span id="cb397-25"><a href="#cb397-25" aria-hidden="true"></a>}</span>
+<span id="cb397-26"><a href="#cb397-26" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb397-27"><a href="#cb397-27" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb397-28"><a href="#cb397-28" aria-hidden="true"></a>The following code</span>
+<span id="cb397-29"><a href="#cb397-29" aria-hidden="true"></a></span>
+<span id="cb397-30"><a href="#cb397-30" aria-hidden="true"></a> def foo(bar):</span>
+<span id="cb397-31"><a href="#cb397-31" aria-hidden="true"></a> if len(bar) &lt;= 1:</span>
+<span id="cb397-32"><a href="#cb397-32" aria-hidden="true"></a> return bar[0]</span>
+<span id="cb397-33"><a href="#cb397-33" aria-hidden="true"></a> elif len(bar) == 2:</span>
+<span id="cb397-34"><a href="#cb397-34" aria-hidden="true"></a> return sorted(bar)</span>
+<span id="cb397-35"><a href="#cb397-35" aria-hidden="true"></a> else:</span>
+<span id="cb397-36"><a href="#cb397-36" aria-hidden="true"></a> baz = len(bar) // 2</span>
+<span id="cb397-37"><a href="#cb397-37" aria-hidden="true"></a> return foo(bar[baz:], bar[:baz])</span>
+<span id="cb397-38"><a href="#cb397-38" aria-hidden="true"></a></span>
+<span id="cb397-39"><a href="#cb397-39" aria-hidden="true"></a>The following code</span>
+<span id="cb397-40"><a href="#cb397-40" aria-hidden="true"></a></span>
+<span id="cb397-41"><a href="#cb397-41" aria-hidden="true"></a>~~~ Python</span>
+<span id="cb397-42"><a href="#cb397-42" aria-hidden="true"></a>&gt;&gt;&gt; foo([4, 2, 1, 3])</span>
+<span id="cb397-43"><a href="#cb397-43" aria-hidden="true"></a>[1, 2, 3, 4]</span>
+<span id="cb397-44"><a href="#cb397-44" aria-hidden="true"></a>~~~~~~~~~~</span>
+<span id="cb397-45"><a href="#cb397-45" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb397-46"><a href="#cb397-46" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb398"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb398-1"><a href="#cb398-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text except for the filename, which may differ:</p>
<blockquote>
<p>The following code is contained in file <code>./_markdown_document/882453149edcf288976647f6fe147ada.verbatim</code>:</p>
-<div class="sourceCode" id="cb376"><pre class="sourceCode py"><code class="sourceCode python"><a class="sourceLine" id="cb376-1" data-line-number="1"><span class="kw">def</span> foo(bar):</a>
-<a class="sourceLine" id="cb376-2" data-line-number="2"> <span class="cf">if</span> <span class="bu">len</span>(bar) <span class="op">&lt;=</span> <span class="dv">1</span>:</a>
-<a class="sourceLine" id="cb376-3" data-line-number="3"> <span class="cf">return</span> bar[:<span class="dv">1</span>]</a>
-<a class="sourceLine" id="cb376-4" data-line-number="4"> <span class="cf">elif</span> <span class="bu">len</span>(bar) <span class="op">==</span> <span class="dv">2</span>:</a>
-<a class="sourceLine" id="cb376-5" data-line-number="5"> <span class="cf">return</span> <span class="bu">sorted</span>(bar)</a>
-<a class="sourceLine" id="cb376-6" data-line-number="6"> <span class="cf">else</span>:</a>
-<a class="sourceLine" id="cb376-7" data-line-number="7"> baz <span class="op">=</span> bar[<span class="bu">len</span>(bar) <span class="op">//</span> <span class="dv">2</span>]</a>
-<a class="sourceLine" id="cb376-8" data-line-number="8"> <span class="cf">return</span> (</a>
-<a class="sourceLine" id="cb376-9" data-line-number="9"> foo([qux <span class="cf">for</span> qux <span class="kw">in</span> bar <span class="cf">if</span> qux <span class="op">&lt;</span> baz]) <span class="op">+</span> [baz] <span class="op">+</span></a>
-<a class="sourceLine" id="cb376-10" data-line-number="10"> foo([qux <span class="cf">for</span> qux <span class="kw">in</span> bar <span class="cf">if</span> qux <span class="op">&gt;</span> baz])</a>
-<a class="sourceLine" id="cb376-11" data-line-number="11"> )</a></code></pre></div>
+<div class="sourceCode" id="cb399"><pre class="sourceCode py"><code class="sourceCode python"><span id="cb399-1"><a href="#cb399-1" aria-hidden="true"></a><span class="kw">def</span> foo(bar):</span>
+<span id="cb399-2"><a href="#cb399-2" aria-hidden="true"></a> <span class="cf">if</span> <span class="bu">len</span>(bar) <span class="op">&lt;=</span> <span class="dv">1</span>:</span>
+<span id="cb399-3"><a href="#cb399-3" aria-hidden="true"></a> <span class="cf">return</span> bar[:<span class="dv">1</span>]</span>
+<span id="cb399-4"><a href="#cb399-4" aria-hidden="true"></a> <span class="cf">elif</span> <span class="bu">len</span>(bar) <span class="op">==</span> <span class="dv">2</span>:</span>
+<span id="cb399-5"><a href="#cb399-5" aria-hidden="true"></a> <span class="cf">return</span> <span class="bu">sorted</span>(bar)</span>
+<span id="cb399-6"><a href="#cb399-6" aria-hidden="true"></a> <span class="cf">else</span>:</span>
+<span id="cb399-7"><a href="#cb399-7" aria-hidden="true"></a> baz <span class="op">=</span> bar[<span class="bu">len</span>(bar) <span class="op">//</span> <span class="dv">2</span>]</span>
+<span id="cb399-8"><a href="#cb399-8" aria-hidden="true"></a> <span class="cf">return</span> (</span>
+<span id="cb399-9"><a href="#cb399-9" aria-hidden="true"></a> foo([qux <span class="cf">for</span> qux <span class="kw">in</span> bar <span class="cf">if</span> qux <span class="op">&lt;</span> baz]) <span class="op">+</span> [baz] <span class="op">+</span></span>
+<span id="cb399-10"><a href="#cb399-10" aria-hidden="true"></a> foo([qux <span class="cf">for</span> qux <span class="kw">in</span> bar <span class="cf">if</span> qux <span class="op">&gt;</span> baz])</span>
+<span id="cb399-11"><a href="#cb399-11" aria-hidden="true"></a> )</span></code></pre></div>
<p>The following code in Python contained in file <code>./_markdown_document/cf2a96e2120cef5b1fae5fea36fcc27b.verbatim</code>:</p>
-<div class="sourceCode" id="cb377"><pre class="sourceCode py"><code class="sourceCode python"><a class="sourceLine" id="cb377-1" data-line-number="1"><span class="op">&gt;&gt;&gt;</span> foo([<span class="dv">4</span>, <span class="dv">2</span>, <span class="dv">1</span>, <span class="dv">3</span>])</a>
-<a class="sourceLine" id="cb377-2" data-line-number="2">[<span class="dv">1</span>, <span class="dv">2</span>, <span class="dv">3</span>, <span class="dv">4</span>]</a></code></pre></div>
+<div class="sourceCode" id="cb400"><pre class="sourceCode py"><code class="sourceCode python"><span id="cb400-1"><a href="#cb400-1" aria-hidden="true"></a><span class="op">&gt;&gt;&gt;</span> foo([<span class="dv">4</span>, <span class="dv">2</span>, <span class="dv">1</span>, <span class="dv">3</span>])</span>
+<span id="cb400-2"><a href="#cb400-2" aria-hidden="true"></a>[<span class="dv">1</span>, <span class="dv">2</span>, <span class="dv">3</span>, <span class="dv">4</span>]</span></code></pre></div>
</blockquote>
-<h4 id="heading-renderers"><span class="header-section-number">2.3.1.16</span> Heading Renderers</h4>
+<h4 data-number="2.3.1.16" id="heading-renderers"><span class="header-section-number">2.3.1.16</span> Heading Renderers</h4>
<p>The <code>\markdownRendererHeadingOne</code> macro represents a first level heading. The macro receives a single argument that corresponds to the heading text.</p>
<p>The <code>\markdownRendererHeadingTwo</code> macro represents a second level heading. The macro receives a single argument that corresponds to the heading text.</p>
<p>The <code>\markdownRendererHeadingThree</code> macro represents a third level heading. The macro receives a single argument that corresponds to the heading text.</p>
<p>The <code>\markdownRendererHeadingFour</code> macro represents a fourth level heading. The macro receives a single argument that corresponds to the heading text.</p>
<p>The <code>\markdownRendererHeadingFive</code> macro represents a fifth level heading. The macro receives a single argument that corresponds to the heading text.</p>
<p>The <code>\markdownRendererHeadingSix</code> macro represents a sixth level heading. The macro receives a single argument that corresponds to the heading text.</p>
-<h5 id="plain-tex-example-26" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb378"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb378-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb378-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererInterblockSeparator{}</a>
-<a class="sourceLine" id="cb378-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererHeadingOne{1}</a>
-<a class="sourceLine" id="cb378-4" data-line-number="4"><span class="fu">\def</span>\markdownRendererHeadingTwo{2}</a>
-<a class="sourceLine" id="cb378-5" data-line-number="5"><span class="fu">\def</span>\markdownRendererHeadingThree{3}</a>
-<a class="sourceLine" id="cb378-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererHeadingFour{4}</a>
-<a class="sourceLine" id="cb378-7" data-line-number="7"><span class="fu">\def</span>\markdownRendererHeadingFive{5}</a>
-<a class="sourceLine" id="cb378-8" data-line-number="8"><span class="fu">\def</span>\markdownRendererHeadingSix{6}</a>
-<a class="sourceLine" id="cb378-9" data-line-number="9"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb378-10" data-line-number="10">######</a>
-<a class="sourceLine" id="cb378-11" data-line-number="11">#####</a>
-<a class="sourceLine" id="cb378-12" data-line-number="12">#####</a>
-<a class="sourceLine" id="cb378-13" data-line-number="13">###</a>
-<a class="sourceLine" id="cb378-14" data-line-number="14">######</a>
-<a class="sourceLine" id="cb378-15" data-line-number="15"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb378-16" data-line-number="16"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb379"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb379-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-28">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb401"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb401-1"><a href="#cb401-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb401-2"><a href="#cb401-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{}</span>
+<span id="cb401-3"><a href="#cb401-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingOne</span>{1}</span>
+<span id="cb401-4"><a href="#cb401-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingTwo</span>{2}</span>
+<span id="cb401-5"><a href="#cb401-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingThree</span>{3}</span>
+<span id="cb401-6"><a href="#cb401-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingFour</span>{4}</span>
+<span id="cb401-7"><a href="#cb401-7" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingFive</span>{5}</span>
+<span id="cb401-8"><a href="#cb401-8" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingSix</span>{6}</span>
+<span id="cb401-9"><a href="#cb401-9" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb401-10"><a href="#cb401-10" aria-hidden="true"></a>######</span>
+<span id="cb401-11"><a href="#cb401-11" aria-hidden="true"></a>#####</span>
+<span id="cb401-12"><a href="#cb401-12" aria-hidden="true"></a>#####</span>
+<span id="cb401-13"><a href="#cb401-13" aria-hidden="true"></a>###</span>
+<span id="cb401-14"><a href="#cb401-14" aria-hidden="true"></a>######</span>
+<span id="cb401-15"><a href="#cb401-15" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb401-16"><a href="#cb401-16" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb402"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb402-1"><a href="#cb402-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>65536</p>
</blockquote>
-<h5 id="latex-example-42" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb380"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb380-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb380-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb380-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb380-4" data-line-number="4"> renderers = {</a>
-<a class="sourceLine" id="cb380-5" data-line-number="5"> interblockSeparator = {},</a>
-<a class="sourceLine" id="cb380-6" data-line-number="6"> headingOne = 1,</a>
-<a class="sourceLine" id="cb380-7" data-line-number="7"> headingTwo = 2,</a>
-<a class="sourceLine" id="cb380-8" data-line-number="8"> headingThree = 3,</a>
-<a class="sourceLine" id="cb380-9" data-line-number="9"> headingFour = 4,</a>
-<a class="sourceLine" id="cb380-10" data-line-number="10"> headingFive = 5,</a>
-<a class="sourceLine" id="cb380-11" data-line-number="11"> headingSix = 6,</a>
-<a class="sourceLine" id="cb380-12" data-line-number="12"> },</a>
-<a class="sourceLine" id="cb380-13" data-line-number="13">}</a>
-<a class="sourceLine" id="cb380-14" data-line-number="14"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb380-15" data-line-number="15"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb380-16" data-line-number="16">######</a>
-<a class="sourceLine" id="cb380-17" data-line-number="17">#####</a>
-<a class="sourceLine" id="cb380-18" data-line-number="18">#####</a>
-<a class="sourceLine" id="cb380-19" data-line-number="19">###</a>
-<a class="sourceLine" id="cb380-20" data-line-number="20">######</a>
-<a class="sourceLine" id="cb380-21" data-line-number="21"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb380-22" data-line-number="22"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb381"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb381-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-47"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb403"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb403-1"><a href="#cb403-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb403-2"><a href="#cb403-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb403-3"><a href="#cb403-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb403-4"><a href="#cb403-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb403-5"><a href="#cb403-5" aria-hidden="true"></a> interblockSeparator = {},</span>
+<span id="cb403-6"><a href="#cb403-6" aria-hidden="true"></a> headingOne = 1,</span>
+<span id="cb403-7"><a href="#cb403-7" aria-hidden="true"></a> headingTwo = 2,</span>
+<span id="cb403-8"><a href="#cb403-8" aria-hidden="true"></a> headingThree = 3,</span>
+<span id="cb403-9"><a href="#cb403-9" aria-hidden="true"></a> headingFour = 4,</span>
+<span id="cb403-10"><a href="#cb403-10" aria-hidden="true"></a> headingFive = 5,</span>
+<span id="cb403-11"><a href="#cb403-11" aria-hidden="true"></a> headingSix = 6,</span>
+<span id="cb403-12"><a href="#cb403-12" aria-hidden="true"></a> },</span>
+<span id="cb403-13"><a href="#cb403-13" aria-hidden="true"></a>}</span>
+<span id="cb403-14"><a href="#cb403-14" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb403-15"><a href="#cb403-15" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb403-16"><a href="#cb403-16" aria-hidden="true"></a>######</span>
+<span id="cb403-17"><a href="#cb403-17" aria-hidden="true"></a>#####</span>
+<span id="cb403-18"><a href="#cb403-18" aria-hidden="true"></a>#####</span>
+<span id="cb403-19"><a href="#cb403-19" aria-hidden="true"></a>###</span>
+<span id="cb403-20"><a href="#cb403-20" aria-hidden="true"></a>######</span>
+<span id="cb403-21"><a href="#cb403-21" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb403-22"><a href="#cb403-22" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb404"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb404-1"><a href="#cb404-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>65536</p>
</blockquote>
-<h5 id="context-example-36" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb382"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb382-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb382-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererInterblockSeparator{}</a>
-<a class="sourceLine" id="cb382-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererHeadingOne{1}</a>
-<a class="sourceLine" id="cb382-4" data-line-number="4"><span class="fu">\def</span>\markdownRendererHeadingTwo{2}</a>
-<a class="sourceLine" id="cb382-5" data-line-number="5"><span class="fu">\def</span>\markdownRendererHeadingThree{3}</a>
-<a class="sourceLine" id="cb382-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererHeadingFour{4}</a>
-<a class="sourceLine" id="cb382-7" data-line-number="7"><span class="fu">\def</span>\markdownRendererHeadingFive{5}</a>
-<a class="sourceLine" id="cb382-8" data-line-number="8"><span class="fu">\def</span>\markdownRendererHeadingSix{6}</a>
-<a class="sourceLine" id="cb382-9" data-line-number="9"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb382-10" data-line-number="10"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb382-11" data-line-number="11">######</a>
-<a class="sourceLine" id="cb382-12" data-line-number="12">#####</a>
-<a class="sourceLine" id="cb382-13" data-line-number="13">#####</a>
-<a class="sourceLine" id="cb382-14" data-line-number="14">###</a>
-<a class="sourceLine" id="cb382-15" data-line-number="15">######</a>
-<a class="sourceLine" id="cb382-16" data-line-number="16"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb382-17" data-line-number="17"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb383"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb383-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-38">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb405"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb405-1"><a href="#cb405-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb405-2"><a href="#cb405-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{}</span>
+<span id="cb405-3"><a href="#cb405-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingOne</span>{1}</span>
+<span id="cb405-4"><a href="#cb405-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingTwo</span>{2}</span>
+<span id="cb405-5"><a href="#cb405-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingThree</span>{3}</span>
+<span id="cb405-6"><a href="#cb405-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingFour</span>{4}</span>
+<span id="cb405-7"><a href="#cb405-7" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingFive</span>{5}</span>
+<span id="cb405-8"><a href="#cb405-8" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingSix</span>{6}</span>
+<span id="cb405-9"><a href="#cb405-9" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb405-10"><a href="#cb405-10" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb405-11"><a href="#cb405-11" aria-hidden="true"></a>######</span>
+<span id="cb405-12"><a href="#cb405-12" aria-hidden="true"></a>#####</span>
+<span id="cb405-13"><a href="#cb405-13" aria-hidden="true"></a>#####</span>
+<span id="cb405-14"><a href="#cb405-14" aria-hidden="true"></a>###</span>
+<span id="cb405-15"><a href="#cb405-15" aria-hidden="true"></a>######</span>
+<span id="cb405-16"><a href="#cb405-16" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb405-17"><a href="#cb405-17" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb406"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb406-1"><a href="#cb406-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>65536</p>
</blockquote>
-<h4 id="horizontal-rule-renderer"><span class="header-section-number">2.3.1.17</span> Horizontal Rule Renderer</h4>
+<h4 data-number="2.3.1.17" id="horizontal-rule-renderer"><span class="header-section-number">2.3.1.17</span> Horizontal Rule Renderer</h4>
<p>The <code>\markdownRendererHorizontalRule</code> macro represents a horizontal rule. The macro receives no arguments.</p>
-<h5 id="plain-tex-example-27" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb384"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb384-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb384-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererHorizontalRule{\vfil\break}</a>
-<a class="sourceLine" id="cb384-3" data-line-number="3"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb384-4" data-line-number="4">This is the first page.</a>
-<a class="sourceLine" id="cb384-5" data-line-number="5"></a>
-<a class="sourceLine" id="cb384-6" data-line-number="6">***</a>
-<a class="sourceLine" id="cb384-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb384-8" data-line-number="8">This is the second page.</a>
-<a class="sourceLine" id="cb384-9" data-line-number="9"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb384-10" data-line-number="10"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb385"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb385-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-29">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb407"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb407-1"><a href="#cb407-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb407-2"><a href="#cb407-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererHorizontalRule</span>{<span class="fu">\vfil\break</span>}</span>
+<span id="cb407-3"><a href="#cb407-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb407-4"><a href="#cb407-4" aria-hidden="true"></a>This is the first page.</span>
+<span id="cb407-5"><a href="#cb407-5" aria-hidden="true"></a></span>
+<span id="cb407-6"><a href="#cb407-6" aria-hidden="true"></a>***</span>
+<span id="cb407-7"><a href="#cb407-7" aria-hidden="true"></a></span>
+<span id="cb407-8"><a href="#cb407-8" aria-hidden="true"></a>This is the second page.</span>
+<span id="cb407-9"><a href="#cb407-9" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb407-10"><a href="#cb407-10" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb408"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb408-1"><a href="#cb408-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is the first page.</p>
<hr />
<p>This is the second page.</p>
</blockquote>
-<h5 id="latex-example-43" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb386"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb386-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb386-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb386-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb386-4" data-line-number="4"> renderers = {</a>
-<a class="sourceLine" id="cb386-5" data-line-number="5"> horizontalRule = <span class="fu">\newpage</span>,</a>
-<a class="sourceLine" id="cb386-6" data-line-number="6"> },</a>
-<a class="sourceLine" id="cb386-7" data-line-number="7">}</a>
-<a class="sourceLine" id="cb386-8" data-line-number="8"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb386-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb386-10" data-line-number="10">This is the first page.</a>
-<a class="sourceLine" id="cb386-11" data-line-number="11"></a>
-<a class="sourceLine" id="cb386-12" data-line-number="12">***</a>
-<a class="sourceLine" id="cb386-13" data-line-number="13"></a>
-<a class="sourceLine" id="cb386-14" data-line-number="14">This is the second page.</a>
-<a class="sourceLine" id="cb386-15" data-line-number="15"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb386-16" data-line-number="16"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb387"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb387-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-48"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb409"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb409-1"><a href="#cb409-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb409-2"><a href="#cb409-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb409-3"><a href="#cb409-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb409-4"><a href="#cb409-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb409-5"><a href="#cb409-5" aria-hidden="true"></a> horizontalRule = <span class="fu">\newpage</span>,</span>
+<span id="cb409-6"><a href="#cb409-6" aria-hidden="true"></a> },</span>
+<span id="cb409-7"><a href="#cb409-7" aria-hidden="true"></a>}</span>
+<span id="cb409-8"><a href="#cb409-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb409-9"><a href="#cb409-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb409-10"><a href="#cb409-10" aria-hidden="true"></a>This is the first page.</span>
+<span id="cb409-11"><a href="#cb409-11" aria-hidden="true"></a></span>
+<span id="cb409-12"><a href="#cb409-12" aria-hidden="true"></a>***</span>
+<span id="cb409-13"><a href="#cb409-13" aria-hidden="true"></a></span>
+<span id="cb409-14"><a href="#cb409-14" aria-hidden="true"></a>This is the second page.</span>
+<span id="cb409-15"><a href="#cb409-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb409-16"><a href="#cb409-16" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb410"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb410-1"><a href="#cb410-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is the first page.</p>
<hr />
<p>This is the second page.</p>
</blockquote>
-<h5 id="context-example-37" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb388"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb388-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb388-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererHorizontalRule{\page[yes]}</a>
-<a class="sourceLine" id="cb388-3" data-line-number="3"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb388-4" data-line-number="4"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb388-5" data-line-number="5">This is the first page.</a>
-<a class="sourceLine" id="cb388-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb388-7" data-line-number="7">***</a>
-<a class="sourceLine" id="cb388-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb388-9" data-line-number="9">This is the second page.</a>
-<a class="sourceLine" id="cb388-10" data-line-number="10"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb388-11" data-line-number="11"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb389"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb389-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-39">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb411"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb411-1"><a href="#cb411-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb411-2"><a href="#cb411-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererHorizontalRule</span>{<span class="fu">\page</span>[yes]}</span>
+<span id="cb411-3"><a href="#cb411-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb411-4"><a href="#cb411-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb411-5"><a href="#cb411-5" aria-hidden="true"></a>This is the first page.</span>
+<span id="cb411-6"><a href="#cb411-6" aria-hidden="true"></a></span>
+<span id="cb411-7"><a href="#cb411-7" aria-hidden="true"></a>***</span>
+<span id="cb411-8"><a href="#cb411-8" aria-hidden="true"></a></span>
+<span id="cb411-9"><a href="#cb411-9" aria-hidden="true"></a>This is the second page.</span>
+<span id="cb411-10"><a href="#cb411-10" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb411-11"><a href="#cb411-11" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb412"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb412-1"><a href="#cb412-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is the first page.</p>
<hr />
<p>This is the second page.</p>
</blockquote>
-<h4 id="footnote-renderer"><span class="header-section-number">2.3.1.18</span> Footnote Renderer</h4>
+<h4 data-number="2.3.1.18" id="footnote-renderer"><span class="header-section-number">2.3.1.18</span> Footnote Renderer</h4>
<p>The <code>\markdownRendererFootnote</code> macro represents a footnote. This macro will only be produced, when the <strong><code>footnotes</code></strong> option is enabled. The macro receives a single argument that corresponds to the footnote text.</p>
-<h5 id="plain-tex-example-28" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb390"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb390-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb390-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionFootnotes{true}</a>
-<a class="sourceLine" id="cb390-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererFootnote#1{ (and \lowercase{#1})}</a>
-<a class="sourceLine" id="cb390-4" data-line-number="4"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb390-5" data-line-number="5">This is some text[^1] and this is some other text[^2].</a>
-<a class="sourceLine" id="cb390-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb390-7" data-line-number="7"> [^1]: this is a footnote</a>
-<a class="sourceLine" id="cb390-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb390-9" data-line-number="9"> [^2]: this is some other footnote</a>
-<a class="sourceLine" id="cb390-10" data-line-number="10"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb390-11" data-line-number="11"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb391"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb391-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-30">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb413"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb413-1"><a href="#cb413-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb413-2"><a href="#cb413-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFootnotes</span>{true}</span>
+<span id="cb413-3"><a href="#cb413-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererFootnote</span>#1{ (and <span class="fu">\lowercase</span>{#1})}</span>
+<span id="cb413-4"><a href="#cb413-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb413-5"><a href="#cb413-5" aria-hidden="true"></a>This is some text[^1] and this is some other text[^2].</span>
+<span id="cb413-6"><a href="#cb413-6" aria-hidden="true"></a></span>
+<span id="cb413-7"><a href="#cb413-7" aria-hidden="true"></a> [^1]: this is a footnote</span>
+<span id="cb413-8"><a href="#cb413-8" aria-hidden="true"></a></span>
+<span id="cb413-9"><a href="#cb413-9" aria-hidden="true"></a> [^2]: this is some other footnote</span>
+<span id="cb413-10"><a href="#cb413-10" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb413-11"><a href="#cb413-11" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb414"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb414-1"><a href="#cb414-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is some text (and this is a footnote) and this is some other text (and this is some other footnote).</p>
</blockquote>
-<h5 id="latex-example-44" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb392"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb392-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb392-2" data-line-number="2"><span class="bu">\usepackage</span>[footnotes]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb392-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb392-4" data-line-number="4"> renderers = {</a>
-<a class="sourceLine" id="cb392-5" data-line-number="5"> footnote = { (and <span class="fu">\MakeLowercase</span>{#1})},</a>
-<a class="sourceLine" id="cb392-6" data-line-number="6"> },</a>
-<a class="sourceLine" id="cb392-7" data-line-number="7">}</a>
-<a class="sourceLine" id="cb392-8" data-line-number="8"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb392-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb392-10" data-line-number="10">This is some text[^1] and this is some other text[^2].</a>
-<a class="sourceLine" id="cb392-11" data-line-number="11"></a>
-<a class="sourceLine" id="cb392-12" data-line-number="12"> [^1]: this is a footnote</a>
-<a class="sourceLine" id="cb392-13" data-line-number="13"></a>
-<a class="sourceLine" id="cb392-14" data-line-number="14"> [^2]: this is some other footnote</a>
-<a class="sourceLine" id="cb392-15" data-line-number="15"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb392-16" data-line-number="16"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb393"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb393-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-49"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb415"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb415-1"><a href="#cb415-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb415-2"><a href="#cb415-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[footnotes]{<span class="ex">markdown</span>}</span>
+<span id="cb415-3"><a href="#cb415-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb415-4"><a href="#cb415-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb415-5"><a href="#cb415-5" aria-hidden="true"></a> footnote = { (and <span class="fu">\MakeLowercase</span>{#1})},</span>
+<span id="cb415-6"><a href="#cb415-6" aria-hidden="true"></a> },</span>
+<span id="cb415-7"><a href="#cb415-7" aria-hidden="true"></a>}</span>
+<span id="cb415-8"><a href="#cb415-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb415-9"><a href="#cb415-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb415-10"><a href="#cb415-10" aria-hidden="true"></a>This is some text[^1] and this is some other text[^2].</span>
+<span id="cb415-11"><a href="#cb415-11" aria-hidden="true"></a></span>
+<span id="cb415-12"><a href="#cb415-12" aria-hidden="true"></a> [^1]: this is a footnote</span>
+<span id="cb415-13"><a href="#cb415-13" aria-hidden="true"></a></span>
+<span id="cb415-14"><a href="#cb415-14" aria-hidden="true"></a> [^2]: this is some other footnote</span>
+<span id="cb415-15"><a href="#cb415-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb415-16"><a href="#cb415-16" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb416"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb416-1"><a href="#cb416-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is some text (and this is a footnote) and this is some other text (and this is some other footnote).</p>
</blockquote>
-<h5 id="context-example-38" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb394"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb394-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb394-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionFootnotes{true}</a>
-<a class="sourceLine" id="cb394-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererFootnote#1{ (and \lowercase{#1})}</a>
-<a class="sourceLine" id="cb394-4" data-line-number="4"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb394-5" data-line-number="5"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb394-6" data-line-number="6">This is some text[^1] and this is some other text[^2].</a>
-<a class="sourceLine" id="cb394-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb394-8" data-line-number="8"> [^1]: this is a footnote</a>
-<a class="sourceLine" id="cb394-9" data-line-number="9"></a>
-<a class="sourceLine" id="cb394-10" data-line-number="10"> [^2]: this is some other footnote</a>
-<a class="sourceLine" id="cb394-11" data-line-number="11"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb394-12" data-line-number="12"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb395"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb395-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-40">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb417"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb417-1"><a href="#cb417-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb417-2"><a href="#cb417-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFootnotes</span>{true}</span>
+<span id="cb417-3"><a href="#cb417-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererFootnote</span>#1{ (and <span class="fu">\lowercase</span>{#1})}</span>
+<span id="cb417-4"><a href="#cb417-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb417-5"><a href="#cb417-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb417-6"><a href="#cb417-6" aria-hidden="true"></a>This is some text[^1] and this is some other text[^2].</span>
+<span id="cb417-7"><a href="#cb417-7" aria-hidden="true"></a></span>
+<span id="cb417-8"><a href="#cb417-8" aria-hidden="true"></a> [^1]: this is a footnote</span>
+<span id="cb417-9"><a href="#cb417-9" aria-hidden="true"></a></span>
+<span id="cb417-10"><a href="#cb417-10" aria-hidden="true"></a> [^2]: this is some other footnote</span>
+<span id="cb417-11"><a href="#cb417-11" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb417-12"><a href="#cb417-12" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb418"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb418-1"><a href="#cb418-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is some text (and this is a footnote) and this is some other text (and this is some other footnote).</p>
</blockquote>
-<h4 id="parenthesized-citations-renderer"><span class="header-section-number">2.3.1.19</span> Parenthesized Citations Renderer</h4>
+<h4 data-number="2.3.1.19" id="parenthesized-citations-renderer"><span class="header-section-number">2.3.1.19</span> Parenthesized Citations Renderer</h4>
<p>The <code>\markdownRendererCite</code> macro represents a string of one or more parenthetical citations. This macro will only be produced, when the <strong><code>citations</code></strong> option is enabled. The macro receives the parameter <code>{</code>⟨<em>number of citations</em>⟩<code>}</code> followed by ⟨<em>suppress author</em>⟩ <code>{</code>⟨<em>prenote</em>⟩<code>}{</code>⟨<em>postnote</em>⟩<code>}{</code>⟨<em>name</em>⟩<code>}</code> repeated ⟨<em>number of citations</em>⟩ times. The ⟨<em>suppress author</em>⟩ parameter is either the token <code>-</code>, when the author’s name is to be suppressed, or <code>+</code> otherwise.</p>
-<h5 id="latex-example-45" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb396"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb396-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb396-2" data-line-number="2"><span class="bu">\usepackage</span>[citations]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb396-3" data-line-number="3"><span class="fu">\newcount\citationsCounter</span></a>
-<a class="sourceLine" id="cb396-4" data-line-number="4"><span class="fu">\newcount\citationsTotal</span></a>
-<a class="sourceLine" id="cb396-5" data-line-number="5"><span class="fu">\makeatletter</span></a>
-<a class="sourceLine" id="cb396-6" data-line-number="6"><span class="fu">\def</span>\citations#1#2#3#4{<span class="co">%</span></a>
-<a class="sourceLine" id="cb396-7" data-line-number="7"> a parenthesized citation \emph{#4}</a>
-<a class="sourceLine" id="cb396-8" data-line-number="8"> \advance\citationsCounter by 1\relax</a>
-<a class="sourceLine" id="cb396-9" data-line-number="9"> \ifx\relax#2\relax</a>
-<a class="sourceLine" id="cb396-10" data-line-number="10"> \ifx\relax#3\relax\else</a>
-<a class="sourceLine" id="cb396-11" data-line-number="11"> with a postfix \emph{#3}<span class="co">%</span></a>
-<a class="sourceLine" id="cb396-12" data-line-number="12"> \fi</a>
-<a class="sourceLine" id="cb396-13" data-line-number="13"> \else</a>
-<a class="sourceLine" id="cb396-14" data-line-number="14"> with a prefix \emph{#2}<span class="co">%</span></a>
-<a class="sourceLine" id="cb396-15" data-line-number="15"> \ifx\relax#3\relax\else</a>
-<a class="sourceLine" id="cb396-16" data-line-number="16"> \ and a postfix \emph{#3}<span class="co">%</span></a>
-<a class="sourceLine" id="cb396-17" data-line-number="17"> \fi</a>
-<a class="sourceLine" id="cb396-18" data-line-number="18"> \fi</a>
-<a class="sourceLine" id="cb396-19" data-line-number="19"> \ifnum\citationsCounter&gt;\citationsTotal\relax</a>
-<a class="sourceLine" id="cb396-20" data-line-number="20"> .<span class="co">%</span></a>
-<a class="sourceLine" id="cb396-21" data-line-number="21"> \expandafter\@gobble</a>
-<a class="sourceLine" id="cb396-22" data-line-number="22"> \else</a>
-<a class="sourceLine" id="cb396-23" data-line-number="23"> , and</a>
-<a class="sourceLine" id="cb396-24" data-line-number="24"> \fi\citations}</a>
-<a class="sourceLine" id="cb396-25" data-line-number="25"><span class="fu">\makeatother</span></a>
-<a class="sourceLine" id="cb396-26" data-line-number="26"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb396-27" data-line-number="27"> renderers = {</a>
-<a class="sourceLine" id="cb396-28" data-line-number="28"> cite = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb396-29" data-line-number="29"> <span class="fu">\citationsCounter</span>=1<span class="co">%</span></a>
-<a class="sourceLine" id="cb396-30" data-line-number="30"> <span class="fu">\citationsTotal</span>=#1<span class="co">%</span></a>
-<a class="sourceLine" id="cb396-31" data-line-number="31"> This is</a>
-<a class="sourceLine" id="cb396-32" data-line-number="32"> <span class="fu">\expandafter\citations</span></a>
-<a class="sourceLine" id="cb396-33" data-line-number="33"> },</a>
-<a class="sourceLine" id="cb396-34" data-line-number="34"> },</a>
-<a class="sourceLine" id="cb396-35" data-line-number="35">}</a>
-<a class="sourceLine" id="cb396-36" data-line-number="36"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb396-37" data-line-number="37"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb396-38" data-line-number="38">[see @abrahams90, pp. 12; @eijkhout91, pp. 34]</a>
-<a class="sourceLine" id="cb396-39" data-line-number="39"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb396-40" data-line-number="40"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb397"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb397-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-50"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb419"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb419-1"><a href="#cb419-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb419-2"><a href="#cb419-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[citations]{<span class="ex">markdown</span>}</span>
+<span id="cb419-3"><a href="#cb419-3" aria-hidden="true"></a><span class="fu">\newcount\citationsCounter</span></span>
+<span id="cb419-4"><a href="#cb419-4" aria-hidden="true"></a><span class="fu">\newcount\citationsTotal</span></span>
+<span id="cb419-5"><a href="#cb419-5" aria-hidden="true"></a><span class="fu">\makeatletter</span></span>
+<span id="cb419-6"><a href="#cb419-6" aria-hidden="true"></a><span class="fu">\def\citations</span>#1#2#3#4{<span class="co">%</span></span>
+<span id="cb419-7"><a href="#cb419-7" aria-hidden="true"></a> a parenthesized citation <span class="fu">\emph</span>{#4}</span>
+<span id="cb419-8"><a href="#cb419-8" aria-hidden="true"></a> <span class="fu">\advance\citationsCounter</span> by 1<span class="fu">\relax</span></span>
+<span id="cb419-9"><a href="#cb419-9" aria-hidden="true"></a> <span class="fu">\ifx\relax</span>#2<span class="fu">\relax</span></span>
+<span id="cb419-10"><a href="#cb419-10" aria-hidden="true"></a> <span class="fu">\ifx\relax</span>#3<span class="fu">\relax\else</span></span>
+<span id="cb419-11"><a href="#cb419-11" aria-hidden="true"></a> with a postfix <span class="fu">\emph</span>{#3}<span class="co">%</span></span>
+<span id="cb419-12"><a href="#cb419-12" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb419-13"><a href="#cb419-13" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb419-14"><a href="#cb419-14" aria-hidden="true"></a> with a prefix <span class="fu">\emph</span>{#2}<span class="co">%</span></span>
+<span id="cb419-15"><a href="#cb419-15" aria-hidden="true"></a> <span class="fu">\ifx\relax</span>#3<span class="fu">\relax\else</span></span>
+<span id="cb419-16"><a href="#cb419-16" aria-hidden="true"></a> <span class="fu">\ </span>and a postfix <span class="fu">\emph</span>{#3}<span class="co">%</span></span>
+<span id="cb419-17"><a href="#cb419-17" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb419-18"><a href="#cb419-18" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb419-19"><a href="#cb419-19" aria-hidden="true"></a> <span class="fu">\ifnum\citationsCounter</span>&gt;<span class="fu">\citationsTotal\relax</span></span>
+<span id="cb419-20"><a href="#cb419-20" aria-hidden="true"></a> .<span class="co">%</span></span>
+<span id="cb419-21"><a href="#cb419-21" aria-hidden="true"></a> <span class="fu">\expandafter\@gobble</span></span>
+<span id="cb419-22"><a href="#cb419-22" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb419-23"><a href="#cb419-23" aria-hidden="true"></a> , and</span>
+<span id="cb419-24"><a href="#cb419-24" aria-hidden="true"></a> <span class="fu">\fi\citations</span>}</span>
+<span id="cb419-25"><a href="#cb419-25" aria-hidden="true"></a><span class="fu">\makeatother</span></span>
+<span id="cb419-26"><a href="#cb419-26" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb419-27"><a href="#cb419-27" aria-hidden="true"></a> renderers = {</span>
+<span id="cb419-28"><a href="#cb419-28" aria-hidden="true"></a> cite = {<span class="co">%</span></span>
+<span id="cb419-29"><a href="#cb419-29" aria-hidden="true"></a> <span class="fu">\citationsCounter</span>=1<span class="co">%</span></span>
+<span id="cb419-30"><a href="#cb419-30" aria-hidden="true"></a> <span class="fu">\citationsTotal</span>=#1<span class="co">%</span></span>
+<span id="cb419-31"><a href="#cb419-31" aria-hidden="true"></a> This is</span>
+<span id="cb419-32"><a href="#cb419-32" aria-hidden="true"></a> <span class="fu">\expandafter\citations</span></span>
+<span id="cb419-33"><a href="#cb419-33" aria-hidden="true"></a> },</span>
+<span id="cb419-34"><a href="#cb419-34" aria-hidden="true"></a> },</span>
+<span id="cb419-35"><a href="#cb419-35" aria-hidden="true"></a>}</span>
+<span id="cb419-36"><a href="#cb419-36" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb419-37"><a href="#cb419-37" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb419-38"><a href="#cb419-38" aria-hidden="true"></a>[see @abrahams90, pp. 12; @eijkhout91, pp. 34]</span>
+<span id="cb419-39"><a href="#cb419-39" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb419-40"><a href="#cb419-40" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb420"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb420-1"><a href="#cb420-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
-<p>This is a parenthesized citation <em>abrahams90</em> with a prefix see and a postfix <em>pp. &gt; 12</em>, and a citation <em>eijkhout91</em> with a postfix <em>pp. 34</em>.</p>
+<p>This is a parenthesized citation <em>abrahams90</em> with a prefix see and a postfix <em>pp. 12</em>, and a citation <em>eijkhout91</em> with a postfix <em>pp. 34</em>.</p>
</blockquote>
-<h4 id="text-citations-renderer"><span class="header-section-number">2.3.1.20</span> Text Citations Renderer</h4>
+<h4 data-number="2.3.1.20" id="text-citations-renderer"><span class="header-section-number">2.3.1.20</span> Text Citations Renderer</h4>
<p>The <code>\markdownRendererTextCite</code> macro represents a string of one or more text citations. This macro will only be produced, when the <strong><code>citations</code></strong> option is enabled. The macro receives parameters in the same format as the <code>\markdownRendererCite</code> macro.</p>
-<h5 id="latex-example-46" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb398"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb398-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb398-2" data-line-number="2"><span class="bu">\usepackage</span>[citations]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb398-3" data-line-number="3"><span class="fu">\newcount\citationsCounter</span></a>
-<a class="sourceLine" id="cb398-4" data-line-number="4"><span class="fu">\newcount\citationsTotal</span></a>
-<a class="sourceLine" id="cb398-5" data-line-number="5"><span class="fu">\makeatletter</span></a>
-<a class="sourceLine" id="cb398-6" data-line-number="6"><span class="fu">\def</span>\citations#1#2#3#4{<span class="co">%</span></a>
-<a class="sourceLine" id="cb398-7" data-line-number="7"> a text citation \emph{#4}</a>
-<a class="sourceLine" id="cb398-8" data-line-number="8"> \advance\citationsCounter by 1\relax</a>
-<a class="sourceLine" id="cb398-9" data-line-number="9"> \ifx\relax#2\relax</a>
-<a class="sourceLine" id="cb398-10" data-line-number="10"> \ifx\relax#3\relax\else</a>
-<a class="sourceLine" id="cb398-11" data-line-number="11"> with a postfix \emph{#3}<span class="co">%</span></a>
-<a class="sourceLine" id="cb398-12" data-line-number="12"> \fi</a>
-<a class="sourceLine" id="cb398-13" data-line-number="13"> \else</a>
-<a class="sourceLine" id="cb398-14" data-line-number="14"> with a prefix \emph{#2}<span class="co">%</span></a>
-<a class="sourceLine" id="cb398-15" data-line-number="15"> \ifx\relax#3\relax\else</a>
-<a class="sourceLine" id="cb398-16" data-line-number="16"> \ and a postfix \emph{#3}<span class="co">%</span></a>
-<a class="sourceLine" id="cb398-17" data-line-number="17"> \fi</a>
-<a class="sourceLine" id="cb398-18" data-line-number="18"> \fi</a>
-<a class="sourceLine" id="cb398-19" data-line-number="19"> \ifnum\citationsCounter&gt;\citationsTotal\relax</a>
-<a class="sourceLine" id="cb398-20" data-line-number="20"> .<span class="co">%</span></a>
-<a class="sourceLine" id="cb398-21" data-line-number="21"> \expandafter\@gobble</a>
-<a class="sourceLine" id="cb398-22" data-line-number="22"> \else</a>
-<a class="sourceLine" id="cb398-23" data-line-number="23"> , and</a>
-<a class="sourceLine" id="cb398-24" data-line-number="24"> \fi\citations}</a>
-<a class="sourceLine" id="cb398-25" data-line-number="25"><span class="fu">\makeatother</span></a>
-<a class="sourceLine" id="cb398-26" data-line-number="26"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb398-27" data-line-number="27"> renderers = {</a>
-<a class="sourceLine" id="cb398-28" data-line-number="28"> textCite = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb398-29" data-line-number="29"> <span class="fu">\citationsCounter</span>=1<span class="co">%</span></a>
-<a class="sourceLine" id="cb398-30" data-line-number="30"> <span class="fu">\citationsTotal</span>=#1<span class="co">%</span></a>
-<a class="sourceLine" id="cb398-31" data-line-number="31"> This is</a>
-<a class="sourceLine" id="cb398-32" data-line-number="32"> <span class="fu">\expandafter\citations</span></a>
-<a class="sourceLine" id="cb398-33" data-line-number="33"> },</a>
-<a class="sourceLine" id="cb398-34" data-line-number="34"> },</a>
-<a class="sourceLine" id="cb398-35" data-line-number="35">}</a>
-<a class="sourceLine" id="cb398-36" data-line-number="36"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb398-37" data-line-number="37"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb398-38" data-line-number="38">@abrahams90 [pp. 12; also @eijkhout91]</a>
-<a class="sourceLine" id="cb398-39" data-line-number="39"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb398-40" data-line-number="40"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb399"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb399-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-51"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb421"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb421-1"><a href="#cb421-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb421-2"><a href="#cb421-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[citations]{<span class="ex">markdown</span>}</span>
+<span id="cb421-3"><a href="#cb421-3" aria-hidden="true"></a><span class="fu">\newcount\citationsCounter</span></span>
+<span id="cb421-4"><a href="#cb421-4" aria-hidden="true"></a><span class="fu">\newcount\citationsTotal</span></span>
+<span id="cb421-5"><a href="#cb421-5" aria-hidden="true"></a><span class="fu">\makeatletter</span></span>
+<span id="cb421-6"><a href="#cb421-6" aria-hidden="true"></a><span class="fu">\def\citations</span>#1#2#3#4{<span class="co">%</span></span>
+<span id="cb421-7"><a href="#cb421-7" aria-hidden="true"></a> a text citation <span class="fu">\emph</span>{#4}</span>
+<span id="cb421-8"><a href="#cb421-8" aria-hidden="true"></a> <span class="fu">\advance\citationsCounter</span> by 1<span class="fu">\relax</span></span>
+<span id="cb421-9"><a href="#cb421-9" aria-hidden="true"></a> <span class="fu">\ifx\relax</span>#2<span class="fu">\relax</span></span>
+<span id="cb421-10"><a href="#cb421-10" aria-hidden="true"></a> <span class="fu">\ifx\relax</span>#3<span class="fu">\relax\else</span></span>
+<span id="cb421-11"><a href="#cb421-11" aria-hidden="true"></a> with a postfix <span class="fu">\emph</span>{#3}<span class="co">%</span></span>
+<span id="cb421-12"><a href="#cb421-12" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb421-13"><a href="#cb421-13" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb421-14"><a href="#cb421-14" aria-hidden="true"></a> with a prefix <span class="fu">\emph</span>{#2}<span class="co">%</span></span>
+<span id="cb421-15"><a href="#cb421-15" aria-hidden="true"></a> <span class="fu">\ifx\relax</span>#3<span class="fu">\relax\else</span></span>
+<span id="cb421-16"><a href="#cb421-16" aria-hidden="true"></a> <span class="fu">\ </span>and a postfix <span class="fu">\emph</span>{#3}<span class="co">%</span></span>
+<span id="cb421-17"><a href="#cb421-17" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb421-18"><a href="#cb421-18" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb421-19"><a href="#cb421-19" aria-hidden="true"></a> <span class="fu">\ifnum\citationsCounter</span>&gt;<span class="fu">\citationsTotal\relax</span></span>
+<span id="cb421-20"><a href="#cb421-20" aria-hidden="true"></a> .<span class="co">%</span></span>
+<span id="cb421-21"><a href="#cb421-21" aria-hidden="true"></a> <span class="fu">\expandafter\@gobble</span></span>
+<span id="cb421-22"><a href="#cb421-22" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb421-23"><a href="#cb421-23" aria-hidden="true"></a> , and</span>
+<span id="cb421-24"><a href="#cb421-24" aria-hidden="true"></a> <span class="fu">\fi\citations</span>}</span>
+<span id="cb421-25"><a href="#cb421-25" aria-hidden="true"></a><span class="fu">\makeatother</span></span>
+<span id="cb421-26"><a href="#cb421-26" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb421-27"><a href="#cb421-27" aria-hidden="true"></a> renderers = {</span>
+<span id="cb421-28"><a href="#cb421-28" aria-hidden="true"></a> textCite = {<span class="co">%</span></span>
+<span id="cb421-29"><a href="#cb421-29" aria-hidden="true"></a> <span class="fu">\citationsCounter</span>=1<span class="co">%</span></span>
+<span id="cb421-30"><a href="#cb421-30" aria-hidden="true"></a> <span class="fu">\citationsTotal</span>=#1<span class="co">%</span></span>
+<span id="cb421-31"><a href="#cb421-31" aria-hidden="true"></a> This is</span>
+<span id="cb421-32"><a href="#cb421-32" aria-hidden="true"></a> <span class="fu">\expandafter\citations</span></span>
+<span id="cb421-33"><a href="#cb421-33" aria-hidden="true"></a> },</span>
+<span id="cb421-34"><a href="#cb421-34" aria-hidden="true"></a> },</span>
+<span id="cb421-35"><a href="#cb421-35" aria-hidden="true"></a>}</span>
+<span id="cb421-36"><a href="#cb421-36" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb421-37"><a href="#cb421-37" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb421-38"><a href="#cb421-38" aria-hidden="true"></a>@abrahams90 [pp. 12; also @eijkhout91]</span>
+<span id="cb421-39"><a href="#cb421-39" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb421-40"><a href="#cb421-40" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb422"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb422-1"><a href="#cb422-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is a text citation <em>abrahams90</em> with a postfix <em>pp. 12</em>, and a citation <em>eijkhout91</em> with a prefix <em>also</em>.</p>
</blockquote>
-<h4 id="table-renderer"><span class="header-section-number">2.3.1.21</span> Table Renderer</h4>
+<h4 data-number="2.3.1.21" id="table-renderer"><span class="header-section-number">2.3.1.21</span> Table Renderer</h4>
<p>The <code>\markdownRendererTable</code> macro represents a table. This macro will only be produced, when the <strong><code>pipeTables</code></strong> option is enabled. The macro receives the parameters <code>{</code>⟨<em>caption</em>⟩<code>}{</code>⟨<em>number of rows</em>⟩<code>}{</code>⟨<em>number of columns</em>⟩<code>}</code> followed by <code>{</code>⟨<em>alignments</em>⟩<code>}</code> and then by <code>{</code>⟨<em>row</em>⟩<code>}</code> repeated ⟨<em>number of rows</em>⟩ times, where ⟨<em>row</em>⟩ is <code>{</code>⟨<em>column</em>⟩<code>}</code> repeated ⟨<em>number of columns</em>⟩ times, ⟨<em>alignments</em>⟩ is ⟨<em>alignment</em>⟩ repeated ⟨<em>number of columns</em>⟩ times, and ⟨<em>alignment</em>⟩ is one of the following:</p>
<ul>
<li><code>d</code> – The corresponding column has an unspecified (default) alignment.</li>
@@ -5387,168 +5652,196 @@ multiple paragraphs</li>
<li><code>c</code> – The corresponding column is centered.</li>
<li><code>r</code> – The corresponding column is right-aligned.</li>
</ul>
-<h5 id="latex-example-47" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb400"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb400-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb400-2" data-line-number="2"><span class="bu">\usepackage</span>[pipeTables, tableCaptions]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb400-3" data-line-number="3"><span class="fu">\newcount\rowCounter</span></a>
-<a class="sourceLine" id="cb400-4" data-line-number="4"><span class="fu">\newcount\columnCounter</span></a>
-<a class="sourceLine" id="cb400-5" data-line-number="5"><span class="fu">\makeatletter</span></a>
-<a class="sourceLine" id="cb400-6" data-line-number="6"><span class="fu">\def</span>\processRow#1{<span class="co">%</span></a>
-<a class="sourceLine" id="cb400-7" data-line-number="7"> \columnCounter=1<span class="co">%</span></a>
-<a class="sourceLine" id="cb400-8" data-line-number="8"> \ifnum\rowCounter=0\relax</a>
-<a class="sourceLine" id="cb400-9" data-line-number="9"> As for the alignment,</a>
-<a class="sourceLine" id="cb400-10" data-line-number="10"> \else</a>
-<a class="sourceLine" id="cb400-11" data-line-number="11"> In row \the\rowCounter,</a>
-<a class="sourceLine" id="cb400-12" data-line-number="12"> \fi</a>
-<a class="sourceLine" id="cb400-13" data-line-number="13"> \processColumn#1</a>
-<a class="sourceLine" id="cb400-14" data-line-number="14"> \advance\rowCounter by 1\relax</a>
-<a class="sourceLine" id="cb400-15" data-line-number="15"> \ifnum\rowCounter&gt;\rowTotal\relax</a>
-<a class="sourceLine" id="cb400-16" data-line-number="16"> \expandafter\@gobble</a>
-<a class="sourceLine" id="cb400-17" data-line-number="17"> \fi\processRow}<span class="co">%</span></a>
-<a class="sourceLine" id="cb400-18" data-line-number="18"><span class="fu">\def</span>\processColumn#1{<span class="co">%</span></a>
-<a class="sourceLine" id="cb400-19" data-line-number="19"> column number \the\columnCounter{}</a>
-<a class="sourceLine" id="cb400-20" data-line-number="20"> \ifnum\rowCounter=0\relax</a>
-<a class="sourceLine" id="cb400-21" data-line-number="21"> \if#1d{}has default alignment\fi</a>
-<a class="sourceLine" id="cb400-22" data-line-number="22"> \if#1l{}is left-aligned\fi</a>
-<a class="sourceLine" id="cb400-23" data-line-number="23"> \if#1c{}is centered\fi</a>
-<a class="sourceLine" id="cb400-24" data-line-number="24"> \if#1r{}is right-aligned\fi</a>
-<a class="sourceLine" id="cb400-25" data-line-number="25"> \else</a>
-<a class="sourceLine" id="cb400-26" data-line-number="26"> says \emph{#1}<span class="co">%</span></a>
-<a class="sourceLine" id="cb400-27" data-line-number="27"> \fi</a>
-<a class="sourceLine" id="cb400-28" data-line-number="28"> \advance\columnCounter by 1\relax</a>
-<a class="sourceLine" id="cb400-29" data-line-number="29"> \ifnum\columnCounter&lt;\columnTotal\relax, \fi</a>
-<a class="sourceLine" id="cb400-30" data-line-number="30"> \ifnum\columnCounter=\columnTotal\relax, and \fi</a>
-<a class="sourceLine" id="cb400-31" data-line-number="31"> \ifnum\columnCounter&gt;\columnTotal\relax</a>
-<a class="sourceLine" id="cb400-32" data-line-number="32"> .\expandafter\@gobble</a>
-<a class="sourceLine" id="cb400-33" data-line-number="33"> \fi\processColumn}<span class="co">%</span></a>
-<a class="sourceLine" id="cb400-34" data-line-number="34"><span class="fu">\makeatother</span></a>
-<a class="sourceLine" id="cb400-35" data-line-number="35"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb400-36" data-line-number="36"> renderers = {</a>
-<a class="sourceLine" id="cb400-37" data-line-number="37"> table = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb400-38" data-line-number="38"> This is a table with caption <span class="fu">\emph</span>{#1} that is #3 colums wide</a>
-<a class="sourceLine" id="cb400-39" data-line-number="39"> and #2 rows long.</a>
-<a class="sourceLine" id="cb400-40" data-line-number="40"> <span class="fu">\rowCounter</span>=0<span class="co">%</span></a>
-<a class="sourceLine" id="cb400-41" data-line-number="41"> <span class="fu">\def</span>\rowTotal{#2}<span class="co">%</span></a>
-<a class="sourceLine" id="cb400-42" data-line-number="42"> <span class="fu">\def</span>\columnTotal{#3}<span class="co">%</span></a>
-<a class="sourceLine" id="cb400-43" data-line-number="43"> <span class="fu">\processRow</span></a>
-<a class="sourceLine" id="cb400-44" data-line-number="44"> },</a>
-<a class="sourceLine" id="cb400-45" data-line-number="45"> },</a>
-<a class="sourceLine" id="cb400-46" data-line-number="46">}</a>
-<a class="sourceLine" id="cb400-47" data-line-number="47"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb400-48" data-line-number="48"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb400-49" data-line-number="49">| Right | Left | Default | Center |</a>
-<a class="sourceLine" id="cb400-50" data-line-number="50">|------:|:-----|---------|:------:|</a>
-<a class="sourceLine" id="cb400-51" data-line-number="51">| 12 | 12 | 12 | 12 |</a>
-<a class="sourceLine" id="cb400-52" data-line-number="52">| 123 | 123 | 123 | 123 |</a>
-<a class="sourceLine" id="cb400-53" data-line-number="53">| 1 | 1 | 1 | 1 |</a>
-<a class="sourceLine" id="cb400-54" data-line-number="54"></a>
-<a class="sourceLine" id="cb400-55" data-line-number="55"> : Demonstration of pipe table syntax</a>
-<a class="sourceLine" id="cb400-56" data-line-number="56"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb400-57" data-line-number="57"><span class="kw">\end</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb400-58" data-line-number="58"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb400-59" data-line-number="59"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb401"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb401-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-52"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb423"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb423-1"><a href="#cb423-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb423-2"><a href="#cb423-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[pipeTables, tableCaptions]{<span class="ex">markdown</span>}</span>
+<span id="cb423-3"><a href="#cb423-3" aria-hidden="true"></a><span class="fu">\newcount\rowCounter</span></span>
+<span id="cb423-4"><a href="#cb423-4" aria-hidden="true"></a><span class="fu">\newcount\columnCounter</span></span>
+<span id="cb423-5"><a href="#cb423-5" aria-hidden="true"></a><span class="fu">\makeatletter</span></span>
+<span id="cb423-6"><a href="#cb423-6" aria-hidden="true"></a><span class="fu">\def\processRow</span>#1{<span class="co">%</span></span>
+<span id="cb423-7"><a href="#cb423-7" aria-hidden="true"></a> <span class="fu">\columnCounter</span>=1<span class="co">%</span></span>
+<span id="cb423-8"><a href="#cb423-8" aria-hidden="true"></a> <span class="fu">\ifnum\rowCounter</span>=0<span class="fu">\relax</span></span>
+<span id="cb423-9"><a href="#cb423-9" aria-hidden="true"></a> As for the alignment,</span>
+<span id="cb423-10"><a href="#cb423-10" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb423-11"><a href="#cb423-11" aria-hidden="true"></a> In row <span class="fu">\the\rowCounter</span>,</span>
+<span id="cb423-12"><a href="#cb423-12" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb423-13"><a href="#cb423-13" aria-hidden="true"></a> <span class="fu">\processColumn</span>#1</span>
+<span id="cb423-14"><a href="#cb423-14" aria-hidden="true"></a> <span class="fu">\advance\rowCounter</span> by 1<span class="fu">\relax</span></span>
+<span id="cb423-15"><a href="#cb423-15" aria-hidden="true"></a> <span class="fu">\ifnum\rowCounter</span>&gt;<span class="fu">\rowTotal\relax</span></span>
+<span id="cb423-16"><a href="#cb423-16" aria-hidden="true"></a> <span class="fu">\expandafter\@gobble</span></span>
+<span id="cb423-17"><a href="#cb423-17" aria-hidden="true"></a> <span class="fu">\fi\processRow</span>}<span class="co">%</span></span>
+<span id="cb423-18"><a href="#cb423-18" aria-hidden="true"></a><span class="fu">\def\processColumn</span>#1{<span class="co">%</span></span>
+<span id="cb423-19"><a href="#cb423-19" aria-hidden="true"></a> column number <span class="fu">\the\columnCounter</span>{}</span>
+<span id="cb423-20"><a href="#cb423-20" aria-hidden="true"></a> <span class="fu">\ifnum\rowCounter</span>=0<span class="fu">\relax</span></span>
+<span id="cb423-21"><a href="#cb423-21" aria-hidden="true"></a> <span class="fu">\if</span>#1d{}has default alignment<span class="fu">\fi</span></span>
+<span id="cb423-22"><a href="#cb423-22" aria-hidden="true"></a> <span class="fu">\if</span>#1l{}is left-aligned<span class="fu">\fi</span></span>
+<span id="cb423-23"><a href="#cb423-23" aria-hidden="true"></a> <span class="fu">\if</span>#1c{}is centered<span class="fu">\fi</span></span>
+<span id="cb423-24"><a href="#cb423-24" aria-hidden="true"></a> <span class="fu">\if</span>#1r{}is right-aligned<span class="fu">\fi</span></span>
+<span id="cb423-25"><a href="#cb423-25" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb423-26"><a href="#cb423-26" aria-hidden="true"></a> says <span class="fu">\emph</span>{#1}<span class="co">%</span></span>
+<span id="cb423-27"><a href="#cb423-27" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb423-28"><a href="#cb423-28" aria-hidden="true"></a> <span class="fu">\advance\columnCounter</span> by 1<span class="fu">\relax</span></span>
+<span id="cb423-29"><a href="#cb423-29" aria-hidden="true"></a> <span class="fu">\ifnum\columnCounter</span>&lt;<span class="fu">\columnTotal\relax</span>, <span class="fu">\fi</span></span>
+<span id="cb423-30"><a href="#cb423-30" aria-hidden="true"></a> <span class="fu">\ifnum\columnCounter</span>=<span class="fu">\columnTotal\relax</span>, and <span class="fu">\fi</span></span>
+<span id="cb423-31"><a href="#cb423-31" aria-hidden="true"></a> <span class="fu">\ifnum\columnCounter</span>&gt;<span class="fu">\columnTotal\relax</span></span>
+<span id="cb423-32"><a href="#cb423-32" aria-hidden="true"></a> .<span class="fu">\expandafter\@gobble</span></span>
+<span id="cb423-33"><a href="#cb423-33" aria-hidden="true"></a> <span class="fu">\fi\processColumn</span>}<span class="co">%</span></span>
+<span id="cb423-34"><a href="#cb423-34" aria-hidden="true"></a><span class="fu">\makeatother</span></span>
+<span id="cb423-35"><a href="#cb423-35" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb423-36"><a href="#cb423-36" aria-hidden="true"></a> renderers = {</span>
+<span id="cb423-37"><a href="#cb423-37" aria-hidden="true"></a> table = {<span class="co">%</span></span>
+<span id="cb423-38"><a href="#cb423-38" aria-hidden="true"></a> This is a table with caption <span class="fu">\emph</span>{#1} that is #3 colums wide</span>
+<span id="cb423-39"><a href="#cb423-39" aria-hidden="true"></a> and #2 rows long.</span>
+<span id="cb423-40"><a href="#cb423-40" aria-hidden="true"></a> <span class="fu">\rowCounter</span>=0<span class="co">%</span></span>
+<span id="cb423-41"><a href="#cb423-41" aria-hidden="true"></a> <span class="fu">\def\rowTotal</span>{#2}<span class="co">%</span></span>
+<span id="cb423-42"><a href="#cb423-42" aria-hidden="true"></a> <span class="fu">\def\columnTotal</span>{#3}<span class="co">%</span></span>
+<span id="cb423-43"><a href="#cb423-43" aria-hidden="true"></a> <span class="fu">\processRow</span></span>
+<span id="cb423-44"><a href="#cb423-44" aria-hidden="true"></a> },</span>
+<span id="cb423-45"><a href="#cb423-45" aria-hidden="true"></a> },</span>
+<span id="cb423-46"><a href="#cb423-46" aria-hidden="true"></a>}</span>
+<span id="cb423-47"><a href="#cb423-47" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb423-48"><a href="#cb423-48" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb423-49"><a href="#cb423-49" aria-hidden="true"></a>| Right | Left | Default | Center |</span>
+<span id="cb423-50"><a href="#cb423-50" aria-hidden="true"></a>|------:|:-----|---------|:------:|</span>
+<span id="cb423-51"><a href="#cb423-51" aria-hidden="true"></a>| 12 | 12 | 12 | 12 |</span>
+<span id="cb423-52"><a href="#cb423-52" aria-hidden="true"></a>| 123 | 123 | 123 | 123 |</span>
+<span id="cb423-53"><a href="#cb423-53" aria-hidden="true"></a>| 1 | 1 | 1 | 1 |</span>
+<span id="cb423-54"><a href="#cb423-54" aria-hidden="true"></a></span>
+<span id="cb423-55"><a href="#cb423-55" aria-hidden="true"></a> : Demonstration of pipe table syntax</span>
+<span id="cb423-56"><a href="#cb423-56" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb423-57"><a href="#cb423-57" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb424"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb424-1"><a href="#cb424-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is a table with caption <em>Demonstration of pipe table syntax</em> that is 4 colums wide and 4 rows long. As for the alignment, column number 1 is right-aligned, column number 2 is left-aligned, column number 3 has default alignment, and column number 4 is centered. In row 1, column number 1 says <em>Right</em>, column number 2 says <em>Left</em>, column number 3 says <em>Default</em>, and column number 4 says <em>Center</em>. In row 2, column number 1 says <em>12</em>, column number 2 says <em>12</em>, column number 3 says <em>12</em>, and column number 4 says <em>12</em>. In row 3, column number 1 says <em>123</em>, column number 2 says <em>123</em>, column number 3 says <em>123</em>, and column number 4 says <em>123</em>. In row 4, column number 1 says <em>1</em>, column number 2 says <em>1</em>, column number 3 says <em>1</em>, and column number 4 says <em>1</em>.</p>
</blockquote>
-<h3 id="token-renderer-prototypes"><span class="header-section-number">2.3.2</span> Token Renderer Prototypes</h3>
+<h4 data-number="2.3.1.22" id="inline-html-comment-renderer"><span class="header-section-number">2.3.1.22</span> Inline HTML Comment Renderer</h4>
+<p>The <code>\markdownRendererInlineHtmlComment</code> macro represents the contents of an inline <abbr>HTML</abbr> comment. This macro will only be produced, when the <strong><code>html</code></strong> option is enabled. The macro receives a single argument that corresponds to the contents of the <abbr>HTML</abbr> comment.</p>
+<h5 class="unnumbered" data-number="" id="latex-example-53"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb425"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb425-1"><a href="#cb425-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb425-2"><a href="#cb425-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[html]{<span class="ex">markdown</span>}</span>
+<span id="cb425-3"><a href="#cb425-3" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">marginnote</span>}</span>
+<span id="cb425-4"><a href="#cb425-4" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb425-5"><a href="#cb425-5" aria-hidden="true"></a> renderers = {</span>
+<span id="cb425-6"><a href="#cb425-6" aria-hidden="true"></a> inlineHtmlComment = {<span class="fu">\marginnote</span>{#1}},</span>
+<span id="cb425-7"><a href="#cb425-7" aria-hidden="true"></a> },</span>
+<span id="cb425-8"><a href="#cb425-8" aria-hidden="true"></a>}</span>
+<span id="cb425-9"><a href="#cb425-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb425-10"><a href="#cb425-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb425-11"><a href="#cb425-11" aria-hidden="true"></a>A useful use of HTML comments are side notes.</span>
+<span id="cb425-12"><a href="#cb425-12" aria-hidden="true"></a>&lt;!-- Side notes are displayed in the horizontal margins next to the relevant</span>
+<span id="cb425-13"><a href="#cb425-13" aria-hidden="true"></a>passages, which makes them easier for the reader to find than footnotes. --&gt;</span>
+<span id="cb425-14"><a href="#cb425-14" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb425-15"><a href="#cb425-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb426"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb426-1"><a href="#cb426-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span>
+<span id="cb426-2"><a href="#cb426-2" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following body text:</p>
+<blockquote>
+<p>A useful use of HTML comments are side notes.</p>
+</blockquote>
+<p>The horizontal margins should contain the following text:</p>
+<blockquote>
+<p>Side notes are displayed in the horizontal margins next to the relevant passages, which makes them easier for the reader to find than footnotes.</p>
+</blockquote>
+<h3 data-number="2.3.2" id="token-renderer-prototypes"><span class="header-section-number">2.3.2</span> Token Renderer Prototypes</h3>
<p>By default, token renderers point to package-defined <span class="tex">T<sub>e</sub>X</span> macros, further referred to as <em>prototypes</em>, which provide useful default definitions.</p>
-<h5 id="plain-tex-example-29" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb402"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb402-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb402-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererTildePrototype{<span class="co">%</span></a>
-<a class="sourceLine" id="cb402-3" data-line-number="3"> Packages can specify token renderer prototypes.<span class="co">%</span></a>
-<a class="sourceLine" id="cb402-4" data-line-number="4">}</a>
-<a class="sourceLine" id="cb402-5" data-line-number="5"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb402-6" data-line-number="6">~</a>
-<a class="sourceLine" id="cb402-7" data-line-number="7"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb402-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb402-9" data-line-number="9"><span class="fu">\def</span>\markdownRendererTilde{<span class="co">%</span></a>
-<a class="sourceLine" id="cb402-10" data-line-number="10"> User-defined token renderers take precedence.<span class="co">%</span></a>
-<a class="sourceLine" id="cb402-11" data-line-number="11">}</a>
-<a class="sourceLine" id="cb402-12" data-line-number="12"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb402-13" data-line-number="13">~</a>
-<a class="sourceLine" id="cb402-14" data-line-number="14"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb402-15" data-line-number="15"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb403"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb403-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-31">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb427"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb427-1"><a href="#cb427-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb427-2"><a href="#cb427-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererTildePrototype</span>{<span class="co">%</span></span>
+<span id="cb427-3"><a href="#cb427-3" aria-hidden="true"></a> Packages can specify token renderer prototypes.<span class="co">%</span></span>
+<span id="cb427-4"><a href="#cb427-4" aria-hidden="true"></a>}</span>
+<span id="cb427-5"><a href="#cb427-5" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb427-6"><a href="#cb427-6" aria-hidden="true"></a>~</span>
+<span id="cb427-7"><a href="#cb427-7" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb427-8"><a href="#cb427-8" aria-hidden="true"></a></span>
+<span id="cb427-9"><a href="#cb427-9" aria-hidden="true"></a><span class="fu">\def\markdownRendererTilde</span>{<span class="co">%</span></span>
+<span id="cb427-10"><a href="#cb427-10" aria-hidden="true"></a> User-defined token renderers take precedence.<span class="co">%</span></span>
+<span id="cb427-11"><a href="#cb427-11" aria-hidden="true"></a>}</span>
+<span id="cb427-12"><a href="#cb427-12" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb427-13"><a href="#cb427-13" aria-hidden="true"></a>~</span>
+<span id="cb427-14"><a href="#cb427-14" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb427-15"><a href="#cb427-15" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb428"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb428-1"><a href="#cb428-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Packages can specify token renderer prototypes.</p>
<p>User-defined token renderers take precedence.</p>
</blockquote>
-<h5 id="latex-example-48" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb404"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb404-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb404-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb404-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb404-4" data-line-number="4"> rendererPrototypes = {</a>
-<a class="sourceLine" id="cb404-5" data-line-number="5"> tilde = {Packages can specify token renderer prototypes.},</a>
-<a class="sourceLine" id="cb404-6" data-line-number="6"> },</a>
-<a class="sourceLine" id="cb404-7" data-line-number="7">}</a>
-<a class="sourceLine" id="cb404-8" data-line-number="8"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb404-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb404-10" data-line-number="10">~</a>
-<a class="sourceLine" id="cb404-11" data-line-number="11"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb404-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb404-13" data-line-number="13"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</a>
-<a class="sourceLine" id="cb404-14" data-line-number="14"> renderers = {</a>
-<a class="sourceLine" id="cb404-15" data-line-number="15"> tilde = {User-defined token renderers take precedence.},</a>
-<a class="sourceLine" id="cb404-16" data-line-number="16"> },</a>
-<a class="sourceLine" id="cb404-17" data-line-number="17">}</a>
-<a class="sourceLine" id="cb404-18" data-line-number="18">~</a>
-<a class="sourceLine" id="cb404-19" data-line-number="19"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb404-20" data-line-number="20"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb405"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb405-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-54"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb429"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb429-1"><a href="#cb429-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb429-2"><a href="#cb429-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb429-3"><a href="#cb429-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb429-4"><a href="#cb429-4" aria-hidden="true"></a> rendererPrototypes = {</span>
+<span id="cb429-5"><a href="#cb429-5" aria-hidden="true"></a> tilde = {Packages can specify token renderer prototypes.},</span>
+<span id="cb429-6"><a href="#cb429-6" aria-hidden="true"></a> },</span>
+<span id="cb429-7"><a href="#cb429-7" aria-hidden="true"></a>}</span>
+<span id="cb429-8"><a href="#cb429-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb429-9"><a href="#cb429-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb429-10"><a href="#cb429-10" aria-hidden="true"></a>~</span>
+<span id="cb429-11"><a href="#cb429-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb429-12"><a href="#cb429-12" aria-hidden="true"></a></span>
+<span id="cb429-13"><a href="#cb429-13" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</span>
+<span id="cb429-14"><a href="#cb429-14" aria-hidden="true"></a> renderers = {</span>
+<span id="cb429-15"><a href="#cb429-15" aria-hidden="true"></a> tilde = {User-defined token renderers take precedence.},</span>
+<span id="cb429-16"><a href="#cb429-16" aria-hidden="true"></a> },</span>
+<span id="cb429-17"><a href="#cb429-17" aria-hidden="true"></a>}</span>
+<span id="cb429-18"><a href="#cb429-18" aria-hidden="true"></a>~</span>
+<span id="cb429-19"><a href="#cb429-19" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb429-20"><a href="#cb429-20" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb430"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb430-1"><a href="#cb430-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Packages can specify token renderer prototypes.</p>
<p>User-defined token renderers take precedence.</p>
</blockquote>
-<h5 id="context-example-39" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb406"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb406-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb406-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererTildePrototype{<span class="co">%</span></a>
-<a class="sourceLine" id="cb406-3" data-line-number="3"> Packages can specify token renderer prototypes.<span class="co">%</span></a>
-<a class="sourceLine" id="cb406-4" data-line-number="4">}</a>
-<a class="sourceLine" id="cb406-5" data-line-number="5"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb406-6" data-line-number="6"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb406-7" data-line-number="7">~</a>
-<a class="sourceLine" id="cb406-8" data-line-number="8"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb406-9" data-line-number="9"></a>
-<a class="sourceLine" id="cb406-10" data-line-number="10"><span class="fu">\def</span>\markdownRendererTilde{<span class="co">%</span></a>
-<a class="sourceLine" id="cb406-11" data-line-number="11"> User-defined token renderers take precedence.<span class="co">%</span></a>
-<a class="sourceLine" id="cb406-12" data-line-number="12">}</a>
-<a class="sourceLine" id="cb406-13" data-line-number="13"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb406-14" data-line-number="14">~</a>
-<a class="sourceLine" id="cb406-15" data-line-number="15"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb406-16" data-line-number="16"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb407"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb407-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-41">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb431"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb431-1"><a href="#cb431-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb431-2"><a href="#cb431-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererTildePrototype</span>{<span class="co">%</span></span>
+<span id="cb431-3"><a href="#cb431-3" aria-hidden="true"></a> Packages can specify token renderer prototypes.<span class="co">%</span></span>
+<span id="cb431-4"><a href="#cb431-4" aria-hidden="true"></a>}</span>
+<span id="cb431-5"><a href="#cb431-5" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb431-6"><a href="#cb431-6" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb431-7"><a href="#cb431-7" aria-hidden="true"></a>~</span>
+<span id="cb431-8"><a href="#cb431-8" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb431-9"><a href="#cb431-9" aria-hidden="true"></a></span>
+<span id="cb431-10"><a href="#cb431-10" aria-hidden="true"></a><span class="fu">\def\markdownRendererTilde</span>{<span class="co">%</span></span>
+<span id="cb431-11"><a href="#cb431-11" aria-hidden="true"></a> User-defined token renderers take precedence.<span class="co">%</span></span>
+<span id="cb431-12"><a href="#cb431-12" aria-hidden="true"></a>}</span>
+<span id="cb431-13"><a href="#cb431-13" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb431-14"><a href="#cb431-14" aria-hidden="true"></a>~</span>
+<span id="cb431-15"><a href="#cb431-15" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb431-16"><a href="#cb431-16" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb432"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb432-1"><a href="#cb432-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Packages can specify token renderer prototypes.</p>
<p>User-defined token renderers take precedence.</p>
</blockquote>
-<section class="footnotes">
+<section class="footnotes" role="doc-endnotes">
<hr />
<ol>
-<li id="fn1"><p>Here is the footnote.<a href="#fnref1" class="footnote-back">↩</a></p></li>
-<li id="fn2"><p>Here’s one with multiple blocks.</p>
+<li id="fn1" role="doc-endnote"><p>Here is the footnote.<a href="#fnref1" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
+<li id="fn2" role="doc-endnote"><p>Here’s one with multiple blocks.</p>
<p>Subsequent paragraphs are indented to show that they belong to the previous footnote.</p>
<pre><code>{ some.code }</code></pre>
-<p>The whole paragraph can be indented, or just the first line. In this way, multi-paragraph footnotes work like multi-paragraph list items.<a href="#fnref2" class="footnote-back">↩</a></p></li>
-<li id="fn3"><p>Here is the footnote.<a href="#fnref3" class="footnote-back">↩</a></p></li>
-<li id="fn4"><p>Here’s one with multiple blocks.</p>
+<p>The whole paragraph can be indented, or just the first line. In this way, multi-paragraph footnotes work like multi-paragraph list items.<a href="#fnref2" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
+<li id="fn3" role="doc-endnote"><p>Here is the footnote.<a href="#fnref3" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
+<li id="fn4" role="doc-endnote"><p>Here’s one with multiple blocks.</p>
<p>Subsequent paragraphs are indented to show that they belong to the previous footnote.</p>
<pre><code>{ some.code }</code></pre>
-<p>The whole paragraph can be indented, or just the first line. In this way, multi-paragraph footnotes work like multi-paragraph list items.<a href="#fnref4" class="footnote-back">↩</a></p></li>
-<li id="fn5"><p>Inlines notes are easier to write, since you don’t have to pick an identifier and move down to type the note.<a href="#fnref5" class="footnote-back">↩</a></p></li>
-<li id="fn6"><p>Inlines notes are easier to write, since you don’t have to pick an identifier and move down to type the note.<a href="#fnref6" class="footnote-back">↩</a></p></li>
+<p>The whole paragraph can be indented, or just the first line. In this way, multi-paragraph footnotes work like multi-paragraph list items.<a href="#fnref4" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
+<li id="fn5" role="doc-endnote"><p>Inlines notes are easier to write, since you don’t have to pick an identifier and move down to type the note.<a href="#fnref5" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
+<li id="fn6" role="doc-endnote"><p>Inlines notes are easier to write, since you don’t have to pick an identifier and move down to type the note.<a href="#fnref6" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
</ol>
</section>
</body>
diff --git a/macros/generic/markdown/markdown.ins b/macros/generic/markdown/markdown.ins
index b7436c37fc..0e71d55d55 100644
--- a/macros/generic/markdown/markdown.ins
+++ b/macros/generic/markdown/markdown.ins
@@ -6,6 +6,9 @@
\file{markdown.tex}{\from{markdown.dtx}{tex}}
\file{markdown.sty}{\from{markdown.dtx}{latex}}
\file{t-markdown.tex}{\from{markdown.dtx}{context}}
+ \file{markdownthemewitiko_dot.sty}{\from{markdown.dtx}{latex-themes-witiko-dot}}
+ \file{markdownthemewitiko_graphicx_http.sty}{\from{markdown.dtx}{latex-themes-witiko-graphicx-http}}
+ \file{markdownthemewitiko_tilde.sty}{\from{markdown.dtx}{latex-themes-witiko-tilde}}
\usepreamble\empty\usepostamble\empty
\file{markdown.md}{\from{markdown.dtx}{manual}}
\file{markdown-interfaces.md}{\from{markdown.dtx}{manual-interfaces}}
diff --git a/macros/generic/markdown/markdown.md b/macros/generic/markdown/markdown.md
index 443a64fd6e..dcded9f944 100644
--- a/macros/generic/markdown/markdown.md
+++ b/macros/generic/markdown/markdown.md
@@ -68,7 +68,10 @@ This should produce the following files:
* `markdown.lua`, the Lua module,
* `markdown-cli.lua`, the Lua command-line interface,
* `markdown.tex`, the plain \TeX{} macro package,
- * `markdown.sty`, the \LaTeX{} package, and
+ * `markdown.sty`, the \LaTeX{} package,
+ * `markdownthemewitiko_dot.sty`, the `witiko/dot` \LaTeX{} theme,
+ * `markdownthemewitiko_graphicx_http.sty`, the `witiko/graphicx/http` \LaTeX{} theme,
+ * `markdownthemewitiko_tilde.sty`, the `witiko/tilde` \LaTeX{} theme, and
* `t-markdown.tex`, the \Hologo{ConTeXt} module.
### Local Installation
@@ -81,6 +84,9 @@ placed:
* `<TEXMF>/scripts/markdown/markdown-cli.lua`
* `<TEXMF>/tex/generic/markdown/markdown.tex`
* `<TEXMF>/tex/latex/markdown/markdown.sty`
+ * `<TEXMF>/tex/latex/markdown/markdownthemewitiko_dot.sty`
+ * `<TEXMF>/tex/latex/markdown/markdownthemewitiko_graphicx_http.sty`
+ * `<TEXMF>/tex/latex/markdown/markdownthemewitiko_tilde.sty`
* `<TEXMF>/tex/context/third/markdown/t-markdown.tex`
where `<TEXMF>` corresponds to a root of your \TeX{} distribution, such as
@@ -94,6 +100,11 @@ Alternatively, you can also store the above files in the same folder as your
\TeX{} document and distribute them together. This way your document can be
portably typeset on legacy \TeX{} distributions.
+Since Markdown version 2.10.0, the file `markdown.tex` must be placed in
+a directory named `markdown` due to [issue #74][issue-74].
+
+ [issue-74]: https://github.com/witiko/markdown/issues/74 (Does not compile if user names own document markdown.tex)
+
First Document
--------------
@@ -118,8 +129,8 @@ Using a text editor, create a text document named `hello.lua` with the
following content:
``` lua
#!/usr/bin/env texlua
-local kpse = require("kpse")
-kpse.set_program_name("luatex")
+local ran_ok, kpse = pcall(require, "kpse")
+if ran_ok then kpse.set_program_name("luatex") end
local markdown = require("markdown")
local convert = markdown.new()
print(convert("Hello *world*!"))
diff --git a/macros/generic/markdown/markdown.pdf b/macros/generic/markdown/markdown.pdf
index 1fb559127d..147ba6c419 100644
--- a/macros/generic/markdown/markdown.pdf
+++ b/macros/generic/markdown/markdown.pdf
Binary files differ
diff --git a/macros/latex/contrib/easybook/easybook.dtx b/macros/latex/contrib/easybook/easybook.dtx
index 821c06cf7c..b48cd00d3d 100644
--- a/macros/latex/contrib/easybook/easybook.dtx
+++ b/macros/latex/contrib/easybook/easybook.dtx
@@ -8,7 +8,7 @@
%<*class>
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2021/08/06}{1.28e}
+\ProvidesExplClass{easybook}{2021/08/06}{1.28F}
{Typeset Chinese theses or books}
\bool_set_false:N \l__eb_compile_draft_bool
@@ -292,7 +292,7 @@
%<*package>
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2021/08/06}{1.28e}
+\ProvidesExplPackage{easybase}{2021/08/06}{1.28F}
{Typeset Chinese theses or books}
\cs_generate_variant:Nn \dim_add:Nn { NV,Nv }
@@ -2372,7 +2372,7 @@
}
%</package>
%<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2021/08/06}{1.28e}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2021/08/06}{1.28F}
{Customization of tcolorbox for easybook}
\tl_gset:Nn \eb@tc@line@skip { 0.5\baselineskip }
diff --git a/macros/latex/contrib/easybook/easybook.pdf b/macros/latex/contrib/easybook/easybook.pdf
index 793816f3a7..2f7d0b55ac 100644
--- a/macros/latex/contrib/easybook/easybook.pdf
+++ b/macros/latex/contrib/easybook/easybook.pdf
Binary files differ
diff --git a/macros/latex/contrib/easybook/easybook.tex b/macros/latex/contrib/easybook/easybook.tex
index 202a35ab0c..fe2228bc1a 100644
--- a/macros/latex/contrib/easybook/easybook.tex
+++ b/macros/latex/contrib/easybook/easybook.tex
@@ -11,7 +11,7 @@
{
name = easybook,
title = EASYBOOK 使用手册,
- version = v1.28e,
+ version = v1.28F,
date = 2021/08/06,
authors = 瞿毅,
info = 排版简体中文学位论文和书籍,
@@ -176,12 +176,12 @@
\opt{newline}\Default!
部分和章标题的样式为另起一行,符合一般英文书籍的习惯。
\keychoice{scheme}{chinese,plain}\Default{chinese}
- 文档主题方案选项 \option{scheme} 扩展了 C\TeX 文档类中同名选项原有的作用范围,\option{plain} 选项可使各类标题变为英文形式。包括章节标题、图表标题和定理标题等。
+ 文档主题方案选项 \option{scheme} 扩展了 C\TeX 文档类中同名选项原有的作用范围,选项值 \code{plain} 可使各类标题变为英文形式。包括章节标题、图表标题和定理标题等。
\opt{enmode}\Default!
同时开启 \option{newline} 和 \keyis-{scheme}{plain} 选项以符合英文原生风格。
\keychoice{scheme}{a4paper,b5paper,c5paper,letterpaper,其它纸张}\Default{a4paper}
- 页眉尺寸选项将参数交给 \pkg*{geometry} 宏包处理,可使用它支持的所有纸张规格。建议选项 \option*{b5paper} 和 \keyis*-{zihao}{5},选项 \option*{a4paper} 和 \keyis*-{zihao}{-4} 配合。
- \keyval-{config}{配置文件名}
+ 页眉尺寸选项将参数交给 \pkg*{geometry} 宏包处理,可使用它支持的所有纸张规格。建议选项值 \code{b5paper} 和 \keyis*-{zihao}{5},选项值 \code{a4paper} 和 \keyis*-{zihao}{-4} 配合。
+ \keyval-{config}{配置文件名}\Default
选项 \option{config} 载入用户配置文件,最好放在当前路径且需带有文件扩展名如 \code{tex}、\code{def} 和 \code{cfg}。
\keybool{floatpage}\Default{true}
开启这个选项后浮动环境 \env*{table} 和 \env*{figure} 的比例参数会使用默认值,关闭它则尽可能避免出现浮动页,使图表环境与正文段落更加紧凑,减少多余的空白版面。
@@ -223,7 +223,7 @@
\subsection{article 模式}
\begin{options}
\keychoice{class}{book,article}\Default{book}
- 使用 \cls*{easybook} 文档类可以有两种模式,默认为 \cls*{book} 模式。选用 \option{article} 会变为 \option*{oneside} 单面排版,同时使文档编号、结构等与标准 \cls*{article} 文档类的特性相似,可用于短篇幅的文章,不需要再使用 \cs*{chapter} 命令,此时节 \ref{sec:document command} 中目录命令的 \option{chapter} 选项会失效,将以 \option{section} 标题级别输出目录。如果使用 \cls*{ctexart} 配合 \pkg*{easybase} 宏包,则选项值 \code{book} 会失效。
+ 使用 \cls*{easybook} 文档类可以有两种模式,默认为 \cls*{book} 模式。选用 \code{article} 会变为 \code{oneside} 单面排版,同时使文档编号、结构等与标准 \cls*{article} 文档类的特性相似,可用于短篇幅的文章,不需要再使用 \cs*{chapter} 命令。此时节 \ref{sec:document command} 中目录命令的 \option{chapter} 选项会失效,将以 \code{section} 标题级别输出目录。如果使用 \cls*{ctexart} 配合 \pkg*{easybase} 宏包,则选项值 \code{book} 会失效。
\opt{book}\Default!
开启 \cls*{book} 书籍模式,与 \keyis*-{class}{book} 等效。
\opt{article}\Default!
@@ -236,7 +236,7 @@
\subsection{文区命令}
\begin{commands}
\command{frontmatter}[\sarg\oarg{编号格式}]\Default{Roman}
- 前言区命令,使部分和章标题不编号,带有星号的变体命令不使用 \cs{cleardoublepage} 命令。页码 \meta{编号格式} 可设置为例如 \code{roman}、\code{Alph} 等格式。
+ 前言区命令,使部分和章标题不编号,带有星号的变体命令不使用 \cs{cleardoublepage} 命令。页码 \meta{编号格式} 可设置为例如 \code{roman} 或 \code{Alph} 等形式。
\command{mainmatter}[\sarg]
主文区命令,章标题正常编号且页码为从 1 开始计数的阿拉伯数字,带有星号的变体命令不使用 \cs{cleardoublepage} 清双页命令。
\command{backmatter} 后记区命令,页码格式与编号保持不变,章标题不编号。
@@ -260,14 +260,14 @@
\begin{options}
\opt{chapter}\Default!
- 使目录标题按照 \code{chapter} 级别输出,这是默认级别。
+ 使当前目录标题按照 \code{chapter} 章级别输出。
\opt{section}\Default!
- 使目录标题按照 \code{section} 级别输出。
+ 使当前目录标题按照 \code{section} 节级别输出。
\keybool{multoc}\Default{false}
与 \module*{style/}\option{multoc} 选项具有相同的效果,但是具有优先性且可单独设置不同目录是否多栏排版,栏数默认为双栏,可使用 \option{columns} 更改。
\keyval-{columns}{目录栏数}\Default{2}
设置目录的栏数,仅在 \keyis-{multoc}{true} 时有效,默认为双栏。
- \kvsplit{title}{中文目录标题,英文目录标题}\Default
+ \kvsplit{title}{中文目录标题,英文目录标题}\newline
用于更改目录的标题,标题之间用一个英文逗号分开,也可以只有一部分,表示中文目录的标题。当设置了英文目录标题时,英文目录标题将会自动加入主文档目录 \cs*{tableofcontents+} 命令。
\keyval-{format}{目录标题格式}\Default
在书籍模式且 \option{chapter} 选项开启或者文章模式的情况下,\option{format} 用于设置目录标题的格式。
@@ -432,24 +432,24 @@
\subsection{行距}
\label{subsec:spacing}
-行距因子用于设置各种行距倍数,只能是浮点数,不能带有长度单位。各行距既可在导言区全局设置也可正文中设置对后面生效。
+行距因子用于设置各种行距倍数,\meta{数值} 是不带有长度单位的浮点数。各类行距既可以在导言区全局设置,也可以在正文中设置对后面生效。
\begin{options}
\keyval-{line}{数值}\Module{spread}\Default{1.3}
- 正文行距,C\TeX 原有的行距选项 \option*{linespread} 失效。
+ 正文行距因子,C\TeX 原有的行距选项 \option*{linespread} 失效。
\keyval-{table}{数值}\Default{1.05}
- 表格行距,对传统表格环境 \env*{tabular}、\env*{tabularx} 以及 \pkg*{tabularray} 宏包的 \env{tblr} 环境生效,同时 \env{tblr} 也自带有 \option*{stretch} 选项设置行距。
+ 表格行距因子,对传统表格环境 \env*{tabular}、\env*{tabularx} 以及 \pkg*{tabularray} 宏包的 \env{tblr} 环境生效,同时 \env{tblr} 也自带有 \option*{stretch} 选项设置行距。
\keyval-{math}{数值}\Default{1.05}
- 数学环境行距,包括 \pkg*{amsmath} 和 \pkg*{mathtools} 宏包附带的环境,但并未加载 \pkg*{mathtools} 宏包。
+ 数学环境的行距因子,包含了 \pkg*{amsmath} 和 \pkg*{mathtools} 宏包提供的公式环境。
\keyval-{caption}{数值}\Default{1.1}
- 图片、表格和代码题注的行距。
+ 图片、表格和代码题注的行距因子。
\keyval-{footnote}{数值}\Default{1.1}
- 脚注整体内容的行距,可以使用 \option{fntext-form} 的代码覆盖每个脚注单独的行距,从而与不同脚注的段落间距不同。
+ 脚注整体内容的行距因子,可以使用 \option{fntext-form} 的代码覆盖每个脚注单独的行距,从而与不同脚注的段落间距不同。
\begin{ctexexam}
\spread{footnote = 1.3}
\hdrset{fntext-form = \linespread{1.2}\selectfont}
\end{ctexexam}
\keyval-{spread-all}{数值}\Default
- 统一设置上述各种行距。
+ 统一设置上述各种行距因子。
\end{options}
\subsection{其它字体}
@@ -749,7 +749,7 @@
\keyval-{belowoffset}{刚性长度}\Module{/(level)}\Default{0pc}
\code{level} 代表 \code{figure}、\code{table} 和 \code{lstlisting} 三个级别目录标题下方间距补偿,也可以使用 \code{list} 统一设置,一般为正值。这个距离也可以用 C\TeX 标题下方距离选项修改。
\keyval-{lolskip}{弹性长度}\Module{tocset}\Default{0.8pc}
- 代码目录中章之间的代码标题的距离,与 C\TeX 的表格目录和图片目录中章之间的标题距离选项 \option*{lotskip} 和 \option*{lofskip} 类似,它们的值均默认为 \code{0.8pc},在 \cls*{article} 模式中此选项失效。
+ 代码目录中每章代码标题的额外距离,与 C\TeX 的表格和图片目录中每章间的标题距离选项 \option*{lotskip} 和 \option*{lofskip} 类似,在 \cls*{article} 模式中此选项失效。
\keyval-{tocline-fig}{图片目录标签}
图片目录标签,选项参数中 \code{\#1} 代表编号,还可包含标签名称,默认标签名称与图片题注名称一致。
\keyval-{tocline-tab}{表格目录标签}
diff --git a/macros/latex/contrib/projlib/ProjLib-doc-cn.pdf b/macros/latex/contrib/projlib/ProjLib-doc-cn.pdf
index bc47e1c0c6..9a561d6472 100644
--- a/macros/latex/contrib/projlib/ProjLib-doc-cn.pdf
+++ b/macros/latex/contrib/projlib/ProjLib-doc-cn.pdf
Binary files differ
diff --git a/macros/latex/contrib/projlib/ProjLib-doc-en.pdf b/macros/latex/contrib/projlib/ProjLib-doc-en.pdf
index 18f374500e..d5d058f7a8 100644
--- a/macros/latex/contrib/projlib/ProjLib-doc-en.pdf
+++ b/macros/latex/contrib/projlib/ProjLib-doc-en.pdf
Binary files differ
diff --git a/macros/latex/contrib/projlib/ProjLib-doc-fr.pdf b/macros/latex/contrib/projlib/ProjLib-doc-fr.pdf
index 1b11d43a80..ffdf43be50 100644
--- a/macros/latex/contrib/projlib/ProjLib-doc-fr.pdf
+++ b/macros/latex/contrib/projlib/ProjLib-doc-fr.pdf
Binary files differ
diff --git a/macros/latex/contrib/projlib/ProjLib-doc.dtx b/macros/latex/contrib/projlib/ProjLib-doc.dtx
index 05c3977be8..161f53b2cd 100644
--- a/macros/latex/contrib/projlib/ProjLib-doc.dtx
+++ b/macros/latex/contrib/projlib/ProjLib-doc.dtx
@@ -108,25 +108,25 @@
%<*ProjLib-doc-cn>
\title{\ProjLib{} 工具集\\[.3\baselineskip]\normalsize 使用指南}
\author{许锦文}
-\thanks{对应版本.~~\texttt{\ProjLib{}~2021/07/30}}
+\thanks{对应版本.~~\texttt{\ProjLib{}~2021/08/07}}
\email{\href{mailto:ProjLib@outlook.com}{ProjLib@outlook.com}}
-\date{2021年7月,北京}
+\date{2021年8月,北京}
%</ProjLib-doc-cn>
%
%<*ProjLib-doc-en>
\title{\ProjLib{}~\,Toolkit\\[.3\baselineskip]\normalsize User Manual}
\author{Jinwen XU}
-\thanks{Corresponding to: \texttt{\ProjLib{}~2021/07/30}}
+\thanks{Corresponding to: \texttt{\ProjLib{}~2021/08/07}}
\email{\href{mailto:ProjLib@outlook.com}{ProjLib@outlook.com}}
-\date{July 2021, Beijing}
+\date{August 2021, Beijing}
%</ProjLib-doc-en>
%
%<*ProjLib-doc-fr>
\title{La boîte à outils~\,\ProjLib{}\\[.3\baselineskip]\normalsize Manuel d'utilisation}
\author{Jinwen XU}
-\thanks{Correspondant à : \texttt{\ProjLib{}~2021/07/30}}
+\thanks{Correspondant à : \texttt{\ProjLib{}~2021/08/07}}
\email{\href{mailto:ProjLib@outlook.com}{ProjLib@outlook.com}}
-\date{Juillet 2021, à Pékin}
+\date{Août 2021, à Pékin}
%</ProjLib-doc-fr>
\maketitle
@@ -403,7 +403,7 @@ For detailed description of this command and more related commands, please refer
\UseLanguage{French}
\end{code}
-Cette ligne indique que le français sera utilisé dans le document (d'ailleurs, si seul l'anglais apparaît dans votre article, alors il n'est pas nécessaire de choisir la langue). Vous pouvez également changer de langue de la même manière plus tard au milieu du texte. Les langues prises en charge sont les suivantes : chinois simplifié, chinois traditionnel, japonais, anglais, français, allemand, espagnol, portugais, portugais brésilien et russe\footnote{Cependant, vous devez ajouter vous-même l'encodage et les polices de la langue correspondante. Par exemple, pour le chinois, vous devrez peut-être ajouter le package \textsf{ctex} et choisir les polices. Pour rappel, vous pouvez essayer les classes de documents \textsf{einfart} ou \textsf{lebhart} de l'auteur, dans lesquelles les paramètres correspondants ont été effectués. Pour les détails, exécutez \lstinline|texdoc minimalist| ou \lstinline|coloriste texdoc| en ligne de commande.}.
+Cette ligne indique que le français sera utilisé dans le document (d'ailleurs, si seul l'anglais apparaît dans votre article, alors il n'est pas nécessaire de choisir la langue). Vous pouvez également changer de langue de la même manière plus tard au milieu du texte. Les langues prises en charge sont : chinois simplifié, chinois traditionnel, japonais, anglais, français, allemand, espagnol, portugais, portugais brésilien et russe\footnote{Cependant, vous devez ajouter vous-même l'encodage et les polices de la langue correspondante. Par exemple, pour le chinois, vous devrez peut-être ajouter le package \textsf{ctex} et choisir les polices. Pour rappel, vous pouvez essayer les classes de documents \textsf{einfart} ou \textsf{lebhart} de l'auteur, dans lesquelles les paramètres correspondants ont été effectués. Pour les détails, exécutez \lstinline|texdoc minimalist| ou \lstinline|coloriste texdoc| en ligne de commande.}.
Pour une description détaillée de cette commande et d'autres commandes associées, veuillez vous référer à la section sur le support multilingue.
%</ProjLib-doc-fr>
@@ -669,12 +669,14 @@ In addition, there are also some options of the components that should be passed
\end{itemize}
\item \texttt{amsfashion}
\begin{itemize}
- \item Permet à l'utilisateur d'écrire à la manière \AmS{}. En attendant, l'option \texttt{author} sera automatiquement activée.
+ \item Permet d'écrire à la manière \AmS{}. En attendant, l'option \texttt{author} sera automatiquement activée.
\end{itemize}
\end{itemize}
De plus, il existe également certaines options des composants qui doivent être passées en tant qu'options globales de votre classe de document, telles que les options de langue de \PJLlang{} comme \texttt{EN} / \texttt{english} / \texttt{English}, \texttt{FR} / \texttt{french} / \texttt{French} etc., et les options de papier de \PJLpaper{} comme \texttt{paperstyle} et \texttt{preview}. Pour plus d'informations, veuillez vous référer aux sections correspondantes.
%</ProjLib-doc-fr>
+
+
\clearpage
%<*ProjLib-doc-cn>
@@ -690,7 +692,19 @@ De plus, il existe également certaines options des composants qui doivent être
%</ProjLib-doc-fr>
%<*ProjLib-doc-cn>
-\subsection{PJLauthor:增强的作者信息块}
+\subsection{主要功能}
+%</ProjLib-doc-cn>
+%
+%<*ProjLib-doc-en>
+\subsection{Main function}
+%</ProjLib-doc-en>
+%
+%<*ProjLib-doc-fr>
+\subsection{Fonction principale}
+%</ProjLib-doc-fr>
+
+%<*ProjLib-doc-cn>
+\subsubsection{PJLauthor:增强的作者信息块}
\PJLauthor{} 提供了 \lstinline|\address|、\lstinline|\curraddr|、\lstinline|\email| 命令,并且允许输入多组用户信息。标准的输入方式是这样的:
\begin{code}
@@ -718,7 +732,7 @@ De plus, il existe également certaines options des composants qui doivent être
%</ProjLib-doc-cn>
%
%<*ProjLib-doc-en>
-\subsection{PJLauthor: enhanced author block}
+\subsubsection{PJLauthor: enhanced author block}
\PJLauthor{} offers \lstinline|\address|, \lstinline|\curraddr| and \lstinline|\email|, and allows you to enter multiple groups of author information. The standard usage is like this:
\begin{code}
@@ -746,7 +760,7 @@ In addition, you can use the option \texttt{amsfashion} to enable the \AmS{} fas
%</ProjLib-doc-en>
%
%<*ProjLib-doc-fr>
-\subsection{PJLauthor : bloc auteur amélioré}
+\subsubsection{PJLauthor : bloc auteur amélioré}
\PJLauthor{} propose les macros \lstinline|\address|, \lstinline|\curraddr| et \lstinline|\email|, et vous permet de saisir plusieurs groupes d'informations sur l'auteur. L'utilisation standard est comme ceci :
\begin{code}
@@ -773,68 +787,9 @@ De plus, vous pouvez utiliser l'option \texttt{amsfashion} pour écrire à la ma
\end{tip}
%</ProjLib-doc-fr>
-%<*ProjLib-doc-cn>
-\subsection{PJLdate:智能日期处理}
-
-\PJLdatePackage{} 提供了 \lstinline|\PLdate|\meta{yyyy-mm-dd} (或 \lstinline|\PJLdate|\meta{yyyy-mm-dd}) 命令,以将 \meta{yyyy-mm-dd} 转换为当前语言的日期格式显示。例如,在当前的中文语境下,\lstinline|\PLdate{2022-04-01}| 会被显示为“\PJLdate{2022-04-01}”,而在英文语境下则会被显示为“\UseOtherLanguage{English}{\PJLdate{2022-04-01}}”。
-
-关于如何选定语言,请参阅关于 \PJLlang{} 的小节。
-%</ProjLib-doc-cn>
-%
-%<*ProjLib-doc-en>
-\subsection{PJLdate: date-time processing}
-
-\PJLdatePackage{} offers the \lstinline|\PLdate|\meta{yyyy-mm-dd} (or \lstinline|\PJLdate|\meta{yyyy-mm-dd}) macro to convert \meta{yyyy-mm-dd} into the date format of the currently selected language. For example, in current English context, \lstinline|\PLdate{2022-04-01}| would become ``\PLdate{2022-04-01}'', while in French context as ``\UseOtherLanguage{French}{\PLdate{2022-04-01}}''.
-
-For details on how to select a language, please refer to the section on \PJLlang{}.
-%</ProjLib-doc-en>
-%
-%<*ProjLib-doc-fr>
-\subsection{PJLdate : traitement de date-heure}
-
-\PJLdatePackage{} propose la macro \lstinline|\PLdate|\meta{yyyy-mm-dd} (ou \lstinline|\PJLdate|\meta{yyyy-mm-dd}) pour convertir \meta{yyyy-mm-dd} dans le format de date de la langue actuellement sélectionnée. Par exemple, dans le contexte français actuel, \lstinline|\PLdate{2022-04-01}| deviendrait «~\PLdate{2022-04-01}~», tandis que dans le contexte anglais «~\UseOtherLanguage{English}{\PLdate{2022-04-01}}~».
-
-Pour plus de détails sur la façon de sélectionner une langue, veuillez vous référer à la section sur \PJLlang{}.
-%</ProjLib-doc-fr>
-
-%<*ProjLib-doc-cn>
-\subsection{PJLdraft:未完成标记}
-
-\PJLdraft{} 提供了下列命令:
-\begin{itemize}\setstretch{1.15}
- \item \lstinline|\dnf| 或 \lstinline|\dnf<...>|。效果为:\dnf~或 \dnf<...>。\\其提示文字与当前语言相对应,例如,在法语模式下将会显示为 \UseOtherLanguage{French}{\dnf}。
- \item \lstinline|\needgraph| 或 \lstinline|\needgraph<...>|。效果为:\needgraph~或 \needgraph<...>其提示文字与当前语言相对应,例如,在法语模式下将会显示为 \UseOtherLanguage{French}{\needgraph}
-\end{itemize}
-
-关于如何选定语言,请参阅关于 \PJLlang{} 的小节。
-%</ProjLib-doc-cn>
-%
-%<*ProjLib-doc-en>
-\subsection{PJLdraft: draft marks}
-
-\PJLdraft{} offers the following macros:
-\begin{itemize}
- \item \lstinline|\dnf| or \lstinline|\dnf<...>|. The effect is: \dnf~ or \dnf<...>. \\The prompt text changes according to the current language. For example, it will be displayed as \UseOtherLanguage{French}{\dnf} in French mode.
- \item \lstinline|\needgraph| or \lstinline|\needgraph<...>|. The effect is: \needgraph or \needgraph<...>The prompt text changes according to the current language. For example, in French mode, it will be displayed as \UseOtherLanguage{French}{\needgraph}
-\end{itemize}
-
-For details on how to select a language, please refer to the section on \PJLlang{}.
-%</ProjLib-doc-en>
-%
-%<*ProjLib-doc-fr>
-\subsection{PJLdraft : marques de brouillon}
-
-\PJLdraft{} propose les macros suivantes :
-\begin{itemize}
- \item \lstinline|\dnf| ou \lstinline|\dnf<...>|. L'effet est : \dnf~ ou \dnf<...>. \\Le texte à l'intérieur changera en fonction de la langue actuelle. Par exemple, il sera affiché sous la forme \UseOtherLanguage{English}{\dnf} en mode anglais.
- \item \lstinline|\needgraph| ou \lstinline|\needgraph<...>|. L'effet est : \needgraph ou \needgraph<...>Le texte de l'invite change en fonction de la langue actuelle. Par exemple, en mode anglais, il sera affiché sous la forme \UseOtherLanguage{English}{\needgraph}
-\end{itemize}
-
-Pour plus de détails sur la façon de sélectionner une langue, veuillez vous référer à la section sur \PJLlang{}.
-%</ProjLib-doc-fr>
%<*ProjLib-doc-cn>
-\subsection{PJLlang:多语言支持}
+\subsubsection{PJLlang:多语言支持}
\PJLlang{} 提供了多语言支持,包括简体中文、繁体中文、英文、法文、德文、日文、俄文 (其中中文、日文、俄文需要相应的 \TeX{} 引擎与字体支持)。
@@ -858,7 +813,8 @@ Pour plus de détails sur la façon de sélectionner une langue, veuillez vous r
\end{itemize}
\end{itemize}
-\medskip
+% \medskip
+\clearpage
\meta{language name} 有下列选择 (不区分大小写,如 \texttt{French} 或 \texttt{french} 均可):
\begin{itemize}\setstretch{1.15}
\item 简体中文:\texttt{CN}、\texttt{Chinese}、\texttt{SChinese} 或 \texttt{SimplifiedChinese}
@@ -890,7 +846,7 @@ Pour plus de détails sur la façon de sélectionner une langue, veuillez vous r
%</ProjLib-doc-cn>
%
%<*ProjLib-doc-en>
-\subsection{PJLlang: multi-language support}
+\subsubsection{PJLlang: multi-language support}
\PJLlang{} offers multi-language support, including simplified Chinese, traditional Chinese, English, French, German, Japanese, and Russian (among them, Chinese, Japanese, and Russian require appropriate \TeX{} engines and fonts to support).
@@ -941,7 +897,7 @@ For example, \lstinline|\AddLanguageSetting(German){\color{orange}}| can make al
%</ProjLib-doc-en>
%
%<*ProjLib-doc-fr>
-\subsection{PJLlang : support multilingue}
+\subsubsection{PJLlang : support multilingue}
\PJLlang{} offre le support multilingue, notamment : chinois simplifié, chinois traditionnel, anglais, français, allemand, japonais et russe (parmi eux, le chinois, le japonais et le russe requièrent des moteurs \TeX{} et des polices appropriés).
@@ -991,294 +947,9 @@ De plus, vous pouvez également ajouter de nouveaux paramètres à la langue sé
Par exemple, \lstinline|\AddLanguageSetting(German){\color{orange}}| peut rendre tout le texte allemand affiché en orange (bien sûr, il faut alors ajouter \lstinline|\AddLanguageSetting{\color{black}}| afin de corriger la couleur du texte dans d'autres langues).
%</ProjLib-doc-fr>
-%<*ProjLib-doc-cn>
-\clearpage
-\subsection{PJLlogo:\texorpdfstring{\ProjLib{} 图标}{ProjLib 图标}}
-
-\PJLlogo{} 提供了 \lstinline|\ProjLib| 命令用于绘制 Logo,效果为:\ProjLib{}。它与普通的文字指令效果类似,可以用于不同的字号:
-
-\vspace{-0.5\baselineskip}
-% \begin{longtable}{ll}
-\begin{center}
- \begin{tabular}{ll}
- \lstinline|\tiny|:& {\tiny\ProjLib}\\
- \lstinline|\scriptsize|:& {\scriptsize\ProjLib}\\
- \lstinline|\footnotesize|:& {\footnotesize\ProjLib}\\
- \lstinline|\normalsize|:& {\normalsize\ProjLib}\\
- \lstinline|\large|:& {\large\ProjLib}\\
- \lstinline|\Large|:& {\Large\ProjLib}\\
- \lstinline|\LARGE|:& {\LARGE\ProjLib}\\
- \lstinline|\huge|:& {\huge\ProjLib}\\
- \lstinline|\Huge|:& {\Huge\ProjLib}
- \end{tabular}
-\end{center}
-% \end{longtable}
-%</ProjLib-doc-cn>
-%
-%<*ProjLib-doc-en>
-\subsection{PJLlogo: the logo \texorpdfstring{\ProjLib}{ProjLib}}
-
-\PJLlogo{} offers the macro \lstinline|\ProjLib| to draw the logo, which looks like \ProjLib{}. It is similar to ordinary text macros and can be used with different font size macros:
-% \begin{itemize}
-% \item \lstinline|\tiny|:\quad {\tiny\ProjLib}
-% \item \lstinline|\scriptsize|:\quad {\scriptsize\ProjLib}
-% \item \lstinline|\footnotesize|:\quad {\footnotesize\ProjLib}
-% \item \lstinline|\normalsize|:\quad {\normalsize\ProjLib}
-% \item \lstinline|\large|:\quad {\large\ProjLib}
-% \item \lstinline|\Large|:\quad {\Large\ProjLib}
-% \item \lstinline|\LARGE|:\quad {\LARGE\ProjLib}
-% \item \lstinline|\huge|:\quad {\huge\ProjLib}
-% \item \lstinline|\Huge|:\quad {\Huge\ProjLib}
-% \end{itemize}
-% \bigskip
-
-% \begin{longtable}{ll}
-\begin{center}
- \begin{tabular}{ll}
- \lstinline|\tiny|:& {\tiny\ProjLib}\\
- \lstinline|\scriptsize|:& {\scriptsize\ProjLib}\\
- \lstinline|\footnotesize|:& {\footnotesize\ProjLib}\\
- \lstinline|\normalsize|:& {\normalsize\ProjLib}\\
- \lstinline|\large|:& {\large\ProjLib}\\
- \lstinline|\Large|:& {\Large\ProjLib}\\
- \lstinline|\LARGE|:& {\LARGE\ProjLib}\\
- \lstinline|\huge|:& {\huge\ProjLib}\\
- \lstinline|\Huge|:& {\Huge\ProjLib}
- \end{tabular}
-\end{center}
-% \end{longtable}
-%</ProjLib-doc-en>
-%
-%<*ProjLib-doc-fr>
-\subsection{PJLlogo : le logo \texorpdfstring{\ProjLib}{ProjLib}}
-
-\PJLlogo{} propose la macro \lstinline|\ProjLib| pour dessiner le logo, qui ressemble à \ProjLib{}. Elle est similaire aux macros de texte ordinaires et peut être utilisée avec différentes macros de taille de texte :
-
-% \begin{longtable}{ll}
-\begin{center}
- \begin{tabular}{ll}
- \lstinline|\tiny|:& {\tiny\ProjLib}\\
- \lstinline|\scriptsize|:& {\scriptsize\ProjLib}\\
- \lstinline|\footnotesize|:& {\footnotesize\ProjLib}\\
- \lstinline|\normalsize|:& {\normalsize\ProjLib}\\
- \lstinline|\large|:& {\large\ProjLib}\\
- \lstinline|\Large|:& {\Large\ProjLib}\\
- \lstinline|\LARGE|:& {\LARGE\ProjLib}\\
- \lstinline|\huge|:& {\huge\ProjLib}\\
- \lstinline|\Huge|:& {\Huge\ProjLib}
- \end{tabular}
-\end{center}
-% \end{longtable}
-%</ProjLib-doc-fr>
-
-%<*ProjLib-doc-cn>
-\subsection{PJLmath:数学符号与捷径}
-
-\PJLmath{} 提供下列捷径:
-\begin{enumerate}[label=\roman*)]
- \item \lstinline|\mathfrak{|$\cdot$\lstinline|}| $\longrightarrow$ \lstinline|\mf|$\cdot$ 或 \lstinline|\frak|$\cdot$。例如,\lstinline|\mfA| (或 \lstinline|\mf{A}|) 与 \lstinline|\mathfrak{A}| 效果相同. 这对大写、小写字母都有效:\vspace{-\baselineskip}
- \begin{align*}
- \mfa\mfb\mfc\mfd\mfe\mff\mfg\mfh\mfi\mfj\mfk\mfl\mfm\mfn&\mfo\mfp\mfq\mfr\mfs\mft\mfu\mfv\mfw\mfx\mfy\mfz\\
- \mfA\mfB\mfC\mfD\mfE\mfF\mfG\mfH\mfI\mfJ\mfK\mfL\mfM\mfN&\mfO\mfP\mfQ\mfR\mfS\mfT\mfU\mfV\mfW\mfX\mfY\mfZ
- \end{align*}
- \item \lstinline|\mathbb{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\bb|$\cdot$。这只针对大写字母或数字 \( 1 \).
- \begin{equation*}
- \bbA\bbB\bbC\bbD\bbE\bbF\bbG\bbH\bbI\bbJ\bbK\bbL\bbM\bbN\bbO\bbP\bbQ\bbR\bbS\bbT\bbU\bbV\bbW\bbX\bbY\bbZ\bb1
- \end{equation*}
- 对于常见的代数结构有这些特殊命令:\lstinline|\N|, \lstinline|\Z|, \lstinline|\Q|, \lstinline|\R|, \lstinline|\C|, \lstinline|\F|, \lstinline|\A|.
- \[
- \N\Z\Q\R\C\F\A
- \]
- \item \lstinline|\mathcal{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\mc|$\cdot$ 或 \lstinline|\cal|$\cdot$。这只针对大写字母。
- \begin{equation*}
- \mcA\mcB\mcC\mcD\mcE\mcF\mcG\mcH\mcI\mcJ\mcK\mcL\mcM\mcN\mcO\mcP\mcQ\mcR\mcS\mcT\mcU\mcV\mcW\mcX\mcY\mcZ
- \end{equation*}
- \item \lstinline|\mathscr{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\ms|$\cdot$ 或 \lstinline|\scr|$\cdot$。这只针对大写字母。
- \begin{equation*}
- \msA\msB\msC\msD\msE\msF\msG\msH\msI\msJ\msK\msL\msM\msN\msO\msP\msQ\msR\msS\msT\msU\msV\msW\msX\msY\msZ
- \end{equation*}
-\end{enumerate}
-
-另外,\PJLmath{} 还提供了一些 \LaTeX 中未自带的符号。
-
-\begin{longtable}[l]{ p{4cm} p{6cm} p{6cm} }
-\lstinline|\abs| & \lstinline|\abs{a}| $\rightarrow \abs{a}$ & 绝对值符号 \\
-\lstinline|\norm| & \lstinline|\norm{a}| $\rightarrow \norm{a}$ & 范数符号 \\
-\lstinline|\injection| & \lstinline|\injection| $\rightarrow ~\injection$ & 表示单射的箭头符号 \\
-\lstinline|\surjection| & \lstinline|\surjection| $\rightarrow ~\surjection$ & 表示满射的箭头符号 \\
-\lstinline|\bijection| & \lstinline|\bijection| $\rightarrow ~\bijection$ & 表示双射的箭头符号 \\
-% \lstinline|\legendre| & \lstinline|\legendre{a}{p}| $\rightarrow \legendre{a}{p}$ & Legendre 符号 \\
-% & \lstinline|\legendre[z]{a}{p}| $\rightarrow \legendre[z]{a}{p}$ & \\
-% \lstinline|\tlegendre| & \lstinline|\tlegendre{a}{p}| $\rightarrow \tlegendre{a}{p}$ & Legendre 符号 (text style) \\
-% \lstinline|\dlegendre| & \lstinline|\dlegendre{a}{p}| $\rightarrow \dlegendre{a}{p}$ & Legendre 符号 (display style) \\
-\end{longtable}
-%</ProjLib-doc-cn>
-%
-%<*ProjLib-doc-en>
-\medskip
-\subsection{PJLmath: math symbols and shortcuts}
-
-\PJLmath{} offers the following shortcuts:
-\begin{enumerate}[label=\roman*)]
- \item \lstinline|\mathfrak{|$\cdot$\lstinline|}| $\longrightarrow$ \lstinline|\mf|$\cdot$ or \lstinline|\frak|$\cdot$ . For example, \lstinline|\mfA| (or \lstinline|\mf{A}|) has the same effect as \lstinline|\mathfrak{A}|. This works for both upper and lower case, producing:
- \begin{align*}
- \mfa\mfb\mfc\mfd\mfe\mff\mfg\mfh\mfi\mfj\mfk\mfl\mfm\mfn&\mfo\mfp\mfq\mfr\mfs\mft\mfu\mfv\mfw\mfx\mfy\mfz\\
- \mfA\mfB\mfC\mfD\mfE\mfF\mfG\mfH\mfI\mfJ\mfK\mfL\mfM\mfN&\mfO\mfP\mfQ\mfR\mfS\mfT\mfU\mfV\mfW\mfX\mfY\mfZ
- \end{align*}
- \item \lstinline|\mathbb{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\bb|$\cdot$ . This only works for uppercase alphabet and the number \( 1 \).
- \begin{equation*}
- \bbA\bbB\bbC\bbD\bbE\bbF\bbG\bbH\bbI\bbJ\bbK\bbL\bbM\bbN\bbO\bbP\bbQ\bbR\bbS\bbT\bbU\bbV\bbW\bbX\bbY\bbZ\bb1
- \end{equation*}
- There are also special command for well-known algebraic structures: \lstinline|\N|, \lstinline|\Z|, \lstinline|\Q|, \lstinline|\R|, \lstinline|\C|, \lstinline|\F|, \lstinline|\A|.
- \[
- \N\Z\Q\R\C\F\A
- \]
- \item \lstinline|\mathcal{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\mc|$\cdot$ or \lstinline|\cal|$\cdot$ . This only works for uppercase alphabet.
- \begin{equation*}
- \mcA\mcB\mcC\mcD\mcE\mcF\mcG\mcH\mcI\mcJ\mcK\mcL\mcM\mcN\mcO\mcP\mcQ\mcR\mcS\mcT\mcU\mcV\mcW\mcX\mcY\mcZ
- \end{equation*}
- \item \lstinline|\mathscr{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\ms|$\cdot$ or \lstinline|\scr|$\cdot$ . This only works for uppercase alphabet.
- \begin{equation*}
- \msA\msB\msC\msD\msE\msF\msG\msH\msI\msJ\msK\msL\msM\msN\msO\msP\msQ\msR\msS\msT\msU\msV\msW\msX\msY\msZ
- \end{equation*}
-\end{enumerate}
-
-In addition, \PJLmath{} also provides some math symbols that are not by default included in \LaTeX{}.
-
-\begin{longtable}[l]{ p{4cm} p{6cm} p{6cm}}
-\lstinline|\abs| & \lstinline|\abs{a}| $\rightarrow \abs{a}$ & absolute value symbol \\
-\lstinline|\norm| & \lstinline|\norm{a}| $\rightarrow \norm{a}$ & norm symbol \\
-\lstinline|\injection| & \lstinline|\injection| $\rightarrow ~\injection$ & arrow symbol for injection \\
-\lstinline|\surjection| & \lstinline|\surjection| $\rightarrow ~\surjection$ & arrow symbol for surjection \\
-\lstinline|\bijection| & \lstinline|\bijection| $\rightarrow ~\bijection$ & arrow symbol for bijection \\
-% \lstinline|\legendre| & \lstinline|\legendre{a}{p}| $\rightarrow \legendre{a}{p}$ & Legendre symbol \\
-% & \lstinline|\legendre[z]{a}{p}| $\rightarrow \legendre[z]{a}{p}$ & \\
-% \lstinline|\tlegendre| & \lstinline|\tlegendre{a}{p}| $\rightarrow \tlegendre{a}{p}$ & Legendre symbol (text style) \\
-% \lstinline|\dlegendre| & \lstinline|\dlegendre{a}{p}| $\rightarrow \dlegendre{a}{p}$ & Legendre symbol (display style) \\
-\end{longtable}
-%
-% There's also a starred version of \lstinline|\pmod|, which eliminate the spacing before it: \lstinline|a\pmod*{4}| $\rightarrow a\pmod*{4}$. Compared with: \lstinline|a\pmod{4}| $\rightarrow a\pmod{4}$.
-%</ProjLib-doc-en>
-%
-%<*ProjLib-doc-fr>
-\subsection{PJLmath : symboles et raccourcis mathématiques}
-
-\PJLmath{} propose les raccourcis suivants :
-\begin{enumerate}[label=\roman*)]
- \item \lstinline|\mathfrak{|$\cdot$\lstinline|}| $\longrightarrow$ \lstinline|\mf|$\cdot$ ou \lstinline|\frak|$\cdot$ . Par exemple, \lstinline|\mfA| (ou \lstinline|\mf{A}|) a le même effet que \lstinline|\mathfrak{A}|. Cela fonctionne à la fois pour l'alphabet majuscule et minuscule, produisant :
- \begin{align*}
- \mfa\mfb\mfc\mfd\mfe\mff\mfg\mfh\mfi\mfj\mfk\mfl\mfm\mfn&\mfo\mfp\mfq\mfr\mfs\mft\mfu\mfv\mfw\mfx\mfy\mfz\\
- \mfA\mfB\mfC\mfD\mfE\mfF\mfG\mfH\mfI\mfJ\mfK\mfL\mfM\mfN&\mfO\mfP\mfQ\mfR\mfS\mfT\mfU\mfV\mfW\mfX\mfY\mfZ
- \end{align*}
- \item \lstinline|\mathbb{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\bb|$\cdot$ . Cela ne fonctionne que pour l'alphabet majuscule et le nombre \( 1 \).
- \begin{equation*}
- \bbA\bbB\bbC\bbD\bbE\bbF\bbG\bbH\bbI\bbJ\bbK\bbL\bbM\bbN\bbO\bbP\bbQ\bbR\bbS\bbT\bbU\bbV\bbW\bbX\bbY\bbZ\bb1
- \end{equation*}
- Il y a aussi des commandes spéciales pour les structures algébriques bien connues : \lstinline|\N|, \lstinline|\Z|, \lstinline|\Q|, \lstinline|\R|, \lstinline|\C|, \lstinline|\F|, \lstinline|\A|.
- \[
- \N\Z\Q\R\C\F\A
- \]
- \item \lstinline|\mathcal{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\mc|$\cdot$ or \lstinline|\cal|$\cdot$ . Cela ne fonctionne que pour l'alphabet majuscule.
- \begin{equation*}
- \mcA\mcB\mcC\mcD\mcE\mcF\mcG\mcH\mcI\mcJ\mcK\mcL\mcM\mcN\mcO\mcP\mcQ\mcR\mcS\mcT\mcU\mcV\mcW\mcX\mcY\mcZ
- \end{equation*}
- \item \lstinline|\mathscr{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\ms|$\cdot$ or \lstinline|\scr|$\cdot$ . Cela ne fonctionne que pour l'alphabet majuscule.
- \begin{equation*}
- \msA\msB\msC\msD\msE\msF\msG\msH\msI\msJ\msK\msL\msM\msN\msO\msP\msQ\msR\msS\msT\msU\msV\msW\msX\msY\msZ
- \end{equation*}
-\end{enumerate}
-
-De plus, \PJLmath{} fournit également des symboles mathématiques qui ne sont pas inclus par défaut avec \LaTeX{}.
-
-\begin{longtable}[l]{ p{4cm} p{6cm} p{6cm}}
-\lstinline|\abs| & \lstinline|\abs{a}| $\rightarrow \abs{a}$ & symbole de valeur absolue \\
-\lstinline|\norm| & \lstinline|\norm{a}| $\rightarrow \norm{a}$ & symbole de norme \\
-\lstinline|\injection| & \lstinline|\injection| $\rightarrow ~\injection$ & symbole de flèche pour l'injection \\
-\lstinline|\surjection| & \lstinline|\surjection| $\rightarrow ~\surjection$ & symbole de flèche pour la surjection \\
-\lstinline|\bijection| & \lstinline|\bijection| $\rightarrow ~\bijection$ & symbole de flèche pour la bijection \\
-% \lstinline|\legendre| & \lstinline|\legendre{a}{p}| $\rightarrow \legendre{a}{p}$ & Symbole Legendre \\
-% & \lstinline|\legendre[z]{a}{p}| $\rightarrow \legendre[z]{a}{p}$ & \\
-% \lstinline|\tlegendre| & \lstinline|\tlegendre{a}{p}| $\rightarrow \tlegendre{a}{p}$ & Symbole Legendre (text-style) \\
-% \lstinline|\dlegendre| & \lstinline|\dlegendre{a}{p}| $\rightarrow \dlegendre{a}{p}$ & Symbole Legendre (display-style) \\
-\end{longtable}
-%</ProjLib-doc-fr>
-
-\clearpage
-%<*ProjLib-doc-cn>
-\subsection{PJLpaper:纸张设置}
-
-\PJLpaper{} 主要用于调节纸张颜色。它支持下列选项:
-
-\begin{itemize}
- \item \texttt{paperstyle = \meta{paper style name}}
- \begin{itemize}
- \item 设定纸张色彩样式。\meta{paper style name} 可供选择的选项有:\texttt{yellow}、\texttt{dark} 与 \texttt{nord}。
- \end{itemize}
- \item \texttt{yellowpaper}、\texttt{darkpaper}、\texttt{nordpaper}
- \begin{itemize}
- \item 设定纸张色彩样式。效果与相应名称的 \texttt{paperstyle} 相同。
- \end{itemize}
- \item \texttt{preview}
- \begin{itemize}
- \item 预览模式,将会把 pdf 文件的白边去掉以方便阅读。
- \end{itemize}
-\end{itemize}
-
-为了使用的方便,建议把这些选项作为文档类的全局参数,这样对于文档的纸张设定一目了然。
-%</ProjLib-doc-cn>
-%
-%<*ProjLib-doc-en>
-\subsection{PJLpaper: paper configuration}
-
-\PJLpaper{} is mainly used to adjust the paper color. It has the following options:
-
-\vspace{-.3\baselineskip}
-\begin{itemize}
- \item \texttt{paperstyle = \meta{paper style name}}
- \begin{itemize}
- \item Set the paper color style. The options available for \meta{paper style name} are: \texttt{yellow}, \texttt{dark} and \texttt{nord}.
- \end{itemize}
- \item \texttt{yellowpaper}, \texttt{darkpaper}, \texttt{nordpaper}
- \begin{itemize}
- \item Same as \texttt{paperstyle} with the corresponding \meta{paper style name} specified.
- \end{itemize}
- \item \texttt{preview}
- \begin{itemize}
- \item Preview mode. Crop the white edges of pdf file for the convenience of reading.
- \end{itemize}
-\end{itemize}
-\vspace{-.3\baselineskip}
-
-It is recommended to use them as global options of the document class. In this way, the paper settings would be clear at a glance.
-%</ProjLib-doc-en>
-%
-%<*ProjLib-doc-fr>
-\subsection{PJLpaper : configuration papier}
-
-\PJLpaper{} est principalement utilisé pour ajuster la couleur du papier. Il a les options suivantes :
-
-\vspace{-.3\baselineskip}
-\begin{itemize}
- \item \texttt{paperstyle = \meta{paper style name}}
- \begin{itemize}
- \item Définit le style de couleur du papier. Les options disponibles pour \meta{paper style name} sont : \texttt{yellow}, \texttt{dark} et \texttt{nord}.
- \end{itemize}
- \item \texttt{yellowpaper}, \texttt{darkpaper}, \texttt{nordpaper}
- \begin{itemize}
- \item Identique à \texttt{paperstyle} avec le \meta{paper style name} correspondant spécifié.
- \end{itemize}
- \item \texttt{preview}
- \begin{itemize}
- \item Mode aperçu. Recadrez les bords blancs du fichier pdf pour faciliter la lecture.
- \end{itemize}
-\end{itemize}
-\vspace{-.3\baselineskip}
-
-Il est recommandé de les passer comme options globales de la classe de document. De cette façon, les paramètres du papier seraient clairs en un coup d'œil.
-%</ProjLib-doc-fr>
%<*ProjLib-doc-cn>
-\subsection{PJLthm:带有智能引用与多语言支持的定理类环境}
+\subsubsection{PJLthm:带有智能引用与多语言支持的定理类环境}
\PJLthm{} 提供定理类环境的设置。它支持下列选项:
\begin{itemize}
@@ -1323,7 +994,6 @@ Il est recommandé de les passer comme options globales de la classe de document
\vspace{-.15\baselineskip}%
其中,\meta{language name} 可参阅关于 \PJLlang{} 的小节。当不指定 \meta{language name}时,则会将该名称设置为所有支持语言下的名称。另外,带星号与不带星号的同名环境共用一个名称,因此 \lstinline|\NameTheorem{envname*}{...}| 与 \lstinline|\NameTheorem{envname}{...}| 效果相同。
-\clearpage
然后用下面五种方式之一定义这一环境:
\begin{itemize}
\item \lstinline|\CreateTheorem*{|\meta{name of environment}\lstinline|}|
@@ -1382,7 +1052,7 @@ Il est recommandé de les passer comme options globales de la classe de document
%</ProjLib-doc-cn>
%
%<*ProjLib-doc-en>
-\subsection{PJLthm: theorem-like environments with clever reference and multilingual support}
+\subsubsection{PJLthm: theorem-like environments with clever reference and multilingual support}
\PJLthm{} offers the configuration of theorem-like environments. It has the following option:
@@ -1430,7 +1100,6 @@ If you need to define a new theorem-like environment, you must first define the
\end{itemize}
For \meta{language name}, please refer to the section on \PJLlang{}. When \meta{language name} is not specified, the name will be set for all supported languages. In addition, environments with or without asterisk share the same name, therefore, \lstinline|\NameTheorem{envname*}{...}| has the same effect as \lstinline|\NameTheorem{envname}{...}| .
-\clearpage
And then define this environment in one of following five ways:
\vspace{-.3\baselineskip}
\begin{itemize}
@@ -1490,7 +1159,7 @@ defines an unnumbered environment \lstinline|proofidea*| and a numbered environm
%</ProjLib-doc-en>
%
%<*ProjLib-doc-fr>
-\subsection{PJLthm : environnements de type théorème avec référence intelligente et support multilingue}
+\subsubsection{PJLthm : environnements de type théorème avec référence intelligente et support multilingue}
\PJLthm{} offre la configuration d'environnements de type théorème. Il a l'option suivante :
@@ -1582,6 +1251,368 @@ définit un environnement non numéroté \lstinline|proofidea*| et un environnem
\end{proofidea}
%</ProjLib-doc-fr>
+
+
+\bigskip
+
+%<*ProjLib-doc-cn>
+\subsection{次要功能}
+%</ProjLib-doc-cn>
+%
+%<*ProjLib-doc-en>
+\subsection{Secondary function}
+%</ProjLib-doc-en>
+%
+%<*ProjLib-doc-fr>
+\subsection{Fonction secondaire}
+%</ProjLib-doc-fr>
+
+%<*ProjLib-doc-cn>
+\subsubsection{PJLdate:智能日期处理}
+
+\PJLdatePackage{} 提供了 \lstinline|\PLdate|\meta{yyyy-mm-dd} (或 \lstinline|\PJLdate|\meta{yyyy-mm-dd}) 命令,以将 \meta{yyyy-mm-dd} 转换为当前语言的日期格式显示。例如,在当前的中文语境下,\lstinline|\PLdate{2022-04-01}| 会被显示为“\PJLdate{2022-04-01}”,而在英文语境下则会被显示为“\UseOtherLanguage{English}{\PJLdate{2022-04-01}}”。
+
+关于如何选定语言,请参阅关于 \PJLlang{} 的小节。
+%</ProjLib-doc-cn>
+%
+%<*ProjLib-doc-en>
+\subsubsection{PJLdate: date-time processing}
+
+\PJLdatePackage{} offers the \lstinline|\PLdate|\meta{yyyy-mm-dd} (or \lstinline|\PJLdate|\meta{yyyy-mm-dd}) macro to convert \meta{yyyy-mm-dd} into the date format of the currently selected language. For example, in current English context, \lstinline|\PLdate{2022-04-01}| would become ``\PLdate{2022-04-01}'', while in French context as ``\UseOtherLanguage{French}{\PLdate{2022-04-01}}''.
+
+For details on how to select a language, please refer to the section on \PJLlang{}.
+%</ProjLib-doc-en>
+%
+%<*ProjLib-doc-fr>
+\subsubsection{PJLdate : traitement de date-heure}
+
+\PJLdatePackage{} propose la macro \lstinline|\PLdate|\meta{yyyy-mm-dd} (ou \lstinline|\PJLdate|\meta{yyyy-mm-dd}) pour convertir \meta{yyyy-mm-dd} dans le format de date de la langue actuellement sélectionnée. Par exemple, dans le contexte français actuel, \lstinline|\PLdate{2022-04-01}| deviendrait «~\PLdate{2022-04-01}~», tandis que dans le contexte anglais «~\UseOtherLanguage{English}{\PLdate{2022-04-01}}~».
+
+Pour plus de détails sur la façon de sélectionner une langue, veuillez vous référer à la section sur \PJLlang{}.
+%</ProjLib-doc-fr>
+
+%<*ProjLib-doc-cn>
+\subsubsection{PJLdraft:未完成标记}
+
+\PJLdraft{} 提供了下列命令:
+\begin{itemize}\setstretch{1.15}
+ \item \lstinline|\dnf| 或 \lstinline|\dnf<...>|。效果为:\dnf~或 \dnf<...>。\\其提示文字与当前语言相对应,例如,在法语模式下将会显示为 \UseOtherLanguage{French}{\dnf}。
+ \item \lstinline|\needgraph| 或 \lstinline|\needgraph<...>|。效果为:\needgraph~或 \needgraph<...>其提示文字与当前语言相对应,例如,在法语模式下将会显示为 \UseOtherLanguage{French}{\needgraph}
+\end{itemize}
+
+关于如何选定语言,请参阅关于 \PJLlang{} 的小节。
+%</ProjLib-doc-cn>
+%
+%<*ProjLib-doc-en>
+\subsubsection{PJLdraft: draft marks}
+
+\PJLdraft{} offers the following macros:
+\begin{itemize}
+ \item \lstinline|\dnf| or \lstinline|\dnf<...>|. The effect is: \dnf~ or \dnf<...>. \\The prompt text changes according to the current language. For example, it will be displayed as \UseOtherLanguage{French}{\dnf} in French mode.
+ \item \lstinline|\needgraph| or \lstinline|\needgraph<...>|. The effect is: \needgraph or \needgraph<...>The prompt text changes according to the current language. For example, in French mode, it will be displayed as \UseOtherLanguage{French}{\needgraph}
+\end{itemize}
+
+For details on how to select a language, please refer to the section on \PJLlang{}.
+%</ProjLib-doc-en>
+%
+%<*ProjLib-doc-fr>
+\subsubsection{PJLdraft : marques de brouillon}
+
+\PJLdraft{} propose les macros suivantes :
+\begin{itemize}
+ \item \lstinline|\dnf| ou \lstinline|\dnf<...>|. L'effet est : \dnf~ ou \dnf<...>. \\Le texte à l'intérieur changera en fonction de la langue actuelle. Par exemple, il sera affiché sous la forme \UseOtherLanguage{English}{\dnf} en mode anglais.
+ \item \lstinline|\needgraph| ou \lstinline|\needgraph<...>|. L'effet est : \needgraph ou \needgraph<...>Le texte de l'invite change en fonction de la langue actuelle. Par exemple, en mode anglais, il sera affiché sous la forme \UseOtherLanguage{English}{\needgraph}
+\end{itemize}
+
+Pour plus de détails sur la façon de sélectionner une langue, veuillez vous référer à la section sur \PJLlang{}.
+%</ProjLib-doc-fr>
+
+%<*ProjLib-doc-cn>
+\subsubsection{PJLlogo:\texorpdfstring{\ProjLib{} 图标}{ProjLib 图标}}
+
+\PJLlogo{} 提供了 \lstinline|\ProjLib| 命令用于绘制 Logo,效果为:\ProjLib{}。它与普通的文字指令效果类似,可以用于不同的字号:
+
+\vspace{-0.5\baselineskip}
+% \begin{longtable}{ll}
+\begin{center}
+ \begin{tabular}{ll}
+ \lstinline|\tiny|:& {\tiny\ProjLib}\\
+ \lstinline|\scriptsize|:& {\scriptsize\ProjLib}\\
+ \lstinline|\footnotesize|:& {\footnotesize\ProjLib}\\
+ \lstinline|\normalsize|:& {\normalsize\ProjLib}\\
+ \lstinline|\large|:& {\large\ProjLib}\\
+ \lstinline|\Large|:& {\Large\ProjLib}\\
+ \lstinline|\LARGE|:& {\LARGE\ProjLib}\\
+ \lstinline|\huge|:& {\huge\ProjLib}\\
+ \lstinline|\Huge|:& {\Huge\ProjLib}
+ \end{tabular}
+\end{center}
+% \end{longtable}
+%</ProjLib-doc-cn>
+%
+%<*ProjLib-doc-en>
+\subsubsection{PJLlogo: the logo \texorpdfstring{\ProjLib}{ProjLib}}
+
+\PJLlogo{} offers the macro \lstinline|\ProjLib| to draw the logo, which looks like \ProjLib{}. It is similar to ordinary text macros and can be used with different font size macros:
+% \begin{itemize}
+% \item \lstinline|\tiny|:\quad {\tiny\ProjLib}
+% \item \lstinline|\scriptsize|:\quad {\scriptsize\ProjLib}
+% \item \lstinline|\footnotesize|:\quad {\footnotesize\ProjLib}
+% \item \lstinline|\normalsize|:\quad {\normalsize\ProjLib}
+% \item \lstinline|\large|:\quad {\large\ProjLib}
+% \item \lstinline|\Large|:\quad {\Large\ProjLib}
+% \item \lstinline|\LARGE|:\quad {\LARGE\ProjLib}
+% \item \lstinline|\huge|:\quad {\huge\ProjLib}
+% \item \lstinline|\Huge|:\quad {\Huge\ProjLib}
+% \end{itemize}
+% \bigskip
+
+% \begin{longtable}{ll}
+\begin{center}
+ \begin{tabular}{ll}
+ \lstinline|\tiny|:& {\tiny\ProjLib}\\
+ \lstinline|\scriptsize|:& {\scriptsize\ProjLib}\\
+ \lstinline|\footnotesize|:& {\footnotesize\ProjLib}\\
+ \lstinline|\normalsize|:& {\normalsize\ProjLib}\\
+ \lstinline|\large|:& {\large\ProjLib}\\
+ \lstinline|\Large|:& {\Large\ProjLib}\\
+ \lstinline|\LARGE|:& {\LARGE\ProjLib}\\
+ \lstinline|\huge|:& {\huge\ProjLib}\\
+ \lstinline|\Huge|:& {\Huge\ProjLib}
+ \end{tabular}
+\end{center}
+% \end{longtable}
+%</ProjLib-doc-en>
+%
+%<*ProjLib-doc-fr>
+\subsubsection{PJLlogo : le logo \texorpdfstring{\ProjLib}{ProjLib}}
+
+\PJLlogo{} propose la macro \lstinline|\ProjLib| pour dessiner le logo, qui ressemble à \ProjLib{}. Elle est similaire aux macros de texte ordinaires et peut être utilisée avec différentes macros de taille de texte :
+
+% \begin{longtable}{ll}
+\begin{center}
+ \begin{tabular}{ll}
+ \lstinline|\tiny|:& {\tiny\ProjLib}\\
+ \lstinline|\scriptsize|:& {\scriptsize\ProjLib}\\
+ \lstinline|\footnotesize|:& {\footnotesize\ProjLib}\\
+ \lstinline|\normalsize|:& {\normalsize\ProjLib}\\
+ \lstinline|\large|:& {\large\ProjLib}\\
+ \lstinline|\Large|:& {\Large\ProjLib}\\
+ \lstinline|\LARGE|:& {\LARGE\ProjLib}\\
+ \lstinline|\huge|:& {\huge\ProjLib}\\
+ \lstinline|\Huge|:& {\Huge\ProjLib}
+ \end{tabular}
+\end{center}
+% \end{longtable}
+%</ProjLib-doc-fr>
+
+%<*ProjLib-doc-cn>
+\subsubsection{PJLmath:数学符号与捷径}
+
+\PJLmath{} 提供下列捷径:
+\begin{enumerate}[label=\roman*)]
+ \item \lstinline|\mathfrak{|$\cdot$\lstinline|}| $\longrightarrow$ \lstinline|\mf|$\cdot$ 或 \lstinline|\frak|$\cdot$。例如,\lstinline|\mfA| (或 \lstinline|\mf{A}|) 与 \lstinline|\mathfrak{A}| 效果相同. 这对大写、小写字母都有效:\vspace{-\baselineskip}
+ \begin{align*}
+ \mfa\mfb\mfc\mfd\mfe\mff\mfg\mfh\mfi\mfj\mfk\mfl\mfm\mfn&\mfo\mfp\mfq\mfr\mfs\mft\mfu\mfv\mfw\mfx\mfy\mfz\\
+ \mfA\mfB\mfC\mfD\mfE\mfF\mfG\mfH\mfI\mfJ\mfK\mfL\mfM\mfN&\mfO\mfP\mfQ\mfR\mfS\mfT\mfU\mfV\mfW\mfX\mfY\mfZ
+ \end{align*}
+ \item \lstinline|\mathbb{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\bb|$\cdot$。这只针对大写字母或数字 \( 1 \).
+ \begin{equation*}
+ \bbA\bbB\bbC\bbD\bbE\bbF\bbG\bbH\bbI\bbJ\bbK\bbL\bbM\bbN\bbO\bbP\bbQ\bbR\bbS\bbT\bbU\bbV\bbW\bbX\bbY\bbZ\bb1
+ \end{equation*}
+ 对于常见的代数结构有这些特殊命令:\lstinline|\N|, \lstinline|\Z|, \lstinline|\Q|, \lstinline|\R|, \lstinline|\C|, \lstinline|\F|, \lstinline|\A|.
+ \[
+ \N\Z\Q\R\C\F\A
+ \]
+ \item \lstinline|\mathcal{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\mc|$\cdot$ 或 \lstinline|\cal|$\cdot$。这只针对大写字母。
+ \begin{equation*}
+ \mcA\mcB\mcC\mcD\mcE\mcF\mcG\mcH\mcI\mcJ\mcK\mcL\mcM\mcN\mcO\mcP\mcQ\mcR\mcS\mcT\mcU\mcV\mcW\mcX\mcY\mcZ
+ \end{equation*}
+ \item \lstinline|\mathscr{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\ms|$\cdot$ 或 \lstinline|\scr|$\cdot$。这只针对大写字母。
+ \begin{equation*}
+ \msA\msB\msC\msD\msE\msF\msG\msH\msI\msJ\msK\msL\msM\msN\msO\msP\msQ\msR\msS\msT\msU\msV\msW\msX\msY\msZ
+ \end{equation*}
+\end{enumerate}
+
+另外,\PJLmath{} 还提供了一些 \LaTeX 中未自带的符号。
+
+\begin{longtable}[l]{ p{4cm} p{6cm} p{6cm} }
+\lstinline|\abs| & \lstinline|\abs{a}| $\rightarrow \abs{a}$ & 绝对值符号 \\
+\lstinline|\norm| & \lstinline|\norm{a}| $\rightarrow \norm{a}$ & 范数符号 \\
+\lstinline|\injection| & \lstinline|\injection| $\rightarrow ~\injection$ & 表示单射的箭头符号 \\
+\lstinline|\surjection| & \lstinline|\surjection| $\rightarrow ~\surjection$ & 表示满射的箭头符号 \\
+\lstinline|\bijection| & \lstinline|\bijection| $\rightarrow ~\bijection$ & 表示双射的箭头符号 \\
+% \lstinline|\legendre| & \lstinline|\legendre{a}{p}| $\rightarrow \legendre{a}{p}$ & Legendre 符号 \\
+% & \lstinline|\legendre[z]{a}{p}| $\rightarrow \legendre[z]{a}{p}$ & \\
+% \lstinline|\tlegendre| & \lstinline|\tlegendre{a}{p}| $\rightarrow \tlegendre{a}{p}$ & Legendre 符号 (text style) \\
+% \lstinline|\dlegendre| & \lstinline|\dlegendre{a}{p}| $\rightarrow \dlegendre{a}{p}$ & Legendre 符号 (display style) \\
+\end{longtable}
+%</ProjLib-doc-cn>
+%
+%<*ProjLib-doc-en>
+\medskip
+\subsubsection{PJLmath: math symbols and shortcuts}
+
+\PJLmath{} offers the following shortcuts:
+\begin{enumerate}[label=\roman*)]
+ \item \lstinline|\mathfrak{|$\cdot$\lstinline|}| $\longrightarrow$ \lstinline|\mf|$\cdot$ or \lstinline|\frak|$\cdot$ . For example, \lstinline|\mfA| (or \lstinline|\mf{A}|) has the same effect as \lstinline|\mathfrak{A}|. This works for both upper and lower case, producing:
+ \begin{align*}
+ \mfa\mfb\mfc\mfd\mfe\mff\mfg\mfh\mfi\mfj\mfk\mfl\mfm\mfn&\mfo\mfp\mfq\mfr\mfs\mft\mfu\mfv\mfw\mfx\mfy\mfz\\
+ \mfA\mfB\mfC\mfD\mfE\mfF\mfG\mfH\mfI\mfJ\mfK\mfL\mfM\mfN&\mfO\mfP\mfQ\mfR\mfS\mfT\mfU\mfV\mfW\mfX\mfY\mfZ
+ \end{align*}
+ \item \lstinline|\mathbb{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\bb|$\cdot$ . This only works for uppercase alphabet and the number \( 1 \).
+ \begin{equation*}
+ \bbA\bbB\bbC\bbD\bbE\bbF\bbG\bbH\bbI\bbJ\bbK\bbL\bbM\bbN\bbO\bbP\bbQ\bbR\bbS\bbT\bbU\bbV\bbW\bbX\bbY\bbZ\bb1
+ \end{equation*}
+ There are also special command for well-known algebraic structures: \lstinline|\N|, \lstinline|\Z|, \lstinline|\Q|, \lstinline|\R|, \lstinline|\C|, \lstinline|\F|, \lstinline|\A|.
+ \[
+ \N\Z\Q\R\C\F\A
+ \]
+ \item \lstinline|\mathcal{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\mc|$\cdot$ or \lstinline|\cal|$\cdot$ . This only works for uppercase alphabet.
+ \begin{equation*}
+ \mcA\mcB\mcC\mcD\mcE\mcF\mcG\mcH\mcI\mcJ\mcK\mcL\mcM\mcN\mcO\mcP\mcQ\mcR\mcS\mcT\mcU\mcV\mcW\mcX\mcY\mcZ
+ \end{equation*}
+ \item \lstinline|\mathscr{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\ms|$\cdot$ or \lstinline|\scr|$\cdot$ . This only works for uppercase alphabet.
+ \begin{equation*}
+ \msA\msB\msC\msD\msE\msF\msG\msH\msI\msJ\msK\msL\msM\msN\msO\msP\msQ\msR\msS\msT\msU\msV\msW\msX\msY\msZ
+ \end{equation*}
+\end{enumerate}
+
+In addition, \PJLmath{} also provides some math symbols that are not by default included in \LaTeX{}.
+
+\begin{longtable}[l]{ p{4cm} p{6cm} p{6cm}}
+\lstinline|\abs| & \lstinline|\abs{a}| $\rightarrow \abs{a}$ & absolute value symbol \\
+\lstinline|\norm| & \lstinline|\norm{a}| $\rightarrow \norm{a}$ & norm symbol \\
+\lstinline|\injection| & \lstinline|\injection| $\rightarrow ~\injection$ & arrow symbol for injection \\
+\lstinline|\surjection| & \lstinline|\surjection| $\rightarrow ~\surjection$ & arrow symbol for surjection \\
+\lstinline|\bijection| & \lstinline|\bijection| $\rightarrow ~\bijection$ & arrow symbol for bijection \\
+% \lstinline|\legendre| & \lstinline|\legendre{a}{p}| $\rightarrow \legendre{a}{p}$ & Legendre symbol \\
+% & \lstinline|\legendre[z]{a}{p}| $\rightarrow \legendre[z]{a}{p}$ & \\
+% \lstinline|\tlegendre| & \lstinline|\tlegendre{a}{p}| $\rightarrow \tlegendre{a}{p}$ & Legendre symbol (text style) \\
+% \lstinline|\dlegendre| & \lstinline|\dlegendre{a}{p}| $\rightarrow \dlegendre{a}{p}$ & Legendre symbol (display style) \\
+\end{longtable}
+%
+% There's also a starred version of \lstinline|\pmod|, which eliminate the spacing before it: \lstinline|a\pmod*{4}| $\rightarrow a\pmod*{4}$. Compared with: \lstinline|a\pmod{4}| $\rightarrow a\pmod{4}$.
+%</ProjLib-doc-en>
+%
+%<*ProjLib-doc-fr>
+\subsubsection{PJLmath : symboles et raccourcis mathématiques}
+
+\PJLmath{} propose les raccourcis suivants :
+\begin{enumerate}[label=\roman*)]
+ \item \lstinline|\mathfrak{|$\cdot$\lstinline|}| $\longrightarrow$ \lstinline|\mf|$\cdot$ ou \lstinline|\frak|$\cdot$ . Par exemple, \lstinline|\mfA| (ou \lstinline|\mf{A}|) a le même effet que \lstinline|\mathfrak{A}|. Cela fonctionne à la fois pour l'alphabet majuscule et minuscule, produisant :
+ \begin{align*}
+ \mfa\mfb\mfc\mfd\mfe\mff\mfg\mfh\mfi\mfj\mfk\mfl\mfm\mfn&\mfo\mfp\mfq\mfr\mfs\mft\mfu\mfv\mfw\mfx\mfy\mfz\\
+ \mfA\mfB\mfC\mfD\mfE\mfF\mfG\mfH\mfI\mfJ\mfK\mfL\mfM\mfN&\mfO\mfP\mfQ\mfR\mfS\mfT\mfU\mfV\mfW\mfX\mfY\mfZ
+ \end{align*}
+ \item \lstinline|\mathbb{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\bb|$\cdot$ . Cela ne fonctionne que pour l'alphabet majuscule et le nombre \( 1 \).
+ \begin{equation*}
+ \bbA\bbB\bbC\bbD\bbE\bbF\bbG\bbH\bbI\bbJ\bbK\bbL\bbM\bbN\bbO\bbP\bbQ\bbR\bbS\bbT\bbU\bbV\bbW\bbX\bbY\bbZ\bb1
+ \end{equation*}
+ Il y a aussi des commandes spéciales pour les structures algébriques bien connues : \lstinline|\N|, \lstinline|\Z|, \lstinline|\Q|, \lstinline|\R|, \lstinline|\C|, \lstinline|\F|, \lstinline|\A|.
+ \[
+ \N\Z\Q\R\C\F\A
+ \]
+ \item \lstinline|\mathcal{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\mc|$\cdot$ or \lstinline|\cal|$\cdot$ . Cela ne fonctionne que pour l'alphabet majuscule.
+ \begin{equation*}
+ \mcA\mcB\mcC\mcD\mcE\mcF\mcG\mcH\mcI\mcJ\mcK\mcL\mcM\mcN\mcO\mcP\mcQ\mcR\mcS\mcT\mcU\mcV\mcW\mcX\mcY\mcZ
+ \end{equation*}
+ \item \lstinline|\mathscr{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\ms|$\cdot$ or \lstinline|\scr|$\cdot$ . Cela ne fonctionne que pour l'alphabet majuscule.
+ \begin{equation*}
+ \msA\msB\msC\msD\msE\msF\msG\msH\msI\msJ\msK\msL\msM\msN\msO\msP\msQ\msR\msS\msT\msU\msV\msW\msX\msY\msZ
+ \end{equation*}
+\end{enumerate}
+
+De plus, \PJLmath{} fournit également des symboles mathématiques qui ne sont pas inclus par défaut avec \LaTeX{}.
+
+\begin{longtable}[l]{ p{4cm} p{6cm} p{6cm}}
+\lstinline|\abs| & \lstinline|\abs{a}| $\rightarrow \abs{a}$ & symbole de valeur absolue \\
+\lstinline|\norm| & \lstinline|\norm{a}| $\rightarrow \norm{a}$ & symbole de norme \\
+\lstinline|\injection| & \lstinline|\injection| $\rightarrow ~\injection$ & symbole de flèche pour l'injection \\
+\lstinline|\surjection| & \lstinline|\surjection| $\rightarrow ~\surjection$ & symbole de flèche pour la surjection \\
+\lstinline|\bijection| & \lstinline|\bijection| $\rightarrow ~\bijection$ & symbole de flèche pour la bijection \\
+% \lstinline|\legendre| & \lstinline|\legendre{a}{p}| $\rightarrow \legendre{a}{p}$ & Symbole Legendre \\
+% & \lstinline|\legendre[z]{a}{p}| $\rightarrow \legendre[z]{a}{p}$ & \\
+% \lstinline|\tlegendre| & \lstinline|\tlegendre{a}{p}| $\rightarrow \tlegendre{a}{p}$ & Symbole Legendre (text-style) \\
+% \lstinline|\dlegendre| & \lstinline|\dlegendre{a}{p}| $\rightarrow \dlegendre{a}{p}$ & Symbole Legendre (display-style) \\
+\end{longtable}
+%</ProjLib-doc-fr>
+
+%<*ProjLib-doc-cn>
+\subsubsection{PJLpaper:纸张设置}
+
+\PJLpaper{} 主要用于调节纸张颜色。它支持下列选项:
+
+\begin{itemize}
+ \item \texttt{paperstyle = \meta{paper style name}}
+ \begin{itemize}
+ \item 设定纸张色彩样式。\meta{paper style name} 可供选择的选项有:\texttt{yellow}、\texttt{dark} 与 \texttt{nord}。
+ \end{itemize}
+ \item \texttt{yellowpaper}、\texttt{darkpaper}、\texttt{nordpaper}
+ \begin{itemize}
+ \item 设定纸张色彩样式。效果与相应名称的 \texttt{paperstyle} 相同。
+ \end{itemize}
+ \item \texttt{preview}
+ \begin{itemize}
+ \item 预览模式,将会把 pdf 文件的白边去掉以方便阅读。
+ \end{itemize}
+\end{itemize}
+
+为了使用的方便,建议把这些选项作为文档类的全局参数,这样对于文档的纸张设定一目了然。
+%</ProjLib-doc-cn>
+%
+%<*ProjLib-doc-en>
+\subsubsection{PJLpaper: paper configuration}
+
+\PJLpaper{} is mainly used to adjust the paper color. It has the following options:
+
+\vspace{-.3\baselineskip}
+\begin{itemize}
+ \item \texttt{paperstyle = \meta{paper style name}}
+ \begin{itemize}
+ \item Set the paper color style. The options available for \meta{paper style name} are: \texttt{yellow}, \texttt{dark} and \texttt{nord}.
+ \end{itemize}
+ \item \texttt{yellowpaper}, \texttt{darkpaper}, \texttt{nordpaper}
+ \begin{itemize}
+ \item Same as \texttt{paperstyle} with the corresponding \meta{paper style name} specified.
+ \end{itemize}
+ \item \texttt{preview}
+ \begin{itemize}
+ \item Preview mode. Crop the white edges of pdf file for the convenience of reading.
+ \end{itemize}
+\end{itemize}
+\vspace{-.3\baselineskip}
+
+It is recommended to use them as global options of the document class. In this way, the paper settings would be clear at a glance.
+%</ProjLib-doc-en>
+%
+%<*ProjLib-doc-fr>
+\subsubsection{PJLpaper : configuration papier}
+
+\PJLpaper{} est principalement utilisé pour ajuster la couleur du papier. Il a les options suivantes :
+
+\vspace{-.3\baselineskip}
+\begin{itemize}
+ \item \texttt{paperstyle = \meta{paper style name}}
+ \begin{itemize}
+ \item Définit le style de couleur du papier. Les options disponibles pour \meta{paper style name} sont : \texttt{yellow}, \texttt{dark} et \texttt{nord}.
+ \end{itemize}
+ \item \texttt{yellowpaper}, \texttt{darkpaper}, \texttt{nordpaper}
+ \begin{itemize}
+ \item Identique à \texttt{paperstyle} avec le \meta{paper style name} correspondant spécifié.
+ \end{itemize}
+ \item \texttt{preview}
+ \begin{itemize}
+ \item Mode aperçu. Recadrez les bords blancs du fichier pdf pour faciliter la lecture.
+ \end{itemize}
+\end{itemize}
+\vspace{-.3\baselineskip}
+
+Il est recommandé de les passer comme options globales de la classe de document. De cette façon, les paramètres du papier seraient clairs en un coup d'œil.
+%</ProjLib-doc-fr>
+
+
+
\clearpage
%<*ProjLib-doc-cn>
diff --git a/macros/latex/contrib/projlib/ProjLib.dtx b/macros/latex/contrib/projlib/ProjLib.dtx
index 583e08f3cb..92b1d84fed 100644
--- a/macros/latex/contrib/projlib/ProjLib.dtx
+++ b/macros/latex/contrib/projlib/ProjLib.dtx
@@ -18,47 +18,47 @@
%
%<*ProjLib>
\ProvidesPackage{ProjLib}
- [2021/07/30 The collective interface of ProjLib toolkit]
+ [2021/08/07 The collective interface of ProjLib toolkit]
%</ProjLib>
%
%<*PJLauthor>
\ProvidesPackage{PJLauthor}
- [2021/07/30 Enhanced author information block]
+ [2021/08/07 Enhanced author information block]
%</PJLauthor>
%
%<*PJLdate>
\ProvidesPackage{PJLdate}
- [2021/07/30 Convert yyyy-mm-dd to normal datetime format]
+ [2021/08/07 Convert yyyy-mm-dd to normal datetime format]
%</PJLdate>
%
%<*PJLdraft>
\ProvidesPackage{PJLdraft}
- [2021/07/30 Some useful macros for the draft stage]
+ [2021/08/07 Some useful macros for the draft stage]
%</PJLdraft>
%
%<*PJLlang>
\ProvidesPackage{PJLlang}
- [2021/07/30 Multi-language configuration]
+ [2021/08/07 Multi-language configuration]
%</PJLlang>
%
%<*PJLlogo>
\ProvidesPackage{PJLlogo}
- [2021/07/30 The ProjLib logo]
+ [2021/08/07 The ProjLib logo]
%</PJLlogo>
%
%<*PJLmath>
\ProvidesPackage{PJLmath}
- [2021/07/30 Useful math macros and shortcuts]
+ [2021/08/07 Useful math macros and shortcuts]
%</PJLmath>
%
%<*PJLpaper>
\ProvidesPackage{PJLpaper}
- [2021/07/30 Paper style configuration]
+ [2021/08/07 Paper style configuration]
%</PJLpaper>
%
%<*PJLthm>
\ProvidesPackage{PJLthm}
- [2021/07/30 Theorem setup and configuration]
+ [2021/08/07 Theorem setup and configuration]
%</PJLthm>
%
%# 下面两行引入宏包的代码是所有文件共用的。
@@ -179,7 +179,7 @@
%# 若使用 AMS 风格
%# If AMS fashion enabled
-\if@PJLauthor@amsfashion
+\ifbool{@PJLauthor@amsfashion}{
%# 使用 PJLlang 以支持自动语言转换
%# Use `PJLlang` to support automatic language conversion
@@ -251,8 +251,8 @@
%# Modify abstract to allow it before maketitle
\let\abstract@PJLoriginal\abstract%
\let\endabstract@PJLoriginal\endabstract%
-\newif\if@PJLamssim@maketitle\@PJLamssim@maketitlefalse
-\newif\if@PJLamssim@absbefore\@PJLamssim@absbeforefalse
+\newif\if@PJLauthor@maketitle\@PJLauthor@maketitlefalse
+\newif\if@PJLauthor@absbefore\@PJLauthor@absbeforefalse
\RequirePackage{fancyvrb}
% Taken from https://tex.stackexchange.com/a/596328
% define the same as \protected@write, but with \immediate
@@ -274,7 +274,7 @@
\VerbatimOut{\jobname.pjlabs}%
}{
\endVerbatimOut%
- \if@PJLamssim@maketitle%
+ \if@PJLauthor@maketitle%
\begin{abstract@PJLoriginal}%
\input{\jobname.pjlabs}%
\end{abstract@PJLoriginal}%
@@ -282,7 +282,7 @@
% \par\smallskip\noindent{\conditionalbfseries\csname keywordsname\csname\languagename ABBR\endcsname\endcsname.}~\PJL@keywords%
% \fi%
\else%
- \global\@PJLamssim@absbeforetrue%
+ \global\@PJLauthor@absbeforetrue%
\fi%
}
@@ -315,7 +315,7 @@
%## 将 abstract 添加进 \maketitle
%## Add abstract to \maketitle
\apptocmd{\maketitle}{%
- \if@PJLamssim@absbefore%
+ \if@PJLauthor@absbefore%
\begin{abstract@PJLoriginal}%
\input{\jobname.pjlabs}%
% \ifx\PJL@keywords\@empty\else%
@@ -328,7 +328,7 @@
\global\let\email\relax
\global\let\dedicatory\relax
\global\let\keywords\relax
- \global\@PJLamssim@maketitletrue
+ \global\@PJLauthor@maketitletrue
}{}{\FAIL}
%##- 这段未被采用的代码将使 maketitle 中的 \newpage 失效
%##- Disbale the \newpage in maketitle
@@ -358,7 +358,7 @@
\@namedef{subjclassname@2020}{%
\textup{2020} Mathematics Subject Classification}
-\fi
+}
%</PJLauthor>
%
%<*PJLdate>
@@ -411,7 +411,7 @@
\gappto{\PJLlang@langconfig@common}{%
\let\@DTMdate\@DTMdate@PJLoriginal%
}
-\gappto{\PJLlang@langconfig@chinese}{%
+\gappto{\PJLlang@langconfig@schinese}{%
\renewcommand*{\@DTMdate}[1]{%
\expandafter\@dtm@parsedate#1\@dtm@endparsedate%
\zhdate{\@dtm@year/\@dtm@month/\@dtm@day}%
@@ -659,7 +659,7 @@
\newcommand\portugueseABBR{PT}
\newcommand\brazilianABBR{BR}
\newcommand\spanishABBR{ES}
-\newcommand\chineseABBR{CN}
+\newcommand\schineseABBR{CN}
\newcommand\tchineseABBR{TC}
\newcommand\japaneseABBR{JP}
\newcommand\russianABBR{RU}
@@ -705,6 +705,9 @@
\if@PJLlang@enable@FR
\frenchsetup{PartNameFull=false}
\fi
+
+ \babelprovide{schinese}
+ \babelprovide{tchinese}
\fi
%# 本地化 \today
@@ -720,7 +723,7 @@
%# 各个语言的设置
%# The configuration for each language
-\newcommand{\PJLlang@langconfig@chinese}{%
+\newcommand{\PJLlang@langconfig@schinese}{%
\def\abstractname{摘要}%
\def\proofname{证明}%
\def\contentsname{目录}%
@@ -733,7 +736,7 @@
\def\refname{参考文献}%
\def\bibname{参考文献}%
\let\today\zhtoday%
- \renewcommand{\languagename}{chinese}%
+ \renewcommand{\languagename}{schinese}%
}
\newcommand{\PJLlang@langconfig@tchinese}{%
\def\abstractname{摘要}%
@@ -788,10 +791,10 @@
{\gappto{\PJLlang@langconfig@common}{#2}}%
{%
\lowercase{\IfStrEqCase{#1}}{%
- {cn}{\gappto{\PJLlang@langconfig@chinese}{#2}}%
- {chinese}{\gappto{\PJLlang@langconfig@chinese}{#2}}%
- {schinese}{\gappto{\PJLlang@langconfig@chinese}{#2}}%
- {simplifiedchinese}{\gappto{\PJLlang@langconfig@chinese}{#2}}%
+ {cn}{\gappto{\PJLlang@langconfig@schinese}{#2}}%
+ {chinese}{\gappto{\PJLlang@langconfig@schinese}{#2}}%
+ {schinese}{\gappto{\PJLlang@langconfig@schinese}{#2}}%
+ {simplifiedchinese}{\gappto{\PJLlang@langconfig@schinese}{#2}}%
{tc}{\gappto{\PJLlang@langconfig@tchinese}{#2}}%
{tchinese}{\gappto{\PJLlang@langconfig@tchinese}{#2}}%
{traditionalchinese}{\gappto{\PJLlang@langconfig@tchinese}{#2}}%
@@ -841,10 +844,10 @@
\newcommand{\UseLanguageCORE}[1]{%
\PJLlang@langconfig@common%
\lowercase{\IfStrEqCase{#1}}{%
- {cn}{\PJL@config@CJK\PJLlang@langconfig@chinese}%
- {chinese}{\PJL@config@CJK\PJLlang@langconfig@chinese}%
- {schinese}{\PJL@config@CJK\PJLlang@langconfig@chinese}%
- {simplifiedchinese}{\PJL@config@CJK\PJLlang@langconfig@chinese}%
+ {cn}{\PJL@config@CJK\PJLlang@langconfig@schinese}%
+ {chinese}{\PJL@config@CJK\PJLlang@langconfig@schinese}%
+ {schinese}{\PJL@config@CJK\PJLlang@langconfig@schinese}%
+ {simplifiedchinese}{\PJL@config@CJK\PJLlang@langconfig@schinese}%
{tc}{\PJL@config@CJK\PJLlang@langconfig@tchinese}%
{tchinese}{\PJL@config@CJK\PJLlang@langconfig@tchinese}%
{traditionalchinese}{\PJL@config@CJK\PJLlang@langconfig@tchinese}%
@@ -881,13 +884,13 @@
%# 用于局部选定语言的 UseOtherLanguage
%# Macro for selecting language locally
\newcommand{\UseOtherLanguage}[2]{%
-\begingroup%
+\begingroup\begingroup%
\PJLlang@langconfig@common%
\lowercase{\IfStrEqCase{#1}}{%
- {cn}{\PJLlang@langconfig@chinese}%
- {chinese}{\PJLlang@langconfig@chinese}%
- {schinese}{\PJLlang@langconfig@chinese}%
- {simplifiedchinese}{\PJLlang@langconfig@chinese}%
+ {cn}{\PJLlang@langconfig@schinese}%
+ {chinese}{\PJLlang@langconfig@schinese}%
+ {schinese}{\PJLlang@langconfig@schinese}%
+ {simplifiedchinese}{\PJLlang@langconfig@schinese}%
{tc}{\PJLlang@langconfig@tchinese}%
{tchinese}{\PJLlang@langconfig@tchinese}%
{traditionalchinese}{\PJLlang@langconfig@tchinese}%
@@ -912,7 +915,7 @@
{russian}{\PJLlang@langconfig@russian}%
}%
#2%
-\endgroup%
+\endgroup\endgroup%
}
%# 运行默认语言的设置
@@ -1288,13 +1291,13 @@
\def\@pmods#1{\mkern4mu({\operator@font mod}\mkern 6mu#1)}
\fi
-\newcommand{\genlegendre}[4]{%
+\providecommand{\genlegendre}[4]{%
\genfrac{(}{)}{}{#1}{#3}{#4}%
\if\relax\detokenize{#2}\relax\else_{\!#2}\fi%
}
-\newcommand{\legendre}[3][]{\genlegendre{}{#1}{#2}{#3}}
-\newcommand{\dlegendre}[3][]{\genlegendre{0}{#1}{#2}{#3}}
-\newcommand{\tlegendre}[3][]{\genlegendre{1}{#1}{#2}{#3}}
+\providecommand{\legendre}[3][]{\genlegendre{}{#1}{#2}{#3}}
+\providecommand{\dlegendre}[3][]{\genlegendre{0}{#1}{#2}{#3}}
+\providecommand{\tlegendre}[3][]{\genlegendre{1}{#1}{#2}{#3}}
%</PJLmath>
%
%<*PJLpaper>
@@ -2071,7 +2074,7 @@
%# 一些 cref 的本地化
%# Some localization of cref
-\gappto{\PJLlang@langconfig@chinese}{%
+\gappto{\PJLlang@langconfig@schinese}{%
\crefname{equation}{式}{式}%
\crefname{figure}{图}{图}%
\crefname{table}{表}{表}%
diff --git a/macros/luatex/latex/pyluatex/README.md b/macros/luatex/latex/pyluatex/README.md
index 6c8015dce9..3165301bd8 100644
--- a/macros/luatex/latex/pyluatex/README.md
+++ b/macros/luatex/latex/pyluatex/README.md
@@ -36,7 +36,6 @@ $\sqrt{371} = \py{math.sqrt(371)}$
\randint{2}{5}
\end{document}
```
-
2\. Compile using LuaLaTeX (shell escape is required)
```
lualatex -shell-escape example.tex
diff --git a/macros/luatex/latex/pyluatex/pyluatex.lua b/macros/luatex/latex/pyluatex/pyluatex.lua
index 506b8bf9cf..d7e27bc6cb 100644
--- a/macros/luatex/latex/pyluatex/pyluatex.lua
+++ b/macros/luatex/latex/pyluatex/pyluatex.lua
@@ -37,6 +37,7 @@ local tcp = nil
local env_end = nil
local env_lines = nil
+local parent_env = nil
local last_code = nil
local last_output = nil
@@ -149,15 +150,28 @@ local function record_line(line)
end
function pyluatex.record_env(quiet)
- if quiet then
- env_end = "\\end{pythonq}"
+ local name
+ if parent_env ~= nil then
+ name = parent_env
+ parent_env = nil
else
- env_end = "\\end{python}"
+ if quiet then
+ name = "pythonq"
+ else
+ name = "python"
+ end
end
+ env_end = "\\end{" .. name .. "}"
env_lines = {}
luatexbase.add_to_callback("process_input_buffer", record_line, "pyluatex_record_line")
end
+function pyluatex.set_parent_env(name)
+ if parent_env == nil then
+ parent_env = name
+ end
+end
+
function pyluatex.run_file(path, write)
local f = io.open(path, "r")
if f then
diff --git a/macros/luatex/latex/pyluatex/pyluatex.pdf b/macros/luatex/latex/pyluatex/pyluatex.pdf
index 58d2de88e1..49fee5afac 100644
--- a/macros/luatex/latex/pyluatex/pyluatex.pdf
+++ b/macros/luatex/latex/pyluatex/pyluatex.pdf
Binary files differ
diff --git a/macros/luatex/latex/pyluatex/pyluatex.sty b/macros/luatex/latex/pyluatex/pyluatex.sty
index 0709ba7600..81fa87ea82 100644
--- a/macros/luatex/latex/pyluatex/pyluatex.sty
+++ b/macros/luatex/latex/pyluatex/pyluatex.sty
@@ -9,7 +9,7 @@
%% version 2005/12/01 or later.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{pyluatex}[2021/07/26 v0.2.0 Execute Python code on the fly]
+\ProvidesPackage{pyluatex}[2021/08/07 v0.3.0 Execute Python code on the fly]
\RequirePackage{expl3}
\ExplSyntaxOn
@@ -30,18 +30,20 @@
\directlua{pyluatex.start([==[\pyluatex@executable]==])}
+\newcommand*{\PyLTVerbatimEnv}{\directlua{pyluatex.set_parent_env([==[\@currenvir]==])}}
+
\newenvironment{python}{\directlua{pyluatex.record_env(false)}}%
{\directlua{pyluatex.print_env()}}
\newenvironment{pythonq}{\directlua{pyluatex.record_env(true)}}{}
-\newcommand*{\python@inline}[3]{\directlua{pyluatex.execute([==[#1]==], #2, #3)}}
+\newcommand*{\pyluatex@inline}[3]{\directlua{pyluatex.execute([==[#1]==], #2, #3)}}
-\newcommand*{\py}[1]{\python@inline{#1}{true}{true}}
-\newcommand*{\pyq}[1]{\python@inline{#1}{true}{false}}
+\newcommand*{\py}[1]{\pyluatex@inline{#1}{true}{true}}
+\newcommand*{\pyq}[1]{\pyluatex@inline{#1}{true}{false}}
-\newcommand*{\pyc}[1]{\python@inline{#1}{false}{true}}
-\newcommand*{\pycq}[1]{\python@inline{#1}{false}{false}}
+\newcommand*{\pyc}[1]{\pyluatex@inline{#1}{false}{true}}
+\newcommand*{\pycq}[1]{\pyluatex@inline{#1}{false}{false}}
\newcommand*{\pysession}[1]{\directlua{pyluatex.session = [==[#1]==]}}
diff --git a/macros/luatex/latex/pyluatex/pyluatex.tex b/macros/luatex/latex/pyluatex/pyluatex.tex
index ffaf503914..d6c0325350 100644
--- a/macros/luatex/latex/pyluatex/pyluatex.tex
+++ b/macros/luatex/latex/pyluatex/pyluatex.tex
@@ -15,7 +15,7 @@
\usepackage{url}
\title{The \emph{pyluatex} package}
\author{Tobias Enderle\\\url{https://github.com/tndrle/PyLuaTeX}}
-\date{v0.2.0 (2021/07/26)}
+\date{v0.3.0 (2021/08/07)}
\begin{document}
\maketitle
\raggedright
@@ -58,8 +58,6 @@ $\sqrt{371} = \py{math.sqrt(371)}$
\randint{2}{5}
\end{document}
\end{tcblisting}
-\end{enumerate}
-\begin{enumerate}
\item Compile using Lua\LaTeX{} (shell escape is required)
\begin{tcblisting}{breakable,listing only,
size=fbox,colframe=black!8,boxrule=3pt,colback=black!8}
@@ -178,6 +176,16 @@ For an example, see the Typesetting Code section.
\item \inlcode|pythonq|\\[0.5ex]
Same as the \inlcode|python| environment, but any output is suppressed.
\end{itemize}
+You can create your own environments based on the \inlcode|python| and \inlcode|pythonq| environments.
+However, since they are verbatim environments, you have to use the macro \inlcode|\PyLTVerbatimEnv|
+in your environment definition, e.g.
+\begin{tcblisting}{breakable,listing only,
+ size=fbox,colframe=black!8,boxrule=3pt,colback=black!8}
+\newenvironment{custompy}
+{\PyLTVerbatimEnv\begin{python}}
+{\end{python}}
+\end{tcblisting}
+
\section{Requirements}
\begin{itemize}
\item Lua\LaTeX{}
@@ -194,7 +202,7 @@ However, PyLuaTeX has a \textbf{code and output buffer} which you can use to cre
This provides a lot of flexibility for your typesetting.
After a PyLuaTeX macro or environment has been executed, the corresponding Python code and output can be accessed via the Lua functions \inlcode|pyluatex.get_last_code()| and \inlcode|pyluatex.get_last_output()|, respectively.
-Both functions return a Lua table\footnote{\url{https://www.lua.org/pil/2.5.html}} where each table item corresponds to a line of code or output.
+Both functions return a Lua table\footnote{\url{https://www.lua.org/pil/2.5.html}} (basically an array) where each table item corresponds to a line of code or output.
A simple example for typesetting code and output using the \textit{listings} package would be:
\begin{tcblisting}{breakable,listing only,
@@ -238,6 +246,7 @@ Notice that we use the \inlcode|pythonq| environment, which suppresses any outpu
After that, the custom macro \inlcode|\pytypeset| is responsible for typesetting the code and its output.
Using a different code listings package like \textit{minted}, or typesetting inline code is very easy.
+You can also define your own environments that combine Python code and typesetting.
See the \inlcode|typesetting-*.tex| examples in the \inlcode|example| folder.
\section{How It Works}
diff --git a/macros/unicodetex/latex/nwafuthesis/README.md b/macros/unicodetex/latex/nwafuthesis/README.md
index 61ae19da66..d37c15fee0 100644
--- a/macros/unicodetex/latex/nwafuthesis/README.md
+++ b/macros/unicodetex/latex/nwafuthesis/README.md
@@ -1,20 +1,20 @@
The nwafuthesis Class
-LaTeX thesis template for Northwest A&F University, China, v1.00
+LaTeX thesis template for Northwest A&F University, China, v1.01
Overview
This template supports doctoral or master dissertion and undergraduate thesis in Chinese. With the help of modern LaTeX3 technology, nwafuthesis aims to create a simple interface, a normative format, as well as a hackable class for the users.
-At present, nwafuthesis only supports XETEX and LuaTEX engines. nwafuthesis only allows UTF-8 encoding.
+At present, nwafuthesis only supports XeTeX and LuaTEX engines. nwafuthesis only allows UTF-8 encoding.
The documentation can be found in nwafuthesis.pdf (in Chinese).
Gitee re­pos­i­tory: https://gitee.com/nwafu_nan/nwafuthesis-l3.
-Installation
+Installation
To install nwafuthesis, you can use one of the following methods:
-If you are running TEX Live or MikTeX, the simplest way is to run
- tlmgr install nwafuthesis
+If you are running TeX Live or MikTeX, the simplest way is to use that distribution's package manager.
+
Get the source from Gitee:
git clone git@gitee.com:nwafu_nan/nwafuthesis-l3.git
Run build-win.bat (on Windows) or build.sh (on Linux) to generate the templates file. This file would be found in a same folder. You can enjoy nwafuthesis here at once.
diff --git a/macros/unicodetex/latex/nwafuthesis/nwafuthesis.dtx b/macros/unicodetex/latex/nwafuthesis/nwafuthesis.dtx
index 65e14263b3..8acbeab6ce 100644
--- a/macros/unicodetex/latex/nwafuthesis/nwafuthesis.dtx
+++ b/macros/unicodetex/latex/nwafuthesis/nwafuthesis.dtx
@@ -110,7 +110,7 @@
%<class|doc>\NeedsTeXFormat{LaTeX2e}
%<class|doc>\RequirePackage{expl3}
%<*!(driver|install)>
-%<!readme>\GetIdInfo $Id: nwafuthesis.dtx 1.00 2021-05-12 15:30:00Z Nan Geng <nangeng@nwafu.edu.cn> $
+%<!readme>\GetIdInfo $Id: nwafuthesis.dtx 1.01 2021-08-07 Nan Geng <nangeng@nwafu.edu.cn> $
%<class> {Thesis template for Northwest A\&F University}
%<class>\ProvidesExplClass{\ExplFileName}
%<definition> {Definition file for nwafuthesis}
@@ -143,12 +143,12 @@
\textbf{\nwafuthesis: 西北农林科技大学学位论文
\xpinyin[font=\sffamily,format=\color{MaterialIndigo800}]{模}{mu2}板}}}
\author{耿楠}
-\date{\today\quad v1.00%
+\date{\today\quad v1.01%
\thanks{\url{https://gitee.com/nwafu_nan/nwafuthesis-l3}.}}
\begin{document}
-\DisableImplementation
-%<!--CODEDOC--> \EnableImplementation
+%<!--CODEDOC--> \DisableImplementation
+ \EnableImplementation
%<!--CODEDOC--> \def\nwafuCODEDOC{}
\DocInput{nwafuthesis.dtx}
\DocInput{nwafuthesis-doc.dtx}
@@ -359,7 +359,8 @@
%
% \subsection{基本用法}
%
-% 以下是一份简单的 \TeX{} 文档,它演示了 \cls{nwafuthesis}
+% 在当前工作目录下创建一个名为logo的文件夹,并将学校的\enquote{\texttt{nwafu-bar.pdf}}
+% logo矢量图保存在该文件夹内,然后建立如下一份简单的 \TeX{} 文档,它演示了 \cls{nwafuthesis}
% 的最基本用法:
% \begin{latexexample}[deletetexcs={\documentclass},%
% moretexcs={\chapter},morekeywords={\documentclass},%
@@ -2491,8 +2492,10 @@
% \end{macrocode}
% \end{macro}
%
+% \changes{v1.01}{2021/08/06}{由于无法获取ctex版本信息,暂时关闭对ctex版本检测。}
+%
% \begin{macrocode}
-\@@_check_package:nnn { ctex } { 2017/08/07 } { 2.4.10 }
+%\@@_check_package:nnn { ctex } { 2020/04/30 } { 2.5 }
\@@_check_package:nnn { fontspec } { 2017/09/22 } { 2.6e }
\@@_check_package:nnn { unicode-math } { 2017/11/18 } { 0.8i }
\sys_if_engine_xetex:T
@@ -2599,7 +2602,6 @@
withchapter .initial:n = true,
}
% \end{macrocode}
-% \end{macrocode}
% \end{macro}
%
% \begin{macro}{
diff --git a/macros/unicodetex/latex/nwafuthesis/nwafuthesis.pdf b/macros/unicodetex/latex/nwafuthesis/nwafuthesis.pdf
index 625302daac..1d605186a8 100644
--- a/macros/unicodetex/latex/nwafuthesis/nwafuthesis.pdf
+++ b/macros/unicodetex/latex/nwafuthesis/nwafuthesis.pdf
Binary files differ
diff --git a/systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl b/systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl
index d01e50eb14..f23e927021 100644
--- a/systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl
+++ b/systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl
@@ -49,7 +49,6 @@ $mirrors = {
'http://ftp.ktug.org/tex-archive/' => 1,
'https://cran.asia/tex/' => 1,
'https://ftp.kaist.ac.kr/pub/tex-archive/' => 1,
- 'https://mirror.kakao.com/CTAN/' => 1,
'https://mirror.navercorp.com/CTAN/' => 1,
'https://mirror.yongbok.net/ctan/' => 1,
},
diff --git a/systems/texlive/tlnet/tlpkg/texlive.tlpdb b/systems/texlive/tlnet/tlpkg/texlive.tlpdb
index dbfc979026..85c2b776db 100644
--- a/systems/texlive/tlnet/tlpkg/texlive.tlpdb
+++ b/systems/texlive/tlnet/tlpkg/texlive.tlpdb
@@ -26,7 +26,7 @@ depend container_split_src_files/1
depend frozen/0
depend minrelease/2016
depend release/2021
-depend revision/60178
+depend revision/60187
name 00texlive.image
category TLCore
@@ -4439,7 +4439,7 @@ depend setting_available_architectures:aarch64-linux amd64-freebsd amd64-netbsd
name 00texlive.installer
category TLCore
-revision 60174
+revision 60180
shortdesc TeX Live standalone installer package
longdesc This package defines the files to go into the installer
longdesc archives (install-tl-unx.tar.gz, install-tl.zip) built by the
@@ -99049,21 +99049,21 @@ catalogue-topics notes editorial
name easybook
category Package
-revision 60176
+revision 60183
shortdesc Typeset Chinese theses or books
relocated 1
longdesc Easybook is a minimalist style template based on the ctexbook
longdesc book document class.
-containersize 16992
-containerchecksum 8036f903a2f6ff359de7811b4d33fe1e348e16de62d9b577c1161503e69a05ae269bf0a55e667bcdfd311cb3db4138fde31de57a31646cabc8dd046d4caefdbd
-doccontainersize 604156
-doccontainerchecksum 2900cf0cdc4cb698d4e223ce24759716c75ca49053f48853ad676015fd2f2d1e05005cf92e1a92708e74c3d810697443790ee1140e4d7a2bce2dc2dd51ffdb8f
+containersize 16988
+containerchecksum e1335dc3a261fe3f2ce88070734462a5fa069554cdf70c48f76dcd525e5e4932914f6df69be039524da02cfaeeb7010b3c2aa296a1149e9add45fb25ff81fb2f
+doccontainersize 604084
+doccontainerchecksum b0c4b1c6d329d4c195388244058278c817c045f64d66cb5cbb13db005b430fff58a019e9bc65ec4c2a8048ce4631f207c70008cca23673b51777dce65e20fdb6
docfiles size=164
RELOC/doc/latex/easybook/README.md details="Readme"
RELOC/doc/latex/easybook/easybook.pdf details="Package documentation" language="zh"
RELOC/doc/latex/easybook/easybook.tex
-srccontainersize 17040
-srccontainerchecksum b2b5284985540d1fcf1b0dbf5a141448edeeed61d5c0c3711efcbcf82d553b918267245ae3d181b8734ecf7b88e7be85c1d0cc4d69eb2a448e6ce8826bfc8333
+srccontainersize 17044
+srccontainerchecksum edf643dbc76f55be8a7915b031e80b4cd8daf9b0de96df40349070ae37200ece5c744d9ab289b86d9f3380a37c9b05acf262e828addf06593cbadfa1713776a3
srcfiles size=21
RELOC/source/latex/easybook/easybook.dtx
RELOC/source/latex/easybook/easybook.ins
@@ -99076,7 +99076,7 @@ catalogue-contact-repository https://gitee.com/texl3/easybook
catalogue-ctan /macros/latex/contrib/easybook
catalogue-license cc-by-4
catalogue-topics book-pub class chinese expl3
-catalogue-version 1.28e
+catalogue-version 1.28F
name easyfig
category Package
@@ -190115,7 +190115,7 @@ catalogue-version 1.4b
name markdown
category Package
-revision 56414
+revision 60182
shortdesc A package for converting and rendering markdown documents inside TeX
relocated 1
longdesc The package provides facilities for the conversion of markdown
@@ -190128,15 +190128,16 @@ longdesc down and rewritten for the needs of the package. Lunamark
longdesc provides speedy markdown parsing for the rest of the package.
longdesc On top of Lunamark sits code for the plain TeX, LaTeX, and
longdesc ConTeXt formats by Vit Novotny.
-containersize 31764
-containerchecksum 892bdc84562db375dcd5824f43e93466ca1b833de08ffa247e5e2fc477f6f92832e51feeef8056aac2d5d895e080eb1bff674fffaa0a3d2da8aca3fcb51f0ae1
-doccontainersize 471476
-doccontainerchecksum b00203a7abce01e87a9e54b170bc68bd19bfa5ec346d37ca8805150013d1327b038be185753a0471574b88c1a4d572bfdb7e2ff6bd7cbfea74aef02b489314af
-docfiles size=252
+containersize 33684
+containerchecksum 72afe1bd3d835001af6d2ff178d1ed4d846bba03119225258a776e6b57897377de0b8227b5f538d8b1739dd2c1e48194c808e4856898e592529735a6b745b495
+doccontainersize 778980
+doccontainerchecksum 51e6bc4cfeb602648b121f300ccc3e0d0c5291b15a1d8df3aac89c4f53184142b35d31835ccc5ce96bf04443950c9bdc2e56c8a2a19bee395c6928b8ada0da87
+docfiles size=349
RELOC/doc/context/third/markdown/examples/context.tex
RELOC/doc/context/third/markdown/examples/example.md
RELOC/doc/context/third/markdown/examples/scientists.csv
RELOC/doc/generic/markdown/README.md details="Readme"
+ RELOC/doc/generic/markdown/banner.png
RELOC/doc/generic/markdown/markdown.css
RELOC/doc/generic/markdown/markdown.html details="User Manual (HTML)"
RELOC/doc/generic/markdown/markdown.md
@@ -190144,17 +190145,20 @@ docfiles size=252
RELOC/doc/latex/markdown/examples/example.md
RELOC/doc/latex/markdown/examples/latex.tex
RELOC/doc/latex/markdown/examples/scientists.csv
-srccontainersize 69336
-srccontainerchecksum b8936aae408dec7c7a5d286e0c0f52f8d3d36fbe6ac70da50a3921ea4338689d8f9633f9b22bef36a428ca8cbbd4fc0ecadb98ac9070f3afed02d8ee9ff67163
-srcfiles size=121
+srccontainersize 76040
+srccontainerchecksum 94ad915bff765de9457a4d70e52f077514bad7b77afd799a4a560907da3a45098895784bd080f7f24e23724c7b86ebb0c509362aaab99b9d323a15f7e6a51dfb
+srcfiles size=130
RELOC/source/generic/markdown/docstrip.cfg
RELOC/source/generic/markdown/markdown.dtx
RELOC/source/generic/markdown/markdown.ins
-runfiles size=50
+runfiles size=54
RELOC/scripts/markdown/markdown-cli.lua
RELOC/tex/context/third/markdown/t-markdown.tex
RELOC/tex/generic/markdown/markdown.tex
RELOC/tex/latex/markdown/markdown.sty
+ RELOC/tex/latex/markdown/markdownthemewitiko_dot.sty
+ RELOC/tex/latex/markdown/markdownthemewitiko_graphicx_http.sty
+ RELOC/tex/latex/markdown/markdownthemewitiko_tilde.sty
RELOC/tex/luatex/markdown/markdown.lua
catalogue-contact-announce https://github.com/Witiko/markdown/releases
catalogue-contact-bugs https://github.com/Witiko/markdown/issues
@@ -190163,7 +190167,7 @@ catalogue-contact-repository https://github.com/Witiko/markdown
catalogue-ctan /macros/generic/markdown
catalogue-license lppl1.3
catalogue-topics markup
-catalogue-version 2.9.0
+catalogue-version 2.10.0
name marvosym
category Package
@@ -230369,7 +230373,7 @@ catalogue-version 0.0.1
name nwafuthesis
category Package
-revision 60172
+revision 60187
shortdesc A thesis template package for Northwest A&F University, China
relocated 1
longdesc This template supports doctoral and master dissertations and
@@ -230379,33 +230383,33 @@ longdesc normative format, as well as a hackable class for the users. At
longdesc present, nwafuthesis only supports XeTeX and LuaTeX engines.
longdesc nwafuthesis only allows UTF-8 encoding. nwafuthesis is based on
longdesc the fduthesis template.
-containersize 21596
-containerchecksum 55018b5bca319aa50af8ca43d7669c1677d9ac6ecfde102c91442a8c8ba7e4eeedf1fef2a8aba99dd2ea5889f8575bc670b70686d8cb90aea562d755d0422e59
-doccontainersize 1684136
-doccontainerchecksum 86870ce78a7d17676a49fe4e9ff61acf48128bcfa5b7fbd4e0509ba28fe53854beda657dbb986ea6ce357ed7f1e1c9e1287465bcc7df7cf3f3ad8ffaacbbbf78
-docfiles size=827
+containersize 436584
+containerchecksum 56f9b8f7b3075588b92c51ad680f4be80599b31ac8a5a1b9da08a65ba84c143c2d028c7a83b45915464906c2184da82ccaf3c9c0d9889164ede27626bbda8818
+doccontainersize 2117360
+doccontainerchecksum 10c9fab653bedb469c1dad9a554276da52936240a48581a28035e867d76675bd9dd3230afa8d082780c8511efd3a0c0a18809e4d2528c7c7472d4cdcfab86324
+docfiles size=801
RELOC/doc/latex/nwafuthesis/README.md details="Readme"
RELOC/doc/latex/nwafuthesis/logo/building.jpg
RELOC/doc/latex/nwafuthesis/logo/motto.png
- RELOC/doc/latex/nwafuthesis/logo/nwafu-bar.pdf
RELOC/doc/latex/nwafuthesis/logo/nwafu-circle.pdf
RELOC/doc/latex/nwafuthesis/nwafudoc.cls
RELOC/doc/latex/nwafuthesis/nwafuthesis.pdf details="Package documentation" language="zh"
-srccontainersize 62956
-srccontainerchecksum 7b699c8d087917aa604183969e8ea5d02a6637a80baba0476d17de0a0bea425de91a571c3bdf390036d4576628dd5f27436be160ce1068c6d704705bdace63f3
+srccontainersize 63084
+srccontainerchecksum b5393c09d910126e8d1b9bccee745848157a2f55fb3d9c725abb3a1311002a3343f6dc5aae6b346909beb485f55b2c7becb38f53a9d26c43066928edfd4a53b2
srcfiles size=85
RELOC/source/latex/nwafuthesis/build-win.bat
RELOC/source/latex/nwafuthesis/build.sh
RELOC/source/latex/nwafuthesis/nwafuthesis-doc.dtx
RELOC/source/latex/nwafuthesis/nwafuthesis.dtx
-runfiles size=35
+runfiles size=205
+ RELOC/tex/latex/nwafuthesis/nwafu-bar.pdf
RELOC/tex/latex/nwafuthesis/nwafuthesis.cls
catalogue-contact-bugs https://gitee.com/nwafu_nan/nwafuthesis-l3/issues
catalogue-contact-repository https://gitee.com/nwafu_nan/nwafuthesis-l3
catalogue-ctan /macros/unicodetex/latex/nwafuthesis
catalogue-license lppl1.3c
catalogue-topics class doc-templ dissertation chinese expl3
-catalogue-version 1.00
+catalogue-version 1.01
name nwejm
category Package
@@ -251720,7 +251724,7 @@ catalogue-version 1.0b~4
name projlib
category Package
-revision 60118
+revision 60184
shortdesc A series of tools to simplify your workflow
relocated 1
longdesc ProjLib is a collection of tools to help you write LaTeX
@@ -251728,11 +251732,11 @@ longdesc documents. With the main package ProjLib loaded, you no longer
longdesc need to set up the theorem-like environments, nor to manually
longdesc configure the appropriate multilingual settings. In addition, a
longdesc series of auxiliary functionalities are introduced.
-containersize 12028
-containerchecksum 88b724c778e3f0905aaea35999eb86de6dbbe180f70ceb412861becba2f642e32fc74257230e681f9af12deec26102f38cb03807796b9683bba696dec2938fe4
-doccontainersize 675096
-doccontainerchecksum 71c460d21add973906f08c430b3281254ed13e0d987134308eb733983d0a32aac49f66f3ad15edaa3b63723da82b8ebe2280dd00d441d75cc9a6eec76ffc51e9
-docfiles size=210
+containersize 12036
+containerchecksum 15122837f9934ccc25faf35862217be9194f544c49a9a46c194154d8412ca6b90496efe25b563b7d597fa42785c55fe1836128935e8af38a5539b3f896d5ceaa
+doccontainersize 657860
+doccontainerchecksum e201e5d8e4140906087ccb0ca97a2233ec861dafe9af14325257b6f9080ef15937e96d6c07add9737864367fba41f7b53081661f36d4b7794417df02130b2319
+docfiles size=203
RELOC/doc/latex/projlib/LICENSE
RELOC/doc/latex/projlib/ProjLib-doc-cn.pdf details="Package documentation (Chinese)" language="zh"
RELOC/doc/latex/projlib/ProjLib-doc-cn.tex
@@ -251741,8 +251745,8 @@ docfiles size=210
RELOC/doc/latex/projlib/ProjLib-doc-fr.pdf details="Package documentation (French)" language="fr"
RELOC/doc/latex/projlib/ProjLib-doc-fr.tex
RELOC/doc/latex/projlib/README.md details="Readme"
-srccontainersize 34860
-srccontainerchecksum e1c51ccac25c839fdb0d71f5f35f983f00205f2079cc60bb170cbbecc062ab688b118e5cf0c36b15f02cb66bd69fd82a6509069970cd4976cbdbf6b189f79367
+srccontainersize 34876
+srccontainerchecksum 8b71d47dd00e3cddb4c2e205819d82a999d6fa9af54a03c3a75790a362d081378ed20c99b7d36ae7a5b0ff9a7fc70892f36a0bf569cfd296cb60efe083fe37d7
srcfiles size=46
RELOC/source/latex/projlib/ProjLib-doc.dtx
RELOC/source/latex/projlib/ProjLib-doc.ins
@@ -260661,7 +260665,7 @@ binfiles arch=x86_64-solaris size=1
name pyluatex
category Package
-revision 60095
+revision 60185
shortdesc Execute Python code on the fly in your LaTeX documents
relocated 1
longdesc PyLuaTeX allows you to execute Python code and to include the
@@ -260676,10 +260680,10 @@ longdesc and the output to be integrated in your LaTeX file in a single
longdesc compilation run. No additional processing steps are needed. No
longdesc intermediate files have to be written. No placeholders have to
longdesc be inserted.
-containersize 6056
-containerchecksum d958b99c926938485a6efe2ac49f1bbf85294a67b12d13a94a88a7d966fbf6ecc0728a48bc4c6473d452508bb3b3b4604b214914aa8268450edddd38f2057180
-doccontainersize 81508
-doccontainerchecksum 322b07496a671af6f5534d9ccb79d0a535806892d43f2ccca110d7593433aa600d7fe607c326f347510a0c9a1939bfddd55498440ecc4f5fa4ba5b94f4459cb2
+containersize 6140
+containerchecksum 3c96e7f01daad635d66b18b030f2082105f5a8b81a980952320a488ea3564d81f7d0cf76074fd5762732b314c1afe5281b046a98f0d3854932252c66bdb5a08b
+doccontainersize 82876
+doccontainerchecksum 5737533d639146d330bc894a07f63082fc2a9b1e20425768d4ea9f8394c27e2ded32997763616ee3e74005ac1dbc5efcddbb162ccb8f156a52bca892c63b406e
docfiles size=24
RELOC/doc/lualatex/pyluatex/README.md details="Readme"
RELOC/doc/lualatex/pyluatex/pyluatex.pdf details="Package documentation"
@@ -260694,7 +260698,7 @@ catalogue-contact-repository https://github.com/tndrle/PyLuaTeX
catalogue-ctan /macros/luatex/latex/pyluatex
catalogue-license mit lppl1.3c
catalogue-topics luatex callback expl3
-catalogue-version 0.2.0
+catalogue-version 0.3.0
name python
category Package
@@ -301382,7 +301386,7 @@ docfiles size=376
name texlive-scripts
category TLCore
-revision 60174
+revision 60180
shortdesc TeX Live infrastructure programs
longdesc Includes install-tl, tl-portable, rungs, etc.; not needed for
longdesc tlmgr to run but still ours. Not included in tlcritical.
@@ -301391,9 +301395,9 @@ depend texlive.infra
execute addMap mathpple.map
postaction shortcut type=menu name="TeX Live command-line" cmd=TEXDIR/tlpkg/installer/tl-cmd.bat
containersize 108276
-containerchecksum c2be5967141efb43ebb094b5cd68cc3870e523d5d6ce273cc574bd530a45f3f2789389f563746e2a8f62ccde412e439b2814d7ee468069b869e9b8e345eb6745
-doccontainersize 399200
-doccontainerchecksum 07ac9bceef0d3903e3641ba54a3e9c6a9d2811a5b7b93ab38e885494a8409185988593643a3b464a4d0c2626067bdb892f15a72a1ad6a7711a7fd32e4889000e
+containerchecksum cbdd8b20fb5350a7b6017dfa7ccdebeb6003a38301670b6ff4ef6263178ef9283ba86a8b344543a3bd7fd51e46ce78b228c763b54439eb4c908aaa8c4d16d259
+doccontainersize 399184
+doccontainerchecksum 2d5cc0b8a5fc486d1b2c27664041bb22248ec48fdf9b1311fc9d7618aae72b4b55b4b88a34d76106aa8afd037fce5f87917f045dd1f4d8007289d60bcb8fc8a0
docfiles size=494
doc.html
texmf-dist/doc/man/man1/fmtutil-sys.1
@@ -307795,28 +307799,30 @@ catalogue-version 1.0
name tikzlings
category Package
-revision 58885
+revision 60181
shortdesc A collection of cute little animals and similar creatures
relocated 1
longdesc A collection of LaTeX packages for drawing cute little animals
longdesc and similar creatures using TikZ. Currently, the following
-longdesc TikZlings are included: anteater bear bee cat chicken coati
-longdesc elephant hippo koala marmot mole mouse owl panda penguin pig
-longdesc rhino sheep sloth snowman squirrel These little drawings can be
-longdesc customized in many ways.
-containersize 26652
-containerchecksum 8ca5c4857aff3c834f33ad9c4cfb207390ed7a701e7a296ea4b87a8141a380d3d2a868eed885bfb8d7d859b5229815a73c4a13ee64dc7c0ec0e1eca70f85e511
-doccontainersize 620576
-doccontainerchecksum 93000ade150553ff9cf0679a9d35a4b71ea27ef05856cc62a3466c8e7fe199a7912fb97fcabfe8d8546ea10a28c774a2598babf51f71616147b9300d5aceb404
-docfiles size=167
+longdesc TikZlings are included: anteater bat bear bee bug cat chicken
+longdesc coati elephant hippo koala marmot mole mouse owl panda penguin
+longdesc pig rhino sheep sloth snowman squirrel These little drawings
+longdesc can be customized in many ways.
+containersize 32936
+containerchecksum fd475905e247156f3817e0bfd576532f00d4499cc1d282c1fac12445551d43a5f259697f102f8d5a4f967a114494e29ca839a74b80e5c4fe9579972f8bb9a688
+doccontainersize 666240
+doccontainerchecksum bc7941d397031b9f50e584bcd14aeb86fc736a135264273efe21cc42b8a235f9eeec74ff3217f9fd4052c6d77ca7885c79eb614dd237d3fc24aa14c25f7a9cb2
+docfiles size=175
RELOC/doc/latex/tikzlings/README.md details="Readme"
RELOC/doc/latex/tikzlings/tikzlings-doc.pdf details="Package documentation"
RELOC/doc/latex/tikzlings/tikzlings-doc.tex
-runfiles size=74
+runfiles size=93
RELOC/tex/latex/tikzlings/tikzlings-addons.sty
RELOC/tex/latex/tikzlings/tikzlings-anteaters.sty
+ RELOC/tex/latex/tikzlings/tikzlings-bats.sty
RELOC/tex/latex/tikzlings/tikzlings-bears.sty
RELOC/tex/latex/tikzlings/tikzlings-bees.sty
+ RELOC/tex/latex/tikzlings/tikzlings-bugs.sty
RELOC/tex/latex/tikzlings/tikzlings-cats.sty
RELOC/tex/latex/tikzlings/tikzlings-chickens.sty
RELOC/tex/latex/tikzlings/tikzlings-coatis.sty
@@ -307842,8 +307848,8 @@ catalogue-contact-repository https://github.com/samcarter/tikzlings
catalogue-contact-support https://github.com/samcarter/tikzlings/issues
catalogue-ctan /graphics/pgf/contrib/tikzlings
catalogue-license lppl1.3c
-catalogue-topics amusements graphics pgf-tikz
-catalogue-version 0.6
+catalogue-topics amusements graphics pgf-tikz expl3
+catalogue-version 0.8
name tikzmark
category Package
diff --git a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.md5 b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.md5
index 54d4b465e5..abd99ea095 100644
--- a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.md5
+++ b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.md5
@@ -1 +1 @@
-1de4056ebb6261a92db1c3eb63fc948e texlive.tlpdb
+897865f99c3cdc50b1d081df7384777c texlive.tlpdb
diff --git a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
index 45fd959317..afc751859f 100644
--- a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
+++ b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
@@ -1 +1 @@
-bab10799fd90df47a3bf559e800f28ee45951f5f93eba90f64988edd76b1feb62113dd37e7a56e62b692af129265735ed2c5be9d190630d61625fe3e5d12cc1b texlive.tlpdb
+01ade0d175761b88e3e84304ce03c1f1464053365caa4922dc33d48e68e4989c34d279458fd13f75caf06781b7dc8048d3d97e9923096bc463d8a4167b436435 texlive.tlpdb
diff --git a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
index 68233d5292..4b7db77c81 100644
--- a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
+++ b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
@@ -1,10 +1,10 @@
-----BEGIN PGP SIGNATURE-----
-iQEcBAEBCgAGBQJhDctQAAoJEEzhh34ZQ4xwPSEH/0Ja6Ew0iPEvK1UDIC1ZhMgi
-x3kVFoN7duL93KqRa1IgnDU+O+Nt+IAQQqW4clZcwoeQuIHVpOGPc0x0yeIHPw3a
-FL0DVtBx4B5MTfem1ucF49/r5iXPtaCoxUZYxQaThUAG/9g3HPFOelOUmpNE0roc
-aE6pWwbGloBa3pNkcofCPVDc3W1xNfIc4DbrrLM4wu8+bUqf9A33x/zaj8L4m9DM
-yjGW0uJDEeYPDEkbWwox7w2G3CPiNrGm8NcdSPZlnMDy1V1+PBeFxwJDxmEpdNv3
-4LD0DDyN9YTPPNYve0O+Lb0JnVz6xvzSGBkyMpLhA/AodERzk5JZYerhx/roDEA=
-=GsfP
+iQEcBAEBCgAGBQJhDxzeAAoJEEzhh34ZQ4xwssMH/RX+6dhy01zZxCcsSL5ZAOH9
+9AK3R8wkBwShWeNx/g+kdpMHQv5jQbO5yHhcq+gix9tPGyaZwlB3577KsO+algfL
+WD68bxIZW3RN3x1xECC19RXvXJ0DC7WTSsBET2mAjT27TkF/aMMNKD7LP8F8ww6A
+nZ/QKGkHJsptWOEALGA5WC5jpHeYo24nVc23tvsTwP0c7Q9U0O4MAsOt0J9VCt/l
+DTkZpZrRfUrvg0QTJB1hfbm5fZ61uzzPHwV3mgg+4f0HQ074ZT7v1AhaadZvXqX8
+A42pR4EkgrTtKCQ3F9e0y4+tKK2+zptB1MLF1DhEojJP6x7IV7rDlA+6JmZ8qsc=
+=fG36
-----END PGP SIGNATURE-----
diff --git a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
index 8be2986d56..a4fc1ae538 100644
--- a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
+++ b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
Binary files differ
diff --git a/systems/win32/miktex/doc/miktex.pdf b/systems/win32/miktex/doc/miktex.pdf
index c2d24881f7..aa32be1af7 100644
--- a/systems/win32/miktex/doc/miktex.pdf
+++ b/systems/win32/miktex/doc/miktex.pdf
Binary files differ
diff --git a/systems/win32/miktex/tm/packages/files.csv.lzma b/systems/win32/miktex/tm/packages/files.csv.lzma
index a9819ae296..df206d8050 100644
--- a/systems/win32/miktex/tm/packages/files.csv.lzma
+++ b/systems/win32/miktex/tm/packages/files.csv.lzma
Binary files differ
diff --git a/systems/win32/miktex/tm/packages/next/pr.ini b/systems/win32/miktex/tm/packages/next/pr.ini
index 51dbf84a61..e7b1a11fd4 100644
--- a/systems/win32/miktex/tm/packages/next/pr.ini
+++ b/systems/win32/miktex/tm/packages/next/pr.ini
@@ -1,13 +1,13 @@
[repository]
-date=1628280890
+date=1628367426
lastupd=miktex-arctrl-bin-2.9 miktex-arctrl-bin-x64-2.9 miktex-asymptote-bin-2.9 miktex-asymptote-bin-x64-2.9 miktex-autosp-bin-2.9 miktex-autosp-bin-x64-2.9 miktex-axohelp-bin-2.9 miktex-axohelp-bin-x64-2.9 miktex-bibarts-bin-2.9 miktex-bibarts-bin-x64-2.9 miktex-bibtex-bin-2.9 miktex-bibtex-bin-x64-2.9 miktex-bibtex8bit-bin-2.9 miktex-bibtex8bit-bin-x64-2.9 miktex-bzip2-bin-2.9 miktex-bzip2-bin-x64-2.9 miktex-cairo-bin-2.9 miktex-cairo-bin-x64-2.9 miktex-chktex-bin-2.9 miktex-chktex-bin-x64-2.9
-lstdigest=ae37f607d01ded5ea5e32e150c852ad5
+lstdigest=a6f3863444042eb614456b44b57e8541
numpkg=4626
relstate=next
-version=7888
+version=7889
;;;;This configuration file is signed by a MiKTeX maintainer. The signature follows.
;;;;-----BEGIN MIKTEX SIGNATURE-----
-;;;; signature/miktex: nYCX9LBLRn15CBAx2XGE7SAiXD3KFlQ3kkNoNR1pWkxUGSJy0D15ITLVrmzNBWaxyzdvEN6Srp/TH5xoIce2m080tEbh4nd9KQaCMkP7rDvQ6WR+PQle42nTBeBV7N5mF6WmcSd476lwusydG5gXworZcOKUKzjB5Miy1aRo9+UQffoQP1DFiPEggTJxlWs5DiiPW104icU9Hlurk5OQ1enRFEd+kq5SVtfKelJyhukMvxJTK25NOBpX2Nz43E3A3XkpgkkC57Pd1thwM/iEXPy+0lf0DUnGnMBZquDSYPwdkt9U1VgPkGi5eyMOcCPQ7xzqSqNfeRini1XYfvFCvQ==
+;;;; signature/miktex: pNCFgX9HfnKU4fE0mM6SUrX9RdKfN+Oesk7fIY7rDemyeWiEVTDvAKhy3uZJWetRM1kPXWRiN6Z89KYlAwzp9EDXxysCE+KD8cd6LDtsScRRrhQSBlLEvVf4YRP/Tp9VWzV6FYSsM+29Bfq5S2UNgismC+WzcMVrd8kcME5rEfUV1SSQ5+cj0JS4QuplLlYGAz2AjX3mH7yfJyDJ988KTHnfVHOcbCLv/NpBxMqHSRuj7dsJltdHaQsPqJVaYy3iOihQLx9cnctgdw+oSwO4KRI0kKM6FzJ5mUB3de5NJCbq87BtrhMn9f3EcSrloxD7LZd79jawJtLhMGY6kPZx2Q==
;;;;-----END MIKTEX SIGNATURE-----
diff --git a/systems/win32/miktex/tm/packages/pr.ini b/systems/win32/miktex/tm/packages/pr.ini
index 7d08af9408..df78c77f31 100644
--- a/systems/win32/miktex/tm/packages/pr.ini
+++ b/systems/win32/miktex/tm/packages/pr.ini
@@ -1,13 +1,13 @@
[repository]
-date=1628280686
-lastupd=bangla bangla__doc bangla__source beamer-rl beamer-rl__doc fontsize fontsize__doc fontsize__source l3backend l3backend__doc l3backend__source l3experimental l3experimental__doc l3experimental__source l3packages l3packages__doc l3packages__source python python__doc siunitx
-lstdigest=98414c2f498aba9545152a478f36c63c
+date=1628367079
+lastupd=miktex-arctrl-bin-2.9 miktex-arctrl-bin-x64-2.9 miktex-asymptote-bin-2.9 miktex-asymptote-bin-x64-2.9 miktex-autosp-bin-2.9 miktex-autosp-bin-x64-2.9 miktex-axohelp-bin-2.9 miktex-axohelp-bin-x64-2.9 miktex-bibarts-bin-2.9 miktex-bibarts-bin-x64-2.9 miktex-bibtex-bin-2.9 miktex-bibtex-bin-x64-2.9 miktex-bibtex8bit-bin-2.9 miktex-bibtex8bit-bin-x64-2.9 miktex-bzip2-bin-2.9 miktex-bzip2-bin-x64-2.9 miktex-cairo-bin-2.9 miktex-cairo-bin-x64-2.9 miktex-chktex-bin-2.9 miktex-chktex-bin-x64-2.9
+lstdigest=573e269e327f369fb40f1472c8b382bc
numpkg=4626
relstate=stable
-version=7888
+version=7889
;;;;This configuration file is signed by a MiKTeX maintainer. The signature follows.
;;;;-----BEGIN MIKTEX SIGNATURE-----
-;;;; signature/miktex: Em9F+0tNNCmYsayB5lNJredcgShZq0NB1+xC3WWpgYPTW6UW2HdG3JSfLoSeqjVJb7EZdqsiYIOsWgl2j8T/cA/PFnMZjq2nspmIdDd5JdQLU+fEgygweMwYPNoe8xL48g2X6clvNle2+URF2CS9W7JRmaJhvuoRUfvrs3eo3RlUl94pVw48mU6IXZXhb/2+8VtQTgxQCQlcmMndeNndo8W9XkvOZKs5c/wzOMbafPvttfY2Gh/yrKlko1mKYgS1bIhRAZhnrYHwu8+wsMs4d3eDYEu0zPwTmC+dB71OAHGl3/94xymZQegX4VTU+b0Ds/srdaJwj09pmYXynVHKRQ==
+;;;; signature/miktex: c3pXJi6wLo8rBP29eqk8ULkxOu2VfixOuHLxkGH15a0ChdKuwECOkScJoSVlpHhkAuq2wdMQf/vn9CuFqN9zST0bK5StyfYsi31Qme6rPVInC9Ps4nSzTNlLvmq/Gqh6E8HGrkjfQc5mVlg3DbT6eDSOt6taHC/qjJQk7tu7fGE4XZINJPSqptxjAhkXFpm6TnnD6f+zsYfS2mwA3xtxr09Ghf1u7fF2CF0shEoovbP883ag3Wl3J1LoL8mX+Eh9k5crX9QWnQuDlwUdADe1j0zzvbXx1COzT5ZunXCrq6NZDnnAPRj10+kBljSBXKD4Kyx56LIpJ78PJSYvxsXy8g==
;;;;-----END MIKTEX SIGNATURE-----
diff --git a/timestamp b/timestamp
index e8726259a1..9ab7b1e9ec 100644
--- a/timestamp
+++ b/timestamp
@@ -2,4 +2,4 @@
# The source CTAN of this site's material:
dante.ctan.org
# The year-month-day-hour-minute of this site's material:
-2021-08-07-02-02
+2021-08-08-02-02