From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31375 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: BPJ Newsgroups: gmane.text.pandoc Subject: Re: multiple html files Date: Mon, 12 Sep 2022 20:40:40 +0200 Message-ID: References: <2ec806d1-af88-4023-9d8b-fb2852935dfen@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001a2cf905e87f3ce7" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32940"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBNH27WMAMGQEEPTPNUI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Sep 12 20:40:56 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pf1-f191.google.com ([209.85.210.191]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oXoMa-0008JO-5L for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 12 Sep 2022 20:40:56 +0200 Original-Received: by mail-pf1-f191.google.com with SMTP id f16-20020aa782d0000000b0053e242136bfsf5965416pfn.0 for ; Mon, 12 Sep 2022 11:40:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1663008055; cv=pass; d=google.com; s=arc-20160816; b=GhQho/4c91MwHhmwTFRw5FwibGf5NFwKzb8jAQLIq+lYh5wd7ijuQubx8j2EuAeUcK Nfb2WXydONwXrvtEQnWId+BfuiRU7oJC23IsVP76Bmfh28ad2TRtobU/ou5gLdZetgXM Z4+P4V3SBsy/Rtw86CLngAj9zm13eOIbW3KXsyl68KvRaf5vWB3EK4VYjYmv7+WZqj9z E51OQb3wZ1u2kVcJaWOIkOFPDB9LHgOdRl5DBOBeztI8FBp6hNXcF/h1CZCnJU3ajv/r EybCXNi5bijbi2a3nGx2eff5ukksgdbw8MLwmcaLaz9Jl1CAybi/Kdr1iJKymzF4+jwF w6wQ== 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:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=ApT62jACRhkd9niL219y0anCJd8ukB4pghWWBWCFV38=; b=Q18fzE+QkV50cNLzFP30EtdT+iSnZ6SYU1Z6AR1kQ3INGb1RZmG7rdrCEuUu1vqzLC fnSOVJhDUStMbmmHJCJlv63Fb0mBNQ481wcGdeTak4IgC6y5F9AYwfJiknIwY8JDqhDw +RyU9jeAcCMQQN09DNzeigJ1600mLyUouM2LXaBz4RiDestmop7wiH6xMv2FVhzS5p97 M21PQDcG8+03ihb1C2/YLsXOzsXUeTbg3pUXvF/bBFQ2jCnFso3CtCsgSL0XcABppuRz KvZgMon2xdCIfvy4xNb7fNlf/kSgokB5bhqvzq7Ez282R+EN6hgP3ch+0gB8KK+QY3CY w1BQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Uh35kNgz; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::112f as permitted sender) smtp.mailfrom=melroch-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:to:subject :message-id:date:from:in-reply-to:references:mime-version:sender :from:to:cc:subject:date; bh=ApT62jACRhkd9niL219y0anCJd8ukB4pghWWBWCFV38=; b=nMp7adfBcrxb7nn3LknBqSQQPpaGTXU9rWiGc+j3oYkpFlgONppTGb7pJwgEjhd59U vTn08jsfG3M+/fVPOcu7NOwKqyMLLyRN13FUk2k++lBpkXn33S2rwB8I86MdrhfvbCQb RvUKj7mNpatrzYlozNkped0I2SQwK09nQ3UC53y5TUcJtjH0eH+TGO+CHy961JVvk8XO U4u58wOkcUGpyX2BjAUuLRqw3V8/WYtSJAGMYLsMklSfw7ZkN48ax24lo0M5SWZfAsLJ Uy6C6GouN7Jx0qHYrS1QkQoLB/pNobHB3nbRass/MjNR26qvpv9uBxGa5NQ0hq1o1brT 7XeQ== 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:to:subject :message-id:date:from:in-reply-to:references:mime-version:from:to:cc :subject:date; bh=ApT62jACRhkd9niL219y0anCJd8ukB4pghWWBWCFV38=; b=mXNl5IsDk75pR7Eqti0/JkeUIWma/ijnjlkU5TQgVlP62ygZFkhocNYk/10I194/MD hEWakESMtS9vZdgVojpCufls9ufCcBD0sYpQuUgOVs9QqnRqe5qrXT7a2MaxAkfuaaWS jivUEMQIoroHpiWCyQlmzHGN78Ej2WrLO/XCuHGC1C1x9WIR5b2//+E14hKtG+HcmpYD 3cGnITMetsy1O5911wDDixb8Ng1PVoCLEcvN82/NPdOgzf+nCa+7ldXG6STnyy6uPOqq K54EQhFYgvHta1H6D5DAR70h+guG3yneq44cPIA2yZIHffHMjqgrJoEC2RRqrRoYIruE ZxiQ== 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:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:sender:from:to:cc:subject:date; bh=ApT62jACRhkd9niL219y0anCJd8ukB4pghWWBWCFV38=; b=KOcPaJjtHjXtXFFJQ3X9RAgeSSkQMj86WESxyJlrBlsXmTo48Xjw+u9RbCyuCwAY1+ 4leOAddrp2OA4k+mPxLuOAIwepir5pJx/bRjEs7Auv8dHTWSRaCzoiV8pDV9EhAWBHNX 2VyTBB1WqoKsb47IKhZ084YeXqHxskd+5nbui1Y0KgdajRD0ffLN9a9KleMklXQ8Mxw0 vMsqC/5BAXDhLFlqvcljH8y2p/K+JPfNBTMTtZWD+jPG6ueHT8PKf8tyNjpo55cYaPw5 5fTkZLpYdljSuFL53dcBv/22dwWGcrjM3MP5KlGvJ+rF8rtwUuSF9NCkcCduBN426HrQ Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACgBeo0JouV2lBFHdFdjOnkqVg2ca+OhBJiDYEKDJnUkwWDsImeY6h7E Qh7I8fdMf0AFV7mg6PukFLY= X-Google-Smtp-Source: AA6agR5coThgDn4Piwq2D0zFEwl+T5ZgK8519RQikV50LxYo/0f22uSJbG61IU8uuguTW7rLkp4AOA== X-Received: by 2002:a62:1e83:0:b0:545:6896:188 with SMTP id e125-20020a621e83000000b0054568960188mr1804025pfe.51.1663008054792; Mon, 12 Sep 2022 11:40:54 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:90a:a88a:b0:200:66a9:ced4 with SMTP id h10-20020a17090aa88a00b0020066a9ced4ls7881180pjq.3.-pod-control-gmail; Mon, 12 Sep 2022 11:40:51 -0700 (PDT) X-Received: by 2002:a17:902:d50a:b0:176:e498:233b with SMTP id b10-20020a170902d50a00b00176e498233bmr28172739plg.33.1663008051547; Mon, 12 Sep 2022 11:40:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663008051; cv=none; d=google.com; s=arc-20160816; b=mcpgngshCcmJIGB25pZ44l9BZhBF6X4kkv4UlMFZ060K8blwhrXLHQU/e+zA8/rRpH TskZf/jjO8WQxYlqJxe7elJT/ceDYCc0T7VYLEtafP8xJkmfg0oCDQsYmVHYcRswwaVj rZSJI4ajAf7m2NtO3DswQ8hWyudriI8e6pZdUfTGSPz7EsPt9y21BpAufZw+Tuo1K7dj TKGvLtdp+6O2rDqeaVTHrUqMs6lmZJUCZwY3PUhEPPBBfv5vyQ8yCXdAqNYLMPWpVDTn bJDgSy64p5IV6JBdyDaEB5ir9lLl6x9ZdnwSKj/OAlv+NgRm4z43mlpNCDtEtBCO+N3+ JviQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=QwTmB/D57Nc6rLv+cLEbOieKHwC4ooP4waGCiVLaqKQ=; b=Dx3P1ZJqljQ+bBBu4C5VcvicGrb/HG0V3ThdbptLkfyV8AF76wclBosbOyUVfhAysn sodi38VEx5W6Fu1TnPHAH6NnKgYhkOyvdgarHuWzciXcLqZb7qzh/Sx8eCEhBrYWR6rk iA5T2/lnExLzt4ffEKBehlxgcvoLuag7I6i2YpNGBaviulOJPDu7u74Izvj0DxHyT5ou XWmivft35opsBgJkJUt/KABFFiw+9HE8Q/wNHkwlyDXlqr2xos0Sb6zeq5C5Kl8Dc8pF EjR5AVw2oczhqFAlQMZswaQtR8MC7+8FVxuhSvmKkO6oSh/aTijlqkekvvnFM5dLH2Vy b1DQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Uh35kNgz; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::112f as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com. [2607:f8b0:4864:20::112f]) by gmr-mx.google.com with ESMTPS id lj4-20020a17090b344400b0020030aac781si226300pjb.1.2022.09.12.11.40.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Sep 2022 11:40:51 -0700 (PDT) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::112f as permitted sender) client-ip=2607:f8b0:4864:20::112f; Original-Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-345528ceb87so111758097b3.11 for ; Mon, 12 Sep 2022 11:40:51 -0700 (PDT) X-Received: by 2002:a0d:c184:0:b0:324:d917:78ac with SMTP id c126-20020a0dc184000000b00324d91778acmr23499598ywd.468.1663008050391; Mon, 12 Sep 2022 11:40:50 -0700 (PDT) In-Reply-To: X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Uh35kNgz; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::112f as permitted sender) smtp.mailfrom=melroch-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:31375 Archived-At: --0000000000001a2cf905e87f3ce7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 fil= e > 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 shoul= d >> 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 the= n >>>> glob them. >>>> >>>> Den m=C3=A5n 12 sep. 2022 16:49mr 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 befor= e >>>>>> 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 nam= e: >>>>>> >>>>>> 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 an= d >>>>>> fourth chapter I can number it 035-something.md and if I want to ins= ert a >>>>>> chapter before that I can call it 033-whatever.md so that I don't ne= ed 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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/pandoc-discuss/2ec806d1-af88-4023-9= d8b-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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhD84_%3DTbfO2hS= QHpAnF3mbdTYc2fEG2CyumCPw9qC9Rsw%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/CAH8MJH_e67u4YMwCEYpeB= fDY09jDCvfduubLkRdRKRLqh8hbAg%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/unsubscribe= . >> To unsubscribe from this group and all its topics, 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/CADAJKhBme1EvsD6Lb0wYmB= wx47AsPhpvu1Xp-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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/CAH8MJH9mZCoj2gkgBSfO-PA= c4ptwjBPj%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 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/CADAJKhDaM033xRTbA%3DQ_TGHnOhCpS2-o0Fck8sDYZr3CfKSPhQ%40mail= .gmail.com. --0000000000001a2cf905e87f3ce7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That's right. You don't need to prefix anything t= o 100 and up since you have less than 1000 files.

