[Top][All Lists]

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

Re: [AUCTeX-devel] feature proposal kill an next item in a enumerate lik

From: Arash Esbati
Subject: Re: [AUCTeX-devel] feature proposal kill an next item in a enumerate like environment
Date: Fri, 10 Mar 2017 13:52:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2

Uwe Brauer <address@hidden> writes:

>     > you're welcome.  I can think of one situation where my suggestion
>     > chokes:
>     > \begin{enumerate}
>     > * move cursor to this line and run the function
>     > \item First we do blabla 
>     >   and so on
>     > \item the we do
>     > \end{enumerate}
> Right it gives an error.
>     > Here an improved version which also works for \bibitem's:
> When I do what you suggest I receive ┬źno start of item found┬╗ that is on
> purpose?

Yes, that was the idea: Don't raise an error when an error when an item
is not found, but a message.

> I use almost entirely bibtex so I don't kill bibitem's manually, but if
> you are trying to generalize it, why not cover \question of the exam
> style? The tricky thing is that the document could look like
> \question
> answer this.
> \titeledquestion{Euler's method}
> describe it

You could write a function based on my suggestion and put it in exam.el.
In general, latex.el supports vanilla LaTeX constructs.

Best, Arash

reply via email to

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