From: Rik Kabel <ConTeXt@rik.users.panix.com>
To: Hans Hagen <j.hagen@xs4all.nl>,
mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: LMTX, BIdi, full paragraph, and spurious empty line
Date: Wed, 23 Jun 2021 19:44:57 -0400 [thread overview]
Message-ID: <d82ddc5c-07d5-638b-cd9a-ba9ecd669202@rik.users.panix.com> (raw)
In-Reply-To: <03b8ac61-a94d-1603-57fe-7f14af64e0d8@xs4all.nl>
[-- Attachment #1.1: Type: text/plain, Size: 2865 bytes --]
On 6/23/2021 18:10, Hans Hagen wrote:
> On 6/22/2021 4:52 AM, Rik Kabel wrote:
>> [...]ome an alternative way to do that.)
> I'll send you a possible fix but it needs a bit of testing. It has to
> do with (probably spurious) spaces which means that the parbuilder
> then considers the dir node to be a reasoable breakpoint (well, kin
> dof okay as one gets what one asks for), but I'll be a bit more
> agressive in dealing with that.
>
> Hans
>
Thank you, Hans, for looking into this so soon.
I did try what you sent, but see no difference. I have eliminated the
changes to spaceskip as a cause and simplified the example, removing the
spaceskip and delimitedtext.
New example, in which I get a spurious line after the third and fourth
Walt Kelly entries:
%% Demonstration of spurious line insertion on full paragraph with bidi
\setupdirections [bidi=on,method=unicode]
\enabletrackers [typesetters.directions]
%\showmakeup [glue,dir]
\definepapersize [Testing]
[width=6.69in]
\setuppapersize [Testing]
\setuplayout [width=fit,
backspace=1.4in,
cutspace=1in,
leftmargin=0.65in,
rightmargin=0.65in]
\setupwhitespace [small]
\setupbodyfont [libertinus,11pt]
\startbuffer[Test]
Kelly, Cynthia C., ed. 2005. {\em Oppenheimer and the Manhattan
Project: Insights into J.~Robert Oppenheimer, ‘Father of the
Atomic Bomb’}. Singapore: World Scientific.
Kelly, Walt. 1953. {\em The Pogo Papers}. New York, NY Simon
& Schuster.
Kelly, Walt. 1953. {\em The Pogo Papers}. New York NY Simon
& Schuster.
Kelly, Walt. 1953. {\em The Pogo Papers}. New York, NY: Simon
& Schuster.
Kelly, Walt. 1953. {\em The Pogo Papers}. New York,, NY: Simon
& Schuster.
Kelly, Walt. 1953. {\em The Pogo Papers}. New York; NY Simon
& Schuster.
Kuhn, Thomas S. 1962. {\em The Structure of Scientific
Revolutions}. Chicago, IL: University of Chicago Press.
Weinreich, Max. 1945. “Der YIVO un di problemen fun undzer
tsayt (דער ייִוואָ און די פּראָבלעמען פֿון אונדזער צײַט).”
{\em YIVO Bleter} 25 (1): 3--18. The title is translated as
{\em The YIVO and the problems of our time}, and also as
{\em The YIVO faces the post-war world}.
\stopbuffer
\starttext
\getbuffer[Test]
\stoptext
--
Rik
[-- Attachment #1.2: Type: text/html, Size: 4200 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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:[~2021-06-23 23:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-22 2:52 Rik Kabel
2021-06-23 22:10 ` Hans Hagen
2021-06-23 23:44 ` Rik Kabel [this message]
2021-06-24 12:54 ` Rik Kabel
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=d82ddc5c-07d5-638b-cd9a-ba9ecd669202@rik.users.panix.com \
--to=context@rik.users.panix.com \
--cc=j.hagen@xs4all.nl \
--cc=ntg-context@ntg.nl \
/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).