On Wednesday 22 January 2003 12:24, Richard Huxton wrote: > I'm putting together about a 20-page help doc for pdf and html output using > the linuxdoc (article) template.
Good. :-) > I like the linuxdoc pdflatex output (bookmarks, links, standard fonts etc) > but can't force a page break at the start of a new section. I've tried the > Layout Since the objectif is to separate the content from the form linuxdoc does not have those tools. In the specific case of linuxdoc it is converted to latex. It uses a sty file that in mine and your system is located in /usr/share/texmf/tex/latex/misc/linuxdoc-sgml.sty In this file is you have the definition of section it can be changed to do what you want. > | Paragraph setting and inserting a \pagebreak TeX code (cribbed from This should go in the definition of section in the above file, but I don't know how. > somewhere via Google). The first has no effect and the second just seems to > embed the literal text of the code I type. I believe the code is correct, > because if I export to Latex and manually add the code I get a page break > (but no TOC etc). Google and the mailing archives don't seem to have > anything dealing with this particular problem. > > I'm guessing the SGML style-sheet for linuxdoc is the issue, but since I > know next to nothing about SGML or TeX I'm out of my depth there. > > I've tried DocBook and book templates, but the pdf output doesn't seem as > nice. Should I just accept I'm trying to make linuxdoc do something it > isn't supposed to? No you are doing it in the wrong place. :-) > Versions: redhat 8.0, lyx 1.2.3 (rpm) I hope this helps. > TIA -- José Abílio