From: Vincent van Ravesteijn Date: Wed, 24 Feb 2010 18:14:23 +0000 (+0000) Subject: Do not output a warning about missing the width of a nomencl_print. The width will... X-Git-Tag: 2.0.0~3958 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=36c1de09a7618986ec380fc715a64e7dbc1b5f06;p=features.git Do not output a warning about missing the width of a nomencl_print. The width will not be outputted if it's empty and this is the case when the nomencl_print has "set_width" set to auto or none. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33559 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/lyx2lyx/lyx_2_0.py b/lib/lyx2lyx/lyx_2_0.py index 1d8e8d2bf0..8ad26ef938 100644 --- a/lib/lyx2lyx/lyx_2_0.py +++ b/lib/lyx2lyx/lyx_2_0.py @@ -767,7 +767,7 @@ def revert_nomencl_cwidth(document): j = find_end_of_inset(document.body, i) l = find_token(document.body, "width", i, j) if l == -1: - document.warning("Can't find width option for nomencl_print!") + #Can't find width option for nomencl_print i = j continue width = get_value(document.body, "width", i, j).strip('"')