-
Notifications
You must be signed in to change notification settings - Fork 963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to use custom pdf as page background #166
Comments
same here |
Please provide the source files and the complete command that you used to render your document. |
Same here...But My problem was special character in the file name. When I remove it worked like a sharm. |
For me it was underscore |
Although the following markdown compiles fine on my machine, it is generally a good idea to avoid special characters in filenames. ## With `-`
![](./image-file.pdf){ width=10cm }
## With `_`
![](./image_file.pdf){ width=10cm }
## With `.`
![](./image.file.pdf){ width=10cm }
## With ` `
![](./image file.pdf){ width=10cm }
## With ` ` (URL encoded)
![](./image%20file.pdf){ width=10cm }
## With `%`
![](./image%25file.pdf){ width=10cm }
## With `{`
![](./image{file.pdf){ width=10cm }
## With `ä`
![](./imäge-file.pdf){ width=10cm } There was a recent problem with The following Markdown would not compile, so I would advise against using extra dots ![This is an image.](./image.file.pdf) |
I totally overlooked that you are applying a custom page background. Your issue is a known problem. Please apply the fix mentioned in this issue #100. You can also replace the underscore in your filename with a hyphen ( |
The page background is working just fine using the example pdf's provided.
When I try to use a custom PDF it fails with the following error:
Tried searching here and in pandoc documentation but couldn't find the problem. It seems to happen when generating the pdf using latex.
Any idea what could be wrong on my pdf?
The text was updated successfully, but these errors were encountered: