Re: "target" directive not working on images

Georg Bauer <[email protected]> Mon, 14 Feb 2005 08:32:33 +0100
Newsgroups gmane.comp.python.pyds.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Dany Nativel wrote:
| feature was not available in this release. So I guess my best bet is to
| go back and reinstall the exact same version that matches PyDS.

Yep, definitely. PyDS will only work with the releases that are named in
the INSTALL because we connect to some inner API of docutils that
sometimes change between releases.

But for pictures I would use the PictureTool - that one will already
manage images and different sizes. And when you use the normal reST
stuff (not the strict structured text setting), you can use the
$pictures.imageTag(...) macro to insert small pictures that will link to
the page in the PictureTool.

There is a docutils directive for pictures, too - that can be used with
strict structured text. Look at the pyds_picture function definition in
PyDS/Directives.py, that gives some documentation on how to use the
pyds-picture directive. You can either give :url: to link to some
outside URL or :bigpage: to define what big version will be used (much
like the $pictures.imageTag(...) macro).

bye, Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCEFQRF23K68kpzdoRAm8DAJ0U9ho1o/vKbia/9ZmnfZvi4D0GKQCdEO1s
G6uodVsztf0J3JdFK1wsfnM=
=blK7
-----END PGP SIGNATURE-----