Setting up KOMA-Script for use in Emacs org-mode
0
votes
0
answers
80
views
I have Linux Mint and want to use KOMA-Script in Emacs org-mode. When running a
simple sample template from [here](https://ridaayed.com/posts/writing-letters-in-org-mode/#create-the-yasnippets-template) it generates a number of errors,
particularly
"Unknown LaTeX Class 'default-koma-letter'"
. I have
already posted this to the Emacs community (see [here](https://emacs.stackexchange.com/questions/81430/setting-up-koma-script)) , but was
referred to this exchange, as it likely has to do with my TeX Live set
up. I have the following version of TeX Live installed:
"pdfTeX 3.141592653-2.6-1.40.22 (TeX Live 2022/dev/Debian)
kpathsea version 6.3.4/dev"
Following the advice from [here](https://tex.stackexchange.com/questions/331906/installing-using-koma-script-with-tex-live-on-kali-linux) ,
I ran the command sudo apt-get install texlive-latex-recommended
,
which produced the following output:
texlive-latex-recommended is already the newest version (2021.20220204-1).
texlive-latex-recommended set to manually installed.
The following packages were automatically installed and are no longer required:
libwpe-1.0-1 libwpebackend-fdo-1.0-1 linux-headers-5.15.0-91
linux-headers-5.15.0-91-generic linux-headers-5.15.0-92
linux-headers-5.15.0-92-generic linux-headers-5.15.0-97
linux-headers-5.15.0-97-generic linux-image-5.15.0-91-generic
linux-image-5.15.0-92-generic linux-image-5.15.0-97-generic
linux-modules-5.15.0-91-generic linux-modules-5.15.0-92-generic
linux-modules-5.15.0-97-generic linux-modules-extra-5.15.0-91-generic
linux-modules-extra-5.15.0-92-generic linux-modules-extra-5.15.0-97-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
Judging by this, I already seem to have TeX Live installed, but
KOMA-Script isn't used when exporting from org-mode. Which steps do I
need to take to further investigate this resp. to resolve this? As a
secondary issue, should I run sudo apt autoremove
, as suggested by the
terminal, or is this likely to corrupt my TeX Live installation? Any help and prompters would be much appreciated - I am still new to this world!
Asked by Tiberius
(101 rep)
Jun 7, 2024, 11:14 AM