Thanks. Incidentally I found that if I create a new subdir ...\source\_images
and put the images there than not only the warnings go away (for obvious reason since it finds the images at compile time now) but it also copies them to the, previously automatically created ...\build\html\_images So I wonder why the "source\_images" subdir is not automatically created from the start (it does create a _static and a _templates)? It would make things much clearer. Quarta-feira, 24 de Abril de 2013 21:09:04 UTC+1, TP escreveu: > > > On Wed, Apr 24, 2013 at 4:17 AM, J Luis <[email protected] <javascript:>>wrote: > >> Hi, >> >> So my doc directory structure has >> ...\source >> ...\source\_static >> ...\source\_templates >> >> and the HTML goes to >> ...\build\html >> that has >> ...\build\html\_images >> ...\build\html\_static >> >> So I declare my figures >> >> .. figure:: _images/fig_bla_bla.png >> >> which works for html if manually put the "fig_bla_bla.png" under >> ...\build\html\_images >> >> BUT: >> >> 1- It doesn't avoid the WARNING: image file not readable: >> _images/fig_bla_bla.png >> 2- It cannot work for formats that require finding the image at compile >> time (e.g. PDF) >> >> I've searched through the docs but found no reference whatsoever to this >> matter, as if it didn't even exist. >> What am I missing? How is it supposed to work and give NO (annoying) >> warnings. >> >> Thanks >> >> Joaquim >> > > > I normally put my images in what in your case would be \source\images and > then refer to the images by using images/fig_bla_bla.png. See [1] for > details. > > [1] http://sphinx-doc.org/rest.html#images > -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sphinx-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
