Update of /cvsroot/mahogany/M/doc/HtmlHlp
In directory sc8-pr-cvs1:/tmp/cvs-serv6883/doc/HtmlHlp
Modified Files:
makehhc.pl
Log Message:
deal both with case when the generated HTML has just the anchors and when it has the
filenames
Index: makehhc.pl
===================================================================
RCS file: /cvsroot/mahogany/M/doc/HtmlHlp/makehhc.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -b -u -2 -r1.4 -r1.5
--- makehhc.pl 7 Jan 2004 11:38:00 -0000 1.4
+++ makehhc.pl 7 Jan 2004 13:17:27 -0000 1.5
@@ -55,7 +55,12 @@
# entry body
if ( $in_entry ) {
+ # latex2html may generate either just the anchor in
the link
+ # or the file name with the anchor but we always need
the
+ # latter for HTML Help Workshop to work
+ my $link = $1;
+ $link = "Manual.html$link" unless $link =~
/^Manual.html#/;
print OUT_HHC <<EOF
\t<LI> <OBJECT type=\"text/sitemap\">
-<param name=\"Local\" value=\"$1\">
+<param name=\"Local\" value=\"$link\">
<param name=\"Name\" value=\"$2\">
</OBJECT>
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates