From: Jürgen Spitzmüller Date: Mon, 11 Apr 2005 15:09:54 +0000 (+0000) Subject: fix output of description/labeling \item when there's no trailing text X-Git-Tag: 1.6.10~14405 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ff38a62be6b03dd9cc34994fcbc896e0727f6248;p=features.git fix output of description/labeling \item when there's no trailing text git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9806 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/ChangeLog b/src/ChangeLog index 216b4851b3..86b8a108e3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2005-04-11 Jürgen Spitzmüller + + * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX + output of \item arguments without trailing text. + 2005-04-06 Jean-Marc Lasgouttes * FontIterator.C (operator*): avoid a copy of the font. diff --git a/src/paragraph.C b/src/paragraph.C index 2847157621..6de1458d62 100644 --- a/src/paragraph.C +++ b/src/paragraph.C @@ -1069,7 +1069,7 @@ bool Paragraph::simpleTeXOnePar(Buffer const & buf, // Needed if there is an optional argument but no contents. if (body_pos > 0 && body_pos == size()) { - os << "]~"; + os << "}]~"; return_value = false; }