#include "Counters.h"
#include "Layout.h"
-#include "Lexer.h"
#include "support/convert.h"
#include "support/counter_reps.h"
#include "support/docstring.h"
#include "support/gettext.h"
#include "support/lassert.h"
+#include "support/Lexer.h"
#include "support/lstrings.h"
#include <algorithm>
lex.next();
docstring const value = lex.getDocString();
ref_formats_[key] = value;
- LYXERR0("refformat: " << key << " => " << value);
+ // LYXERR0("refformat: " << key << " => " << value);
break;
}
case CT_LABELSTRING:
Counter const & ctr = it->second;
docstring const value = theCounter(name, lang);
- docstring const & format =
+ docstring const format =
translateIfPossible(counterLabel(ctr.refFormat(prex), lang), lang);
if (format.empty())
return value;