From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31388 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: BPJ Newsgroups: gmane.text.pandoc Subject: Re: multiple html files Date: Tue, 13 Sep 2022 22:21:39 +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> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000009241c05e894c36e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6358"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBXWMQOMQMGQEBOJ445Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Sep 13 22:21:55 2022 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 1oYCPq-0001UR-OV for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 13 Sep 2022 22:21:54 +0200 Original-Received: by mail-pg1-f187.google.com with SMTP id h19-20020a63e153000000b00434dfee8dbasf6242215pgk.18 for ; Tue, 13 Sep 2022 13:21:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1663100513; cv=pass; d=google.com; s=arc-20160816; b=n1H5tzyETXffLnNv/5p482vqK9G6EEt5oW45Bf95rVoc4TTPAqgRpEpPoifMLXpNve xJlKZKv1HF5b6lcScmheaX2GtHePMIBqGS7rp/aRDWfHtyvxOLz/izkT7bN1XpllG2Wt 928YQq7aEY4r+H5q+4w3wDbHcJUHODwrvC7YwHOZwYK90lyk/9RgDY8XhvmnRigdAMRw lieUYIW2wxk7ir6C3lx3xbOIF2syQ/qRyEchr8s/kEaJL7Gqmm7DbazsIRrDtllI9aBk d0LQ4zrdX8sRMn6a1MOaKsYmbWaF6K4TvRbpzPJOBOEhuKEwqCHBKVHmIcpMiCcdXhbO fz0A== 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:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:sender:dkim-signature; bh=H0eTdocnE79ClJqFH1sN26WWwGnv7tbl25EhsUqU0bA=; b=cDd0mZsUV+ip8J7lEcPTGbzIfeGEiQNFzq4k4ilLHyMUFX3wYKCwa2O7FlnftvJBay cdk+TIYYzVxdWEM9+P+8CFhw3BDk08l4uCdAcWwo3NQghqwS0kBlXQI36FV0YyhtzJjd zbkZWxRPmRwQNbpsYZ3BJwt3x6b48+/qtDi631eKukXmnnYA2Ao24xyv3J7B6im++fO5 RGQ0bBQorcwArY8TXgyoBUAzXdtoAAU4xjB1XOCooNbWfiUBq9N7k7hTXQ7e4HItKk78 NbHgQBQOWUjb7J1gPuV9fxpBleZMjoJhsqji/jPqv2N61uIjb+ksr4YooBT/mUJf1hHb K9gA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.219.177 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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:x-original-authentication-results :x-original-sender:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:sender:from:to:cc:subject:date; bh=H0eTdocnE79ClJqFH1sN26WWwGnv7tbl25EhsUqU0bA=; b=cJEjVUY0tJRX1LfLg+M6Qq5zCW5hpCl92N2yWUS18G/xZ8PVxv3+gJrGiMbWcUqsJW axshKLYkol8ihqzUWiVgoCVNfIIMeTsM91F+yDkAxBL8pgFIOOH/ES/HPj+YSV1OccmT wCns/HcGe0ypz36tyxOm2w1ZNvLkGL1Ipu6Y+wliLqMogq/iaNNoDVikixbmsAIgm9SD nDv9MxxsL2nZn/N8S4fW1eh4raPgnC/UgHzBL45+Ek6OObfrqgEVYYT6h0b40aFlQvCc c7mKOkuCsd9zjqef8JMPw1LE4AjuP6flWXVtQT2Gwf02rx6b5zJcDBl9RlAVSbamXY3J mlsA== 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 :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:reply-to:in-reply-to:references:mime-version :x-gm-message-state:sender:from:to:cc:subject:date; bh=H0eTdocnE79ClJqFH1sN26WWwGnv7tbl25EhsUqU0bA=; b=yDUsO8uyjHQqmZZnPIEtEMWXdUrVUOxsNaqKKY4hG7AY9TzwwFjrZmDCw1wUB/k58k lYrROzR1BHW2aOR59NQ41BJWfqYPSkQv4gQ/L9ZU4U96rcJciemyJ3iy6/8sFeIXzxiY a/r+R9FmtijpULTms5ZmjaEWRCrflWqKNCDmXXf03hjusgW1VW+ZjMtu+ZicydLDydlS jm2uaAoJV7/r9UgQn26LqDAdybbhH3fH8bFzYIvQ9k4dyJ3MN3oGp3qpr1aX3FPavPt5 HTMThdzJCLytXe/rlEKR9pkpsNL59hsvTOUZFad4yq0JO43GlokZoj66RXAbIISGkTZy Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACgBeo2uRN6IYXHWgygfcCee1h/PYwmWfYyEN+iV++YLSbJygLPSibcW uumx0dQwpapqpHxOfPEPvfU= X-Google-Smtp-Source: AA6agR4B0MVf/CE++QucdHsiQgM8AUQ4Yo5hAztGZM1jNK1tlL9Frh8n6Z+lXzWqXU2T9YddidzTrA== X-Received: by 2002:a17:902:dac4:b0:178:2a6f:bc7f with SMTP id q4-20020a170902dac400b001782a6fbc7fmr13811501plx.129.1663100513355; Tue, 13 Sep 2022 13:21:53 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:903:185:b0:16e:ce7d:3e1e with SMTP id z5-20020a170903018500b0016ece7d3e1els10403483plg.1.-pod-prod-gmail; Tue, 13 Sep 2022 13:21:49 -0700 (PDT) X-Received: by 2002:a17:90b:4f8d:b0:202:dd39:c03a with SMTP id qe13-20020a17090b4f8d00b00202dd39c03amr1002150pjb.71.1663100509812; Tue, 13 Sep 2022 13:21:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663100509; cv=none; d=google.com; s=arc-20160816; b=DC3JA0B3poQ9Dj1Qv5KQTU4Y8nQHVQv9ya2I+cqfWh518l6pq7OEWVjd9WOnx/wkyo elmgaUqREmy7uUH26P53PxsJcXjPsHwiQucRSJcoXvzuJEjWkMDf8W3guSYl/5Bf8l5U yNxVnyvYeD51vQToVALP1FE65sSkFMAwuy11hwh317ksSjaMUktWm40EO5z9wiIiVdzr Ds4m23LU5PiXc6cAwFnqxOMF0uRzc2ILjihJHpVWykB2MijOl6w/S+SfrAQTa6MqGsE3 /9738FtF+hyadyHFVXv4IBW8B0TPPeUOB3Pa0bNGyzAKCvno2Rs6hFeOGZWAxKeRl0uC MRUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version; bh=/c03lUjifH93Dy/EDpP3RU8cOtLfJXqs9z/r4w1jn0Q=; b=eAAJPZRhE0EzwXS61KTy9cKMs7CIyaCfA8nMhTVZPfeBO9iH8B4ZX0GDKzZtN0IDEc DplwosH1YNrFbzE0x9zuHGYUVqsdtUabmiOk3tdqcUW2oql8Is7y1lusNSOOYKeCq+aY LycEF29aId2MJkvLmupBdoMQahy0WlQHevN2MAQ17FkHY3N8ksGgyW7dr+F3fJAlqMtS huGkQqa3IRc39uqyMzB7xHfbWzicjeysy1B0zUn4SeM2fc6CU0WnhZ9osu9KguftOZYO d7va631y3RUesAVwotKHTE73IOz4Yt5dQrw6k3+VUciMSB8CSgOCqcOM8fqooBHHUGk7 BJRg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.219.177 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Original-Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com. [209.85.219.177]) by gmr-mx.google.com with ESMTPS id ob6-20020a17090b390600b002002faf6c49si496168pjb.2.2022.09.13.13.21.49 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Sep 2022 13:21:49 -0700 (PDT) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.219.177 as permitted sender) client-ip=209.85.219.177; Original-Received: by mail-yb1-f177.google.com with SMTP id p69so12850080yba.0 for ; Tue, 13 Sep 2022 13:21:49 -0700 (PDT) X-Received: by 2002:a25:880f:0:b0:6ae:f2b3:390a with SMTP id c15-20020a25880f000000b006aef2b3390amr10918453ybl.69.1663100508512; Tue, 13 Sep 2022 13:21:48 -0700 (PDT) In-Reply-To: <1d652de4-3624-46a1-a671-cc73ce6417d4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.219.177 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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:31388 Archived-At: --00000000000009241c05e894c36e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 o= f >>>>>> 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 liste= d >>>>>>> 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 ze= ro to >>>>>>> files 10.html through 99.html; the goal is for all file names to st= art 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 number= s >>>>>>>> but tell me will i write all files name in command or just from fi= le 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 an= d >>>>>>>>> then glob them. >>>>>>>>> >>>>>>>>> Den m=C3=A5n 12 sep. 2022 16:49mr vicky skre= v: >>>>>>>>> >>>>>>>>>> i have more than 100 html files evan more than 400 html files an= d >>>>>>>>>> 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 fil= e 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* t= he 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 i= f I want to >>>>>>>>>>> insert a chapter before that I can call it 033-whatever.md so t= hat 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 >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> 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/caf40fb8-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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>>>>>> To view this discussion on the web visit >>>>>>>>>> https://groups.google.com/d/msgid/pandoc-discuss/2ec806d1-af88-4= 023-9d8b-fb2852935dfen%40googlegroups.com >>>>>>>>>> >>>>>>>>>> . >>>>>>>>>> >>>>>>>>> -- >>>>>>>>> You received this message because you are subscribed to the Googl= e >>>>>>>>> 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/CADAJKhD84_%3DTb= fO2hSQHpAnF3mbdTYc2fEG2CyumCPw9qC9Rsw%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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>>>> >>>>>>> To view this discussion on the web visit >>>>>>>> https://groups.google.com/d/msgid/pandoc-discuss/CAH8MJH_e67u4YMwC= EYpeBfDY09jDCvfduubLkRdRKRLqh8hbAg%40mail.gmail.com >>>>>>>> >>>>>>>> . >>>>>>> >>>>>>> >>>>>>>> -- >>>>>>> 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/unsubs= cribe >>>>>>> . >>>>>>> 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/CADAJKhBme1EvsD6Lb= 0wYmBwx47AsPhpvu1Xp-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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>> >>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/pandoc-discuss/CAH8MJH9mZCoj2gkgBS= fO-PAc4ptwjBPj%2BnuHxVppG%3DRC7jGi9g%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, sen= d >>>>> 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%3= DQ_TGHnOhCpS2-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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> >>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/pandoc-discuss/CAH8MJH8Kwyj4wa-%2Bfn= 8wN-H5%3DE%2B6Ut7UROiMWvu%3DpfhepTgAGQ%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-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-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 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/CADAJKhA1fgDgmVUVoAkzQDSqKm8e2Ytd%3DgNku%2B3tL8KXwTBtyA%40ma= il.gmail.com. --00000000000009241c05e894c36e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 vi= cky <v.lonly007-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>= ; skrev:
i am using this comma= nd=C2=A0
pandoc -o my.epub *.html
here is resultpandoc.exe: *.html: openBinaryFile: invalid argument (Invalid argument)<= div>

