From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31389 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sukil Etxenike arizaleta Newsgroups: gmane.text.pandoc Subject: Re: multiple html files Date: Tue, 13 Sep 2022 22:32:33 +0200 Message-ID: <82a6de71-9993-e2f4-1de8-b6f8a8ab8496@gmail.com> References: <2ec806d1-af88-4023-9d8b-fb2852935dfen@googlegroups.com> <1dd12510-187f-429c-b976-1220427aa2ben@googlegroups.com> <1d652de4-3624-46a1-a671-cc73ce6417d4n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------BfSONqzPl4id13v0A7TN8qdB" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17313"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDIN5YV3SMDBBZGRQOMQMGQEKPOXNKA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Sep 13 22:32:40 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f61.google.com ([209.85.128.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oYCaG-0004Kv-G5 for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 13 Sep 2022 22:32:40 +0200 Original-Received: by mail-wm1-f61.google.com with SMTP id a17-20020a05600c349100b003a545125f6esf9826327wmq.4 for ; Tue, 13 Sep 2022 13:32:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1663101160; cv=pass; d=google.com; s=arc-20160816; b=NACrmD8moTtcdFWQ9VEBxNGhrCKwbeoEovTOBfW9a001hl4gn3efDn5DMgdnqAjn8X 6oyCyEzyyL3WfiBe/KVEQgVE+vs1IUfskmnvjitY5ggRQFEt0gSDB8kwMhrdqhTt2Kpf O9h7Jp7X+EkIBOwlhIQbmH8ME5oRCbZ49epmtTOFzzYiABEdalwKKm93FHq5a4TjHiSR NmGF3SPtmBpbMFBNnoRsPfbLuwQIxvF5JquUZTDqlAKG8aMIrg/LMCBxbHuwz9aDr/2O hPBtTUX+CONo57Aagq3Kak/k/W2AjTdvQuxNkPFBa4E1o5YNyhVdom+7Shvb6VJe/j0g mLOg== 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:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:dkim-signature:dkim-signature; bh=F3wpLtP6/5KFvpKCUdUT2yqz8YAj0Dc5Dq9wpdYwVbw=; b=WWNLOJWaz8CYzBy/TJ4fqvqlILhxV/ghEhAe5JUra734Bye8P/fo4PId2DH+pNZlUD r8/02MhwAYNglKY3GxCIuN74cH3voMd8o/xncMW8SVU0aKlOF2IktZoC6Sj6zMkfX89u +7y1zyF2GBVj8abSY1BSGu7Cf/gNOUjtJOfZSNZOSenX+vIs5/H8tOHd7mhU3jO6v2oM LxXp3EKiFZT3lae2nEAdqCGlbMz/D32OP1sg/ZkvgTRQko8XhCC5sfEkSyveSDffqvB2 l1N6cQmxBBnuW0V81WtfeMtd1qE8Y5UgGMWSHEUwvkC+llH6fa1UFuJmTMGg9FQUgH46 /oAA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="O3u1/kQi"; spf=pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::42d as permitted sender) smtp.mailfrom=sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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 :from:content-language:references:to:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date; bh=F3wpLtP6/5KFvpKCUdUT2yqz8YAj0Dc5Dq9wpdYwVbw=; b=pH2q5v5DvmI+LiWPGZ+D1tKSCcavul7WoV2/m0eIzHTNZiUQGZVyKiEo4SdeyXsrkJ BWFkoG2jJ3sRpAuPRWi3pNm9liCffh7qvZ8HwYRNu0pg3TyTzLoaidUz1LVtBuqG62qb edvBpR56TC960f//p3KSH4cBDEMxpdq6ftf1Ti4ZpTcet+3Eqw32diW6RXHXibGfWi+O HZrvUxKYuxMjU197cSvURDdjtZX9Xqnp6k75y3qeg3WdxqLh+uWDX+hWU2dkeS3TeD1N r5q1XiQHri+CkfoM7UefWrG9kJ0GS6WEgQER6El4LuKZdy5PTVYM/JT3JrwMJYSFTMZU f4eg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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 :from:content-language:references:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date; bh=F3wpLtP6/5KFvpKCUdUT2yqz8YAj0Dc5Dq9wpdYwVbw=; b=quw0gLeNL88NlCmzreEbzZvZNko3w6Ci6CxGGFPxApg1poMEBzq66XHABVM+zdX4LD ZxVFTJMHwreSy/B+1ryQWGNNWNJT42frbpuMYpBn4l8sIZ0wGeqCuo3yrOXhCRmXqxMH BhkQicTyyG1DWCaQj/NjkGEYmc/+6//azTH+XR0rvnvL0iKW7s2+YoCQ5Fa4EVRU+8bG A208cVUtW/rJshJ597F0FASVrLGNvjDMLJogLmzkxm2llgYgU4QY0r+EFv/Gy4peovCc njwlQM0L8MZlYSDErumsvSsw46fXXB043a/Mx1mPCfEJ73AHcSaFzbnXbMvHp9X4gcmt 6aHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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 :from:content-language:references:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:sender:from:to:cc:subject:date; bh=F3wpLtP6/5KFvpKCUdUT2yqz8YAj0Dc5Dq9wpdYwVbw=; b=JQoo2tRqSJX+IMC3cCvY74tH37jR23KG91GymCnjshyPXYH1qKSnb6+vLy5585o/9w jg8hGdHu5f+dKSjkz/3fC+2vHscrv+D+aOhpCUdj7Ujj7siR9DhoTXDJA19pl6PYdubn S6LLScH3lkzirGYwY6NA49ZQx1TVcG0ZXg4ceMn1wsSgP5SnNGHwwTb1QHc0SMfulMAE e2wG+P/zk0l+4TM2Y6Jx5u5qU7OQSQaXIWEeXL5S4aGwvrzajly8Ft8fodCkxDMiOO+d j9CZeKkvtva0fJRqnOPI4I1VsvXctV3I6+nBAjQqTcaA2ntH Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACgBeo1Ray01LqCoUq8+3LOH2lqEwQ39jJ/eJhhBEWOGmvYwKneHeBTs otqHFUKYqEO9lUPjkWgpnwo= X-Google-Smtp-Source: AA6agR4UpOjGbrG8hjvWG8VFjSC3gDXeFmh4mRWnJ61Mvm+G5gAANiyxklUpt7TsK6jxYvoSi2UqPw== X-Received: by 2002:a5d:5644:0:b0:22a:6b69:27f0 with SMTP id j4-20020a5d5644000000b0022a6b6927f0mr8804087wrw.650.1663101160033; Tue, 13 Sep 2022 13:32:40 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:600c:2209:b0:3b4:62fa:43a7 with SMTP id z9-20020a05600c220900b003b462fa43a7ls3794635wml.3.-pod-control-gmail; Tue, 13 Sep 2022 13:32:35 -0700 (PDT) X-Received: by 2002:a1c:6a0b:0:b0:3b3:3ed4:9bef with SMTP id f11-20020a1c6a0b000000b003b33ed49befmr788115wmc.84.1663101155873; Tue, 13 Sep 2022 13:32:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663101155; cv=none; d=google.com; s=arc-20160816; b=tN1qMkYPMfwDIhkYajKQtDkqJEWcrzLdux3CNFjA3fLt6TzLWG5FFPttPm0y/crueK ynS07zpGxrCRuxGuhegaXR8wSuokTf9IkNuVpa3O1BoRgBagfae8qd9Ki6X7vNOnGuRX bh7Dj4zmgh6RiBT5okDo3yE1WHNNypRBSSyi3wGviVR0CIyzgYp6ptiz0MordJCNA1wl wXUi7BGN3irppk8GIbeV1z1TSO3Ul0k7XszIBm59zUXRR4RvRg33hdQf5xfVAbhhDM2p 05MHKzlskW0spf3S73V4yepNgFzgxQhxHmlYPQxffqenI8RjXXVlzkqzV4DCSuY+gUYo E/fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=RUz97dvhvHuEzada9nv3cje/R4EFhWu7dh/f4kcatjY=; b=wwcF1AUqubm1y2jp2vU8B5tQGTNdY6sRJtpZT40o3NygL2DDcG8NLhCkqB3UWUrZCq YXWLAUqXOQrqkV8MWwSvGEbIa6Z9LHd2wLG/0KMp1wxAIrx3AS1iLmoC1vFez27Fm4/d aHHcZI587dlIjOPJPQr6LVYZIph2eITbhstovSD5m7VCwuaUyPSfeol94CGzmR2e8BN/ WDx3KaJsnL0ZHU6yv3oCagiJdJLWASlCpPjmcwFdsnFRiD3GjSspigRHHSuBo0qXIDfU JrDQjx4FcLympaFuQ3oQHonPzzM0X0fIyX4ndBBnW+rW1x99hzzJKkl0ZSudwvDjBRJj 0YRQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="O3u1/kQi"; spf=pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::42d as permitted sender) smtp.mailfrom=sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com. [2a00:1450:4864:20::42d]) by gmr-mx.google.com with ESMTPS id co8-20020a0560000a0800b0022a450aa8a8si384903wrb.6.2022.09.13.13.32.35 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Sep 2022 13:32:35 -0700 (PDT) Received-SPF: pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::42d as permitted sender) client-ip=2a00:1450:4864:20::42d; Original-Received: by mail-wr1-x42d.google.com with SMTP id z12so4277963wrp.9 for ; Tue, 13 Sep 2022 13:32:35 -0700 (PDT) X-Received: by 2002:a5d:4a0a:0:b0:22a:9893:6434 with SMTP id m10-20020a5d4a0a000000b0022a98936434mr6550181wrq.395.1663101155368; Tue, 13 Sep 2022 13:32:35 -0700 (PDT) Original-Received: from [192.168.1.23] (3.red-79-149-142.dynamicip.rima-tde.net. [79.149.142.3]) by smtp.gmail.com with ESMTPSA id l3-20020a5d4bc3000000b00228fa832b7asm11630958wrt.52.2022.09.13.13.32.34 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Sep 2022 13:32:35 -0700 (PDT) Content-Language: es-ES In-Reply-To: X-Original-Sender: Sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="O3u1/kQi"; spf=pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::42d as permitted sender) smtp.mailfrom=sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:31389 Archived-At: This is a multi-part message in MIME format. --------------BfSONqzPl4id13v0A7TN8qdB Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable If powershell doesn't work, you could do: 1. Type: ``` for %D in (*.html) do ( echo %D >> list.txt ) pandoc -o mi.epub < list.txt ``` I haven't tested this, but I think it should work. If it only takes one=20 file, replace the newlines in list.txt with spaces. Hth, Sukil El 13/09/2022 a las 22:21, BPJ escribi=C3=B3: > That's some cmd.exe dumbness I guess. I'm afraid I haven't used=20 > Windows for over a decade. > > Does anyone else know? > > Den tis 13 sep. 2022 18:21mr vicky skrev: > > i am using this command > pandoc -o my.epub *.html > here is result > pandoc.exe: *.html: openBinaryFile: invalid argument (Invalid > argument) > > > On Tuesday, September 13, 2022 at 7:06:38 PM UTC+5 mr vicky wrote: > > ok thank you very much :) > > On Tuesday, September 13, 2022 at 6:02:54 PM UTC+5 BP wrote: > > Attached. You will need perl >=3D 5.14. See the README.md fil= e! > > Den m=C3=A5n 12 sep. 2022 20:51mr vicky = skrev: > > will you tell me which rename script you are using? > may be it will be more easy for me . > Thank you very much for your help :) > > On Mon, 12 Sep 2022 at 11:40 pm, BPJ > wrote: > > That's right. You don't need to prefix anything to > 100 and up since you have less than 1000 files. > > Den m=C3=A5n 12 sep. 2022 19:33mr vicky > skrev: > > you means i rename like this > 001.html > 002.htnl > 003.html > 004.html > 005.html > 006.html > 007.html > 008.html > 009.html > 010.html > > check this 10th number is right ? > and what about when i reach 100 number of file > and then 200 number of file > because my files are more than 400 > > On Mon, 12 Sep 2022 at 10:09 pm, BPJ > wrote: > > just type *.html (star included) and it > will be as if you had listed all the .html > files in the current directory in > alphabetical order. > It doesn't have to be the current > directory: if the files are in a > subdirectory html then html/*.html will work. > > Note that you shouldn't just prepend a > zero to all file names: you should prepend > two zeroes to files 0.html through 9.html > and one zero to files 10.html through > 99.html; the goal is for all file names to > start in the same number of digits. > > Den m=C3=A5n 12 sep. 2022 18:56mr vicky > skrev: > > i can use also > i have software which will rename all > files and ad 0 before numbers but tell > me will i write all files name in > command or just from file one to last > number file ? > > On Mon, 12 Sep 2022 at 9:52 pm, BPJ > wrote: > > I would use a script to change the > names to zero-padded format and > then glob them. > > Den m=C3=A5n 12 sep. 2022 16:49mr vic= ky > skrev: > > i have more than 100 html > files evan more than 400 html > files and my all files name > are like this 1.html, 2.html > 3.html 4.html > so i can convert them all in > single epub ? > and i need to write all file > names in command ? > On Friday, September 9, 2022 > at 6:01:30 PM UTC+5 BPJ wrote: > > Generally you can just > list them on the command > line and pandoc will > concatenate them: > > ``````shell > pandoc -o all.pdf -f html > html1 html2 html3 > `````` > > Globbing might work > > ``````shell > pandoc -o all.pdf -f html > html* > `````` > > but note that the shell > sorts "alphabetically" so > html10 sorts before html2! > You might want to zero-pad > the numbers in the file names= : > > html00, html01 .. html09, > html10 .. html99 > > so that there are two (or > three) digits in every > filename. I usually name > my files using three > digits with "gaps" > *before* the actual name: > > 000-frontmatter.md > 010-preface.md > 020-introduction.md > 030-preliminaries.md > 040-advanced.md > > so that if I later want to > insert a chapter between > say the third and fourth > chapter I can number it > 035-something.md and if I > want to insert a chapter > before that I can call it > 033-whatever.md so that I > don't need to renumber > several files and globbing > > ``````shell > pandoc -o all.pdf *.md > `````` > > will still give me all the > files in correct order. > > /bpj > > Den fre 9 sep. 2022 > 12:31mr vicky > skrev: > > hello > i want to create pdf > file from multiple > html file. And the > files name are like this > html1 > html2 > html3 > > i want to convert them > in single pdf or epub fil= e > please can you explain > me command and way of > doing this ? > > Thank you > > --=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-discus...@googlegr= oups.com. > To view this > discussion on the web > visit > https://groups.google.com= /d/msgid/pandoc-discuss/caf40fb8-07cf-44a4-b0b6-732e8b5e9a5fn%40googlegroup= s.com > . > > --=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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org= . > To view this discussion on the > web visit > https://groups.google.com/d/msgid= /pandoc-discuss/2ec806d1-af88-4023-9d8b-fb2852935dfen%40googlegroups.com > . > > --=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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web > visit > https://groups.google.com/d/msgid/pan= doc-discuss/CADAJKhD84_%3DTbfO2hSQHpAnF3mbdTYc2fEG2CyumCPw9qC9Rsw%40mail.gm= ail.com > . > > --=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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web > visit > https://groups.google.com/d/msgid/pandoc-= discuss/CAH8MJH_e67u4YMwCEYpeBfDY09jDCvfduubLkRdRKRLqh8hbAg%40mail.gmail.co= m > . > > > --=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-disc= uss/x3cVQPV2MWs/unsubscribe. > To unsubscribe from this group and all its > topics, send an email to > pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-disc= uss/CADAJKhBme1EvsD6Lb0wYmBwx47AsPhpvu1Xp-ic12pnB_qM0GQ%40mail.gmail.com > . > > --=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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/= CAH8MJH9mZCoj2gkgBSfO-PAc4ptwjBPj%2BnuHxVppG%3DRC7jGi9g%40mail.gmail.com > . > > --=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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/CADA= JKhDaM033xRTbA%3DQ_TGHnOhCpS2-o0Fck8sDYZr3CfKSPhQ%40mail.gmail.com > . > > --=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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/CAH8MJH8= Kwyj4wa-%2Bfn8wN-H5%3DE%2B6Ut7UROiMWvu%3DpfhepTgAGQ%40mail.gmail.com > . > > --=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/msgid/pandoc-discuss/1d652de4-3624-46a1-a= 671-cc73ce6417d4n%40googlegroups.com > . > > --=20 > You received this message because you are subscribed to the Google=20 > Groups "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send=20 > an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhA1fgDgmVUVoAkzQDS= qKm8e2Ytd%3DgNku%2B3tL8KXwTBtyA%40mail.gmail.com=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 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/82a6de71-9993-e2f4-1de8-b6f8a8ab8496%40gmail.com. --------------BfSONqzPl4id13v0A7TN8qdB Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

If powershell doesn't work, you could do:

1. Type:

```

for %D in (*.html) do (

echo %D >> list.txt

)

pandoc -o mi.epub < list.txt

```


I haven't tested this, but I think it should work. If it only takes one file, replace the newlines in list.txt with spaces.

Hth,

Sukil





El 13/09/2022 a las 22:21, BPJ escribi=C3=B3:
That's some cmd.exe dumbness I guess. I'm afraid I haven't used Windows for over a decade.

Does anyone else know?

Den tis 13 sep. 2022 18:21mr vicky <v.lonl= y007-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
i am using this command=C2=A0
pandoc -o my.epub *.html
here is result
pandoc.exe: *.html: openBinaryFile: invalid argument (Invalid argument)


On Tuesday, September 13= , 2022 at 7:06:38 PM UTC+5 mr vicky wrote:
ok thank you very much :)

