I have just made a fresh install of Texmaker and Tex Live at my CentOS 8 system. I am not able to execute: "PdfLaTeX + Bib(la)tex + PdfLaTeX (x2) + View PDF" from the Texmaker. Everytime I get error at the beginning of my .tex document:
! LaTeX Error: File `wlscirep.cls' not found.
The beginning of the main.tex document appears as follows:
\documentclass[fleqn,10pt]{wlscirep}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{csquotes}
\title{Title of the document}
...
The wlscirep.cls was stored in the same folder as the main.tex document as default. It is not working like that. Why? I have no idea I thought Tex is everytime looking into the document root folder.
After reading this thread, I have found my texmf location and created folder where I stored .cls and .sty files of the document template:
[user@hostname ~]$ kpsewhich -var-value=TEXMFHOME
/home/user/texmf
[user@hostname ~]$
[user@hostname ~]$ kpsewhich wlscirep.cls
/home/user/texmf/tex/latex/scirep/wlscirep.cls
[user@hostname ~]$
After this, the texmaker is still writing that it can not find the wlscirep.cls file. Does somebody see what I miss? I am stucked... :-(
Thanks, Rene
sudo dnf install texlive*. The texmaker I have installed via CentOS 8Softwareapp, while I was not able to find any working sudo dnf install command for the CentOS 8 version. – René Labounek Jun 26 '20 at 19:01