replacement of "\@." ?
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
On Thu, May 14, 2009 at 9:51 AM, 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.
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 ___________________________________________________________________________________
2009/5/14, Yue Wang
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
Yue Wang wrote:
On Thu, May 14, 2009 at 9:51 AM, Ryo Furue
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 -----------------------------------------------------------------
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
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
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/
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
| > 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
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
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/
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
participants (7)
-
Hans Hagen
-
Khaled Hosny
-
Martin Schröder
-
Peter Münster
-
Ryo Furue
-
Wolfgang Schuster
-
Yue Wang