projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
157aab5
)
updates
author
Pekka Riikonen
<priikone@silcnet.org>
Mon, 3 Jun 2002 06:56:25 +0000
(06:56 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Mon, 3 Jun 2002 06:56:25 +0000
(06:56 +0000)
scripts/html2psrc
patch
|
blob
|
history
diff --git
a/scripts/html2psrc
b/scripts/html2psrc
index 8b619f4de3cdac634b5f23b921ab20c78d47e731..712eb5069e940886daddda1ffa894fcf67143496 100755
(executable)
--- a/
scripts/html2psrc
+++ b/
scripts/html2psrc
@@
-8,6
+8,13
@@
information below.
*/
information below.
*/
+/* The toc: thingy does not work with every html file, disable it from
+ the option { } when it causes bad PS files. It causes problems if
+ the HTML file doesn't use any <Hx> tags. Also Ghostscript must be
+ installed in the system. -Pekka */
+/* Tested the html2ps with the xhtml and css thingys and it works pretty
+ good, so they should be preferred in html format. -Pekka */
+
@html2ps {
header { /* Running page header */
odd-left: $T; /* Document title */
@html2ps {
header { /* Running page header */
odd-left: $T; /* Document title */
@@
-19,7
+26,8
@@
center: "- $N -"; /* Page number */
}
option {
center: "- $N -"; /* Page number */
}
option {
- toc: bh; /* Generate a table of contents, based on headings */
+ /* Generate a table of contents, based on headings */
+ /*toc: bh; */
titlepage: 1; /* Generate a title page */
/* original: 1; */
}
titlepage: 1; /* Generate a title page */
/* original: 1; */
}