all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Politz <politza@fh-trier.de>
To: help-gnu-emacs@gnu.org
Subject: Re: LaTeX-editing TEXTAREAs using w3m?
Date: Mon, 29 Sep 2008 16:27:45 +0200	[thread overview]
Message-ID: <1222698739.974475@arno.fh-trier.de> (raw)
In-Reply-To: <mailman.20151.1222695852.18990.help-gnu-emacs@gnu.org>

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


  parent reply	other threads:[~2008-09-29 14:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-29 11:56 LaTeX-editing TEXTAREAs using w3m? Nicolas Neuss
2008-09-29 12:00 ` Nicolas Neuss
2008-09-29 13:43 ` Paul R
     [not found] ` <mailman.20151.1222695852.18990.help-gnu-emacs@gnu.org>
2008-09-29 14:27   ` Andreas Politz [this message]
2008-09-29 15:09 ` Drew Adams
     [not found] ` <mailman.20157.1222700981.18990.help-gnu-emacs@gnu.org>
2008-09-29 16:07   ` Richard Riley
2008-09-29 18:22     ` Drew Adams
     [not found]     ` <mailman.20173.1222712592.18990.help-gnu-emacs@gnu.org>
2008-09-29 18:37       ` Richard Riley
2008-10-02 13:24         ` Christian Herenz
2008-09-29 16:16 ` Bastien
2008-09-29 16:36 ` Raj Shekhar
     [not found] ` <mailman.20162.1222705005.18990.help-gnu-emacs@gnu.org>
2008-09-29 17:25   ` Nicolas Neuss

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1222698739.974475@arno.fh-trier.de \
    --to=politza@fh-trier.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.