Georg Baum wrote: > Pavel Sanda wrote: > > > Pavel Sanda wrote: > >> @@ -813,7 +814,7 @@ void Preamble::handle_package(Parser &p, string const > >> & name, > >> else if (name == "amsmath" || name == "amssymb" || name == "cancel" || > >> name == "esint" || name == "mhchem" || name == "mathdots" || > >> name == "mathtools" || name == "stackrel" || > >> - name == "stmaryrd" || name == "undertilde") > >> + name == "stmaryrd" || name == "undertilde" || name == > "microtype") > >> h_use_packages[name] = "2"; > > > > BTW Georg, do you know what this "2" stands for? > > BufferParams::package_on (blame the one who decided to write enum values as > numbers and not as strings to the file, might be me actually). Since you use > a bool for use_microtype the "2" is not correct for microtype, and you > should not use h_use_packages.
I just blindly copied what was there for other on-off packages, because I have little clue what tex2lyx code does and zero comments in critical sections does not help. I know it's not your fault ;) Could you give me helping hand? Pavel