Re: @value fails with @image for pdf output

2020-11-15 Thread Hilaire Fernandes
You can have both pdf and png files with the same filename in the same 
folder. For example img1.png and img1.pdf.


The pdf one will be pick up first for PDF output and png for html output.

That way you just use one command for both.

Hilaire

Le 15/11/2020 à 19:29, Christopher Dimech a écrit :

Please note that the following code fails for pdf output, but works
for html if I put dirhtml at the correct relative path to index.html

@set dir-pdf ../Ideogr/Ch03b--Chmed
@image{@value{dir-pdf}/igc03--01--Sicl--CircAmRg.png}

@set dir-html ../../Ideogr/Ch03b--Chmed
@image{@value{dir-html}/igc03--01--Sicl--CircAmRgpng}



--
GNU Dr. Geo
http://drgeo.eu
https://pouet.chapril.org/@hilaire




@value fails with @image for pdf output

2020-11-15 Thread Christopher Dimech
Please note that the following code fails for pdf output, but works
for html if I put dirhtml at the correct relative path to index.html

@set dir-pdf ../Ideogr/Ch03b--Chmed
@image{@value{dir-pdf}/igc03--01--Sicl--CircAmRg.png}

@set dir-html ../../Ideogr/Ch03b--Chmed
@image{@value{dir-html}/igc03--01--Sicl--CircAmRgpng}