Re: "target" directive not working on images
Dany Nativel <[email protected]> Mon, 14 Feb 2005 20:08:53 +0100
| Newsgroups | gmane.comp.python.pyds.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I decided to go with PyDS 0.7.4 and installed all the packages manually : Python 2.3.5 Cheetah 0.9.16a2 docutils-0.3.7 medusa-0.5.4 pyrex-0.9.3 metakit-2.4.9.3 SOPPy-0.11.6 fpconst 0.7.1 required PYXML-0.8.4-win32-py23 PIL 1.1.4 It worked for the target option and also for the align one (it wasn't working before). Thanks again for your time Dany Georg Bauer wrote: > 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 _______________________________________________ Pyds-users mailing list Pyds-users-iYtK5bfT9M//Ad8WF/[email protected] http://www.westfalen.de/cgi-bin/mailman/listinfo/pyds-users