unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Felix E. Klee" <felix.klee@inka.de>
Subject: LaTeX-Fill-Paragraph and inline images
Date: Sat, 08 Feb 2003 16:43:24 +0100	[thread overview]
Message-ID: <b238gl$7d6$1@sapa.inka.de> (raw)

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

             reply	other threads:[~2003-02-08 15:43 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-08 15:43 Felix E. Klee [this message]
2003-02-09 15:53 ` LaTeX-Fill-Paragraph and inline images Kai Großjohann
2003-02-09 16:23   ` Felix E. Klee
2003-02-09 16:37     ` David Kastrup
2003-02-09 17:44       ` Felix E. Klee
2003-02-10 20:38         ` David Kastrup
2003-02-21 15:02           ` Felix E. Klee
2003-02-21 15:50             ` David Kastrup
2003-02-21 23:02               ` Felix E. Klee
2003-02-21 23:18                 ` David Kastrup
2003-02-21 23:35                   ` Glenn Morris
2003-02-21 23:50                 ` Stefan Monnier <foo@acm.com>
2003-02-22  9:44                   ` Felix E. Klee
2003-02-22 20:53                     ` Stefan Monnier
2003-02-22 21:07                       ` Kai Großjohann
2003-02-23 20:20                       ` Felix E. Klee
2003-02-27  9:15                         ` Gernot Hassenpflug
2003-02-27 11:58                           ` Felix E. Klee
2003-02-27 13:27                             ` David Kastrup
2003-02-21 16:01             ` Stefan Monnier <foo@acm.com>

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='b238gl$7d6$1@sapa.inka.de' \
    --to=felix.klee@inka.de \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).