Closed stefan11 closed 4 years ago
I removed the langsci installation to not load this stuff but then latex does not find langsci-basic since it is in ./langsci and not in the standard texpath.
\usepackage{langsci-basic}
OK. Here is what is going on:
\newcommand{\ccby}{CC-BY}
\newcommand{\ccbynd}{CC-BY-ND}
\ifx\lsCopyright\ccby
Published under the Creative Commons Attribution 4.0 Licence (CC BY 4.0):
http://creativecommons.org/licenses/by/4.0/ \includegraphics[height=.75em]{ccby.pdf}
\else
\ifx\lsCopyright\ccbynd
Published under the Creative Commons Attribution-NoDerivatives 4.0 Licence (CC BY-ND 4.0):
http://creativecommons.org/licenses/by-nd/4.0/ \includegraphics[height=.75em]{ccbynd.pdf}
\else
Published under the Creative Commons Attribution-ShareAlike 4.0 Licence (CC BY-SA 4.0):
http://creativecommons.org/licenses/by-sa/4.0/ \includegraphics[height=.75em]{ccbysa.pdf}
\fi
\fi
The pdfs are in a subdirectory named unchanged
. Without the path specification
setenv TEXINPUTS ${TEXINPUTS}:./langsci//:
LaTeX does not find the graphics. I guess if everything has to be flat, you have to move these files up into the main directory of the langsci class.
Copying ccby.pdf into the project directory fixes this. I have learned that this is the normal setup now.
If texlive 2020 is installed with all packages as eg in all Mac installations, loading of the classes fails. I did not notice this before since I had ./langsci// in my TEXINPUTS.
This is what a grep for langsci reveals:
The result is that compilation fails:
The following helps assuming a csh: