[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Included files are not preprocessed
From: |
Anton Shepelev |
Subject: |
Re: [Groff] Included files are not preprocessed |
Date: |
Tue, 4 Dec 2012 20:56:42 +0400 |
Tadziu Hoffmann:
> > Files included via .mso, .so, or -m, are never
> > run through preprocessors.
>
> That's why soelim was invented
>
> http://lists.gnu.org/archive/html/groff/2003-01/msg00069.html
I have finally decided to try this way because the
included file is subject to frequent changes and
storing its pre-encoded version, as per Werner's ad-
vice, would be inconvenient. Now I found that
groff's -s option behaves differently from calling
soelim manually on the pipeline:
mmst1: tr -d \015 < [infile]| groff -s -Kcp1251 -t
-Tutf8>[outfile].txt
mmst2: soelim [infile] | tr -d \015 | groff -Kcp1251 -t
-Tutf8>[outfile].txt
With the included test file (test.mm) the first call
seems to ignore iconv processing (res1.txt), while
the second one works as expected, producing a cor-
rectly encoded UTF-8 file (res2.txt).
Am I missing something or is it a bug?
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
soelimex.zip
Description: Zip archive
- Re: [Groff] Included files are not preprocessed,
Anton Shepelev <=
- Re: [Groff] Included files are not preprocessed, Ralph Corderoy, 2012/12/04
- Re: [Groff] Included files are not preprocessed, Anton Shepelev, 2012/12/05
- Re: [Groff] Included files are not preprocessed, Werner LEMBERG, 2012/12/06
- Re: [Groff] Included files are not preprocessed, brian m. carlson, 2012/12/06
- Re: [Groff] Included files are not preprocessed, Werner LEMBERG, 2012/12/07
- Re: [Groff] Included files are not preprocessed, Mike Bianchi, 2012/12/07
- Re: [Groff] Included files are not preprocessed, Werner LEMBERG, 2012/12/07
- Re: [Groff] Included files are not preprocessed, Anton Shepelev, 2012/12/10