Doesn't work: .. |left-image| image:: _static/SuperCompArch.jpg :width: 80% :alt: Supercomputer archeticture :align: bottom
.. |right-image| image:: _static/ClustArch.jpg :width: 80% :alt: Cluster archeticture :align: bottom ============ ============= |left-image| |right-image| left caption right caption ============ ============= screenshot <http://farm9.staticflickr.com/8434/7879097568_94e652749f_s.jpg> Boris. On Monday, August 27, 2012 5:40:43 PM UTC+4, Guenter Milde wrote: > > On 2012-08-27, Boris Kheyfets wrote: > > > [-- Type: text/plain, Encoding: quoted-printable --] > > > Thanks Gunter. > > > I tried: > > > > +----------------------------------------+-----------------------------------+ > > > >|.. _SuperCompArch: |.. > > _ClustArch: | > > >| | > >|.. image:: _static/SuperCompArch.jpg |.. image:: > > _static/ClustArch.jpg | > >| :width: 80% | :width: > > 80% | > >| :alt: Supercomputer archeticture | :alt: Cluster > > archeticture | > >| :align: bottom | :align: > > bottom | > > >| | > >|Super computer archeticture |Cluster > > archticture | > > > +----------------------------------------+-----------------------------------+ > > > > > but it gives: > > > /home/boris/pst/wordy/edu/HighestProgramming/00_-_intro.rst:484: ERROR: > > Error in "image" directive: "bottom" is not a valid value for the > "align" > > option. Valid values for "align" are: "left", "center", "right". > > /home/boris/pst/wordy/edu/HighestProgramming/00_-_intro.rst:484: ERROR: > > Error in "image" directive: "bottom" is not a valid value for the > "align" > > option. Valid values for "align" are: "left", "center", "right". > > You still use block-level images. > > >> which means you need to define your images as inline, > > *outside of the table*, via a substitution definition > > http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#substitution-definitions > > e.g. > > >> .. |left-image| > >> .. image:: _static/SuperCompArch.jpg > >> :width: 80% > >> :alt: Supercomputer archeticture > >> :align: bottom > > >> and use the tag(s) in the table > > >> =================== ================ > >> |left-image| |right-image| > > >> left caption right caption > >> =================== ================ > > (this is a simple table syntax, the | are not table lines but > mark substitutions). > > Günter > > -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To view this discussion on the web visit https://groups.google.com/d/msg/sphinx-dev/-/Wg00TPdwYscJ. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.