From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33257 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: How to copy all (image) source files of a markdown file into a temp folder Date: Fri, 3 Nov 2023 15:19:19 +0000 Message-ID: References: <8DFE8EAF-7206-4EC5-88F8-4A727EEE2631@halloleo.hailmail.net> 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="9267"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRB746SSVAMGQEPNB6KUQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Nov 03 16:19:33 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f55.google.com ([209.85.128.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qyvxM-0002B3-Mm for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 03 Nov 2023 16:19:32 +0100 Original-Received: by mail-wm1-f55.google.com with SMTP id 5b1f17b1804b1-40856440f41sf4760215e9.1 for ; Fri, 03 Nov 2023 08:19:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1699024772; cv=pass; d=google.com; s=arc-20160816; b=n4D4kUuZyd8a/nznF4TrpswHu55QlC+1c204YTCG0U39eGJhCW4jAKk7EIq51bxE6j zfSr9sqh3fzvf+TyZRHLbuB3Hi0uCnux8ccG2TqdLkqj431G1v7bhQFACmYBy1MMRF0y Gfaq0BfRHEiHYuK1s/HoApcJSmsBsdMpYUAgwSDMBEoIkTeSCnBrybV7M3AjbqoMVYTU 62W3JIpKf5dPBv5ZpeJcLmTdJmYbKE9HIgfye6Ieb7BcR0Bk+AStNKmia8BsjemVA8JB 6Ntsasd44ZtfDSUsIKpRd6LjgmjSYifLaOtb5HxjkYJe4nKecKUbg/aX119LViOpkPBy g4fg== 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=R9Gx7C/9AwIbJMyjwiWoginEST3rPUfdoT+h4RdxA2U=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=qJ3DPSWgPb9nAr/iLVbrWrdctvFzhaZmTTZpbeqwHDdjM+j8aFoRAI4uJw2vRFlFIY xvUOH/WjFXtfo5+c/EybRpydGrfbvHfD9CmNunPnCP+RoI62hMP//Cj6Kg2NY0RrMIi5 67OkiYwjpItPfFHwc1fK3p5jZ3p4x50BQvww7ixMLQPDTr2nmDi+5zk2DdFpgInxecFN ZNK1kvtanxzqeIWDedZ+Jgq1JYsYpzNd8gvT72KE/io988ptnKVIVhznhWUWsJAXFsQM MjbO9Q/iJjF18SP6L/6QzCt4QiK5WPLWdyh6ZEJuu7Wt5NUf6Bh6HRk4mRCfY+jZJNsO SyoQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=SFxPYBXx; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 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=20230601; t=1699024772; x=1699629572; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=R9Gx7C/9AwIbJMyjwiWoginEST3rPUfdoT+h4RdxA2U=; b=YIXssqqKHC+1MuHWgSCBP1iwezcb+Eg5ssknJtd+zFqYzo46JoAOGhXGj85ZSm87WG FQnZQSxM/vsZy3eLkimBcCSNNh9x9MNw5zLP5OtQH5J/fmjt+AgxGs7sZdWaKgYGHiBR EZhBDDfxAFonqvgwfBm5PfZTg/QyV3GzRTwnjLUmhx2sZlDgiMbFVaYuV1XPKkNdwvMY BDsq/z0QwRJveWf1CrFwJmEqs1QA/mML8dduNbJnDypfpOgLd3I6kQ8QoC2yIEnlxohe X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699024772; x=1699629572; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=R9Gx7C/9AwIbJMyjwiWoginEST3rPUfdoT+h4RdxA2U=; b=fHHASTmzbvW0hfpZap4Rvf43mYdP9jDUN04MKczNmEYr9F2J7XsHMQGaDnJw7IBJPQ H0CVRpwqsJi5mOigEqY2BFIO9FJndLtbI0I7Lbyto0sh6Q7KvOTED+tZAakO7j6nGuQO rTTaKZJpeIyMbztie8eBflpz1HI0xqYPrv2wY4zQ3EpmN2eBcuAGHSucE7MMhIgGV/Zx 11lVx3Elmt6Miynyw2A/a/C4CuTN Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YzU79jDYhvG2YLOrZuqlC0ciKwkK01XE9RprpzzdcGXdSBmBfs/ xXqXSy+eUL+7F3dxoRBjT0M= X-Google-Smtp-Source: AGHT+IHvxVdgdhc3JRbHdF/jUf6oPkPB44NGQxwPgyRuFrZHvY2ANjCNKPD9TEYmWBT0jqiFWlOZsw== X-Received: by 2002:a5d:6c65:0:b0:32d:eac9:da52 with SMTP id r5-20020a5d6c65000000b0032deac9da52mr15455916wrz.5.1699024771969; Fri, 03 Nov 2023 08:19:31 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a5d:588e:0:b0:313:f555:72ba with SMTP id n14-20020a5d588e000000b00313f55572bals784597wrf.1.-pod-prod-07-eu; Fri, 03 Nov 2023 08:19:26 -0700 (PDT) X-Received: by 2002:adf:eecc:0:b0:32d:ae31:458b with SMTP id a12-20020adfeecc000000b0032dae31458bmr16584067wrp.52.1699024766445; Fri, 03 Nov 2023 08:19:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699024766; cv=none; d=google.com; s=arc-20160816; b=VYRDxM/8/bFr9bn5OC+kdau+tdsirOZ3YNcQgJc3iBASbGZvMLxoumIpCa0Ln9QOnj B+dVWt1KL3BWDTMGDnejJKlgphAvPyVAJNSvkt281nC2ID07PPUzeF2Bzc7Rj2IKkKRr P2iNsJMXcALeG/IkLiByjnLxl/J8XdXJY7Jtp5yfia0Ij/tMjN6vzw2Lp1rRQc4u/vYE jw6XE3hm/sLNtNgbrlR8ptbv5dEx98zPEMI7sXKEiEaLmQqFvG9tN7YoVDdmH+kzCGye OU+G1PCz/Lw22fVgqFdG/KiIbHofxjPTxcuprb0iFAiCKPUHYdRezbgxmMk3cir/550Z TyTA== 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=jX7XgfsBc11f12Hk2xNL3teyf2TyD4NrMh0eikCbriE=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=DB+Y/495nk1caYxXUmuFK3TKnCOtcCQAofQX70KA2F7lYb2yKqwv2eZwgGhEpJ5oXf 9oporoU8Jit/jjYokX3aL6BJgtBbFuYJM7T7XYUsixvGUBwIBzVzaHJALLBeZ6xt8uZT cyEvKE78CkN1n94ylZu6zd/OObX239xncjPFo4AyTpIWkVD6YY65VkhU6TaJsQiVPBf6 lYrTUdO70+XBGXBzZzUgf0oFdgcY1J+ba2vRFrzT8FNSMfYL0ciC+vAJXu6cfzQhUV/M aj6tI8QUsD2FKMFaz9+kWHMQvSzAqWmecRM2dvdSqK/A0jzTPQsNvz8g3/oO7UH+5YWN KcCw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=SFxPYBXx; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 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 mout01.posteo.de (mout01.posteo.de. [185.67.36.65]) by gmr-mx.google.com with ESMTPS id g15-20020adff3cf000000b0032c8861a1d1si115866wrp.4.2023.11.03.08.19.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 08:19:26 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) client-ip=185.67.36.65; Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 0CC5F240027 for ; Fri, 3 Nov 2023 16:19:26 +0100 (CET) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SMPY95GZHz6trs for ; Fri, 3 Nov 2023 16:19:25 +0100 (CET) Content-Disposition: inline In-Reply-To: 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=SFxPYBXx; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 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:33257 Archived-At: To do this, you can replace `pdflatex myfile` with `latexmk -pdf -auxdir=3D= tmp myfile`. Then you can remove tmp/ if you are sure that you will not nee= d it. You can even set `auxdir` to a directory under /tmp (e.g. /tmp/pdflat= ex). Le Friday 03 November 2023 =C3=A0 11:29:58PM, oliver a =C3=A9crit : > Well, I really like was Pandoc does when it runs pdflatex internally: Hid= ing all the auxiliary files from a TeX run in a temp directory and I would = like to emulate this for a single pdflatex run. >=20 > On 3 Nov 2023, at 19:11, Bastien DUMONT wrote: >=20 > > Doesn't it just work if you type `pandoc -o myfile.tex myfile.md && pdf= latex myfile`? myfile.tex will include the paths to the image files as indi= cated in myfile.md > > > > Le Friday 03 November 2023 =C3=A0 06:19:15PM, Oliver a =C3=A9crit : > >> _Sorry, I have posted the follwoing before, but under the wrong subjec= t, so here with the correct subject line_: > >> > >> Hi there > >> > >> I want to copy all the sources of a markdown file (like its images) in= to a temp folder and then generate its `.tex` file there and run `(pdf)late= x`over it. > >> > >> Can Pandoc help me with copying the referenced sources? It clearly doe= s the same when running `pdflatex` itself: The verbose output shows that it= gathers all the images. > >> > >> Thanks for any help. > >> > >> Oliver > >> > >> (PS: The reason I don=E2=80=99t want to use Pandoc=E2=80=99s mechanism= to run `pdflatex` directly is that Pando alwyas does _two_ latex runs, eve= n though sometiems I want only one run the most.) > >> > >> --=20 > >> You received this message because you are subscribed to the Google Gro= ups "pandoc-discuss" group. > >> To unsubscribe from this group and stop receiving emails from it, send= an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > >> To view this discussion on the web visit https://groups.google.com/d/m= sgid/pandoc-discuss/8DFE8EAF-7206-4EC5-88F8-4A727EEE2631%40halloleo.hailmai= l.net. > > > > --=20 > > You received this message because you are subscribed to a topic in the = Google Groups "pandoc-discuss" group. > > To unsubscribe from this topic, visit https://groups.google.com/d/topic= /pandoc-discuss/gj_gF7O9Gt0/unsubscribe. > > To unsubscribe from this group and all its topics, send an email to pan= doc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit https://groups.google.com/d/ms= gid/pandoc-discuss/ZUSrMb3iTpo5idpI%40localhost. >=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= email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/E329D815-20A8-4E88-9A7F-4598736B07D6%40halloleo.hailmail.n= et. --=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/ZUUPd467a4CZZZ5E%40localhost.