docbook-apps

  • 1.  [docbook-apps] Configuring

    Posted 09-12-2011 14:46

    I notice that when I use <pubsnumber> in my <bookinfo> markup, the element is
    reproduced in PDF output. This is because I have configured the
    frontpage.templates.xml file.

    But <pubsnumber> does not appear in HTML output.
    Where can I configure this? Is there an equivalent of the
    frontpage.templates file for HTML?
    --
    View this message in context: http://old.nabble.com/Configuring-%3Cbookinfo%3E-elements-in-HTML-output-tp32448520p32448520.html
    Sent from the docbook apps mailing list archive at Nabble.com.




  • 2.  Re: [docbook-apps] Configuring

    Posted 09-12-2011 18:27

    Am I right in saying that you use the fo/titlepage.templates.xsl file for PDF
    front pages, and the html/titlepage.templates.xsl file for HTML front
    pages?


    mike 675 wrote:
    >
    > I notice that when I use <pubsnumber> in my <bookinfo> markup, the element
    > is reproduced in PDF output. This is because I have configured the
    > frontpage.templates.xml file.
    >
    > But <pubsnumber> does not appear in HTML output.
    > Where can I configure this? Is there an equivalent of the
    > frontpage.templates file for HTML?
    >

    --
    View this message in context: http://old.nabble.com/Configuring-%3Cbookinfo%3E-elements-in-HTML-output-tp32448520p32450246.html
    Sent from the docbook apps mailing list archive at Nabble.com.




  • 3.  Re: [docbook-apps] Configuring

    Posted 09-12-2011 18:50

    Does customizing an HTML title page work in the same way as for a PDF title
    page?
    I attempted to create a custom titlepage.templates.xsl file for HTML
    output.

    Take a copy of html/titlepage.templates.xml, name it mytitle.xml.
    Edit the book section to include pubsnumber.
    Generate the .xsl file:

    xsltproc -o mytitle.xsl \
    docbook-1.76.1/html/titlepage.templates.xsl \
    mytitle.xml

    The command completes with no errors, but creates an empty file,
    mytitle.xsl.


    mike 675 wrote:
    >
    > Am I right in saying that you use the fo/titlepage.templates.xsl file for
    > PDF front pages, and the html/titlepage.templates.xsl file for HTML front
    > pages?
    >
    >
    > mike 675 wrote:
    >>
    >> I notice that when I use <pubsnumber> in my <bookinfo> markup, the
    >> element is reproduced in PDF output. This is because I have configured
    >> the frontpage.templates.xml file.
    >>
    >> But <pubsnumber> does not appear in HTML output.
    >> Where can I configure this? Is there an equivalent of the
    >> frontpage.templates file for HTML?
    >>
    >
    >

    --
    View this message in context: http://old.nabble.com/Configuring-%3Cbookinfo%3E-elements-in-HTML-output-tp32448520p32450411.html
    Sent from the docbook apps mailing list archive at Nabble.com.




  • 4.  Re: [docbook-apps] Configuring

    Posted 09-12-2011 19:41

    Fixed.
    I needed to use:
    docbook-1.76.1/template/titlepage.xsl

    mike 675 wrote:
    >
    > Does customizing an HTML title page work in the same way as for a PDF
    > title page?
    > I attempted to create a custom titlepage.templates.xsl file for HTML
    > output.
    >
    > Take a copy of html/titlepage.templates.xml, name it mytitle.xml.
    > Edit the book section to include pubsnumber.
    > Generate the .xsl file:
    >
    > xsltproc -o mytitle.xsl \
    > docbook-1.76.1/html/titlepage.templates.xsl \
    > mytitle.xml
    >
    > The command completes with no errors, but creates an empty file,
    > mytitle.xsl.
    >
    >
    > mike 675 wrote:
    >>
    >> Am I right in saying that you use the fo/titlepage.templates.xsl file for
    >> PDF front pages, and the html/titlepage.templates.xsl file for HTML
    >> front pages?
    >>
    >>
    >> mike 675 wrote:
    >>>
    >>> I notice that when I use <pubsnumber> in my <bookinfo> markup, the
    >>> element is reproduced in PDF output. This is because I have configured
    >>> the frontpage.templates.xml file.
    >>>
    >>> But <pubsnumber> does not appear in HTML output.
    >>> Where can I configure this? Is there an equivalent of the
    >>> frontpage.templates file for HTML?
    >>>
    >>
    >>
    >
    >

    --
    View this message in context: http://old.nabble.com/Configuring-%3Cbookinfo%3E-elements-in-HTML-output-tp32448520p32450756.html
    Sent from the docbook apps mailing list archive at Nabble.com.