On Tuesday, September 13, 2022 at 7:06:38 PM UTC+5 mr v= icky wrote:
ok thank y= ou very much :)

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

<= div class=3D"gmail_quote">
Den m=C3=A5n 12 sep. 2022 20:51mr vicky <v.lon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
wil= l you tell me which rename script you are using?=C2=A0
may be it will be more easy for me .
Thank you ve= ry 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 <<= a rel=3D"noreferrer nofollow noreferrer">v.lon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:<= br>
you means = i rename like this
001.html
0= 02.htnl
003.html
004.html
005.html
006.html
007.html
008.html
0= 09.html
010.html

check this 10th number is right ?
an= d 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, 1= 2 Sep 2022 at 10:09 pm, BPJ <b...-J3H7GcXPSITLoDKTGw+V6w@public.gmane.org> wrote:
just type *.html (star included) and it will be as if you had lis= ted 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 throu= gh 9.html and one zero to files 10.html through 99.html; the goal is for al= l 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 als= o=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 <
I would use a script to change the names to zero-padded format and then g= lob them.

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 na= mes 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.pd= f -f html html1 html2 html3
``````

Globbing might work

``````shell
pandoc -o = all.pdf -f html html*
``````
=
but note that the shell sorts "alphabetica= lly" so html10 sorts before html2! You might want to zero-pad the numb= ers in the file names:

