Re: [XeTeX] Getting vinculum in fractions with Asana Math and unicode-math when compiled with xelatex

2011-01-05 Thread Will Robertson
On 2011-01-05 11:50:55 +1030, Paul Vojta 
vo...@math.berkeley.edu said:



I've attached a patch that fixes the problem, seems not to break anything
else, and seems reasonable.

It also fixes:

problems with segfaults with delimiters (xe-test-delim.tex)

problems with incorrect rendering of radicals (xe-test-sqrt.tex)

rendering problems with \overleftarrow in the expression
  \[\alpha+\varpi\Longrightarrow\uplus\overleftarrow{abc}\]


Fantastic, great work!

This has been a common problem over the last year or so. Are you able 
to get it into the main source repository or do you need someone else 
to apply it? (I don't *think* I have access to the XeTeX repository any 
more...)


Thanks,
Will




--
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

2011-01-05 Thread Paul Vojta
On Wed, Jan 05, 2011 at 06:54:42PM +1030, Will Robertson wrote:
 On 2011-01-05 11:50:55 +1030, Paul Vojta vo...@math.berkeley.edu
 said:
 
 I've attached a patch that fixes the problem, seems not to break anything
 else, and seems reasonable.
 
 It also fixes:
 
  problems with segfaults with delimiters (xe-test-delim.tex)
 
  problems with incorrect rendering of radicals (xe-test-sqrt.tex)
 
  rendering problems with \overleftarrow in the expression
\[\alpha+\varpi\Longrightarrow\uplus\overleftarrow{abc}\]
 
 Fantastic, great work!

Thank you!

 This has been a common problem over the last year or so. Are you
 able to get it into the main source repository or do you need
 someone else to apply it? (I don't *think* I have access to the
 XeTeX repository any more...)
 
 Thanks,
 Will

I don't have write access to the repository, so someone else will
have to apply the patch.

--Paul


--
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

2011-01-05 Thread ulrik . vieth
I already forwarded your patch to Karl (not sure if he is following this list).
He can at least get it into the texlive repository, even if no one else but 
Jonathan himself could get it into the xetex repository.

In any case: Thank you very much for finally resolving this issue, 
which has been troubling us for at least 6 months now. Great work!

Regards, Ulrik.

- Original Nachricht 
Von: Paul Vojta vo...@math.berkeley.edu
An:  Unicode-based TeX for Mac OS X and other platforms xetex@tug.org
Datum:   05.01.2011 21:47
Betreff: Re: [XeTeX] Getting vinculum in fractions with Asana Math and
 unicode-math when compiled with xelatex

 On Wed, Jan 05, 2011 at 06:54:42PM +1030, Will Robertson wrote:
  On 2011-01-05 11:50:55 +1030, Paul Vojta vo...@math.berkeley.edu
  said:
  
  I've attached a patch that fixes the problem, seems not to break
 anything
  else, and seems reasonable.
  
  It also fixes:
  
 problems with segfaults with delimiters (xe-test-delim.tex)
  
 problems with incorrect rendering of radicals (xe-test-sqrt.tex)
  
 rendering problems with \overleftarrow in the expression
   \[\alpha+\varpi\Longrightarrow\uplus\overleftarrow{abc}\]
  
  Fantastic, great work!
 
 Thank you!
 
  This has been a common problem over the last year or so. Are you
  able to get it into the main source repository or do you need
  someone else to apply it? (I don't *think* I have access to the
  XeTeX repository any more...)
  
  Thanks,
  Will
 
 I don't have write access to the repository, so someone else will
 have to apply the patch.
 
 --Paul
 
 
 --
 Subscriptions, Archive, and List information, etc.:
   http://tug.org/mailman/listinfo/xetex
 


--
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

2011-01-04 Thread Paul Vojta
On Sat, Jan 01, 2011 at 10:48:46PM +0100, Ulrik Vieth wrote:
 On 12/27/2010 08:37 AM, R (Chandra) Chandrasekhar wrote:
 
  A xetex bug report has been filed at:
 
  https://sourceforge.net/tracker/?func=detailaid=3145819group_id=194926atid=951385
 
 I have verified the issue on my machine, where I have both a 32-bit
 and 64-bit binary of xetex running on a 64-bit Linux system.
 
 With the same texmf tree (same versions of macros and fonts), I get 
 correct results on 32bit and incorrect results on 64bit binaries.

