On 2007-05-27, Russell L. Harris <[EMAIL PROTECTED]> wrote:
>
> The code runs in Emacs. If I comment out the line
> "(transient-mark-mode -1)", it also runs in XEmacs. But in both
> cases, it aborts with an "unbalanced parenthesis" error after finding
> about ten footnotes (about 25 percent of
On 05/27/2007 12:30 AM, Russell L. Harris wrote:
On 2007-05-26, Russell L. Harris <[EMAIL PROTECTED]> wrote:
I need to extract footnotes from a very long LaTeX document. I would
like to start with a copy of the document, then delete from the copy
all text which is not a footnote.
[...]
Next,
* Tyler Smith <[EMAIL PROTECTED]> [070527 00:00]:
> Here's the code, hope it helps!
>
> (defun extract-footnotes ()
> "Copy all footnotes to a separate *FOOTNOTES* buffer"
> (interactive)
> (let ((active-buffer (current-buffer)))
> (save-excursion
> (if (memq (get-buffer "*FOOTNOTE
* Tyler Smith <[EMAIL PROTECTED]> [070527 00:00]:
...
> One note - I had to turn off transient-mark-mode to get this to
> work. I don't know why. If you like to use transient mark mode you'll
> have to turn it back on afterwards.
>
> Here's the code, hope it helps!
>
> Tyler
>
> (defun extract-f
* Tyler Smith <[EMAIL PROTECTED]> [070527 00:00]:
> On 2007-05-26, Tyler Smith <[EMAIL PROTECTED]> wrote:
> > On 2007-05-26, Russell L. Harris <[EMAIL PROTECTED]> wrote:
> >> I need to extract footnotes from a very long LaTeX document. I would
> >> like to start with a copy of the document, then d
On 2007-05-26, Tyler Smith <[EMAIL PROTECTED]> wrote:
> On 2007-05-26, Russell L. Harris <[EMAIL PROTECTED]> wrote:
>> I need to extract footnotes from a very long LaTeX document. I would
>> like to start with a copy of the document, then delete from the copy
>> all text which is not a footnote.
>
On 2007-05-26, Russell L. Harris <[EMAIL PROTECTED]> wrote:
> I use XEmacs as my editor.
>
> I need to extract footnotes from a very long LaTeX document. I would
> like to start with a copy of the document, then delete from the copy
> all text which is not a footnote.
>
> Is there a way to:
>
>
I use XEmacs as my editor.
I need to extract footnotes from a very long LaTeX document. I would
like to start with a copy of the document, then delete from the copy
all text which is not a footnote.
Is there a way to:
(1) set the mark
(2) search forward for the next instance of the s
8 matches
Mail list logo