all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* subscripts in html helper mode
@ 2002-11-14  3:58 David Arnold
  2002-11-14 16:20 ` Kevin Rodgers
  0 siblings, 1 reply; 2+ messages in thread
From: David Arnold @ 2002-11-14  3:58 UTC (permalink / raw)


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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: subscripts in html helper mode
  2002-11-14  3:58 subscripts in html helper mode David Arnold
@ 2002-11-14 16:20 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2002-11-14 16:20 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 641 bytes --]

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>

[-- Attachment #2: html-helper-mode.patch --]
[-- Type: text/plain, Size: 676 bytes --]

*** 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>"))

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-14 16:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-14  3:58 subscripts in html helper mode David Arnold
2002-11-14 16:20 ` Kevin Rodgers

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.