help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: subscripts in html helper mode


From: Kevin Rodgers
Subject: Re: subscripts in html helper mode
Date: Thu, 14 Nov 2002 09:20:00 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

David Arnold wrote:

I am using version

;; $Id: html-helper-mode.el,v 2.19.1.1 1998/08/06 18:53:03 nelson Exp $

of html helper with Windows emacs 21.1.1. I cannot get C-cC-p ^ to produce
<sup></sup>, nor can I get subscripts to work with C-cC-p _.

Anyone have any ideas how I can do sub and superscripts?


As far as I can tell, that version (from http://www.santafe.edu/~nelson/hhm-beta/) doesn't support <sub> or
<sup> or even claim to bind the `C-c C-p _' or `C-c C-p ^' keys.  What

made you think it does?

That being said, try this patch:



--
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>
*** html-helper-mode.el~        Thu Nov 14 09:14:54 2002
--- html-helper-mode.el Thu Nov 14 09:17:33 2002
***************
*** 434,439 ****
--- 434,441 ----
     (phys    "i"       "<i>"           "Italic"             ("<i>" (r "Text: 
") "</i>"))
     (phys    "b"             "<b>"             "Bold"               ("<b>" (r 
"Text: ") "</b>"))
     (phys    "f"       "<tt>"          "Fixed"              ("<tt>" (r "Text: 
") "</tt>"))
+    (phys    "_"       "<sub>"         "Subscript"          ("<sub>" (r "Text: 
") "</sub>"))
+    (phys    "_"       "<sup>"         "Superscript"        ("<sup>" (r "Text: 
") "</sup>"))
  
     ;;headers
     (header  "6"       "<h6>"          "Header 6"                ("<h6>" (r 
"Header: ") "</h6>"))

reply via email to

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