On 2011-01-25, Curiouslearn wrote: > Hi, > I am using version 1.0.7 of Sphinx. I entered the following code at > the top of my index.rst file:
> .. image:: _static/dataimage.pdf > :height: 100px > :width: 200px > :align: bottom > The image does not show up. I get an error saying, > (ERROR/3) Error in "image" directive: "bottom" is not a valid value > for the "align" option. Valid values for "align" are: "left", > "center", "right". > The information on docutils website > (http://docutils.sourceforge.net/docs/ref/rst/directives.html#image) > says that "bottom" is a valid option. Is this a restriction in Sphinx > or is this a bug? It is a restriction in Docutils: bottom and top alignment is only valid in in-line images (the ones you get via |substitution|). > If it is a restriction, is there another way I can get the title of > the index.rst file to align with the bottom of the image. CSS styling. Günter -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. 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.