-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Line disappears #479
Comments
Manually ending every line with a stretchable glue is not a good way to achieve left justification. That's part of what's throwing you off here. You should either use the Likewise if you want space at the start of a line you should probably be setting |
I messed around with this a little bit. The actual bug here can be boiled down to just this code: \begin{document}
\raggedright{
Line 1\break
\break
Line 2
}
\end{document} Using break on an otherwise blank like eats the next line. That should probably be fixed. That being said, I suspect you're really looking for a different tool. The Additional notes on your code...it's best not to include extra whitespace such as indenting the |
In his specific case it's a special sort of paragraph where line breaks and initial indents on each line are to be respected. It's what the definition asks for, so it's what has to be done to be compliant, so just setting it to raggedright would do totally the wrong thing, because it leaves control of line breaks to sile. |
Sadly, I am sort of convinced that sile is just too buggy for real use at this point, and tables seem to just not work, so I may have to freeze my project for a while. |
Sounds like what you want is verbatim. But sure, with tables not working this might not be the right project for you at this time. |
Yes, a lot like verbatim, except that it's not monospaced and there are some minor corner cases. |
First, let's go for a simpler MWE:
Current output consists in "Line1" paragraphs only = every thing else including "Line2" disappeared. The code responsible for that disappearance is here: Line 730 in 5bc372a
It this form, it can be traced back to ad4addc from Feb 21, 2014 (< SILE 0.9.0), or possibly even earlier, but at least that commit shows a removed comment that might have explained what was intended here:
Whatever it was supposed to do, it doesn't lead to the expected result, so indeed this is a bug. Removing that line leads to, in each case:
|
Reverts a part of sile-typesetter#1751 now that we fixed the root cause sile-typesetter#479
Reverts a part of sile-typesetter#1751 now that we fixed the root cause sile-typesetter#479
If you uncomment the commented line, the line saying "Blank lines are permitted internally" disappears from the output PDF.
The text was updated successfully, but these errors were encountered: