On Wed, Nov 07, 2007 at 10:27:21PM +0200, Martin Vermeer wrote:
> > > @@ -269,6 +272,12 @@
> > >  
> > >  void InsetBranch::validate(LaTeXFeatures & features) const
> > >  {
> > > + string const name = to_utf8(params_.branch);
> > > + features.require(name);
> > > + if (selected_)
> > > +         features.addPreambleSnippet("\\newcommand{\\b" + name + 
> > > "}[1]{#1}");
> > > + else
> > > +         features.addPreambleSnippet("\\newcommand{\\b" + name + 
> > > "}[1]{}");
> > >   InsetText::validate(features);
> > >  }
> > 
> > Could you name the macros "\lyxbranch" + name or such?
> > 
> > Andre'
> 
> Yes, sure. But that's a lot of typing (you'll end up typing this
> yourself, many times over, do you realize that?)

I did not realize that 'many'. How many is 'many'?

Andre'

Reply via email to