|
Subject: page-number-restart? causes blank page? From: Norman Walsh <norm@xxxxxxxxxxxxx> Date: Mon, 3 Nov 1997 15:13:15 -0500 |
Can anyone reproduce and/or explain the following behavior? If
I set page-number-restart? to #t on a simple-page-sequence, Word
outputs a blank page on my OfficeJet printer. I'm pretty sure
it's not an attempt to get to a new recto page. And the blank
pages don't show up in a print preview. Can I "fix" this?
Here's a sample document and stylesheet:
<!doctype book [
<!element book - - (chapter+)>
<!element chapter - - (title,para)>
<!element title - - (#pcdata)>
<!element para - - (#pcdata)>
]>
<book>
<chapter><title>Test1</title>
<para>
This is chapter 1.
</para>
</chapter>
<chapter><title>Test2</title>
<para>
This is chapter 2.
</para>
</chapter>
</book>
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN">
<style-sheet>
<style-specification id="test">
<style-specification-body>
(declare-characteristic page-number-restart?
"UNREGISTERED::James Clark//Characteristic::page-number-restart?" #f)
(declare-initial-value left-margin 1in)
(declare-initial-value right-margin 1in)
(declare-initial-value top-margin 1in)
(declare-initial-value bottom-margin 1in)
(declare-initial-value header-margin 0.5in)
(declare-initial-value footer-margin 0.5in)
(declare-initial-value page-width 8.5in)
(declare-initial-value page-height 11in)
(element book (process-children))
(element chapter
(make simple-page-sequence
page-number-restart?: #t
(process-children)))
(element title
(make paragraph
font-size: 14pt
font-weight: 'bold
(process-children)))
(element para
(make paragraph
(process-children)))
</style-specification-body>
</style-specification>
</style-sheet>
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: The DSSSList Digest V1 #188, Daniel Speck | Thread | Re: page-number-restart? causes bla, Norman Walsh |
| Re: The DSSSList Digest V1 #188, Daniel Speck | Date | RE: DSSSL: Hidden text support., Andrei Kaikov |
| Month |