On Sun, Sep 9, 2018 at 6:26 AM Scott Kostyshak <skost...@lyx.org> wrote: > > On Sat, Sep 08, 2018 at 11:55:00PM +0800, Erik Apostol (Che-hsiu Cheng) wrote: > > On Sat, Sep 8, 2018 at 12:55 PM Scott Kostyshak <skost...@lyx.org> wrote: > > > > Hi Scott. > > I'm surprised that words in your pdf file are shown correctly. > > OK good to know. We should be able to figure out what the difference > is between our systems. > > > > That's what I get on Ubuntu with TeX Live, > > > without changing anything in your .lyx file. > > > > Do you mean you exported the .lyx file via the option LaTeX (plain) > > and then compiled the resultant .tex file in a terminal? I do so in my > > Ubuntu 18.04 but the theorem names are still garbled. > > Ah no, I just open the .lyx file and click on the eyes icon. Or > equivalently, I go to File > Export > PDF (pdflatex). > > I use a script that installs TeX Live directly (rather than through the > TeX Live repos), which does a little bit of magic/hacking in the > background, and I forget exactly what it does. I'm using the repo provided by Ubuntu.
> Does it help if you install these packages? ttf-wqy-microhei ttf-wqy-zenhei > xfonts-wqy Unfortunately, it doesn't help. > Attached is my .log file. If you compare it with yours, perhaps it will > show some helpful clues. I've compared my log file with yours, and I don't see anything inspiring. My log file is attached. > Best, > > Scott
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) (preloaded format=pdflatex 2018.7.11) 9 SEP 2018 11:51 entering extended mode restricted \write18 enabled. %&-line parsing enabled. **Abnormality_of_Chinese.tex (./Abnormality_of_Chinese.tex LaTeX2e <2017-04-15> Babel <3.18> and hyphenation patterns for 84 language(s) loaded. (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls Document Class: article 2014/09/29 v1.4h Standard LaTeX document class (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty Package: fontenc 2017/04/05 v2.0i Standard LaTeX package (/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def File: t1enc.def 2017/04/05 v2.0i Standard LaTeX file LaTeX Font Info: Redeclaring font encoding T1 on input line 48. )) (/usr/share/texmf/tex/latex/CJK/CJK.sty Package: CJK 2015/04/18 4.8.4 (/usr/share/texmf/tex/latex/CJK/mule/MULEenc.sty Package: MULEenc 2015/04/18 4.8.4 ) (/usr/share/texmf/tex/latex/CJK/CJK.enc File: CJK.enc 2015/04/18 4.8.4 ) LaTeX Info: Redefining \selectfont on input line 755. \CJK@indent=\box26 ) (/usr/share/texlive/texmf-dist/tex/latex/enumitem/enumitem.sty Package: enumitem 2011/09/28 v3.5.2 Customized lists \enitkv@toks@=\toks14 \labelindent=\skip43 \enit@outerparindent=\dimen103 \enit@toks=\toks15 \enit@inbox=\box27 \enitdp@description=\count87 ) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty Package: amsmath 2017/09/02 v2.17a AMS math features \@mathmargin=\skip44 For additional information on amsmath, use the `?' option. (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty Package: amstext 2000/06/29 v2.01 AMS text (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty File: amsgen.sty 1999/11/30 v2.0 generic functions \@emptytoks=\toks16 \ex@=\dimen104 )) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty Package: amsbsy 1999/11/29 v1.2d Bold Symbols \pmbraise@=\dimen105 ) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty Package: amsopn 2016/03/08 v2.02 operator names ) \inf@bad=\count88 LaTeX Info: Redefining \frac on input line 213. \uproot@=\count89 \leftroot@=\count90 LaTeX Info: Redefining \overline on input line 375. \classnum@=\count91 \DOTSCASE@=\count92 LaTeX Info: Redefining \ldots on input line 472. LaTeX Info: Redefining \dots on input line 475. LaTeX Info: Redefining \cdots on input line 596. \Mathstrutbox@=\box28 \strutbox@=\box29 \big@size=\dimen106 LaTeX Font Info: Redeclaring font encoding OML on input line 712. LaTeX Font Info: Redeclaring font encoding OMS on input line 713. \macc@depth=\count93 \c@MaxMatrixCols=\count94 \dotsspace@=\muskip10 \c@parentequation=\count95 \dspbrk@lvl=\count96 \tag@help=\toks17 \row@=\count97 \column@=\count98 \maxfields@=\count99 \andhelp@=\toks18 \eqnshift@=\dimen107 \alignsep@=\dimen108 \tagshift@=\dimen109 \tagwidth@=\dimen110 \totwidth@=\dimen111 \lineht@=\dimen112 \@envbody=\toks19 \multlinegap=\skip45 \multlinetaggap=\skip46 \mathdisplay@stack=\toks20 LaTeX Info: Redefining \[ on input line 2817. LaTeX Info: Redefining \] on input line 2818. ) (/usr/share/texlive/texmf-dist/tex/latex/amscls/amsthm.sty Package: amsthm 2017/10/31 v2.20.4 \thm@style=\toks21 \thm@bodyfont=\toks22 \thm@headfont=\toks23 \thm@notefont=\toks24 \thm@headpunct=\toks25 \thm@preskip=\skip47 \thm@postskip=\skip48 \thm@headsep=\skip49 \dth@everypar=\toks26 ) \c@thm=\count100 \c@casenvi=\count101 \c@casenvii=\count102 \c@casenviii=\count103 \c@casenviv=\count104 \enitdp@casenv=\count105 No file Abnormality_of_Chinese.aux. \openout1 = `Abnormality_of_Chinese.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C00/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C05/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C09/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C10/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C20/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C19/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C40/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C42/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C43/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C50/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C52/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C49/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C60/mj/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C61/mj/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C63/mj/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C64/mj/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C65/mj/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C70/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C31/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C32/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C33/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C34/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C35/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C36/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C37/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C80/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C81/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C01/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C11/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C21/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C41/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. LaTeX Font Info: Checking defaults for C62/song/m/n on input line 33. LaTeX Font Info: ... okay on input line 33. (/usr/share/texmf/tex/latex/CJK/UTF8/UTF8.bdg File: UTF8.bdg 2015/04/18 4.8.4 ) (/usr/share/texmf/tex/latex/CJK/UTF8/UTF8.enc File: UTF8.enc 2015/04/18 4.8.4 ) (/usr/share/texmf/tex/latex/CJK/UTF8/UTF8.chr File: UTF8.chr 2015/04/18 4.8.4 ) LaTeX Font Info: Try loading font information for C70+bsmi on input line 36. (/usr/share/texmf/tex/latex/CJK/UTF8/c70bsmi.fd File: c70bsmi.fd 2008/10/03 4.8.1 ) (/usr/share/texmf/tex/latex/CJK/UTF8/c70bsmi.fdx File: c70bsmi.fdx 2012/05/07 4.8.3 ) LaTeX Font Warning: Font shape `C70/bsmi/m/it' undefined (Font) using `C70/bsmi/m/n' instead on input line 36. [1 {/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./Abnormality_of_Chinese. aux) LaTeX Font Warning: Some font shapes were not available, defaults substituted. ) Here is how much of TeX's memory you used: 2606 strings out of 492982 31160 string characters out of 6134896 85595 words of memory out of 5000000 6194 multiletter control sequences out of 15000+600000 7345 words of font info for 22 fonts, out of 8000000 for 9000 1141 hyphenation exceptions out of 8191 27i,4n,22p,237b,487s stack positions out of 5000i,500n,10000p,200000b,80000s {/usr/share/texmf/fonts/enc/dvips/cm-super/cm-super-t1.enc}</usr/share/texmf/ fonts/type1/arphic/bsmiu/bsmiu4e.pfb></usr/share/texmf/fonts/type1/arphic/bsmiu /bsmiu51.pfb></usr/share/texmf/fonts/type1/arphic/bsmiu/bsmiu53.pfb></usr/share /texmf/fonts/type1/arphic/bsmiu/bsmiu56.pfb></usr/share/texmf/fonts/type1/arphi c/bsmiu/bsmiu66.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfbx1000.pfb> </usr/share/texmf/fonts/type1/public/cm-super/sfrm1000.pfb></usr/share/texmf/fo nts/type1/public/cm-super/sfti1000.pfb> Output written on Abnormality_of_Chinese.pdf (1 page, 48500 bytes). PDF statistics: 41 PDF objects out of 1000 (max. 8388607) 29 compressed objects within 1 object stream 0 named destinations out of 1000 (max. 500000) 1 words of extra memory for PDF output out of 10000 (max. 10000000)