Martin Vermeer wrote:

> Looks already good, doesn't it?
> 
> Pity it doesn't work so good. And I'm not even sure I'm on the right
> track.
> 
> Martin

Looks great. It means that InsetShortTitle is working fine.

> I have experimented by creating the inset as a
> standalone, in an arbitrary text location, using a
> minibuffer command; that works great. But now I want
> it tied to section etc. and make the label the
> section number. But that seems to be an entirely
> different thing. I use insetbib/bibkey as my model,
> but it appears not suitable.
> 
> What am I missing?

How the core code creates Section titles at the moment.

You are attempting to go from a hard-wired Section-environment to a Section 
inset. You have to link the two approaches together!

Presumably when I create a Section I want the Paragraph to insert a Section 
Inset for me automatically. In fact, /only/ this piece of code could do 
that. I can imagine generalising this to a generic Caption class that would 
provide the interface to Paragraph.

Perhaps. Perhaps not.

You should scream loudly and get the knowledgable among us to give you some 
advice ;-)

Angus



Reply via email to