> Can I suggest a change to papersize.tmac to leave \*[paper] as the
> user defined it? Easily achieved: remove .ds paper \*[lowercase],
> replace subsequent uses of \*[paper] by \*[lowercase], and move .rm
> lowercase to the end.
Sounds sensible. Patch, please.
Werner
Hello Ted,
groff 1.18.1 is rather old is it not...
But it does show that the change to lower came in groff 1.19, the
first appearance of papersize.tmac. Werner kindly pointed me
in that direction.
The change broke some of my scripts. If anyone makes use of
the string variable 'paper' from pape
> troff -ww -dpaper=A4 -dcA5 <<'END'
> .tm PAPER = \*[paper] c = \*[c]
> .ex
> END
>
> The output is
>
> PAPER = a4 c = A5
>
> What is going on?
`papersize.tmac' converts uppercase to lowercase while assigning the
\*[paper] string. In other words, it doesn't matter whether you say
`-dpaper=a4l
On 16-Jan-2013 14:49:04 Denis M. Wilson wrote:
> If I run the following shell script
>
> troff -ww -dpaper=A4 -dcA5 <<'END'
> .tm PAPER = \*[paper] c = \*[c]
> .ex
> END
>
> The output is
>
> PAPER = a4 c = A5
>
> What is going on?
> (groff v1.22.1)
> Denis
Hmmm ... I get:
troff -ww -dpaper=A
If I run the following shell script
troff -ww -dpaper=A4 -dcA5 <<'END'
.tm PAPER = \*[paper] c = \*[c]
.ex
END
The output is
PAPER = a4 c = A5
What is going on?
(groff v1.22.1)
Denis
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachme