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
Thanks for the report.
Seems basically caused by the fact, chars used as
delimiters for footnotes also occur in the text.
Ways to solve this
- set footnote-start-tag and footnote-end-tag manually
to appropriate values
- have a function changing that values, like that
(defun fi-Footnote-set-my-preferred-tags ()
"Example function to set footnote-start- and end-tag. "
(interactive)
(setq footnote-start-tag "\<[[")
(setq footnote-end-tag "]]\>")
(when (interactive-p) (message "footnote start end tags: %s %s" (concat
"\"" footnote-start-tag "\"") (concat "\""
footnote-end-tag "\""))))
- introduce some detecting of existing chars in buffer,
get the style changed by Emacs.
I'm on it.
Andreas
--
http://bazaar.launchpad.net/~a-roehler/python-mode/python-mode.el/
https://code.launchpad.net/s-x-emacs-werkstatt/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta