263 reputation
17
bio website
location
age
visits member for 3 years, 11 months
seen Jun 19 at 20:58

May
28
comment Greedy line breaks for 2 lines
I don't need automatic hyphenation in this example, I've inserted all hyphens I need manually.
May
11
comment error while running latex code with embedded python code
Try to compile it with latex -shell-escape pyinlt.tex
May
11
comment error while running latex code with embedded python code
Please post the contents of the pyinlt.log file.
Feb
22
awarded  Scholar
Feb
22
accepted How to detect overfull and underfull hbox without triggering the warning?
Feb
19
asked Greedy line breaks for 2 lines
Feb
19
comment How to detect overfull and underfull hbox without triggering the warning?
With a positive attitude everything is possible :-). Thanks for the \lastbox solution. Feel free to give a luatex solution, but most probably we'll go with \lastbox to reduce dependencies.
Feb
19
revised How to detect overfull and underfull hbox without triggering the warning?
added 396 characters in body
Feb
18
revised How to detect overfull and underfull hbox without triggering the warning?
added 83 characters in body
Feb
18
asked How to detect overfull and underfull hbox without triggering the warning?
Feb
18
comment Can I locally switch to a 'greedy' justification algorithm?
Thanks for the fix, it works!
Feb
18
awarded  Commentator
Feb
18
comment Can I locally switch to a 'greedy' justification algorithm?
Please note that pastebin.com/UNdSgJCa demonstrating the bug doesn't contain any words that need more than 1 line break, so there may be another bug in your code causing text to disappear in an unanticipated way.
Feb
18
comment Can I locally switch to a 'greedy' justification algorithm?
I need to gather more data on the success rate of normal line breaking (with a large \emergencystretch), to figure out how desperately we need an alternative. Please note that if we have an alternative, then we can try both, and keep the result without an overfull \hbox, or if neither has it, keep the result with fewer number of lines.
Feb
18
comment Can I locally switch to a 'greedy' justification algorithm?
There is some input which normal TeX linebreaking can't break without an overfull \hbox, but this code can. Our input is 100000 table cells generated from a database, and we can't afford to manually fix all the failed line breaks, and we need an automated solution. I don't know of anything other than your code.
Feb
18
comment Can I locally switch to a 'greedy' justification algorithm?
Yes, I was planning to use this code in production for typesetting narrow, multiline table cells if TeX's line breaking algorithm produces overfull or underfull boxes. A bugfix would be very useful for me. Without the bugfix I can't use it, dropping text is a no-go even with a warning.
Feb
18
comment Can I locally switch to a 'greedy' justification algorithm?
I think I've found a bug in this implementation of \linebylinepar: some text disappears, see it here: pastebin.com/UNdSgJCa
Feb
17
comment Can I locally switch to a 'greedy' justification algorithm?
Would it be possible to make every line as tight as possible?
Jan
21
awarded  Yearling
Oct
6
comment How to pass a macro as the argument to \selectlanguage
This doesn't answer the question (see the title).