On Tuesday, Septembe= r 13, 2022 at 6:02:54 PM UTC+5 BP wrote:
Attached. You will need perl >=3D 5.14. See the README.md file!

Den m=C3=A5n 12 s= ep. 2022 20:51mr vicky <v.lon...@gmail= .com> skrev:
will you tell me which rename script you are using?=C2=A0
may be it will be more easy for me .
Thank you very much for your help :)

On Mon, 12 Sep 2022 at 11:40 pm, BPJ <mel...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org= > wrote:
That's right. You don't need to prefix anything to 100 and up since you have less than 1000 files.

Den m= =C3=A5n 12 sep. 2022 19:33mr vicky <v.lon...@gmail.c= om> skrev:
you means i rename like this
001.html
002.htnl
003.html
004.html
005.html
006.html
007.html
008.html
009.html
010.html

check this 10th number is right ?
and what about when i reach 100 number of file and then 200 number of file
because my files are more than 400=C2=A0

O= n Mon, 12 Sep 2022 at 10:09 pm, BPJ <b...@melro= ch.se> wrote:
just type *.html (star included) and it will be as if you had listed all the .html files in the current directory in alphabetical order.
It doesn't have to be the current directory: if the files are in a subdirectory html then html/*.html will work.

Note that you shouldn't just prepend a zero to all file names: you should prepend two zeroes to files 0.html through 9.html and one zero to files 10.html through 99.html; the goal is for all file names to start in the same number of digits.

