]> git.lyx.org Git - lyx.git/blobdiff - src/output_plaintext.cpp
Cmake build: Creating a define for a header file found
[lyx.git] / src / output_plaintext.cpp
index 2b6af82a4354a133ddd7fb0bc50794660ec25247..476e62d368b0e0235bcded0767b8f8f5e46887db 100644 (file)
@@ -40,7 +40,8 @@ void writePlaintextFile(Buffer const & buf, FileName const & fname,
 
        // make sure we are ready to export
        buf.updateBuffer();
-       buf.updateMacroInstances();
+       buf.updateMacroInstances(OutputUpdate);
+       buf.makeCitationLabels();
 
        writePlaintextFile(buf, ofs, runparams);
 }
@@ -71,6 +72,7 @@ static pair<int, docstring> addDepth(int depth, int ldepth)
        return make_pair(d, docstring(d, ' '));
 }
 
+
 void writePlaintextParagraph(Buffer const & buf,
                    Paragraph const & par,
                    odocstream & os,