[XeTeX] Math Problem and XeLaTeX

Bruno Voisin bvoisin at mac.com
Sat Mar 5 21:40:28 CET 2005


Le 5 mars 05, à 18:06, Herb Schulz a écrit :

> I just ran into a problem when using `\dot x' or `\ddot x' in math 
> mode and
> XeLaTeX. My preamble, besides the usual amsmath, etc., package loading 
> has
>
> \usepackage[expert,vargreek,lucidasmallscale]{lucbmath}
> \usepackage{fontspec}
> \usepackage{xunicode}
> \defaultfontfeatures{Mapping=tex-text}
> \setromanfont[Numbers=Lining,Scale=1.05]{Hoefler Text}
> \setsansfont[Scale=1.01]{Gill Sans}
> \setmonofont[Scale=0.84]{Verdana}
>
> and all seems be ok but the compile seems to hang after saying
>
> Output written on test.pdf (1 page).
> Transcript written on test.log.
>
> in the Console window; which seems to indicate that all went well. The 
> .pdf
> file is never really generated!

This is an indication the culprit is xdv2pdf, the converter from the 
extended DVI format XDV generated by XeTeX to the PDF format. I just 
reproduced the problem here. Looking in Console at console.log and 
system.log one sees

	crashdump: Started writing crash report to: 
/Users/brunovoisin/Library/Logs/CrashReporter/xdv2pdf.crash.log
	crashdump: Finished writing crash report to: 
/Users/brunovoisin/Library/Logs/CrashReporter/xdv2pdf.crash.log

and indeed there is a crach log report 
~/Library/Logs/CrashReporter/xdv2pdf.crash.log (appended at the end of 
this message).

> The text is:
>
> Here are ``dotted'' and ``ddotted'' \(x\)'s in math mode: \(\dot 
> x=\ddot
> x\). And now in displayed math mode:
> \[
> \dot x=\ddot x.
> \]
>
> Sigh...

It appears the problem is caused by the Lucida fonts: if the line

	\usepackage[expert,vargreek,lucidasmallscale]{lucbmath}

is commented out, the problem disappears.

It looks like there is an encoding issue, as in the final result (ie, 
after commenting out the above line) the math accents are not those 
expected:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image 1.pdf
Type: application/pdf
Size: 15224 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20050305/edc6b2b6/Image1-0001.pdf
-------------- next part --------------


Hope this helps,

Bruno Voisin


OS Version:     10.3.8 (Build 7U16)
Report Version: 2

Command: xdv2pdf
Path:    /usr/local/teTeX/bin/powerpc-apple-darwin-current/xdv2pdf
Version: ??? (???)
PID:     970
Thread:  0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x0000002c

Thread 0 Crashed:
0   libPDFRIP.A.dylib      	0x91b14b58 PDFFontShowGlyphs + 0
1   libPDFRIP.A.dylib      	0x91b13b08 PDFContentStreamDrawText + 0xdc
2   libPDFRIP.A.dylib      	0x91b13a14 pdf_DrawGlyphs + 0x44
3   com.apple.CoreGraphics 	0x935fa270 drawGlyphs + 0x94
4   com.apple.CoreGraphics 	0x935fb4e0 CGContextShowGlyphsWithAdvances  
+ 0xd0
5   xdv2pdf                	0x0000316c flushGlyphs() + 0x10c  
(xdv2pdf_main.c:213)
6   xdv2pdf                	0x000033d0 setchar(unsigned long, bool) +  
0x48 (xdv2pdf_main.c:213)
7   xdv2pdf                	0x0000aa34 process_one_page(__sFILE*) +  
0x6bc (xdv2pdf_main.c:213)
8   xdv2pdf                	0x0000c1a4 process_pages(__sFILE*) + 0x7c  
(xdv2pdf_main.c:213)
9   xdv2pdf                	0x0000cfc4 xdv2pdf + 0x8ac  
(xdv2pdf_main.c:213)
10  xdv2pdf                	0x00002210 _start + 0x188 (crt.c:267)
11  dyld                   	0x8fe1a558 _dyld_start + 0x64

