List Info

Thread: Title pages




Title pages
user name
2007-08-09 11:09:24
I have got a bit rusty on my DocBook techniques recently as my current position has not enabled me to use the software for a while.  However I am now looking at using DocBook again and i am trying to get things working.

One of the things that I have not been able to fathom out (and I think I did it before) is that I want to remove the title page from an article (either in a printed document or an HTML file or both).  Can anyone point me in the direction on how this can be done?

Another thing that I am pretty sure I asked about before on this list, and I have been unable to find again so apologies for that is that the titlepage does not have a page break after it and the TOC page for example.  I have cleverly lost all my old customisation layer files :(.

If anyone has any hints or tips that would be great.

Regards, Russell
Re: Title pages
user name
2007-08-10 02:21:35
Hi !

I found this solution a while ago, it removes titlepages and toc from book by redefining the template :

&nbsp; <!-- no titlepages and toc for books -->
&nbsp; <xsl:template match="book[*]">
 &nbsp;  <xsl:variable name="content"
&nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp;  select="*[not(self::title or self::subtitle
&nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; or self::titleabbrev
&nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   or self::bookinfo)]"/>;
 &nbsp;  <xsl:apply-templates select="$content"/>;
  </xsl:template>

for the break problem, I'm not sure to understand and to know a solution...

Regards,
Marie.

Russell Seymour a écrit :
turtlesystems.co.uk" type="cite">I have got a bit rusty on my DocBook techniques recently as my current position has not enabled me to use the software for a while.&nbsp; However I am now looking at using DocBook again and i am trying to get things working.

One of the things that I have not been able to fathom out (and I think I did it before) is that I want to remove the title page from an article (either in a printed document or an HTML file or both).&nbsp; Can anyone point me in the direction on how this can be done?

Another thing that I am pretty sure I asked about before on this list, and I have been unable to find again so apologies for that is that the titlepage does not have a page break after it and the TOC page for example.  I have cleverly lost all my old customisation layer files :(.

If anyone has any hints or tips that would be great.

Regards, Russell
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )