summaryrefslogtreecommitdiff
path: root/support/optexcount/tests/test-04.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-06-22 03:00:55 +0000
committerNorbert Preining <norbert@preining.info>2021-06-22 03:00:55 +0000
commit2a49c67eee870febe71143a093f3c304e0033153 (patch)
treec9806df7138b04732008e0f3ed8aaae00fc2da1b /support/optexcount/tests/test-04.tex
parente5ca43f7439d850f4193a932455792429cff61eb (diff)
CTAN sync 202106220300
Diffstat (limited to 'support/optexcount/tests/test-04.tex')
-rw-r--r--support/optexcount/tests/test-04.tex55
1 files changed, 55 insertions, 0 deletions
diff --git a/support/optexcount/tests/test-04.tex b/support/optexcount/tests/test-04.tex
new file mode 100644
index 0000000000..3fbdd9a4f0
--- /dev/null
+++ b/support/optexcount/tests/test-04.tex
@@ -0,0 +1,55 @@
+% Correct counts
+% text count - 31
+% header count - 8
+% caption count - 5
+
+\chyph
+\fontfam[Schola]
+
+\tit Zkouska listů
+
+Uvodni slovo k nasemu souboru
+
+\chap[Znacka na prvni kapitolu]Kapitolka
+
+\sec [Znacka na prvni sekci] Nejaky nadpis s nejakum textem
+
+\begitems \style i
+* Odrazka prvni
+* Co dale?
+* Neco jineho:
+\begitems
+\begitems
+* Jedna dve
+* Honza jde
+\enditems
+* Jedna dve
+* Honza jde
+\enditems
+* Nese pytel mouky
+\enditems
+
+\begitems
+* Prvni odrazka
+* Druha * A rovnou dalsi odrazka
+* Posledni odrazka
+\enditems
+
+% Table copied from http://petr.olsak.net/tat/priklad-optex.tex
+\bigskip
+\center\table{||l|cc||}{\crl \tskip.5ex
+ & \multispan2 \hfil počet \qquad\hfil\vrule\kern\vvkern\vrule\strut\cr
+ makro & řádků kódu & stran dokumentace \crli \tskip.5ex
+ plain & 1241 & 100 \cr
+ OPmac & 1600 & 19 \crli \tskip.5ex
+ \LaTeX{} (jádro) & 8000 & 240 \cr
+ hyperref & 24773 & 423 \cr
+ color + graphics & 2469 & 81 \crli \tskip.5ex
+ Ti{\it k}Z & 1\,634\,882 & 726 \crli \tskip.5ex
+ Con\TeX{}t & 1\,155\,673 & 547 \crl
+}
+\nobreak\medskip
+\caption/t Makra a jejich rámcový rozsah
+\bigskip
+
+\bye