PPC Thread State:
   srr0: 0x91b14b58 srr1: 0x0000f030                vrsave: 0x00000000
     cr: 0x44000444  xer: 0x20000004   lr: 0x91b13e50  ctr: 0x91b14b58
     r0: 0x91b13e50   r1: 0xbffff1c0   r2: 0x0004cca8   r3: 0x00000000
     r4: 0x0143a6b0   r5: 0x0004c4a8   r6: 0x00000001   r7: 0x80000000
     r8: 0x3dcccccd   r9: 0x00000004  r10: 0x00000000  r11: 0xa1b10170
    r12: 0x91b14b58  r13: 0x00000000  r14: 0x00000000  r15: 0x00000000
    r16: 0x00000000  r17: 0x00000000  r18: 0x00000000  r19: 0x00000000
    r20: 0x0004c4a8  r21: 0x0004cca8  r22: 0x00000000  r23: 0x01441110
    r24: 0x00000001  r25: 0xbffff220  r26: 0x0143a6b0  r27: 0x00000000
    r28: 0x00000001  r29: 0x01441114  r30: 0x00000000  r31: 0x91b13b38

Binary Images Description:
     0x1000 -    0x4bfff xdv2pdf 	xdv2pdf
0x76c02000 - 0x76c12fff com.apple.Accelerate.vecLib 3.0.3 (vecLib  
3.0.3)	/System/Library/Frameworks/Accelerate.framework/Versions/A/ 
Frameworks/vecLib.framework/Versions/A/vecLib
0x77fcd000 - 0x77feffff libCFilter.A.dylib  
	/System/Library//Frameworks/ApplicationServices.framework/Versions/A/ 
