PAMPHLETANGLER(1)
β¨ PAMPHLETANGLER β¨
okay bestie so real quick before we dive in: this whole thing lives in the clojure-pamphlet world, and the author is Ernesto Lanchares. got it? good. now let's get into it π
πΈ NAME πΈ
pamphletangler β extract code bits from LaTeX pamphlet files. that's the whole vibe. it tangles ur code out of ur fancy document. slay.
π SYNOPSIS π
pamphletangler [OPTION...] FILE CHUNKNAME
π¦ DESCRIPTION π¦
so. the clojure pamphlet system is a system that's built on top of the clojure literate system. and in clojure's pamphlet system you've got ur main LaTeX file, which you can compile like, regularly, no drama. that file has documentation and source code in it (just like in other forms of literate programming, iykyk). those code snippets are wrapped in the chunk environment, which is literally how the tangler spots them so it can extract them. the way that chunks can be included inside each other? that's the getchunk command (which gets typeset accordingly, cute). and then finally you run ur LaTeX file through the tangler and get ur desired chunk of code. periodt. π₯
β¨ OPTIONS β¨
-L,--line=linetextβ if you set this, this text gets inserted after jumps of lines, swapping the string inside"changetext"for the line number. it's giving error-reporting glow-up: this is used so error reports point at the pamphlet line number instead of the output line number. no cap.-C,--change=changetextβ defaults to"{}". this is the text that gets replaced with the line number if thelinetextoption is specified.-?,--helpβ give this help list π«Ά--usageβ give a short usage message--manβ print manual page (yes, the one ur reading, iconic)-V,--versionβ print program version β
π LICENSE π
Copyright (C) 2019 Ernesto Lanchares Sanchez.
The clojure-pamphlet tagler is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
The clojure-pamphlet tangler is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program; if not, see L<http://www.gnu.org/licenses/>.
(yes the tagler/tangler spelling is in the original, we don't fix, we preserve π)
π AUTHOR π
Ernesto Lanchares <e.lancha98@gmail.com>
π BUGS π
Report bugs to e.lancha98@gmail.com β he's the main character, he handles it.
and that's the whole page bestie!! π§ this little number came from clojure-pamphlet, dated 2019-09-09, and honestly? it ate. go tangle something gorgeous. bye ππβ¨
π¦ where this page comes from
- arch rolling: texlive-doc 2026.1-1 Β· GPL
- debian bookworm: texlive-extra-utils 2022.20230122-4
- debian trixie: texlive-extra-utils 2024.20250309-2
- fedora 43: texlive-clojure-pamphlet 11:svn60981-93.fc43 Β· GPL-3.0-or-later
- fedora 43: texlive-clojure-pamphlet 11:svn60981-95.fc43.1 Β· GPL-3.0-or-later
- fedora 44: texlive-clojure-pamphlet 12:svn77682-105.fc44 Β· GPL-3.0-or-later
- fedora 44: texlive-clojure-pamphlet 12:svn77682-111.fc44 Β· GPL-3.0-or-later
- opensuse-leap 16.0: texlive-clojure-pamphlet-doc 2025.221.1.3svn67201-160000.3.1 Β· GPL-2.0-or-later
- ubuntu jammy: texlive-extra-utils 2021.20220204-1
- ubuntu noble: texlive-extra-utils 2023.20240207-1
- ubuntu questing: texlive-extra-utils 2024.20250309-2
- ubuntu resolute: texlive-extra-utils 2025.20260124-1
- ubuntu stonking: texlive-extra-utils 2026.20260711-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms