]> git.lyx.org Git - lyx.git/commit
Fix bug #9101
authorEnrico Forestieri <forenr@lyx.org>
Tue, 6 Jun 2017 22:55:23 +0000 (00:55 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Tue, 6 Jun 2017 22:55:23 +0000 (00:55 +0200)
commit8dab1cfe7ee6a3bb6d5e57afb55cb357e1e8ec23
tree5fd9c97e7a0f420ff5105c81844316142328ee5d
parentf9835d054d7aac5830ec6bb5a3537c2b4fa2d269
Fix bug #9101

Update the listings inset to optionally use the minted package
(instead of the listings one) for typesetting code listings.
Only one of the two packages can be used in a document, but it
is possible to switch packages without issues if the used options
are the same. If a switch is made and the options differ, one needs
to manually adjust them if they were entered in the advanced options
tab, or apply again the gui settings.
Note that minted requires the -shell-escape option for the latex
backend and the installation of additional software (python pygments).
35 files changed:
development/FORMAT
lib/layouts/stdinsets.inc
lib/lyx2lyx/lyx_2_3.py
lib/syntax.default
src/BufferParams.cpp
src/BufferParams.h
src/LaTeXFeatures.cpp
src/LaTeXFeatures.h
src/frontends/qt4/GuiDocument.cpp
src/frontends/qt4/GuiListings.cpp
src/frontends/qt4/ui/ListingsSettingsUi.ui
src/insets/InsetCommand.cpp
src/insets/InsetInclude.cpp
src/insets/InsetListings.cpp
src/insets/InsetListingsParams.cpp
src/insets/InsetListingsParams.h
src/insets/InsetTOC.cpp
src/tex2lyx/TODO.txt
src/tex2lyx/test/CJK.lyx.lyx
src/tex2lyx/test/CJKutf8.lyx.lyx
src/tex2lyx/test/DummyDocument.lyx.lyx
src/tex2lyx/test/Dummy~Document.lyx.lyx
src/tex2lyx/test/XeTeX-polyglossia.lyx.lyx
src/tex2lyx/test/algo2e.lyx.lyx
src/tex2lyx/test/box-color-size-space-align.lyx.lyx
src/tex2lyx/test/test-insets-basic.lyx.lyx
src/tex2lyx/test/test-insets.lyx.lyx
src/tex2lyx/test/test-memoir.lyx.lyx
src/tex2lyx/test/test-modules.lyx.lyx
src/tex2lyx/test/test-refstyle-theorems.lyx.lyx
src/tex2lyx/test/test-scr.lyx.lyx
src/tex2lyx/test/test-structure.lyx.lyx
src/tex2lyx/test/test.lyx.lyx
src/tex2lyx/test/verbatim.lyx.lyx
src/version.h