- /// returns the expanded string representation of the counter.
- docstring theCounter(docstring const & c);
- /// Replace om format all the LaTeX-like macros that depend on
- /// counters.
- docstring counterLabel(docstring const & format,
- std::set<docstring> * callers = 0);
- /// Are we in apendix?
- bool appendix() const { return appendix_; };
+ /** returns the expanded string representation of counter \c
+ * c. The \c lang code is used to translate the string.
+ */
+ docstring theCounter(docstring const & c,
+ std::string const & lang) const;
+ /** Replace in \c format all the LaTeX-like macros that depend
+ * on counters. The \c lang code is used to translate the
+ * string.
+ */
+ docstring counterLabel(docstring const & format,
+ std::string const & lang) const;
+ /// Are we in appendix?
+ bool appendix() const { return appendix_; }