>>>> "Andreas" == Andreas Roehler
<andreas.roehler(a)online.de> writes:
Uwe Brauer wrote:
(footnote-mode 1) instead of nil should do it
Ok I should we have thought of that.
>
> - (Footnote-init is called by the footnote-mode-hook) so it runs
> when turning the mode on, however for some bizarre reason
> footnote-init gets the footstyle wrong. Although default is
> numeric[1] in latex mode footnote-init selects roman-upper.
footnote vars should be independent from latex-mode vars.
Probably it reads your footnote-default here.
footnote doesn't read latex-mode styles.
You may add a hook in latex-mode, setting footnode-mode style.
I try this then
thanks.
When
> I substitute \documentclass[12pt]{article} by
> \documentclass{article} and rerun footnote-init the style changes
> to english upper. So how can I set style correctly?
> Footnote-cyle-style does not help!
>
Probably thats a pure latex-issue.
Maybe something clashes beween latex- and footnote regexp.
Should the problem persist, please send some example code.
Right.
> - the undo function seems to confuse footnote. Suppose I want
to
> insert a footnote but then call undo, the next time I call
> footnote-add-footnote the counter has proceed even if I call
> footnote-init before and this is odd since I thought this
> function would scan the buffer and set the counter accordingly,
> but no.
Seems a bug. I'll dig into it. Thanks.
BTW when publishing new version of footnote-init, I intend to
include some of your keys, examples and explanation as intro for
other users. Agreed?
Of course
Andreas
What about the remaining two issues:
- insert footnote, which is simple enough and
- the issue of having comment syntax around footnote marks
and text. I could try to implement that myself but I am
afraid after having seen your code, my code will be rather
primitive :'(
Uwe
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta