hust-latex / hustreport

:notebook: An Unofficial Graduate Report Template in LaTeX for Huazhong University of Science and Technology
http://hust-latex.github.io/download#hustreport
LaTeX Project Public License v1.3c
20 stars 5 forks source link

ubuntu下adobe字体未识别 #3

Open XinzeZhang opened 6 years ago

XinzeZhang commented 6 years ago

在ubuntu17.10上安装了adobe的那四个字体,刷新字体缓存,make install安装cls模版,之后编译中文模版报错。

XinzeZhang commented 6 years ago

This is XeTeX, Version 3.14159265-2.6-0.99998 (TeX Live 2017) (preloaded format=xelatex 2017.12.18) 19 DEC 2017 22:07

(/usr/local/texlive/2017/texmf-dist/tex/latex/caption/ltcaption.sty Package: ltcaption 2013/06/09 v1.4-94 longtable captions (AR) ) Package caption Info: End \AtBeginDocument code. \c@lstlisting=\count386 \g__fontspec_family_AdobeHeitiStd_int=\count387 ................................................. . fontspec info: "no-font-shape" . . Could not resolve font "Adobe Heiti Std/BI" (it probably doesn't exist). ................................................. ................................................. . fontspec info: "no-font-shape" . . Could not resolve font "Adobe Heiti Std/B" (it probably doesn't exist). ................................................. ................................................. . fontspec info: "no-font-shape" . . Could not resolve font "Adobe Heiti Std/I" (it probably doesn't exist). ................................................. ................................................. . fontspec info: "defining-font" . . Font family 'AdobeHeitiStd(0)' created for font 'Adobe Heiti Std' with . options [Mapping=tex-text,Script={CJK}]. .
. This font family consists of the following NFSS series/shapes: .
. - 'normal' (m/n) with NFSS spec.: <->"Adobe Heiti . Std/OT:script=hani;language=DFLT;mapping=tex-text;" . - 'small caps' (m/sc) with NFSS spec.: .................................................

LaTeX Font Warning: Font shape TU/AdobeHeitiStd(0)/bx/n' undefined (Font) usingTU/AdobeHeitiStd(0)/m/n' instead on input line 93.

(./research_planning.toc LaTeX Font Info: Try loading font information for U+msa on input line 2.

(/usr/local/texlive/2017/texmf-dist/tex/latex/amsfonts/umsa.fd File: umsa.fd 2013/01/14 v3.01 AMS symbols A ) LaTeX Font Info: Try loading font information for U+msb on input line 2.

(/usr/local/texlive/2017/texmf-dist/tex/latex/amsfonts/umsb.fd File: umsb.fd 2013/01/14 v3.01 AMS symbols B )) \tf@toc=\write5 \openout5 = `research_planning.toc'.

\g__fontspec_family_AdobeFangsongStd_int=\count388 ................................................. . fontspec info: "no-font-shape" . . Could not resolve font "Adobe Fangsong Std/BI" (it probably doesn't exist). ................................................. ................................................. . fontspec info: "no-font-shape" . . Could not resolve font "Adobe Fangsong Std/B" (it probably doesn't exist). ................................................. ................................................. . fontspec info: "no-font-shape" . . Could not resolve font "Adobe Fangsong Std/I" (it probably doesn't exist). ................................................. ................................................. . fontspec info: "defining-font" . . Font family 'AdobeFangsongStd(0)' created for font 'Adobe Fangsong Std' with . options [Mapping=tex-text,Script={CJK}]. .
. This font family consists of the following NFSS series/shapes: .
. - 'normal' (m/n) with NFSS spec.: <->"Adobe Fangsong . Std/OT:script=hani;language=DFLT;mapping=tex-text;" . - 'small caps' (m/sc) with NFSS spec.: .................................................

Package Fancyhdr Warning: \headheight is too small (12.0pt): Make it at least 33.082pt. We now make it that large for the rest of the document. This may cause the page layout to be inconsistent, however.

[1

] (./chapter2/section1.tex Chapter 1. ) (./chapter2/section2.tex) (./chapter2/section3.tex

Package natbib Warning: Citation `cybenko1992approximation' on page 1 undefined on input line 3.

Package natbib Warning: Citation `chen1995universal' on page 1 undefined on inp ut line 3.

Package natbib Warning: Citation `silver2017mastering' on page 1 undefined on i nput line 5.

Package natbib Warning: Citation `lewis2017deal' on page 1 undefined on input l ine 5.

Package natbib Warning: Citation `he2016powerful' on page 1 undefined on input line 5.

Package natbib Warning: Citation `kwok1997objective' on page 1 undefined on inp ut line 14.

Package natbib Warning: Citation `mahoney2011randomized' on page 1 undefined on input line 18.

Package natbib Warning: Citation `scardapane2017randomness' on page 1 undefined on input line 20.

Package natbib Warning: Citation `cui2016high' on page 1 undefined on input lin e 20.

[1

]

Package natbib Warning: Citation `pao1992functional' on page 2 undefined on inp ut line 26.

Package natbib Warning: Citation `tyukin2009feasibility' on page 2 undefined on input line 28.

Package natbib Warning: Citation `gorban2016approximation' on page 2 undefined on input line 30.

Package natbib Warning: Citation `li2017insights' on page 2 undefined on input line 36.

) (./chapter2/section4.tex File: ./figures/data.png Graphic file (type bmp) <./figures/data.png> File: ./figures/network.png Graphic file (type bmp) <./figures/network.png>

Overfull \hbox (11.73122pt too wide) in paragraph at lines 19--30 []\TU/AdobeSongStd(0)/m/n/12 对 于 如[][]图 \TU/texgyretermes(0)/m/n/12 1-1[][][]\T U/AdobeSongStd(0)/m/n/12 所 示 的 时 间 序 列 数 据 示 例,| 其 公 式 为 $\OML/cmm/m/it/12 f\O T1/cmr/m/n/12 (\OML/cmm/m/it/12 x\OT1/cmr/m/n/12 ) = 0\OML/cmm/m/it/12 :\OT1/cm r/m/n/12 2\OML/cmm/m/it/12 e[] \OT1/cmr/m/n/12 + 0\OML/cmm/m/it/12 :\OT1/cmr/m/ n/12 5\OML/cmm/m/it/12 e[] \OT1/cmr/m/n/12 + []

[2] [3] [4] [5] [6]) [7] (./research_planning.bbl) \tf@thm=\write6 \openout6 = `research_planning.thm'.

Package natbib Warning: There were undefined citations.

Package atveryend Info: Empty hook BeforeClearDocument' on input line 156. Package atveryend Info: Empty hookAfterLastShipout' on input line 156. (./research_planning.aux) Package atveryend Info: Empty hook AtVeryEndDocument' on input line 156. Package atveryend Info: Empty hookAtEndAfterFileList' on input line 156.

LaTeX Font Warning: Some font shapes were not available, defaults substituted.

LaTeX Warning: There were multiply-defined labels.

Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 156. ) Here is how much of TeX's memory you used: 33470 strings out of 493010 610185 string characters out of 6134663 745237 words of memory out of 5000000 37036 multiletter control sequences out of 15000+600000 538350 words of font info for 88 fonts, out of 8000000 for 9000 1348 hyphenation exceptions out of 8191 60i,12n,94p,10447b,494s stack positions out of 5000i,500n,10000p,200000b,80000s

Output written on research_planning.pdf (8 pages).

xu-cheng commented 6 years ago

请尝试使用 lualatex 编译。

XinzeZhang commented 6 years ago

这个问题其实和lualatex编译,还是xelatex编辑没有关系。我自己追查出来的原因在于texlive版本为2017,/usr/local/texlive/2017/texmf-dist/bibtex/bst/thuthesis下的bst文件为thuthesis-numeric.bst和thuthesis-author-year.bst,所以在bibtex编译时找不到thuthesis.bst文件,导致latex-toolchain停止报错。 解决办法时在texlive2016的解压包中,找到thuthesis.bst文件,复制到/usr/local/texlive/2017/texmf-dist/bibtex/bst/thuthesis路径下,然后sudo texhash刷新索引。就可以了。

XinzeZhang commented 6 years ago

学长,是不是需要更新一下您的readme,方便后面的同学使用这个模版。