UNTEX(1)
πΈ UNTEX(1) β the girlies' guide to stripping LaTeX β¨
okay so bestie, welcome to General Commands Manual territory, where we're talking about untex, a whole little icon π
β¨ NAME β¨
untex β strip LaTeX comands from input
(and yes, the manpage itself says "comands", we don't fix canon in this house π)
π SYNOPSIS π
untex [ options ] [ files ... ]
π¦ DESCRIPTION π¦
so basically untex removes some LaTeX commands from the files you list in the arguments β or from standard input if you don't list any β and then prints the output to standard output. that's it, that's the whole vibe. lowkey a glow-up for your raw text β¨
π OPTIONS π
-β read from standard input. classic, iconic, no notes π«Ά-oβ remove options to LaTeX commands, i. e. everything in brackets[]behind a command. bye bye brackets π-iβ process"\include{file}"and"\input{file}"and"\input file"commands. it's giving recursion energy π-mβ (try to) remove all math code. note the "(try to)" bestie, we said what we said π-uβ replace all\"a(etc.) with ibm (CP850) characters.-uisoβ replace all\"a(etc.) with ISO characters.-uasciiβ replace all\"a(etc.) with ascii characters.-gβ replace all"a(etc., fromgerman.sty) with ibm (CP850) characters.-gisoβ replace all"a(etc., fromgerman.sty) with ISO characters.-gasciiβ replace all"a(etc., fromgerman.sty) with ascii characters.-eβ remove environment names. environment? gone. not me deleting it π§-aβ remove arguments of commands (not recommended). > β οΈ bestie this one is literally marked not recommended, so proceed with caution fr fr
also, important lore: -g implies -u, and -a implies -o. so they come as a package deal, periodt π
π SEE ALSO π
latex, tex, detex
like, the whole friend group π«Ά
π BUGS π
okay so the tea β:
- the
-gand-uoptions only work for german accented characters. not fixed due to lack of time, and any help is appreciated. so if you've got free time and a dream, the maintainers are literally asking π - the
\includeonlycommand is ignored. it's just out here being invisible π - using the
-uoption in a UTF-8 terminal doesn't work. and using it alone in a Latin1 terminal doesn't work either β you must also add-uiso. yeah. you have to do both. no cap, that's the rule π
πΈ AUTHORS πΈ
untex was written by Michael Staats (michael@hal6000.thp.Uni-Duisburg.DE). the -gascii and -uascii options were added by Denis Endisch (denis@smoky.ikf.physik.uni-frankfurt.de). and a big shoutout to Subhasish Mazumdar (mazumdar@ringer.cs.utsa.edu) for some hints for improvements and bug reports π absolute legends, all of them π
and that's the whole page bestie! this lil masterpiece is from the 4th Berkeley Distribution, Version 1.2, dated 1994 April 6 β yes she's vintage, yes she still serves, we love a timeless queen π β¨π
π¦ where this page comes from
- debian bookworm: untex 1:1.2-7 Β· Custom
- debian trixie: untex 1:1.2-10 Β· GPL-1.0-only
- ubuntu jammy: untex 1:1.2-7 Β· Custom
- ubuntu noble: untex 1:1.2-7build1 Β· Custom
- ubuntu questing: untex 1:1.2-10
- ubuntu resolute: untex 1:1.2-10build1 Β· GPL-1.0-only
- ubuntu stonking: untex 1:1.2-10build1 Β· GPL-1.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms