Re: Sample TR2 library proposal using Quickbook

Beman Dawes <[email protected]>
Newsgroups gmane.comp.lib.boost.documentation
Message-ID <CAAygHNO7Tm1qRq-HnM40LDU7KMviA-yBzsX2kQTbtoiTGTBoTw@mail.gmail.com>
On Mon, Dec 5, 2011 at 10:57 PM, Rene Rivera <[email protected]> wrote:

>> * Generating different, possibly empty, boilerplate.
>>
>> The higher priority, at least for me, is being about to control the
>> selection of
>> generated boilerplate.
>
>
> Boilerplate is likely the easiest to implement. What specifically did you
> have in mind as needing to include? And a related question.. Would it be
> worth it writing some templates, and possibly a special document type, to
> deal with them?

Adding my boilerplate seems easy - [include my-stuff.qbk] - looks like
it will be sufficient.

The problem is getting rid of automatically generated stuff. Most of
it turned out to be navbar stuff that I was able to suppress via the
Jamfile.

What I haven't been able to suppress are these three lines of html:

<table cellpadding="2" width="100%"><tr><td valign="top"></td></tr></table>
<hr>
...
<div class="titlepage"><hr></div>

Is there currently a way to get rid of the empty table and the two
<hr> elements?

A document type that says, in effect, "Please generate no content
unless I explicitly ask for it" would have saved me hours of effort.

Thanks,

--Beman
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.