From: Eduardo Bohoyo via ntg-context <ntg-context@ntg.nl>
To: Max Chernoff <mseven@telus.net>, ntg-context@ntg.nl
Cc: Eduardo Bohoyo <ebohoyod@disroot.org>
Subject: Re: lua-widow-control module error in LMTX
Date: Fri, 29 Apr 2022 14:20:49 +0200 [thread overview]
Message-ID: <bb9ceff2-5c7e-3599-7c89-2c1d7ec1b843@disroot.org> (raw)
In-Reply-To: <c4552844-b213-fcb9-d59d-26fb59aad916@telus.net>
Now, I don't have any widows in my document, and I only count 2 broken
hyphens.
However, I think this is at the expense of the shenanigans the module
has "perpetrated" elsewhere, because, apart from the crazy horizontal
spacing of some paragraph in the bibliography, the module lies to me in
the log.
Yes, the log output fools me. There is no "Widow/Orphan NOT removed".
But this is not true:
To the 2 broken hyphens must be added 4 orphan lines that the log claims
to have resolved. But what worries me the most is that it counts as
successful one occasion with an empty line, another occasion with two
empty lines in a row, and 4 occasions with no less than 7 empty lines in
a row at the beginning of a chapter.
I don't know if this information can provide any more clues to adjust
the module for the grid mode, but I hope it helps.
Greetings,
Edu.
El 29/4/22 a las 2:38, Max Chernoff escribió:
> On 2022-04-28 3:30 a.m., Henning Hraban Ramm wrote:
>> I’m afraid the above release introduced a bug; while the offical
>> release ran through, I now get:
>>
>> module > lua-widow-control > Widow/orphan detected.
>> Attempting to remove.
>> lua error > lua error on line 112 in file de/c_intro.tex:
>>
>> callback error:
>> ...local/tex/luatex/lua-widow-control/lua-widow-control.lua:510:
>> attempt to perform arithmetic on a nil value (field 'height')
>> stack traceback:
>> ...local/tex/luatex/lua-widow-control/lua-widow-control.lua:510:
>> in function
>> <...local/tex/luatex/lua-widow-control/lua-widow-control.lua:360>
>
> On 2022-04-28 4:54 a.m., Eduardo Bohoyo wrote:
>> Here testing that beta version.
>>
>> As you know, my book is in grid mode, but I get the same error
>> message as Hraban when the compilation crashes.
>>
>> However, when I comment grid again in my document, it does compile
>> the pdf.
>
> Well that's why it was a beta :) Looks like I made some questionable
> assumptions
> about the order of the hlist/baselineskip nodes, so the module
> completely broke
> with things as simple as section headings.
>
> Hopefully this new beta should fix things:
>
> https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-5e240b2ebb76f33c32ecbc673af09a1c64773033
>
> Grid snapping is a little peculiar, so let me know if you find any
> more bugs.
>
> And thanks for the bug reports.
> -- Max
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2022-04-29 12:20 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-21 20:08 Eduardo Bohoyo via ntg-context
2022-04-21 20:09 ` Eduardo Bohoyo via ntg-context
2022-05-14 7:58 ` Max Chernoff via ntg-context
2022-04-25 20:00 ` Max Chernoff via ntg-context
2022-04-26 0:51 ` Eduardo Bohoyo via ntg-context
2022-04-26 2:42 ` Max Chernoff via ntg-context
2022-04-26 9:45 ` Eduardo Bohoyo via ntg-context
2022-04-26 9:49 ` Eduardo Bohoyo via ntg-context
2022-04-27 7:14 ` Max Chernoff via ntg-context
[not found] ` <fff1ae26-4094-1f46-48aa-e0d44ae92daa@disroot.org>
2022-04-27 22:02 ` Fwd: " Eduardo Bohoyo via ntg-context
2022-04-28 7:25 ` Max Chernoff via ntg-context
2022-04-28 9:30 ` Henning Hraban Ramm via ntg-context
2022-04-29 0:38 ` Max Chernoff via ntg-context
2022-04-29 12:20 ` Eduardo Bohoyo via ntg-context [this message]
2022-04-28 10:54 ` Eduardo Bohoyo via ntg-context
2022-04-28 11:43 ` Henning Hraban Ramm via ntg-context
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bb9ceff2-5c7e-3599-7c89-2c1d7ec1b843@disroot.org \
--to=ntg-context@ntg.nl \
--cc=ebohoyod@disroot.org \
--cc=mseven@telus.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).