Skip to content
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

failed to replace variable 'A' with value 'B' in the document. #425

Closed
triffid opened this issue Nov 30, 2017 · 2 comments
Closed

failed to replace variable 'A' with value 'B' in the document. #425

triffid opened this issue Nov 30, 2017 · 2 comments

Comments

@triffid
Copy link

triffid commented Nov 30, 2017

I'm trying to use unoconv to autogenerate PDFs from a template odf with a couple of variables, but it keeps complaining that it can't replace the variables when I pass the desired value with -F.

eg:

$ unoconv -f pdf -F INVOICE_NUMBER="4" -o test.pdf template.odt
unoconv: failed to replace variable 'INVOICE_NUMBER' with value '4' in the document.

and the pdf is generated whatever value was entered for the user variable in the document.

This feature would be extremely useful, but I can't get it to work, and can't find any information about why it might not be working!

@belegnar
Copy link
Contributor

belegnar commented Dec 2, 2017

Look here
#426

@triffid
Copy link
Author

triffid commented Dec 3, 2017

#426 solves it for me, thanks @belegnar

@triffid triffid closed this as completed Dec 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants