OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: Re: DOCBOOK-APPS: Solution to funky TOCs in HTML Help...

Dan York wrote:
> I sent the version I used off to Jirka this morning, but thought I
> would pass along the info because I know a number of people mentioned
> having difficulties along these lines.

Fixed in CVS.

> P.S. The other solution, of course, is simply to make sure that all
> titles are on one line.

You should always have in mind that XML (and thus XML version of
DocBook) is much more sensitive to spaces and newlines than most typical
SGML appliacations. For example:

$foo = bar();
echo foo;

will add aditional new lines to your output. You probably will not
recognize it in HTML output, because HTML browsers are very relaxed in
new-line handling. But if you try to get printed output using Jade or
XSL FO you will see aditional lines. The safe way to write this is:

<programlisting>$foo = bar();
echo foo;</programlisting>

Which looks more ugly than first one, unfortunately.


  Jirka Kosek  	                     
  e-mail: jirka@kosek.cz

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC