Georg, Jose´, all,
I would like to commit the patch below. It stores the complete list of
authors even if change tracking is not activated. This is needed in
future because you are allowed to switch off change tracking without
accepting all existing changes.
AFAICS, this patch requires some lyx2lyx effort. Since I am not familiar
with this stuff, I am wondering what to do. Are willing to care for the
correct lyx2lyx conversion? Shall I add a bugzilla report for it or is
this something that can be done within minutes?
Michael
Index: src/bufferparams.C
===================================================================
--- src/bufferparams.C (Revision 15399)
+++ src/bufferparams.C (Arbeitskopie)
@@ -704,13 +704,10 @@
os << "\\tracking_changes " << convert<string>(trackChanges) <<
"\n";
os << "\\output_changes " << convert<string>(outputChanges) << "\n";
- if (trackChanges) {
- // FIXME: Change tracking (MG)
- AuthorList::Authors::const_iterator it =
pimpl_->authorlist.begin();
- AuthorList::Authors::const_iterator end =
pimpl_->authorlist.end();
- for (; it != end; ++it) {
- os << "\\author " << it->second << "\n";
- }
+ AuthorList::Authors::const_iterator a_it =
pimpl_->authorlist.begin();
+ AuthorList::Authors::const_iterator a_end =
pimpl_->authorlist.end();
+ for (; a_it != a_end; ++a_it) {
+ os << "\\author " << a_it->second << "\n";
}
}