]> git.lyx.org Git - features.git/commit
Fix some texl2yx accent bugs
authorGeorg Baum <baum@lyx.org>
Sun, 24 Feb 2013 14:44:16 +0000 (15:44 +0100)
committerGeorg Baum <baum@lyx.org>
Sun, 24 Feb 2013 14:44:16 +0000 (15:44 +0100)
commitf2d2b7cc7dc88d2ba018ac3db5f3358c510020e3
tree71bb26a965bf2e2ca365e2919fe7c8d345e48230
parent9229f38ecf8e9d37caace2509d39573f20bbc19c
Fix some texl2yx accent bugs

This fixes bug #8554 and some recently introduced busg:
- Encodings::fromLaTeXCommand() can now handle all combining characters,
  not only the one letter ones
- The remainder returned from Encodings::fromLaTeXCommand() must never be
  thrown away in tex2lyx, but output as ERT
- No special case for combining diacritical marks needed anymore in parse_text()
- No special cases for accents and IPA combining diacritical marks needed
  anymore in parse_text()
- special tipa short cuts may only be recognized if the tipa package is loaded
- Use requirements returned by Encodings::fromLaTeXCommand() instead of
  hardcoded registering of tipa and tipax
- Get rid of the name2 variable in parse_text(): We must use name, otherwise
  the extra stuff that might have been put into name vanishes
src/Encoding.cpp
src/tex2lyx/test/test-insets.lyx.lyx
src/tex2lyx/text.cpp