Martin Vermeer wrote: > On Thu, 2004-10-07 at 08:23, Martin Vermeer wrote: > > ... > >> OK, this should be the real patch now. I checked by saving >> to 'drafts' and opening it there... Why is runparams.lang >> empty no matter what I do? > > Attached a worked-on patch that actually does the job, along the > lines you and Jean-Marc suggested. Is this okay?
Maybe ;-) If you add 'language' to OutputParams then I'm afraid you should also change 'lang' to something more verbose and meaningful. This should be 'OutputParams const &': +bool LaTeX::runMakeIndex(string const & f, OutputParams runparams) Is making this mutable the best solution? Dunno. bool Converters::runLaTeX(Buffer const & buffer, string const & command, - OutputParams const & runparams) + OutputParams & runparams) -- Angus