ossner / TUMGAD

Exercise generator and helpful materials for the Introduction to Algorithms and Data Structures 📚
https://ossner.github.io/TUMGAD/src/routes
MIT License
42 stars 4 forks source link

pdfTex can't find icons in Eclipse #3

Closed maletic closed 4 years ago

maletic commented 4 years ago

Describe the bug When compiling the final document in Eclipse, pdfTex can't find the "faviconRed.png" and the "favicon.png".

To Reproduce Clone and import to Eclipse and run Tumgad.java

Expected behavior Should compile the exercise and solution pdfs.

Screenshots image

image

Desktop (please complete the following information):

Solution It can be fixed by adding "docs/" in front of favicon.png/faviconRed.png in ExerciseTemplate.tex/SolutionTemplate.tex:

\includegraphics[scale=0.25]{docs/favicon.png}

\includegraphics[scale=0.25]{docs/faviconRed.png}

ossner commented 4 years ago

By "compiling the final document" do you mean that you manually compile the tex files (e.g. via console), or the call to pdflatex that happens in the sourcecode?

maletic commented 4 years ago

The call that happens in the code. I got those 2 errors when executing the main method as instructed in the setup. I'm not sure if anybody else had the problem, just wanted to post the solution if somebody needed it.

ossner commented 4 years ago

I couldn't reproduce this. The workaround is in the issue statement. If anyone wants to reopen this issue, please add a new one and reference this one (#3)