Re: [docbook-apps] A stupid idea

From
Kacques
Date
2004-12-04T22:38:36+00:00
ID
r02010400-1036-342992B6464511D9B26A000A95C2BD80@[192.168.1.6]
Thread
Re: [docbook-apps] A stupid idea
Le vendredi 3 d嶰embre 2004, Bob Stayton disait :

>I'm not clear what the problem is, though.  If you have the SVG 
>generator,
>you can generate SVG icon files for however many callout numbers you 
>need.
>The bitmap numbers would only be used for HTML output.  What exactly 
>were
>you expecting, and what did you get that did not meet those 
>expectations?

I have the SVG generator script (from the Alexander's script previously
talk here). I can generate the png file but I found (may be because I am
a Mac user) that the result in a PDF file is not "beautiful".

I try to put the svg script inside my xml book file and the result
(always in a pdf file) is very better than with the bitmap files.

So I would like to call (for example) 1.svg instead of 1.png when a
callout icon is required in my file.

For now the result is not good. I have no errors, but the callout icons
are not in the final pdf document.

May be the good solution is to custom callouts.xsl.

I hope It's more clear. :-)

My svg script is :

<?xml version="1.0"?>

<svg width="9" height="9" viewBox="0 0 16 16">

    <g transform="translate(0,0)"
    style="font-family:serif;font-size:10;font-weight:bold">

    <circle cx="8" cy="8" r="7"
    style="stroke:rgb(0,0,0);fill:black;stroke-width:1"/>

        <g style="stroke:none;fill:white">
            <text id="number" text-anchor="middle" x="8"
            y="11.5">1</text>
        </g>
    </g>
</svg>

-- 
Jacques
-- 
 S'il n'y pas de solution, c'est qu'il n'y a pas de probl鋗e