我已按照所示步骤操作这里为了在我的 Ubuntu 中安装 Emerald。我在我的终端中执行了链接中建议的检查,似乎我已正确完成所有操作。下面您可以看到一张照片
但是,当我尝试执行我提供的链接中提供的最小示例时,它不会生成 pdf 文件。
下面,我给出了我在 TeXmakeR 中使用的代码
\documentclass{article}
\usepackage{emerald}
\usepackage[T1]{fontenc}
\begin{document}
\ECFJD
This is ECFJD.
\vspace{1cm}
\ECFAugie
This is ECFAugie
\end{document}
编译后,我没有收到任何错误消息;它只是没有产生 pdf 输出。
如能得到任何帮助/建议我将非常感激。
编辑 1:在下面的评论之后,我粘贴了 .log 文件的内容
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) (preloaded format=pdflatex 2020.10.17) 7 MAY 2021 18:09
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**presentation_1.tex
(./presentation_1.tex
LaTeX2e <2017-04-15>
Babel <3.18> and hyphenation patterns for 9 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
) (./emerald.sty
Package: emerald 2006/01/26 v1.0 LaTeX2e package which gives support for ECF (e
merald city fontwerks) fonts
)
(/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.
)) (./presentation_1.aux)
\openout1 = `presentation_1.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: Try loading font information for T1+fjd on input line 7.
(/home/konstantinos/texmf/tex/latex/emerald/t1fjd.fd
File: t1fjd.fd 2006/01/25 Fontinst v1.926 font definitions for T1/fjd.
)
LaTeX Font Info: Try loading font information for T1+fau on input line 13.
(/home/konstantinos/texmf/tex/latex/emerald/t1fau.fd
File: t1fau.fd 2006/01/25 Fontinst v1.926 font definitions for T1/fau.
) [1
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./presentation_1.aux) )
Here is how much of TeX's memory you used:
467 strings out of 494805
4726 string characters out of 6177999
49859 words of memory out of 5000000
3864 multiletter control sequences out of 15000+600000
6092 words of font info for 19 fonts, out of 8000000 for 9000
81 hyphenation exceptions out of 8191
23i,4n,17p,190b,115s stack positions out of 5000i,500n,10000p,200000b,80000s
<
/home/konstantinos/.texlive2017/texmf-var/fonts/pk/ljfour/jknappen/ec/ecrm1000.
600pk>
!pdfTeX error: pdflatex (file faumw8r): Font faumw8r at 600 not found
==> Fatal error occurred, no output PDF file produced!
答案1
看起来您已将其安装到TEXMFHOME
,即在您的用户目录 下~/texmf/
。这意味着当您更新系统地图时,地图文件并未更新。
最好的解决方案是安装到TEXMFLOCAL
。也就是说,sudo mkdir $(kpsewhich --var-value=TEXMFLOCAL)/emerald
在那里解压存档。运行sudo texhash
和sudo updmap-sys --enable Map emerald.map
。
你也可以updmap-usr --enable Map emerald.map
,但你必须每当您更新 TeX 时都要重新运行updmap-usr
,否则发行版中对字体映射的任何更改都不会更新。这是一个陷阱。
或者你可以下载TrueType 版本将 Internet Archive 中的 Emerald City Fontwerks 字体复制到您的~/.fonts/
目录(或/usr/local/share/fonts/
,或其他几个地方)。这些字体将在 LuaTeX 或 XeTeX 中使用fontspec
。