Fix MANNEDINCLUDE formatting on e.g. zshall.1

This commit is contained in:
Yorhel 2014-09-25 09:22:48 +02:00
parent 977f6216bd
commit 17476b5b54

View file

@ -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";