]> git.lyx.org Git - lyx.git/commit
Fix wrong listings preamble encoding (bug #9382)
authorGeorg Baum <baum@lyx.org>
Sun, 11 Jan 2015 18:17:51 +0000 (19:17 +0100)
committerGeorg Baum <baum@lyx.org>
Sun, 11 Jan 2015 18:17:51 +0000 (19:17 +0100)
commit5d6351d4763ce9ec209b491d7a507cf00d819288
tree2cb1a18b5069eaa36eb292a196f771d8d88d0232
parent7b48e2aac0d63fe23cbeadf6ddd50ab0c26c1b6e
Fix wrong listings preamble encoding (bug #9382)

The listings package employs some dirty tricks internally, therefore it does
not work with utf8 encoding, but requires fixed width encodings. This version
of the fix uses ugly hardcoding instead of a layout file format change, so it
could be backported if needed.
src/LaTeXFeatures.cpp
src/insets/InsetListings.cpp