Hi, I'm afraid this is hardcoded in therion's c++ code which generates auxiliary tex files. As a workaround, you could perhaps add \formattedlegend at the beginning of the \insertmaps macro. (You would get the legend twice: before and after the maps.) M. On Thu, Jun 17, 2021 at 11:52 AM Philippe Vernant <phil.vernant@gmail.com> wrote:
Hi Martin,
Thanks, that helped me a lot, I now have the image on each page of the atlas. I have also been able to find the \def\atlastitlepages in the therion.tex file and modify it to get the title and the survey team etc. on the same page. But the TeX learning curve is steep and I cannot find a way to have the legend with the symbol on the same first page rather than at the end of the atlas. Any clue on which part I should play with to have the legend before the maps ?
Thanks, Phil
On 16 Jun 2021, at 21:35, Martin Budaj <m.budaj@gmail.com> wrote:
Hi,
you need to use
\hbox to 0pt{\hss\the\topoteam\qquad}
In your example you assign a new value "Name" to \topoteam, as \topoteam{Name} is equivalent to \topoteam={Name}. In addition, \the is needed to display the value of this register.
M.
On Wed, Jun 16, 2021 at 12:02 AM Philippe Vernant <phil.vernant@gmail.com> wrote:
Thanks Martin it works like a charm. I have the 5.5.7 thbook but there was nothing on \loadpicture.
Trying to add a few things, I added the following line in your block : \hbox to 0pt{\hss\topoteam{Name}\qquad}
But I don’t see “Name” on the atlas pages, what am I missing?
Phil
On 15 Jun 2021, at 17:44, Martin Budaj <m.budaj@gmail.com> wrote:
Hi,
you can e.g. modify this part of the macro:
\vbox to \ht\navbox{ \ifnortharrow\hbox to 0pt{\hss\northarrow\qquad}\fi \vss \ifscalebar\hbox to 0pt{\hss\scalebar\qquad}\fi }
to
\vbox to \ht\navbox{ \ifnortharrow\hbox to 0pt{\hss\northarrow\qquad}\fi \vss \ifscalebar\hbox to 0pt{\hss\scalebar\qquad}\fi \vss \hbox to 0pt{\hss\loadpicture{picture.pdf}\qquad} }
which will put the picture.pdf below the scale bar. Currently \loadpicture doesn't support scaling images, so you need to prepare it in the right size beforehand.
You also need to use a development version of therion if you want to use relative paths to pictures. See also the description of \loadpicture in https://therion.speleo.sk/downloads/thbook.pdf, page 73.
Cheers Martin
On Tue, Jun 15, 2021 at 2:59 PM Philippe Vernant <phil.vernant@gmail.com> wrote:
Hi Martin,
I’ve tried, but could not figure it out where I should add a command in the “dopage” macro and which command I should add to include a figure. Any example that I could work on an modify would be greatly appreciated.
Thanks, Phil
On 12 Jun 2021, at 19:39, Martin Budaj <m.budaj@gmail.com> wrote:
Hi, you need to redefine the '\dopage' macro; check the pages 70 and 71 in the thbook. Let me know if more specific advice is needed. M.
On Fri, Jun 11, 2021 at 3:27 PM Philippe Vernant <phil.vernant@gmail.com> wrote:
Hi,
I tried several lines of code, but couldn’t success in adding a creative common image on each page of an atlas. I guess this is possible and I’m just too bad at metapost code to be successful. Has anyone a recipe to make it work ? I’ve managed to make it on a map, but not on an atlas.
Thanks, Phil
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion