From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/20394 Path: news.gmane.org!.POSTED!not-for-mail From: Giacomo Lanza Newsgroups: gmane.text.pandoc Subject: Re: pdf-engine pdflatex not known - windows, miktex portable Date: Wed, 20 Jun 2018 00:56:40 -0700 (PDT) Message-ID: References: <54e1c2fd-4777-4f44-b956-0dcc73c2b832@googlegroups.com> <20180103184207.GA50165@protagoras> <0fa916f1-8d06-41ca-9d2a-18ca616c37f2@googlegroups.com> <20180104162711.GD15709@Johns-MacBook-Pro.local> <47a53a1e-9098-459f-b88f-618c6ded03e4@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_23192_1729001933.1529481401001" X-Trace: blaine.gmane.org 1529481276 11558 195.159.176.226 (20 Jun 2018 07:54:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 20 Jun 2018 07:54:36 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCK3JKFCTUIRBOURVDMQKGQEJW6NP2Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jun 20 09:54:32 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f63.google.com ([209.85.218.63]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVXwl-0002tw-Ah for gtp-pandoc-discuss@m.gmane.org; Wed, 20 Jun 2018 09:54:31 +0200 Original-Received: by mail-oi0-f63.google.com with SMTP id u63-v6sf1376975oia.8 for ; Wed, 20 Jun 2018 00:56:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=lU9VEfQ23T7TfoH0UkcShydx+wSBrs9Ijo/CweVrzDI=; b=HM2QTrk0JmDh9HUmqOclkGFR0b58F/x2XJtmZ/A3EI8SLCcV02hr1uQfxaYcL3YQnD IyY0wHZ2wq0FiU80CDX+Zsum/ab2z51Ebuu1RZ6lY6jPjX17yAmeVxAvR6oz0MvTBU2q YWFqS2j7jRJJNE5Se4Ut6UIuePVoy6Lvjmz4PEjVOfQS9nPKZ7SqFn3OWrEKWWOLO/4y ksmqHdBSiGCo6UEvVzE1oc/wQ2EdIWxL/FvkhGQF0Y7kHtwBxkXRrZibNevbphI/bIJC 1tw+0oe9QGRCXSDd8msNn4d2cfVNfLWA5y1ggG9TBBUn2VGaKIECx9L87FihPKbUBZU3 eEpQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=lU9VEfQ23T7TfoH0UkcShydx+wSBrs9Ijo/CweVrzDI=; b=YOrmVj+jrorddvQlHfH09S5IGyuez1XjOcGlSLPy6Gi/udIW92FE9xuoTL3dbnfxaw 5jEgdQmu8Vmmr0YhjDnm6LG9/pV5aawu0lV75voLYQNBk9VFqYfqohebHfLOy+ymv5A1 6vk7LUYXpL2lLR6SldKXf6aGY2Nar+d/VqiHDuK5T6Hh7OOFykqLFqrBJEb/9/DemUN0 6xt6a1JoSui0mBHBy+9CMTcxAhuqNobWy7FgNXEW6PuLfCmVOSr3qhsvSJkf+W4Pjfzp JR80vxtpAsZhK35XiMVh2Fd0PdodTKkeo3qPMs/JnBAMHmoy8o/VSQNvbMhBoGBYmOBi 82IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=lU9VEfQ23T7TfoH0UkcShydx+wSBrs9Ijo/CweVrzDI=; b=NLRCz/BJKksExQPunSymY8teXFc/rxbl0zskOxaGxTFj9twJk0OqfEvxGD2NPVBSbE INuBhCh7JgEaDjzoxQtw8GyBrs/pO8roMHONyzZIBjT9EGezfBEyS2BbyK/MMzD4ijTs R5q0fqFYG7L7mOLYE+xvDAgS8y0Yf5GHHmx4YgBVCk6Le5Sir16QzDjstSxzBmzq7baS 4t87cYBVUFa01h+FJ6SGHlpS0dSODN/FK3Aydc2RDo7qXD6PvnagtY5725qbzHFtTl/7 AXUcwNV7KkH+yTBnQ8aGRTUGlvfMDnE1dcAKQ6QJVTiMF0Dcv8c3p8gMRPFtKp5m46Vl ec2A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APt69E2xGban+zqaqk75sfrid5CXY0lIESr9SE+u1b9Kjqn71Bh6tswK AtzyRRo4rApGdyTT/+dA/Ss= X-Google-Smtp-Source: ADUXVKJ+49gOHgiMdsz2rpJ3M5v/iKjU1wklKiK0v93W1LidbwoD2HFoSQMmZPVKZ5CuImIVSLGRrw== X-Received: by 2002:a9d:296a:: with SMTP id d97-v6mr110906otb.1.1529481402491; Wed, 20 Jun 2018 00:56:42 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:3144:: with SMTP id x65-v6ls689274oix.17.gmail; Wed, 20 Jun 2018 00:56:41 -0700 (PDT) X-Received: by 2002:aca:d60f:: with SMTP id n15-v6mr900709oig.6.1529481401606; Wed, 20 Jun 2018 00:56:41 -0700 (PDT) In-Reply-To: <47a53a1e-9098-459f-b88f-618c6ded03e4-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: nuovog6-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:20394 Archived-At: ------=_Part_23192_1729001933.1529481401001 Content-Type: multipart/alternative; boundary="----=_Part_23193_1465534482.1529481401001" ------=_Part_23193_1465534482.1529481401001 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hallo everybody, my case is related, but the behaviour is different. A conversion to PDF via PDFLaTeX works regardless of the engine being=20 installed at a different hard disk partition than my work directory. A conversion to PDF using other suggested engines (I tried Prince and=20 wkhtmltopdf) does not work. On my computer, all programs are installed in the C:\ partition, whereas my= =20 work directory is under P:\. The argument --pdf-engine=3D does not accept one full path: just the name o= f=20 the engine. For security reasons I am not allowed to write inside a folder higher than= =20 C:\Program files\. Has anybody a clue, where the problem lies? Thanks in advance. Best greetings Giacomo Il giorno venerd=C3=AC 5 gennaio 2018 08:57:29 UTC+1, K ha scritto: > > Thanks for caring ... as I see in the posts, the problem is not Windows= =20 > exclusive. > For me the solution with temporary updating the path, is enough.=20 > It seems, i can't help anymore, because the parameter --trace,=20 > --log=3Dfile.log, --verbose didn't seem to work for me (at least in my=20 > batch-file), so i can't provide any more information. :( > > Thanks for this incredible piece of software. > > Am Donnerstag, 4. Januar 2018 17:27:27 UTC+1 schrieb John MacFarlane: >> >> I'm not sure why there'd be a difference btw pandoc 1 and 2.=20 >> I've looked at the code and nothing is jumping out at me.=20 >> >> +++ 'K' via pandoc-discuss [Jan 03 18 23:29 ]:=20 >> > Thanks for your response.=20 >> > Because of using it in a batch-file I could temporary change the=20 >> > path-variable without a problem and after that it runs smoothly.=20 >> > Is pandoc 2 searching for ( / needing) supporting-files from miktex = /=20 >> > pdflatex? (and version 1.x doesn't do that?)=20 >> > But that workaround is good enough for me.=20 >> > Thanks for your quick help.=20 >> > Am Mittwoch, 3. Januar 2018 19:42:23 UTC+1 schrieb John MacFarlane:= =20 >> >=20 >> > Generally this would happen if the program is not found=20 >> > when pandoc tries to run the process. I'm not sure why that=20 >> > would be.=20 >> > Try just using --pdf-engine=3Dpdflatex and putting the=20 >> > relevant directory in your path (perhaps temporarily).=20 >> > +++ 'K' via pandoc-discuss [Jan 03 18 04:03 ]:=20 >> > > Hi,=20 >> > > I'm using portable Versions of pandoc and miktex on a Windows= =20 >> > System.=20 >> > > With pandoc 1.19.2.1 converting a markdown-File to PDF runs=20 >> fine=20 >> > - the=20 >> > > used commandline looks like this:=20 >> > > D:\pandoc\pandoc_1.19.2.1\pandoc.exe -o docs\file.pdf=20 >> > > --latex-engine=3DD:\LaTeX\MiKTeX_2.9\miktex\bin\pdflatex.exe= =20 >> --toc=20 >> > > docs\[1]file.md=20 >> > > After upgrading pandoc to 2.0.6 I have to change the parameter= =20 >> > > --latex-engine to --pdf-engine. The new commandline that would= =20 >> > be used=20 >> > > was this:=20 >> > > D:\pandoc\pandoc_2.0.6\pandoc.exe -o docs\file.pdf=20 >> > > --pdf-engine=3DD:\LaTeX\MiKTeX_2.9\miktex\bin\pdflatex.exe --t= oc=20 >> > > docs\[2]file.md=20 >> > > Following is the response I get:=20 >> > > pdf-engine D:\LaTeX\MiKTeX_2.9\miktex\bin\pdflatex.exe not=20 >> known=20 >> > > I have updated Miktex, but the result is the same. With=20 >> 1.19.2.1=20 >> > the=20 >> > > PDF will be created.=20 >> > > Thanks for any helpfull advice.=20 >> > > Greetings=20 >> > > Karsten=20 >> > >=20 >> >> --=20 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/e1f959b2-de75-4cbe-bcf6-7a1bcfb02ce5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_23193_1465534482.1529481401001 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hallo everybody,

my case is = related, but the behaviour is different.

A convers= ion to PDF via PDFLaTeX works regardless of the engine being installed at a= different hard disk partition than my work directory.

=
A conversion to PDF using other suggested engines (I tried Prince and = wkhtmltopdf) does not work.

On my computer, all pr= ograms are installed in the C:\ partition, whereas my work directory is und= er P:\.

The argument --pdf-engine=3D does not acce= pt one full path: just the name of the engine.

For= security reasons I am not allowed to write inside a folder higher than C:\= Program files\.

Has anybody a clue, where the prob= lem lies?

Thanks in advance.

Best greetings

Giacomo

Il giorno = venerd=C3=AC 5 gennaio 2018 08:57:29 UTC+1, K ha scritto:
Thanks for caring ... as I see= in the posts, the problem is not Windows exclusive.
For me the solution= with temporary updating the path, is enough.
It seems, i can't hel= p anymore, because the parameter --trace, --log=3Dfile.log, --verbose didn&= #39;t seem to work for me (at least in my batch-file), so i can't provi= de any more information. :(

Thanks for this incredible piece of soft= ware.

Am Donnerstag, 4. Januar 2018 17:27:27 UTC+1 schrieb John MacF= arlane:
I'm not sure why there&#= 39;d be a difference btw pandoc 1 and 2.
I've looked at the code and nothing is jumping out at me.

+++ 'K' via pandoc-discuss [Jan 03 18 23:29 ]:
> =C2=A0 Thanks for your response.
> =C2=A0 Because of using it in a batch-file I could temporary chang= e the
> =C2=A0 path-variable without a problem and after that it runs smoo= thly.
> =C2=A0 Is pandoc 2 searching for ( / needing) supporting-files fro= m miktex /
> =C2=A0 pdflatex? (and version 1.x doesn't do that?)
> =C2=A0 But that workaround is good enough for me.
> =C2=A0 Thanks for your quick help.
> =C2=A0 Am Mittwoch, 3. Januar 2018 19:42:23 UTC+1 schrieb John Mac= Farlane:
>
> =C2=A0 =C2=A0 Generally this would happen if the program is not fo= und
> =C2=A0 =C2=A0 when pandoc tries to run the process. I'm not su= re why that
> =C2=A0 =C2=A0 would be.
> =C2=A0 =C2=A0 Try just using --pdf-engine=3Dpdflatex and putting t= he
> =C2=A0 =C2=A0 relevant directory in your path (perhaps temporarily= ).
> =C2=A0 =C2=A0 +++ 'K' via pandoc-discuss [Jan 03 18 04:03 = ]:
> =C2=A0 =C2=A0 > =C2=A0 Hi,
> =C2=A0 =C2=A0 > =C2=A0 I'm using portable Versions of pando= c and miktex on a Windows
> =C2=A0 =C2=A0 System.
> =C2=A0 =C2=A0 > =C2=A0 With pandoc 1.19.2.1 converting a markdo= wn-File to PDF runs fine
> =C2=A0 =C2=A0 - the
> =C2=A0 =C2=A0 > =C2=A0 used commandline looks like this:
> =C2=A0 =C2=A0 > =C2=A0 D:\pandoc\pandoc_1.19.2.1\pandoc.ex= e -o docs\file.pdf
> =C2=A0 =C2=A0 > =C2=A0 --latex-engine=3DD:\LaTeX\MiKTeX_2.= 9\miktex\bin\pdflatex.exe --toc
> =C2=A0 =C2=A0 > =C2=A0 docs\[1]fi= le.md
> =C2=A0 =C2=A0 > =C2=A0 After upgrading pandoc to 2.0.6 I have t= o change the parameter
> =C2=A0 =C2=A0 > =C2=A0 --latex-engine to --pdf-engine. The new = commandline that would
> =C2=A0 =C2=A0 be used
> =C2=A0 =C2=A0 > =C2=A0 was this:
> =C2=A0 =C2=A0 > =C2=A0 D:\pandoc\pandoc_2.0.6\pandoc.exe -= o docs\file.pdf
> =C2=A0 =C2=A0 > =C2=A0 --pdf-engine=3DD:\LaTeX\MiKTeX_2.9\= miktex\bin\pdflatex.exe --toc
> =C2=A0 =C2=A0 > =C2=A0 docs\[2]fi= le.md
> =C2=A0 =C2=A0 > =C2=A0 Following is the response I get:
> =C2=A0 =C2=A0 > =C2=A0 pdf-engine D:\LaTeX\MiKTeX_2.9\miktex\bin\pdflatex.exe not known
> =C2=A0 =C2=A0 > =C2=A0 I have updated Miktex, but the result is= the same. With 1.19.2.1
> =C2=A0 =C2=A0 the
> =C2=A0 =C2=A0 > =C2=A0 PDF will be created.
> =C2=A0 =C2=A0 > =C2=A0 Thanks for any helpfull advice.
> =C2=A0 =C2=A0 > =C2=A0 Greetings
> =C2=A0 =C2=A0 > =C2=A0 Karsten
> =C2=A0 =C2=A0 >

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-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/e1f959b2-de75-4cbe-bcf6-7a1bcfb02ce5%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_23193_1465534482.1529481401001-- ------=_Part_23192_1729001933.1529481401001--