[NTG-context] Bug in verbatim wrapping examples on wiki

2023-02-03 Thread Hugo Landau via ntg-context
On this page of the wiki there is an example for wrapping long words,
like long hexadecimal strings:

https://wiki.contextgarden.net/Wrapping

This example is buggy because it deletes one character at the point that
it is wrapped.

In the example given, running context turns '257a410' into '257410'.

The DNA example below it exhibits the same problem.

Anyone have a solution?
___
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
___


[NTG-context] Sentence breaks for "English-style" (TeX default in English language) spacing regime

2023-02-03 Thread Henry House via ntg-context
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
___