h= tml00, 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-fr= ontmatter.md
010-preface.md
0= 20-introduction.md
030-preliminaries.md
040-advanced.md

so that if I later want to insert a chapter between say the third and fo= urth chapter I can number it 035-something.md and if I want to insert a cha= pter 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 <v.lon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
hello
i want to cr= eate pdf file from multiple html file. And the files name are like this
html1
html2
html3

i wan= t to convert them in single pdf or epub file
please can you expla= in me command and way of doing this ?

Thank you

--
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 pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/caf40fb8-07cf-44a4-b0b6= -732e8b5e9a5fn%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 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-fb2852935d= fen%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 pan= doc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https= ://groups.google.com/d/msgid/pandoc-discuss/CADAJKhD84_%3DTbfO2hSQHpAnF3mbd= TYc2fEG2CyumCPw9qC9Rsw%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 pan= doc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.

--
You received this message because you are subscribed to a topic in the Goog= le 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...@googlegroup= s.com.
To view this discussion on the web visit https://groups.goo= gle.com/d/msgid/pandoc-discuss/CADAJKhBme1EvsD6Lb0wYmBwx47AsPhpvu1Xp-ic12pn= B_qM0GQ%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 pandoc-discus.= ..@googlegroups.com.
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rg= b(204,204,204)"> To view this discussion on the web visit https://groups= .google.com/d/msgid/pandoc-discuss/CAH8MJH9mZCoj2gkgBSfO-PAc4ptwjBPj%2BnuHx= VppG%3DRC7jGi9g%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 pandoc-discus...@googlegr= oups.com.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/CADAJKhDaM033xRTbA%3DQ_TGHnOhCpS2-o0Fck8sDYZr3CfKSPhQ= %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 pandoc-discus...@googlegr= oups.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 pandoc-discuss+unsubscribe-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.org= m.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/1d652de4-3= 624-46a1-a671-cc73ce6417d4n%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://gro= ups.google.com/d/msgid/pandoc-discuss/CADAJKhA1fgDgmVUVoAkzQDSqKm8e2Ytd%3Dg= Nku%2B3tL8KXwTBtyA%40mail.gmail.com.
--00000000000009241c05e894c36e--