Is it possible to prevent text reflow? #6272
-
DescriptionWhen exporting to Latex (at least), is it possible to prevent the reflow of text? I am trying to ensure that a latex template generated with Quarto remains as identical as possible to the journal's provided template but it really does not help not being able to control how lines are broken... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
If you are using a template (LaTeX?) as base, why not use that directly? |
Beta Was this translation helpful? Give feedback.
-
This sounds like line wrapping, which can be influenced by the text editor itself – e.g. for the visual editor here So I guess the question is what is your source document and what is being done to it? (your screenshot shows two latex files, so I'm not sure where quarto enters the picture) |
Beta Was this translation helpful? Give feedback.
@rgaiacs Thank you for understanding my issue here. Your solution was 99% what I needed to know. Then I found this issue: jgm/pandoc#2617, and the two pieces of information led me in the right direction!
So, now, for others that might be reading this discussion and that also want to go from qmd -> tex and that do not want quarto/pandoc reflowing the text, use the option:
And it works in my
_extension.yml
too, which is great!https://github.com/ramiromagno/wiley-njd/blob/25c9d234d852e5f0459c9eeaafb9dc7119a81c1b/_extensions/wiley-njd/_extension.yml#L30