Martin Miehe wrote: > Hello, > > Because there was no PDF available at the LFS download page I am > trying to build the LFS book as PDF. Unfortunately I do know more > about XML that what I learned in the few days I am working at this task. > > Until now I did the following steps: > * adjusted BOOK/stylesheets/lfs-xsl/pdf/lfs-mixed.xsl so that > * breaking the scripts and rules in the appendix is possible > * reduced font-size of the element screen in appendix, so that width of > scripts is lesser than width of containing screen > * line breaks with '\' at several commands so that width of commands > is lesser than width of containing screen element, necessary in: > * BOOK/prologue/hostreqs.xml > * BOOK/chapter06/coreutils.xml > * BOOK/chapter05/gcc-pass1.xml > * BOOK/chapter05/e2fsprogs.xml > > Now the PDF ist close to perfect. According to fop's output there seem > to be some problems with the scripts, which do not the effect of the > pdf output. > > But much more annoying: there remains a problem with the table in > BOOK/chapter06/man-db.xml. It is to huge for one page, but kept > together on this page. I tried to solve the problem by adding > > <? dbfo keep.together="auto" ?> > > below <table> . This did not work. I already had a look at > /BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/table.xsl but found > no reason why <? dbfo keep.together="auto" ?> did not work. > > Yes, I know I could break this table somehow by hand but I think that > is not the way it should be. How do I get this table to break at the > end of the page?
Martin, I don't know the answer to your questions, but if you can send me ([email protected]) the diffs of what you have done, I'll see what I can do to implement them into the -dev book. Thanks for your efforts. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
