Localize NEQN part too
This commit is contained in:
parent
ccb357e4ea
commit
e5eeb99e2b
@ -11,7 +11,9 @@ troff= /usr/bin/groff -man
|
||||
nroff= /usr/bin/groff -Wall -mtty-char -man
|
||||
apropos= /usr/bin/apropos
|
||||
whatis= /usr/bin/whatis
|
||||
neqn= /usr/bin/eqn -Tascii
|
||||
eqn= /usr/bin/eqn
|
||||
# -Tascii or localized encoding added automatically
|
||||
neqn= /usr/bin/eqn
|
||||
tbl= /usr/bin/tbl
|
||||
col= /usr/bin/col
|
||||
vgrind= /usr/bin/vgrind
|
||||
|
@ -926,8 +926,17 @@ parse_roff_directive (cp, file, buf, bufsize)
|
||||
|
||||
if (troff)
|
||||
add_directive (&first, EQN, file, buf, bufsize);
|
||||
else
|
||||
else {
|
||||
#ifdef __FreeBSD__
|
||||
char lbuf[FILENAME_MAX];
|
||||
|
||||
snprintf(lbuf, sizeof(lbuf), "%s%s", NEQN,
|
||||
locale_opts == NULL ? " -Tascii" : locale_opts);
|
||||
add_directive (&first, lbuf, file, buf, bufsize);
|
||||
#else
|
||||
add_directive (&first, NEQN, file, buf, bufsize);
|
||||
#endif
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user