I made clean Debian 9.2 installation, changed my sources.list to use testing repositories, updated my packages and installed the texlive-full package.
Problem
When i tried to compile a document (the documentation for example) I get the followinf error:
LaTeX Warning: File `caution.png' not found on input line 595.
So i checked the upmethodology install and:
/usr/share/texlive/texmf-dist/tex/latex/upmethodology $ ls -l
total 156
-rw-r--r— 1 root root 2294 25.11.2016 19:34 upmethodology-backpage.sty
-rw-r--r— 1 root root 4422 25.11.2016 19:34 upmethodology-code.sty
-rw-r--r— 1 root root 9872 25.11.2016 19:34 upmethodology-document.cls
-rw-r--r— 1 root root 20442 19.02.2017 01:01 upmethodology-document.sty
-rw-r--r— 1 root root 3802 10.08.2017 00:15 upmethodology-extension.sty
-rw-r--r— 1 root root 52055 10.08.2017 00:15 upmethodology-fmt.sty
-rw-r--r— 1 root root 8131 10.08.2017 00:15 upmethodology-frontpage.sty
-rw-r--r— 1 root root 6805 25.11.2016 19:34 upmethodology-p-common.sty
-rw-r--r— 1 root root 15166 25.11.2016 19:34 upmethodology-spec.sty
-rw-r--r— 1 root root 9428 25.11.2016 19:34 upmethodology-task.sty
-rw-r--r— 1 root root 5638 25.11.2016 19:34 upmethodology-version.sty
-rw-r--r— 1 root root 26 10.08.2017 00:15 UPMVERSION.def
arakhne_org_logo.jpg
, caution.png
, info.png
and question.png
, are missing.
Quick fix
I cloned the repository and added the pictures:
$ cd /tmp
$ git clone https://github.com/gallandarakhneorg/tex-upmethodology
$ sudo cp /tmp/tex-upmethodology/src/*.png /usr/share/texlive/texmf-dist/tex/latex/upmethodology/
$ sudo cp /tmp/tex-upmethodology/src/*.jpg /usr/share/texlive/texmf-dist/tex/latex/upmethodology/
$ sudo texhash
It fixed the compilation problem but now a got this (page 50 of the documentation):
I foud that the i picture is from the notes package, so:
$ sudo mv /usr/share/texlive/texmf-dist/tex/latex/notes/info.png /usr/share/texlive/texmf-dist/tex/latex/notes/info-ugly.png
$ sudo texhash
And this time everything worked fine:
Thought
I explained my quick fix in case someone else got the problem but an other problem appear: a file name clash with notes package.
Maybe caution.png
, info.png
and question.png
, shoud have a prefix like upmcaution.png
, upminfo.png
and upmquestion.png
to avoid name clash with other packages like notes.
For the missing files, I don't know how Tex Live packages are managed, is it a problem from texlive package manager or from the package itself?
Maybe it is specific to the Debian package or the Debian testing package.
Informations
upmethodology
$ cat /usr/share/texlive/texmf-dist/tex/latex/upmethodology/UPMVERSION.def
\def\UPMVERSION{20170808}
Debian
$ uname -a
Linux Maxime-debian 4.13.0-1-amd64 #1 SMP Debian 4.13.13-1 (2017-11-16) x86_64 GNU/Linux
Tex Live
$ tex --version
TeX 3.14159265 (TeX Live 2017/Debian)
kpathsea version 6.2.3
Copyright 2017 D.E. Knuth.
There is NO warranty. Redistribution of this software is
covered by the terms of both the TeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the TeX source.
Primary author of TeX: D.E. Knuth.
locale
$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US:en