summaryrefslogtreecommitdiff
path: root/doc/rdsrc.pl
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-05-14 21:28:54 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-05-14 21:28:54 +0000
commite77259caf6e5e2adcdeeb00f7a05e4dfdc78532d (patch)
tree091218216377b5a66dc886ac597a6b783522e2de /doc/rdsrc.pl
parente23f305d2c8a36654d19cc3d3486ebb3bcee9c7c (diff)
downloadnasm-e77259caf6e5e2adcdeeb00f7a05e4dfdc78532d.tar.gz
nasm-e77259caf6e5e2adcdeeb00f7a05e4dfdc78532d.tar.bz2
nasm-e77259caf6e5e2adcdeeb00f7a05e4dfdc78532d.zip
Use em dash for the title
Diffstat (limited to 'doc/rdsrc.pl')
-rw-r--r--doc/rdsrc.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/rdsrc.pl b/doc/rdsrc.pl
index e9f5c10..e2ee82c 100644
--- a/doc/rdsrc.pl
+++ b/doc/rdsrc.pl
@@ -1727,7 +1727,7 @@ sub write_texi {
sprintf('%s: (%s).', $metadata{'infoname'}, $metadata{'infofile'}),
$metadata{'infotitle'};
print "\@end direntry\n";
- print "\@settitle ",$metadata{'title'},"\n";
+ print "\@settitle ", $metadata{'title'},"\n";
print "\@setchapternewpage odd\n";
print "\@c \%**end of header\n";
print "\n";
@@ -1740,7 +1740,9 @@ sub write_texi {
print "\@end ifinfo\n";
print "\n";
print "\@titlepage\n";
- print "\@title ",$metadata{'title'},"\n";
+ $title = $metadata{'title'};
+ $title =~ s/ - / --- /g;
+ print "\@title ${title}\n";
print "\@author ",$metadata{'author'},"\n";
print "\n";
print "\@page\n";