[XeTeX] Getting vinculum in fractions with Asana Math and unicode-math when compiled with xelatex
Dear Folks, With this minimal example: --- \documentclass[a4paper,12pt]{article} \usepackage{fontspec} \usepackage{unicode-math} \setmathfont{Asana Math} \begin{document} $\frac{2\pi r}{r} = 2\pi$ \end{document --- I am unable to get the horizontal bar or vinculum for the fraction on the left when I compile the file with xelatex, although I can get it when compiled with lualatex. FYI, I am using TeXLive 2010 on Kubuntu 10.04 and the relevant versions are: XeTeX, Version 3.1415926-2.2-0.9997.4 (TeX Live 2010) unicode-math.sty2010/09/27 v0.5b Unicode maths in XeLaTeX and LuaLaTeX ASsana Math Version 000.928 Can someone please suggest how to compile the file correctly with xelatex? Many thanks. Chandra -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Getting vinculum in fractions with Asana Math and unicode-math when compiled with xelatex
Am 24.12.2010 um 12:36 schrieb R (Chandra) Chandrasekhar: I am unable to get the horizontal bar or vinculum for the fraction on the left when I compile the file with xelatex, although I can get it when compiled with lualatex. I can't reproduce it with the same software (versions) on Mac OS X 10.5.8, PPC. *File List* article.cls2007/10/19 v1.4h Standard LaTeX document class size12.clo2007/10/19 v1.4h Standard LaTeX file (size option) fontspec.sty2010/11/17 v2.1e Advanced font selection for XeLaTeX/ LuaLaTeX expl3.sty2010/11/13 v2083 L3 Experimental code bundle wrapper l3names.sty2010/10/03 v2064 L3 Experimental Naming Scheme for TeX Primitives etex.sty1998/03/26 v2.0 eTeX basic definition package (PEB) l3basics.sty2010/10/03 v2063 L3 Experimental basic definitions l3expan.sty2010/09/20 v2037 L3 Experimental Argument Expansion module l3tl.sty2010/11/17 v2084 L3 Experimental Token Lists l3int.sty2010/10/17 v2077 L3 Experimental Integer module l3quark.sty2010/09/20 v2036 L3 Experimental Quark Commands l3seq.sty2010/03/29 v1879 L3 Experimental sequences and stacks l3toks.sty2010/09/20 v2037 L3 Experimental Token Registers l3prg.sty2010/10/03 v2063 L3 Experimental control structures l3clist.sty2010/10/09 v2071 L3 Experimental comma separated lists l3token.sty2010/10/03 v2063 L3 Experimental token investigation and manipulation l3prop.sty2010/11/23 v2087 L3 Experimental Property Lists l3msg.sty2010/10/02 v2052 L3 Experimental LaTeX Messages module l3io.sty2010/10/03 v2063 L3 Experimental i/o module l3skip.sty2010/11/23 v2088 L3 Experimental skip registers l3box.sty2010/09/26 v2048 L3 Experimental Box module l3keyval.sty2010/04/11 v1890 L3 Experimental keyval processing l3keys.sty2010/11/11 v2082 L3 Experimental key-value support l3precom.sty2010/02/09 v1793 L3 Experimental precompilation module l3xref.sty2010/02/09 v1786 L3 Experimental cross referencing l3file.sty2010/03/21 v1853 L3 Experimental file loading l3fp.sty2010/11/25 v2092 L3 Experimental floating-point operations l3luatex.sty2010/07/18 v1985 L3 Experimental LuaTeX functions calc.sty2007/08/22 v4.3 Infix arithmetic (KKT,FJ) xparse.sty2010/10/13 v2073 Generic document command parser xkeyval.sty2008/08/13 v2.6a package option processing (HA) xkeyval.tex2008/08/13 v2.6a key=value parser (HA) fontspec-patches.sty2010/11/17 v2.1e Advanced font selection for XeLaTeX/LuaLaTeX fixltx2e.sty2006/09/13 v1.1m fixes to LaTeX fontenc.sty eu1enc.def2010/05/27 v0.1h Experimental Unicode font encodings eu1lmr.fd2009/10/30 v1.6 Font defs for Latin Modern xunicode.sty2010/11/06 v0.96 provides access to latin accents and many other characters in Unicode lower plane fontspec.cfg unicode-math.sty2010/09/27 v0.5b Unicode maths in XeLaTeX and LuaLaTeX ifxetex.sty2010/09/12 v0.6 Provides ifxetex conditional ifluatex.sty2010/03/01 v1.3 Provides the ifluatex switch (HO) l3keys2e.sty2010/10/13 v2076 Parsing LaTeX3 keyvals as LaTeX2e package options catchfile.sty2010/04/28 v1.5 Catches the contents of a file (HO) infwarerr.sty2010/04/08 v1.3 Providing info/warning/message (HO) ltxcmds.sty2010/04/26 v1.7 LaTeX kernel commands for general use (HO) etexcmds.sty2010/01/28 v1.3 Prefix for e-TeX command names (HO) scrlfile.sty2009/03/25 v3.03 KOMA-Script package (loading files) unicode-math-table.tex *** -- Greetings Pete Email is a wonderful thing for people whose role in life is to be on top of things. But not for me; my role is to be on the bottom of things. What I do takes long hours of studying and uninterruptible concentration. – Donald Knuth -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Getting vinculum in fractions with Asana Math and unicode-math when compiled with xelatex
Am 24.12.2010 um 18:27 schrieb R (Chandra) Chandrasekhar: 10c10 l3tl.sty2010/11/17 v2084 L3 Experimental Token Lists --- l3tl.sty2010/12/18 v2103 L3 Experimental Token Lists 28c28 l3fp.sty2010/11/25 v2092 L3 Experimental floating-point operations --- l3fp.sty2010/12/18 v2104 L3 Experimental floating-point operations After updating to l3tl.sty2010/12/18 v2103 L3 Experimental Token Lists l3fp.sty2010/12/18 v2104 L3 Experimental floating-point operations I still get the correct output, with vinculum. -- Greetings Pete Engineer: a mechanism for converting caffeine into designs -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Getting vinculum in fractions with Asana Math and unicode-math when compiled with xelatex
On Friday 24 December 2010 11:53 PM, Peter Dyballa wrote: Am 24.12.2010 um 18:27 schrieb R (Chandra) Chandrasekhar: 10c10 l3tl.sty 2010/11/17 v2084 L3 Experimental Token Lists --- l3tl.sty 2010/12/18 v2103 L3 Experimental Token Lists 28c28 l3fp.sty 2010/11/25 v2092 L3 Experimental floating-point operations --- l3fp.sty 2010/12/18 v2104 L3 Experimental floating-point operations After updating to l3tl.sty 2010/12/18 v2103 L3 Experimental Token Lists l3fp.sty 2010/12/18 v2104 L3 Experimental floating-point operations I still get the correct output, with vinculum. That is indeed worrisome. I wonder whether it is machine specific: I am on an AMD 64 machine running Kubuntu Linux 10.04 with TeXLive 2010. I don't know whether this list allows attachments, but I have attached a cropped PDF file of my output to this reply in case it helps solve the problem. Chandra test-frac-crop.pdf Description: Adobe PDF document -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Getting vinculum in fractions with Asana Math and unicode-math when compiled with xelatex
Looks perfectly normal when processed using XeLaTeX from TL 2010 under Win/XP;SP3' the resulting PDF is nothing like the attachment to your more recent message, with significant spacing 'twixt denominator and numerator and with dividing rule clearly in place. Philip Taylor -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Getting vinculum in fractions with Asana Math and unicode-math when compiled with xelatex
On Dec 24, 2010, at 12:35 PM, R (Chandra) Chandrasekhar wrote: On Friday 24 December 2010 11:53 PM, Peter Dyballa wrote: Am 24.12.2010 um 18:27 schrieb R (Chandra) Chandrasekhar: 10c10 l3tl.sty 2010/11/17 v2084 L3 Experimental Token Lists --- l3tl.sty 2010/12/18 v2103 L3 Experimental Token Lists 28c28 l3fp.sty 2010/11/25 v2092 L3 Experimental floating-point operations --- l3fp.sty 2010/12/18 v2104 L3 Experimental floating-point operations After updating to l3tl.sty 2010/12/18 v2103 L3 Experimental Token Lists l3fp.sty 2010/12/18 v2104 L3 Experimental floating-point operations I still get the correct output, with vinculum. That is indeed worrisome. I wonder whether it is machine specific: I am on an AMD 64 machine running Kubuntu Linux 10.04 with TeXLive 2010. I don't know whether this list allows attachments, but I have attached a cropped PDF file of my output to this reply in case it helps solve the problem. Chandra Howdy, Also no problem here with file list: article.cls2007/10/19 v1.4h Standard LaTeX document class size12.clo2007/10/19 v1.4h Standard LaTeX file (size option) fontspec.sty2010/11/17 v2.1e Advanced font selection for XeLaTeX/LuaLaTeX expl3.sty2010/11/13 v2083 L3 Experimental code bundle wrapper l3names.sty2010/10/03 v2064 L3 Experimental Naming Scheme for TeX Primitiv es etex.sty1998/03/26 v2.0 eTeX basic definition package (PEB) l3basics.sty2010/10/03 v2063 L3 Experimental basic definitions l3expan.sty2010/09/20 v2037 L3 Experimental Argument Expansion module l3tl.sty2010/12/18 v2103 L3 Experimental Token Lists l3int.sty2010/10/17 v2077 L3 Experimental Integer module l3quark.sty2010/09/20 v2036 L3 Experimental Quark Commands l3seq.sty2010/03/29 v1879 L3 Experimental sequences and stacks l3toks.sty2010/09/20 v2037 L3 Experimental Token Registers l3prg.sty2010/10/03 v2063 L3 Experimental control structures l3clist.sty2010/10/09 v2071 L3 Experimental comma separated lists l3token.sty2010/10/03 v2063 L3 Experimental token investigation and manipu lation l3prop.sty2010/11/23 v2087 L3 Experimental Property Lists l3msg.sty2010/10/02 v2052 L3 Experimental LaTeX Messages module l3io.sty2010/10/03 v2063 L3 Experimental i/o module l3skip.sty2010/11/23 v2088 L3 Experimental skip registers l3box.sty2010/09/26 v2048 L3 Experimental Box module l3keyval.sty2010/04/11 v1890 L3 Experimental keyval processing l3keys.sty2010/11/11 v2082 L3 Experimental key-value support l3precom.sty2010/02/09 v1793 L3 Experimental precompilation module l3xref.sty2010/02/09 v1786 L3 Experimental cross referencing l3file.sty2010/03/21 v1853 L3 Experimental file loading l3fp.sty2010/12/18 v2104 L3 Experimental floating-point operations l3luatex.sty2010/07/18 v1985 L3 Experimental LuaTeX functions calc.sty2007/08/22 v4.3 Infix arithmetic (KKT,FJ) xparse.sty2010/10/13 v2073 Generic document command parser xkeyval.sty2008/08/13 v2.6a package option processing (HA) xkeyval.tex2008/08/13 v2.6a key=value parser (HA) fontspec-patches.sty2010/11/17 v2.1e Advanced font selection for XeLaTeX/Lu aLaTeX fixltx2e.sty2006/09/13 v1.1m fixes to LaTeX fontenc.sty eu1enc.def2010/05/27 v0.1h Experimental Unicode font encodings eu1lmr.fd2009/10/30 v1.6 Font defs for Latin Modern xunicode.sty2010/11/06 v0.96 provides access to latin accents and many othe r characters in Unicode lower plane fontspec.cfg unicode-math.sty2010/09/27 v0.5b Unicode maths in XeLaTeX and LuaLaTeX ifxetex.sty2010/09/12 v0.6 Provides ifxetex conditional ifluatex.sty2010/03/01 v1.3 Provides the ifluatex switch (HO) l3keys2e.sty2010/10/13 v2076 Parsing LaTeX3 keyvals as LaTeX2e package opti ons catchfile.sty2010/04/28 v1.5 Catches the contents of a file (HO) infwarerr.sty2010/04/08 v1.3 Providing info/warning/message (HO) ltxcmds.sty2010/04/26 v1.7 LaTeX kernel commands for general use (HO) etexcmds.sty2010/01/28 v1.3 Prefix for e-TeX command names (HO) scrlfile.sty2009/03/25 v3.03 KOMA-Script package (loading files) unicode-math-table.tex (fully updated TeX Live 2010 on Mac) and Asana Math 000.928 (via TeX Live). My source file is %%!TEX TS-program = xelatex %%!TEX encoding = UTF-8 Unicode \listfiles \documentclass[a4paper,12pt]{article} \usepackage{fontspec} \usepackage{unicode-math} \setmathfont{Asana Math} \begin{document} $\frac{2\pi r}{r} = 2\pi$ \end{document} (the first two lines are read by TeXShop). Good Luck, Herb Schulz (herbs at wideopenwest dot com) -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Getting vinculum in fractions with Asana Math and unicode-math when compiled with xelatex
As a point of interest, Chandra, what do you get for : \documentclass[a4paper,12pt]{article} \usepackage{fontspec} \usepackage{unicode-math} \setmathfont{Asana Math} \begin{document} ${2\pi r \over r} = 2\pi$ \end{document} Philip Taylor -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Getting vinculum in fractions with Asana Math and unicode-math when compiled with xelatex
On Sat, Dec 25, 2010 at 12:05:50AM +0530, R (Chandra) Chandrasekhar wrote: On Friday 24 December 2010 11:53 PM, Peter Dyballa wrote: Am 24.12.2010 um 18:27 schrieb R (Chandra) Chandrasekhar: 10c10 l3tl.sty 2010/11/17 v2084 L3 Experimental Token Lists --- l3tl.sty 2010/12/18 v2103 L3 Experimental Token Lists 28c28 l3fp.sty 2010/11/25 v2092 L3 Experimental floating-point operations --- l3fp.sty 2010/12/18 v2104 L3 Experimental floating-point operations After updating to l3tl.sty 2010/12/18 v2103 L3 Experimental Token Lists l3fp.sty 2010/12/18 v2104 L3 Experimental floating-point operations I still get the correct output, with vinculum. That is indeed worrisome. I wonder whether it is machine specific: I am on an AMD 64 machine running Kubuntu Linux 10.04 with TeXLive 2010. I recall there were several issues with OpenType math in 64 bit xetex on linux, this might be one of them. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Getting vinculum in fractions with Asana Math and unicode-math when compiled with xelatex
On 25/12/2010, at 9:24 AM, Khaled Hosny wrote: That is indeed worrisome. I wonder whether it is machine specific: I am on an AMD 64 machine running Kubuntu Linux 10.04 with TeXLive 2010. I recall there were several issues with OpenType math in 64 bit xetex on linux, this might be one of them. Yes. There was a thread on this about 6 months ago, but on a different mailing list. From: Ulrik Vieth ulrik.vi...@arcor.de Subject:Re: [unimath] Unicode-math strange results Date: 8 June 2010 7:54:45 AM AEST To: unim...@googlegroups.com, Unicode-based TeX for Mac OS X and other platforms xetex@tug.org Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer Hope this helps, Ross Ross Moore ross.mo...@mq.edu.au Mathematics Department office: E7A-419 Macquarie University tel: +61 (0)2 9850 8955 Sydney, Australia 2109 fax: +61 (0)2 9850 8114 -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Getting vinculum in fractions with Asana Math and unicode-math when compiled with xelatex
** Khaled Hosny [2010-12-25 00:24:48 +0200]: On Sat, Dec 25, 2010 at 12:05:50AM +0530, R (Chandra) Chandrasekhar wrote: On Friday 24 December 2010 11:53 PM, Peter Dyballa wrote: Am 24.12.2010 um 18:27 schrieb R (Chandra) Chandrasekhar: 10c10 l3tl.sty 2010/11/17 v2084 L3 Experimental Token Lists --- l3tl.sty 2010/12/18 v2103 L3 Experimental Token Lists 28c28 l3fp.sty 2010/11/25 v2092 L3 Experimental floating-point operations --- l3fp.sty 2010/12/18 v2104 L3 Experimental floating-point operations After updating to l3tl.sty 2010/12/18 v2103 L3 Experimental Token Lists l3fp.sty 2010/12/18 v2104 L3 Experimental floating-point operations I still get the correct output, with vinculum. That is indeed worrisome. I wonder whether it is machine specific: I am on an AMD 64 machine running Kubuntu Linux 10.04 with TeXLive 2010. I recall there were several issues with OpenType math in 64 bit xetex on linux, this might be one of them. You are right Khaled. My system: Archlinux, x86_64 with texlive from distro and TL 2010. If I run xelatex from TL 2010 on the example I don't get the vinculum, lualatex gives it (I have had to change the Asana Math to Asana-Math.otf because the former doesn't work for me). If I run xelatex from distro texlive it gives the vinculum. The next I rename xetex in TL bin directory to xetex.orig and copy distro xetex to TL bin directory, regenerate format and run xelatex again. Now it gives the vinculum. Seems that this is a bug with xetex shipped by TL (may be something wrong with build environment?). I'll try to investigate problem further on this weekend. --- WBR, Vladimir Lomov -- Everyone who comes in here wants three things: 1. They want it quick. 2. They want it good. 3. They want it cheap. I tell 'em to pick two and call me back. -- sign on the back wall of a small printing company in Delaware -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Getting vinculum in fractions with Asana Math and unicode-math when compiled with xelatex
On Saturday 25 December 2010 12:37 AM, Philip Taylor (Webmaster, Ret'd) wrote: As a point of interest, Chandra, what do you get for : \documentclass[a4paper,12pt]{article} \usepackage{fontspec} \usepackage{unicode-math} \setmathfont{Asana Math} \begin{document} ${2\pi r \over r} = 2\pi$ \end{document} Philip Taylor I have compiled the above file with xelatex, but unfortunately with the same results as before. Chandra -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex