...are invisible in the output (as expected), but produce a newline. This leads to inconsistent formating and is very likely not the way this was meant to work.
To Reproduce
Steps to reproduce the behavior:
Create a scene Header
Write ten lines of [[ foo ]]
Write some normal scene text
Convert to pdf via wrap pdf -p --use-courier-prime {infile} -o {outfile}
Notes shouldn't produce newlines if they are not visible
Screenshots
Resulting PDF looks like this ↓
↑ These newlines are gone if you remove the lines with [[foo]] and correspond to the number of notes
Version
Wrap: v0.2.3
OS: Ubuntu 18.04
Additional Info
A quickfix for me is to preprocess the fountain and remove all lines that only contain a note, but it would be better to have it fixed in wrap.
Edit: Here is what I used:
wrap pdf -p --use-courier-prime <(sed -n '/^\[\[.*\]\]$/!p' ./script.fountain) -o script.pdf
Notes on their own line...
...are invisible in the output (as expected), but produce a newline. This leads to inconsistent formating and is very likely not the way this was meant to work.
To Reproduce
Steps to reproduce the behavior:
[[ foo ]]
wrap pdf -p --use-courier-prime {infile} -o {outfile}
Expected behavior
Notes shouldn't produce newlines if they are not visible
Screenshots
Resulting PDF looks like this ↓ ↑ These newlines are gone if you remove the lines with
[[foo]]
and correspond to the number of notesVersion
Additional Info A quickfix for me is to preprocess the fountain and remove all lines that only contain a note, but it would be better to have it fixed in wrap. Edit: Here is what I used: