.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "BACKEND-SPEC" "7" "14 January 2022" "" "" .SH NAME backend-spec \- interface between jw and its backends .SH "DESCRIPTION" .PP \fBjw\fR(1) calls backends like \fIbackends/html\fR to do the "real" conversion work. The backend gets all necessary data delivered via environment variables ready to use. .PP This documentation describes those environment variables. .PP 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. .SH "VARIABLES" .TP \fB SGML_FILE_NAME \fR The bare name of the source file .PP .TP \fB SGML_FILE \fR The full name and path of the source file .PP .TP \fB SGML_JADE \fR The name of the parser (usually \fBJade\fR or \fBOpenJade\fR) .PP .TP \fB SGML_ARGUMENTS \fR The full argument-string for \fBJade\fR or \fBOpenJade\fR .PP .TP \fB SGML_CATALOG_FILES \fR The list of catalog files needed by \fBJade\fR or \fBOpenJade\fR .PP .TP \fB SGML_STYLESHEET \fR The style sheet to use .PP .TP \fB SGML_BASE_DIR \fR The base directory of the SGML system (default is \fI/usr/share/sgml\fR) .SH "FILES" .PP .SH "SEE ALSO" .PP \fBfrontend-spec\fR(7) .SH "AUTHORS" .PP Jochem Huhmann