]> git.lyx.org Git - features.git/commit
Very basic support for unicode-math
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 24 Sep 2012 11:19:25 +0000 (13:19 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 24 Sep 2012 11:19:25 +0000 (13:19 +0200)
commit8bf5d4b4614bc45e727112cdb20e162da3e26717
tree0af5b34ac769bbbd36623a2e388fbceccccbc3cc
parentb99a2a625513ebac315d5d70a6ed8d23e330f321
Very basic support for unicode-math

With non-TeX fonts, you can select a 'Non-TeX Font Default' math font, which simply loads unicode-math without actually selecting a math font, this then uses the default math otf font, currently Latin Modern. Other fonts still need to be set manually in the preamble, via \setmathfont.

The implementation suppresses unneeded package requests from unicodesymbols, but the output still uses macros instead of full unicode (both is possible with unicode-math).

The whole thing is a proof of concept, and it needs to be tested. I have tested it with the math manual, which compiles and seems to display correctly if I remove some hardcoded package loadings. OTOH I have not much experience with math.

This addresses #7449 partly.
development/FORMAT
lib/chkconfig.ltx
lib/lyx2lyx/lyx_2_1.py
src/BufferParams.cpp
src/Encoding.cpp
src/frontends/qt4/GuiDocument.cpp
src/version.h