If you want to use the TeX backend to create printed output from your presentation, you will have one small problem: Both with the dbslideovh.dsl and the dbslidehdout.dsl stylesheets the output is (literally) odd, because the JadeTeX macros insist that a chapter starts on a right (i.e. odd) page. As one slide equals one chapter, we will create lots of one-page chapters, and as a consequence every other page in your printed output will be empty. So while the JadeTeX default is very sensible for almost all documents, it bites us in the case of dbslide output.
The way out is to use a customized version of the macros and create all the accompanying TeX files as for the original JadeTeX macros. The fix is surprisingly simple, only one line in the JadeTeX source has to be changed.
Note: These instructions assume that you have the JadeTeX source on your system. However, even if you use a prepacked JadeTeX e.g. on a Debian system, chances are good that the necessary files are present. You need at least jadetex.ini and jadetex.ltx.
Create a custom .ini file
Create a copy of jadetex.ini and name it jadetex-openany.ini (the odd name is because the effect of the JadeTeX modification resembles the openany option in the LaTeX \documentclass command).
Change the first line to read:
\input jadetex-openany.ltx |
Create a custom JadeTeX macro package
Create a copy of jadetex.ltx and name it jadetex-openany.ltx. Apply the following patch (this works for JadeTeX 2.20 and may break in later versions):
--- jadetex.ltx Fri Oct 27 20:33:21 2000 +++ jadetex-openany.ltx Fri Oct 27 20:50:14 2000 @@ -1150,7 +1150,7 @@ \fi \fi \fi - \cleardoublepage + \clearpage \fancyhf{}% \endDisplayNIC \let\FancyHook\@empty |
Alternatively, search and change the affected line manually.
Build and install the format file
Note: Please consult the file /doc/install.pdf in the JadeTeX source for teTeX systems and additionally the TeX chapter in the SGML for NT tutorial if you use the Win32 MiKTeX stuff. These instructions tell you how to make the hugelatex format and how to modify the TeX configuration.
Modify the TeX configuration (texmf.cnf for teTeX and miktex.ini for MiKTeX) by duplicating the entry for jadetex. Name the new section jadetex-openany.
Create a copy (or symlink) of the executable jadetex (teTeX) or jadetex.exe (MiKTeX) with the name jadetex-openany or jadetex-openany.exe, respectively, in the same directory (/usr/bin or \texmf\miktex\bin, respectively).
On teTeX, create the new format file with the command:
~# tex -ini "&hugelatex" -progname=jadetex-openany jadetex-openany.ini |
On MiKTeX, the corresponding syntax is:
~# jadetex-openany -ini "&hugelatex" jadetex-openany.ini @dump |
Finally, move the new format file jadetex-openany.fmt into the directory which holds all other format files. This may be /usr/share/texmf/web2c for teTeX and \localtexmf\miktex\fmt for MiKTeX. Update the filename database if applicable.
PDF output
If you want to use pdftex to create PDF output, you will have to do essentially the same procedure again, substituting pdftex for tex and pdfjadetex for jadetex where necessary.
If you now use jadetex-openany dbslidefile.tex for your dbslide project, you'll get the same output as with jadetex, but without the empty pages.