From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Felix E. Klee" Newsgroups: gmane.emacs.help Subject: LaTeX-Fill-Paragraph and inline images Date: Sat, 08 Feb 2003 16:43:24 +0100 Organization: (Posted via) INKA e.V. http://www.inka.de/ Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: main.gmane.org 1044719134 24351 80.91.224.249 (8 Feb 2003 15:45:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 8 Feb 2003 15:45:34 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18hXAa-0006Ka-00 for ; Sat, 08 Feb 2003 16:45:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18hXAK-000069-07 for gnu-help-gnu-emacs@m.gmane.org; Sat, 08 Feb 2003 10:45:16 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!newspump.monmouth.com!newspeer.monmouth.com!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!news.belwue.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!inka.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: puric.inka.de Original-X-Trace: sapa.inka.de 1044718933 7590 193.197.184.17 (8 Feb 2003 15:42:13 GMT) Original-X-Complaints-To: abuse@inka.de Original-NNTP-Posting-Date: 8 Feb 2003 15:42:13 GMT User-Agent: KNode/0.7.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:109952 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6457 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6457 Hi, I'm using preview-latex mode together with AUC TeX mode when editing LaTeX documents. preview-latex can compile certain parts (eg. equations) of LaTeX documents and replace them by inline images. This, however, causes LaTeX-Fill-Paragraph to misbehave since it still breaks lines according to the source code. Take for example the following code: Bla bla bla bla bla bla bla bla bla bla bla $\hat{\tilde{\ddot{x}}}$ bla bla. After applying preview-LaTeX everything could fit on one line: Bla bla bla bla bla bla bla bla bla bla bla [IMG] bla bla. But LaTeX-Fill-Paragraph would still break it as follows, because it doesn't know about the image: Bla bla bla bla bla bla bla bla bla bla bla [IMG] bla bla. Therefore, I'm looking for a LaTeX-Fill-Paragraph replacement that breaks lines correctly when inline images are used. Instead of specifying a fill column the user would specify the desired width of paragraphs in pixels or centimeters. This might also be interesting when using variable width fonts instead of fixed width fonts. Does such a function exist? Is it feasible? Felix