Re: [NTG-context] replacement of \...@. ?
| I'm wondering what's the ConTeXt version | of LaTeX's \...@. (which indicates an end-of-sentence | period). I can define | | \d...@{\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 ___
[NTG-context] 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 \d...@{\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 ___
Re: [NTG-context] narrow space in \ldots.
Wolfgang, | \unexpanded\def\fourdots{{\def\periodswidth{.3em}\periods[4]}} | | \starttext | Hello\fourdots\ World\fourdots | | Hello\fourdots\ World. | \stoptext Thanks for the macro! It's almost perfect. . . . I thought I was imagining things, but the distance between the last letter of the word and the first dot actually seems to be dependent on the parameter \periodswidth{.3em}. See the attached example. I changed it to \periodswidth{.4em} and then the distance is larger with \fourdots than with \ldots . The distance \ldots produces is the same as a raw period produces. If possible, I'd like the distance to be always the same as the one a raw period produces. By the way, I'm wondering where one should store personal macro files. With LaTeX (texlive-latex), ~/texmf/tex/latex/ seems to be the default place. Is ~/texmf/tex/context/ a recommended place? Ryo - % % Use a large font to make the difference clearer. % \unexpanded\def\fourdots{{\def\periodswidth{.4em}\periods[4]}} \starttext Hello. World. Hello\ldots. World. Hello\fourdots\ World. Hello. World. \stoptext ___ 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 ___
[NTG-context] narrow space in \ldots.
Hello ConTeXt folks, I'm quite new to ConTeXt. I like it. It's way more systematic than LaTeX. Here's my first question. When omitting the last part of a sentence, I want four periods: This is a long sentence which\ldots. LaTeX produces equally-spaced four periods, but with ConTeXt, the last space is narrower than the preceding two. (See examples below.) I guess that LaTeX specifically designed its \ldots with this use (sentence-ending four dots) in mind. How can one fix it in ConTeXt? I use the context package version 2008.05.21-1 on Debian testing. The LaTeX is from the texlive-latex packages. Cheers, Ryo %--- ConTeXt version -- \starttext Hello\ldots. World.\ldots \stoptext %--- LaTeX version -- \documentclass{article} \begin{document} Hello\ldots. World.\ldots \end{document} ___ 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 ___
Re: [NTG-context] narrow space in \ldots.
Hello Hans, | Hello ConTeXt folks, | I'm quite new to ConTeXt. I like it. | It's way more systematic than LaTeX. | Here's my first question. When omitting the last | part of a sentence, I want four periods: |This is a long sentence which\ldots. | | which\unknown Thanks for the answer! It's close, but not quite. First, I noticed that \unknown produces three dots, not four. So, I tried \unknown. (See the attached.) In this case, There is a thin space between the word and the first dot, so that the output looks like which . . . . Convention says that the fist dot should look like a sentence-ending period: which. . . . Second, with \unknown., the last space is slightly, just slightly, narrower than the preceding two. I guess \unknown is designed to be an inter-sentence ellipsis: This long sentence\unknown is complicated. For this purpose, it's perfect. It generates appropriate spaces before and after the three dots. Regards, Ryo \starttext Hello\ldots. World.\ldots Hello\unknown. World.\unknown Hello\unknown World. \stoptext ___ 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 ___