Skip to content

PDF Generation The prefix "fo" for element "fo:block" is not bound. #244

Answered by jenshalm
loathwine asked this question in Q&A
Discussion options

You must be logged in to vote

For parsing you are using a pure parser without theme support, for rendering you are using the effectful renderers. This way the default FO template does not get applied (older versions had a fallback and therefore still worked in that case). but theme support (introduced in 0.16 and containing all default templates) is not part of the pure base parsers/renderers).

You can fix this either by using a transformer instead of a separate parser and renderer or by using an IO-based parser, too (MarkupParser.of(Markdown).io(blocker).sequential[Task]).

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@loathwine
Comment options

@jenshalm
Comment options

@loathwine
Comment options

@jenshalm
Comment options

@loathwine
Comment options

Answer selected by loathwine
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #243 on December 03, 2021 12:22.