Mads Jensen <m...@inducks.org> writes:

Hi Mads,

> If you mark something, and want to use that marked text as an argument
> in \ref, you're still met with the dialogue for RefTeX. Would it be
> possible to add (I don't mind having a shot at this) a test to insert
> the marked text, instead of doing the automatic reftex/auctex argument
> prompt?

I have no clue how that could work.  When you put an active region
around some label text (that's what I think you mean with mark), then
point is at the beginning or end of that label text, and almost
certainly you don't want to insert the \ref inside the \label.

So I guess you probably want to use the top entry of the kill-ring as
argument of the \ref.  But then how can auctex know when you want to do
that?

Bye,
Tassilo


_______________________________________________
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to