[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] Support of Lamport pf2.sty and some questions
From: |
Arash Esbati |
Subject: |
Re: [AUCTeX-devel] Support of Lamport pf2.sty and some questions |
Date: |
Thu, 26 Jul 2018 20:21:17 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 |
Uwe Brauer <address@hidden> writes:
> 1. The reference system and reftex: Lamports syntax is to use
> \stepref as a command not \ref (its label system is also
> different). How could the stepref be included in reftex?
>
> 2. The step command. I think it would most convenient to treat the
> step command as if it where a sort of item, and the corresponding
> label would be inserted automatically. Diggin in the exam style
> file I think I know how to produce \step{}{} but I don't know who
> to insert \step{automatic label}{}.
>
> 3. The line \step{label-1.1}{Text of substep 1} is
> equivalent to
> \begin{step+}{label-1.1}
> Text of substep 1
> \end{step+}
> but again, how to I obtain automatically the {label-1.1}?
Hi Uwe,
please take a look at RefTeX's manual. Section "6.9 Problems and
Work-arounds"[1], bullet item "Labels as arguments to \begin" describes
quite exactly what you're looking after :-)
Best, Arash
Footnotes:
[1] https://www.gnu.org/software/auctex/manual/reftex.html#SEC54