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: Re: [docbook-apps] Visio 2003 vector graphics in docbook


To those of you that replied, thanks for the suggestions.

On 1/29/07, David Cramer (Tech Pubs) <dcramer@motive.com> wrote:
> > As Jirka Kosek mentioned, the arrow heads on my Visio SVGs
> > don't show up in other programs. As a result, I used Visio ->
> > WMF -> EPS -> PDF...
>
> It's a little messy, but you could have your build system/an xslt add
> overflow="visible" to all <marker> elements in Visio-produced svgs
> before spinning the doc, then the arrows will be there:
> <http://issues.apache.org/bugzilla/show_bug.cgi?id=38831>. I doubt it
> would work to add them and then edit again with visio...I'm sure visio
> would prune them again.
>
> <?xml version ="1.0"?>
> <!DOCTYPE xsl:stylesheet>
> <!-- Workaround for:
> http://issues.apache.org/bugzilla/show_bug.cgi?id=38831 -->
> <!-- Adds overflow="visible" to all <marker> elements. -->
>   <xsl:stylesheet version="1.0"
>     xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
>         xmlns:svg="http://www.w3.org/2000/svg";
>         xmlns="http://www.w3.org/2000/svg";
>         exclude-result-prefixes="svg"
>         >
>
>         <xsl:output
>           method="xml"
>           indent="no"/>
>
>         <xsl:template match="svg:marker">
>           <xsl:element name="marker" xmlns="http://www.w3.org/2000/svg";>
>                   <xsl:copy-of select="@*"/>
>                   <xsl:attribute name="overflow">visible</xsl:attribute>
>                   <xsl:copy-of select="node()"/>
>           </xsl:element>
>         </xsl:template>
>
>     <xsl:template match="@*|node()">
>       <xsl:copy>
>         <xsl:apply-templates select="@*|node()"/>
>       </xsl:copy>
>     </xsl:template>
>
>   </xsl:stylesheet>
>
> David
>


-- 
http://chris.chiasson.name/


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