Commit 46e7a04e authored by Alexis de Lattre's avatar Alexis de Lattre

* common/stylesheet-print-noicones.dsl : stylesheet for PS/PDF/RTF output

* faq/Makefile: added PS/PDF/RTF targets
* faq/faq.sgml: SGML enhancements and few modifications
parent e55a8802
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY dbstyle SYSTEM
"/usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl" CDATA DSSSL>
]>
<style-sheet>
<style-specification use="docbook">
<style-specification-body>
; Personnalization of James Clark's stylesheet for PS & PDF output
; These parameters overide James Clark's one.
; Only produce a table of contents (not a table of figure, etc...)
(define ($generate-book-lot-list$)
(list ))
; Depth of the table of contents
(define (toc-depth nd)
2)
; Magins
(define %left-margin%
3pi)
(define %right-margin%
3pi)
(define %top-margin%
5pi)
(define %bottom-margin%
3.5pi)
(define %header-margin%
2pi)
(define %footer-margin%
2pi)
</style-specification-body>
</style-specification>
<external-specification id="docbook" document="dbstyle">
</style-sheet>
all: clean html
all: clean html html-zip txt pdf ps rtf
html:
rm -f *.html
......@@ -8,7 +8,26 @@ html:
ln -s book1.html index.html
clean:
rm -f *.html *.txt
rm -f *.html *.txt *.zip *.pdf *.ps *.rtf
html-zip:
zip FAQ-vlc-html.zip *.html
txt:
sgmltools -b txt faq-alone.sgml
mv -f faq-alone.txt FAQ-vlc.txt
pdf:
sgmltools -b pdf -s ../common/stylesheet-print-noicones.dsl faq-alone.sgml
mv -f faq-alone.pdf FAQ-vlc.pdf
zip FAQ-vlc-pdf.zip FAQ-vlc.pdf
ps:
sgmltools -b ps -s ../common/stylesheet-print-noicones.dsl faq-alone.sgml
mv -f faq-alone.ps FAQ-vlc.ps
zip FAQ-vlc-ps.zip FAQ-vlc.ps
rtf:
sgmltools -b rtf -s ../common/stylesheet-print-noicones.dsl faq-alone.sgml
mv -f faq-alone.rtf FAQ-vlc.rtf
zip FAQ-vlc-rtf.zip FAQ-vlc.rtf
This diff is collapsed.
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