Re: PEAR new Manual built with PhD : docbook tag related to picture
| From: | Christian Weiske | Date: | Thu, 22 Jan 2009 07:35:06 +0000 |
| Subject: | Re: PEAR new Manual built with PhD : docbook tag related to picture | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-11455@lists.php.net to get a copy of this message | ||
Hello Laurent,
> I want to know if Docbook tags related to pictures are allowed (and
> supported by PhD) in future PEAR Manual.
PhD kind of supports them - they get rendered into <img> tags.
> Can we use something like :
>
> <figure>
> <title id="package.html.html-css.blahblah.caption">
> Rule set structure
> </title>
> <screenshot>
> <graphic format="gif" fileref="img/rule.gif"/>
> </screenshot>
> </figure>
> Question behind:
> If images are allowed, where should we put them (in peardoc
> structure) ?
I did not try this out yet.
At first I thought that images should be put into
> peardoc/images/$package/file.{png,jpg,svg}
- this works in the php-gtk2 documentation since some years. Problem is
that we loose the ability to easily translate them. So they should
either be put into
> peardoc/$lang/images/...
or
> peardoc/images/$lang/...
The first is a bit sloppy in file type separation, while the latter one
introduces a second language directory structure. I personally prefer
the second one, since it makes copying files over relatively easy.
We should look how the php-manual solves this:
> phpdoc/images
exists. But there are also images in
> phpdoc/en/internals2/ze1/zendapi/figures/
and
> phpdoc/en/reference/image/figures/
I'll talk to Hannes behind that reasoning. Perhaps we shouldn't
duplicate the whole pear-doc/en/ directory structure for
pear-doc/images/, or put them into the same directory as the xml
files. We'll see.
To come back to your question, Laurent:
- Images are on the agenda for the new manual.
- Support is not available yet
- It will be available soon, after discussion [TM]
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-= Geeking around in the name of science since 1982 =-
Attachment: [application/pgp-signature] signature.asc
Attachment: [application/pgp-signature] signature.asc