Fix MANNEDINCLUDE formatting on e.g. zshall.1
This commit is contained in:
parent
977f6216bd
commit
17476b5b54
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ sub fmt {
|
||||||
# doesn't '.so' it.
|
# doesn't '.so' it.
|
||||||
$input =~ s/^\.so man.macros$//mg;
|
$input =~ s/^\.so man.macros$//mg;
|
||||||
# Other .so's should be handled by html()
|
# Other .so's should be handled by html()
|
||||||
$input =~ s/^\.so (.+)$/\[\[\[MANNEDINCLUDE $1\]\]\]/mg;
|
$input =~ s/^\.so (.+)$/.in -10\n.sp\n\[\[\[MANNEDINCLUDE $1\]\]\]/mg;
|
||||||
|
|
||||||
# Disable hyphenation, since that screws up man page references. :-(
|
# Disable hyphenation, since that screws up man page references. :-(
|
||||||
$input = ".hy 0\n.de hy\n..\n$input";
|
$input = ".hy 0\n.de hy\n..\n$input";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue