On Fri, Feb 07, 2003 at 08:01:24AM -0500, Karl Berry wrote:
>     TeX looks great.  For HTML, is there some way to make the
>     table border=1 or change the bgcolor to yellow or something?
> 
> Only `almost' invisible?  As far as I can see @cartouche is completely
> ignored by makeinfo --html.  Are you using texi2html?  (If so, that's a
> different project, not part of Texinfo.)
> 
> It would be nice if makeinfo --html did something for cartouche, but I
> won't be able to work on that soon.  If you or anyone would like to
> contribute a patch, that would be great.

How about the attached patch?

-- 
Victory to the Divine Mother!!         after all,
  http://sahajayoga.org                  http://why-compete.org
--- texinfo-4.3d/makeinfo/insertion.c   Fri Jan  3 05:16:29 2003
+++ texinfo-4.3d.mod/makeinfo/insertion.c       Fri Feb  7 21:47:16 2003
@@ -643,8 +643,14 @@
         close_single_paragraph ();
       break;
 
-      /* Insertions that are no-ops in info, but do something in TeX. */
     case cartouche:
+      if (html)
+       add_word ("<table border=1><tr><td>\n");
+      if (in_menu)
+        no_discard++;
+      break;
+
+      /* Insertions that are no-ops in info, but do something in TeX. */
     case ifclear:
     case ifhtml:
     case ifinfo:
@@ -869,8 +875,13 @@
       close_insertion_paragraph ();
       break;
 
-    case group:
     case cartouche:
+      if (html)
+       add_word ("</td></tr></table>\n");
+      close_insertion_paragraph ();
+      break;
+
+    case group:
       close_insertion_paragraph ();
       break;
 
_______________________________________________
Bug-texinfo mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-texinfo

Reply via email to