docbook-apps

  • 1.  Epub from oxygen (docbook)

    Posted 04-01-2021 01:56
    Just a follow up: if you modify the XSLT file as recommended by Bob Stayton, you will still get errors with the width designation. However, since the image style is correctly modified with Bob's modification, Radu Coravu pointed out that you can do a search and replace on oxygen for designations like "width="50%"" and just delete them. It takes a few seconds and can correct lots of errors if you have a lot of image files with width designations.

    Sent from my iPhone




  • 2.  Re: [docbook-apps] Epub from oxygen (docbook)

    Posted 04-01-2021 04:44
    Hi Philo,

    My advice was entirely related to changes which should be made in the
    "xhtml5/html5-element-mods.xsl" XSLT stylesheet, using the find/replace
    dialog to find the 4 places where the condition is present:

    and $element != 'img'

    and remove it.

    Bob's advice was to remove the condition from only one place in the XSLT
    and my advice is to find it and remove the condition in all 4 places
    where it appears in the XSLT stylesheet.

    Regards,

    Radu

    Radu Coravu
    Oxygen XML Editor

    On 4/1/21 04:55, Luxsci wrote:
    > Just a follow up: if you modify the XSLT file as recommended by Bob Stayton, you will still get errors with the width designation. However, since the image style is correctly modified with Bob's modification, Radu Coravu pointed out that you can do a search and replace on oxygen for designations like "width="50%"" and just delete them. It takes a few seconds and can correct lots of errors if you have a lot of image files with width designations.
    >
    > Sent from my iPhone
    >
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >