From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31374 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Staal Newsgroups: gmane.text.pandoc Subject: Re: multiple html files Date: Mon, 12 Sep 2022 14:00:52 -0400 Message-ID: <4dbc4ce3-4bcf-e336-909e-6d308b8095d7@usa.net> References: <2ec806d1-af88-4023-9d8b-fb2852935dfen@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14021"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCGYLPE23UARBVPH7WMAMGQEZSI7XAA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Sep 12 20:00:58 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pl1-f183.google.com ([209.85.214.183]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oXnju-0003QE-7g for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 12 Sep 2022 20:00:58 +0200 Original-Received: by mail-pl1-f183.google.com with SMTP id z7-20020a170903018700b0017835863686sf2265149plg.11 for ; Mon, 12 Sep 2022 11:00:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1663005657; cv=pass; d=google.com; s=arc-20160816; b=upmPOYH0OzTJ5cR8aGK1MD2Wt6nWzAQZYEsG4k5/wgeSdEdrwXSHrrP0R79qwv55qk NtsAbL3X2e9RdXcMPVTHR9BHYJxYRliiZpFx3J0cThfHW+GrCZWb8EHjUiZJZEHWqJfK f8Buhj/VsSFyUMgzTNJxsLvxt/drs1qkKJ3OTxcQJoZnRIvrM7ORILO1B+yokq4mlrMo kgM5WrBmqGwY1WTyHImbEa2vjenNRLah4MCfBxrmA3NfWe9T3Hruq5b5h2Bcw212wwvL NsZUGZUaAiY9MNzx7OMjFPPcy9onQtUW7XX9QhkuME7iXFmnUg1fBYb0nBOgHLeok6vp zPnw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:content-transfer-encoding :in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:sender:dkim-signature; bh=DIh3Hg1C6HcE+GJP8ihi2NshuUxdSfkg5ieubO2NaLA=; b=dF0aYQOMsXvu4FGCFnYLC0QGHL9b2iGfj1JXaeytINDT/su2lW+zUdK1/hDSe/MyDW tFIER6apuKauRTWdLObrpy7L4YKf7+9gTSpfNs8OhXa8hAasn37owfMCEA9GwfXYZHCA vtBwd7EQyBP0VTI/UKWP8wx2jZvscuHKk8ON7ghu/j9aZb9P5O9zkd50Cyhmwdjwj/Xk EQrmsV0XhfdQXsAk3XnmY93SFjXCclNb7jlpUIKzNxVdqEChXBF3G/XdHLL5OQNgsbJh E7Ol1jFIl9RfjhxlU/P+Tw5cD0FX2kwBjiVRtS9IKtDfSZHjQ0Is0nfvSVMzYNKnESXm GHSQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net 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 :content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date; bh=DIh3Hg1C6HcE+GJP8ihi2NshuUxdSfkg5ieubO2NaLA=; b=Aa5A/9zmyHsxN/kPqYCKTPDaNaB6RdzZ4J4b1TXU1sZ8ggdWeTRb1jtRievhXWCSf6 cYfjBRj/u7tR1C3hQKTMI//+CEevPm02iQeif4RJeG/28ZLxSsbmMI6qca8JpNuJRfBN KSoJ6mYe44FmXuw48AzP3Vtyi8YzSiLp0utpWcyTubR6XLwkn8mF7LXkGeG/vQleFvRJ U8drSTdCP9uqqgwDd/Etx87JD48C/6pBC/N+OsSWuxHTxj35mKSS1XHbhvl1pZoKP93x JKkAGWVwbZeKDv3lSFeuyvfHIaw60UMx0eOX9HioLto/G3SCfxGyj6fUA 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 :content-transfer-encoding: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=DIh3Hg1C6HcE+GJP8ihi2NshuUxdSfkg5ieubO2NaLA=; b=ton4H7ASSShazmdnqr2ptkmGac3j40MxT0pvOBkY8Fe6BEh+SaNBBouqnoi56xvUh/ 0ye5Sx/3QiEFrYqrVwUBVL5Pn9jSZdPR4qzvEfWTGscqHGSyXGSxcCD5MLoyg0ALGiF/ FECG0yAMuf78QqP0InM6dHf2lYZsZ+UdmvYbu8l4C0se4u+YL1xS5R2cJgevlO9/k8Zu U5JE/2nsTamqZwG5o7KjNBRplPD72GeOUod+Zaab80Q5WJP+13/3iacjg+3i1Jo8nXE6 pITyCHH3YCZ2 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACgBeo2ecmsULDtPjmiDsqWLALm79Or6jtRF0sSZR1n1wpbyUp8SzXTm Y9iVLWxfNldNehf8d2LQpRI= X-Google-Smtp-Source: AA6agR6AZ8jlmg4aww7YbzOa5hifOkZh+j6qB+1vj0sYMNgPmuq0CbZ0s6M/pkSc8NXqPh/icExryA== X-Received: by 2002:a17:903:1cc:b0:178:44cd:e9e with SMTP id e12-20020a17090301cc00b0017844cd0e9emr281245plh.158.1663005656654; Mon, 12 Sep 2022 11:00:56 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:902:ce84:b0:16d:4224:4877 with SMTP id f4-20020a170902ce8400b0016d42244877ls8137573plg.4.-pod-prod-gmail; Mon, 12 Sep 2022 11:00:53 -0700 (PDT) X-Received: by 2002:a17:902:f0d4:b0:176:988a:77fd with SMTP id v20-20020a170902f0d400b00176988a77fdmr27782157pla.25.1663005653224; Mon, 12 Sep 2022 11:00:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663005653; cv=none; d=google.com; s=arc-20160816; b=NWEPcNAvM2feUJc1no/0uvf7spvz7cS9qgiUpxJgYDD8WOtfbodn1szSCXDzUq+FGw 8kxajci8p0ZNZTrC8otFxkl9crf4qmnNwtA1QSpLmMBAfZFWssitXpSkvRgq6WAINSvJ PeeqrpsPG8lDmDIqriPIaaoQmccw2XgUUi1P17wMe1NacVYldnzQ4ZbKyUtwvpqlysB3 xtftbCpxW8tlHm+Yvwux5KuXbWWF1SHm2kLhV6bD4tITHcAI83VV/E2Oi53PQ4dxoHhi uvbPbjSXmAVqp2HNoJDXlx3FYLdmNhjkQUjzyv0QCFNY5H2cRE9n/pQxliuBTHN6LqIp YcEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id; bh=b7FwYjkFh9Fht6AhABjq0hk/IZpJXqRWgZeHQuoSO0c=; b=QHIozFv3Yk0XDVBS5Gc8NJfiZZ/ttti6qZs7zeU7BI9vWz+d2BQCEv8rF8LcW9Q9sU qtchPKxYGaS9cmnC90a2kRD4hTeHzlKmZhdp0sLnpoyL5yyRqVXiEEJS1apHTXATJAPa K08WuAXXPvW05F+opSuu+NMEivZps2+wJeMOJ4U+G/+cDy98rnA5sG551TKIslAY7o+O IUIxjJs8lCPI1He9XCQw1VIKvaQ15rIOJ2p/TJckqMenLaN7aqEVCvCvLs5VE1dHLN6A 3Cpc2duj+OwW5uYNE1SSkgrsw2WyYQBPlt0/aah+WbcmIYj/kcVisjPEwdkfvtN7YJ+y ZX2Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net Original-Received: from mail.magehandbook.com (static-71-191-170-84.washdc.fios.verizon.net. [71.191.170.84]) by gmr-mx.google.com with ESMTP id j2-20020a625502000000b00537a63cf17dsi243814pfb.3.2022.09.12.11.00.53 for ; Mon, 12 Sep 2022 11:00:53 -0700 (PDT) Received-SPF: neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) client-ip=71.191.170.84; Original-Received: from [192.168.1.27] (unknown [192.168.1.27]) by mail.magehandbook.com (Postfix) with ESMTP id 4MRDsw3jznzKC2 for ; Mon, 12 Sep 2022 14:00:52 -0400 (EDT) Content-Language: en-US In-Reply-To: X-Original-Sender: DStaal-Jdbf3xiKgS8@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:31374 Archived-At: That should all work correctly. Note that it's really better to think of this as an ASCIIbetical sort=20 than an aphabetical sort. In ASCII order, 0 comes before 1, so 00 comes=20 before 01, which comes after 001, etc. On 9/12/22 1:32 PM, mr vicky wrote: > 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 >=20 > 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 >=20 > On Mon, 12 Sep 2022 at 10:09 pm, BPJ > wrote: >=20 > 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. >=20 > 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. >=20 > Den m=C3=A5n 12 sep. 2022 18:56mr vicky > skrev: >=20 > 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 ? >=20 > On Mon, 12 Sep 2022 at 9:52 pm, BPJ > wrote: >=20 > I would use a script to change the names to zero-padded > format and then glob them. >=20 > Den m=C3=A5n 12 sep. 2022 16:49mr vicky > skrev: >=20 > 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 wrot= e: >=20 > Generally you can just list them on the command line > and pandoc will concatenate them: >=20 > ``````shell > pandoc -o all.pdf -f html html1 html2 html3 > `````` >=20 > Globbing might work >=20 > ``````shell > pandoc -o all.pdf -f html html* > `````` >=20 > but note that the shell sorts "alphabetically" so > html10 sorts before html2! You might want to > zero-pad the numbers in the file names: >=20 > html00, html01 .. html09, html10 .. html99 >=20 > 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: >=20 > 000-frontmatter.md > 010-preface.md > 020-introduction.md > 030-preliminaries.md > 040-advanced.md >=20 > 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 >=20 > ``````shell > pandoc -o all.pdf *.md > `````` >=20 > will still give me all the files in correct order. >=20 > /bpj >=20 > Den fre 9 sep. 2022 12:31mr vicky > skrev: >=20 > hello > i want to create pdf file from multiple html > file. And the files name are like this > html1 > html2 > html3 >=20 > i want to convert them in single pdf or epub file > please can you explain me command and way of > doing this ? >=20 > Thank you >=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 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 . >=20 > --=20 > You received this message because you are subscribed to > the Google Groups "pandoc-discuss" group. >=20 > To unsubscribe from this group and stop receiving emails > from it, 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/2ec806d1= -af88-4023-9d8b-fb2852935dfen%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 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/CADAJKhD84_%= 3DTbfO2hSQHpAnF3mbdTYc2fEG2CyumCPw9qC9Rsw%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 email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > . >=20 > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/CAH8MJH_e67u4YMw= CEYpeBfDY09jDCvfduubLkRdRKRLqh8hbAg%40mail.gmail.com . >=20 >=20 > --=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/unsubscr= ibe . > 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/CADAJKhBme1EvsD6Lb0w= YmBwx47AsPhpvu1Xp-ic12pnB_qM0GQ%40mail.gmail.com . >=20 > --=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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org=20 > . > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/CAH8MJH9mZCoj2gkgBSfO-PA= c4ptwjBPj%2BnuHxVppG%3DRC7jGi9g%40mail.gmail.com . --=20 --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- --=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/4dbc4ce3-4bcf-e336-909e-6d308b8095d7%40usa.net.