OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: AW: [docbook-apps] Question about role-based images

Hi Steve, 
The role for PDF is "fo-fop" and not "fo". 

Maybe this helps for PDF.

No solutions but the questions that automatically come to mind are: 

Are the SS parameters for SVG and "image roles" activated? See the HTML parameters @ http://docbook.sourceforge.net/release/xsl/current/doc/html/index.html 

Are you using XInclude to modulize your content? Have you set your xml:base attribute?

Are you outputting your HTML to a different directory? Do you need to copy your graphics to this dir?

Does your FO-processor have a base directory setting. If so and you are using relative paths, what is that set to?

 Scott Speights

-----Ursprüngliche Nachricht-----
Von: Steve Johnson [mailto:stevej@caringo.com] 
Gesendet: Dienstag, 14. Dezember 2010 05:17
An: Docbook Apps Help list
Betreff: [docbook-apps] Question about role-based images

In the Stayton book in the section on SVG in HTML, there is an example of using an SVG graphic for PDF and PNG for HTML. I tried it and it didn't work.

This is the XML I used:

             <imageobject role="fo">
                 <imagedata format="SVG" scale="75" 
fileref="Graphics/network-topology_one-subnet.svg" align="center" 
                 <imageobject role="html">
                  <imagedata format="PNG" scale="75" 
fileref="Graphics/network-topology_one-subnet.png" align="center" 

The HTML is:

<div class="mediaobject" align="center"><img src="Graphics/network-topology_one-subnet.svg" width="405" align="middle">

Version info for XSLTproc:

Using libxml 20706, libxslt 10126 and libexslt 815 xsltproc was compiled against libxml 20706, libxslt 10126 and libexslt 815 libxslt 10126 was compiled against libxml 20706 libexslt 815 was compiled against libxml 20706



Steve Johnson, Senior Content Developer

To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]