unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Felix E. Klee" <felix.klee.news@gmx.net>
Subject: Auctex: Specifying item rendering?
Date: Sun, 5 Oct 2003 19:21:30 +0200	[thread overview]
Message-ID: <20031005192130.117c6bf8.felix.klee.news@gmx.net> (raw)

Hi,

I defined two new list environments called "calclist" and
"calcsublist" in Latex and want to have it rendered correctly when I hit
M-Q. A correct rendering looks for example as follows:

\begin{calclist}{Foo}
  \calcitem{bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
    bla bla bla bla bla bla bla bla }{2, 3}
  \calcitem{bla bla bla}{4}
  \begin{calcsublist}{Bar}
    \calcitem{bla bla bla}{2}
    \calcitem{bla bla bla}{1}
  \end{calcsublist}
  \calcitem{bla bla bla}{5}
\end{calclist}

First, I tried to get the rendering of "\calcitem" correct because,
currently, when hitting M-Q it gets rendered for example as

\calcitem{Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla  bla bla bla bla bla bla }{2, 3} \calcitem{Blabber bla}{4}
 
I'm using AucTex, so I thought I'll customize Latex-Item-Regexp to read
    \(bib\)?item\b\|calcitem
(I also tried "calcitem" alone). But this didn't have any effect. So:

Does anone know how to get \calcitem to be rendered as illustrated above
(i.e. to behave similar to an \item) when hitting M-Q?

Felix

-- 
To contact me off list don't reply but send mail to
    felix DOT klee AT inka DOT de
Otherwise your email to me might get automatically deleted!

                 reply	other threads:[~2003-10-05 17:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20031005192130.117c6bf8.felix.klee.news@gmx.net \
    --to=felix.klee.news@gmx.net \
    /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).