]> git.lyx.org Git - features.git/commit
Add automatic color package loading for listings
authorGeorg Baum <baum@lyx.org>
Thu, 18 Oct 2012 18:41:23 +0000 (20:41 +0200)
committerGeorg Baum <baum@lyx.org>
Wed, 28 Nov 2012 20:56:00 +0000 (21:56 +0100)
commita47e4a3766b7f864d1cbdebf0faace7e0e14763e
treed55a9f8d2f0b07866f307b0028be7a6b4e0d3087
parent847f8014ca0abbc144472c322dec78f5e3c0b5a7
Add automatic color package loading for listings

The listings inset does automatically load the color package if any parameter
contains \color. As mentioned in bug #8066 tex2lyx needs to be aware of this,
so the \usepckage{color} is automatically skipped in these cases.
src/tex2lyx/test/test-insets.tex
src/tex2lyx/text.cpp