when using relative pdf path in gist args, use relative path in generated html