mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-17 02:05:48 +00:00
7a9bb85184
This commit updates tex2lyx in order to also import minted listings. For the floating version of a listing, minted uses the listing environment, a concept that is not shared with the listings package, towards which our listings inset is geared. For this reason, a kludge is necessary when importing minted listings not previously exported by LyX itself. If the floating listing contains only a caption and a label (other than the listing itself), everything is fine and the import is (or aims to be) perfect. But, as in all other floating ebvironments, one can also stick there other elements, which don't have a place in the listings inset. So, in order to avoid a data loss, tex2lyx sticks everything into the caption. In this way, things may be rearranged in the GUI, if necessary. There is no other way, apart from a complete redesign of the listings inset, of course. However, I think that this is an acceptable compromise. |
||
---|---|---|
.. | ||
algo2e.lyx.lyx | ||
algo2e.tex | ||
box-color-size-space-align.lyx.lyx | ||
box-color-size-space-align.tex | ||
CJK.lyx.lyx | ||
CJK.tex | ||
CJKutf8.lyx.lyx | ||
CJKutf8.tex | ||
CMakeLists.txt | ||
Dummy~Document.lyx.lyx | ||
Dummy~Document.tex | ||
DummyDocument.lyx.lyx | ||
DummyDocument.tex | ||
env_custom_command.cmake | ||
foo.eps | ||
foo.png | ||
runtests.cmake | ||
runtests.py | ||
test-insets-basic.lyx.lyx | ||
test-insets-basic.tex | ||
test-insets.lyx.lyx | ||
test-insets.tex | ||
test-memoir.lyx.lyx | ||
test-memoir.tex | ||
test-modules.lyx.lyx | ||
test-modules.tex | ||
test-refstyle-theorems.lyx.lyx | ||
test-refstyle-theorems.tex | ||
test-scr.lyx.lyx | ||
test-scr.tex | ||
test-structure.lyx.lyx | ||
test-structure.tex | ||
test.ltx | ||
test.lyx.lyx | ||
verbatim.lyx.lyx | ||
verbatim.tex | ||
XeTeX-polyglossia.lyx.lyx | ||
XeTeX-polyglossia.tex | ||
xfigtest.fig | ||
xfigtest.pstex | ||
xfigtest.pstex_t |