Commit 3b10efeb authored by Susan Farley's avatar Susan Farley Committed by Alexandre Julliard

Better formatting for PDF output.

parent daaeb5e3
...@@ -57,7 +57,7 @@ $(BOOKNAME)/index.html: $(BOOK_SRCS) ...@@ -57,7 +57,7 @@ $(BOOKNAME)/index.html: $(BOOK_SRCS)
$(DB2HTML) $(BOOKNAME).sgml $(DB2HTML) $(BOOKNAME).sgml
$(BOOKNAME).pdf: $(BOOK_SRCS) $(BOOKNAME).pdf: $(BOOK_SRCS)
db2pdf $(BOOKNAME).sgml > /dev/null db2pdf -d ./print.dsl $(BOOKNAME).sgml > /dev/null
$(BOOKNAME).ps: $(BOOK_SRCS) $(BOOKNAME).ps: $(BOOK_SRCS)
db2ps $(BOOKNAME).sgml > /dev/null db2ps $(BOOKNAME).sgml > /dev/null
......
...@@ -171,15 +171,12 @@ ...@@ -171,15 +171,12 @@
to leave off the trailing slash! to leave off the trailing slash!
</para> </para>
<para> <para>
<programlisting> <programlisting>"Type" = "floppy|hd|cdrom|network"</programlisting>
"Type" = "floppy|hd|cdrom|network" &lt;--- the |'s mean "Type = '&lt;one of the options&gt;'"
</programlisting>
</para>
<para>
Sets up the type of drive Wine will see it as. Type must Sets up the type of drive Wine will see it as. Type must
equal one of the four <literal>floppy</literal>, equal one of the four <literal>floppy</literal>,
<literal>hd</literal>, <literal>cdrom</literal>, or <literal>hd</literal>, <literal>cdrom</literal>, or
<literal>network</literal>. They are self-explanatory. <literal>network</literal>. They are self-explanatory.
(The |'s mean "Type = '&lt;one of the options&gt;'".)
</para> </para>
<para> <para>
<programlisting>"Label" = "blah"</programlisting> Defines the <programlisting>"Label" = "blah"</programlisting> Defines the
......
...@@ -435,8 +435,10 @@ default-resolutions = 75,75,100,100 ...@@ -435,8 +435,10 @@ default-resolutions = 75,75,100,100
my Windows fonts on my Win95 <medialabel>C:</medialabel> my Windows fonts on my Win95 <medialabel>C:</medialabel>
drive live; could be e.g. drive live; could be e.g.
<filename>/mnt/dosC/windows/system</filename> for Win31. <filename>/mnt/dosC/windows/system</filename> for Win31.
</para>
<para>
In <filename>/c/windows/fonts/fonts.scale</filename> I In <filename>/c/windows/fonts/fonts.scale</filename> I
have have:
</para> </para>
<programlisting> <programlisting>
14 14
......
...@@ -78,9 +78,7 @@ ...@@ -78,9 +78,7 @@
this may be a little risky, depending on how far the unstable this may be a little risky, depending on how far the unstable
distribution has diverged from the stable one. You can find a distribution has diverged from the stable one. You can find a
list of Wine binary packages for the various Debian releases list of Wine binary packages for the various Debian releases
using the using the package search engine at <ulink url="http://www.debian.org">
<ulink url="http://cgi.debian.org/cgi-bin/search_packages.pl?keywords=wine&amp;searchon=names&amp;version=all&amp;release=all">
package search engine</ulink> at <ulink url="http://www.debian.org">
www.debian.org</ulink>. www.debian.org</ulink>.
</para> </para>
......
...@@ -55,8 +55,8 @@ ...@@ -55,8 +55,8 @@
themselves, the Wine team will make the automated Wine themselves, the Wine team will make the automated Wine
installation script, <filename>tools/wineinstall</filename>, installation script, <filename>tools/wineinstall</filename>,
do everything we find necessary to do; running the do everything we find necessary to do; running the
conventional <command>configure && make depend && make && make conventional <userinput>configure && make depend && make && make
install</command> cycle is thus not recommended, unless install</userinput> cycle is thus not recommended, unless
you know what you're doing. At the moment, you know what you're doing. At the moment,
<filename>tools/wineinstall</filename> is able to create a <filename>tools/wineinstall</filename> is able to create a
configuration file, install the registry, and create the configuration file, install the registry, and create the
...@@ -84,53 +84,17 @@ ...@@ -84,53 +84,17 @@
correctly. correctly.
</para> </para>
<informaltable frame="none"> <programlisting>
<tgroup cols="5"> C:\ Root directory of primary disk drive
<tbody> Windows\ Windows directory, containing .INI files,
<row> accessories, etc.
<entry>C:\</entry> System\ Win3.x/95/98/ME directory for common DLLs
<entry></entry><entry></entry><entry></entry> WinNT/2000 directory for common 16-bit DLLs
<entry>Root directory of primary disk drive</entry> System32\ WinNT/2000 directory for common 32-bit DLLs
</row> Start Menu\ Program launcher directory structure
<row> Programs\ Program launcher links (.LNK files) to applications
<entry></entry> Program Files\ Application binaries (.EXE and .DLL files)
<entry>Windows\</entry> </programlisting>
<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>
<para> <para>
Wine emulates drives by placing their virtual drive roots to Wine emulates drives by placing their virtual drive roots to
...@@ -246,9 +210,11 @@ WinNT/2000 directory for common 16-bit DLLs</literallayout></entry> ...@@ -246,9 +210,11 @@ WinNT/2000 directory for common 16-bit DLLs</literallayout></entry>
Use <filename>tools/wineinstall</filename> to compile Wine Use <filename>tools/wineinstall</filename> to compile Wine
and install the default registry. Or if you prefer to do and install the default registry. Or if you prefer to do
it yourself, compile <filename>programs/regapi</filename>, it yourself, compile <filename>programs/regapi</filename>,
and run: <command>programs/regapi/regapi setValue &lt; and run:
winedefault.reg</command>
</para> </para>
<screen>
<userinput>programs/regapi/regapi setValue &lt; winedefault.reg</userinput>
</screen>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
...@@ -569,13 +535,9 @@ drwxrwxr-x 41 sle sle 16384 Dec 30 1998 windows</computeroutput> ...@@ -569,13 +535,9 @@ drwxrwxr-x 41 sle sle 16384 Dec 30 1998 windows</computeroutput>
</para> </para>
<para> <para>
<warning> <warning><title>Warning/Warning/Warning!!!!!!</title>
<title>Warning/Warning/Warning!!!!!!</title> <para>This may trash your system if used incorrectly. It may
<para> even trash your system when used <emphasis>correctly</>!
<screen>
THIS MAY TRASH YOUR SYSTEM IF USED INCORRECTLY
THIS MAY TRASH YOUR SYSTEM IF USED CORRECTLY
</screen>
</para> </para>
</warning> </warning>
</para> </para>
...@@ -629,7 +591,7 @@ THIS MAY TRASH YOUR SYSTEM IF USED CORRECTLY ...@@ -629,7 +591,7 @@ THIS MAY TRASH YOUR SYSTEM IF USED CORRECTLY
<orderedlist> <orderedlist>
<listitem> <listitem>
<para> <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 not work with an unknown SCSI card. Even for cheap'n
crappy "scanner only" controllers some special Linux crappy "scanner only" controllers some special Linux
drivers exist on the net. drivers exist on the net.
...@@ -710,7 +672,7 @@ THIS MAY TRASH YOUR SYSTEM IF USED CORRECTLY ...@@ -710,7 +672,7 @@ THIS MAY TRASH YOUR SYSTEM IF USED CORRECTLY
</para> </para>
<para> <para>
<programlisting> <programlisting>
ipplus.exe &lt;---> (TWAIN INTERFACE) &lt;---> (TWAIN DATA SOURCE . ASPI) -> WINASPI ipplus.exe &lt;-&gt; (TWAIN INTERFACE) &lt;-&gt; (TWAIN DATA SOURCE.ASPI) -&gt; WINASPI
</programlisting> </programlisting>
</para> </para>
</sect2> </sect2>
...@@ -718,7 +680,7 @@ ipplus.exe &lt;---> (TWAIN INTERFACE) &lt;---> (TWAIN DATA SOURCE . ASPI) -> WIN ...@@ -718,7 +680,7 @@ ipplus.exe &lt;---> (TWAIN INTERFACE) &lt;---> (TWAIN DATA SOURCE . ASPI) -> WIN
<sect2> <sect2>
<title>NOTES/BUGS</title> <title>NOTES/BUGS</title>
<para> <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>
<para> <para>
The ASPI code has only been tested with: The ASPI code has only been tested with:
......
...@@ -90,8 +90,7 @@ ...@@ -90,8 +90,7 @@
<para> <para>
The Wine Users Guide will focus on running precompiled The Wine Users Guide will focus on running precompiled
Windows applications using the Wine emulator. Windows applications using the Wine emulator.
<ulink url="http://wine.codeweavers.com/docs/winelib-user/"> The Winelib Users Guide will cover Winelib
The Winelib Users Guide</ulink> will cover Winelib
applications. applications.
</para> </para>
......
...@@ -45,26 +45,26 @@ tar czf wine-set-html.tgz wine-doc ...@@ -45,26 +45,26 @@ tar czf wine-set-html.tgz wine-doc
cp wine-set-html.tgz $WWWDIR cp wine-set-html.tgz $WWWDIR
## Create PostScript tarball ## Create PostScript tarball
echo "db2ps wine-user.sgml" echo "db2ps -d ./print.dsl wine-user.sgml"
db2ps wine-user.sgml > /dev/null 2>&1 db2ps -d ./print.dsl wine-user.sgml > /dev/null 2>&1
echo "db2ps wine-devel.sgml" echo "db2ps -d ./print.dsl wine-devel.sgml"
db2ps wine-devel.sgml > /dev/null 2>&1 db2ps -d ./print.dsl wine-devel.sgml > /dev/null 2>&1
echo "db2ps winelib-user.sgml" echo "db2ps -d ./print.dsl winelib-user.sgml"
db2ps winelib-user.sgml > /dev/null 2>&1 db2ps -d ./print.dsl winelib-user.sgml > /dev/null 2>&1
echo "db2ps wine-pkg.sgml" echo "db2ps -d ./print.dsl wine-pkg.sgml"
db2ps wine-pkg.sgml > /dev/null 2>&1 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 tar czf winedoc-ps.tgz wine-user.ps wine-devel.ps winelib-user.ps wine-pkg.ps
cp winedoc-ps.tgz $WWWDIR cp winedoc-ps.tgz $WWWDIR
## Create PDF tarball ## Create PDF tarball
echo "db2pdf wine-user.sgml" echo "db2pdf -d ./print.dsl wine-user.sgml"
db2pdf wine-user.sgml > /dev/null 2>&1 db2pdf -d ./print.dsl wine-user.sgml > /dev/null 2>&1
echo "db2pdf wine-devel.sgml" echo "db2pdf -d ./print.dsl wine-devel.sgml"
db2pdf wine-devel.sgml > /dev/null 2>&1 db2pdf -d ./print.dsl wine-devel.sgml > /dev/null 2>&1
echo "db2pdf winelib-user.sgml" echo "db2pdf -d ./print.dsl winelib-user.sgml"
db2pdf winelib-user.sgml > /dev/null 2>&1 db2pdf -d ./print.dsl winelib-user.sgml > /dev/null 2>&1
echo "db2pdf wine-pkg.sgml" echo "db2pdf -d ./print.dsl wine-pkg.sgml"
db2pdf wine-pkg.sgml > /dev/null 2>&1 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 tar czf winedoc-pdf.tgz wine-user.pdf wine-devel.pdf winelib-user.pdf wine-pkg.pdf
cp winedoc-pdf.tgz $WWWDIR cp winedoc-pdf.tgz $WWWDIR
......
<!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>
...@@ -33,7 +33,8 @@ Options: ...@@ -33,7 +33,8 @@ Options:
--help,-h Show this help message --help,-h Show this help message
--managed Allow the window manager to manage created windows --managed Allow the window manager to manage created windows
--version,-v Display the Wine version --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> </screen>
</para> </para>
...@@ -170,29 +171,83 @@ Options: ...@@ -170,29 +171,83 @@ Options:
in Wine. More channels might be added to (or subtracted in Wine. More channels might be added to (or subtracted
from) later versions. from) later versions.
</para> </para>
<screen>
all accel advapi animate aspi atom avifile bitblt <table frame="none"><title>Debug Channels</title>
bitmap caret cdrom class clipboard clipping combo comboex <tgroup cols=5 align="left">
comm commctrl commdlg console crtdll cursor datetime dc <tbody>
ddeml ddraw debug debugstr delayhlp dialog dinput dll <row><entry>
dosfs dosmem dplay driver dsound edit elfdll enhmetafile all</><entry>accel</><entry>advapi</><entry>animate</><entry>aspi</>
event exec file fixup font gdi global graphics </row><row><entry>
header heap hook hotkey icmp icon imagehlp imagelist atom</><entry>avifile</><entry> bitblt</><entry> bitmap</><entry> caret</>
imm int int10 int16 int17 int19 int21 int31 </row><row><entry>
io ipaddress joystick key keyboard ldt listbox listview cdrom</><entry>class</><entry> clipboard</><entry> clipping</><entry>combo</>
local mci mcianim mciavi mcicda mcimidi mciwave mdi </row><row><entry>
menu message metafile midi mmaux mmio mmsys mmtime comboex</><entry> comm</><entry>commctrl</><entry>commdlg</><entry> console</>
module monthcal mpr msacm msg msvideo nativefont nonclient </row><row><entry>
ntdll odbc ole opengl pager palette pidl print crtdll</><entry>cursor</><entry>datetime</><entry>dc</><entry> ddeml</>
process profile progress prop propsheet psapi psdrv ras </row><row><entry>
rebar reg region relay resource richedit scroll segment ddraw</><entry> debug</><entry> debugstr</><entry>delayhlp</><entry>dialog</>
seh selector sendmsg server setupapi setupx shell snoop </row><row><entry>
sound static statusbar storage stress string syscolor system dinput</><entry>dll</><entry> dosfs</><entry>dosmem</><entry>dplay</>
tab tape tapi task text thread thunk timer </row><row><entry>
toolbar toolhelp tooltips trackbar treeview ttydrv tweak typelib driver</><entry>dsound</><entry>edit</><entry>elfdll</><entry>enhmetafile</>
updown ver virtual vxd wave win win16drv win32 </row><row><entry>
wing wininet winsock winspool wnet x11 x11drv event</><entry>exec</><entry>file</><entry>fixup</><entry>font</>
</screen> </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> <para>
For more details about debug channels, check out the For more details about debug channels, check out the
<ulink url="http://wine.codeweavers.com/docs/wine-devel/"> <ulink url="http://wine.codeweavers.com/docs/wine-devel/">
......
...@@ -30,13 +30,13 @@ ...@@ -30,13 +30,13 @@
(make formatting-instruction data: "-->"))) (make formatting-instruction data: "-->")))
;; Customize the body tag attributes ;; Customize the body tag attributes
(define %body-attr% ;;(define %body-attr%
(list ;; (list
(list "BGCOLOR" "#555555") ;; (list "BGCOLOR" "#555555")
(list "TEXT" "#000000") ;; (list "TEXT" "#000000")
(list "LINK" "#0000FF") ;; (list "LINK" "#0000FF")
(list "VLINK" "#840084") ;; (list "VLINK" "#840084")
(list "ALINK" "#0000FF"))) ;; (list "ALINK" "#0000FF")))
</style-specification-body> </style-specification-body>
</style-specification> </style-specification>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment