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 the linetext option 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 πŸ’œπŸ“βœ¨