"which pdflatex" says "pdflatex: aliased to /usr/bin/pdflatex"

when converting a .tex to a .pdf I get the same error

mandag 18. september 2017 11.08.44 UTC+2 skrev Ivan Miljenovic følgende:
What does "which pdflatex" say?

Can you use it on its own to convert a .tex file to .pdf?

On 18 September 2017 at 19:03, Torje <torje.n...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> when I run: pandoc test.md -o test.pdf
> I get this error:
>
> lstat(./pdflatex) failed ...
> ./pdflatex: No such file or directory
> pdflatex: ../../../texk/kpathsea/progname.c:316: remove_dots: Assertion
> `ret' failed.
>
> pandoc: Error producing PDF
>
> When I run with sudo, it works properly. I do not want to run it as root all
> the time.
>
> --
> You received this message because you are subscribed to the Google Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pandoc-discus...@googlegroups.com.
> To post to this group, send email to pandoc-...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/7ab542fd-daf3-42c3-a3a6-1d3b151d38be%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Ivan Lazar Miljenovic
Ivan.Mi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
http://IvanMiljenovic.wordpress.com

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/bd7daa06-61a0-4b6a-b589-16a295775544%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.