From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/19117 Path: news.gmane.org!.POSTED!not-for-mail From: John MACFARLANE Newsgroups: gmane.text.pandoc Subject: Re: pdf-engine pdflatex not known - windows, miktex portable Date: Wed, 3 Jan 2018 10:42:07 -0800 Message-ID: <20180103184207.GA50165@protagoras> References: <54e1c2fd-4777-4f44-b956-0dcc73c2b832@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed X-Trace: blaine.gmane.org 1515004825 15559 195.159.176.226 (3 Jan 2018 18:40:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 3 Jan 2018 18:40:25 +0000 (UTC) User-Agent: Mutt/1.9.1 (2017-09-22) To: 'K' via pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBDOIWTJAKGQEKYO7IRI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jan 03 19:40:21 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-it0-f64.google.com ([209.85.214.64]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWnxa-0003iR-MR for gtp-pandoc-discuss@m.gmane.org; Wed, 03 Jan 2018 19:40:18 +0100 Original-Received: by mail-it0-f64.google.com with SMTP id h200sf2019706itb.3 for ; Wed, 03 Jan 2018 10:42:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1515004941; cv=pass; d=google.com; s=arc-20160816; b=VEAC6nGCKuNTECcs5i8dXbulBky1BocwrdaTJDGMVerMCX2/r0ETxJve3i0pHi/l33 LAs56WYZHmYdfkvmIwzesRogwxCowNPg6DC2Y5mbyAL65v2hHHkNY94RF58IEg4WLtUN UyWIImvG20zcnrK05eV9pGZF2b1ZXruxIjT5y3k5QTfFBFPK/Ws8p4lVL0ExGpl8A9kH 5S+As2rxcwHsxJhz2rqgybYSiDbS6kVcO3tVH4aldqo1YYnpo78ukN0BmokO1BoErNnZ T3tht3cbnBQ0MN6ALE+pv+p98U3Snj42UqBYsxocheNRUws6IJXPu3tI73TCxpNeEUsm RVHw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :date:from:arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=08Sz9kPYopZ1wPkvoIT6q2NXvEX0OZMQu90+87OygaU=; b=sb/cLAc/YqO5qPDRAgnbRCjFVgSI4CsLcGNnpAvydHcKJrqpp7y01EficHJ6uRy20c tZ9/6r9sUvCzMvXxvUW+kji6DEG1hG7T2UEkVFmxKMf/0MFJNR+hGY6+n9W6vee4ok6R ljp27S/8SGqN4jYGMIUV1lx52xBMmbsMHYHyxI9sMgAo5QhejDwcEuo2y55guQZyU61Y BZuIkHMdGYxMM27/yTRLdJE5GLZE12GVNke+L0gpSw+g/WDc6N0ZA+4lFv35lWO65FQk EmZrwmNnRwXCHeMmBnADEG8K2CyS4qkKe2/k+6DlCRPm7GGGvJzLY7XmaBfD6f7tG72X ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=tDjNuY65; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22a as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=08Sz9kPYopZ1wPkvoIT6q2NXvEX0OZMQu90+87OygaU=; b=YQ1rmf4u9wD/bEA5kVnO6gQ8etYtVb+655baIP/mq+OOKAgDQpaqbJw9UxBBCUrB65 e8fMVVCxdbn+16ErawS9KIRU6gfDBI9UIgulbX/T5J90VmMFP+I2a0ZO+080ieCmkbMy 5Le3T7C3R5cB6lOU1IlWvcfdXtyby46y4v1ImijH0eqwZJT988Bod4DjH21KSKJFSiI/ e2m1m3A+zzb9YjS56XhZ9M7NtKO8niZK2VPTbLlhS5/7JnXWXIILrtCdM0pavXZ+kOFj nvz7VwgwN/BG9GG1a5r5zyfqb9p9GgiACasZiGlXzTPe5NOd43BNYQ+HtEAjVWE8OTY8 cXrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=08Sz9kPYopZ1wPkvoIT6q2NXvEX0OZMQu90+87OygaU=; b=WxQ95vhMynokemaP44rYk93cC0b6x5ZCMS+0dnhgAgq7HA+WhFDEzDWHTLet8gCB30 gnk+UzTkxkqW+oqafLgfYV6zAW6iJhVO46cSZ+GknBjimJfI39RUMewUR9xDzPEr80YM pPZMWbQ16TIaWD1rdXX2TgNlGhqDMm4pjuSDt693LbJM0VfEKMISCtk77oq6EV4/xFEE auPJ9FyWKRNXrXZuDFqN9f8b4YZ67d06nYq65cIL//eSWsKh9XiFYpbsEpWci2/NgfqY AjZE0LH630Wos6Lt9/B/4FWfSqmsLPI1TxoFQNSpXD7FL1cihp6sd0gJ8MygvZVF9VN8 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AKGB3mKZfvW8N0E3ztick83uYUkmGWvmtoOVh0UE+DMuhaBwihHPg9iR vb/cTpWXExCNHVrgu/aRgAQ= X-Google-Smtp-Source: ACJfBoslRp+vWEqUR3+TEP9PYirPokzSNFdMDrFyXeHnfXGQBfnSLT7EyzZ0XBsQq/w5Pe+w1WaKHg== X-Received: by 10.36.192.196 with SMTP id u187mr41792itf.2.1515004941931; Wed, 03 Jan 2018 10:42:21 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.130.212 with SMTP id m81ls4354493ioi.0.gmail; Wed, 03 Jan 2018 10:42:21 -0800 (PST) X-Received: by 10.107.57.11 with SMTP id g11mr1506022ioa.92.1515004940992; Wed, 03 Jan 2018 10:42:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515004940; cv=none; d=google.com; s=arc-20160816; b=XURO/3vDz+NRopZAhYJonq6PyvzWsFQ4tfNeYKBW+E3HX2B4Noz5WRpbbcK2mKShc1 W9+xHprAmLZ30/OFpQ0w+0ESHcNsIQZd4F8wTJ2UNQFuF1gYaMBPN2Iz9sNuttCZ/4ef r6UhSr5bLLyY2pCBRv8JRTpsr4FVTPAqX7M7F4aAbiO2zM4OYZesNCaOx76W2HMKy9TO 3UqB8A+PkP7h7BnicO0t7fvZmycKk3Oz1E28nnpjZV7nJMLXOk4rvo8MQV3OCKmLdPT2 fRgBSL2WOW6IY+yhUpD+VJuctT0MQXGyBnltxEOkSz5WPOktZAEa/5R+RrUevEhePsEF RLug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:to:date:from:dkim-signature :arc-authentication-results; bh=g1trG44cbsJZFmV0GcPsd8pa8RBVwnP7Xyvu9rMVM64=; b=odbDKk2T9R5t1veFOsFO1+U7VEgCPL1bHdeInR5jbvfYDLAwSfpCAPDajhZw3wpRCq XnJOFdqwGU9Frxmas5o8y0WhP4caiBF7+i4YhpQT+pAQqzLPxeboPTZPbC/n9OKs7v3U 9CpOQUugL/g2HVJ6+SwKno6GqW69qYgVBX8LU0VdelFlrsm5QkkiF3Me20uVMwE2iyHt l8ADh/5U56YiwejHhQqqdCep6kU+hQvAkx8extuzQrTvBuCjAZH1OtJnVeTrYldN/QQY uv41L9Hkok746g+gUNzVA+6jICHpdqrKvy8tUiQiDy4bMmJ3gyrawHWVotxtOG8oovaN iudA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=tDjNuY65; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22a as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg0-x22a.google.com (mail-pg0-x22a.google.com. [2607:f8b0:400e:c05::22a]) by gmr-mx.google.com with ESMTPS id x189si130211ite.2.2018.01.03.10.42.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jan 2018 10:42:20 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22a as permitted sender) client-ip=2607:f8b0:400e:c05::22a; Original-Received: by mail-pg0-x22a.google.com with SMTP id t67so1007332pgc.5 for ; Wed, 03 Jan 2018 10:42:20 -0800 (PST) X-Received: by 10.99.122.69 with SMTP id j5mr1943246pgn.154.1515004940296; Wed, 03 Jan 2018 10:42:20 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id x77sm4260045pfe.61.2018.01.03.10.42.18 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 Jan 2018 10:42:18 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 095C2A21C; Wed, 3 Jan 2018 13:42:08 -0500 (EST) Content-Disposition: inline In-Reply-To: <54e1c2fd-4777-4f44-b956-0dcc73c2b832-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=tDjNuY65; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22a as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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:19117 Archived-At: Generally this would happen if the program is not found when pandoc tries to run the process. I'm not sure why that would be. Try just using --pdf-engine=pdflatex and putting the relevant directory in your path (perhaps temporarily). +++ 'K' via pandoc-discuss [Jan 03 18 04:03 ]: > Hi, > I'm using portable Versions of pandoc and miktex on a Windows System. > With pandoc 1.19.2.1 converting a markdown-File to PDF runs fine - the > used commandline looks like this: > D:\pandoc\pandoc_1.19.2.1\pandoc.exe -o docs\file.pdf > --latex-engine=D:\LaTeX\MiKTeX_2.9\miktex\bin\pdflatex.exe --toc > docs\file.md > After upgrading pandoc to 2.0.6 I have to change the parameter > --latex-engine to --pdf-engine. The new commandline that would be used > was this: > D:\pandoc\pandoc_2.0.6\pandoc.exe -o docs\file.pdf > --pdf-engine=D:\LaTeX\MiKTeX_2.9\miktex\bin\pdflatex.exe --toc > docs\file.md > Following is the response I get: > pdf-engine D:\LaTeX\MiKTeX_2.9\miktex\bin\pdflatex.exe not known > I have updated Miktex, but the result is the same. With 1.19.2.1 the > PDF will be created. > Thanks for any helpfull advice. > Greetings > Karsten > > -- > 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to > [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > [3]https://groups.google.com/d/msgid/pandoc-discuss/54e1c2fd-4777-4f44- > b956-0dcc73c2b832%40googlegroups.com. > For more options, visit [4]https://groups.google.com/d/optout. > >References > > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 3. https://groups.google.com/d/msgid/pandoc-discuss/54e1c2fd-4777-4f44-b956-0dcc73c2b832-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer > 4. https://groups.google.com/d/optout