]> git.lyx.org Git - lyx.git/blobdiff - src/BiblioInfo.h
A little more lv cleanup.
[lyx.git] / src / BiblioInfo.h
index fffb81c639404ef779864659b803aeaf5b8e1636..3e7266fac85214d66b30d7affc1a93f92ff9e184 100644 (file)
@@ -117,8 +117,13 @@ private:
        /// material intended only for rich text (HTML) output should be 
        /// wrapped in "{!" and "!}". it will be removed if richtext is
        /// false.
-       docstring expandFormat(std::string const & fmt, 
-                       BibTeXInfo const * const xref, bool richtext) const;
+       /// a simple macro facility is also available. keys that look like
+       /// "%!key%" are substituted with their definition.
+       /// moreover, keys that look like "%_key%" are treated as translatable
+       /// so that things like "pp." and "vol." can be translated.
+       docstring expandFormat(std::string const & fmt,
+                       BibTeXInfo const * const xref, int & counter, 
+                       Buffer const & buf, bool richtext) const;
        /// true if from BibTeX; false if from bibliography environment
        bool is_bibtex_;
        /// the BibTeX key for this entry