Den m=C3=A5n= 12 sep. 2022 18:56mr vicky <v.lon.= ..@gmail.com> skrev:
i can use also=C2=A0
i have software which will rename all files and ad 0 before numbers but tell me will i write all files name in command or just from file one to last number file ?

On Mon, 12 Sep 2022 at 9:52 pm, BPJ <= b...-J3H7GcXPSITLoDKTGw+V6w@public.gmane.org> wrote:
I would use a script to change the names to zero-padded format and then glob them.

De= n m=C3=A5n 12 sep. 2022 16:49mr vicky <v.lon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
i have more than 100 html files evan more than 400 html files and my all files name are like this 1.html, 2.html 3.html 4.html
so i can convert them all in single epub ?
and i need to write all file names in command ?
On Friday, September 9, 2022 at 6:01:30 PM UTC+5 BPJ wrote:
G= enerally you can just list them on the command line and pandoc will concatenate them:

````= ``shell
pand= oc -o all.pdf -f html html1 html2 html3
````= ``

Glob= bing might work

````= ``shell
pand= oc -o all.pdf -f html html*
````= ``

but note that the shell sorts "alphabetically" so html10 sorts before html2! You might want to zero-pad the numbers in the file names:

html= 00, html01 .. html09, html10 .. html99

so that there are two (or three) digits in every filename. I usually name my files using three digits with "gaps" *before* the actual name:

