CASPAR-TYPESETTING(7) - Linux man page online | Overview, conventions, and miscellany

30 авг 2017
caspar-typesetting(7) MISCELLANEOUS caspar-typesetting(7) NAME caspar-typesetting - Makefile snippets for common typesetting tasks SYNOPSIS In a Makefile, write include caspar/mk/ or include caspar/mk/ . DESCRIPTION The caspar and files are Makefile snippets for common typesetting tasks, like typesetting LaTeX (see [3]), DocBook XML, DocBook SGML (see [2]) and POD (see [1]) documents. You just have to type make, instead of stuff like jade -t tex -d cas‐ par/print.dsl /usr/share/sgml/declaration/xml.dcl foobar.dbx. USAGE In a directory where you maintain .dbx (Docbook XML) or .tex (LaTeX) files, do $ echo include caspar/mk/ > Makefile $ vi karenina.dbx $ make karenina.view $ make karenina.print $ vi svejk.tex $ make svejk.view $ make svejk.print $ make $ make clean Other targets:, filename.pdf, filename.2ps, filename.html, filename.printbig, filename.dvi. Variables you might like to set in your Makefile: XMLDCL (default is /usr/share/sgml/decla‐ ration/xml.dcl; if you're not on a Debian GNU/Linux system, you'll likely have to adjust this), HTML_DSL, PRINT_DSL. In a directory where you maintain .pod files, do $ echo include caspar/mk/ > Makefile $ vi lire.pod $ perldoc ./lire.pod $ make lire.pdf $ make $ less lire.overstrike-txt $ make clean Other targets:, filename.html, filename.txt, ... (Similar to the ones supplied by EXAMPLES Some examples: Overriding the caspar-supplied DSSSL files: Create your own print.dls and html.dsl, in the same directory as your Docbook XML files. Your Makefile should read: PRINT_DSL = print.dsl HTML_DSL = html.dsl include caspar/mk/ Overriding the standard html-to-text convertor: $ W3M=lynx make svejk.txt . FILES caspar/mk/, caspar/mk/ ENVIRONMENT For files: XMLDCL, HTML_DSL, PRINT_DSL; utilities: JADE, PDFJADETEX, PDFLATEX, JADETEX, LATEX, W3M, DVIPS, PSNUP, LPR, GV; settings: JADE_MAXERRORS. These variables can get adjusted in Makefile, as well as in the shell environment. Uses no environment variables. AUTHOR Joost van Baal-Ilić SEE ALSO caspar(7) [1] perlpod(1) about Perl's Plain Old Documentation format [2] DocBook: The Definitive Guide on, [3] The LaTeX Project Homepage on Some comments on advanced usage are in the files and itself. caspar-typesetting 20170830 30 авг 2017 caspar-typesetting(7)
This manual Reference Other manuals
caspar-typesetting(7) referred by caspar(7)
refer to caspar(7) | perlpod(1)
Download raw manual
Main page MISCELLANEOUS (+14) caspar-typesetting 20170830 (+1) № 7 (+1560)
Go top