[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] parallel text processing ; vertical and horizontal mode
From: |
Mike Bianchi |
Subject: |
Re: [Groff] parallel text processing ; vertical and horizontal mode |
Date: |
Thu, 7 Sep 2017 08:15:51 -0400 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Thu, Sep 07, 2017 at 09:45:47AM +0100, Ralph Corderoy wrote:
> Hi Erich,
>
> > Of course it would be a hypertrophy changeing the distances each and
> > every page...no, the idea is to have two parts of text on each page.
I don't have the groff chops to address this in general,
but I will point at the
.2C
.1C
.NCOL
macros within the mm macro set;
groff_mm(1)
/usr/share/groff/1.22.2/tmac/m.tmac
This hand-made test does most of the work automatically.
See the comments.
= = = = = = = = = =
mm_2C_test
\# ragged right formatting
.na
.
\# start 2 column format
.2C
.
sladfklkj sd sdfjk ljksdfa jklsdfa jklsdfa lsdf l ljksdfa lkjsdfa lkjsdf lk
.sp
sladfklkj sd sdfjk ljksdfa jklsdfa jklsdfa lsdf l ljksdfa lkjsdfa lkjsdf lk
.
\# force formatting to the next column
.NCOL
.
SLADFKLKJ SD SDFJK LJKSDFA JKLSDFA JKLSDFA LSDF L LJKSDFA LKJSDFA LKJSDF LK
SLADFKLKJ SD SDFJK LJKSDFA JKLSDFA JKLSDFA LSDF L LJKSDFA LKJSDFA LKJSDF LK
.sp
SLADFKLKJ SD SDFJK LJKSDFA JKLSDFA JKLSDFA LSDF L LJKSDFA LKJSDFA LKJSDF LK
.br
.
\# return to 1 column format 1 == no page break
.1C 1
.
\# determined by experimentation
.sp 4
.
\# line of # characters
\l'\n[.l]u#\c
.sp 1
.
.sp
.
\# start 2 column format
.2C
.
ouiqwe owerq oerw oiuerwqoi oiuerwqo iuerwq oo erwq oerwq owerq oerwq oiu
ouiqwe owerq oerw oiuerwqoi oiuerwqo iuerwq oo erwq oerwq owerq oerwq oiu
.sp
ouiqwe owerq oerw oiuerwqoi oiuerwqo iuerwq oo erwq oerwq owerq oerwq oiu
.br
.
\# force formatting to the next column
.NCOL
.
IUERWQ OO ERWQ OERWQ OWERQ OERWQ OIU OUIQWE OWERQ OERW OIUERWQOI OIUERWQO
.sp
IUERWQ OO ERWQ OERWQ OWERQ OERWQ OIU OUIQWE OWERQ OERW OIUERWQOI OIUERWQO
IUERWQ OO ERWQ OERWQ OWERQ OERWQ OIU OUIQWE OWERQ OERW OIUERWQOI OIUERWQO
.
\# determined by experimentation
.br
.
\# return to 1 column format 1 == no page break
.1C 1
.
\# determined by experimentation
.sp 1
.
\# line of # characters
\l'\n[.l]u#\c
.sp
.
.sp
1324 098438099438 0984 089431 09843 08943 089 09814 08943 098431 0894132 0
1324 098438099438 0984 089431 09843 08943 089 09814 08943 098431 0894132 0
1324 098438099438 0984 089431 09843 08943 089 09814 08943 098431 0894132 0
1324 098438099438 0984 089431 09843 08943 089 09814 08943 098431 0894132 0
1324 098438099438 0984 089431 09843 08943 089 09814 08943 098431 0894132 0
1324 098438099438 0984 089431 09843 08943 089 09814 08943 098431 0894132 0
= = = = = = = = = =
nroff -mm mm_2C_test
‐ 1 ‐
sladfklkj sd sdfjk ljksdfa SLADFKLKJ SD SDFJK LJKSDFA
jklsdfa jklsdfa lsdf l JKLSDFA JKLSDFA LSDF L
ljksdfa lkjsdfa lkjsdf lk LJKSDFA LKJSDFA LKJSDF LK
SLADFKLKJ SD SDFJK LJKSDFA
sladfklkj sd sdfjk ljksdfa JKLSDFA JKLSDFA LSDF L
jklsdfa jklsdfa lsdf l LJKSDFA LKJSDFA LKJSDF LK
ljksdfa lkjsdfa lkjsdf lk
SLADFKLKJ SD SDFJK LJKSDFA
JKLSDFA JKLSDFA LSDF L
LJKSDFA LKJSDFA LKJSDF LK
############################################################
ouiqwe owerq oerw oiuerwqoi IUERWQ OO ERWQ OERWQ OWERQ
oiuerwqo iuerwq oo erwq OERWQ OIU OUIQWE OWERQ OERW
oerwq owerq oerwq oiu ouiqwe OIUERWQOI OIUERWQO
owerq oerw oiuerwqoi
oiuerwqo iuerwq oo erwq IUERWQ OO ERWQ OERWQ OWERQ
oerwq owerq oerwq oiu OERWQ OIU OUIQWE OWERQ OERW
OIUERWQOI OIUERWQO IUERWQ OO
ouiqwe owerq oerw oiuerwqoi ERWQ OERWQ OWERQ OERWQ OIU
oiuerwqo iuerwq oo erwq OUIQWE OWERQ OERW OIUERWQOI
oerwq owerq oerwq oiu OIUERWQO
############################################################
1324 098438099438 0984 089431 09843 08943 089 09814 08943
098431 0894132 0 1324 098438099438 0984 089431 09843 08943
089 09814 08943 098431 0894132 0 1324 098438099438 0984
089431 09843 08943 089 09814 08943 098431 0894132 0 1324
098438099438 0984 089431 09843 08943 089 09814 08943 098431
0894132 0 1324 098438099438 0984 089431 09843 08943 089
09814 08943 098431 0894132 0 1324 098438099438 0984 089431
09843 08943 089 09814 08943 098431 0894132 0
= = = = = = = = = =
--
Mike Bianchi
Foveal Systems
973 822-2085
address@hidden
http://www.AutoAuditorium.com
http://www.FovealMounts.com
- Re: [Groff] pdfmom grep (was parallel text processing), (continued)
- Re: [Groff] pdfmom grep (was parallel text processing), Steffen Nurpmeso, 2017/09/08
- Re: [Groff] pdfmom grep (was parallel text processing), Peter Schaffter, 2017/09/08
- Re: [Groff] pdfmom grep (was parallel text processing), Ralph Corderoy, 2017/09/09
- Re: [Groff] pdfmom grep (was parallel text processing), Peter Schaffter, 2017/09/09
- Re: [Groff] pdfmom grep (was parallel text processing), Ralph Corderoy, 2017/09/09
- Re: [Groff] pdfmom grep (was parallel text processing), Peter Schaffter, 2017/09/09
- Re: [Groff] pdfmom grep (was parallel text processing), Ralph Corderoy, 2017/09/10
- Re: [Groff] pdfmom grep (was parallel text processing), Peter Schaffter, 2017/09/10
- Re: [Groff] pdfmom grep (was parallel text processing), Deri James, 2017/09/09
- Re: [Groff] parallel text processing ; vertical and horizontal mode, Ralph Corderoy, 2017/09/07
- Re: [Groff] parallel text processing ; vertical and horizontal mode,
Mike Bianchi <=
Re: [Groff] parallel text processing ; vertical and horizontal mode, Ted Harding, 2017/09/06
Re: [Groff] parallel text processing ; vertical and horizontal mode, Larry Kollar, 2017/09/13