From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31392 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: Wed, 14 Sep 2022 10:05:43 +0200 Message-ID: References: <2ec806d1-af88-4023-9d8b-fb2852935dfen@googlegroups.com> <1dd12510-187f-429c-b976-1220427aa2ben@googlegroups.com> <1d652de4-3624-46a1-a671-cc73ce6417d4n@googlegroups.com> <82a6de71-9993-e2f4-1de8-b6f8a8ab8496@gmail.com> <4af1b08a-856b-43de-b473-476680e4236dn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------9vneD5umFJwOE8Q4kl3WVYzR" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33147"; 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+bncBDIN5YV3SMDBBXEWQ2MQMGQEPP2TGBQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Sep 14 10:05:53 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wr1-f55.google.com ([209.85.221.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oYNP6-0008UA-MH for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 14 Sep 2022 10:05:52 +0200 Original-Received: by mail-wr1-f55.google.com with SMTP id k17-20020adfb351000000b00228853e5d71sf3727512wrd.17 for ; Wed, 14 Sep 2022 01:05:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1663142752; cv=pass; d=google.com; s=arc-20160816; b=0TpKK6Y9ZZP7s072L0F25x9uNaexkA8miLRznIKiIRY84TRKI5Kt96OACh2xDA6xk+ kZsPYLwEe/lqC8MxQ3dCm4Z1faYHFrT2wrFgC4GnHuURO4idKgJa1bwH0vhk/gmOhiNw Qss1iZz3zrxXCC02/XObwh4Kcd4agY2XufbJu+HeXwulXliSeoCfGei0PrkxtHaBNVUV Ox2Kpd4Exn7iS7+i16aio9ooQtdvVBpBMOGcvVh838WWJ7KSLmfQDORPAoGpCKu/BftT ARiX1lHurbVTKnobyGX59zE3OSy5PNmf4UJ8yLWTJKHY/7mINJHmSvXjdjhn+AhXtLLx 6n+w== 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=l7NNZEpTCRkCVvuw/6zV7hnv/EMlN4CuIVg3jBaRfCk=; b=y5RUfDK10Q5MQgEZfJWSe2UvtNn8gWw/fwNWFbEwIB4cXiTmvxMu2A3AGeeZfjchcV 4+JDKEr8lmufdWAbielY5jqXr1R2+WGB/4RuQLMzIqzF7OvEdqSdlb5BTMy6DN+zHGMD xEDi+01rrXNauId+734Jpbn4xVKN/d8iXug4/HwxJMB6bT7ud9+FKaSHQub6e16Pf+CK RgZ6z0RsXGnoon/RR2MN0A/HvvW8/jmNscCLys5KHf4TCvGOFEjcMytFFq7Ira7L9Vnx FkhlWsBrbo4rFFExH7d/PTFrMaPMZNybroAfno5MNDo5MkQ8SpOMxFgvA0A0083Yv0vQ zZQA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Evk6x5kx; spf=pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::430 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=l7NNZEpTCRkCVvuw/6zV7hnv/EMlN4CuIVg3jBaRfCk=; b=HiAL4k8iz1CqGAgQDn7vT8Ud8JzITtFPgUEop71FDvkMKfiym4Tp3gRwKXGlAMoUhv nyrQr1Ce2ad1Mxt8UyGoxYRAXIKzQLncVe3pGDrHUKcZgqTmPsfAKacdlZIXmu1DkCHQ ClugMuerz/8bfNkI2e4axPZkrOiFof5ZbNlnUF/jt4UekJ1+dhVRzXT4bb6BL4Urb4Tm kxB3B8IR/M4xbFG6r/D6pF/4Ngr3Ba9Z49s8RYN/UVxZaqBbApLNFWTGHsWbiPxGn7sv zhznC9fJhWmMbCN014pLI1sKraKnZdfrXprBUgy0K/MVDTTa9mB9UJ62tj1ZZxlpvz3T mIGg== 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=l7NNZEpTCRkCVvuw/6zV7hnv/EMlN4CuIVg3jBaRfCk=; b=TBSl0tnxvi+SKvncb60w0p7LV6PhtoX4YPFwvzHzNfQAefhoZgHN4vK0CP308d9ebu 4Uqc0rDi8u9t2p3hEfdBqtJAiMpbnB8J/WLq0wSJk4fbqUUk4P6FxSN51cdkTlOlCSE7 CP4eRr3nLFtQ0ZF1fvwDbdCIVz95n1XlR8sSW3NZw0/JukphZjDHGdA+VHTQB3qU83hi 4ITY3ofwLDjCxjyEkG8SbAo2qgumuUHaMjtdTGacdS4cKi58cSRvk2Fe1QMcrR4K+BZt 04tlKSGCT+DsOsntB8TSZqP60YAkNR6sAUpil1zev+SfPmXRz5t8Rg/CvNQ8RzheXszc F0iw== 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=l7NNZEpTCRkCVvuw/6zV7hnv/EMlN4CuIVg3jBaRfCk=; b=qw2VLNIr87R7yCVpbrRkVlqcu+udeqBMjFF093vw5RYHTMTnDpB2AxNHPZY8IqnrAL UWGrPSJRUJlRpAQEfZDRqf0jpN0uLLt1A3GtkgfrVdQCmKSwHdCpK67dN4nkvbwLquzW qGx8qG+mHgQ3KTxCSzs+8Vb9w2LJGLukrByqXdX+EVX5AF4UxfuBqA/GYgDU7RsprC3t SiZrxuD2i5p/xEuxnzp2oU77ds0nxAepPmkblPiiam4xByqBe3PgpHxLEjAzLqbU8xu0 EtZs7WAS9hhKHPpbmErvAN7C7mvuQViMIn9ZAXct7siFUXuy Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACgBeo2529eBaDdHKJTNYnUzu2IPI9nGKIeKRaJcISKVjjGviHnHgdOF KD/LbF+N84sd0vYikCsp8TI= X-Google-Smtp-Source: AA6agR7cC5yYm1A0pHbfRADvygrZfObygnAWg3ilDTrRPU7DXV/YU1Mg6w1bLRlfUc0YnQkxY1fSTw== X-Received: by 2002:a05:600c:4fc2:b0:3a5:c491:5ee1 with SMTP id o2-20020a05600c4fc200b003a5c4915ee1mr2041638wmq.62.1663142752063; Wed, 14 Sep 2022 01:05:52 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a1c:7c19:0:b0:3b4:9792:b16c with SMTP id x25-20020a1c7c19000000b003b49792b16cls1531486wmc.2.-pod-prod-gmail; Wed, 14 Sep 2022 01:05:48 -0700 (PDT) X-Received: by 2002:a05:600c:4f53:b0:3b4:9aad:7845 with SMTP id m19-20020a05600c4f5300b003b49aad7845mr2058184wmq.159.1663142747924; Wed, 14 Sep 2022 01:05:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663142747; cv=none; d=google.com; s=arc-20160816; b=yta3M5D7bVSFagAH5OtVC+IeM4tOwBv4DKu+JBtVKXFSSHY1wzhae/x1e1QCGwiYCF 1yyBtXktOc/x9iqTL/21SyKIM65yuN9oX/5JarNJ2siKnDkLl76pGhc+pP3NyALsISDQ AMr4490ycy/GXN13uU8JfNcGPvRM2TWFfG3EzChyMEiwr1da2SKU6nCaJ+wOn19yJl4j WtpZv8IFeKSjxEGAurCzPdv8HEvYHMIXhxeLxoOyuZhCNtfBRxxASWVOTx6DxjujLRZA EHAq81ENs6vGKytdcHwdsmLGogLeolwWqT2Cl9jeMejeQyKGJt0cASfzgdTrPhVnyIQP 1G0g== 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=n7GZg8bsnEhAFU4mfpyXMna/SUttjiAitZcYRRbrsW4=; b=pjjhPv4xgnRN0vFStaUhamT2639hiU9GItzah3AujPoAptoMuaIECnRQ4aFwkMC0gm F4lG2s4OZniyipO/3owOu/hp4FukqRhbX1NtbvLZMRwyXkNEgkjgtko6d5KBfo6YYBYn +ZaCotm4NT3vEf3A7t+wMAOhu6UOQpown1miT41TxPzj8WZmqsaMDbAZAtl/6aR2gAxX 4fhdHgbPlXGY8PZhOlxMRlevQHTVFRaHd+t8ALvTY5Rvs1ptcU0m88AruhiVYiGycrlo zq25m/qTe0wAPXB1Fip8Eg5I/rHo2oyH6qyU/kewK+kdwXrp6R4S3CIH0/aKSBFpL8Pv HREA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Evk6x5kx; spf=pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::430 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-x430.google.com (mail-wr1-x430.google.com. [2a00:1450:4864:20::430]) by gmr-mx.google.com with ESMTPS id o8-20020a5d47c8000000b00228d6a43531si452369wrc.1.2022.09.14.01.05.47 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Sep 2022 01:05:47 -0700 (PDT) Received-SPF: pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::430 as permitted sender) client-ip=2a00:1450:4864:20::430; Original-Received: by mail-wr1-x430.google.com with SMTP id h8so17408970wrf.3 for ; Wed, 14 Sep 2022 01:05:47 -0700 (PDT) X-Received: by 2002:adf:ea05:0:b0:229:9c4c:ec78 with SMTP id q5-20020adfea05000000b002299c4cec78mr20071441wrm.213.1663142746416; Wed, 14 Sep 2022 01:05:46 -0700 (PDT) Original-Received: from [192.168.1.23] (212.red-2-141-201.dynamicip.rima-tde.net. [2.141.201.212]) by smtp.gmail.com with ESMTPSA id k16-20020a05600c1c9000b003b492338f45sm8618235wms.39.2022.09.14.01.05.45 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Sep 2022 01:05:45 -0700 (PDT) Content-Language: es-ES In-Reply-To: <4af1b08a-856b-43de-b473-476680e4236dn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 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=Evk6x5kx; spf=pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::430 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:31392 Archived-At: This is a multi-part message in MIME format. --------------9vneD5umFJwOE8Q4kl3WVYzR Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable First, delete that `list.txt`, and then: either paste the commands=20 directly in cmd (right click the cmd window to paste directly or open a=20 menu depending on your settings); or save it to `convert.bat`, replacing=20 `%` with `%%` (so `%D` becomes `%%D`, then run `convert.bat`. (Also, I think you know this, but just in case: the file doesn't have=20 any `, I use them to mark codeblocks as in Markdown). Hth, Sukil El 14/09/2022 a las 9:32, mr vicky escribi=C3=B3: > well i save it in text file in same directory where the html files are=20 > and then i ran command > but its making epub of text file not html files > here you can see attached files > > On Wednesday, September 14, 2022 at 1:32:40 AM UTC+5 suki...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org=20 > wrote: > > 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 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 file! >> >> 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:49m= r >> vicky 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 file >> 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...@goo= glegroups.com. >> To view this >> discussion on the >> web visit >> https://groups.googl= e.com/d/msgid/pandoc-discuss/caf40fb8-07cf-44a4-b0b6-732e8b5e9a5fn%40google= groups.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...@googlegroup= s.com. >> To view this discussion >> on the web visit >> https://groups.google.com/d/= msgid/pandoc-discuss/2ec806d1-af88-4023-9d8b-fb2852935dfen%40googlegroups.c= om >> . >> >> --=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...-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.org= m. >> To view this discussion on >> the web visit >> https://groups.google.com/d/msgi= d/pandoc-discuss/CADAJKhD84_%3DTbfO2hSQHpAnF3mbdTYc2fEG2CyumCPw9qC9Rsw%40ma= il.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/pa= ndoc-discuss/CAH8MJH_e67u4YMwCEYpeBfDY09jDCvfduubLkRdRKRLqh8hbAg%40mail.gma= il.com >> . >> >> >> --=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/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= -discuss/CADAJKhBme1EvsD6Lb0wYmBwx47AsPhpvu1Xp-ic12pnB_qM0GQ%40mail.gmail.c= om >> . >> >> --=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-dis= cuss/CAH8MJH9mZCoj2gkgBSfO-PAc4ptwjBPj%2BnuHxVppG%3DRC7jGi9g%40mail.gmail.c= om >> . >> >> --=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= /CADAJKhDaM033xRTbA%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/CAH= 8MJH8Kwyj4wa-%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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/pandoc-discuss/1d652de4-3624-4= 6a1-a671-cc73ce6417d4n%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/pandoc-discuss/CADAJKhA1fgDgmVUVoA= kzQDSqKm8e2Ytd%3DgNku%2B3tL8KXwTBtyA%40mail.gmail.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/4af1b08a-856b-43de-b473-= 476680e4236dn%40googlegroups.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/d2f43247-527f-b10a-7774-7f5837ccf6ac%40gmail.com. --------------9vneD5umFJwOE8Q4kl3WVYzR Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

First, delete that `list.txt`, and then: either paste the commands directly in cmd (right click the cmd window to paste directly or open a menu depending on your settings); or save it to `convert.bat`, replacing `%` with `%%` (so `%D` becomes `%%D`, then run `convert.bat`.


(Also, I think you know this, but just in case: the file doesn't have any `, I use them to mark codeblocks as in Markdown).

Hth,

Sukil


El 14/09/2022 a las 9:32, mr vicky escribi=C3=B3:
well i save it in text file in same directory where the html files are and then i ran command=C2=A0
but its making epub of text file not html files=C2=A0
here you can see attached files

On Wednesday, September 14, 2022 at 1:32:40 AM UTC+5 suki...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:

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.lon...@gmai= l.com> 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, September 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 sep. 2022 20:51mr vicky <v.lon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org= > 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.com> 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

On Mon, 12 Sep 2022 at 10:09 pm, BPJ <b.= ..@melroch.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...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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.

Den 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:
Gene= rally 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/2= ec806d1-af88-4023-9d8b-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/C= ADAJKhD84_%3DTbfO2hSQHpAnF3mbdTYc2fEG2CyumCPw9qC9Rsw%40mail.gmail.com.<= br>
--
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 https://groups.google.com/d/topic/pandoc-discuss/x3cVQPV2MWs/unsubscri= be.
To unsubscribe from this group and all its topics, send an email to pa= ndoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit ht= tps://groups.google.com/d/msgid/pandoc-discuss/CADAJKhBme1EvsD6Lb0wYmBwx47A= sPhpvu1Xp-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-d= iscus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
--
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-discu= s...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://grou= ps.google.com/d/msgid/pandoc-discuss/CADAJKhDaM033xRTbA%3DQ_TGHnOhCpS2-o0Fc= k8sDYZr3CfKSPhQ%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...@g= ooglegroups.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.
To view this discussion on the web visit https://groups.google.com/d/ms= gid/pandoc-discuss/1d652de4-3624-46a1-a671-cc73ce6417d4n%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...@= 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-dis= cuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-d= iscuss/4af1b08a-856b-43de-b473-476680e4236dn%40googlegroups.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/d2f43247-527f-b10a-7774-7f5837ccf6ac%40gmail.com.
--------------9vneD5umFJwOE8Q4kl3WVYzR--