Previous |  Up |  Next

Article

Summary:
Článek popisuje problematiku psaní programů a dokumentace k nim. Ukazuje autorův balíček gensrc nad OPmacem, který umožňuje psát program i dokumentaci k němu v jediném TeXovém souboru. Jsou ukázány další možnosti a aplikace tohoto balíčku.
Summary:
This paper concerns writing programs and their documentation. We show author's package gensrc running on OPmac, which allows to write both program and its documentation in one TeX file. We also show more possibilities and applications of this package.
References:
[1] Olšák, Petr: OPmac: Rozšiřující makra plain TeXu. [online]. [cit. 2023-11-13]. Dostupné z: https://petr.olsak.net/opmac.html
[2] Knuth, Donald E.: Literate Programming. [online]. 1983-09. [cit. 2023-11-13]. Dostupné z: http://www.literateprogramming.com/knuthweb.pdf Submitted to The Computer Journal.
[3] Knuth, Donald E.: TeX: The Program. Sv. B. Reading, MA: Addison-Wesley, 1986. Computers & Typesetting. Dostupné také z: https://tug.ctan.org/systems/knuth/dist/tex/tex.web MR 0400642
[4] Olšák, Petr: TeXbook naruby. 2. vyd. Konvoj, 2001. Dostupné také z: http://petr.olsak.net/ftp/olsak/tbn/tbn.pdf
[5] The LaTeX Project Team, Mittelbach, Frank: docstrip: Remove comments from file. [online]. 2022-09-03. [cit. 2023-11-13]. Dostupné z: https://ctan.org/pkg/docstrip
[6] Mittelbach, Frank: The doc and shortvrb Packages. [online]. 2023-11-01. [cit. 2023-11-13]. Dostupné z: https://mirrors.ctan.org/macros/latex/base/doc.pdf
[7] Mittelbach, Frank, Duchier, Denys, Braams, Johannes, Woliński, Marcin, Wooding, Mark: The DocStrip program. [online]. 2023-11-01. [cit. 2023-11-13]. Dostupné z: http://mirrors.ctan.org/macros/latex/base/docstrip.pdf
[8] Šustek, Jan: gensrc.tex. [online]. 2023-11-07. [cit. 2023-11-13]. Dostupné z: https://github.com/jsustek/gensrc/blob/main/gensrc.tex
[9] virtualconsoles.com: C64 online emulator. [online]. [cit. 2023-11-13]. Dostupné z: https://virtualconsoles.com/online-emulators/c64/
[10] VICE: VICE: The Versatile Commodore Emulator. [online]. [cit. 2023-11-13]. Dostupné z: https://vice-emu.sourceforge.io/
[11] the Dragon, Tom: prg2wav: C64 PRG to Turbo Tape 64. [online]. [cit. 2023-11-13]. Dostupné z: https://github.com/tomdwaggy/prg2wav
Partner of
EuDML logo