Better formatting for PDF output.
diff --git a/documentation/Makefile.in b/documentation/Makefile.in
index 312170a..9d01331 100644
--- a/documentation/Makefile.in
+++ b/documentation/Makefile.in
@@ -57,7 +57,7 @@
$(DB2HTML) $(BOOKNAME).sgml
$(BOOKNAME).pdf: $(BOOK_SRCS)
- db2pdf $(BOOKNAME).sgml > /dev/null
+ db2pdf -d ./print.dsl $(BOOKNAME).sgml > /dev/null
$(BOOKNAME).ps: $(BOOK_SRCS)
db2ps $(BOOKNAME).sgml > /dev/null
diff --git a/documentation/configuring.sgml b/documentation/configuring.sgml
index f3b4345..21950a7 100644
--- a/documentation/configuring.sgml
+++ b/documentation/configuring.sgml
@@ -171,15 +171,12 @@
to leave off the trailing slash!
</para>
<para>
- <programlisting>
-"Type" = "floppy|hd|cdrom|network" <--- the |'s mean "Type = '<one of the options>'"
- </programlisting>
- </para>
- <para>
+ <programlisting>"Type" = "floppy|hd|cdrom|network"</programlisting>
Sets up the type of drive Wine will see it as. Type must
equal one of the four <literal>floppy</literal>,
<literal>hd</literal>, <literal>cdrom</literal>, or
<literal>network</literal>. They are self-explanatory.
+ (The |'s mean "Type = '<one of the options>'".)
</para>
<para>
<programlisting>"Label" = "blah"</programlisting> Defines the
diff --git a/documentation/fonts.sgml b/documentation/fonts.sgml
index 0ba7742..213f031 100644
--- a/documentation/fonts.sgml
+++ b/documentation/fonts.sgml
@@ -435,8 +435,10 @@
my Windows fonts on my Win95 <medialabel>C:</medialabel>
drive live; could be e.g.
<filename>/mnt/dosC/windows/system</filename> for Win31.
+ </para>
+ <para>
In <filename>/c/windows/fonts/fonts.scale</filename> I
- have
+ have:
</para>
<programlisting>
14
diff --git a/documentation/getting.sgml b/documentation/getting.sgml
index 0bf899b..25d82c1 100644
--- a/documentation/getting.sgml
+++ b/documentation/getting.sgml
@@ -78,9 +78,7 @@
this may be a little risky, depending on how far the unstable
distribution has diverged from the stable one. You can find a
list of Wine binary packages for the various Debian releases
- using the
- <ulink url="http://cgi.debian.org/cgi-bin/search_packages.pl?keywords=wine&searchon=names&version=all&release=all">
- package search engine</ulink> at <ulink url="http://www.debian.org">
+ using the package search engine at <ulink url="http://www.debian.org">
www.debian.org</ulink>.
</para>
diff --git a/documentation/installing.sgml b/documentation/installing.sgml
index 5fd4895..51005de 100644
--- a/documentation/installing.sgml
+++ b/documentation/installing.sgml
@@ -55,8 +55,8 @@
themselves, the Wine team will make the automated Wine
installation script, <filename>tools/wineinstall</filename>,
do everything we find necessary to do; running the
- conventional <command>configure && make depend && make && make
- install</command> cycle is thus not recommended, unless
+ conventional <userinput>configure && make depend && make && make
+ install</userinput> cycle is thus not recommended, unless
you know what you're doing. At the moment,
<filename>tools/wineinstall</filename> is able to create a
configuration file, install the registry, and create the
@@ -84,53 +84,17 @@
correctly.
</para>
- <informaltable frame="none">
- <tgroup cols="5">
- <tbody>
- <row>
- <entry>C:\</entry>
- <entry></entry><entry></entry><entry></entry>
- <entry>Root directory of primary disk drive</entry>
- </row>
- <row>
- <entry></entry>
- <entry>Windows\</entry>
- <entry></entry><entry></entry>
- <entry>Windows directory, containing .INI files, accessories, etc</entry>
- </row>
- <row>
- <entry></entry><entry></entry>
- <entry valign="middle">System\</entry>
- <entry></entry>
- <entry><literallayout>Win3.x/95/98/ME directory for common DLLs
-WinNT/2000 directory for common 16-bit DLLs</literallayout></entry>
- </row>
- <row>
- <entry></entry><entry></entry>
- <entry>System32\</entry>
- <entry></entry>
- <entry>WinNT/2000 directory for common 32-bit DLLs</entry>
- </row>
- <row>
- <entry></entry><entry></entry>
- <entry>Start Menu\</entry>
- <entry></entry>
- <entry>Program launcher directory structure</entry>
- </row>
- <row>
- <entry></entry><entry></entry><entry></entry>
- <entry>Programs\</entry>
- <entry>Program launcher links (.LNK files) to applications</entry>
- </row>
- <row>
- <entry></entry>
- <entry>Program Files\</entry>
- <entry></entry><entry></entry>
- <entry>Application binaries (.EXE and .DLL files)</entry>
- </row>
- </tbody>
- </tgroup>
- </informaltable>
+<programlisting>
+C:\ Root directory of primary disk drive
+ Windows\ Windows directory, containing .INI files,
+ accessories, etc.
+ System\ Win3.x/95/98/ME directory for common DLLs
+ WinNT/2000 directory for common 16-bit DLLs
+ System32\ WinNT/2000 directory for common 32-bit DLLs
+ Start Menu\ Program launcher directory structure
+ Programs\ Program launcher links (.LNK files) to applications
+ Program Files\ Application binaries (.EXE and .DLL files)
+</programlisting>
<para>
Wine emulates drives by placing their virtual drive roots to
@@ -246,9 +210,11 @@
Use <filename>tools/wineinstall</filename> to compile Wine
and install the default registry. Or if you prefer to do
it yourself, compile <filename>programs/regapi</filename>,
- and run: <command>programs/regapi/regapi setValue <
- winedefault.reg</command>
+ and run:
</para>
+ <screen>
+ <userinput>programs/regapi/regapi setValue < winedefault.reg</userinput>
+ </screen>
</listitem>
<listitem>
<para>
@@ -569,13 +535,9 @@
</para>
<para>
- <warning>
- <title>Warning/Warning/Warning!!!!!!</title>
- <para>
- <screen>
-THIS MAY TRASH YOUR SYSTEM IF USED INCORRECTLY
-THIS MAY TRASH YOUR SYSTEM IF USED CORRECTLY
- </screen>
+ <warning><title>Warning/Warning/Warning!!!!!!</title>
+ <para>This may trash your system if used incorrectly. It may
+ even trash your system when used <emphasis>correctly</>!
</para>
</warning>
</para>
@@ -629,7 +591,7 @@
<orderedlist>
<listitem>
<para>
- Your SCSI card must be supported under linux. This will
+ Your SCSI card must be supported under Linux. This will
not work with an unknown SCSI card. Even for cheap'n
crappy "scanner only" controllers some special Linux
drivers exist on the net.
@@ -710,7 +672,7 @@
</para>
<para>
<programlisting>
-ipplus.exe <---> (TWAIN INTERFACE) <---> (TWAIN DATA SOURCE . ASPI) -> WINASPI
+ipplus.exe <-> (TWAIN INTERFACE) <-> (TWAIN DATA SOURCE.ASPI) -> WINASPI
</programlisting>
</para>
</sect2>
@@ -718,7 +680,7 @@
<sect2>
<title>NOTES/BUGS</title>
<para>
- The biggest is that it only works under linux at the moment.
+ The biggest is that it only works under Linux at the moment.
</para>
<para>
The ASPI code has only been tested with:
diff --git a/documentation/introduction.sgml b/documentation/introduction.sgml
index cf1babb..aa701a3 100644
--- a/documentation/introduction.sgml
+++ b/documentation/introduction.sgml
@@ -90,8 +90,7 @@
<para>
The Wine Users Guide will focus on running precompiled
Windows applications using the Wine emulator.
- <ulink url="http://wine.codeweavers.com/docs/winelib-user/">
- The Winelib Users Guide</ulink> will cover Winelib
+ The Winelib Users Guide will cover Winelib
applications.
</para>
diff --git a/documentation/make_winehq b/documentation/make_winehq
index 240295b..a1428f2 100755
--- a/documentation/make_winehq
+++ b/documentation/make_winehq
@@ -45,26 +45,26 @@
cp wine-set-html.tgz $WWWDIR
## Create PostScript tarball
-echo "db2ps wine-user.sgml"
-db2ps wine-user.sgml > /dev/null 2>&1
-echo "db2ps wine-devel.sgml"
-db2ps wine-devel.sgml > /dev/null 2>&1
-echo "db2ps winelib-user.sgml"
-db2ps winelib-user.sgml > /dev/null 2>&1
-echo "db2ps wine-pkg.sgml"
-db2ps wine-pkg.sgml > /dev/null 2>&1
+echo "db2ps -d ./print.dsl wine-user.sgml"
+db2ps -d ./print.dsl wine-user.sgml > /dev/null 2>&1
+echo "db2ps -d ./print.dsl wine-devel.sgml"
+db2ps -d ./print.dsl wine-devel.sgml > /dev/null 2>&1
+echo "db2ps -d ./print.dsl winelib-user.sgml"
+db2ps -d ./print.dsl winelib-user.sgml > /dev/null 2>&1
+echo "db2ps -d ./print.dsl wine-pkg.sgml"
+db2ps -d ./print.dsl wine-pkg.sgml > /dev/null 2>&1
tar czf winedoc-ps.tgz wine-user.ps wine-devel.ps winelib-user.ps wine-pkg.ps
cp winedoc-ps.tgz $WWWDIR
## Create PDF tarball
-echo "db2pdf wine-user.sgml"
-db2pdf wine-user.sgml > /dev/null 2>&1
-echo "db2pdf wine-devel.sgml"
-db2pdf wine-devel.sgml > /dev/null 2>&1
-echo "db2pdf winelib-user.sgml"
-db2pdf winelib-user.sgml > /dev/null 2>&1
-echo "db2pdf wine-pkg.sgml"
-db2pdf wine-pkg.sgml > /dev/null 2>&1
+echo "db2pdf -d ./print.dsl wine-user.sgml"
+db2pdf -d ./print.dsl wine-user.sgml > /dev/null 2>&1
+echo "db2pdf -d ./print.dsl wine-devel.sgml"
+db2pdf -d ./print.dsl wine-devel.sgml > /dev/null 2>&1
+echo "db2pdf -d ./print.dsl winelib-user.sgml"
+db2pdf -d ./print.dsl winelib-user.sgml > /dev/null 2>&1
+echo "db2pdf -d ./print.dsl wine-pkg.sgml"
+db2pdf -d ./print.dsl wine-pkg.sgml > /dev/null 2>&1
tar czf winedoc-pdf.tgz wine-user.pdf wine-devel.pdf winelib-user.pdf wine-pkg.pdf
cp winedoc-pdf.tgz $WWWDIR
diff --git a/documentation/print.dsl b/documentation/print.dsl
new file mode 100644
index 0000000..7f53b2f
--- /dev/null
+++ b/documentation/print.dsl
@@ -0,0 +1,111 @@
+<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
+<!ENTITY print-ss PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA DSSSL>
+]>
+
+<style-sheet>
+
+<style-specification id="print" use="print-stylesheet">
+<style-specification-body>
+
+;; I was hoping that this would take out the many blank pages in the
+;; PDF file, but it doesn't, it just slides the page numbers over.
+(define %two-side% #f)
+
+(define %generate-book-titlepage% #t)
+
+;;Titlepage Not Separate
+(define (chunk-skip-first-element-list)
+ (list (normalize "sect1")
+ (normalize "section")))
+
+;;Titlepage Separate?
+;(define (chunk-skip-first-element-list)
+; '())
+
+(define (list-element-list)
+ ;; fixes bug in Table of Contents generation
+ '())
+
+(define (toc-depth nd)
+ 2)
+
+;; This seems to have no affect
+(define %generate-book-titlepage-on-separate-page% #f)
+
+(define %body-start-indent%
+ ;; Default indent of body text
+ 2pi)
+
+(define %para-indent-firstpara%
+ ;; First line start-indent for the first paragraph
+ 0pt)
+
+(define %para-indent%
+ ;; First line start-indent for paragraphs (other than the first)
+ 0pt)
+
+(define %block-start-indent%
+ ;; Extra start-indent for block-elements
+ 2pt)
+
+;;Define distance between paragraphs
+(define %para-sep%
+ (/ %bf-size% 2.0))
+
+;;Define distance between block elements (figures, tables, etc.).
+(define %block-sep%
+ (* %para-sep% 1.0))
+;; (* %para-sep% 2.0))
+
+(define %hyphenation%
+ ;; Allow automatic hyphenation?
+ #t)
+
+(define %left-margin% 5pi)
+(define %right-margin% 5pi)
+(define %top-margin% 5pi)
+(define %bottom-margin% 5pi)
+
+(define %footer-margin% 2pi)
+(define %header-margin% 2pi)
+
+(define %line-spacing-factor% 1.3)
+ ;; Factor used to calculate leading
+ ;; The leading is calculated by multiplying the current font size by the
+ ;; '%line-spacing-factor%'. For example, if the font size is 10pt and
+ ;; the '%line-spacing-factor%' is 1.1, then the text will be
+ ;; printed "10-on-11".
+
+(define %head-before-factor%
+ ;; Factor used to calculate space above a title
+ ;; The space before a title is calculated by multiplying the font size
+ ;; used in the title by the '%head-before-factor%'.
+;; 0.75)
+ 0.5)
+
+(define %head-after-factor%
+ ;; Factor used to calculate space below a title
+ ;; The space after a title is calculated by multiplying the font size used
+ ;; in the title by the '%head-after-factor%'.
+ 0.5)
+
+(define %input-whitespace-treatment% 'collapse)
+
+(define ($generate-book-lot-list$)
+ ;; Which Lists of Titles should be produced for Books?
+ (list ))
+
+(define tex-backend
+ ;; Are we using the TeX backend?
+ ;; This parameter exists so that '-V tex-backend' can be used on the
+ ;; command line to explicitly select the TeX backend.
+ #t)
+
+</style-specification-body>
+</style-specification>
+
+<external-specification id="print-stylesheet" document="print-ss">
+
+</style-sheet>
+
+
diff --git a/documentation/running.sgml b/documentation/running.sgml
index a07d991..4dd950e 100644
--- a/documentation/running.sgml
+++ b/documentation/running.sgml
@@ -33,7 +33,8 @@
--help,-h Show this help message
--managed Allow the window manager to manage created windows
--version,-v Display the Wine version
- --winver Version to imitate (win95,nt40,win31,nt2k,win98,nt351,win30,win20)
+ --winver Version to imitate
+ (win95,nt40,win31,nt2k,win98,nt351,win30,win20)
</screen>
</para>
@@ -170,29 +171,83 @@
in Wine. More channels might be added to (or subtracted
from) later versions.
</para>
- <screen>
-all accel advapi animate aspi atom avifile bitblt
-bitmap caret cdrom class clipboard clipping combo comboex
-comm commctrl commdlg console crtdll cursor datetime dc
-ddeml ddraw debug debugstr delayhlp dialog dinput dll
-dosfs dosmem dplay driver dsound edit elfdll enhmetafile
-event exec file fixup font gdi global graphics
-header heap hook hotkey icmp icon imagehlp imagelist
-imm int int10 int16 int17 int19 int21 int31
-io ipaddress joystick key keyboard ldt listbox listview
-local mci mcianim mciavi mcicda mcimidi mciwave mdi
-menu message metafile midi mmaux mmio mmsys mmtime
-module monthcal mpr msacm msg msvideo nativefont nonclient
-ntdll odbc ole opengl pager palette pidl print
-process profile progress prop propsheet psapi psdrv ras
-rebar reg region relay resource richedit scroll segment
-seh selector sendmsg server setupapi setupx shell snoop
-sound static statusbar storage stress string syscolor system
-tab tape tapi task text thread thunk timer
-toolbar toolhelp tooltips trackbar treeview ttydrv tweak typelib
-updown ver virtual vxd wave win win16drv win32
-wing wininet winsock winspool wnet x11 x11drv
- </screen>
+
+ <table frame="none"><title>Debug Channels</title>
+ <tgroup cols=5 align="left">
+ <tbody>
+<row><entry>
+all</><entry>accel</><entry>advapi</><entry>animate</><entry>aspi</>
+</row><row><entry>
+atom</><entry>avifile</><entry> bitblt</><entry> bitmap</><entry> caret</>
+</row><row><entry>
+cdrom</><entry>class</><entry> clipboard</><entry> clipping</><entry>combo</>
+</row><row><entry>
+comboex</><entry> comm</><entry>commctrl</><entry>commdlg</><entry> console</>
+</row><row><entry>
+crtdll</><entry>cursor</><entry>datetime</><entry>dc</><entry> ddeml</>
+</row><row><entry>
+ddraw</><entry> debug</><entry> debugstr</><entry>delayhlp</><entry>dialog</>
+</row><row><entry>
+dinput</><entry>dll</><entry> dosfs</><entry>dosmem</><entry>dplay</>
+</row><row><entry>
+driver</><entry>dsound</><entry>edit</><entry>elfdll</><entry>enhmetafile</>
+</row><row><entry>
+event</><entry>exec</><entry>file</><entry>fixup</><entry>font</>
+</row><row><entry>
+gdi</><entry> global</><entry>graphics</><entry> header</><entry>heap</>
+</row><row><entry>
+hook</><entry>hotkey</><entry>icmp</><entry>icon</><entry>imagehlp</>
+</row><row><entry>
+imagelist</><entry> imm</><entry>int</><entry>int10</><entry>int16</>
+</row><row><entry>
+int17</><entry>int19</><entry>int21</><entry>int31</><entry> io</>
+</row><row><entry>
+ipaddress</><entry>joystick</><entry>key</><entry>keyboard</><entry>ldt</>
+</row><row><entry>
+listbox</><entry> listview</><entry> local</><entry>mci</><entry>mcianim</>
+</row><row><entry>
+mciavi</><entry>mcicda</><entry> mcimidi</><entry> mciwave</><entry> mdi</>
+</row><row><entry>
+menu</><entry> message</><entry> metafile</><entry>midi</><entry> mmaux</>
+</row><row><entry>
+mmio</><entry> mmsys</><entry> mmtime</><entry> module</><entry>monthcal</>
+</row><row><entry>
+mpr</><entry> msacm</><entry> msg</><entry> msvideo</><entry> nativefont</>
+</row><row><entry>
+nonclient</><entry> ntdll</><entry> odbc</><entry> ole</><entry> opengl</>
+</row><row><entry>
+pager</><entry> palette</><entry> pidl</><entry> print</><entry> process</>
+</row><row><entry>
+profile</><entry> progress</><entry>prop</><entry> propsheet</><entry>psapi</>
+</row><row><entry>
+psdrv</><entry> ras</><entry> rebar</><entry> reg</><entry> region</>
+</row><row><entry>
+relay</><entry> resource</><entry>richedit</><entry>scroll</><entry>segment</>
+</row><row><entry>
+seh</><entry>selector</><entry>sendmsg</><entry> server</><entry>setupapi</>
+</row><row><entry>
+setupx</><entry>shell</><entry> snoop</><entry> sound</><entry>static</>
+</row><row><entry>
+statusbar</><entry>storage</><entry> stress</><entry> string</><entry>syscolor</>
+</row><row><entry>
+system</><entry> tab</><entry>tape</><entry>tapi</><entry>task</>
+</row><row><entry>
+text</><entry>thread</><entry>thunk</><entry>timer</><entry> toolbar</>
+</row><row><entry>
+toolhelp</><entry>tooltips</><entry>trackbar</><entry>treeview</><entry>ttydrv</>
+</row><row><entry>
+tweak</><entry>typelib</><entry> updown</><entry>ver</><entry>virtual</>
+</row><row><entry>
+vxd</><entry>wave</><entry>win</><entry>win16drv</><entry>win32</>
+</row><row><entry>
+wing</><entry>wininet</><entry> winsock</><entry> winspool</><entry>wnet</>
+</row><row><entry>
+x11</><entry> x11drv</>
+</row>
+ </tbody>
+ </tgroup>
+ </table>
+
<para>
For more details about debug channels, check out the
<ulink url="http://wine.codeweavers.com/docs/wine-devel/">
diff --git a/documentation/winehq.dsl b/documentation/winehq.dsl
index 78d6324..553f25b 100644
--- a/documentation/winehq.dsl
+++ b/documentation/winehq.dsl
@@ -30,13 +30,13 @@
(make formatting-instruction data: "-->")))
;; Customize the body tag attributes
-(define %body-attr%
- (list
- (list "BGCOLOR" "#555555")
- (list "TEXT" "#000000")
- (list "LINK" "#0000FF")
- (list "VLINK" "#840084")
- (list "ALINK" "#0000FF")))
+;;(define %body-attr%
+;; (list
+ ;; (list "BGCOLOR" "#555555")
+;; (list "TEXT" "#000000")
+;; (list "LINK" "#0000FF")
+;; (list "VLINK" "#840084")
+;; (list "ALINK" "#0000FF")))
</style-specification-body>
</style-specification>