From: Roland S. <st...@an...> - 2004-11-12 17:01:28
|
Hi, On Fri, 2004-11-12 at 09:30 -0500, tom sgouros wrote: > > The HTML generated from the new version (still) doesn't pass the HTML > > validator: > > http://validator.w3.org/ > > Ok, I've fixed most of those now. Tables still seem to generate a > couple of errors, and the validator seems overall uncertain whether to > give these pages a ringing endorsement, but it seems to work on the > manual pages. Look for release 2.8b. Incorporating the new version into Debian, I encountered the following patch we have in our archives now for some time and for which I don't remember why we need it anymore, maybe you have an idea or find them useful: --- hyperlatex-2.8b.orig/hlx/hyperlatex.el +++ hyperlatex-2.8b/hlx/hyperlatex.el @@ -68,6 +68,11 @@ (fset 'string-to-number 'string-to-int) (fset 'number-to-string 'int-to-string)) +(if (fboundp 'char-to-int) + () + (defun char-to-int (arg) + arg)) + (if (fboundp 'find-file-literally) () (fset 'find-file-literally 'find-file)) @@ -679,7 +684,7 @@ ;; These characters are simply quoted (let ((ch (following-char))) (delete-char 1) - (hyperlatex-gensym (concat "#" (number-to-string ch)))) + (hyperlatex-gensym (concat "#" (number-to-string (char-to-int ch)))) ) (setq hyperlatex-command-start (point)) (if (not (looking-at "[a-zA-Z]")) ;; a single letter command Thanks for working on this. bye, Roland |