If I uncomment line 196 in xetexdir/XeTeXOTMath.cpp, then it prints out

math_ex(25, 8) returns 0.708

on a 32-bit system, and

math_ex(25, 8) returns 0.000

on a 64-bit system.

--Paul Vojta, vo...@math.berkeley.edu


--
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

2011-01-04 Thread Paul Vojta
On Tue, Jan 04, 2011 at 12:14:35AM -0800, Paul Vojta wrote:
 On Sat, Jan 01, 2011 at 10:48:46PM +0100, Ulrik Vieth wrote:
  On 12/27/2010 08:37 AM, R (Chandra) Chandrasekhar wrote:
  
   A xetex bug report has been filed at:
  
   https://sourceforge.net/tracker/?func=detailaid=3145819group_id=194926atid=951385
  
  I have verified the issue on my machine, where I have both a 32-bit
  and 64-bit binary of xetex running on a 64-bit Linux system.
  
  With the same texmf tree (same versions of macros and fonts), I get 
  correct results on 32bit and incorrect results on 64bit binaries.
 
 If I uncomment line 196 in xetexdir/XeTeXOTMath.cpp, then it prints out
 
   math_ex(25, 8) returns 0.708
 
 on a 32-bit system, and
 
   math_ex(25, 8) returns 0.000
 
 on a 64-bit system.
 
 --Paul Vojta, vo...@math.berkeley.edu

One more thing:

I found that this is occurring because the test on line 83 of
xetexdir/XeTeXOTMath.cpp is failing on 64-bit machines.  This line is the
line

