From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33256 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: oliver Newsgroups: gmane.text.pandoc Subject: Re: How to copy all (image) source files of a markdown file into a temp folder Date: Fri, 03 Nov 2023 23:29:58 +1100 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="19982"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCEMPL7DTEMRBT6PSOVAMGQE4BOPA2Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Nov 03 13:30:13 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pg1-f187.google.com ([209.85.215.187]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qytJV-0004x4-E2 for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 03 Nov 2023 13:30:13 +0100 Original-Received: by mail-pg1-f187.google.com with SMTP id 41be03b00d2f7-5bd11c1e8dasf1522612a12.1 for ; Fri, 03 Nov 2023 05:30:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1699014612; cv=pass; d=google.com; s=arc-20160816; b=DLcmJmdic4nPREMc7bPcseTAKELzBFz8ftJUmsfBf+LuOyeBBPIc/Cmcv51zPLOupX EEHQJWvZ8YZgXBjkepqRn6UpY8ap7HLhlcXm31BbtvT5iB6M7dZiXSf/iOplJkBEswdS lgWrl2iDSe81eWqonTdP5l2hLdaakOdxgvVrNRw/KeA/MM5M3/8N+TWuE9+YKEUAD157 uOqplr/2+8dMWCWvEMiTzup9JBs8hGS/Br03bQAK4Ssoy6jxzLw+qJFIjR3MgVH1tJSC cr9Dvl+JXCBdxdOmcYrjrePAHdmWy+Ofta5VFMOueAd2W5hRya8mUIjjV3o7rKsB7xT4 M0ug== 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-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :feedback-id:sender:dkim-signature; bh=7k9uTkN7ItqDiJGnUCLaElsJpaHzTvlnTWizjzca6zU=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=p+8GQE+rZb0q4XlTxTBUHWpAPumI4m7jBDl3EuqqqVexVF4zZ/RTvh+pJ+Cg1yzO2n zRNYlZrbCcLWN4y7ejtLO+ybFYZLFfTItga4ldD9SWV+owK9gPQbpaPp5syGoyJdbd0W RW3gF2W/B3mNFRvsU8hFYgpUht8yhpXrz/hhoiJIau2SlZl0HtbrKT3rf7OZkZNLiad/ ZQVyJFREFHB+6+nRlExQXbjP+ddCsDU3C90F7LOSRMMZrIimWKqLPlZibw6kQFzpyJbw SU541EbUbwCMiDexmqKUr/xq1wmduxVUhAXczKHyRaFZokHSWmiq6zjGvzlkGJ00BQrU vOoQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@hailmail.net header.s=fm3 header.b=cIHytM+Z; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=B6Gm0Low; spf=pass (google.com: domain of news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org designates 66.111.4.27 as permitted sender) smtp.mailfrom=news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hailmail.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1699014612; x=1699619412; 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 :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:feedback-id:sender:from:to:cc :subject:date:message-id:reply-to; bh=7k9uTkN7ItqDiJGnUCLaElsJpaHzTvlnTWizjzca6zU=; b=VjCtAjl48SKEU56G++c5J1z6uuilE3xjcosQXj+U2Z69564oM8PcmYvDGT9BWrNuVb /3eIE53HU0EC177aPm4HAN4u7rC35OWLhiHpfsH0DKLmYdeqCyB1UR88vcllV999GqTr UD8JpsaSBvkEHr6Ui0x34hJxOiQoctBJ0VLvy6tbEKumVekGa1K3sv8/UyTjQaLUs9yd UF7G/u6VV+LK+VtllDvsxJNJ+BCblY/bIwnqOO7TcQ9LpNZX04HKGDj548XVxsobykdh oT3J X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699014612; x=1699619412; 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 :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:feedback-id:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=7k9uTkN7ItqDiJGnUCLaElsJpaHzTvlnTWizjzca6zU=; b=j88hqauZDuzfJhiIs1rBJ6b360xUr3q9FbvOLzMEwuC0DtHQb6b55DbnmL/pzN1EUv D0uMjldet6OX2WhJ8O+1Q0Z65gFZ205Yu2/YyiAvgCh7GqOpNVj/TQiUXdfc70TLvffk HCDXgFxBTbb/zIJNsC6XcI8SDoSypQ5xyw7KHwfESxTXXTCDYTwmelG3lIilR43iKdcc 3eeiEs74/qXg9jec+vlhya56WwNjuaZejZlg Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0Yyb/rOfa2z8JLgGvTAqu7lbmO//cBhKkYvobHfiPqrr1iBlnmiI oKvcVSyMXNHZtGVPe49WfGs= X-Google-Smtp-Source: AGHT+IHZ+1A8EC3jvBLhSRTngyyjd7kdZFrjsOY07GpWTd/yBJIvK/v+/iGPfSwA5DuInHivWcR4CA== X-Received: by 2002:a17:903:246:b0:1cc:b09a:b811 with SMTP id j6-20020a170903024600b001ccb09ab811mr133460plh.14.1699014611728; Fri, 03 Nov 2023 05:30:11 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:903:338e:b0:1cc:6a73:dbbc with SMTP id kb14-20020a170903338e00b001cc6a73dbbcls1097944plb.2.-pod-prod-07-us; Fri, 03 Nov 2023 05:30:06 -0700 (PDT) X-Received: by 2002:a17:902:d581:b0:1cc:32ce:bd9 with SMTP id k1-20020a170902d58100b001cc32ce0bd9mr19462394plh.69.1699014606343; Fri, 03 Nov 2023 05:30:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699014606; cv=none; d=google.com; s=arc-20160816; b=JadeLHB93/DIXJEcUdomf7gx+if+sl6yALJTb23iA1Rn8IX4HmQmVSW9D7gN6N5CCB qhOq0wLbgHwPjzVsfCsm6zTcJzUWh9OjJulPwIbQ6j5saeezkjxSTxhkWPa8J+kJ1pNA QNmFuzLTaZclXMjkcBTH8Gu1sI2uPeuo6GPBeD6MzNR2pYpoZJ+IMJ6Kv7n+cKzpeYAK uikO2dILlLBQW4IJdGAfghlsFJv9siHZ8bjrU7u/K8rpJnpMX0zQmxmXlr9Bbnkz8IXq nmfAqgMAgsrI93+IrUEP7B62Jye4zEkCVqD8ur/z5qRIeu8M7zITCAKqQAPsapX8HWqE G56w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:feedback-id:dkim-signature :dkim-signature; bh=9OyasGV8Yu4dvJ2OwbCHIIW99Ffoy+9PI+vu60c+kuU=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=u4Aw4wvEgksBK84+o7Rv2b6nRr+Q61eqDO/RSfbo9s2dKHM+pbr7xN/Za2LcN2GlGQ oUUvLluDgUnbQeqd9o08D9hw8fC+p1DJmLLHvqL5cbQd7+E7iwKg8yfh8H1dTMJBQ+Qj Kwq2pj+Rxo3fRLtzDXoO2RK2JNKE+sTSr4HjVHWDOzV9Y+FmJj3FV/Q1z8vFxMLet74q TLIFPULO+DjaM91prvnVJBil3XFcvht0i7YSxONLPw4I0+1yGEZpgFS4WtR8QrDMn2Dz JyksOW+I1DGDB6+ebQfDJopGoyR5DYPCa2j1m7E7jWkLrFgOFn0MMtHMaafWmkky3Zbe KsfQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@hailmail.net header.s=fm3 header.b=cIHytM+Z; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=B6Gm0Low; spf=pass (google.com: domain of news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org designates 66.111.4.27 as permitted sender) smtp.mailfrom=news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hailmail.net Original-Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com. [66.111.4.27]) by gmr-mx.google.com with ESMTPS id lh4-20020a170903290400b001cc4a23c616si83576plb.5.2023.11.03.05.30.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 05:30:06 -0700 (PDT) Received-SPF: pass (google.com: domain of news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org designates 66.111.4.27 as permitted sender) client-ip=66.111.4.27; Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 59F595C01DE for ; Fri, 3 Nov 2023 08:30:05 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 03 Nov 2023 08:30:05 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddtkedgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgoufhushhpvggtthffohhmrghinhculdegledmne cujfgurhephffvufffoffkjghfgggtgfesthhqmhdtredtjeenucfhrhhomhepohhlihhv vghruceonhgvfihssehhrghllhholhgvohdrhhgrihhlmhgrihhlrdhnvghtqeenucggtf frrghtthgvrhhnpeehjeelkeetfeetiefgleefkeevveevteefteffvdefiedugfduteef geffjedtteenucffohhmrghinhepghhoohhglhgvrdgtohhmnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepnhgvfihssehhrghllhholhgvohdr hhgrihhlmhgrihhlrdhnvght X-ME-Proxy: Feedback-ID: i02894466:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 3 Nov 2023 08:30:04 -0400 (EDT) X-Mailer: MailMate (1.14r5937) In-Reply-To: X-Original-Sender: news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@hailmail.net header.s=fm3 header.b=cIHytM+Z; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=B6Gm0Low; spf=pass (google.com: domain of news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org designates 66.111.4.27 as permitted sender) smtp.mailfrom=news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hailmail.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:33256 Archived-At: Well, I really like was Pandoc does when it runs pdflatex internally: Hidin= g all the auxiliary files from a TeX run in a temp directory and I would li= ke to emulate this for a single pdflatex run. On 3 Nov 2023, at 19:11, Bastien DUMONT wrote: > Doesn't it just work if you type `pandoc -o myfile.tex myfile.md && pdfla= tex myfile`? myfile.tex will include the paths to the image files as indica= ted 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 subject,= so here with the correct subject line_: >> >> Hi there >> >> I want to copy all the sources of a markdown file (like its images) into= a temp folder and then generate its `.tex` file there and run `(pdf)latex`= over it. >> >> Can Pandoc help me with copying the referenced sources? It clearly does = the same when running `pdflatex` itself: The verbose output shows that it g= athers all the images. >> >> Thanks for any help. >> >> Oliver >> >> (PS: The reason I don=E2=80=99t want to use Pandoc=E2=80=99s mechanism t= o run `pdflatex` directly is that Pando alwyas does _two_ latex runs, even = though sometiems I want only one run the most.) >> >> --=20 >> You received this message because you are subscribed to the Google Group= s "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit https://groups.google.com/d/msg= id/pandoc-discuss/8DFE8EAF-7206-4EC5-88F8-4A727EEE2631%40halloleo.hailmail.= net. > > --=20 > You received this message because you are subscribed to a topic in the Go= ogle Groups "pandoc-discuss" group. > To unsubscribe from this topic, visit https://groups.google.com/d/topic/p= andoc-discuss/gj_gF7O9Gt0/unsubscribe. > To unsubscribe from this group and all its topics, send an email to pando= c-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/ZUSrMb3iTpo5idpI%40localhost. --=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/E329D815-20A8-4E88-9A7F-4598736B07D6%40halloleo.hailmail.net= .