{"id":3899,"date":"2022-12-20T17:28:22","date_gmt":"2022-12-20T20:28:22","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/backend-spec-man7\/"},"modified":"2022-12-20T17:28:22","modified_gmt":"2022-12-20T20:28:22","slug":"backend-spec-man7","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/backend-spec-man7\/","title":{"rendered":"BACKEND-SPEC (man7)"},"content":{"rendered":"<h1 align=\"center\">BACKEND-SPEC<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#VARIABLES\">VARIABLES<\/a><br \/> <a href=\"#FILES\">FILES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHORS\">AUTHORS<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">backend-spec \u2212 interface between jw and its backends<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>jw<\/b>(1) calls backends like <i>backends\/html<\/i> to do the &#8220;real&#8221; conversion work. The backend gets all necessary data delivered via environment variables ready to use.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This documentation describes those environment variables.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The backend is run in the directory where the output files are to be created. It should return 0 if there weren\u2019t any problem, and return a positive value otherwise.<\/p>\n<h2>VARIABLES <a name=\"VARIABLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>SGML_FILE_NAME<\/b><\/p>\n<p style=\"margin-left:22%;\">The bare name of the source file<\/p>\n<p style=\"margin-left:11%;\"><b>SGML_FILE<\/b><\/p>\n<p style=\"margin-left:22%;\">The full name and path of the source file<\/p>\n<p style=\"margin-left:11%;\"><b>SGML_JADE<\/b><\/p>\n<p style=\"margin-left:22%;\">The name of the parser (usually <b>Jade<\/b> or <b>OpenJade<\/b>)<\/p>\n<p style=\"margin-left:11%;\"><b>SGML_ARGUMENTS<\/b><\/p>\n<p style=\"margin-left:22%;\">The full argument-string for <b>Jade<\/b> or <b>OpenJade<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>SGML_CATALOG_FILES<\/b><\/p>\n<p style=\"margin-left:22%;\">The list of catalog files needed by <b>Jade<\/b> or <b>OpenJade<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>SGML_STYLESHEET<\/b><\/p>\n<p style=\"margin-left:22%;\">The style sheet to use<\/p>\n<p style=\"margin-left:11%;\"><b>SGML_BASE_DIR<\/b><\/p>\n<p style=\"margin-left:22%;\">The base directory of the SGML system (default is <i>\/usr\/share\/sgml<\/i>)<\/p>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>frontend-spec<\/b>(7)<\/p>\n<h2>AUTHORS <a name=\"AUTHORS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Jochem Huhmann <joh@revier.com><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  backend-spec \u2212 interface between jw and its backends <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[971],"tags":[973,993,972],"class_list":["post-3899","post","type-post","status-publish","format-standard","hentry","category-7-miscelanea","tag-973","tag-backend-spec","tag-man7"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3899"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3899\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}