[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: page break before each <sect1>?
At 09:27 AM 3/16/01 -0500, Dan York wrote: >Folks, > >I'm putting together some courseware and I would like to have each ><sect1> start at the top of a new page. I've looked through the >DSSSL files and maybe I've missed something brilliantly obvious... >but I didn't see any way to flag this. This is for print (PDF) >publication, not online. (In the HTML side, each <sect1> nicely >becomes its own independent file.) Have a look in the code in dbcompon.dsl, I think. In the section handling sections, you have to do something like: (if-front-page (make simple-page-sequence page-number-restart?: #f (make paragraph break-before: page (literal "\no-break-space"))) (empty-sosofo)) However, you need %two-page% to work, and I found that I had to hack JadeTex to get that to work ... Now, all I need is to find out why that \hbox to ... in the JadeTex definition of insertRule is inserting fixed space before the rule! >Any suggestions? > >Tools used: DB 4.1 SGML/DSSSL 1.62/OpenJade 1.3/JadeTex 3.3 > >Thanks, >Dan > >-- >Dan York, Director of Training dyork@e-smith.com >Ph: +1-613-751-4401 Mobile: +1-613-263-4312 Fax: +1-613-564-7739 >e-smith, inc. 150 Metcalfe St., Suite 1500, Ottawa,ON K2P 1P1 Canada >http://www.e-smith.com/ open source, open mind > >------------------------------------------------------------------ >To unsubscribe from this elist send a message with the single word >"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org > Regards ------- Richard Sharpe, sharpe@ns.aus.com Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC