Wow! ROFF-family languages are still being used?

But again, IMO, this is beyond markup. In TeX \s{} and in groff .zs are
subroutines.

Leo

On Tue, Oct 1, 2013 at 3:34 AM, Steffen Daode <[email protected]> wrote:

> Khaled Hosny <[email protected]> wrote:
>  |Using TeX:
>  |
>  |  \def\s{${}^{\rm s}_{\rm z}$}
>
> Using groff:
>
>   #!/bin/sh -
>
>   cat << \! > t.tr
>   .de zs
>   . nr #1 \\w'z'
>   \\Z'\
>   \\v'-.25v's\
>   \\h'-\\n(#1u'\
>   \\v'.5v'z\
>   '\
>   \\h'\\n(#1u'
>   . rr #1
>   ..
>   Fraterni
>   .zs
>   e.
>   !
>
>   groff t.tr > t.ps
>   ps2pdf t.ps
>   rm t.tr t.ps
>   exit 0
>
> (Can surely be tweaked.)
>
>  |Regards,
>  |Khaled
>
> Ciao,
>
> --steffen
>
>

Reply via email to