ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: ntg-context Digest, Vol 205, Issue 1 // log: use \thinspace instead of \,
       [not found] <mailman.301.1625101378.1143.ntg-context@ntg.nl>
@ 2021-07-21  9:04 ` Rudd, Kevin
  2021-07-21  9:48   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Rudd, Kevin @ 2021-07-21  9:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Rudd, Kevin


[-- Attachment #1.1: Type: text/plain, Size: 2418 bytes --]

Revisiting this one---as noted in the thread \, used to work in text mode;
according to the logs it was deprecated and now produces an error
preventing most of my documents from compiling.

Is there solution that restores \, (and friends) for abbreviated spacing in text mode
that doesn't require bulk changes to all of my documents
(and making the source documents hard to type/read)?
I appreciate using the more verbose \thinspace in macros
but the abbreviations have real value in bulk text,
especially when heavily used.

I have many uses throughout my documents where I need a thin space
(such as working with SI units) where it would be very awkward
to use \thinspace everywhere in the source text.

for example, consider a simple example that used to work but no longer does
with the alternatives that I'm aware of:

    32\,MiB--64\,MiB

    32$\,$MiB--64$\,$MiB
    32\thinspace MiB--64\thinspace MiB

The difference in both writeability and readability for these cases is significant,
especially when there are many uses close together in either text or table.

Thanks,
 ---K

Re: log: use \thinspace instead of \,

On 6/30/2021 10:57 PM, Wolfgang Schuster wrote:
Alan Braslau schrieb am 29.06.2021 um 17:40:
On Tue, 29 Jun 2021 14:06:02 +0200
Henning Hraban Ramm <texml@fiee.net<mailto:texml@fiee.net>> wrote:

Maybe, but in running text I use \, all the time e.\,g. in
abbreviations or for numbers (10\,000). At least in German typography
these “spatiums” are necessary.
In French typography as well.

Indeed,
American: 10,000.00
French:   10\,000,00
(and other languages).

This is quite readable, and much preferred to the use of any kind of
macro that might format numbers according to language.

I find that students often need such helpers when deciphering many
digits.

Let's not forget all of these spaces commands are used in math mode.
Sure, and thet adaot to math mode. They will nto dissppear, it's just
that in macros I like more verbose names.

Hans

Kevin W. Rudd, Ph.D.
CAPT, USN (Ret)

Computer Architecture & Computer Engineering
Advanced Computing Systems (ACS) Research Program
Laboratory for Physical Sciences (LPS)

443-654-7878
kevin@lps.umd.edu<mailto:kevin@lps.umd.edu>

Visiting Research Professor
United States Naval Academy

rudd@usna.edu<mailto:rudd@usna.edu>
--------------------------------------


[-- Attachment #1.2: Type: text/html, Size: 5473 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ntg-context Digest, Vol 205, Issue 1 // log: use \thinspace instead of \,
  2021-07-21  9:04 ` ntg-context Digest, Vol 205, Issue 1 // log: use \thinspace instead of \, Rudd, Kevin
@ 2021-07-21  9:48   ` Hans Hagen
  2021-07-21 10:01     ` Rudd, Kevin
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2021-07-21  9:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Rudd, Kevin

On 7/21/2021 11:04 AM, Rudd, Kevin wrote:
> Revisiting this one---as noted in the thread \, used to work in text mode;
> according to the logs it was deprecated and now produces an error
> preventing most of my documents from compiling.
> 
> Is there solution that restores \, (and friends) for abbreviated spacing 
> in text mode
> that doesn't require bulk changes to all of my documents
> (and making the source documents hard to type/read)?
> I appreciate using the more verbose \thinspace in macros
> but the abbreviations have real value in bulk text,
> especially when heavily used.
> 
> I have many uses throughout my documents where I need a thin space
> (such as working with SI units) where it would be very awkward
> to use \thinspace everywhere in the source text.
> 
> for example, consider a simple example that used to work but no longer does
> with the alternatives that I'm aware of:
> 
>      32\,MiB--64\,MiB
> 
>      32$\,$MiB--64$\,$MiB
>      32\thinspace MiB--64\thinspace MiB
> 
> The difference in both writeability and readability for these cases is 
> significant
afaikt

\starttext
     test\,test
\stoptext

just works (\unit {32 mebibyte}--\unit {64 mebibyte} also works)

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ntg-context Digest, Vol 205, Issue 1 // log: use \thinspace instead of \,
  2021-07-21  9:48   ` Hans Hagen
@ 2021-07-21 10:01     ` Rudd, Kevin
  0 siblings, 0 replies; 3+ messages in thread
From: Rudd, Kevin @ 2021-07-21 10:01 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2279 bytes --]

Argh; mea culpa. Thanks for the very quick reply, Hans. It does work "as expected" (albeit deprecated)---Tracking down errors, I was misled by an error immediately following the deprecation warning and associated it with the warning, not the subsequent text.

Thanks,
 ---K

Kevin W. Rudd, Ph.D.
CAPT, USN (Ret)

Computer Architecture & Computer Engineering
Advanced Computing Systems (ACS) Research Program
Laboratory for Physical Sciences (LPS)

443-654-7878
kevin@lps.umd.edu<mailto:kevin@lps.umd.edu>

Visiting Research Professor
United States Naval Academy

rudd@usna.edu<mailto:rudd@usna.edu>


On Jul 21, 2021, at 05:48, Hans Hagen <j.hagen@xs4all.nl<mailto:j.hagen@xs4all.nl>> wrote:

On 7/21/2021 11:04 AM, Rudd, Kevin wrote:
Revisiting this one---as noted in the thread \, used to work in text mode;
according to the logs it was deprecated and now produces an error
preventing most of my documents from compiling.
Is there solution that restores \, (and friends) for abbreviated spacing in text mode
that doesn't require bulk changes to all of my documents
(and making the source documents hard to type/read)?
I appreciate using the more verbose \thinspace in macros
but the abbreviations have real value in bulk text,
especially when heavily used.
I have many uses throughout my documents where I need a thin space
(such as working with SI units) where it would be very awkward
to use \thinspace everywhere in the source text.
for example, consider a simple example that used to work but no longer does
with the alternatives that I'm aware of:
    32\,MiB--64\,MiB
    32$\,$MiB--64$\,$MiB
    32\thinspace MiB--64\thinspace MiB
The difference in both writeability and readability for these cases is significant
afaikt

\starttext
   test\,test
\stoptext

just works (\unit {32 mebibyte}--\unit {64 mebibyte} also works)

Hans


-----------------------------------------------------------------
                                         Hans Hagen | PRAGMA ADE
             Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | www.pragma-ade.nl<http://www.pragma-ade.nl> | www.pragma-pod.nl<http://www.pragma-pod.nl>
-----------------------------------------------------------------


[-- Attachment #1.2: Type: text/html, Size: 5138 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-21 10:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.301.1625101378.1143.ntg-context@ntg.nl>
2021-07-21  9:04 ` ntg-context Digest, Vol 205, Issue 1 // log: use \thinspace instead of \, Rudd, Kevin
2021-07-21  9:48   ` Hans Hagen
2021-07-21 10:01     ` Rudd, Kevin

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).