Den m=C3=A5n 12 sep. 2022 = 19:33mr vicky <v.lonly007@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
<= br>
check this 10th number is right ?
and what about when i reach 100 number of file and then 200 numbe= r of file
because my files are more than 400=C2=A0

On Mon, 12 Sep 2022 at 10:09 pm, BPJ <bpj-J3H7GcXPSITLoDKTGw+V6w@public.gmane.org> wrote:
just type *.html (star included) and= it will be as if you had listed all the .html files in the current directo= ry in alphabetical order.
It doesn't have to be the cu= rrent directory: if the files are in a subdirectory html then html/*.html w= ill 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 throug= h 99.html; the goal is for all file names to start in the same number of di= gits.

Den m=C3=A5n 12 sep. 2022 18:56= mr vicky <v.lonly007-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
i can use also=C2=A0
i have software which will rename all files and ad 0 before numb= ers but tell me will i write all files name in command or just from file on= e to last number file ?

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

Den m=C3=A5n 12 sep. 2022 16:49mr = vicky <v.lonly007-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
<= div class=3D"gmail_quote">
i have more than 100 html files evan more th= an 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 ?
<= div dir=3D"auto" class=3D"gmail_attr">On Friday, September 9, 2022 at 6:01:= 30 PM UTC+5 BPJ wrote:
Generall= y you can just list them on the command line and pandoc will concatenate th= em:

