>>>> "Andreas" == Andreas Roehler
<andreas.roehler(a)online.de> writes:
Uwe Brauer wrote:
>
> > Uwe Brauer wrote:
>
> > (footnote-mode 1) instead of nil should do it
>
> Ok I should we have thought of that.
>
> > 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.
I tried it it does not help. Maybe I should send you bug reports and
some examples privately.
>
>
> > 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.
>
It does persist
>
> > 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 :'(
Thanks for the flowers :)
Let me fix the bugs first.
BTW could you give an example how this is useful.
Rationale for inserting footnotes:
Imagine you have a huge file, say a latex files of 80 pages.
You want to make some small changes and send it to your collaborator.
I ensure you I am aware of almost all diff and merge tools around.
Xemacs ediff, mgdiff, meld, latexdiff. They are good but sometime small
changes are difficult to track.
That is one area where the Footnote-insert-footnote-text would be
useful. You just go to the end of the file, you read and if necessary
modify the notes. You use Footnote-back-message to jump to the marker
and you insert the text with the new function.
Now you want additional changes, you use footnotes to generate them.
That is helpful for small changes in huge files.
As footnodes already reside in a separate section,
commands to jump to and fro,
don't see it right from the spot...
The footnote with comment syntax is more obvious. Footnotes in latex are
no problem since they are inserted *after* \end{document} so you can run
latex without problems. But languages such as elisp or matlab do not
have this feature so you cannot run code with footnotes in it.
Uwe
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta