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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: [docbook] Little black tags in http://www.docbook.org/tdg/en/html/ ...


Mauritz Jeanson wrote:
> > http://www.docbook.org/tdg/en/html/ has littlr black tags for some of
> > the "DocBook Element Reference" entries, for example
> > "bibliocoverage<[4.2]> - The spatial or temporal coverage of
> > a document"
> > where "<[4.2]>" is a small image (with the alternative text "[4.2]").
> > How was this feature implemented in DocBook ?
> 
> I'm not sure I understand the question. What feature are you referring to?
> All elements marked with the "4.2" graphic were added in version 4.2 of the
> DocBook DTD.

Erm... my question was:
1. Which DocBook tag was used to embed the images ? For my own work I am
currently using
-- snip --
<!ENTITY tag_kshonly      '<inlinemediaobject><imageobject><imagedata
fileref="images/tag_ksh.png"></imagedata></imageobject><textobject><phrase>[ksh]</phrase></textobject></inlinemediaobject>
'>
...
<title>&tag_kshonly;&tag_performance;Use builtin commands if the shell
provides them</title>
-- snip --
... but somehow this doesn't "feel" right (maybe just my feeling is
wrong...) ... ;-(


2. Which tools did you use to create images like
http://www.docbook.org/tdg/en/html/figures/rev_4.3.png ?

I've tried...
-- snip --
$ (text="perf" ;
   pbmtext -nomargins -lspace 0 -builtin fixed "${text}" |
       pbmtopgm 1 1 |
       pgmtoppm 1.0,1.0,1.0-0,0,0 /dev/stdin |
       ppmtogif |
       giftopnm |
       pnmtopng >"tag_${text}.png")
-- snip --
... but the result looks like a cross-breed between a truck and a
garbage can... ;-(
... and now I am looking for a "better" solution...

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)


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