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

Pdf rendering does not work for conditional or optional variables #392

Closed
jeromesimeon opened this issue May 1, 2021 · 0 comments · Fixed by #393
Closed

Pdf rendering does not work for conditional or optional variables #392

jeromesimeon opened this issue May 1, 2021 · 0 comments · Fixed by #393

Comments

@jeromesimeon
Copy link
Member

Bug Report 🐛

Expected Behavior

Properly generates pdf with optional variable content.

Current Behavior

Optional or conditional content does not appear in the pdf.

Possible Solution

Creates a stack object in pdfmake format which pdfmake ignores.

Steps to Reproduce

Go to the latedeliveryandpenalty clause.

Use the markdown transform to parse the clause text and render it to pdf:

markus transform --from markdown_cicero --via data --to pdf --input text/sample.md --template text/grammar.tem.md --model model/clause.cto --contract --output out.pdf

The generated output does not show the except for Force Majeure cases, part.

out.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant