On Fri, Jan 09, 2004 at 03:59:26PM +0200, Martin Vermeer spake thusly:
 
> > The question we need to answer is: setting aside implementation
> > details what kind of UI would we want to provide to enter this
> > information. Is the label/ref paradigm sound?
> > 
> > JMarc
> 
> Well, is it? I get the impression that it is. 
> 
> - Martin

...and an implementation proposal:

Define a LatexParam for Author and Address layouts, looking like
"[$L]" or "[$R]" (for example)

and let the output_latex.C code around line 308

1) test for $L or $R
2) if found, detect either a label inset or a ref inset in first
   position (or anywhere?), as applicable, and
3) substitute its string for the placeholder, and
4) output this string as the optional argument "[mylabel]" or
   "[myref]", as is already done for the InsetOptArg.

The beginning of this is already in place, or can be borrowed from
output_docbook.C.

Does this look like a plan?

- Martin

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to