]> git.lyx.org Git - features.git/commit
Fix remainder of #9681 (textcyrillic and textgreek handling).
authorGünter Milde <milde@lyx.org>
Mon, 11 Mar 2019 14:24:22 +0000 (15:24 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:18 +0000 (15:48 +0200)
commita10b614b5db936abded64aeaff41c56c0accf684
tree828fa2bc77d690e2c54445fca0cb80c0dbef4ceb
parentc6bae50e5b72b3152528e751c1efa559148d0828
Fix remainder of #9681 (textcyrillic and textgreek handling).

* Fix macro termination if \textcyrillic or \textgreek is not required
  for Greek or Cyrillic letter.

* Replace "writeScriptChars" with conditionals in the character-output loop in
  "Paragraph::latex" (solves "FIXME: modifying i here is not very nice...").

The font changing commands \textcyrillic and \textgreek are no longer
part of the textcommand in "lib/unicodesymbols" but added when required
in Paragraph::Private::latexSpecialChar.
lib/unicodesymbols
src/Encoding.cpp
src/Encoding.h
src/Paragraph.cpp