summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-07-02 03:02:09 +0000
committerNorbert Preining <norbert@preining.info>2021-07-02 03:02:09 +0000
commitc4d400d058136a9045857b99d816595e7a655125 (patch)
treec94ed379e2025f98ef92962c8aedaaa4f207a96c /support
parentc840f97520ba98156a0ed525d6b5d05ab6a324f6 (diff)
CTAN sync 202107020302
Diffstat (limited to 'support')
-rw-r--r--support/optexcount/README.md6
-rw-r--r--support/optexcount/doc/optexcount-doc.pdfbin27286 -> 28863 bytes
-rw-r--r--support/optexcount/doc/optexcount-doc.tex46
-rw-r--r--support/optexcount/examples/example_01.tex (renamed from support/optexcount/tests/main_test.tex)0
-rw-r--r--support/optexcount/examples/final_bird.png (renamed from support/optexcount/tests/final_bird.png)bin1350 -> 1350 bytes
-rwxr-xr-xsupport/optexcount/install.sh10
-rw-r--r--support/optexcount/optexcount.py49
-rw-r--r--support/optexcount/src/counter.py8
-rwxr-xr-xsupport/optexcount/src/optexcount.py39
-rw-r--r--support/optexcount/tests/test-01.tex39
-rw-r--r--support/optexcount/tests/test-02.tex41
-rw-r--r--support/optexcount/tests/test-03.tex33
-rw-r--r--support/optexcount/tests/test-04.tex55
-rw-r--r--support/optexcount/tests/test-05.tex28
-rw-r--r--support/optexcount/tests/test-06.tex31
-rw-r--r--support/optexcount/tests/test-07.tex35
16 files changed, 93 insertions, 327 deletions
diff --git a/support/optexcount/README.md b/support/optexcount/README.md
index ebfcea5b53..70d104c414 100644
--- a/support/optexcount/README.md
+++ b/support/optexcount/README.md
@@ -1,5 +1,7 @@
# OpTeXcount
What is OpTeXcount? It is a basic python script that analyzes OpTeX source code and counts words in specific categories. For more information about this tool read `optexcount-doc.pdf`.
-### How to use it?
-Run: `python3 optexcount.py filename [-verbose] [-set-verbchar=verb-char]`, where `filename` is the name of our OpTeX code file. What does the optional argument `-verbose`? It prints the entire source code with colored words according to their categories. `-set-verbchar=verb-char` sets the implicit inline verbatim character to `verb-char`
+### How to install OpTeXcount?
+Run: `sudo ./install.sh`
+### Usage
+Run: `optexcount [-h] [-v] [-s SET_VERBCHAR] [--version] filename`, where `filename` is the name of our OpTeX code file. What does the optional argument `-v/--verbose`? It prints the entire source code with colored words according to their categories. `-s SET_VERBCHAR` or `--set-verbchar SET_VERBCHAR` sets the implicit inline verbatim character to `SET_VERBCHAR` character.
diff --git a/support/optexcount/doc/optexcount-doc.pdf b/support/optexcount/doc/optexcount-doc.pdf
index bc85ab1d62..8a838fa803 100644
--- a/support/optexcount/doc/optexcount-doc.pdf
+++ b/support/optexcount/doc/optexcount-doc.pdf
Binary files differ
diff --git a/support/optexcount/doc/optexcount-doc.tex b/support/optexcount/doc/optexcount-doc.tex
index 0e10fa2b90..764c1c527b 100644
--- a/support/optexcount/doc/optexcount-doc.tex
+++ b/support/optexcount/doc/optexcount-doc.tex
@@ -6,7 +6,7 @@
\def\title{\OpTeX count}
\def\desc{Python script for counting words in \OpTeX/ documents}
-\def\version{Version 1.0}
+\def\version{Version 1.1}
\def\author{Richard Hartmann}
\def\maketitle {\vbox to 9\baselineskip{
@@ -39,33 +39,59 @@ It counts words and other elements of \OpTeX/ document and sorts them out into i
* Displayed math formulae
\enditems
-Regular text words are words that occur in the main text. Header words are introduced using these particular keywords: {\Blue `\tit`}, {\Blue `\chap`}, {\Blue `\sec`} and {\Blue `\secc`}. Caption words take into account captions of tables and figures, i.e., {\Blue `\caption/t`} and {\Blue `\caption/f`}, footnotes({\Blue `\fnote`} or {\Blue `\fnotetext`}) and marginal notes({\Blue `\mnote`}). Header count is the number of all headers in our document. Figures/Tables count counts all tables and figures which occur in the document. Inline formulae are introduced using {\Blue `$`\dots`$`} and displayed formulae are introduced using {\Blue `$$`\dots`$$`}.
+Regular text words are words that occur in the main text.
+Header words are introduced using these particular keywords: {\Blue `\tit`}, {\Blue `\chap`}, {\Blue `\sec`} and {\Blue `\secc`}.
+Caption words take into account captions of tables and figures, i.e., {\Blue `\caption/t`} and {\Blue `\caption/f`}, footnotes({\Blue `\fnote`} or {\Blue `\fnotetext`}) and marginal notes({\Blue `\mnote`}).
+Header count is the number of all headers in our document.
+Figures/Tables count counts all tables and figures which occur in the document.
+Inline formulae are introduced using {\Blue `$`\dots`$`} and displayed formulae are introduced using {\Blue `$$`\dots`$$`}.
If there is a verbatim text in some category, its words are counted too.
Alongside above mentioned statistics, all individual sections are printed separately with particular word counts.
-To get this utility running, Python3 has to be installed. Then user can run this utility by command:
+To get this utility running, you need to install it using basic bash script.
+Use command {\Blue `sudo ./install.sh`}.
+Installation requires `python3` and `zip` utility running.
+Then user can run this utility by command:
\begtt
-python3 optexcount.py optex-filename
+optexcount [-h] [-v] [-s SET_VERBCHAR] [--version] filename
\endtt
-User can also use two optional specifiers: {\Blue `-verbose`} and {\Blue `-set-verbchar=verb-char`}. When the utility is ran in {\Blue `-verbose`} mode, the source code is printed on the screen with colored words, so he can easily see, what is considered as text word, header word, caption word or keyword. User can specify(using {\Blue `-set-verbchar=verb-char`} specifier) implicit verbatim inline character. This can be useful when the specific verbatim character is used in the file but not explicitely set in the file. The situation may occur for example when user wants to count words in file, that is read by different main file. The verbatim character is set in the main file, but not in the file we want to analyze.
+Use {\Blue `-h`} or {\Blue `--help`} specifier for the help message.
+User can also use two optional specifiers: {\Blue `-v`}~/~{\Blue `--verbose`} and {\Blue -s SET_VERBCHAR}~/~{\Blue --set-verbchar SET_VERBCHAR}.
+When the utility is ran in verbose mode, it prints the source code on the screen with colored words, so user can easily see, what is considered as text word, header word, caption word or keyword.
+Character {\Blue `SET_VERBCHAR`} sets implicit verbatim inline character.
+This can be useful when the specific verbatim character is used in the file but not explicitely set in the file.
+The situation may occur for example when user wants to count words in file, that is read by different main file.
+The verbatim character is set in the main file, but not in the file we want to analyze.
+
+In case you don't want to install this software you can run python script {\Blue `src/optexcount.py`} with {\Blue `python3`} command explicitly.
\sec A Brief Implementation Description
-\OpTeX count uses regular expressions to separate individual words, to identify keywords, brackets, math formulae etc. These preprocessed words are sequentially loaded into counter that decides how to treat with the word.
+\OpTeX count uses regular expressions to separate individual words, to identify keywords, brackets, math formulae etc.
+These preprocessed words are sequentially loaded into counter that decides how to treat with the word.
-If some specific keyword occurs, that is not known by this utility, it is skipped. Problem may occur, if an unknown keyword has got some arguments, the utility could count these arguments as individual words. Therefore, most common keywords with arguments are listed in `src/keywords.py`, so the utility can load successfully these arguments. If there is some important keyword missing, feel free to modify this file, to add this keyword\dots
+If some specific keyword occurs, that is not known by this utility, it is skipped.
+Problem may occur, if an unknown keyword has got some arguments, the utility could count these arguments as individual words.
+Therefore, most common keywords with arguments are listed in `src/keywords.py`, so the utility can load successfully these arguments.
+If there is some important keyword missing, feel free to modify this file, to add this keyword\dots
-In case of some keyword, that is important for the utility to identify, for example {\Blue `\sec`} or {\Blue `\fnote`}, special handler routine is ran, to manage this particular keyword. The place, from which we process the word also determines the category of the word, in what color should be this word highlighted in {\Blue `-verbose`} mode etc.
+In case of some keyword, that is important for the utility to identify, for example {\Blue `\sec`} or {\Blue `\fnote`}, special handler routine is ran, to manage this particular keyword.
+The place, from which we process the word also determines the category of the word, in what color should be this word highlighted in verbose mode etc.
\sec Utility Limitations
-The results are pretty precise when the most basic \OpTeX/ constructions are used. As It has been already mentioned above, it is really basic and lightweight utility. When user uses some more advanced \TeX constructions, problems may occur, and the counts may be imprecise. It doesn't take into account macro expansion, self defined rules etc\dots When using this utility, a valid \OpTeX/ source code should be passed. If the file contains some errors(for example unterminated inline verbatim), utility terminates the process and won't provide much information about the problem. This utility only works with one particular file so it doesn't count included files as well.
+The results are pretty precise when the most basic \OpTeX/ constructions are used.
+As It has been already mentioned above, it is really basic and lightweight utility.
+When user uses some more advanced \TeX/ constructions, problems may occur, and the counts may be imprecise.
+It doesn't take into account macro expansion, self defined rules etc\dots When using this utility, a valid \OpTeX/ source code should be passed.
+If the file contains some errors(for example unterminated inline verbatim), utility terminates the process and won't provide much information about the problem.
+This utility only works with one particular file so it doesn't count included files as well.
-Beside above mentioned limitations of this utility, it could be very useful for the analysis of basic \OpTeX/ documents(such as the exemplary document {\Blue `tests/main_test.tex`}).
+Beside above mentioned limitations of this utility, it could be very useful for the analysis of basic \OpTeX/ documents(such as the exemplary document {\Blue `examples/example_01.tex`}).
\bye
diff --git a/support/optexcount/tests/main_test.tex b/support/optexcount/examples/example_01.tex
index 77a79f8a76..77a79f8a76 100644
--- a/support/optexcount/tests/main_test.tex
+++ b/support/optexcount/examples/example_01.tex
diff --git a/support/optexcount/tests/final_bird.png b/support/optexcount/examples/final_bird.png
index 889d3d12d3..889d3d12d3 100644
--- a/support/optexcount/tests/final_bird.png
+++ b/support/optexcount/examples/final_bird.png
Binary files differ
diff --git a/support/optexcount/install.sh b/support/optexcount/install.sh
new file mode 100755
index 0000000000..1e5f15507f
--- /dev/null
+++ b/support/optexcount/install.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+set -e
+cp src/optexcount.py src/__main__.py
+zip -j optexcount.zip src/*.py 1> /dev/null
+echo '#!/usr/bin/env python3' | cat - optexcount.zip > optexcount
+chmod +x optexcount
+rm optexcount.zip src/__main__.py
+mv optexcount /usr/bin/optexcount
+echo 'OpTeXcount successfully installed!' \ No newline at end of file
diff --git a/support/optexcount/optexcount.py b/support/optexcount/optexcount.py
deleted file mode 100644
index 1dd40e0c4b..0000000000
--- a/support/optexcount/optexcount.py
+++ /dev/null
@@ -1,49 +0,0 @@
-"""
-The main file for entire optexcount utility
-Author: Richard Hartmann
-Version: 1.0
-"""
-
-
-import sys
-import os.path
-import src.counter
-
-
-def main():
- if len(sys.argv) < 2 and len(sys.argv) > 4:
- print("Usage: python3 " + sys.argv[0] + " path-to-file [-verbose] [-set-verbchar=verbatim-character]")
- elif not os.path.isfile(sys.argv[1]):
- print(sys.argv[1] + " Invalid filename!")
- elif len(sys.argv) == 3 and sys.argv[2] != "-verbose" and sys.argv[2][0:-1] != "-set-verbchar=":
- print(sys.argv[2] + " Invalid specifier!")
- print("Usage: python3 " + sys.argv[0] + " path-to-file [-verbose] [-set-verbchar=verbatim-character]")
- elif len(sys.argv) == 4 and sys.argv[2] != "-verbose" and sys.argv[3][0:-1] != "-set-verbchar=":
- if sys.argv[2] != "-verbose":
- print(sys.argv[2] + " Invalid specifier!")
- if sys.argv[3][0:-1] != "-set-verbchar=":
- print(sys.argv[3] + " Invalid specifier!")
- print("Usage: python3 + " + sys.argv[0] + " path-to-file [-verbose] [-set-verbchar=verbatim-character]")
- else:
- verb_char = None
- verbose_mode = False
- if len(sys.argv) == 4:
- verbose_mode = True
- verb_char = sys.argv[3][-1]
- elif len(sys.argv) == 3:
- if sys.argv[2] == "-verbose":
- verbose_mode = True
- else:
- verb_char = sys.argv[2][-1]
- try:
- c = src.counter.Counter(sys.argv[1], verbose_mode, verb_char)
- c.run()
- c.print_result()
- except Exception as err:
- print()
- print("Problem occurred!")
- print(err)
-
-
-if __name__ == "__main__":
- main()
diff --git a/support/optexcount/src/counter.py b/support/optexcount/src/counter.py
index e666e6788d..b5cc9466cb 100644
--- a/support/optexcount/src/counter.py
+++ b/support/optexcount/src/counter.py
@@ -1,7 +1,7 @@
-import src.keywords as kw
-import src.word_iterator as wi
-import src.header as hd
-import src.color_print as cp
+import keywords as kw
+import word_iterator as wi
+import header as hd
+import color_print as cp
class Counter:
diff --git a/support/optexcount/src/optexcount.py b/support/optexcount/src/optexcount.py
new file mode 100755
index 0000000000..2f1310f53b
--- /dev/null
+++ b/support/optexcount/src/optexcount.py
@@ -0,0 +1,39 @@
+#!/usr/bin/env python3
+
+"""
+The main file for entire optexcount utility
+Author: Richard Hartmann
+Version: 1.1
+"""
+
+
+import argparse
+import counter
+
+
+def main():
+ parser = argparse.ArgumentParser(description="Word counter of OpTeX documents")
+ parser.add_argument('filename', help='filename of our OpTeX file', type=argparse.FileType('r'))
+ parser.add_argument("-v", "--verbose", help="activate verbose mode", action="store_true")
+ parser.add_argument('-s', '--set-verbchar', help='set implicit inline verbatim character', nargs=1)
+ parser.add_argument('--version', action='version', version='Version 1.1')
+ args = parser.parse_args()
+ if args.set_verbchar:
+ if len(args.set_verbchar[0]) != 1:
+ parser.error("SET_VERBCHAR must be a character")
+ raise argparse.ArgumentTypeError("SET_VERBCHAR must be a character")
+ else:
+ args.set_verbchar = args.set_verbchar[0]
+
+ try:
+ c = counter.Counter(args.filename.name, args.verbose, args.set_verbchar)
+ c.run()
+ c.print_result()
+ except Exception as err:
+ print()
+ print("Problem occurred!")
+ print(err)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/support/optexcount/tests/test-01.tex b/support/optexcount/tests/test-01.tex
deleted file mode 100644
index fc19d0db3e..0000000000
--- a/support/optexcount/tests/test-01.tex
+++ /dev/null
@@ -1,39 +0,0 @@
-% Basic test source code of optex.
-% Test of text and header counts
-% Correct counts:
-% text count - 50
-% header count - 35
-
-
-\chyph
-\fontfam[Schola]\typosize[11/13]
-
-\tit Pouze a jen pouze ukazkovy nadpis
-
-Tento text neni zarazen do zadneho bloku
-
-\secc Je mozne udelat podparagraf rovnou?
-
-To zjistime...
-
-\sec Nase prvni sekce
-
-Dokument se skládá z odstavců (ve zdrojovém textu jsou odděleny prázdnými řádky)
-a dále z kapitol, sekcí a podsekcí.
-
-\secc Nejaky text
-
-A toto je nejaky text.
-Co dale?
-
-\chap KILL BILL Chapter one
-
-\secc Tento nadpis je pouzit pro vyzkouseni velice dlouheho nadpisu.\nl Pojdme tento nadpis jeste prodlouzit.
-
-Lorem ipsum dolor sit amet.
-
-\secc Poznámky
-
-Jedna dve tri ctyri, 5 sest sedm osm devet deset
-
-\bye
diff --git a/support/optexcount/tests/test-02.tex b/support/optexcount/tests/test-02.tex
deleted file mode 100644
index 10987b98ea..0000000000
--- a/support/optexcount/tests/test-02.tex
+++ /dev/null
@@ -1,41 +0,0 @@
-% Basic test source code of optex.
-% Test of text and header counts
-% Same as first test but with multiple lines header
-% Correct counts:
-% text count - 50
-% header count - 35
-
-
-\chyph
-\fontfam[Schola]\typosize[11/13]
-
-\tit Pouze a jen pouze ukazkovy nadpis
-
-Tento text neni zarazen do zadneho bloku
-
-\secc Je mozne udelat podparagraf rovnou?
-
-To zjistime...
-
-\sec Nase prvni sekce
-
-Dokument se skládá z odstavců (ve zdrojovém textu jsou odděleny prázdnými řádky)
-a dále z kapitol, sekcí a podsekcí.
-
-\secc Nejaky text
-
-A toto je nejaky text.
-Co dale?
-
-\chap KILL BILL Chapter one
-
-\secc Tento nadpis je pouzit pro ^^J
-vyzkouseni velice dlouheho nadpisu.\nl Pojdme tento nadpis jeste prodlouzit.
-
-Lorem ipsum dolor sit amet.
-
-\secc Poznámky
-
-Jedna dve tri ctyri, 5 sest sedm osm devet deset
-
-\bye
diff --git a/support/optexcount/tests/test-03.tex b/support/optexcount/tests/test-03.tex
deleted file mode 100644
index 438db664b9..0000000000
--- a/support/optexcount/tests/test-03.tex
+++ /dev/null
@@ -1,33 +0,0 @@
-% Correct counts
-% text count - 26
-% header count - 7
-
-\chyph
-\fontfam[Schola]
-
-\tit Zkouska listů
-
-\sec 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
-
-\bye
diff --git a/support/optexcount/tests/test-04.tex b/support/optexcount/tests/test-04.tex
deleted file mode 100644
index 3fbdd9a4f0..0000000000
--- a/support/optexcount/tests/test-04.tex
+++ /dev/null
@@ -1,55 +0,0 @@
-% 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
diff --git a/support/optexcount/tests/test-05.tex b/support/optexcount/tests/test-05.tex
deleted file mode 100644
index 5f88f0f11c..0000000000
--- a/support/optexcount/tests/test-05.tex
+++ /dev/null
@@ -1,28 +0,0 @@
-% Correct counts
-% text count - 11
-% header count - 13
-% caption count - 13
-
-\chyph
-\fontfam[Schola]
-
-\tit Zkouska různých popisků
-
-Uvodni slovo k nasemu souboru
-
-\sec [Znacka na prvni sekci] Nejaky nadpis s nejakum textem
-
-Tady se nachazi {\it nejaký {\bf zvýrazněný \it textík }}
-
-\secc Zobrazení nějakého obrázku s popiskem
-
-\midinsert \label[ptacek]
- \noindent\hfil \picw=9cm \inspic final_bird.png
- \medskip
- \caption/f Toto je oficiální grafika ptáčka hry {\bf Flappy bird}.
-\endinsert
-
-\noindent\hfil\table{||c|c|c|c|c|c||}{\crl 1 & 2 & 3 & 5 & 8 & 13 \crl}
-\bigskip\caption/t [Propracovaná tabulka] Čísla jakožto součet dvou předchozích.
-
-\bye
diff --git a/support/optexcount/tests/test-06.tex b/support/optexcount/tests/test-06.tex
deleted file mode 100644
index 132193735a..0000000000
--- a/support/optexcount/tests/test-06.tex
+++ /dev/null
@@ -1,31 +0,0 @@
-% Correct counts
-% text count - 15
-% header count - 13
-% caption count - 23
-
-\chyph
-\fontfam[Schola]
-
-\tit Zkouska různých popisků
-
-Uvodni slovo k nasemu souboru
-
-\sec [Znacka na prvni sekci] Nejaky nadpis s nejakum textem
-
-Tady se nachazi \fnote{Nějaká poznámka pod čarou}{\it nejaký {\bf zvýrazněný \it textík }}
-
-\secc Zobrazení nějakého obrázku s popiskem
-
-Rychle vložíme nějaký text \mnote{Další poznámečka}
-
-\midinsert \label[ptacek]
- \noindent\hfil \picw=9cm \inspic final_bird.png
- \medskip
- \caption/f Toto je oficiální grafika ptáčka hry {\bf Flappy bird}\fnotemark1
-\endinsert
-\fnotetext{Tato hra již nedostupná}.
-
-\noindent\hfil\table{||c|c|c|c|c|c||}{\crl 1 & 2 & 3 & 5 & 8 & 13 \crl}
-\bigskip\caption/t [Propracovaná tabulka] Čísla jakožto součet dvou předchozích.
-
-\bye \ No newline at end of file
diff --git a/support/optexcount/tests/test-07.tex b/support/optexcount/tests/test-07.tex
deleted file mode 100644
index dafc96ffea..0000000000
--- a/support/optexcount/tests/test-07.tex
+++ /dev/null
@@ -1,35 +0,0 @@
-% Correct counts
-% text count - 34
-% header count - 4
-% caption count - 11
-
-\chyph
-\fontfam[Schola]
-\margins/1 a4 (3,3,3,3)cm
-\typosize[11/13]
-\activettchar`
-\hyperlinks\Blue\Green
-\outlines0
-
-\tit Matematika
-
-Matematika v řádku: $a^2+b^2=c^2$. Další způsob:
-
-\label[Nějaká matice]
-$$
- {\bbchar C} = \pmatrix{ x & 0 & 0 \cr 0 & y & 0 \cr 0 & 0 & z}, kde \; x, y, z \neq 0
-$$
-
-\chap[Kusy kódu] Zkouška základního verbatimu
-
-\begtt
-Tady je pořádný verbatim text.
-Zde mohu klidně psát klíčová slova jako \tit nebo \begtt a nikomu to nevadí.
-\endtt
-\fnote{Toto krásně funguje, že?}
-
-A co se stane, když uděláme `verbatim text` takto inline?
-
-\fnote{Nic, neboť `\activettchar` nebo `\verbchar` krásně fungují.}
-
-\bye