+2001-08-09 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * GUI.h: Button controller for Reference dialog changed to
+ NoRepeatedApplyReadOnlyPolicy.
+
+ * biblio.C (getInfo): output volume and number info. Move year to end
+ of string.
+
2001-08-09 Allan Rae <rae@lyx.org>
* Makefile.am (SUBDIRS, dist-hook): remove bogus entries.
template <class GUIview, class GUIbc>
class GUIRef :
- public GUI<ControlRef, GUIview, NoRepeatedApplyPolicy, GUIbc> {
+ public GUI<ControlRef, GUIview, NoRepeatedApplyReadOnlyPolicy, GUIbc> {
public:
///
GUIRef(LyXView & lv, Dialogs & d)
- : GUI<ControlRef, GUIview, NoRepeatedApplyPolicy, GUIbc>(lv, d) {}
+ : GUI<ControlRef, GUIview, NoRepeatedApplyReadOnlyPolicy, GUIbc>(lv, d) {}
};
};
-/** Specialization for TabularCreate dialog
+/** Specialization for Thesaurus dialog
*/
class ControlThesaurus;
string title = parseBibTeX(it->second, "title");
string booktitle = parseBibTeX(it->second, "booktitle");
string chapter = parseBibTeX(it->second, "chapter");
+ string number = parseBibTeX(it->second, "number");
+ string volume = parseBibTeX(it->second, "volume");
string pages = parseBibTeX(it->second, "pages");
string media = parseBibTeX(it->second, "journal");
ostringstream result;
result << author;
- if (!year.empty())
- result << ", " << year;
if (!title.empty())
result << ", " << title;
if (!booktitle.empty())
result << ", Ch. " << chapter;
if (!media.empty())
result << ", " << media;
+ if (!volume.empty())
+ result << ", vol. " << volume;
+ if (!number.empty())
+ result << ", no. " << number;
if (!pages.empty())
result << ", pp. " << pages;
+ if (!year.empty())
+ result << ", " << year;
if (result.str().empty()) // not a BibTeX record
result << it->second;