From 9da74fe2078e24e1e7891784ecbfe33ff77e7f85 Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Tue, 14 May 2013 21:51:05 +0200 Subject: [PATCH] Don't use widest label for numerical citations. Fixes bug #8513. --- src/insets/InsetBibitem.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/insets/InsetBibitem.cpp b/src/insets/InsetBibitem.cpp index bb87925930..2840ad5c8f 100644 --- a/src/insets/InsetBibitem.cpp +++ b/src/insets/InsetBibitem.cpp @@ -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; -- 2.39.2