Previous |  Up |  Next

Article

Keywords:
LuaLaTeX; XeLaTeX; OpenType math; math typesetting; fontspec package; Cambria; Asana; XITS; Neo Euler; LuaLaTeX; XeLaTeX; formát OpenType math; sazba matematiky; balíček fontspec; Cambria; Asana; XITS; Neo Euler
Summary:
When LuaTeX first provided support for OpenType math typesetting in version 0.40, high-level macro support for math typesetting was first developed for ConTeXt MkIV, while support for LuaLaTeX was initially limited to a very low-level or non-existent. In the meantime, this gap has been closed by recent developments on macro packages such as luaotfload, fontspec, and unicode-math, so LaTeX users are now provided with a unified high-level font selection interface for text and math fonts that can be used equally well with both LuaLaTeX and XeLaTeX. While a unified high-level interface greatly improves document interchange and eases transitions between systems, it does not guarantee that identical input will always produce identical output on different engines, as there are significant differences in the underlying implementations of math typesetting algorithms. While LuaTeX provides a full-featured implementation of OpenType math, XeTeX has taken a more limited approach based on a subset of OpenType parameters to provide the functionality of traditional TeX engines. Given the possibility of running exactly the same test files on both engines, it now becomes feasible to study those differences in detail and to compare the results. Hopefully, this will allow to draw conclusions how the quality of math typesetting is affected and could be improved by taking advantage of a more sophisticated, full-featured OpenType math implementation.
Summary:
Jelikož LuaTeX podporuje Open Type math až od verze 0.40, byla podpora matematické sazby na vyšší úrovni vytvořena nejprve pro ConTeXt MkIV, zatímco podpora pro LuaLaTeX byla nízká nebo nebyla žádná. Další vývoj však tuto mezeru zacelil – uživatelé LaTeXu mají nyní k dispozici jednotné rozhraní pro připojení fontů pro běžný text i pro matematickou sazbu pomocí balíčků luaotfload, fontspec a unicode-math; obojí lze celkem stejně dobře využít v LuaLaTeXu i v XeLaTeXu. I když toto jednotné rozhraní značně zjednodušuje výměnu dokumentů i přenos mezi různými systémy, nezaručuje, že tentýž vstup vytvoří vždy tentýž výstup na různých počítačích kvůli významným odlišnostem v implementaci algoritmů pro matematickou sazbu. Zatímco LuaTeX poskytuje úplnou implementaci všech vlastností OpenType math, XeTeX převzal jen část z nich s ohledem na tradiční implementace XeLaTeXu. Maje možnost překládat stejné testovací soubory v obou implementacích, bylo možné podrobně zkoumat jejich rozdíly a porovnat výslednou matematickou sazbu. Doufejme, že toto přispěje k zjištěním, co ovlivňuje kvalitu matematické sazby a jak ji zlepšit implementací výhod kompletního formátu OpenType math.
References:
[1] Testing TeX Live before release. TUG: Testing TEX Live before release. http://tug.org/texlive/pretest
[2] Beeton, Barbara, Freytag, Asmus, III, Murray Sargent: Unicode Support for Mathematics. Unicode Technical Report UTR#25. 2001. http://www.unicode.org/reports/tr25/
[3] Beeton, Barbara: Unicode and math, a combination whose time has come - Finally!. TUGboat, 21(3):174-185, 2000. Proceedings of TUG 2000, Oxford, UK. http://www.tug.org/TUGboat/tb21-3/tb68beet.pdf
[4] Beeton, Barbara: The STIX Project – From Unicode to fonts. TUGboat, 28(3):299-304, 2007. Proceedings of TUG 2007, San Diego, CA, USA. http://tug.org/TUGboat/tb28-3/tb90beet.pdf
[5] Vieth, Ulrik: Math Typesetting in TeX: The Good, The Bad, The Ugly. MAPS, 26:207-216, 2001. Proceedings of EuroTeX 2001, Kerkrade, Netherlands. http://www.ntg.nl/maps/26/27.pdf
[6] OpenType Specification, Version 1.6. http://www.microsoft.com/typography/otspec/
[7] III, Murray Sargent: Math in Office Blog. http://blogs.msdn.com/murrays/default.aspx
[8] Hudson, John, Mills, Ross: Mathematical Typesetting: Mathematical and Scientific Typesetting Solutions. Promotional Booklet, Microsoft, 2006.
[9] Rhatigan, Daniel: Three typefaces for mathematics. Dissertation for the MA in typeface design , 2007. http://www.typeculture.com/academic_resource/articles_essays/pdfs/tc_article_47.pdf
[10] III, Murray Sargent: Unicode Nearly Plain Text Encodings of Mathematics. Unicode Technical Note UTN#28, 2006. http://www.unicode.org/notes/tn28/
[11] Williams, George: FontForge: Math typesetting information. http://fontforge.sourceforge.net/math.html
[12] Vieth, Ulrik: Do we need a 'Cork' math font encoding?. TUGboat, 29(3):426-434, 2008. Proceedings of TUG 2008, Cork, Ireland. http://www.tug.org/tugboat/tb29-3/tb93vieth.pdf
[13] Vieth, Ulrik: OpenType math illuminated. TUGboat, 30(1):22-31, 2009. Proceedings of BachoTeX 2009, Bachotek, Poland. http://www.tug.org/tugboat/tb30-1/tb94vieth.pdf
[14] Jackowski, Bogusław: Appendix G illuminated. TUGboat, 27(1):83-90, 2006. Proceedings of EuroTeX 2006, Debrecen, Hungary. http://www.tug.org/tugboat/tb27-1/tb86jackowski.pdf
[15] Vieth, Ulrik: Understanding the æsthetics of math typesetting. Biuletyn GUST, 5-12, 2008. Proceedings of BachoTeX 2008, Bachotek, Poland. http://www.gust.org.pl/projects/e-foundry/math-support/vieth2008.pdf
[16] Kew, Jonathan: XeTeX Live. TUGboat, 29(1):151-156, 2008. Proceedings of BachoTeX 2007, Bachotek, Poland. http://www.tug.org/tugboat/tb29-1/tb91kew.pdf
[17] Hoekwater, Taco: LuaTeX Reference Manual. http://www.luatex.org/svn/trunk/manual/luatexref-t.pdf
[18] Hoekwater, Taco: Math in LuaTeX 0.40. MAPS, 38:22-31, 2009. http://www.ntg.nl/maps/38/04.pdf
[19] Hagen, Hans: Unicode Math in ConTeXt. MAPS, 38:32-46, 2009. http://www.ntg.nl/maps/38/05.pdf
[20] Robertson, Will: Advanced font features with XeTeX: The fontspec package. TUGboat, 26(3):215-223, 2005. http://www.tug.org/tugboat/tb26-3/tb84robertson.pdf
[21] Robertson, Will: The fontspec macro package. http://www.ctan.org/pkg/fontspec http://github.com/wspr/fontspec
[22] Robertson, Will: The unicode-math macro package. http://www.ctan.org/pkg/unicode-math http://github.com/wspr/unicode-math
[23] Mahajan, Aditya: Integrating Unicode and OpenType math in ConTeXt. TUGboat 30(2):243-246, 2009. Proceedings of TUG 2009, Notre Dame, IN, USA. https://www.tug.org/members/TUGboat/tb30-2/tb95mahajan-cmath.pdf
[24] Fischer, Ulrike, Gesang, Philipp, Krüger, Marcel, Roux, Élie, Pégourié-Gonnard, Manuel, Hosny, Khaled, Robertson, Will: The luaotfload macro package. http://www.ctan.org/pkg/luaotfload http://github.com/khaledhosny/luaotfload
[25] Robertson, Will: Unicode mathematics in LaTeX: advantages and challenges. To appear in TUGboat, 31(2):???-???, 2010. Proceedings of TUG 2010, San Francisco, CA, USA. https://www.tug.org/members/TUGboat/tb31-2/tb98robertson.pdf
[26] Vieth, Ulrik: Experiences typesetting mathematical physics. MAPS 39:166-178, 2009. Proceedings of EuroTeX 2009, Delft, Netherlands. https://www.tug.org/members/TUGboat/tb30-3/tb96vieth.pdf
[27] Syropoulos, Apostolos: Asana Math Font. http://www.ctan.org/pkg/asana-math
[29] Doyle, Mark, Hosny, Khaled, Jones, David M., Robertson, Will: STIX Fonts. http://www.stixfonts.org/ http://www.ctan.org/pkg/stix
[30] Hosny, Khaled: Neo Euler Font. http://github.com/khaledhosny/euler-otf
[31] Hagen, Hans, Hoekwater, Taco, Schaa, Volker RW: Reshaping Euler: A collaboration with Hermann Zapf. TUGboat, 29(3):283-287, 2998. http://www.tug.org/tugboat/tb29-2/tb92hagen-euler.pdf
Partner of
EuDML logo