Transform poetry code blocks to block quotes
Closed this issue · 9 comments
Initially just get content rendering, eventually fix the indentation and spacing.
Follow up to #239 question:
Approving since I need to edit LBF22 this morning. However there is a lot I don't understand. Will we be needing to revert the poetry in PP to
>
? Will this allow for nested lines?
Check with Kenton about how this will work in InDesign.
@kenton-r We have poetry in some of the books that is nested right now:
translate/th/PP/PP5/01_raw/PP70_th.md
Lines 235 to 250 in 6e9e2ad
If we convert this to markdown blockquotes (>
) how should we handle the nested lines so that we can process it correctly in InDesign? Markdown supports nested blockquotes (e.g., > > whatever...
), but would having a style like ParagraphStyle/Blockquote > Blockquote > Paragraph
even work in InDesign?
@kenton-r I've generated an ICML with nested blockquotes. When you get a chance can you try it and make sure this type of nested styles will work in InDesign to reproduce the hierarchy present in the source? The deepest nesting is toward the end of the chapter.
Here is further work on the InDesign template that has nested block quotes and small version references to save space.
There are a few lines that are longer than the force break points. They are wrapped to the same margin as the initial indent with a balance option the InDesign has.
There is a "^" that proceeds a number 1 on page 7 and a missing block quote on page 8.
We also need to decide what Heading tag the chapter numbers are going to be. Before it was that subheads were Header2 and the chapter number was Header3. However this chapter for PP has subheads as Header3 and Chapter numbers also as Header3.
Template_1a_PP.pdf
@kenton-r Thanks for the update! The ^1
on page 7 is a footnote that wasn't getting processed correctly. I've fixed the missing blockquote on page 8. Here is a new ICML with those fixes:
Are we good to move forward using this structure for the nested poetry blocks?
@bountonw We need Brian's feedback on the balanced lines for lines that are too long and the leaving them at the same indent level.
Sometime the wrapped line would also be indented slightly or the the next level.
I am working on the footnote
We should be finished with editing sometime Wednesday.
This is an updated file with the footnote.
Template_1b_PP.pdf