JACoW-org / JACoW_Templates

10 stars 10 forks source link

Template compile failed #7

Closed CuteCurry closed 7 months ago

CuteCurry commented 7 months ago

Hi, I am using the miktex 24.1 and texstudio, however, I can not compile this template correctly. Can someone help to give me some hints?

below is the error message.

jacow.cls: error: : Package fontspec Error: jacow.cls: error: : Package fontspec Error: jacow.cls: error: : Package fontspec Error: jacow.cls: error: : Package fontspec Error: jacow.cls: error: : Package fontspec Error: jacow.cls: error: : Package fontspec Error: jacow.cls: error: 398: Font \TU/TeXGyreTermes(0)/m/n/10=name:TeX Gyre Termes:mode=node;language=dflt;+tlig; at 10pt not loadable: metric data not found or bad. } jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Font \TU/TeXGyreTermesMath(0)/m/n/10=name:TeX Gyre Termes Math:mode=base;scripfound or bad. jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Font \TU/TeXGyreTermesMath(1)/m/n/10=name:TeX Gyre Termes Math:mode=base;scripfound or bad. jacow.cls: error: 399: Font \TU/TeXGyreTermesMath(1)/m/n/7=name:TeX Gyre Termes Math:mode=base;scriptund or bad. jacow.cls: error: 399: Font \TU/TeXGyreTermesMath(1)/m/n/5=name:TeX Gyre Termes Math:mode=base;scriptund or bad. jacow.cls: warning: : (fontspec) Script 'Math' not explicitly supported within font(fontspec) 'TeX Gyre Termes Math'. Check the typeset output,(fontspec) and if it is okay then ignore this warning. jacow.cls: warning: : The first font loaded by unicode-math must be an(unicode-math) OpenType Math font (with script=math). If you(unicode-math) simply want ‘the default’ before loading(unicode-math) supplementary fonts over the top for certain(unicode-math) ranges, use: (unicode-math) \setmathfont{latinmodern-math.otf} jacow.cls: warning: : (fontspec) Script 'Math' not explicitly supported within font(fontspec) 'TeX Gyre Termes Math'. Check the typeset output,(fontspec) and if it is okay then ignore this warning. jacow.cls: warning: : (fontspec) OpenType feature 'Style=MathScript' (ssty) not(fontspec) available for font 'TeX Gyre Termes Math' with(fontspec) script 'Math' and language 'Default'. jacow.cls: warning: : (fontspec) OpenType feature 'Style=MathScriptScript' (ssty) not(fontspec) available for font 'TeX Gyre Termes Math' with(fontspec) script 'Math' and language 'Default'.

vrws commented 7 months ago

Dear Qiang,

can you please provide a ZIP file of your sources so I can check where the problem is? Please send it to my email address: @.***

Cheers, Volker -- Volker RW Schaa @.*** JACoW Publishing http://www.jacow.org Editorial Board & JACoW Repository

On 01/05/2024 13:21, Qiang Gao wrote:

Hi, I am using the miktex 24.1 and texstudio, however, I can not compile this template correctly. Can someone help to give me some hints?

below is the error message.

jacow.cls: error: : Package fontspec Error: jacow.cls: error: : Package fontspec Error: jacow.cls: error: : Package fontspec Error: jacow.cls: error: : Package fontspec Error: jacow.cls: error: : Package fontspec Error: jacow.cls: error: : Package fontspec Error: jacow.cls: error: 398: Font \TU/TeXGyreTermes(0)/m/n/10=name:TeX Gyre Termes:mode=node;language=dflt;+tlig; at 10pt not loadable: metric data not found or bad. } jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Font \TU/TeXGyreTermesMath(0)/m/n/10=name:TeX Gyre Termes Math:mode=base;scripfound or bad. jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Font \TU/TeXGyreTermesMath(1)/m/n/10=name:TeX Gyre Termes Math:mode=base;scripfound or bad. jacow.cls: error: 399: Font \TU/TeXGyreTermesMath(1)/m/n/7=name:TeX Gyre Termes Math:mode=base;scriptund or bad. jacow.cls: error: 399: Font \TU/TeXGyreTermesMath(1)/m/n/5=name:TeX Gyre Termes Math:mode=base;scriptund or bad. jacow.cls: warning: : (fontspec) Script 'Math' not explicitly supported within font(fontspec) 'TeX Gyre Termes Math'. Check the typeset output,(fontspec) and if it is okay then ignore this warning. jacow.cls: warning: : The first font loaded by unicode-math must be an(unicode-math) OpenType Math font (with script=math). If you(unicode-math) simply want ‘the default’ before loading(unicode-math) supplementary fonts over the top for certain(unicode-math) ranges, use: (unicode-math) \setmathfont{latinmodern-math.otf} jacow.cls: warning: : (fontspec) Script 'Math' not explicitly supported within font(fontspec) 'TeX Gyre Termes Math'. Check the typeset output,(fontspec) and if it is okay then ignore this warning. jacow.cls: warning: : (fontspec) OpenType feature 'Style=MathScript' (ssty) not(fontspec) available for font 'TeX Gyre Termes Math' with(fontspec) script 'Math' and language 'Default'. jacow.cls: warning: : (fontspec) OpenType feature 'Style=MathScriptScript' (ssty) not(fontspec) available for font 'TeX Gyre Termes Math' with(fontspec) script 'Math' and language 'Default'.

