最终的目标是将HTML转换为PDF。我看到了这个解决方案:
https://github.com/SebastiaanKlippert/go-wkhtmltopdf
但上述解决方案似乎需要无头铬才能运行。因此,我将尝试使用潘多克,然后使用miktex从HTML生成TeX?
但是当我安装miktex时,我得到:
$ sudo apt-get install miktex
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
miktex : Depends: libcurl3 (>= 7.16.2) but it is not installable
Depends: libhunspell-1.4-0 but it is not installable
Depends: libicu57 (>= 57.1-1~) but it is not installable
Depends: libjpeg62-turbo (>= 1.3.1) but it is not installable
Depends: libmpfr4 (>= 3.1.3) but it is not installable
E: Unable to correct problems, you have held broken packages.有人知道如何解决这个依赖问题吗?
发布于 2020-04-16 22:14:52
您需要启用universe存储库:
sudo add-apt-repository universe
sudo apt install miktexhttps://unix.stackexchange.com/questions/580542
复制相似问题