``````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 she= ll 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.m= d
020-introduction.md
030-pre= liminaries.md
040-advanced.md

so that if I later want to insert a chapter be= tween 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
pa= ndoc -o all.pdf *.md
``````
<= br>
will still give me all the files in correct orde= r.

/bpj

<= div class=3D"gmail_quote">
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<= /div>
html1
html2
html3

i = want to convert them in single pdf or epub file
please can you ex= plain 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 pan= doc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.goog= le.com/d/msgid/pandoc-discuss/caf40fb8-07cf-44a4-b0b6-732e8b5e9a5fn%40googl= egroups.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+unsu= bscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pando= c-discuss/2ec806d1-af88-4023-9d8b-fb2852935dfen%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-discuss+unsubscribe@goo= glegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pa= ndoc-discuss/CADAJKhD84_%3DTbfO2hSQHpAnF3mbdTYc2fEG2CyumCPw9qC9Rsw%40mail.g= mail.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@goo= glegroups.com.

--
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/unsu= bscribe.
To unsubscribe from this group and all its topics, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/= CADAJKhBme1EvsD6Lb0wYmBwx47AsPhpvu1Xp-ic12pnB_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-discuss+unsubscribe-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.org= m.
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.

--
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://group= s.google.com/d/msgid/pandoc-discuss/CADAJKhDaM033xRTbA%3DQ_TGHnOhCpS2-o0Fck= 8sDYZr3CfKSPhQ%40mail.gmail.com.
--0000000000001a2cf905e87f3ce7--