Comments (8)
我在 1310 下不会这样,你系统的字体安装完整了吗?
你可以在应该显示英文的空白区域选择一下文本,看看是不是能显示出来。如果能显示出来,那可能是字体的问题。如果不显示,那就要把 go.log 提供给我看一下了。
另外,编译好的版本下载后,显示有问题吗?
from learning-go-zh-cn.
是根据提供的那个shell安装的字体。
编译的时候经常会看到这个提示:
\textfont 0 is undefined (character c).
Missing character: There is no a in font nullfont! //这是遇到英文字符好像就会提示这个
go.log有4M,这里好像不能直接上传附件。要怎么才能给你看?
下载你们编译好的是可以正常浏览的。
from learning-go-zh-cn.
试试安装这些包:
for i in inkscape \
gnumeric \
ttf-droid \
ttf-dejavu \
ttf-sazanami-gothic \
ttf-arphic-ukai \
texlive-fonts-recommended \
texlive-extra-utils \
texlive-xetex \
texlive-latex-extra \
texlive-latex-recommended \
latex-cjk-xcjk \
ttf-wqy-microhei \
git-core \
make \
do
sudo apt-get install $i -y
done
from learning-go-zh-cn.
这是安装这些包时的输出。应该是全部安装好了吧。我已经安装了好几次了,编译时还是一样的问题
Reading package lists... Done
Building dependency tree
Reading state information... Done
inkscape is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
gnumeric is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
ttf-droid is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
ttf-dejavu is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
ttf-sazanami-gothic is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
ttf-arphic-ukai is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
texlive-fonts-recommended is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
texlive-extra-utils is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
texlive-xetex is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
texlive-latex-extra is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
texlive-latex-recommended is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
latex-cjk-xcjk is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
ttf-wqy-microhei
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,375 kB of archives.
After this operation, 5,271 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main ttf-wqy-microhei all 0.2.0-beta-1ubuntu1 [2,375 kB]
Fetched 2,375 kB in 16s (140 kB/s)
Selecting previously unselected package ttf-wqy-microhei.
(Reading database ... 119754 files and directories currently installed.)
Unpacking ttf-wqy-microhei (from .../ttf-wqy-microhei_0.2.0-beta-1ubuntu1_all.deb) ...
Processing triggers for fontconfig ...
Setting up ttf-wqy-microhei (0.2.0-beta-1ubuntu1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
git-core is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
make is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
from learning-go-zh-cn.
编译时经常遇到这种情况,需要我按一下回车键才能继续编译
kpathsea: Running mktextfm SourceCodePro-Bold/I
/usr/share/texmf/web2c/mktexnam: Could not map source abbreviation for I.
/usr/share/texmf/web2c/mktexnam: Need to update ?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input I
This is METAFONT, Version 2.718281 (TeX Live 2009/Debian)kpathsea: Running mktexmf I
! I can't find file `I'.
<*> \mode:=ljfour; mag:=1; nonstopmode; input IPlease type another input file name
! Emergency stop.
<*> \mode:=ljfour; mag:=1; nonstopmode; input ITranscript written on mfput.log.
grep: I.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input I' failed to make I.tfm.
! Font @tempfontb=SourceCodePro-Bold/I at 10.0pt not loadable: Metric (TFM) fi
le or installed font not found.
\zf@make@font@shapes ...f@suffix " at \f@size pt
\edef @tempb {\fontname ...
l.60 ...ourceCodePro-Bold}]{SourceCodePro-Regular}
from learning-go-zh-cn.
检查下 ./fonts/SourceCodePro-Bold.ttf 这个文件是否存在或者权限是否正常。
另外,SourceCodePro-Bold 的定义在 go-setup.tex 中,看看是否有被修改或其他问题:
$ git status
from learning-go-zh-cn.
./fonts/SourceCodePro-Bold.ttf 这个是存在的,只是不知道需要什么特殊权限?
go-setup.tex也有找到两处定义该字体的地方。
from learning-go-zh-cn.
我抽空安装一个1204试试吧。我也不知道可能是什么原因了。
from learning-go-zh-cn.
Related Issues (20)
- ex-communication / ex-quine.tex 里的实例代码被拷贝了两遍 HOT 1
- How to use |\longremark{ } | HOT 1
- 函数一章中答案 A10 关于斐波那契函数的问题
- 进阶一章有重复段落 HOT 1
- 如何生成kindle(6寸)版本的PDF? HOT 2
- go-basics.tex 中的 os.Open 用法有错误
- 请问我该怎么才能做成pdf版本? HOT 1
- Learning Go链接404 Page not found
- page 57 sample codes can not pass compile.
- 请问并发章节的 Q26 (1) channel 第二题的答案是否有问题?
- 第3章“包”的第2题逆波兰式答案有问题? HOT 1
- make failed to create the learninggo.html
- windows make命令使用不了,没有make这个命令 HOT 6
- make命令失败 Failure to read path is not on or below "." 无法生成html HOT 5
- flag.CommandLine.Output undefined HOT 1
- 文件不全 HOT 5
- 文件不全,A solution that only have two chapter
- make执行成功,但是没有生成html文件
- 谁能上传一个生成好的 pdf HOT 1
- 找不到邮箱,只好留这了 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from learning-go-zh-cn.