I am using deplate to compile a bunch of viki files into pdfs. In general this works fine. Except that links to other viki pages/files don't work, since they are linked to the tex file, not the other pdf files. Is there a good way of solving this?
In the current version on github, the suffix variable is used to determine the actual suffix of the referenced file. Please let me know if this causes any problems.
I'd advocate introducing a new variable -link_suffix or something or making the -pdf switch use that suffix automatically for all links. This seems a cleaner solution than setting the suffix of the tex file to pdf, which can confuse a lot of software when you try to open the tex file. Or means you lose/overwrite your source latex file, when compiling, which might still be needed.
I was referring to the "suffix" variable. A source file could look like:
If I'm not mistaken, the suffix variable is currently only used for finding out the destination of a wiki link. This is something different than the -suffix command-line switch that sets the suffix of the output file.
The -pdf command-line switch now sets the value of the suffix variable to "pdf".
Ah, thanks for the explanation!