docbook-apps

Re: [docbook-apps] right width and height-attributes

  • 1.  Re: [docbook-apps] right width and height-attributes

    Posted 08-02-2007 15:31
    On Thu, Aug 02 2007 14:55:40 +0100, Robert.Buergel@bmw.de wrote:
    > Hi all,
    >
    > I'm processing my docbook sources with xsltproc and all is fine.
    ...
    > That is not so nice because the width and the height of the graphic-file
    > is not in the img-tag.
    >
    > I already tested the use.extensions and graphicsize.extension parameters
    > but with these I get a error-message like this:
    >
    > No adjustColumnWidths function available
    >
    > Any hints to get the right width and height-attributes in the html-File
    > without writing them in the XML-File?

    According to the definitive information at
    http://www.sagehill.net/docbookxsl/InstallingAProcessor.html,
    graphicsize.extension is usable only with Saxon or Xalan.

    IMO, it wouldn't be hard to write the extensions for xsltproc on
    Linux/Unix, but then you'd have to build a custom xsltproc unless you
    can get the extensions accepted into the standard xsltproc.

    Regards,


    Tony Graham.
    ======================================================================
    Tony.Graham@MenteithConsulting.com http://www.menteithconsulting.com

    Menteith Consulting Ltd Registered in Ireland - No. 428599
    Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
    ----------------------------------------------------------------------
    Menteith Consulting -- Understanding how markup works
    ======================================================================