From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/19125 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: Thu, 4 Jan 2018 08:27:11 -0800 Message-ID: <20180104162711.GD15709@Johns-MacBook-Pro.local> References: <54e1c2fd-4777-4f44-b956-0dcc73c2b832@googlegroups.com> <20180103184207.GA50165@protagoras> <0fa916f1-8d06-41ca-9d2a-18ca616c37f2@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 1515083136 23003 195.159.176.226 (4 Jan 2018 16:25:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 4 Jan 2018 16:25:36 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) To: 'K' via pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB3FLXHJAKGQE366FRGQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jan 04 17:25:32 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f186.google.com ([209.85.223.186]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eX8KY-00055y-FI for gtp-pandoc-discuss@m.gmane.org; Thu, 04 Jan 2018 17:25:22 +0100 Original-Received: by mail-io0-f186.google.com with SMTP id t134sf2174220iof.6 for ; Thu, 04 Jan 2018 08:27:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1515083245; cv=pass; d=google.com; s=arc-20160816; b=PkdeUqqQ/fnFSzSO07UX/09PPybkTGMK0UD7HQIRX+UN37IAOlQ/7rWMcXg9CdBaZX zP4N4kicearC6VOoncP0K0a6t7LPzz48tzbQiGn6o2TyveDj6PhAJXVGz/3AlHlCl3Hx 59GT41jPqtbzn0LKGDb4aNs6UNN9ahAHf/UIr5dxs/j4f1+2Z7q82dUZLDOZjo3PGdcM ZAv6z3SfXVSh0sfEoDo1LfHtDwMtHoE2AifS1H9C9Cyhw9Me+uNp2fVtWxl2iINKU+os Tms70fk6bIFO2AZXE0/7fVrSQnIpf7vGND4LbtRA384JgVH8ZYIaLH79QfFx+qyigtsA XJ8A== 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=V9nZD4rtbTSojfO6PK+WbLr/dw90QFgAl3u1tbwwMFM=; b=FyLdLDtgJoFWrNeni4xFY5lp0sBrXBlE5hlbAB4hs8P6cVTK9uvummjY55YT4GLp++ q8aWIW2a3PANoqcp7TFUgY5tOv/I+qe4C5SYj77yO1F0oo5Ord48EwYpKwvSmBNH60ev dckEu+hoh2IREonUXLq6u45p3ozIUr7N9bNicDZbpKSPl81EjXvK/8PRftEvKBqeW5IP 7edk7DDAj+j/PBTHmhpevPyxJb87GjUK83N4fOTvui/evdJnmHgi0709TDL/SaI6pjX7 YgcVDRsJfVjpO3nUjIHqY5TUHjbksks3yglwBQwkwlVyaq9YnT1Nf0o3URAydcQA9rvJ ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=oF2wXGCw; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c01::235 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=V9nZD4rtbTSojfO6PK+WbLr/dw90QFgAl3u1tbwwMFM=; b=j87pBAjUsGJLyPWaqHZaEAyMG0UUmAwyKYMqAV+mTTUqlx6xn5hWbqmaIJUnDfRPlM 9dTMneSoFeBzy9l2ifcAuDbo6JbnkBl8VrmSt6xwRJ5Yqydp+ZnPKf5DNavjx1oncTxM LqspImaKthFtPQRpBToCNtcm/de1SLeG6Fb+yfXWu3Y/DTVrJq8l0BY5cH3kE2gtzxhN 7WdGu0sZg+nZ2BEFj+P3KepbKm6mM9bp4U7yyM2mF6q8HspZ5Jgjyjm7BRSkTJqrJPis YYHG7bh+XPAzp8zKnZGEaHZDJ3sytxqFWWnUO0n9hX1P5z7x1x8EQ8ClG3pzg/IeRevG l0AA== 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=V9nZD4rtbTSojfO6PK+WbLr/dw90QFgAl3u1tbwwMFM=; b=EIkiquuyfhkyeQIVA43JR2CWS/y5SsTHsLHXODBSGSynR1WhqkdlS9Ml7Tj5XYx+Aw sI7BRCsk1uaS/8NvwBy+2NqQlypzmV1rDBHGIW7TEOqgHP1nKeleo6Z/eHmOFBvOwfua FMj5MQtxYLmBe1UNoNK9BwUvsXMt8hJwqB+kF7kadsZEQipREWl2DrEH0pvM8+LlOT63 mv4K9lPcaUgcz0pCxYFeuq2Tdud4gq03eVzPwKbAPDYQKmCF22tWzpJp7dWSUzZZdiE3 6r47JA7NnXUvS4e0IseWSc/1agEQMsAk3fErdFuLdtkzqCBvfBWuoQ2wSxzlgChkl3w9 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AKGB3mKpqDx9vKGp83YmkBbv+plH1ytmMVrXeW1iBBzf4S41YGgTTZFA NOUZbZlot5Gvka+Qyg6ZfGk= X-Google-Smtp-Source: ACJfBotqN9AzS2P7WowcOYGO+UY0p+mDeDBsHqY6hxD4fT8955ArlOvMfQG2rmialeBRpTiXAc54Ug== X-Received: by 10.36.65.211 with SMTP id b80mr939itd.6.1515083245763; Thu, 04 Jan 2018 08:27:25 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.159.229.130 with SMTP id az2ls19009plb.11.gmail; Thu, 04 Jan 2018 08:27:24 -0800 (PST) X-Received: by 10.159.206.131 with SMTP id bg3mr39379plb.26.1515083244749; Thu, 04 Jan 2018 08:27:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515083244; cv=none; d=google.com; s=arc-20160816; b=LGgB6+nAJR9EsrJA+d37HmSkQuCikbzEUVmB6HqzqyWkmI+B+RTjDLXXVLrFLTDtdd fzWBfnYG4EEE5dInDqYF7hm3uYBAEfm4Sb46AazLdLy/vPdsl60RrBDcGhvn2zV3oY0Q 4hR7Mu27cd5jMCJZh8wPlrPHB01I7bKp5XIBl2tfdidWEHjP0CGCaG7IfjtI8OxB8ngu kCy1DhdC1wybjUzj4GS/63Y5XJZFNp2TdrlLA7KVSlHjGPoGJ7DJ3exi1p2Gby5QUfnd gPNeHRJZEeS9N5kU3iWFwKnC0W/PlG0IdYBV4RiD3fO7OFBQcsN9c26qgF1UBrH1dqI6 5pmQ== 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=N6IG3DkKwjaSjoSLaXXaQ/9Lk4iXF2VWeI99OVcPzmg=; b=aa8GtHUe701LSUlpWjYewT5PS+MohIIALyG8l84SqnjfmaQcNzBTvKPjoKyB6IUWmw JvuCNAglmb5gabXcOnsjVs8F2xYNn8wBsm0KK4d8MC7QPi5lRx8uCaob3qwxw2UoBuyn Kab6SwE5DkTuRighOTuA9Nj3eG4+mGJMsdN+QnKrqqgDajYpi1E0/2vU49QuWAPmLpuF xJRlCHyhDiX70J9prw7wT/UaCJB077lPTauzUDtuuRk+M8KG3spDSKKmVQ5EKnSRiNmd kIHK0RHtMGEhawu7Gmya6mJvK9QDgXvB/wDBbcFtxvwhuvwEKBXEpkE2We1UHZO6WTWX H3Hw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=oF2wXGCw; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c01::235 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pl0-x235.google.com (mail-pl0-x235.google.com. [2607:f8b0:400e:c01::235]) by gmr-mx.google.com with ESMTPS id a2si153975pfa.2.2018.01.04.08.27.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jan 2018 08:27:24 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c01::235 as permitted sender) client-ip=2607:f8b0:400e:c01::235; Original-Received: by mail-pl0-x235.google.com with SMTP id 62so1295531pld.7 for ; Thu, 04 Jan 2018 08:27:24 -0800 (PST) X-Received: by 10.84.216.23 with SMTP id m23mr90657pli.215.1515083244118; Thu, 04 Jan 2018 08:27:24 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id c73sm9380240pfd.181.2018.01.04.08.27.22 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Jan 2018 08:27:22 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 12830A21C; Thu, 4 Jan 2018 11:27:12 -0500 (EST) Content-Disposition: inline In-Reply-To: <0fa916f1-8d06-41ca-9d2a-18ca616c37f2-/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=oF2wXGCw; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c01::235 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:19125 Archived-At: I'm not sure why there'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 ]: > Thanks for your response. > Because of using it in a batch-file I could temporary change the > path-variable without a problem and after that it runs smoothly. > Is pandoc 2 searching for ( / needing) supporting-files from miktex / > pdflatex? (and version 1.x doesn't do that?) > But that workaround is good enough for me. > Thanks for your quick help. > Am Mittwoch, 3. Januar 2018 19:42:23 UTC+1 schrieb John MacFarlane: > > 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\[1]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\[2]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 [3]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to > [4]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > [5]https://groups.google.com/d/msgid/pandoc-discuss/0fa916f1-8d06-41ca- > 9d2a-18ca616c37f2%40googlegroups.com. > For more options, visit [6]https://groups.google.com/d/optout. > >References > > 1. http://file.md/ > 2. http://file.md/ > 3. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 4. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 5. https://groups.google.com/d/msgid/pandoc-discuss/0fa916f1-8d06-41ca-9d2a-18ca616c37f2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer > 6. https://groups.google.com/d/optout