bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] change title_begin and title_end


From: Hideki IWAMOTO
Subject: [PATCH] change title_begin and title_end
Date: Sat, 22 Mar 2003 00:33:08 +0900

* move <H1> and </H1> into configuration variables.
  This makes configuration more flexible.

Index: gtags.conf
===================================================================
RCS file: /cvsroot/global/global/gtags.conf,v
retrieving revision 1.15
diff -u -r1.15 gtags.conf
--- gtags.conf  19 Mar 2003 23:57:57 -0000      1.15
+++ gtags.conf  21 Mar 2003 15:13:36 -0000
@@ -112,7 +112,7 @@
 htags:\
        :body_begin=<BODY>:body_end=</BODY>:\
        :table_begin=<TABLE>:table_end=</TABLE>:\
-       :title_begin=<FONT COLOR=#cc0000>:title_end=</FONT>:\
+       :title_begin=<H1><FONT COLOR=#cc0000>:title_end=</FONT></H1>:\
        :comment_begin=<I><FONT COLOR=green>:comment_end=</FONT></I>:\
        :sharp_begin=<FONT COLOR=darkred>:sharp_end=</FONT>:\
        :brace_begin=<FONT COLOR=blue>:brace_end=</FONT>:\
Index: htags/htags.in
===================================================================
RCS file: /cvsroot/global/global/htags/htags.in,v
retrieving revision 1.107
diff -u -r1.107 htags.in
--- htags/htags.in      21 Mar 2003 13:55:20 -0000      1.107
+++ htags/htags.in      21 Mar 2003 15:13:38 -0000
@@ -88,8 +88,8 @@
 $'body_end       = '</BODY>';
 $'table_begin    = '<TABLE>';
 $'table_end      = '</TABLE>';
-$'title_begin   = '<FONT COLOR=#cc0000>';
-$'title_end     = '</FONT>';
+$'title_begin   = '<H1><FONT COLOR=#cc0000>';
+$'title_end     = '</FONT></H1>';
 $'comment_begin  = '<I><FONT COLOR=green>';    # /* ... */
 $'comment_end    = '</FONT></I>';
 $'sharp_begin    = '<FONT COLOR=darkred>';     # #define, #include or so on
@@ -1810,7 +1810,7 @@
                $index .= $'include_header;
                $index .= "\n<HR>\n";
        }
-       $index .= "<H1>$'title_begin$'title$'title_end</H1>\n";
+       $index .= "$'title_begin$'title$'title_end\n";
        $index .= "<P ALIGN=right>\n";
        $index .= "Last updated " . &'date . "<BR>\n";
        $index .= "This hypertext was generated by <A HREF=$'www 
TARGET=_top>GLOBAL-$'version</A>.<BR>\n";
Index: htags/manual.in
===================================================================
RCS file: /cvsroot/global/global/htags/manual.in,v
retrieving revision 1.38
diff -u -r1.38 manual.in
--- htags/manual.in     21 Mar 2003 11:48:16 -0000      1.38
+++ htags/manual.in     21 Mar 2003 15:13:38 -0000
@@ -157,9 +157,9 @@
        @address@hidden(string)}
                End tag for table. The default is '</TABLE>'.
        @address@hidden(string)}
-               Begin tag for Title. The default is '<FONT COLOR=#cc0000>'.
+               Begin tag for Title. The default is '<H1><FONT COLOR=#cc0000>'.
        @address@hidden(string)}
-               End tag for Title. The default is '</FONT>'.
+               End tag for Title. The default is '</FONT></H1>'.
        @address@hidden(string)}
                Begin tag for comments. The default is '<I><FONT COLOR=green>'.
        @address@hidden(string)}


----
Hideki IWAMOTO  address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]