Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tikzducks-generic file missing? #27

Closed
Leviathantheesper opened this issue Jul 21, 2020 · 6 comments
Closed

Tikzducks-generic file missing? #27

Leviathantheesper opened this issue Jul 21, 2020 · 6 comments

Comments

@Leviathantheesper
Copy link

Hi

I just installed this package but I haven't been able to compile any duck.
The issue occurs everytime I try to draw a duck. When I try to compile the following:

\documentclass{standalone}
\usepackage{tikzducks}
\begin{document}
\begin{tikzpicture}
\duck
\end{tikzpicture}
\end{document}

I get the error

! I can't find file `tikzducks-generic'.
! Emergency stop. \input tikzducks-generic
! ==> Fatal error occurred, no output PDF file produced!
When I search tikzducks in my machine it seems I can't find the file 'tikzducks-generic.tex' so I thought if I downloaded the file the issue would be solved. The issue persists with the same error message but perhaps because I'm not sure about where should I put the file.

@samcarter
Copy link
Owner

samcarter commented Jul 21, 2020

Thanks for the report!

I'm having problems to reproduce the issue you report. Could you please tell me

  1. which tex distribution you use (texlive, miktex?)
  2. which engine do you use to compile (pdflatex, xelatex, lualatex,...)

@joulev
Copy link

joulev commented Jul 21, 2020

@Leviathantheesper I suspect you installed the package manually, which can go wrong very easily if you are not familiar with the TDS. Please install the package with your TeX distribution’s package manager. For example on TeX Live

$ sudo tlmgr install tikzducks

This is a MiKTeX issue afaik.

@Leviathantheesper
Copy link
Author

Leviathantheesper commented Jul 23, 2020

Thanks for the report!

I'm having problems to reproduce the issue you report. Could you please tell me

  1. which tex distribution you use (texlive, miktex?)
  2. which engine do you use to compile (pdflatex, xelatex, lualatex,...)

I'm using MiKTeX (I notice I didn't mention I use windows 10), and I'm trying to compile pdflatex. It seems it's a MiKTeX issue, according to the link joulev posted. Since the file can be downloaded I expected I would be able to fix it by pasting it in the appropiate location but I haven't figured out where is that.

Also it works correctly when I use overleaf so it's indeed something in my end (MiKTeX I suppose).

@samcarter
Copy link
Owner

@Leviathantheesper As a temporary workaround until this gets fixed in miktex, you can download https://github.com/samcarter/tikzducks/blob/master/tikzducks-generic.tex and place it in your working folder

@Leviathantheesper
Copy link
Author

That works.

@samcarter
Copy link
Owner

samcarter commented Jul 27, 2020

Has been fixed by miktex MiKTeX/miktex-packaging#182

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants