Re: [Groff] Typesetting dashes

2013-11-23 Thread Peter Schaffter
> > 2. Do your numbers have to line up? If so, make sure kerning's > > disabled. That solves the comma problem. > > By which I suppose you mean the .kern request? It doesn't seem to > matter, please see attached PDF output for this file -ms: > > .NP > .ds comma \h'-5M',\h'7M' > .IP kerned

Re: [Groff] Typesetting dashes

2013-11-22 Thread James K. Lowden
On Fri, 22 Nov 2013 00:41:52 -0500 Peter Schaffter wrote: > On Thu, Nov 21, 2013, James K. Lowden wrote: > > While I'm in the neighborhood, I wonder if commas in numbers get > > special treatment? Reading over my document, the number 34,800 > > looked bad; the comma was squished over by the eigh

Re: [Groff] Typesetting dashes

2013-11-22 Thread James K. Lowden
On Wed, 20 Nov 2013 14:59:26 -0500 Doug McIlroy wrote: > > I can't think of a situation where you would want to mix point sizes > > on a line. > > A fairly common case is small caps, as in acronyms. Another is mixed > fonts (e.g. using Courier for computer literals) with different > x-heights

Re: [Groff] Typesetting dashes

2013-11-21 Thread Peter Schaffter
On Thu, Nov 21, 2013, James K. Lowden wrote: > While I'm in the neighborhood, I wonder if commas in numbers get > special treatment? Reading over my document, the number 34,800 looked > bad; the comma was squished over by the eight. The effect was > especially noticable when the comma trails a 7.

Re: [Groff] Typesetting dashes

2013-11-21 Thread James K. Lowden
On Wed, 20 Nov 2013 14:59:26 -0500 Doug McIlroy wrote: > > I can't think of a situation where you would want to mix point sizes > > on a line. > > A fairly common case is small caps, as in acronyms. Another is mixed > fonts (e.g. using Courier for computer literals) with different > x-heights

Re: [Groff] Typesetting dashes

2013-11-21 Thread Peter Schaffter
Steve -- Great musings on the lowly dash. On Wed, Nov 20, 2013, Steve Izma wrote: > Yet I'll admit that my idea of dashes is not traditional: I > consider a dash not to be a punctuation mark affixed to another > object (e.g., as a period to a sentence or a comma to a phrase), > but more like an o

Re: [Groff] Typesetting dashes

2013-11-20 Thread Werner LEMBERG
> So does this mean that you are arguing for a new set of spaces that > behave like word spaces but have a different starting width and > stretch proportionately (more or less) along with word spaces? This would be a good thing... > (That means they would also need to shrink proportionately as w

Re: [Groff] Typesetting dashes

2013-11-20 Thread Steve Izma
On Tue, Nov 19, 2013 at 03:58:00PM +0100, Tadziu Hoffmann wrote: > Subject: Re: [Groff] Typesetting dashes > > > Adding the same amount of stretch to each of the objects in > > the line maintains symmetry and rhythm. > > I contest that. Adding the same amount of ho

Re: [Groff] Typesetting dashes

2013-11-20 Thread Doug McIlroy
> I can't think of a situation where you would want to mix point sizes > on a line. A fairly common case is small caps, as in acronyms. Another is mixed fonts (e.g. using Courier for computer literals) with different x-heights for fonts of the same nominal point size. Doug McIlroy

Re: [Groff] Typesetting dashes

2013-11-19 Thread Clarke Echols
I sometimes mix fonts and sizes inside of single lines in some of the things I create. I like things just fine the way they are. I put normal spaces around em dashes ( \(em ) and don't concern myself with end or beginning of line because I use them to break up sentences, and I definitely do NOT

Re: [Groff] Typesetting dashes

2013-11-19 Thread Ralph Corderoy
Hi, Tadziu wrote: > > I can't think of a situation where you would want to mix point sizes > > on a line. > > Correct. This usually isn't done. I suppose one case I can think of has come from web pages; a headline with supplementary information following in smaller text, e.g. a short-URL to a

Re: [Groff] Typesetting dashes

2013-11-19 Thread Tadziu Hoffmann
> If I understand the question properly, the implication is > that a line might consist of words or characters at different > point sizes, therefore the spaces separating words of the > same point size ought to stretch proportionately. > (Am I in the ball park here?) Correct. > If that's the ide

Re: [Groff] Typesetting dashes

2013-11-18 Thread Steve Izma
On Mon, Nov 18, 2013 at 08:57:36PM +0100, Tadziu Hoffmann wrote: > Subject: Re: [Groff] Typesetting dashes > > ... > Anyhow, 1/4 en thus corresponds to half a normal space in > groff's TR font. Don't ask me why the "\:" converts the > following space into a

Re: [Groff] Typesetting dashes

2013-11-18 Thread Tadziu Hoffmann
> I should like to typeset em dashes surrounded by thin, > say 1/4th en, spaces. To prevent a dash from starting a > new line, the first space must be unbreakable. The second > one must be discardable. Both spaces must be unstretchable. > How to do it? .ds EM \R'SS \\n[.s]/2'\s'\\n[SS]'\ \s0

Re: [Groff] Typesetting dashes

2013-11-17 Thread Steve Izma
On Sun, Nov 17, 2013 at 10:51:09PM +0400, Anton Shepelev wrote: > Subject: [Groff] Typesetting dashes > > I should like to typeset em dashes surrounded by > thin, say 1/4th en, spaces. To prevent a dash from > starting a new line, the first space must be un- > break

[Groff] Typesetting dashes

2013-11-17 Thread Anton Shepelev
Hello all, I should like to typeset em dashes surrounded by thin, say 1/4th en, spaces. To prevent a dash from starting a new line, the first space must be un- breakable. The second one must be discardable. Both spaces must be unstretchable. How to do it? The '\h' describption re