我一直在尝试使用该bbold
包的指示功能,但出现以下错误:
Process started
This is METAFONT, Version 2.7182818 (MiKTeX 2.9 64-bit) (C:
\Users\somename\AppData\Local\MiKTeX\2.9\fonts\source\jknappen\saut
er\bbold11.m f ! I can't find file `b-bbold'. l.2 input b-bbo
ld ; Please type another input file name ! Emergency stop. l.2 input b-bbold ; Transcrip
t written on bbold11.log.
Sorry, but maketfm did not succeed.
The log file hopefully contains the information to get MiKTeX going again: C:/Users/Chris/AppData/Local/MiKTeX/2.9/miktex/log/miktex-maketfm.log You may want to visit the MiKTeX project page, if you need help.
Process exited with error(s)
日志文件显示:
2016-05-23 14:35:43,127+0100 INFO makex - Making bbold11.tfm from C:\Users\somename\AppData\Local\MiKTeX\2.9\fonts\source\jknappen\sauter\bbold11.mf...
2016-05-23 14:35:43,130+0100 INFO makex - Running miktex-mf.exe...
2016-05-23 14:35:43,281+0100 FATAL miktex-maketfm - Windows API error 2: The system cannot find the file specified.
2016-05-23 14:35:43,281+0100 FATAL miktex-maketfm - Info: existing="bbold11.tfm", new="C:\Users\somename\AppData\Local\MiKTeX\2.9\fonts/tfm/jknappen/sauter\bbold11.tfm"
2016-05-23 14:35:43,281+0100 FATAL miktex-maketfm - Source: Libraries\MiKTeX\Core\File\win\winFile.cpp
2016-05-23 14:35:43,281+0100 FATAL miktex-maketfm - Line: 308
还:
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9 64-bit) (preloaded format=pdflatex 2016.1.10) 23 MAY 2016 14:39
entering extended mode
**./s.tex
(s.tex
LaTeX2e <2015/10/01> patch level 2
Babel <3.9m> and hyphenation patterns for 69 languages loaded.
("C:\Users\somename\AppData\Local\Programs\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:\Users\somename\AppData\Local\Programs\MiKTeX 2.9\tex\latex\base\size11.clo"
File: size11.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
) ("C:\Users\somename\AppData\Local\Programs\MiKTeX 2.9\tex\latex\bbold\bbold.sty"
Package: bbold 1994/04/06 Bbold symbol package
)
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.5 I
f $V_i = \displaystyle\sum^\infty_{n=0}\mathbb{1}_{X_n = i}$ is the num...
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <10.95> on input line 5.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <8> on input line 5.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <6> on input line 5.
LaTeX Font Info: Try loading font information for U+bbold on input line 5.
("C:\Users\somename\AppData\Local\Programs\MiKTeX 2.9\tex\latex\jknappen\ubbold.fd
"
File: ubbold.fd 1996/01/01 Blackboard Bold Font Definition File (jk)
)
! Font U/bbold/m/n/10.95=bbold11 at 10.95pt not loadable: Metric (TFM) file not
found.
<to be read again>
relax
l.5 ... = \displaystyle\sum^\infty_{n=0}\mathbb{1}
_{X_n = i}$ is the number ...
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
! \textfont 4 is undefined (character 1).
l.5 ...style\sum^\infty_{n=0}\mathbb{1}_{X_n = i}$
is the number of visits t...
Somewhere in the math formula just ended, you used the
stated character from an undefined font family. For example,
plain TeX doesn't allow \it or \sl in subscripts. Proceed,
and I'll try to forget that I needed that character.
! \textfont 4 is undefined (character E).
l.5 ...laystyle\sum^\infty_{n=0}\mathbb{P}(X_n=i)$
.
Somewhere in the math formula just ended, you used the
stated character from an undefined font family. For example,
plain TeX doesn't allow \it or \sl in subscripts. Proceed,
and I'll try to forget that I needed that character.
! \textfont 4 is undefined (character P).
l.5 ...laystyle\sum^\infty_{n=0}\mathbb{P}(X_n=i)$
.
Somewhere in the math formula just ended, you used the
stated character from an undefined font family. For example,
plain TeX doesn't allow \it or \sl in subscripts. Proceed,
and I'll try to forget that I needed that character.
[1
{C:/Users/somename/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}]
! I can't find file `s.aux'.
\enddocument ...keatletter \@@input \jobname .aux
\fi \@dofilelist \ifdim \f...
l.7 \end{document}
Please type another input file name
! Emergency stop.
\enddocument ...keatletter \@@input \jobname .aux
\fi \@dofilelist \ifdim \f...
l.7 \end{document}
*** (job aborted, file error in nonstop mode)
Here is how much of TeX's memory you used:
244 strings out of 493634
3084 string characters out of 3135239
52604 words of memory out of 3000000
3701 multiletter control sequences out of 15000+200000
6746 words of font info for 25 fonts, out of 3000000 for 9000
1025 hyphenation exceptions out of 8191
21i,4n,19p,352b,113s stack positions out of 5000i,500n,10000p,200000b,50000s
! ==> Fatal error occurred, no output PDF file produced!
以下是 MWE:
\documentclass[a4paper,11pt]{article}
\usepackage{bbold}
\begin{document}
If $V_i = \displaystyle\sum^\infty_{n=0}\mathbb{1}_{X_n = i}$ is the number of visits to $i$, then $\mathbb{E}[V_i] = \displaystyle\sum^\infty_{n=0}\mathbb{P}(X_n=i)$.
\end{document}
答案1
您的 TeX 发行版有点过时,这导致了您的问题。请参见以下几行:
Mine system: Version 3.14159265-2.6-1.40.16 ... (preloaded format=pdflatex 2016.1.29) ...
Your system: 3.14159265-2.6-1.40.16 ... (preloaded format=pdflatex 2016.1.10) ...
% ^^
不同之处preloaded format=pdflatex 2016.1.10
在于2016.1.29
因此,使用以下 MWE(为了提高可读性,我只添加了一些换行符):
\documentclass[a4paper,11pt]{article}
\usepackage{bbold}
\begin{document}
If $V_i = \displaystyle\sum^\infty_{n=0}\mathbb{1}_{X_n = i}$ is the
number of visits to $i$, then
$\mathbb{E}[V_i] = \displaystyle\sum^\infty_{n=0}\mathbb{P}(X_n=i)$.
\end{document}
我得到以下结果,没有错误或警告:
和日志文件(包括\listfiles
结果):
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9 64-bit) (preloaded format=pdflatex 2016.1.29) 23 MAY 2016 19:17
entering extended mode
**./311015.tex
(311015.tex
LaTeX2e <2015/10/01> patch level 2
Babel <3.9n> and hyphenation patterns for 69 languages loaded.
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size11.clo"
File: size11.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
) ("C:\Program Files\MiKTeX 2.9\tex\latex\bbold\bbold.sty"
Package: bbold 1994/04/06 Bbold symbol package
)
(311015.aux)
\openout1 = `311015.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <10.95> on input line 6.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <8> on input line 6.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <6> on input line 6.
LaTeX Font Info: Try loading font information for U+bbold on input line 6.
("C:\Program Files\MiKTeX 2.9\tex\latex\bbold\ubbold.fd") [1
{C:/Users/Internet/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}] (311015.aux)
*File List*
article.cls 2014/09/29 v1.4h Standard LaTeX document class
size11.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
bbold.sty 1994/04/06 Bbold symbol package
ubbold.fd
***********
)
Here is how much of TeX's memory you used:
245 strings out of 493634
2815 string characters out of 3143735
52604 words of memory out of 3000000
3699 multiletter control sequences out of 15000+200000
6935 words of font info for 26 fonts, out of 3000000 for 9000
1025 hyphenation exceptions out of 8191
21i,4n,23p,178b,107s stack positions out of 5000i,500n,10000p,200000b,50000s
<C:/Program Files/MiKTeX 2.9/fonts/type1/public/bbold-type1/bbold10.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/publi
c/amsfonts/cm/cmex10.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi10.pfb><C:/Program Files/MiKTeX
2.9/fonts/type1/public/amsfonts/cm/cmmi6.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi8.pfb><C:/
Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr10.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfon
ts/cm/cmr8.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy8.pfb>
Output written on 311015.pdf (1 page, 64777 bytes).
PDF statistics:
38 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)