Re: [docbook-apps] How to avoid page breaks after sections: DocBook to ePub

2012-05-13 Thread Bob Stayton
The separation of different parts of a document into separate HTML files is 
called chunking in the DocBook stylesheets.  There are many options for 
controlling what becomes a chunk, as described in this doc:

http://www.sagehill.net/docbookxsl/Chunking.html#ControllingChunks

In your case, you would need to set these two stylesheet parameters in a 
customization layer as follows:

chunk.section.depth=0
chunk.first.sections=0

Bob Stayton
Sagehill Enterprises
b...@sagehill.net


  - Original Message - 
  From: DC Denison 
  To: Bob Stayton 
  Cc: docbook-apps@lists.oasis-open.org 
  Sent: Saturday, May 12, 2012 5:20 PM
  Subject: Re: [docbook-apps] How to avoid page breaks after sections: DocBook 
to ePub


  For all sections. I only have sections in the Preface right now, but it 
probably makes sense to prevent for all, in case I want to add sections within 
chapters down the road. 


  Thanks. 


  On May 12, 2012, at 7:08 PM, Bob Stayton wrote:


Hi,
Did you want to prevent such breaks for all sections, or only sections 
within the preface?

Bob Stayton
Sagehill Enterprises
b...@sagehill.net


  - Original Message -
  From: DC Denison
  To: docbook-apps@lists.oasis-open.org
  Sent: Saturday, May 12, 2012 4:33 AM
  Subject: [docbook-apps] How to avoid page breaks after sections: DocBook 
to ePub


  Hi, 


  I have sections in the Preface in my DocBook document and when I 
transform to ePub (using ANT in Oxygen), it puts a page break after the first 
one, and each of the subsequent ones. 


  So the Preface in my ePub consists of four different .html files that are 
displayed in the ePub ebook as separate pages. Looks bad, and wastes a lot of 
screen space. 


  I tried putting this line xsl:param name=refentry.pagebreak 
select=0/  in this template xsl:template name=”section.heading” in the 
docbook.xsl file, but it didn't work.


  I also tried putting that line in my custom .xsl file. Nothing.  


  Any ideas? 


  Thanks, DC



RE: [docbook-apps] Python to PDF via XSL-FO

2012-05-13 Thread Robert Lucente
I am a newbie to DocBook and so take my comments w/ a grain of salt.

Check out

http://www.reportlab.com/software/opensource/rl-toolkit/

Why not go from Python to PDF directly?

-Original Message-
From: John W. Shipman [mailto:j...@nmt.edu]
Sent: Monday, May 07, 2012 1:54 PM
To: docbook-apps mailing list
Cc: John Shipman
Subject: [docbook-apps] Python to PDF via XSL-FO


As much as I love XSLT (half-kidding here), I have several
applications to generate PDFs from databases, and from other
sources that XSLT can't reach directly.

Since I discovered SQLAlchemy (http://www.sqlalchemy.org), life
is much nicer: In Python, I can pull data from SQL databases
without getting any actual SQL on my paws.

These applications use Python and its wonderful lxml module to
produce XSL-FO files, which I can then run through XEP or FOP.

I've built a little Python module to assist in the generation of
XSL-FO:

 http://www.nmt.edu/tcc/projects/fohelpers

If anyone finds this module useful, or if you have feedback on its
usefulness, I would be delighted to hear from you.

Are there other mailing lists that might reach potential users?

Best regards,
John Shipman (j...@nmt.edu), Applications Specialist, NM Tech Computer
Center,
Speare 146, Socorro, NM 87801, (575) 835-5735, http://www.nmt.edu/~john
   ``Let's go outside and commiserate with nature.''  --Dave Farber

-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org


-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



[docbook-apps] Hello.

2012-05-13 Thread Xuan Ngo
http://fwj93.com/wp-content/themes/weisaysimple/pfng.html?tee=bwep.ttyespe=qabr.vcqaeerp=jopy