Closed pr-apes closed 1 year ago
There is no interpretation of %VARIABLES% or $VAR or ~/ or so from within speedata.
You might be able to configure pathrewrite in the configuration file (https://doc.speedata.de/publisher/en/configuration/). Perhaps this works:
pathrewrite=%USERPROFILE%=C:\Users\myname\wherever
in the publisher.cfg.
This wouldn't help in my case, because each user should do the same (and this might be too complex for some of them).
@pgundlach,
I have the following layout:
Invoking it with
sp --dummy -v pdfdoc=%USERPROFILE%\Desktop\a.pdf
, the first image is resolved and the second one is not.Is there no way to get Windows variables working when included in layout?
This is a minimal example, but my usage is reading from
data.xml
(which has been converted from a CSV file).BTW, I cannot check it, but I wonder whether this would be the same as
~/
and$HOME/
in Unix.Many thanks for your help.