groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Looping and printing indices in groff


From: Keith MARSHALL
Subject: Re: [Groff] Looping and printing indices in groff
Date: Mon, 13 Mar 2006 12:56:38 +0000

> Having installed a new font, I now want to print all characters.
> I thought of having a loop:
>
> for i=1 to 350 do X
> "i" "\N'i'"
> X
>
> But this won't work, of course.
> How can I do such a thing?

.nr index 0 1
.while (\n+[index] <= 350) \{\
.  nop \n[index]: \N[\n[index]]
.  br
.  \}

HTH,
Keith.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]