export DOCSBASENAME="juhtolv_tolle_harjoitukset" export DOCTITLE="Läsnäolon voima -kirjan harjoitukset" export DOCAUTHOR="Juhapekka Tolvanen" export TWOLETTERLANG="fi" export TOCTITLE="Sisällysluettelo" export WWWDIR="${HOME}/www/tolleharj" # See man-page of command pdf2djvu: export DJVUOPTS='-d 300 --monochrome --loss-level=100 --verbatim-metadata' ### You may want to use this during debugging: export MYXELATEXCMD="xelatex -src-specials -file-line-error -recorder" ### This should be normally enough: #export MYXELATEXCMD="xelatex -src-specials" ### Value of this environment variable makes script exit after these ### formats are made: ### 1: HTML ### 2: Same as in level 1 and: (Xe)LaTeX, PDF and PostScript in this mode: ### Portrait, 12 pt and one-sided. ### 3: Same as in level 2 and: (Xe)LaTeX, PDF and PostScript in this mode: ### Portrait, 12 pt and two-sided. ### 4: Same as in level 3 and also: (Xe)LaTeX, PDF and PostScript in ### other modes, too. ### 5: Same as in level 4 and also: Plain text (normal and narrow), ### DocBook XML, EPUB, EPUB3, Kindle Formats (MOBI and KF8). ### 6: Same as level 5 and also: DjVU ### 7: Same as level 6 and also: ODT, DOCX and RTF. ### 8: Same as level 7 and also: man, texinfo and info. ### 9 or more: Everything! export FORMATSLEVEL="9"