000-= frontmatter.md
010-= preface.md
020-= introduction.md
030-= preliminaries.md
040-= advanced.md

so that if I later want to insert a chapter between say the third and fourth chapter I can number it 035-something.md and if I want to insert a chapter before that I can call it 033-whatever.md so that I don't need to renumber several files and globbing

````= ``shell
pand= oc -o all.pdf *.md
````= ``

will still give me all the files in correct order.

/bpj=

Den fre 9 sep. 2022 12:31mr vicky <v.lon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
hello
i want to create pdf file from multiple html file. And the files name are like this
html1
html2
html3

i want to convert them in single pdf or epub file
please can you explain me command and way of doing this ?

Thank you
--
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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/c= af40fb8-07cf-44a4-b0b6-732e8b5e9a5fn%40googlegroups.com.
--
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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/2ec806d1-af88-4023-9d8= b-fb2852935dfen%40googlegroups.com.
--
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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit = https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhD84_%3DTbfO2hSQHpAn= F3mbdTYc2fEG2CyumCPw9qC9Rsw%40mail.gmail.com.
--
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= -discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.

--
You received this message because you are subscribed to a topic in the Google Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit htt= ps://groups.google.com/d/topic/pandoc-discuss/x3cVQPV2MWs/unsubscribe.<= br> To unsubscribe from this group and all its topics, send an email to pandoc-dis= cus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://gr= oups.google.com/d/msgid/pandoc-discuss/CADAJKhBme1EvsD6Lb0wYmBwx47AsPhpvu1X= p-ic12pnB_qM0GQ%40mail.gmail.com.
--
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-discus...= @googlegroups.com.
--
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-discus...@goo= glegroups.com.
To view this discussion on the web visit ht= tps://groups.google.com/d/msgid/pandoc-discuss/CADAJKhDaM033xRTbA%3DQ_TGHnO= hCpS2-o0Fck8sDYZr3CfKSPhQ%40mail.gmail.com.
--
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-discus...@googlegro= ups.com.
--
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@goog= legroups.com.
To view this discussion on the web visit h= ttps://groups.google.com/d/msgid/pandoc-discuss/1d652de4-3624-46a1-a671-cc7= 3ce6417d4n%40googlegroups.com.
--
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-dis= cuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-d= iscuss/CADAJKhA1fgDgmVUVoAkzQDSqKm8e2Ytd%3DgNku%2B3tL8KXwTBtyA%40mail.gmail= .com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/p= andoc-discuss/82a6de71-9993-e2f4-1de8-b6f8a8ab8496%40gmail.com.
--------------BfSONqzPl4id13v0A7TN8qdB--