Subject: Re: (dsssl) rules in headers/footers From: curt brune <curt@xxxxxxxxxxxxxxxxx> Date: Wed, 07 Nov 2001 09:08:07 -0800 |
I'm targeting the tex backend (ultimately to make pdf). I am trying to use this construct for a horizontal rule in the footer: (define (page-center-footer gi) (make rule orientation: 'horizontal line-thickness: 0.5pt keep-with-next?: #t) ) But I get this error message: flow object not accepted by port; only inline flow objects accepted Is there a way to "wrap" the rule inside another flow object that will be accepted by the port? Or do I need to change the port somehow to accept the rule? (Aside question is there a clear reference of all the flow object types, which ones are inline flow objects, what ports expect, etc? ) Additionally I would like some text to appear beneath the rule. Naively I tried: (define (page-center-footer gi) (make rule orientation: 'horizontal line-thickness: 0.5pt keep-with-next?: #t) (literal "For internal use only") ) Finally I do not understand your comment below, "Who said a rule had to be displayed?" . In what sense do you mean displayed? I do want the rule to be displayed on my final pdf document... I do appreciate your time spent reading my questions. Cheers, Curt > Date: Tue, 6 Nov 2001 09:03:29 +0100 > From: "Christof Drescher" <drescher.lists@xxxxxxxxxxxx> > > Well, there are two things about it: The DSSSL standard allows for this > construct easily, as you can use e.g. the center header/footer to contain > the rule plus some text beneath and use the left and right footers just > normal. Who said a rule had to be displayed?! > > I don't know what the backends in OpenJade will do about it, sorry. Just > know it works since my pdf backend does it. ;) > > Christof > > - ----- Original Message ----- > > Ideally I would like a horizontal rule that stretches over the top of the > > page-*-footer outputs. For example: > > > > > ____________________________________________________________________________ > _ > > (page-inner-footer) (page-center-footer) > (page-outer-footer) > > > > > > I'm guessing the same technique could be applied to headers as well, > though > > I am currently not interested in rules in the headers, but someone else > > propably is. > > -- Curt Brune Stanford Linear Accelerator Center GLAST -- Flight Software Group http://www.slac.stanford.edu/exp/glast/daq curt@xxxxxxxxxxxxxxxxx DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: (dsssl) rules in headers/footer, Christof Drescher | Thread | Re: (dsssl) rules in headers/footer, Tammy Fox |
RE: (dsssl) ANN: SGML for NT update, Markus Hoenicka | Date | Re: (dsssl) rules in headers/footer, Tammy Fox |
Month |