— Reply to this email directly, view it on GitHub https://github.com/JACoW-org/JACoW_Templates/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADIDWMOB73BRCSSBLDUPRHDZADF5JAVCNFSM6AAAAABHB2O2HWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TGMZUHE4TSNA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

CuteCurry commented 7 months ago

Dear Qiang, can you please provide a ZIP file of your sources so I can check where the problem is? Please send it to my email address: @. Cheers, Volker -- Volker RW Schaa @. JACoW Publishing http://www.jacow.org Editorial Board & JACoW Repository On 01/05/2024 13:21, Qiang Gao wrote: Hi, I am using the miktex 24.1 and texstudio, however, I can not compile this template correctly. Can someone help to give me some hints? below is the error message. jacow.cls: error: : Package fontspec Error: jacow.cls: error: : Package fontspec Error: jacow.cls: error: : Package fontspec Error: jacow.cls: error: : Package fontspec Error: jacow.cls: error: : Package fontspec Error: jacow.cls: error: : Package fontspec Error: jacow.cls: error: 398: Font \TU/TeXGyreTermes(0)/m/n/10=name:TeX Gyre Termes:mode=node;language=dflt;+tlig; at 10pt not loadable: metric data not found or bad. } jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Font \TU/TeXGyreTermesMath(0)/m/n/10=name:TeX Gyre Termes Math:mode=base;scripfound or bad. jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Package fontspec Error: (fontspec) this may be but usually is not a fontspec bug. jacow.cls: error: 399: Font \TU/TeXGyreTermesMath(1)/m/n/10=name:TeX Gyre Termes Math:mode=base;scripfound or bad. jacow.cls: error: 399: Font \TU/TeXGyreTermesMath(1)/m/n/7=name:TeX Gyre Termes Math:mode=base;scriptund or bad. jacow.cls: error: 399: Font \TU/TeXGyreTermesMath(1)/m/n/5=name:TeX Gyre Termes Math:mode=base;scriptund or bad. jacow.cls: warning: : (fontspec) Script 'Math' not explicitly supported within font(fontspec) 'TeX Gyre Termes Math'. Check the typeset output,(fontspec) and if it is okay then ignore this warning. jacow.cls: warning: : The first font loaded by unicode-math must be an(unicode-math) OpenType Math font (with script=math). If you(unicode-math) simply want ‘the default’ before loading(unicode-math) supplementary fonts over the top for certain(unicode-math) ranges, use: (unicode-math) \setmathfont{latinmodern-math.otf} jacow.cls: warning: : (fontspec) Script 'Math' not explicitly supported within font(fontspec) 'TeX Gyre Termes Math'. Check the typeset output,(fontspec) and if it is okay then ignore this warning. jacow.cls: warning: : (fontspec) OpenType feature 'Style=MathScript' (ssty) not(fontspec) available for font 'TeX Gyre Termes Math' with(fontspec) script 'Math' and language 'Default'. jacow.cls: warning: : (fontspec) OpenType feature 'Style=MathScriptScript' (ssty) not(fontspec) available for font 'TeX Gyre Termes Math' with(fontspec) script 'Math' and language 'Default'. — Reply to this email directly, view it on GitHub <#7>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADIDWMOB73BRCSSBLDUPRHDZADF5JAVCNFSM6AAAAABHB2O2HWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TGMZUHE4TSNA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Dear Volker,

Thanks for your quick reply. I am just using the template files from your repository. I don't know why I can't see your email address, it is displayed as ****. So I attached the zip file here. [Uploading JACoW LaTeX template 2.15.zip…]()

CuteCurry commented 7 months ago

Dear Volker, After a carefully look through into the log file, I found the problem is that my Miktex libaries doesn't have [tex-gyre-math] package, thus I manually add it into the miktex, then the compilation is done without erros, thanks for your help.