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] more than 15 callouts?


Stephen Langer wrote:

> > I have to say, some of the higher-numbered callouts look a little
> > strange, but I was wondering, has anyone got a set of callout images
> > that go up to number 20?
> Here's the set that I made, using Omnigraffle.  The set could be
> extended up to 99 if anyone has the patience.

Just an idea: what about using SVG for callouts? It would be easy 
to add something like this to fo/callouts.xsl:

<fo:instream-foreign-object content-width="0.5em" baseline-shift="super">
    <svg:svg xmlns:svg="http://www.w3.org/2000/svg";
                 height="1cm" width="1cm"
                 viewBox="-1 -1 2 2" stroke="none">
        <svg:circle fill="black" r="1"/>
        <svg:text style="font: bold 1.5 Times; fill:white" text-anchor="middle" y="0.5">
            <xsl:value-of select="$conum"/>

This would produce callouts in vector format, and free us from worries about upper limits. 
Other benefits are ease of styling, and possibility to use non-digital numbering for callouts. 
Sure, it would take longer to process, but the resulting PDF will be smaller, and numbers 
will be searchable. Does it sound appealing?

Nikolai Grigoriev

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