|
Subject: RE: page-n-columns Characteristic in Jade From: "Zahn, Lee A." <Lee.Zahn@xxxxxxxxxxxxxxx> Date: Thu, 17 Sep 1998 10:20:26 -0400 |
Toby>I've just noticed that you've declared the initial value as
being 2
Toby>(should be 1). This is an error which might lead to your
problem (the
Toby>style engine will see that setting the characteristic to 2
isn't
Toby>changing anything, and so won't write it into your output).
Does it
Toby>work if you change it to 1 above?
Interesting thought. I tried it with the initial value of 1 without
success.
I'm beginning to think the problem must be more basic in nature.
I'm running the 1.1.1 version of jade. I simply downloaded the binary
distribution as I'm running on NTWS 4.0. My input file is an extremely
simple xml file like this:
<?xml version="1.0"?>
<report><testtext>blah blah blah </testtext></report>
with a dsl file like this:
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY amp "&">
]>
(root
(make simple-page-sequence
left-margin: 1in
right-margin: 1in
top-margin: 1in
bottom-margin: 1in
footer-margin: .5in
center-footer: (page-number-sosofo)
(process-children)))
(element (testtext)
(make simple-page-sequence
page-n-columns: 2
(process-children)))
I run Jade from the command line like:
jade -d abc.dsl -t rtf abc.xml
The resulting abc.rtf file does not have the cols directive. Anyone have a
thought? Could someone try these same input and dsl files and see if I've
got some sort of environment problem? Thanks.
Lee Zahn
lee.zahn@xxxxxxxxxxxxxxx
> -----Original Message-----
> From: Toby Speight [SMTP:Toby.Speight@xxxxxxxxxxxxxx]
> Sent: Thursday, September 17, 1998 9:30 AM
> To: dssslist@xxxxxxxxxxxxxxxx
> Subject: Re: page-n-columns Characteristic in Jade
>
>
> Toby>I've just noticed that you've declared the initial value as being 2
> Toby>(should be 1). This is an error which might lead to your problem
> (the
> Toby>style engine will see that setting the characteristic to 2 isn't
> Toby>changing anything, and so won't write it into your output). Does it
> Toby>work if you change it to 1 above?
>
>
> Lee> Lee A. Zahn <URL:mailto:Lee.Zahn@xxxxxxxxxxxxxxx>
>
> 0> In article
> 0> <1F946E0C26C0D111A77300805FE676A72FD3B9@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
> 0> Lee wrote:
>
> Lee> Using the actual "page-n-columns" name made no difference.
>
> Lee> (declare-characteristic PNC "UNREGISTERED::James
> Lee> Clark//Characteristic::page-n-columns" 2)
>
> I've just noticed that you've declared the initial value as being 2
> (should be 1). This is an error which might lead to your problem (the
> style engine will see that setting the characteristic to 2 isn't
> changing anything, and so won't write it into your output). Does it
> work if you change it to 1 above?
>
> --
>
>
> DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: page-n-columns Characteristic i, Toby Speight | Thread | RE: page-n-columns Characteristic i, Sebastian Rahtz |
| Re: Modular Docbook v1.13 bug, Lionel Mallet | Date | RE: page-n-columns Characteristic i, Sebastian Rahtz |
| Month |