OpenSuSE 中缺少软件包?

OpenSuSE 中缺少软件包?

我安装了 texlive2013。旧的 LaTeX 文件现在抱怨缺少文件:

No file LGRcmr.fd.! LaTeX Error: This NFSS system isn't set up properly.

询问 pdflatex 它的答案是:

For encoding scheme LGR the defaults cmr/m/n do not form a valid font shape

谷歌搜索后,我发现了加载附加软件包的建议:greek-fontenc、greek-inputenc、cbfonts-fd、cbfonts 第三个软件包 cbfonts-fd 在 OpenSuSE:s texlive 发行版中找不到。其他软件包都不够用:安装后出现同样的错误。我在哪里可以找到 cbfonts-fd?

答案1

使用 SUSE 包管理器安装

| texlive-lgreek     | LaTeX macros for using Greek fonts
| texlive-lgreek-doc | Documentation for texlive-lgreek       
| texlive-lgrx       | Greek text with the LGR font encoding       
| texlive-lgrx-doc   | Documentation for texlive-lgrx

答案2

Zypper 在 12.3 中有一个针对此问题的功能:

使用 zypper install 'tex(<<package filename.extension>>)

因此对你来说这将是(Withoutput)

bash:>zypper install 'tex(lgreek.sty)'

Loading repository data...
Reading installed packages...
'tex(lgreek.sty)' not found in package names. Trying capabilities.
Resolving package dependencies...

The following NEW packages are going to be installed:
  texlive-lgreek texlive-lgreek-doc 

The following recommended package was automatically selected:
  texlive-lgreek-doc 

2 new packages to install.
Overall download size: 215.0 KiB. After the operation, additional 226.9 KiB will be used.

来源,(我被困住了,刚刚才解决这个问题)

相关内容