From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30537 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: Converting all PDF in a folder to Markdown quick question Date: Tue, 10 May 2022 08:09:35 +0000 Message-ID: References: <846e351a-a762-4c7d-8026-6fb700893f44n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19254"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBY535CJQMGQEB7RZP6Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue May 10 10:10:18 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f57.google.com ([209.85.167.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1noKwi-0004mr-7V for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 10 May 2022 10:10:16 +0200 Original-Received: by mail-lf1-f57.google.com with SMTP id 21-20020ac24d55000000b00473e75f3331sf4948525lfp.15 for ; Tue, 10 May 2022 01:10:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1652170215; cv=pass; d=google.com; s=arc-20160816; b=vCl1NedyyixE0qgCXFc4C723ch1hTQzTx1wedoF7MsQckguT9J48XAYcKmApcNRVRZ cdh5Fo+39DUZQXQAIhiK5fKXfV9VtQ9AILAkIYY6aIv2GVaWRfJ1A3so/u5k74Va62Jw 5VJpdszFublRQ2mTcJjGExqy9gukhdQJsnnRnxZvxyn8HrHrMS0HvZIOy1heukv5uFny neo61+FWMwK7KUo5hJuX/sk5d4Wackd2s1Clx8GwGfiRYb3etL6idAH4Zrb9VyshRvEV yjiq6fjxA6FtD8Ek5o8O9/h5n7cesez7c6LKbKv7CqlPO1Vz/E1HTflrjhv4BFWPCi9/ rkaQ== 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:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:dkim-signature; bh=0LQGueKfLO0EXB2PDxgJzx7+9CGW3KtYRJ9WK6lCf2E=; b=Gb2ckqB7sZ3mtsO9WxU/oPVMDI+x4f6U3nnM/qsMpscIDztdUnls9tvMeR/7ZADwOI 6I2entcbBGMf91kbYY8Ku3vq5+LmJ2nygHFLSzkHomJLcCCrpsVuJtrVyyLn9VFIXmsa NC79ui21uh0hzgz0qAOcGbi/l+Bx8S7UBJDaRgcghhJQHOER9R+RKd2OhU7AJsVNAjX0 OZGxQ2KNXFq7VvG7RQ1yOB7kC25wm0jfNSc2nvhLeS92FxF2l0VFNVcW1VWpcXxsEmOp xwNVWzCNq+BMHdv1Wu6idTlhj+YETr7dXmOzYAHsz2VQ+u3FPogbYX2ootSqTLilevMD lc+w== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=O01D4oYT; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :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=0LQGueKfLO0EXB2PDxgJzx7+9CGW3KtYRJ9WK6lCf2E=; b=hdZdjIrpziT/wTF76S6AN4vQYoSO5vqEfY85KPLMXK2KbJhJOEviSveKm9WA9pZwDn p4hMwknK3vwWwmTzr+n6mklcI84ZMjkQWalKQzdl7Vnc/FL/nJ3HJbKXu1M8/WsLjJGb x9tRDoNIzImYEqqZVOR0BJwYsU3MUPFoAb11q3Q6BzdwdxGIkGZENBqpDZcLKAJQCT9Z 1bAI7k1U7VD2MAN7xHmnmicprbZIuEwROuw+rfa7eUvwqi9Cg5o7BdNYeRGq8wLgThc4 AQZwdrlXrhCL7cCwT6gcwhoH+gRbQOSlETsXUO5HguZ+CFNKc8yP7JrzTPuhNab1wJhg IpXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to: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=0LQGueKfLO0EXB2PDxgJzx7+9CGW3KtYRJ9WK6lCf2E=; b=yObsjY+u+S6xZQU8L0HXRXW9CcpDXUUS3OaNy6tLFknFELPTX5vN8F+XZMcG/vCRn9 1fCceC4f3DePrq+Icg25WwePj6p/zxuRRa4a9IE9t6sUkRNsPo9ScYluZrOzv8RfESA9 1NtEKKk49Knw9wPJywXNf4foRLtFaiZy7vFrc1oyOoj/3E/GzEwsZKnuLHO5J6yEAtsF FWyKV3mXVmgpWtY2ed72vU3XQpN3Kjw9BoWVW+xBFFNPBQJbZiS8ZjLdjRBWxUWhUpp0 8BrCAlf4MfwifXxXUyYZ0ghvfUcvBoWKeBbHhxz+CYiN Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM53139G3gB/WSbgmn02iHGFgPCR6vxMKcimvPO89N1OL7mvkU5594 UKyZ6yjX5cc9Zfwhf32gHFg= X-Google-Smtp-Source: ABdhPJx5x2VB++znuk6UuJq4QkziV0NIxHo2tp2HpLLXsHe6uwqNp6pIq9vz7vr8xRWo6SxOUKWx0g== X-Received: by 2002:a2e:aa9b:0:b0:24f:37aa:f257 with SMTP id bj27-20020a2eaa9b000000b0024f37aaf257mr13206861ljb.1.1652170215457; Tue, 10 May 2022 01:10:15 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:1693:b0:448:3742:2320 with SMTP id bu19-20020a056512169300b0044837422320ls333378lfb.1.gmail; Tue, 10 May 2022 01:10:10 -0700 (PDT) X-Received: by 2002:a05:6512:1112:b0:473:a15b:fdf3 with SMTP id l18-20020a056512111200b00473a15bfdf3mr15457016lfg.155.1652170210454; Tue, 10 May 2022 01:10:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652170210; cv=none; d=google.com; s=arc-20160816; b=u/mUWyMNJ8vMGpdDMTzO/J6hCHdXnIjn4H8cpv5qA63pgcqcN3CxPlYHDkY5DW3xxA kyGDdmPrTVIX6IDbRvGvqOQ6P4Z2lHHwSqV1cjSrxJQ5E3Oe+OOpB1axonKhHocvxylv O1JNWZTSzSVe0waGS3XaXB/S6Rk4W2+/H8oh/6aUZiti0p7NmcRWKINSVgasH3yCjrUu tegtwcKN/vbVDUA6CgtV15ANcZ9ktH2H6WdgFYc0CL0ecgW+k6gEzqvd82m64fni535v LBDGhkN/ztx/CXSCQYaFoaUpj67yPcbo0GlCZ1V2C2Gb2i/B/T5Ldew8MrFeskjsSlyW 7NHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=QdsiSTKXHUpUP0pfF7Xg2bPDV7+1otd4I1nbc516Rsw=; b=xg9ZApwX0rVdJuj/dg3z1KBo2DUrKHLDLIIrdDiKoAMWxQPYDxH+kvs03WNbW1uBHb KF1U5WqqbOCzyhTllHBdCkFQXRTnBNUP8hFFxiFPwDmwRhc9oRODdm7/lvp1iobXR5XG of0KP7rFZLcjLVKPylmecBpguKq+12O+CIAw8l8BiGXhioC7A+daQnS4GSp11WlyrNBi Hbc8FGrUPYZFiDSjlSNWhV1HmyStD6oD3COgv5rEIei46leIhpY9GZgC87LAwpI0yJ1R 2ypx9dzsimYA4yskp6xuWTuHvp/8GhJyTdg7p4defYA4UyKqJuC0V59zZwYJRN6/q+rV PhLQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=O01D4oYT; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Original-Received: from mout02.posteo.de (mout02.posteo.de. [185.67.36.66]) by gmr-mx.google.com with ESMTPS id m15-20020a056512358f00b004723ec9fc4asi751904lfr.0.2022.05.10.01.10.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 01:10:10 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) client-ip=185.67.36.66; Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 9CCB924010B for ; Tue, 10 May 2022 10:10:09 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Ky9h11dZTz9rxM for ; Tue, 10 May 2022 10:10:09 +0200 (CEST) Content-Disposition: inline In-Reply-To: <846e351a-a762-4c7d-8026-6fb700893f44n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=O01D4oYT; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.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.io gmane.text.pandoc:30537 Archived-At: You may be interested by https://github.com/jzillmann/pdf-to-markdown Le Monday 09 May 2022 =C3=A0 07:10:02PM, D.J. a =C3=A9crit : > I've been able to convert all html in a folder to Markdown using: >=20 > find ./ -iname "*.html" -type f -exec sh -c 'pandoc "${0}" -o "${0%.html}= .md"' > {} \; >=20 > I'm now trying to convert all pdf in a folder to Markdown using a similar > approach: >=20 > find ./ -iname "*.pdf" -type f -exec sh -c 'pandoc "${0}" -o "${0%.html}.= md"' > {} \; >=20 > All that happens when I trigger the same for pdf conversion is terminal t= hen > says:=20 >=20 > dquote> >=20 > The PDF isn't converted to Markdown. I'm a terminal/Pandoc newb so maybe = it's > different for PDF? I have installed Mactex using Brew install librsvg pyt= hon > homebrew/cask/basictex >=20 > Do I have to do a full pdflatex install, or is there a better formula her= e? > Thanks! >=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= email > to [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [2]https://groups.google.com/d/m= sgid/ > pandoc-discuss/846e351a-a762-4c7d-8026-6fb700893f44n%40googlegroups.com. >=20 > References: >=20 > [1] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [2] https://groups.google.com/d/msgid/pandoc-discuss/846e351a-a762-4c7d-8= 026-6fb700893f44n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter --=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 view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/Ynodv07l6ax1A2Tg%40localhost.