Don't use widest label for numerical citations.

Fixes bug #8513.
This commit is contained in:
Julien Rioux 2013-05-14 21:51:05 +02:00
parent bfc731de45
commit 9da74fe207

View File

@ -234,6 +234,10 @@ int InsetBibitem::plaintext(odocstringstream & os,
// ale070405
docstring bibitemWidest(Buffer const & buffer, OutputParams const & runparams)
{
BufferParams const & bp = buffer.masterBuffer()->params();
if (bp.citeEngineType() == ENGINE_TYPE_NUMERICAL)
return from_ascii("99");
int w = 0;
InsetBibitem const * bitem = 0;