From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18120 Path: news.gmane.org!.POSTED!not-for-mail From: Daniel Staal Newsgroups: gmane.text.pandoc Subject: Re: Process multiple files with pandoc Date: Thu, 31 Aug 2017 12:17:09 -0400 Message-ID: <24c80671-c118-4d9f-58f8-96d70b273176@usa.net> References: <57b91dde-4750-48a4-b79a-d8c9020b373e@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 1504196248 13418 195.159.176.226 (31 Aug 2017 16:17:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 31 Aug 2017 16:17:28 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCGYLPE23UARBBXNUDGQKGQECVJLQDI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Aug 31 18:17:23 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f183.google.com ([209.85.223.183]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnS9Q-0002S6-D0 for gtp-pandoc-discuss@m.gmane.org; Thu, 31 Aug 2017 18:17:04 +0200 Original-Received: by mail-io0-f183.google.com with SMTP id m98sf911244ioo.6 for ; Thu, 31 Aug 2017 09:17:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1504196231; cv=pass; d=google.com; s=arc-20160816; b=PvBTAAK+M+ubdqBGTSAIOeac3BhC7o45q813Y4ZGG40rjCXMEkvyFzPDWsacf//AE4 j5vtQUAK/aEwJNJiT50t8R+A9um+yi5LV6sR8y1YrFeyquEWEhNfII2SL2pYQVRza1Uo t2noRiLgn+029gdsXMsdH2wp8oq4A1dz2ej51JToAqnSAaD3/b/HVN5DmwnQCoNrk6oL WMEACdaDxVx8wE/ClcXgrjIhoCIuxHveiZjUw/UHr2080ysPV8MQ3HNeq8iPgLJGcUfJ UErurHWh/ItRCtjNMdoyT8hNVsqf+NCaW75cRUEyxMbSxRXWb69znaxa6WG+SjUyNnkr zSRg== 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:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=6Spv26PecG4R0EyH/kAY3143f8jSZASUVxnYajcwTNg=; b=yoqJUmVsR2Rz3aNpOA+9BAG8i0eN/Q0YYdp36qTo45nZ4HDPsMfBZ9vHUX1wRzs2nI K7tbIzNn5gmDWK8h84y2OKMyvGUkIycTbGepoPA11ZvKD0fOpESjthc95TOHmgPoGw/P X533L21jTtpWDpvan7HdppmtDv637N2d2479OjwO2VhS1/7Mg8g1wbV2AtcCifJ3GFW6 ixHaiHDRVThuAMoTyvCQgtUq4m6iH2bSDq38mQ9KHEZlk0hkpc0R3P/AmlPTHRLOoY1i 2ABYfpTfmLFT/yXlnD2ULyhESUdy0bXt62+J+x65StydCsPnzB0kZWMq/a2JeQMkOjH8 HSw ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language: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=6Spv26PecG4R0EyH/kAY3143f8jSZASUVxnYajcwTNg=; b=g01gCddGSj5XGyn1pZm8DLsCbRD9261fjYlRoRQA425QDUlxffnongKGJX3P7+btKx nUvBXFddeKplBbwEF3dh0IFbvkFoY72lptJ2T5aSQfbfcvWt4RPvv8SSDP3x8ro7re0N LUCdIB/NlxWyb6lXjEaudNp6p1l62ec0ZrtV+S21ztjY1AfY4TP0RndjyXeZcbCGm+RP YjEy2ERfmpUpfUfECpA9mIlAyP2r9E4viRzeIvnqpFM63hrUlsUPaulfoELWppsu/TBU 0Ppm84Rc84v+wZFd8U1h3TjbA55PtlCbQDgF7Iz1LE3IWSQ/87nZZksJY4Nawk38aSwJ YuwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :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=6Spv26PecG4R0EyH/kAY3143f8jSZASUVxnYajcwTNg=; b=XOSvdmuaT0tWnfgDNpf30SsESTyY5HJyqGwYXPKUy0UvhePR2PWzWt+vZ4Nx9hsz3u evr7Y2WnNTbnZYOmJfRGQhZApxpoyZm4oZ8AzWp9klL7xbjdJva+5PGz/HQxvzeJJBVd /nY1zkzWSB/UNkiwdAs7kruiKqda++HASiU9o9YrsW4gRb1WWEu9AD9A5N69lXTWOrBk mxDJpqAag+crGjKvnpSSBkVB/FENBZcsNOptlRxdrrf+y7wptDjeWdqHRIY9DDxDGsiS JUwP2PDAu/ABVUwH9I1WqKYnvtRHnvgoX/FyCDcNbOH2w9ObGYKL7MpGAx1DUFiMpQGh Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHYfb5gl+mKkVhI5t7Spt+r/Cp07pGtwirP5NXmNA9kl/rvNo/XvvteD aH1EncYlutss6Q== X-Google-Smtp-Source: ADKCNb6QWLdLQtUUN8eRQTWwEqYcJMpxIrp45cd8Nir26Q9ydqPOwDSgc4hCCs1dQxsBk700qMK3OA== X-Received: by 10.36.86.196 with SMTP id o187mr250782itb.5.1504196231434; Thu, 31 Aug 2017 09:17:11 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.161.200 with SMTP id k191ls6346567ioe.54.gmail; Thu, 31 Aug 2017 09:17:10 -0700 (PDT) X-Received: by 10.36.47.11 with SMTP id j11mr594068itj.11.1504196230546; Thu, 31 Aug 2017 09:17:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504196230; cv=none; d=google.com; s=arc-20160816; b=NBDlI4k81saPlou6BDuSVOPNVxADbZL3VZIRRlNAxGu3SWuyKjypZbpPGdfiLKfXko dP8mJAZ0APHylzfn6ZbyOxpq7kWQcjTcAaChAu/ulxaFbHvmejhMNTWCEWIqw0OK6yd9 oSXr3vGPYLt7JyC1MpJ5z2DqCjj7+7w4ClKd8CRN7C3f6FvaEQfHFEoS5cdd/KW/HIF8 5BA6cLv89HHt7+NVrj8WhPUxlIcVRvCtqmOYB5MduBVhzeSglSdjbeF3T1IOgEGYKybz 3ajjynyttmaqJ7Ocn96XE1DyhRPIAH4MVrLovsbur0ntjM8lU8M0VTVaTYtucXfPZcHr n94A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :arc-authentication-results; bh=iZOxc1486aHpK+oSC8gP2k9GyyuWOQuAFAsSG0VYDjA=; b=h4iomyypZmRJfH0VnQEHJ+YPKauQAYrKwI7ewY4crvE2M0wW3xUrT6F9uU2ytwZ5h2 D4uN3jBpNz7Z2Ub9RjP79ExYeheLjTuZRHWVRCytJzprMshO9V/+Cw02VW3wtwXDXlto 0/jh//yYG7mxzHRnFEaLH6+rjZbpHOVMimc/4kigJQdzQjucw/tQJaOJ4Oo+KyVLIEMk qosNA12BPC+ZG6iqo+qT1rrcDsZAwqa+yw9rlsd/nIs0uWkd2NkYOm6Mv2Pp9azPFl76 8ypXh/AvJdREpPZYAZqxSpff/ZawY28VVrJ+wtM78gs7M9+t1Z0JXVFqdFMfOcTreudC j7IA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net Original-Received: from mail.magehandbook.com (static-71-191-170-84.washdc.fios.verizon.net. [71.191.170.84]) by gmr-mx.google.com with ESMTP id k6si8297ywl.0.2017.08.31.09.17.10 for ; Thu, 31 Aug 2017 09:17:10 -0700 (PDT) Received-SPF: neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) client-ip=71.191.170.84; Original-Received: from Daniels-MacBook-Pro.local (unknown [192.168.1.164]) by mail.magehandbook.com (Postfix) with ESMTP id 3xjnZZ0jntzcx for ; Thu, 31 Aug 2017 12:17:10 -0400 (EDT) In-Reply-To: <57b91dde-4750-48a4-b79a-d8c9020b373e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Content-Language: en-US X-Original-Sender: DStaal-Jdbf3xiKgS8@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:18120 Archived-At: On 8/31/17 10:51 AM, Code Faster wrote: > Hi! > > I have a folder structure like > > a.md > c.md > subfolder/b.md > subfolder/subsubfolder/d.md > > and I would like to transform them to e.g. latex like > > a.md > a.tex > c.md > c.tex > subfolder/b.md > subfolder/b.tex > subfolder/subsubfolder/d.md > subfolder/subsubfolder/d.tex > > Do you know if there is a platform-independend command for this without > using bash or windows-shell? Would Python or Perl count as platform-independent? I don't think there is anything to do this in Pandoc itself, though it's fairly trivial in any shell or scripting language. Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. ---------------------------------------------------------------