최종 최종 목표는 HTML을 PDF로 변환하는 것입니다. 나는 이 해결책을 보았습니다:
https://github.com/SebastiaanKlippert/go-wkhtmltopdf
그러나 위의 솔루션이 작동하려면 헤드리스 크롬이 필요한 것 같습니다. 그래서 사용해 보도록 할게요판독이것은 차례로 사용됩니다혼합 직물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.
종속성 문제를 해결하는 방법을 아는 사람이 있습니까?
답변1
universe
저장소를 활성화해야 합니다 .
sudo add-apt-repository universe
sudo apt install miktex