diff options
author | Karl Berry <karl@freefriends.org> | 2022-03-21 21:48:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-03-21 21:48:14 +0000 |
commit | e959bf768ba654cf95f09ea8922f2e558a9d3dd3 (patch) | |
tree | a1087ce06ee535edb8d77ecbe860ded4779abc25 /Master/texmf-dist/source/lualatex/letgut/HOWTO.md | |
parent | fc15fd53146cec7a80dca070c3e35d300e68f84b (diff) |
letgut (21mar22)
git-svn-id: svn://tug.org/texlive/trunk@62879 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/lualatex/letgut/HOWTO.md')
-rw-r--r-- | Master/texmf-dist/source/lualatex/letgut/HOWTO.md | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/lualatex/letgut/HOWTO.md b/Master/texmf-dist/source/lualatex/letgut/HOWTO.md new file mode 100644 index 00000000000..678ece4f0c1 --- /dev/null +++ b/Master/texmf-dist/source/lualatex/letgut/HOWTO.md @@ -0,0 +1,33 @@ +In order to: + +- tangle the `letgut.cls` and `letgut-banner.sty` files, +- build the documentations `letgut-code.pdf` and `letgut-banner-code.pdf` of the + codes, + +from the Org Mode source files `letgut.org` and `letgut-banner.org`: + +- it is necessary a reasonably recent version of Emacs, +- it is then sufficient to run (in a directory containing the `letgut.el` file + to be found in the current directory): + - for the `letgut` class: + + emacs -Q letgut.org --batch -l letgut.el -f org-babel-tangle --kill + emacs -Q letgut.org --batch -l letgut.el -f org-latex-export-to-pdf --kill + + - for the `letgut-banner` package: + + emacs -Q letgut-banner.org --batch -l letgut.el -f org-babel-tangle --kill + emacs -Q letgut-banner.org --batch -l letgut.el -f org-latex-export-to-pdf --kill + +This creates the files `letgut.cls`, `letgut-banner.sty`, `letgut-code.tex` and +`letgut-banner-code.tex`. + +One can then build the PDF files `letgut-code.pdf` and `letgut-banner-code.pdf` +by running `latexmk` on each of the corresponding `.tex` files in a directory +containing the following files to be found in the `.../doc/lualatex/letgut` +directory: `latexmkrc`, `letgut.bib`, `letgut-code.pdf`, `letgut-code.tex`, +`letgut.pdf`, `letgut.tex`, `listings-conf.tex`, `localconf.tex`, `README.md`, +`xindex-letgut.lua`. + +Likewise, the user documentation `letgut.pdf` is built by running `latexmk` on +the corresponding `.tex` file (which doesn't derive from an Org Mode file). |