encoding associated to \p os. Therefore you must not call this
method with a string stream if the output is supposed to go to a
file. \code
- odocfstream ofs;
+ ofdocstream ofs;
ofs.open("test.tex");
writeLaTeXSource(ofs, ...);
ofs.close();
\endcode is NOT equivalent to \code
odocstringstream oss;
writeLaTeXSource(oss, ...);
- odocfstream ofs;
+ ofdocstream ofs;
ofs.open("test.tex");
ofs << oss.str();
ofs.close();
void setInsetLabel(docstring const & label, InsetLabel const * il);
InsetLabel const * insetLabel(docstring const & label) const;
+ // FIXME: buf should should be const because updateLabels() modifies
+ // the contents of the paragraphs.
+ void updateLabels(bool childonly = false) const;
+
private:
/// search for macro in local (buffer) table or in children
MacroData const * getBufferMacro(docstring const & name,