Frameworks/CoreGraphics.framework/Resources/libCFilter.A.dylib
0x88100000 - 0x88236fff com.apple.vImage 1.0.0  
(1.2.0)	/System/Library/Frameworks/Accelerate.framework/Versions/A/ 
Frameworks/vImage.framework/Versions/A/vImage
0x8fc90000 - 0x8fc90fff com.apple.Accelerate 1.0.3 (Accelerate  
1.0.3)	/System/Library/Frameworks/Accelerate.framework/Versions/A/ 
Accelerate
0x8fe00000 - 0x8fe4ffff dyld 	/usr/lib/dyld
0x90000000 - 0x90122fff libSystem.B.dylib 	/usr/lib/libSystem.B.dylib
0x90190000 - 0x9023dfff com.apple.CoreFoundation 6.3.6  
(299.33)	/System/Library/Frameworks/CoreFoundation.framework/Versions/ 
A/CoreFoundation
0x90280000 - 0x904f9fff com.apple.CoreServices.CarbonCore 10.3.6  
(10.3.5)	/System/Library/Frameworks/CoreServices.framework/Versions/A/ 
Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90570000 - 0x905dffff com.apple.framework.IOKit 1.3.6  
(???)	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90610000 - 0x9069afff com.apple.CoreServices.OSServices  
3.0.1	/System/Library/Frameworks/CoreServices.framework/Versions/A/ 
Frameworks/OSServices.framework/Versions/A/OSServices
0x90700000 - 0x90700fff com.apple.CoreServices 10.3  
(???)	/System/Library/Frameworks/CoreServices.framework/Versions/A/ 
CoreServices
0x90720000 - 0x90787fff com.apple.audio.CoreAudio  
2.1.2	/System/Library/Frameworks/CoreAudio.framework/Versions/A/ 
CoreAudio
0x907f0000 - 0x907f9fff com.apple.DiskArbitration  
2.0.4	/System/Library/PrivateFrameworks/DiskArbitration.framework/ 
Versions/A/DiskArbitration
0x90810000 - 0x90810fff com.apple.ApplicationServices 1.0  
(???)	/System/Library/Frameworks/ApplicationServices.framework/ 
Versions/A/ApplicationServices
0x90910000 - 0x90983fff com.apple.DesktopServices  
1.2.3	/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/ 
Versions/A/DesktopServicesPriv
0x90d00000 - 0x90d1bfff com.apple.SystemConfiguration 1.7.1  
(???)	/System/Library/Frameworks/SystemConfiguration.framework/ 
Versions/A/SystemConfiguration
0x90d40000 - 0x90d40fff com.apple.Carbon 10.3  
(???)	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x910b0000 - 0x91101fff com.apple.bom 1.2.5  
(63.2)	/System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x912a0000 - 0x912bdfff com.apple.audio.SoundManager  
3.8	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ 
CarbonSound.framework/Versions/A/CarbonSound
0x912e0000 - 0x912f7fff com.apple.LangAnalysis  
1.5.4	/System/Library/Frameworks/ApplicationServices.framework/ 
Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x91320000 - 0x913dffff ColorSync  
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ 
Frameworks/ColorSync.framework/Versions/A/ColorSync
0x91460000 - 0x91473fff com.apple.speech.synthesis.framework  
3.2	/System/Library/Frameworks/ApplicationServices.framework/Versions/ 
A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x914a0000 - 0x91509fff com.apple.htmlrendering  
1.1.2	/System/Library/Frameworks/Carbon.framework/Versions/A/ 
Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x91560000 - 0x91619fff com.apple.QD 3.4.65  
(???)	/System/Library/Frameworks/ApplicationServices.framework/ 
Versions/A/Frameworks/QD.framework/Versions/A/QD
0x91670000 - 0x916a8fff com.apple.AE  
1.4	/System/Library/Frameworks/ApplicationServices.framework/Versions/ 
A/Frameworks/AE.framework/Versions/A/AE
0x916e0000 - 0x91773fff com.apple.print.framework.PrintCore  
3.3	/System/Library/Frameworks/ApplicationServices.framework/Versions/ 
A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x917e0000 - 0x917f0fff com.apple.speech.recognition.framework  
3.3	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ 
SpeechRecognition.framework/Versions/A/SpeechRecognition
0x91810000 - 0x9182afff com.apple.openscripting 1.2.1  
(???)	/System/Library/Frameworks/Carbon.framework/Versions/A/ 
Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x91850000 - 0x91860fff com.apple.ImageCapture  
2.1.5	/System/Library/Frameworks/Carbon.framework/Versions/A/ 
Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x91890000 - 0x9189cfff com.apple.help  
1.0.1	/System/Library/Frameworks/Carbon.framework/Versions/A/ 
Frameworks/Help.framework/Versions/A/Help
0x918c0000 - 0x918cdfff com.apple.CommonPanels 1.2.1  
(1.0)	/System/Library/Frameworks/Carbon.framework/Versions/A/ 
Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x918f0000 - 0x9193efff com.apple.print.framework.Print  
3.3	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ 
Print.framework/Versions/A/Print
0x91990000 - 0x9199bfff com.apple.securityhi 1.2  
(90)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ 
SecurityHI.framework/Versions/A/SecurityHI
0x919c0000 - 0x91a33fff com.apple.NavigationServices  
3.3.2	/System/Library/Frameworks/Carbon.framework/Versions/A/ 
Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x91ab0000 - 0x91ac4fff libCGATS.A.dylib  
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ 
Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x91ae0000 - 0x91aebfff libCSync.A.dylib  
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ 
Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x91b10000 - 0x91b2afff libPDFRIP.A.dylib  
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ 
Frameworks/CoreGraphics.framework/Versions/A/Resources/ 
libPDFRIP.A.dylib
0x91b50000 - 0x91b5ffff libPSRIP.A.dylib  
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ 
Frameworks/CoreGraphics.framework/Versions/A/Resources/libPSRIP.A.dylib
0x91b80000 - 0x91b93fff libRIP.A.dylib  
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ 
Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x91bb0000 - 0x91d45fff com.apple.QuickTime  
6.5.2	/System/Library/Frameworks/QuickTime.framework/Versions/A/ 
QuickTime
0x92070000 - 0x92096fff com.apple.FindByContent 1.4  
(1.2)	/System/Library/Frameworks/ApplicationServices.framework/ 
Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
0x920c0000 - 0x922a7fff com.apple.security 2.4  
(177)	/System/Library/Frameworks/Security.framework/Versions/A/Security
0x92430000 - 0x92468fff com.apple.LaunchServices 10.3.5  
(98.4)	/System/Library/Frameworks/ApplicationServices.framework/ 
Versions/A/Frameworks/LaunchServices.framework/Versions/A/ 
LaunchServices
0x92740000 - 0x92777fff com.apple.CFNetwork 1.2.1  
(7)	/System/Library/Frameworks/CoreServices.framework/Versions/A/ 
Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x927d0000 - 0x92b54fff com.apple.HIToolbox 1.3.5  
(???)	/System/Library/Frameworks/Carbon.framework/Versions/A/ 
Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x92d30000 - 0x92d80fff com.apple.HIServices 1.4.1  
(0.0.1d1)	/System/Library/Frameworks/ApplicationServices.framework/ 
Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x935d0000 - 0x938a8fff com.apple.CoreGraphics 1.203.30  
(???)	/System/Library/Frameworks/ApplicationServices.framework/ 
Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x939a0000 - 0x939b4fff libcups.2.dylib 	/usr/lib/libcups.2.dylib
0x939d0000 - 0x939d4fff libmathCommon.A.dylib  
	/usr/lib/system/libmathCommon.A.dylib
