[Qgis-community-team] enumeration for figures

Otto Dassau dassau at gbd-consult.de
Wed Oct 10 09:31:05 PDT 2012


Hi,

I restructured the manual a  bit more, added index files to subdirectories
of the manual. That makes the TOC appear much cleaner. I guess we are close
to the well structured TOC. With the new structure we maybe can skip the
conditional output.

@Diethard: I also think the figures now all work fine. I tested the html and
pdf and only found one figure for the new print_composer atlas feature
missing. Hugo added the link but without figure. So this should be fine now,
too. Thanks a lot!

@Paolo C: What do we need to do to remove qgis docs from RTD and build the
source regularly at documentation.qgis.org? 

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
> > _______________________________________________
> > Qgis-community-team mailing list
> > Qgis-community-team at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-community-team
> >


More information about the Qgis-community-team mailing list