[Qgis-community-team] enumeration for figures

Otto Dassau dassau at gbd-consult.de
Mon Oct 15 08:57:16 PDT 2012


Hi Diethard and Larissa,

the solution for html and pdf figures works well I think. It is of course
again some work to adapt it, but I would suggest we change it.

Regards
Otto

Am Tue, 9 Oct 2012 23:02:29 +0200
schrieb Diethard Jansen <diethard.jansen at gmail.com>:

> Hi,
> 
> There is a directive for conditional output!
> 
> .. only:: html
> 
>    This text will only be printed in HTML not in PDF!!
> 
> We can use this as follows:
> 
> .. only:: html
> 
>    Figure Subject 1
> 
> .. _figure_subject_1
> 
> .. figure:: /static/user_manual/subject/a_figure.png
>    :align: center
>    :width: 30em
> 
>    This is the caption of a figure (not preceded anymore with
>    Figure Subject 1:)
> 
> I am pretty sure this is a working solution but also a lot of work to
> change!
> 
> I think I just have managed to finish putting all figures & icons back in
> the manual since the reconstruction of the manual which took place in
> Essen.
> 
> Regards, Diethard Jansen
> 
> 2012/10/9 Larissa Junek <junek at gbd-consult.de>
> 
> > Hello Richard and all,
> >
> > I had a look a the build now and found a new issue.
> > Working on the pathes for the images I saw that the scripts create a
> > pdf with automatic numeration not only for the headlines but also for
> > the images. Now we have a doubled caption in there, e.g.:
> >
> >  Figure 23.1: Figure Attributes 2: Field Calculator
> >
> > Figure Attributes 2 is the caption we inserted manually in the
> > rst-files, Figure 23.1. is created automatically.
> >
> > The problem is that we need the manually created caption for the html
> > where until now there's no enumeration neither for the headlines nor
> > for the images.
> > Will it be the best to use only a caption without a numeration for the
> > images? Or will there be another solution? This way we don't have a
> > numeration for the figures in html.
> >
> > Kind regards,
> > Larissa



More information about the Qgis-community-team mailing list