0x94060000 - 0x94078fff com.apple.WebServices 1.1.1  
(1.1.0)	/System/Library/Frameworks/CoreServices.framework/Versions/A/ 
Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0x945b0000 - 0x945b9fff libz.1.dylib 	/usr/lib/libz.1.dylib
0x94610000 - 0x9462afff libresolv.9.dylib 	/usr/lib/libresolv.9.dylib
0x94650000 - 0x946affff com.apple.SearchKit  
1.0.2	/System/Library/Frameworks/CoreServices.framework/Versions/A/ 
Frameworks/SearchKit.framework/Versions/A/SearchKit
0x94b20000 - 0x94badfff com.apple.ink.framework 101.1.3  
(55.10)	/System/Library/Frameworks/Carbon.framework/Versions/A/ 
Frameworks/Ink.framework/Versions/A/Ink
0x954c0000 - 0x95ac6fff libBLAS.dylib  
	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ 
vecLib.framework/Versions/A/libBLAS.dylib
0x95b20000 - 0x95df0fff libLAPACK.dylib  
	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ 
vecLib.framework/Versions/A/libLAPACK.dylib
0x95e40000 - 0x95eadfff libvDSP.dylib  
	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ 
vecLib.framework/Versions/A/libvDSP.dylib
0x95f00000 - 0x95f20fff libvMisc.dylib  
	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ 
vecLib.framework/Versions/A/libvMisc.dylib
0x968d0000 - 0x969b2fff libicucore.A.dylib 	/usr/lib/libicucore.A.dylib
0x96a20000 - 0x96ae2fff libcrypto.0.9.7.dylib  
	/usr/lib/libcrypto.0.9.7.dylib
0x96b40000 - 0x96b6efff libssl.0.9.7.dylib 	/usr/lib/libssl.0.9.7.dylib
0x96bf0000 - 0x96c7ffff ATS  
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ 
Frameworks/ATS.framework/Versions/A/ATS
0x97510000 - 0x97518fff libbsm.dylib 	/usr/lib/libbsm.dylib


More information about the XeTeX mailing list