[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unable to get GROFF_ENCODING to seep through to sourced subfiles
From: |
Steffen Nurpmeso |
Subject: |
Re: Unable to get GROFF_ENCODING to seep through to sourced subfiles |
Date: |
Mon, 09 Nov 2020 19:34:34 +0100 |
User-agent: |
s-nail v14.9.19-166-g98859ee6 |
Dorai Sitaram wrote in
<1129728531.3387046.1604937518647@mail.yahoo.com>:
|I have GROFF_ENCODING set to utf8, but this only works for the main \
|file processed by groff, not to any subfiles that are sourced via .so .
|Giving the -s option to groff to force a soelim doesn't work either.
|Adding the -k option to force a preconv, whether before or after the \
|-s option, doesn't work either. (I think regardless of the placement \
|of -k and -s, -k happens before -s, hence the problem? Perhaps -k should \
|be forced to happen last?)
|What does work is
|soelim mainDoc.ms | preconv | groff ...
|but it would be nice to avoid the pipelines with either options and/or \
|environment variable.
This is a groff pipeline fault (or preconv should vanish and any
file opened should internally be handled by the right encoding,
which i think would be even better), also see
https://lists.gnu.org/archive/html/groff/2017-07/msg00027.html
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)