Re: [XeTeX] sporadic shifted underbrace error
I downloaded the 2013-02-24 version of xetex-w32.tar.xz from a w32tex.org mirror and installed xetex.exe (2013-02-24 09:40 AM). I used it to compile a 500+ page document. This time xetex.exe didn't crash and I didn't see any underbrace problems. Thank you to Khaled (xetex source code) and Akira (win32 build) for their hard work! Dan On Thu, Feb 21, 2013 at 12:26 PM, Khaled Hosny khaledho...@eglug.org wrote: On Thu, Feb 21, 2013 at 11:07:06AM +0800, Daniel Greenhoe wrote: On Thu, Feb 21, 2013 at 9:07 AM, Khaled Hosny khaledho...@eglug.org wrote: If you can send me the file(s) that caused the crash, I'll try to debug, most likely it is a bug I introduced. Then is it likely that the problem would show up on a Linux build of Linux as well, and not just on a win32 build? Probably yes. Regards, Khaled -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] sporadic shifted underbrace error
On Wed, Feb 20, 2013 at 07:31:08PM +0800, Daniel Greenhoe wrote: On Tue, Feb 12, 2013 at 6:48 PM, Khaled Hosny khaledho...@eglug.org wrote: I tried to cross compile XeTeX for Windows from my Linux machine, the resulting binary is here: http://www.khaledhosny.org/files/tmp/xetex.exe I don't know if it works or not, I didn't test it. I didn't find the courage to test this one :( It is essentially the same code as w32tex binary you end up using (minus some RTL code that shouldn't affect you anyway) :) However, when I tried to use it to typeset a 500+ page document, it crashed around page 204, and a window reported xetex.exe has stopped working Anyone have any suggestions of what I should try? If you can send me the file(s) that caused the crash, I'll try to debug, most likely it is a bug I introduced. Regards, Khaled -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] sporadic shifted underbrace error
On Thu, Feb 21, 2013 at 9:07 AM, Khaled Hosny khaledho...@eglug.org wrote: If you can send me the file(s) that caused the crash, I'll try to debug, most likely it is a bug I introduced. Then is it likely that the problem would show up on a Linux build of Linux as well, and not just on a win32 build? On Thu, Feb 21, 2013 at 9:07 AM, Khaled Hosny khaledho...@eglug.org wrote: On Wed, Feb 20, 2013 at 07:31:08PM +0800, Daniel Greenhoe wrote: On Tue, Feb 12, 2013 at 6:48 PM, Khaled Hosny khaledho...@eglug.org wrote: I tried to cross compile XeTeX for Windows from my Linux machine, the resulting binary is here: http://www.khaledhosny.org/files/tmp/xetex.exe I don't know if it works or not, I didn't test it. I didn't find the courage to test this one :( It is essentially the same code as w32tex binary you end up using (minus some RTL code that shouldn't affect you anyway) :) However, when I tried to use it to typeset a 500+ page document, it crashed around page 204, and a window reported xetex.exe has stopped working Anyone have any suggestions of what I should try? If you can send me the file(s) that caused the crash, I'll try to debug, most likely it is a bug I introduced. Regards, Khaled -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] sporadic shifted underbrace error
On Thu, Feb 21, 2013 at 11:07:06AM +0800, Daniel Greenhoe wrote: On Thu, Feb 21, 2013 at 9:07 AM, Khaled Hosny khaledho...@eglug.org wrote: If you can send me the file(s) that caused the crash, I'll try to debug, most likely it is a bug I introduced. Then is it likely that the problem would show up on a Linux build of Linux as well, and not just on a win32 build? Probably yes. Regards, Khaled -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] sporadic shifted underbrace error
On Fri, Feb 8, 2013 at 9:41 PM, Khaled Hosny khaledho...@eglug.org wrote: The issue is now fixed in git repository. On Sat, Feb 9, 2013 at 6:53 AM, Khaled Hosny khaledho...@eglug.org wrote: http://sourceforge.net/p/xetex/code/ This link references http://tug.org/texlive/build.html which lists Akira Kakuto as the builder for win32. Akira Kakuto apparently maintains http://w32tex.org/. As of 2013 February 11, the newest file in that repository is xetex-w32.tar.xz updated 2013 February 11 11:04am. However, in the change log for 2013 February 11 it says (04) xetex-w32.tar.xz Update libpoppler (0.22.1). A bug in the unicode-math is not fixed, because the fixed one contains rather large differences and it is under discussion. Does this mean that the fix by Khaled did not make it into the latest win32 binary? Would anyone happen to know when a fixed one might possibly be available? Dan But there are lots of new stuff, so bugs are expected. Use on your own. Regards, Khaled On Sat, Feb 09, 2013 at 05:15:16AM +0800, Daniel Greenhoe wrote: Is the git repository that you are using accessible only to the unicode-math developers, or to anyone with git software (http://git-scm.com/ or http://msysgit.github.com/ or ?) installed on their machine? On Fri, Feb 8, 2013 at 9:41 PM, Khaled Hosny khaledho...@eglug.org wrote: The issue is now fixed in git repository. Regards, Khaled On Fri, Feb 08, 2013 at 03:48:51AM +0200, Khaled Hosny wrote: Thanks for reproducing the issue. This is clearly an engine bug (unlike old TeX, the over/under braces are handled solely by the engine not constructed by macros). I’ll try to debug this now it is reproducible, but whatever fix I can come up with will not be available before the next XeTeX release (TeX Live 2013), so It won’t solve your immediate problem, sorry. Regards, Khaled On Wed, Feb 06, 2013 at 12:50:17PM +0800, Daniel Greenhoe wrote: Khaled, thanks for the great suggestion. I used an open type math font (xits-math.otf) and the problem now shows up multiple times. In the attached pdf, the shift occurs on pages 3, 8, 9, 10, 19, 21, 23, 28, 34, ... My setup includes these: \usepackage[no-config,no-math]{fontspec} % font selection for xelatex \usepackage{xunicode} % unicode character support \usepackage{amsmath} % AMS math package \usepackage{unicode-math}% unicode math support \unimathsetup{math-style=ISO,bold-style=ISO,vargreek-shape=TeX} \setmathfont{xits-math.otf} \setmathfont[range={\mathcal,\mathbfcal},StylisticSet=1]{xits-math.otf} Attached is a tex file and pdf output. Can anyone else reproduce the errors? Any suggestions? command line: xelatex underbrace Dan On Wed, Feb 6, 2013 at 11:43 AM, Khaled Hosny khaledho...@eglug.org wrote: I’ve seen this once with OpenType math fonts, but I wasn’t able to reproduce it again. Trying using the same fonts in your minimal example, since it is probably and OpenType math-only issue. Regards, Khaled On Wed, Feb 06, 2013 at 11:13:51AM +0800, Daniel Greenhoe wrote: I did make a quick minimal example (but not exactly the same as in the previous email) that uses the underbrace 1000 (?) times. But so far apparently no success in getting the problem to show itself again. If interested, please see attachments. Dan On Wed, Feb 6, 2013 at 10:32 AM, Daniel Greenhoe dgreen...@gmail.com wrote: For some time now I have been having *sporadic* problems with underbraces being shifted to the right by maybe 15mm or so. The problem is sporadic---it appears sometimes, but on the next compile may well have disappeared. The document I am currently working on contains several hundred pages. I can try to put together a minimal example...but that may be of limited use since it may be difficult to get the problem to show itself when I want it to show itself. So, before I do that, might anyone have an idea of what might be the problem? There is a screen capture of a shift. The right underbrace has been shifted far to the right. It should be like the underbrace on the left. Here is my current underbrace macro: \newcommand{\mcom}[3][c]{\ensuremath{% \begin{array}[t]{#1}% \underbrace{#2}\\% \text{\addfontfeatures{Color=mcom}\scriptsize{#3}}% \end{array}% }}% The color mcom is simply defined liked this: \definecolor{mcom} {cmyk}{0,0,0,1} The \mcom macro can be used something like this: \[ \mcom{\sin^2(x)+\cos^2(x)=1}{this is a trig. identity} \] I am compiling with XeLaTeX from a TeXlive distribution. Any ideas? Many thanks in advance, Dan
Re: [XeTeX] sporadic shifted underbrace error
On Tue, Feb 12, 2013 at 11:05 AM, Daniel Greenhoe dgreen...@gmail.com wrote: Does this mean that the fix by Khaled did not make it into the latest win32 binary? Would anyone happen to know when a fixed one might possibly be available? P.S. Sorry for all the whining. Dan On Tue, Feb 12, 2013 at 11:05 AM, Daniel Greenhoe dgreen...@gmail.com wrote: On Fri, Feb 8, 2013 at 9:41 PM, Khaled Hosny khaledho...@eglug.org wrote: The issue is now fixed in git repository. On Sat, Feb 9, 2013 at 6:53 AM, Khaled Hosny khaledho...@eglug.org wrote: http://sourceforge.net/p/xetex/code/ This link references http://tug.org/texlive/build.html which lists Akira Kakuto as the builder for win32. Akira Kakuto apparently maintains http://w32tex.org/. As of 2013 February 11, the newest file in that repository is xetex-w32.tar.xz updated 2013 February 11 11:04am. However, in the change log for 2013 February 11 it says (04) xetex-w32.tar.xz Update libpoppler (0.22.1). A bug in the unicode-math is not fixed, because the fixed one contains rather large differences and it is under discussion. Does this mean that the fix by Khaled did not make it into the latest win32 binary? Would anyone happen to know when a fixed one might possibly be available? Dan But there are lots of new stuff, so bugs are expected. Use on your own. Regards, Khaled On Sat, Feb 09, 2013 at 05:15:16AM +0800, Daniel Greenhoe wrote: Is the git repository that you are using accessible only to the unicode-math developers, or to anyone with git software (http://git-scm.com/ or http://msysgit.github.com/ or ?) installed on their machine? On Fri, Feb 8, 2013 at 9:41 PM, Khaled Hosny khaledho...@eglug.org wrote: The issue is now fixed in git repository. Regards, Khaled On Fri, Feb 08, 2013 at 03:48:51AM +0200, Khaled Hosny wrote: Thanks for reproducing the issue. This is clearly an engine bug (unlike old TeX, the over/under braces are handled solely by the engine not constructed by macros). I’ll try to debug this now it is reproducible, but whatever fix I can come up with will not be available before the next XeTeX release (TeX Live 2013), so It won’t solve your immediate problem, sorry. Regards, Khaled On Wed, Feb 06, 2013 at 12:50:17PM +0800, Daniel Greenhoe wrote: Khaled, thanks for the great suggestion. I used an open type math font (xits-math.otf) and the problem now shows up multiple times. In the attached pdf, the shift occurs on pages 3, 8, 9, 10, 19, 21, 23, 28, 34, ... My setup includes these: \usepackage[no-config,no-math]{fontspec} % font selection for xelatex \usepackage{xunicode} % unicode character support \usepackage{amsmath} % AMS math package \usepackage{unicode-math}% unicode math support \unimathsetup{math-style=ISO,bold-style=ISO,vargreek-shape=TeX} \setmathfont{xits-math.otf} \setmathfont[range={\mathcal,\mathbfcal},StylisticSet=1]{xits-math.otf} Attached is a tex file and pdf output. Can anyone else reproduce the errors? Any suggestions? command line: xelatex underbrace Dan On Wed, Feb 6, 2013 at 11:43 AM, Khaled Hosny khaledho...@eglug.org wrote: I’ve seen this once with OpenType math fonts, but I wasn’t able to reproduce it again. Trying using the same fonts in your minimal example, since it is probably and OpenType math-only issue. Regards, Khaled On Wed, Feb 06, 2013 at 11:13:51AM +0800, Daniel Greenhoe wrote: I did make a quick minimal example (but not exactly the same as in the previous email) that uses the underbrace 1000 (?) times. But so far apparently no success in getting the problem to show itself again. If interested, please see attachments. Dan On Wed, Feb 6, 2013 at 10:32 AM, Daniel Greenhoe dgreen...@gmail.com wrote: For some time now I have been having *sporadic* problems with underbraces being shifted to the right by maybe 15mm or so. The problem is sporadic---it appears sometimes, but on the next compile may well have disappeared. The document I am currently working on contains several hundred pages. I can try to put together a minimal example...but that may be of limited use since it may be difficult to get the problem to show itself when I want it to show itself. So, before I do that, might anyone have an idea of what might be the problem? There is a screen capture of a shift. The right underbrace has been shifted far to the right. It should be like the underbrace on the left. Here is my current underbrace macro: \newcommand{\mcom}[3][c]{\ensuremath{% \begin{array}[t]{#1}% \underbrace{#2}\\% \text{\addfontfeatures{Color=mcom}\scriptsize{#3}}% \end{array}% }}%
Re: [XeTeX] sporadic shifted underbrace error
On Tue, Feb 12, 2013 at 11:05:16AM +0800, Daniel Greenhoe wrote: On Fri, Feb 8, 2013 at 9:41 PM, Khaled Hosny khaledho...@eglug.org wrote: The issue is now fixed in git repository. On Sat, Feb 9, 2013 at 6:53 AM, Khaled Hosny khaledho...@eglug.org wrote: http://sourceforge.net/p/xetex/code/ This link references http://tug.org/texlive/build.html which lists Akira Kakuto as the builder for win32. Akira Kakuto apparently maintains http://w32tex.org/. As of 2013 February 11, the newest file in that repository is xetex-w32.tar.xz updated 2013 February 11 11:04am. However, in the change log for 2013 February 11 it says (04) xetex-w32.tar.xz Update libpoppler (0.22.1). A bug in the unicode-math is not fixed, because the fixed one contains rather large differences and it is under discussion. Does this mean that the fix by Khaled did not make it into the latest win32 binary? Would anyone happen to know when a fixed one might possibly be available? AFAIK, no, because there is an issue with synctex now that prevents Akira from building the very latest XeTeX. Regards, Khaled -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] sporadic shifted underbrace error
Thanks for reproducing the issue. This is clearly an engine bug (unlike old TeX, the over/under braces are handled solely by the engine not constructed by macros). I’ll try to debug this now it is reproducible, but whatever fix I can come up with will not be available before the next XeTeX release (TeX Live 2013), so It won’t solve your immediate problem, sorry. Regards, Khaled On Wed, Feb 06, 2013 at 12:50:17PM +0800, Daniel Greenhoe wrote: Khaled, thanks for the great suggestion. I used an open type math font (xits-math.otf) and the problem now shows up multiple times. In the attached pdf, the shift occurs on pages 3, 8, 9, 10, 19, 21, 23, 28, 34, ... My setup includes these: \usepackage[no-config,no-math]{fontspec} % font selection for xelatex \usepackage{xunicode} % unicode character support \usepackage{amsmath} % AMS math package \usepackage{unicode-math}% unicode math support \unimathsetup{math-style=ISO,bold-style=ISO,vargreek-shape=TeX} \setmathfont{xits-math.otf} \setmathfont[range={\mathcal,\mathbfcal},StylisticSet=1]{xits-math.otf} Attached is a tex file and pdf output. Can anyone else reproduce the errors? Any suggestions? command line: xelatex underbrace Dan On Wed, Feb 6, 2013 at 11:43 AM, Khaled Hosny khaledho...@eglug.org wrote: I’ve seen this once with OpenType math fonts, but I wasn’t able to reproduce it again. Trying using the same fonts in your minimal example, since it is probably and OpenType math-only issue. Regards, Khaled On Wed, Feb 06, 2013 at 11:13:51AM +0800, Daniel Greenhoe wrote: I did make a quick minimal example (but not exactly the same as in the previous email) that uses the underbrace 1000 (?) times. But so far apparently no success in getting the problem to show itself again. If interested, please see attachments. Dan On Wed, Feb 6, 2013 at 10:32 AM, Daniel Greenhoe dgreen...@gmail.com wrote: For some time now I have been having *sporadic* problems with underbraces being shifted to the right by maybe 15mm or so. The problem is sporadic---it appears sometimes, but on the next compile may well have disappeared. The document I am currently working on contains several hundred pages. I can try to put together a minimal example...but that may be of limited use since it may be difficult to get the problem to show itself when I want it to show itself. So, before I do that, might anyone have an idea of what might be the problem? There is a screen capture of a shift. The right underbrace has been shifted far to the right. It should be like the underbrace on the left. Here is my current underbrace macro: \newcommand{\mcom}[3][c]{\ensuremath{% \begin{array}[t]{#1}% \underbrace{#2}\\% \text{\addfontfeatures{Color=mcom}\scriptsize{#3}}% \end{array}% }}% The color mcom is simply defined liked this: \definecolor{mcom} {cmyk}{0,0,0,1} The \mcom macro can be used something like this: \[ \mcom{\sin^2(x)+\cos^2(x)=1}{this is a trig. identity} \] I am compiling with XeLaTeX from a TeXlive distribution. Any ideas? Many thanks in advance, Dan -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex -- 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] sporadic shifted underbrace error
The issue is now fixed in git repository. Regards, Khaled On Fri, Feb 08, 2013 at 03:48:51AM +0200, Khaled Hosny wrote: Thanks for reproducing the issue. This is clearly an engine bug (unlike old TeX, the over/under braces are handled solely by the engine not constructed by macros). I’ll try to debug this now it is reproducible, but whatever fix I can come up with will not be available before the next XeTeX release (TeX Live 2013), so It won’t solve your immediate problem, sorry. Regards, Khaled On Wed, Feb 06, 2013 at 12:50:17PM +0800, Daniel Greenhoe wrote: Khaled, thanks for the great suggestion. I used an open type math font (xits-math.otf) and the problem now shows up multiple times. In the attached pdf, the shift occurs on pages 3, 8, 9, 10, 19, 21, 23, 28, 34, ... My setup includes these: \usepackage[no-config,no-math]{fontspec} % font selection for xelatex \usepackage{xunicode} % unicode character support \usepackage{amsmath} % AMS math package \usepackage{unicode-math}% unicode math support \unimathsetup{math-style=ISO,bold-style=ISO,vargreek-shape=TeX} \setmathfont{xits-math.otf} \setmathfont[range={\mathcal,\mathbfcal},StylisticSet=1]{xits-math.otf} Attached is a tex file and pdf output. Can anyone else reproduce the errors? Any suggestions? command line: xelatex underbrace Dan On Wed, Feb 6, 2013 at 11:43 AM, Khaled Hosny khaledho...@eglug.org wrote: I’ve seen this once with OpenType math fonts, but I wasn’t able to reproduce it again. Trying using the same fonts in your minimal example, since it is probably and OpenType math-only issue. Regards, Khaled On Wed, Feb 06, 2013 at 11:13:51AM +0800, Daniel Greenhoe wrote: I did make a quick minimal example (but not exactly the same as in the previous email) that uses the underbrace 1000 (?) times. But so far apparently no success in getting the problem to show itself again. If interested, please see attachments. Dan On Wed, Feb 6, 2013 at 10:32 AM, Daniel Greenhoe dgreen...@gmail.com wrote: For some time now I have been having *sporadic* problems with underbraces being shifted to the right by maybe 15mm or so. The problem is sporadic---it appears sometimes, but on the next compile may well have disappeared. The document I am currently working on contains several hundred pages. I can try to put together a minimal example...but that may be of limited use since it may be difficult to get the problem to show itself when I want it to show itself. So, before I do that, might anyone have an idea of what might be the problem? There is a screen capture of a shift. The right underbrace has been shifted far to the right. It should be like the underbrace on the left. Here is my current underbrace macro: \newcommand{\mcom}[3][c]{\ensuremath{% \begin{array}[t]{#1}% \underbrace{#2}\\% \text{\addfontfeatures{Color=mcom}\scriptsize{#3}}% \end{array}% }}% The color mcom is simply defined liked this: \definecolor{mcom} {cmyk}{0,0,0,1} The \mcom macro can be used something like this: \[ \mcom{\sin^2(x)+\cos^2(x)=1}{this is a trig. identity} \] I am compiling with XeLaTeX from a TeXlive distribution. Any ideas? Many thanks in advance, Dan -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex -- 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] sporadic shifted underbrace error
Is the git repository that you are using accessible only to the unicode-math developers, or to anyone with git software (http://git-scm.com/ or http://msysgit.github.com/ or ?) installed on their machine? On Fri, Feb 8, 2013 at 9:41 PM, Khaled Hosny khaledho...@eglug.org wrote: The issue is now fixed in git repository. Regards, Khaled On Fri, Feb 08, 2013 at 03:48:51AM +0200, Khaled Hosny wrote: Thanks for reproducing the issue. This is clearly an engine bug (unlike old TeX, the over/under braces are handled solely by the engine not constructed by macros). I’ll try to debug this now it is reproducible, but whatever fix I can come up with will not be available before the next XeTeX release (TeX Live 2013), so It won’t solve your immediate problem, sorry. Regards, Khaled On Wed, Feb 06, 2013 at 12:50:17PM +0800, Daniel Greenhoe wrote: Khaled, thanks for the great suggestion. I used an open type math font (xits-math.otf) and the problem now shows up multiple times. In the attached pdf, the shift occurs on pages 3, 8, 9, 10, 19, 21, 23, 28, 34, ... My setup includes these: \usepackage[no-config,no-math]{fontspec} % font selection for xelatex \usepackage{xunicode} % unicode character support \usepackage{amsmath} % AMS math package \usepackage{unicode-math}% unicode math support \unimathsetup{math-style=ISO,bold-style=ISO,vargreek-shape=TeX} \setmathfont{xits-math.otf} \setmathfont[range={\mathcal,\mathbfcal},StylisticSet=1]{xits-math.otf} Attached is a tex file and pdf output. Can anyone else reproduce the errors? Any suggestions? command line: xelatex underbrace Dan On Wed, Feb 6, 2013 at 11:43 AM, Khaled Hosny khaledho...@eglug.org wrote: I’ve seen this once with OpenType math fonts, but I wasn’t able to reproduce it again. Trying using the same fonts in your minimal example, since it is probably and OpenType math-only issue. Regards, Khaled On Wed, Feb 06, 2013 at 11:13:51AM +0800, Daniel Greenhoe wrote: I did make a quick minimal example (but not exactly the same as in the previous email) that uses the underbrace 1000 (?) times. But so far apparently no success in getting the problem to show itself again. If interested, please see attachments. Dan On Wed, Feb 6, 2013 at 10:32 AM, Daniel Greenhoe dgreen...@gmail.com wrote: For some time now I have been having *sporadic* problems with underbraces being shifted to the right by maybe 15mm or so. The problem is sporadic---it appears sometimes, but on the next compile may well have disappeared. The document I am currently working on contains several hundred pages. I can try to put together a minimal example...but that may be of limited use since it may be difficult to get the problem to show itself when I want it to show itself. So, before I do that, might anyone have an idea of what might be the problem? There is a screen capture of a shift. The right underbrace has been shifted far to the right. It should be like the underbrace on the left. Here is my current underbrace macro: \newcommand{\mcom}[3][c]{\ensuremath{% \begin{array}[t]{#1}% \underbrace{#2}\\% \text{\addfontfeatures{Color=mcom}\scriptsize{#3}}% \end{array}% }}% The color mcom is simply defined liked this: \definecolor{mcom} {cmyk}{0,0,0,1} The \mcom macro can be used something like this: \[ \mcom{\sin^2(x)+\cos^2(x)=1}{this is a trig. identity} \] I am compiling with XeLaTeX from a TeXlive distribution. Any ideas? Many thanks in advance, Dan -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex -- 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] sporadic shifted underbrace error
http://sourceforge.net/p/xetex/code/ But there are lots of new stuff, so bugs are expected. Use on your own. Regards, Khaled On Sat, Feb 09, 2013 at 05:15:16AM +0800, Daniel Greenhoe wrote: Is the git repository that you are using accessible only to the unicode-math developers, or to anyone with git software (http://git-scm.com/ or http://msysgit.github.com/ or ?) installed on their machine? On Fri, Feb 8, 2013 at 9:41 PM, Khaled Hosny khaledho...@eglug.org wrote: The issue is now fixed in git repository. Regards, Khaled On Fri, Feb 08, 2013 at 03:48:51AM +0200, Khaled Hosny wrote: Thanks for reproducing the issue. This is clearly an engine bug (unlike old TeX, the over/under braces are handled solely by the engine not constructed by macros). I’ll try to debug this now it is reproducible, but whatever fix I can come up with will not be available before the next XeTeX release (TeX Live 2013), so It won’t solve your immediate problem, sorry. Regards, Khaled On Wed, Feb 06, 2013 at 12:50:17PM +0800, Daniel Greenhoe wrote: Khaled, thanks for the great suggestion. I used an open type math font (xits-math.otf) and the problem now shows up multiple times. In the attached pdf, the shift occurs on pages 3, 8, 9, 10, 19, 21, 23, 28, 34, ... My setup includes these: \usepackage[no-config,no-math]{fontspec} % font selection for xelatex \usepackage{xunicode} % unicode character support \usepackage{amsmath} % AMS math package \usepackage{unicode-math}% unicode math support \unimathsetup{math-style=ISO,bold-style=ISO,vargreek-shape=TeX} \setmathfont{xits-math.otf} \setmathfont[range={\mathcal,\mathbfcal},StylisticSet=1]{xits-math.otf} Attached is a tex file and pdf output. Can anyone else reproduce the errors? Any suggestions? command line: xelatex underbrace Dan On Wed, Feb 6, 2013 at 11:43 AM, Khaled Hosny khaledho...@eglug.org wrote: I’ve seen this once with OpenType math fonts, but I wasn’t able to reproduce it again. Trying using the same fonts in your minimal example, since it is probably and OpenType math-only issue. Regards, Khaled On Wed, Feb 06, 2013 at 11:13:51AM +0800, Daniel Greenhoe wrote: I did make a quick minimal example (but not exactly the same as in the previous email) that uses the underbrace 1000 (?) times. But so far apparently no success in getting the problem to show itself again. If interested, please see attachments. Dan On Wed, Feb 6, 2013 at 10:32 AM, Daniel Greenhoe dgreen...@gmail.com wrote: For some time now I have been having *sporadic* problems with underbraces being shifted to the right by maybe 15mm or so. The problem is sporadic---it appears sometimes, but on the next compile may well have disappeared. The document I am currently working on contains several hundred pages. I can try to put together a minimal example...but that may be of limited use since it may be difficult to get the problem to show itself when I want it to show itself. So, before I do that, might anyone have an idea of what might be the problem? There is a screen capture of a shift. The right underbrace has been shifted far to the right. It should be like the underbrace on the left. Here is my current underbrace macro: \newcommand{\mcom}[3][c]{\ensuremath{% \begin{array}[t]{#1}% \underbrace{#2}\\% \text{\addfontfeatures{Color=mcom}\scriptsize{#3}}% \end{array}% }}% The color mcom is simply defined liked this: \definecolor{mcom} {cmyk}{0,0,0,1} The \mcom macro can be used something like this: \[ \mcom{\sin^2(x)+\cos^2(x)=1}{this is a trig. identity} \] I am compiling with XeLaTeX from a TeXlive distribution. Any ideas? Many thanks in advance, Dan -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex -- Subscriptions, Archive, and List information,
Re: [XeTeX] sporadic shifted underbrace error
Thanks for all your hard work! Dan On Sat, Feb 9, 2013 at 6:53 AM, Khaled Hosny khaledho...@eglug.org wrote: http://sourceforge.net/p/xetex/code/ But there are lots of new stuff, so bugs are expected. Use on your own. Regards, Khaled On Sat, Feb 09, 2013 at 05:15:16AM +0800, Daniel Greenhoe wrote: Is the git repository that you are using accessible only to the unicode-math developers, or to anyone with git software (http://git-scm.com/ or http://msysgit.github.com/ or ?) installed on their machine? On Fri, Feb 8, 2013 at 9:41 PM, Khaled Hosny khaledho...@eglug.org wrote: The issue is now fixed in git repository. Regards, Khaled On Fri, Feb 08, 2013 at 03:48:51AM +0200, Khaled Hosny wrote: Thanks for reproducing the issue. This is clearly an engine bug (unlike old TeX, the over/under braces are handled solely by the engine not constructed by macros). I’ll try to debug this now it is reproducible, but whatever fix I can come up with will not be available before the next XeTeX release (TeX Live 2013), so It won’t solve your immediate problem, sorry. Regards, Khaled On Wed, Feb 06, 2013 at 12:50:17PM +0800, Daniel Greenhoe wrote: Khaled, thanks for the great suggestion. I used an open type math font (xits-math.otf) and the problem now shows up multiple times. In the attached pdf, the shift occurs on pages 3, 8, 9, 10, 19, 21, 23, 28, 34, ... My setup includes these: \usepackage[no-config,no-math]{fontspec} % font selection for xelatex \usepackage{xunicode} % unicode character support \usepackage{amsmath} % AMS math package \usepackage{unicode-math}% unicode math support \unimathsetup{math-style=ISO,bold-style=ISO,vargreek-shape=TeX} \setmathfont{xits-math.otf} \setmathfont[range={\mathcal,\mathbfcal},StylisticSet=1]{xits-math.otf} Attached is a tex file and pdf output. Can anyone else reproduce the errors? Any suggestions? command line: xelatex underbrace Dan On Wed, Feb 6, 2013 at 11:43 AM, Khaled Hosny khaledho...@eglug.org wrote: I’ve seen this once with OpenType math fonts, but I wasn’t able to reproduce it again. Trying using the same fonts in your minimal example, since it is probably and OpenType math-only issue. Regards, Khaled On Wed, Feb 06, 2013 at 11:13:51AM +0800, Daniel Greenhoe wrote: I did make a quick minimal example (but not exactly the same as in the previous email) that uses the underbrace 1000 (?) times. But so far apparently no success in getting the problem to show itself again. If interested, please see attachments. Dan On Wed, Feb 6, 2013 at 10:32 AM, Daniel Greenhoe dgreen...@gmail.com wrote: For some time now I have been having *sporadic* problems with underbraces being shifted to the right by maybe 15mm or so. The problem is sporadic---it appears sometimes, but on the next compile may well have disappeared. The document I am currently working on contains several hundred pages. I can try to put together a minimal example...but that may be of limited use since it may be difficult to get the problem to show itself when I want it to show itself. So, before I do that, might anyone have an idea of what might be the problem? There is a screen capture of a shift. The right underbrace has been shifted far to the right. It should be like the underbrace on the left. Here is my current underbrace macro: \newcommand{\mcom}[3][c]{\ensuremath{% \begin{array}[t]{#1}% \underbrace{#2}\\% \text{\addfontfeatures{Color=mcom}\scriptsize{#3}}% \end{array}% }}% The color mcom is simply defined liked this: \definecolor{mcom} {cmyk}{0,0,0,1} The \mcom macro can be used something like this: \[ \mcom{\sin^2(x)+\cos^2(x)=1}{this is a trig. identity} \] I am compiling with XeLaTeX from a TeXlive distribution. Any ideas? Many thanks in advance, Dan -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex -- Subscriptions, Archive, and List information, etc.:
Re: [XeTeX] sporadic shifted underbrace error
I’ve seen this once with OpenType math fonts, but I wasn’t able to reproduce it again. Trying using the same fonts in your minimal example, since it is probably and OpenType math-only issue. Regards, Khaled On Wed, Feb 06, 2013 at 11:13:51AM +0800, Daniel Greenhoe wrote: I did make a quick minimal example (but not exactly the same as in the previous email) that uses the underbrace 1000 (?) times. But so far apparently no success in getting the problem to show itself again. If interested, please see attachments. Dan On Wed, Feb 6, 2013 at 10:32 AM, Daniel Greenhoe dgreen...@gmail.com wrote: For some time now I have been having *sporadic* problems with underbraces being shifted to the right by maybe 15mm or so. The problem is sporadic---it appears sometimes, but on the next compile may well have disappeared. The document I am currently working on contains several hundred pages. I can try to put together a minimal example...but that may be of limited use since it may be difficult to get the problem to show itself when I want it to show itself. So, before I do that, might anyone have an idea of what might be the problem? There is a screen capture of a shift. The right underbrace has been shifted far to the right. It should be like the underbrace on the left. Here is my current underbrace macro: \newcommand{\mcom}[3][c]{\ensuremath{% \begin{array}[t]{#1}% \underbrace{#2}\\% \text{\addfontfeatures{Color=mcom}\scriptsize{#3}}% \end{array}% }}% The color mcom is simply defined liked this: \definecolor{mcom} {cmyk}{0,0,0,1} The \mcom macro can be used something like this: \[ \mcom{\sin^2(x)+\cos^2(x)=1}{this is a trig. identity} \] I am compiling with XeLaTeX from a TeXlive distribution. Any ideas? Many thanks in advance, Dan -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex