Uwe Brauer wrote:
Hello
First I should say the footnote-init works great on most files, however
it runs into problems when the files in which I want to add footnotes
contain structures like
[t,y]=ode45(f,[0:(T/600):T],[0.994;0;0;-2.00158510637908252240537862224])
or similar,
Below you find 3 files, with the following structure
-------------
Contains a copy of the original file
---------
Contains the result after a applied fi-add-Footnote-add-footnote
(using different styles: numeric, english-upper, english-lower)
---------------------
Contains the bugtrace if there is any
I always used xemacs -vanilla in order to exclude interference from
other programs.
Uwe Brauer
Hi Uwe,
uploaded changes, new patch inclusive. Please
try again.
Footnote mode still is far from perfection. Used
`footnote-init' to work around some bugs, which should
be cured in footnote.el rather.
Added
(defun fi-Footnote-set-latin ()
"Set latin style with empty footnote-start- and end-tag. "
(interactive)
(Footnote-set-style 'latin)
(setq footnote-start-tag "")
(setq footnote-end-tag "")
(when (interactive-p) (message "style: %s %s %s" footnote-style (concat
"\"" footnote-start-tag "\"") (concat "\""
footnote-end-tag "\""))))
Setting footnote-start-tag, footnote-end-tag to the
empty string required a patch, as footnote.el assumed
it never nil.
Otherwise latin style too is always provide with
brackets or the like.
Cheers
Andreas Röhler
--
https://code.launchpad.net/s-x-emacs-werkstatt/
http://bazaar.launchpad.net/~a-roehler/python-mode/python-mode.el/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta