TEXJAVA(1)
π TEXJAVA β the texjava manual page, but make it a group chat π
okay bestie, sit down, hydrate, because this one is genuinely iconic. this is the texjava page from the texjava User Manual and it is short, sweet, and absolutely carrying the entire "your docs and your code will never fight again" agenda. π«Ά
β¨ NAME β¨
texjava β create a Java file from an associated LaTex file π¦
like. that's the whole job. and she does it flawlessly. no notes.
β¨ SYNOPSIS β¨
texjava [-(no)images] [-(no)html] [-(no)savelatex] [-(no)htmlonly]
[-htmltitle title] [-htmloutdir dir] [-master master] <fin> [<fout>]
so the way this works, bestie: you've got a bunch of flags that come in -(no) pairs β -images / -noimages, -html / -nohtml, -savelatex / -nosavelatex, -htmlonly / -nohtmlonly β so you can flip each one either way, slay π
then there's the ones that actually want a value from you:
-htmltitletitleβ you're handing her a title π-htmloutdirdirβ you're telling her which dir to put the output in πΈ-mastermasterβ a master, she wants a master π
and then the positional girlies:
<fin>β the input file, required, no skips allowed[<fout>]β the output file, optional, brackets say so fr fr
β¨ DESCRIPTION β¨
Texjava (also known as Tcode) is a precondition for libssj-java (SSJ) that creates a Java file from an associated LaTeX file. π
here's the tea: all SSJ code is written in LaTeX format, with special commands sprinkled in that let Tcode extract the Java code straight out of the LaTeX file. no cap. the LaTeX file is the source of truth and she's just reaching in and pulling the Java out of it. π§
after that, Javadoc and LaTeX2HTML come through and create the HTML documentation. π
and the payoff? this guarantees that the source code and its documentation will never diverge. π like, ever. they're literally the same file. the way that your code and your docs can never drift apart because they were never two separate things in the first placeβ¦ that's main character energy, that's the whole point, periodt. π
ngl this is the most romantic thing a build tool has ever done. source and docs, together, forever, no divergence. ππ
β¨ SEE ALSO β¨
/usr/share/doc/tcode/tcode.pdf.gzπ β go read the PDF bestie, it's giving lore π¦
and that's the page!! π this was texjava 20080917, dated April 7, 2014 β so yes she's a lil vintage but she ATE and she's still serving. ππ ily, go write your LaTeX, your docs will thank you. β¨πΈ
π¦ where this page comes from
- debian bookworm: tcode 0.1.20080918-4 Β· GPL-3.0-only
- debian trixie: tcode 0.1.20080918-4 Β· GPL-3.0-only
- ubuntu jammy: tcode 0.1.20080918-4 Β· GPL-3.0-only
- ubuntu noble: tcode 0.1.20080918-4 Β· GPL-3.0-only
- ubuntu resolute: tcode 0.1.20080918-4build1 Β· GPL-3.0-only
- ubuntu stonking: tcode 0.1.20080918-4build1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms