ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henry House via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Henry House <hajhouse@hajhouse.org>
Subject: Sentence breaks for "English-style" (TeX default in English language) spacing regime
Date: Fri, 3 Feb 2023 10:11:42 -0800	[thread overview]
Message-ID: <Y91OXhVEzLOrWYZZ@debian-BULLSEYE-live-builder-AMD64> (raw)

List: What method should one use to code whitespace after a period as
being sentence-ending, not midsentence, when not employing French
spacing? For example, if one writes

"... John Doe, PhD.  Next sentence x y z ... ."

the space in "PhD.  Next".

In LaTeX, we have "\@. " (code whitespace following puctuation mark as
sentence-separating length) and "\ " (code space as intrasentence
length) to adjust the magical behavior of ASCII spaces. By
experimentation I have found that "Prof.\ Smith" works as expected in
ConTeXt but "PhD\@. Next sentence ..." is a nonexistent control code.

        Prof. Smith % heuristic thinks that the period ends a sentence --- wrong typesetting behavior
        Prof.\ Smith % coded as space after abbreviation not sentence-separating space --- correct typesetting behavior under English spacing regime

versus:

        PhD\@. Next sentence % Official LaTeX method, nonexistent control

References:

https://wiki.contextgarden.net/French_spacing Not helpful alas.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2023-02-03 18:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-03 18:11 Henry House via ntg-context [this message]
2023-02-04  9:10 ` Pablo Rodriguez via ntg-context
2023-02-05 12:44   ` Hans Hagen via ntg-context
2023-02-14 17:57     ` Pablo Rodriguez 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=Y91OXhVEzLOrWYZZ@debian-BULLSEYE-live-builder-AMD64 \
    --to=ntg-context@ntg.nl \
    --cc=hajhouse@hajhouse.org \
    /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).