mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
parent
977a0c4037
commit
953df30894
@ -394,7 +394,7 @@ BufferParams::BufferParams()
|
|||||||
papersize = PAPER_DEFAULT;
|
papersize = PAPER_DEFAULT;
|
||||||
orientation = ORIENTATION_PORTRAIT;
|
orientation = ORIENTATION_PORTRAIT;
|
||||||
use_geometry = false;
|
use_geometry = false;
|
||||||
biblio_style = "plain";
|
biblio_style = string();
|
||||||
use_bibtopic = false;
|
use_bibtopic = false;
|
||||||
multibib = string();
|
multibib = string();
|
||||||
use_indices = false;
|
use_indices = false;
|
||||||
@ -3426,6 +3426,9 @@ bool BufferParams::addCiteEngine(vector<string> const & engine)
|
|||||||
|
|
||||||
string const & BufferParams::defaultBiblioStyle() const
|
string const & BufferParams::defaultBiblioStyle() const
|
||||||
{
|
{
|
||||||
|
if (!biblio_style.empty())
|
||||||
|
return biblio_style;
|
||||||
|
|
||||||
map<string, string> const & bs = documentClass().defaultBiblioStyle();
|
map<string, string> const & bs = documentClass().defaultBiblioStyle();
|
||||||
auto cit = bs.find(theCiteEnginesList.getTypeAsString(citeEngineType()));
|
auto cit = bs.find(theCiteEnginesList.getTypeAsString(citeEngineType()));
|
||||||
if (cit != bs.end())
|
if (cit != bs.end())
|
||||||
|
@ -122,6 +122,9 @@ What's new
|
|||||||
- Take actual font height into account when drawing placeholder box
|
- Take actual font height into account when drawing placeholder box
|
||||||
for graphics (bug 11048).
|
for graphics (bug 11048).
|
||||||
|
|
||||||
|
- Correctly set degault bibliography style in the Document Settings
|
||||||
|
dialog (bug 11088).
|
||||||
|
|
||||||
|
|
||||||
* INTERNALS
|
* INTERNALS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user