[Therion] Adding a creative common image to each page of an atlas

Philippe Vernant phil.vernant at gmail.com
Wed Jun 16 00:02:31 CEST 2021


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 at 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 at 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 at 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 at 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 at speleo.sk
>>> https://mailman.speleo.sk/listinfo/therion
>> 
>> _______________________________________________
>> Therion mailing list
>> Therion at speleo.sk
>> https://mailman.speleo.sk/listinfo/therion
>> 
>> 
>> _______________________________________________
>> Therion mailing list
>> Therion at speleo.sk
>> https://mailman.speleo.sk/listinfo/therion
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion



More information about the Therion mailing list