help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LaTeX-editing TEXTAREAs using w3m?


From: Andreas Politz
Subject: Re: LaTeX-editing TEXTAREAs using w3m?
Date: Mon, 29 Sep 2008 16:27:45 +0200
User-agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724)

Paul R wrote:
On Mon, 29 Sep 2008 13:56:15 +0200, Nicolas Neuss 
<lastname@math.uni-karlsruhe.de> said:

Nicolas> One possible remedy would be to use w3m and switch on LaTeX
Nicolas> mode when editing textareas. I have tried this, and the
Nicolas> straightforward way did not work (that is, the w3m
Nicolas> information did get lost when I did M-x latex-mode). Does
Nicolas> anyone know if such a feature is easily possible?

I guess you'll have to edit your LaTeX code in a temporary LaTeX-mode
buffer then paste it back to your browser text box.



Or try the indirect buffer feature. Something like this :

(defun edit-latex (start end)
  (interactive "r")
  (switch-to-buffer
   (make-indirect-buffer (current-buffer) "*edit-latex*" t))
  (narrow-to-region start end)
  (toggle-read-only -1)
  (latex-mode))

-ap


reply via email to

[Prev in Thread] Current Thread [Next in Thread]