I wanted to make a DocX into a PDF, since I don't have Office or any Alternative and prefer to not open such files.
pandoc -f docx --sandbox *file.docx --output *file.pdf
leads to
! LaTeX Error: File "lmodern.sty" not found.
I tried to mitigate that with adding -V 'fontfamily:courier'. This resolved this problem, but then it required another file...
! LaTeX Error: File "xcolor.sty" not found.
I installed "texlive-latexrecommended" after asking ChatGPT and searching on the net. The first recommendations in both cases so far were using the program "tlmgr" which always causes errors, like missing directories and such.
Then it wants another file:
! LaTeX Error: File "soul.sty" not found.
sudo tlmgr install soul
tlmgr: package repository https://ctan.javinator9889.com/systems/texlive/tlnet (not verified:
pubkey missing)
===============================================================================
tlmgr itself needs to be updated.
Please do this via either
tlmgr update --self
or by getting the latest updater for Unix-ish systems:
https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh
and/or Windows systems:
https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.exe
Then continue with other updates as usual.
===============================================================================
tlmgr: Terminating; please see warning above!
Okay, I'm trying one solution...
sudo tlmgr update --self
tlmgr: package repository https://ctan.fisiquimicamente.com/systems/texlive/tlnet (not verified: pubkey missing)
Should I download this manually? Oh, wait...
sudo pacsearch tlmgr
extra/texlive-langchinese 2023.66594-14 (texlive-lang)
TeX Live - Chinese
extra/texlive-langenglish 2023.66594-14 (texlive-lang)
TeX Live - US and UK English
So, I install "texlive-langenglish" with Pacman after searching what I need to install... Then:
sudo tlmgr update --self
tlmgr: package repository https://ctan.fisiquimicamente.com/systems/texlive/tlnet (verified)
tlmgr: saving backups to /usr/share/tlpkg/backups
tlmgr: no self-updates for tlmgr available
Okay, this is fixed now. But, I still can't get my PDF, since the "soul"-file is missing.
sudo tlmgr install soul
tlmgr: package repository https://ctan.javinator9889.com/systems/texlive/tlnet (verified)
tlmgr install: package already present: soul
Okay, then it should work. But no, it's still not recognized:
`pandoc -f docx --sandbox *file.docx --output *file.pdf`
leads to
Error producing PDF.
! LaTeX Error: File "soul.sty" not found