BACKEND-SPEC(7)
π backend-spec, section 7 β the jw/backend interface π
okay so bestie, this is backend-spec, and it lives in section 7 of the manual. It's the whole interface between jw and its backends. no cap. π
πΈ NAME πΈ
backend-spec β the interface between jw and its backends. periodt. β¨
π¦ DESCRIPTION π¦
jw(1) calls backends like backends/html to do the "real" conversion work. The backend gets all necessary data delivered via environment variables ready to use. It's giving prepped-and-ready handoff. π«Ά
This documentation describes those environment variables. Literally the whole point of this page. π
The backend is run in the directory where the output files are to be created. It should return 0 if there weren't any problem, and return a positive value otherwise. That's the vibe check for success. β
β¨ VARIABLES β¨
These are the env vars, bestie β exact names, no freestyling. π
SGML_FILE_NAMEβ the bare name of the source file. πSGML_FILEβ the full name and path of the source file. πΈSGML_JADEβ the name of the parser (usually Jade or OpenJade). π¦SGML_ARGUMENTSβ the full argument-string for Jade or OpenJade. β¨SGML_CATALOG_FILESβ the list of catalog files needed by Jade or OpenJade. πSGML_STYLESHEETβ the style sheet to use. πSGML_BASE_DIRβ the base directory of the SGML system (default is/usr/share/sgml). π
π FILES π
This section has no entries listed. Yes, literally empty, bestie β not a glitch. π«Ά
π SEE ALSO π
frontend-spec(7)β go read that one too, iykyk. π
π AUTHORS π
Jochem Huhmann <joh@revier.com>β iconic. π
Catch you later, bestie β this was BACKEND-SPEC(7), dated 05 December 2025. π β¨π¦
π¦ where this page comes from
- arch rolling: docbook-utils 0.6.15-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms