ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* replacement of "\@." ?
@ 2009-05-14  1:51 Ryo Furue
  2009-05-14  4:05 ` Yue Wang
  2009-05-14  6:40 ` Wolfgang Schuster
  0 siblings, 2 replies; 11+ messages in thread
From: Ryo Furue @ 2009-05-14  1:51 UTC (permalink / raw)
  To: ntg-context

Hi ConTeXt users,

I'm wondering what's the ConTeXt version
of LaTeX's "\@."  (which indicates an end-of-sentence
period).  I can define

  \def\@{\spacefactor1000}

and use it, but if there is an official version
I'd like to know.

Regards,
Ryo
___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: replacement of "\@." ?
  2009-05-14  1:51 replacement of "\@." ? Ryo Furue
@ 2009-05-14  4:05 ` Yue Wang
  2009-05-14  6:23   ` Martin Schröder
  2009-05-14  7:04   ` Hans Hagen
  2009-05-14  6:40 ` Wolfgang Schuster
  1 sibling, 2 replies; 11+ messages in thread
From: Yue Wang @ 2009-05-14  4:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, May 14, 2009 at 9:51 AM, Ryo Furue <furue@hawaii.edu> wrote:
> Hi ConTeXt users,
>
> I'm wondering what's the ConTeXt version
> of LaTeX's "\@."  (which indicates an end-of-sentence
> period).  I can define
>
>  \def\@{\spacefactor1000}
>
> and use it, but if there is an official version
> I'd like to know.
>

I think in Professional typesetting, the same amount of space should
be left for all full stop/comma/whaever.
You'd better change TeX's default behavior.

> Regards,
> Ryo
> ___________________________________________________________________________________
> 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://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: replacement of "\@." ?
  2009-05-14  4:05 ` Yue Wang
@ 2009-05-14  6:23   ` Martin Schröder
  2009-05-14  7:04   ` Hans Hagen
  1 sibling, 0 replies; 11+ messages in thread
From: Martin Schröder @ 2009-05-14  6:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2009/5/14, Yue Wang <yuleopen@gmail.com>:
> I think in Professional typesetting, the same amount of space should
>  be left for all full stop/comma/whaever.

Not always: http://en.wikipedia.org/wiki/French_spacing

Best
   Martin
___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: replacement of "\@." ?
  2009-05-14  1:51 replacement of "\@." ? Ryo Furue
  2009-05-14  4:05 ` Yue Wang
@ 2009-05-14  6:40 ` Wolfgang Schuster
  2009-05-14 19:59   ` Ryo Furue
  1 sibling, 1 reply; 11+ messages in thread
From: Wolfgang Schuster @ 2009-05-14  6:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 14.05.2009 um 03:51 schrieb Ryo Furue:

> Hi ConTeXt users,
>
> I'm wondering what's the ConTeXt version
> of LaTeX's "\@."  (which indicates an end-of-sentence
> period).  I can define
>
>  \def\@{\spacefactor1000}
>
> and use it, but if there is an official version
> I'd like to know.

... USA.\ ...

Wolfgang

___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: replacement of "\@." ?
  2009-05-14  4:05 ` Yue Wang
  2009-05-14  6:23   ` Martin Schröder
@ 2009-05-14  7:04   ` Hans Hagen
  2009-05-14 12:06     ` Khaled Hosny
  2009-05-14 20:35     ` Peter Münster
  1 sibling, 2 replies; 11+ messages in thread
From: Hans Hagen @ 2009-05-14  7:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Yue Wang wrote:
> On Thu, May 14, 2009 at 9:51 AM, Ryo Furue <furue@hawaii.edu> wrote:
>> Hi ConTeXt users,
>>
>> I'm wondering what's the ConTeXt version
>> of LaTeX's "\@."  (which indicates an end-of-sentence
>> period).  I can define
>>
>>  \def\@{\spacefactor1000}
>>
>> and use it, but if there is an official version
>> I'd like to know.
>>
> 
> I think in Professional typesetting, the same amount of space should
> be left for all full stop/comma/whaever.
> You'd better change TeX's default behavior.

huh?

each language can has its own rules ... spacing after period or comma is 
one, but also think of quotes in quotations etc; and, the french have 
spacing before and after : ; . , (it has always been a selling point for 
tex to be able to deal with it)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: replacement of "\@." ?
  2009-05-14  7:04   ` Hans Hagen
@ 2009-05-14 12:06     ` Khaled Hosny
  2009-05-14 20:35     ` Peter Münster
  1 sibling, 0 replies; 11+ messages in thread
From: Khaled Hosny @ 2009-05-14 12:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Thu, May 14, 2009 at 09:04:51AM +0200, Hans Hagen wrote:
> Yue Wang wrote:
>> On Thu, May 14, 2009 at 9:51 AM, Ryo Furue <furue@hawaii.edu> wrote:
>>> Hi ConTeXt users,
>>>
>>> I'm wondering what's the ConTeXt version
>>> of LaTeX's "\@."  (which indicates an end-of-sentence
>>> period).  I can define
>>>
>>>  \def\@{\spacefactor1000}
>>>
>>> and use it, but if there is an official version
>>> I'd like to know.
>>>
>>
>> I think in Professional typesetting, the same amount of space should
>> be left for all full stop/comma/whaever.
>> You'd better change TeX's default behavior.
>
> huh?
>
> each language can has its own rules ... spacing after period or comma is  
> one, but also think of quotes in quotations etc; and, the french have  
> spacing before and after : ; . , (it has always been a selling point for  
> tex to be able to deal with it)

Not only French, it is also the case for traditional Arabic typesetting,
though people tend to follow the English rules these days.

Regards,
 Khaled


-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: replacement of "\@." ?
  2009-05-14  6:40 ` Wolfgang Schuster
@ 2009-05-14 19:59   ` Ryo Furue
  2009-05-14 20:31     ` Wolfgang Schuster
  0 siblings, 1 reply; 11+ messages in thread
From: Ryo Furue @ 2009-05-14 19:59 UTC (permalink / raw)
  To: ntg-context

| > I'm wondering what's the ConTeXt version
| > of LaTeX's "\@."  (which indicates an end-of-sentence
| > period).  I can define
| >
| >  \def\@{\spacefactor1000}
| >
| > and use it, but if there is an official version
| > I'd like to know.
| 
| ... USA.\ ...

Thanks, but that doesn't change the spacing, in my environment
at least.  (I use texlive-context on the testing distribution
of Debian.)

I think the command "\ " inserts an inter-word spacing,
not an inter-sentence spacing.  You can compare whether

   USA.\ This is another sentence

gives the same result as

   USA\spacefactor1000. This is another sentence

I know there is a typographic style where the inter-word
and inter-sentence spacings are the same.  But, by default,
ConTeXt uses a larger inter-sentence spacing than the
inter-word spacing.  In such a case, there has to be a means
to indicate an inter-sentence spacing when a sentence ends
with a capital letter and a period.

Regards,
Ryo
___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: replacement of "\@." ?
  2009-05-14 19:59   ` Ryo Furue
@ 2009-05-14 20:31     ` Wolfgang Schuster
  2009-05-15 20:11       ` Peter Münster
  0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Schuster @ 2009-05-14 20:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 14.05.2009 um 21:59 schrieb Ryo Furue:

> I know there is a typographic style where the inter-word
> and inter-sentence spacings are the same.  But, by default,
> ConTeXt uses a larger inter-sentence spacing than the
> inter-word spacing.  In such a case, there has to be a means
> to indicate an inter-sentence spacing when a sentence ends
> with a capital letter and a period.

The TeXbook suggest to use \null before the period,
e.g. "USA\null. This is another sentence" but I would prefer
here LaTeX's \@.

@Hans: There is something wrong with \nonfrenchspacing (or  
spacefactor) in mkiv.

\starttext

USA. This is another sentence

USA.\ This is another sentence

USA\null. This is another sentence

USA\spacefactor1000. This is another sentence

\stoptext

Wolfgang

___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: replacement of "\@." ?
  2009-05-14  7:04   ` Hans Hagen
  2009-05-14 12:06     ` Khaled Hosny
@ 2009-05-14 20:35     ` Peter Münster
  1 sibling, 0 replies; 11+ messages in thread
From: Peter Münster @ 2009-05-14 20:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, 14 May 2009, Hans Hagen wrote:

> each language can has its own rules ... spacing after period or comma is one,
> but also think of quotes in quotations etc; and, the french have spacing
> before and after : ; . , (it has always been a selling point for tex to be
> able to deal with it)

Hello Hans,

Could you please comment on this message:
http://archive.contextgarden.net/message/20080718.192231.d8036759.en.html

It seems, that the contents of this message is still up-to-date.

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/

___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: replacement of "\@." ?
  2009-05-14 20:31     ` Wolfgang Schuster
@ 2009-05-15 20:11       ` Peter Münster
  2009-05-18  9:30         ` Wolfgang Schuster
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Münster @ 2009-05-15 20:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, 14 May 2009, Wolfgang Schuster wrote:

> @Hans: There is something wrong with \nonfrenchspacing (or spacefactor) in
> mkiv.

Indeed. See also: http://tracker.luatex.org/view.php?id=117
Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/

___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: replacement of "\@." ?
  2009-05-15 20:11       ` Peter Münster
@ 2009-05-18  9:30         ` Wolfgang Schuster
  0 siblings, 0 replies; 11+ messages in thread
From: Wolfgang Schuster @ 2009-05-18  9:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 15.05.2009 um 22:11 schrieb Peter Münster:

> On Thu, 14 May 2009, Wolfgang Schuster wrote:
>
>> @Hans: There is something wrong with \nonfrenchspacing (or  
>> spacefactor) in mkiv.
>
> Indeed. See also: http://tracker.luatex.org/view.php?id=117


Another test file, as you can see (ConTeXt and Hans extended plain  
TeX) it happens
only with OT fonts but not with Type1.

\font\one=cmr10
\font\two=file:texgyrepagella-regular

\bgroup

A A A

\primitive\sfcode`A=2000

A A A

\egroup

\bgroup\one

A A A

\primitive\sfcode`A=2000

A A A

\egroup

\bgroup\two

A A A

\primitive\sfcode`A=2000

A A A

\egroup

\bye

Wolfgang

___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2009-05-18  9:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-14  1:51 replacement of "\@." ? Ryo Furue
2009-05-14  4:05 ` Yue Wang
2009-05-14  6:23   ` Martin Schröder
2009-05-14  7:04   ` Hans Hagen
2009-05-14 12:06     ` Khaled Hosny
2009-05-14 20:35     ` Peter Münster
2009-05-14  6:40 ` Wolfgang Schuster
2009-05-14 19:59   ` Ryo Furue
2009-05-14 20:31     ` Wolfgang Schuster
2009-05-15 20:11       ` Peter Münster
2009-05-18  9:30         ` Wolfgang Schuster

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