if (fontarea[f] == OTGR_FONT_FLAG) {

in getotmathconstant().

On 64-bit machines, fontarea[f] == 0, instead of OTGR_FONT_FLAG(=65534).

--Paul Vojta, vo...@math.berkeley.edu


--
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

2011-01-04 Thread Paul Vojta
On Tue, Jan 04, 2011 at 12:36:10AM -0800, Paul Vojta wrote:
 On Tue, Jan 04, 2011 at 12:14:35AM -0800, Paul Vojta wrote:
  On Sat, Jan 01, 2011 at 10:48:46PM +0100, Ulrik Vieth wrote:
   On 12/27/2010 08:37 AM, R (Chandra) Chandrasekhar wrote:
   
A xetex bug report has been filed at:
   
https://sourceforge.net/tracker/?func=detailaid=3145819group_id=194926atid=951385
   
   I have verified the issue on my machine, where I have both a 32-bit
   and 64-bit binary of xetex running on a 64-bit Linux system.
   
   With the same texmf tree (same versions of macros and fonts), I get 
   correct results on 32bit and incorrect results on 64bit binaries.
  
  If I uncomment line 196 in xetexdir/XeTeXOTMath.cpp, then it prints out
  
  math_ex(25, 8) returns 0.708
  
  on a 32-bit system, and
  
  math_ex(25, 8) returns 0.000
  
  on a 64-bit system.
  
  --Paul Vojta, vo...@math.berkeley.edu
 
 One more thing:
 
 I found that this is occurring because the test on line 83 of
 xetexdir/XeTeXOTMath.cpp is failing on 64-bit machines.  This line is the
 line
 
   if (fontarea[f] == OTGR_FONT_FLAG) {
 
 in getotmathconstant().
 
 On 64-bit machines, fontarea[f] == 0, instead of OTGR_FONT_FLAG(=65534).
 
 --Paul Vojta, vo...@math.berkeley.edu

Bingo!

In xetex0.c, sizeof *fontarea == 4.  In xetexdir/XeTeXOTMath.cpp, it's 8.

Sounds like a header file problem.

--Paul Vojta, vo...@math.berkeley.edu


--
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

2011-01-01 Thread Ulrik Vieth

On 12/27/2010 08:37 AM, R (Chandra) Chandrasekhar wrote:


A xetex bug report has been filed at:

https://sourceforge.net/tracker/?func=detailaid=3145819group_id=194926atid=951385


I have verified the issue on my machine, where I have both a 32-bit
and 64-bit binary of xetex running on a 64-bit Linux system.

With the same texmf tree (same versions of macros and fonts), I get 
correct results on 32bit and incorrect results on 64bit binaries.


I have added some additional info to the tracker issue showing the 
results of \tracingoutput.


The disappearance of the fraction rule can be seen in this trace:

...\kern3.474
...\rule(0.708+0.0)x*
...\kern5.04199
vs.
...\kern0.2

In addition, I noticed another discrepancy in the tracing output:
The value of \thickmuskip became zero.

\glue(\thickmuskip) 3.33328 plus 3.33328
\EU1/Asana-Math.otf(0)/m/n/12 glyph#31
\penalty 500
\glue(\thickmuskip) 3.33328 plus 3.33328
vs
\glue(\thickmuskip) 0.0
\EU1/Asana-Math.otf(0)/m/n/12 glyph#31
\penalty 500
\glue(\thickmuskip) 0.0

Given the same versions of macros and fonts in the same texmf tree,
only the engine remains as a possible source of the problem.

Regards,
Ulrik


--
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

2010-12-25 Thread Philip Taylor (Webmaster, Ret'd)

OK, then I suspect that Khaled and Ross have already
identified the root cause of the problem (see below);
what happens if you (a) comment out the reference to
Asana Math, and (b) (a separate test) replace it
by a reference to a maths font that you have in
a format other than OpenType ?

Philip Taylor

R (Chandra) Chandrasekhar wrote:


I have compiled the above file with xelatex, but unfortunately with the
same results as before.

Chandra



Ross Moore wrote:


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.




--
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

2010-12-25 Thread Apostolos Syropoulos
 My guess is that, as  suggested by James Cloos, the problem resides in the 
unicode-math package for  64-bit machines when compiled with xelatex.


 I have tested your file with the 64-bit XeTeX on Solaris 11 and the horizontal 
line
is not there. On the other hand, the 32-bit binary produces correct output. 

a.s.

--
Apostolos Syropoulos
Xanthi, Greece



  


--
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

2010-12-25 Thread Khaled Hosny
On Sat, Dec 25, 2010 at 10:06:02PM +0530, R (Chandra) Chandrasekhar wrote:
 On Saturday 25 December 2010 03:27 PM, Philip Taylor (Webmaster,
 Ret'd) wrote:
 OK, then I suspect that Khaled and Ross have already
 identified the root cause of the problem (see below);
 what happens if you (a) comment out the reference to
 Asana Math,
 
 The result when \usepackage{Asana Math} is commented out is shown in
 non-asana-crop.pdf which is attached. The vinculum is present, but π
 is missing.
 
 When I replaced
 
 \usepackage{Asana Math}
 
 with another otf maths font via
 
 \usepackage{XITS Math}
 
 the result was the same as with Asana Math. So, it is not otf
 maths-font-specific.

Both fonts are OpenType math fonts, so unless it is a font bug it is
unlikely that there will be any difference.

 and (b) (a separate test) replace it
 by a reference to a maths font that you have in
 a format other than OpenType ?
 
 In this case, I need to load the euler maths font before fontspec to
 avoid a warning. With this file:
 
 \documentclass[a4paper,12pt]{article}
 \usepackage{euler}
 \usepackage{fontspec}
 \usepackage{unicode-math}

Currently, loading unicode-math without setting a math font (with
\setmathfont) is guaranteed *not* to work and you are unlikely to get
much useful output if not frank errors.

 \begin{document}
 \thispagestyle{empty}
 $\frac{2\pi r}{r} = 2\pi$
 \end{document}
 
 I get the output shown in euler-frac-crop.pdf which is also
 attached. Again, the vinculum is present, but π is missing.
 
 If I comment out \usepackage{unicode-math} above, I get the correct
 output as shown in euler-correct-crop.pdf.
 
 My guess is that, as suggested by James Cloos, the problem resides
 in the unicode-math package for 64-bit machines when compiled with
 xelatex.

It is related to xetex (xelatex) the engine and not much with
unicode-math package itself (AFAIK).

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


[XeTeX] Getting vinculum in fractions with Asana Math and unicode-math when compiled with xelatex

2010-12-24 Thread R (Chandra) Chandrasekhar

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

2010-12-24 Thread Peter Dyballa


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

2010-12-24 Thread Peter Dyballa


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

2010-12-24 Thread R (Chandra) Chandrasekhar

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

2010-12-24 Thread Philip Taylor (Webmaster, Ret'd)

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

2010-12-24 Thread Herbert Schulz

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

2010-12-24 Thread Philip Taylor (Webmaster, Ret'd)

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

2010-12-24 Thread Khaled Hosny
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

2010-12-24 Thread Ross Moore

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

2010-12-24 Thread Vladimir Lomov
** 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

2010-12-24 Thread R (Chandra) Chandrasekhar
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