File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 724724}
725725
726726
727- %TokenToTargetMapping = ();
728- %DefinedGrammars = ();
729- %BackpatchGrammarFiles = ();
727+ %TokenToTargetMapping = (); # language:token -> link target
728+ %DefinedGrammars = (); # language -> full grammar text
729+ %BackpatchGrammarFiles = (); # file -> 1 (hash of files to fixup)
730730
731731sub do_cmd_token{
732732 local ($_ ) = @_ ;
@@ -1647,7 +1647,18 @@ ()
16471647
16481648sub do_cmd_maketitle{
16491649 local ($_ ) = @_ ;
1650- my $the_title = " \n <div class=\" titlepage\" >" ;
1650+ my $the_title = " \n " ;
1651+ if ($EXTERNAL_UP_LINK ) {
1652+ # This generates a <LINK> element in the wrong place (the
1653+ # body), but I don't see any other way to get this generated
1654+ # at all. Browsers like Mozilla, that support navigation
1655+ # links, can make use of this.
1656+ $the_title .= (" <link rel='up' href='$EXTERNAL_UP_LINK '"
1657+ . ($EXTERNAL_UP_TITLE
1658+ ? " title='$EXTERNAL_UP_TITLE '" : ' ' )
1659+ . " >\n " );
1660+ }
1661+ $the_title .= ' <div class="titlepage">' ;
16511662 if ($TITLE_PAGE_GRAPHIC ) {
16521663 if ($TITLE_PAGE_GRAPHIC_ON_RIGHT ) {
16531664 $the_title .= (" \n <table border=\" 0\" width=\" 100%\" >"
@@ -1854,6 +1865,7 @@ sub do_cmd_seepep{
18541865}
18551866
18561867sub do_cmd_seerfc{
1868+ # XXX Would be nice to add links to the text/plain and PDF versions.
18571869 return handle_rfclike_reference(@_ [0], " RFC" , $RFC_FORMAT );
18581870}
18591871
You can’t perform that action at this time.
0 commit comments