From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31401 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: Thu, 15 Sep 2022 13:30:05 +0200 Message-ID: References: <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> <7e388223-7e02-419c-960d-429c29287cb6n@googlegroups.com> <6be3dfec-e061-07a8-1add-05415105c955@gmail.com> <660dfc41-9970-842d-5387-1ccbcae1a222@gmail.com> <00f256e2-d010-4a6d-f9c4-a1b45e1400a3@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------AmwZejpJsvNphHoLZyoeWSNO" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20906"; 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+bncBDIN5YV3SMDBBQUZRSMQMGQEVIBIBPI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Sep 15 13:30:15 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wr1-f58.google.com ([209.85.221.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oYn4Q-00059k-NG for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 15 Sep 2022 13:30:14 +0200 Original-Received: by mail-wr1-f58.google.com with SMTP id w29-20020adf8bdd000000b0022ad6fb2845sf367146wra.17 for ; Thu, 15 Sep 2022 04:30:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1663241414; cv=pass; d=google.com; s=arc-20160816; b=QgZc3lDXVU4d/uXTT3Lw4T3hlfqkqshO2iaYfvmKBZSa+JM0qhOHaehLhjLtiZPNWN msBPdWTD4SW/tR9WfQUveSuq0mzVhyNHdj9PIe1UCAcaIQ1GbP+mDYNEulmHecD5LT/Y QFgCOjVWnQEbVJUjIIOO+FjrqUFLPpzZUP38nZgkKLZr5EN7EIuvwvzfVF2VRq/2uIFp QCl7k2FGQ6w8nSxGn/dM5vGgK0ZupYX2l257GQKkrQwFZG9+ooueWpgLmFJiT7hBY7EH inM9n6hppd7Msv+MAsJbUNvWiBUX+yIYYr/pCiiVDmz3LVOi57Hrvn7LpqKEc5Kupjre WzYA== 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 :references:to:content-language:subject:user-agent:mime-version:date :message-id:sender:dkim-signature:dkim-signature; bh=u9/LJyaqd/M4mlQ+TMFhBvZzvYBqZ2BkPjDSz2wWGv8=; b=qhVq26IU4MF1KBHzZsVz+3qIrXX8oCeDLTGFGYEDalvKbpDf5Dubf9PLnTWyWWVjyB hQr5K+6jO400JtSu44pZaO+3wAfyjQsAf/xOCfV9NHJkYWsRELrO5J4w0Bi0WNvEgcw/ +qwVP7zq7Y45jgVInZryfAFnCrt8h6rmkUbIAz9ou2BT6CfHhgDpct3l+qiH9Nm4kcdn EDOTgeirXhyiDC+KQ949WinDaj4ETUEJK+y3c8M6lxttz/Ci9B76YjwXEgc+68MkqdE7 7ZXtms453riHpUNTqwaQGaXA4q3iZfNWR0es8lKcjzVy/nyuxy3bpoqbpHx+bmM6+RxW yAqA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qKR9gjwr; spf=pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::536 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:references:to:content-language:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date; bh=u9/LJyaqd/M4mlQ+TMFhBvZzvYBqZ2BkPjDSz2wWGv8=; b=Qkwih8QrDaAHLZI1nYt3XjQ/4ZotmW+8uxYnmW72HDHXft9nePO3zOvaeF0cGelAiX no69jxPq6W91FGIcD0upZbhnUCulWJTVp3WwkI+3mbpgxOEwFQYDoG/xwRx4j1SPIC9Y iP8dHVZTQ1DbuuoqQI49mxfGpvZBydMrQUfmaDmwn5sFkzcmvWCR5MGpqMeX8MkzE+dI yrsrR3d7vEXOvTczyUBUM4LWfr0Pdnq0W3KQexq0cnVbtjKG4vC8oxqM2M8qOc97HSi2 J8a2Ek4TiXS9K33jsGGourKbiVTHADC+UIu0KQKyveXTN/buWZohs0qtWtKzOOZxulek XXmA== 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:references:to:content-language:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date; bh=u9/LJyaqd/M4mlQ+TMFhBvZzvYBqZ2BkPjDSz2wWGv8=; b=DV4XXkLrCwOOtEDV/Z+xmr0p4hD8hxHOWeLzgDD6zhC+2wcEYbzUA3gv0NSR9/ncix wuwqR7mj+oslgfJAOCGPF8PefAb7ZF4ITZlV15shNkN0I94f6Rh68X1In5dwuZTKklFU XGfM24pUL74GMfMc9ab9v9SIjr/qZS+/G5nNlgYASNlS0gRV+saSBXWzUF3SbbnqgdsF dTaJJpYpdUjSItYSq2v5qxABL3MvdhKadfx7tkZhN05KcAGWSlxbfW4d8kLv9Cc3euzU PWbs3BqmLuade7+Z499Oi3yVmMlCjYR59CB5wNIETYYiEcnM/41S1DuXAn3yUWWdlZpD Txlg== 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:references:to:content-language:subject:user-agent:mime-version :date:message-id:x-gm-message-state:sender:from:to:cc:subject:date; bh=u9/LJyaqd/M4mlQ+TMFhBvZzvYBqZ2BkPjDSz2wWGv8=; b=lkghOY8QwcoNe2nO693+qrHs4G5gFtg95fIUSliFSXoiq5oJWMENdw2GOFmwnG6GqD mPsgp9PwlCaXZ7xWo/Tb1SBsePHKzffTjMMQHOeKTYNO6IHnkaAJ1S/52yunS6LoexdW +daw+tr3E8h2ivMpZjGOXOKu6mtCKo4AADcipNMkZzsmSWBciUG/ZAAAMUXO3AjKgFNl kRz3YCaFP7gvH3Vc7boD9dXXT1MWJfWgPWUYGmJNXlgj2/f52EkIOFC3tecHYzwNB9Lm 2E/gDvBz1CKjhXOoht+YRx51DiqGk0glPXjVyBvxzID13D0N Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACgBeo0gZdX29UDAOjN7SUlrZ7eed+O1zg5KoWil2JdL6ztmcf9U8ARW YlfCmjFW8OC3tpvck+mLchE= X-Google-Smtp-Source: AA6agR7LBtGYAf8L2iihLe9bZVel6llTnLdyx+lIH6g0lcePnez8qDUOtXy7sc0gdSkYl9ARU1AjwA== X-Received: by 2002:a05:600c:474c:b0:3a7:3954:8818 with SMTP id w12-20020a05600c474c00b003a739548818mr6285956wmo.124.1663241413913; Thu, 15 Sep 2022 04:30:13 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a5d:6187:0:b0:228:c8fc:9de8 with SMTP id j7-20020a5d6187000000b00228c8fc9de8ls2263153wru.1.-pod-prod-gmail; Thu, 15 Sep 2022 04:30:09 -0700 (PDT) X-Received: by 2002:adf:d4c9:0:b0:228:de3a:220f with SMTP id w9-20020adfd4c9000000b00228de3a220fmr25362340wrk.597.1663241409257; Thu, 15 Sep 2022 04:30:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663241409; cv=none; d=google.com; s=arc-20160816; b=v4MyDv6RdOsovKIbD5A9jVZbO7HhJHgzfXVJcXA58zJ0Xrr9euU2hCfLfdKdfpS/mC pbtBkuUW45V5ZdqNbDZfRw3xsh2TiqvFPqvOdjG1NDGA08LRNVcQPTODp4mjuy9tyoTM 6TGJbiz72nW0KnvGr2TYX7ZaHlcsiYx48AicTJvlyHeRLeKZXWY6ASoDsBptjjVFyHk9 q+qRQ5k8unUd+f+hp3oKqixDrMlTv5DqQOnIn+pQe5Q27QP6h1GY+bGFvYOxYFAdAXsa T687gCuxhA4hVgho80xjqPuTjhRd0LBFzgAzbkGmINnj71L4SfrMojMN+vg9YouqJX5G Qykg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=I2ejcPf49kyJS71xbEDs6fQ62usJKHUXftY1y23HWew=; b=u8yw2k76x19ADhTwAl3g+GqLVE82tkMCGDAKmK9M3NAg0Qeg6Js3gvFkLzw9kyLuhJ lUMCICcB8akn5vBH53xMBqnZCFAZyxZ4VRGZ87w4FY4ku2cVsd/PgW1YfQi+Tu5eyLzq zUxWcKI3R8MehkyvihICHzqo2CdM+GEUSx99Kz3Dxd7eYts/rT/+HiTxTSeIPAJZUxY2 WMeDKBpBLbAgpSFlket30FQo1rIMtWKVsI2jtWphMVPUHpyPTMSmRV5OQPhqh6d1J+Nm UFzCbLrkjStBhoMEslKJN3VagZVvlEC3h63xc0BDdddbFk6dq83wKXmfDV4TNsNzDRGj osPg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qKR9gjwr; spf=pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::536 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-ed1-x536.google.com (mail-ed1-x536.google.com. [2a00:1450:4864:20::536]) by gmr-mx.google.com with ESMTPS id ay14-20020a05600c1e0e00b003a54f1563c9si66452wmb.0.2022.09.15.04.30.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Sep 2022 04:30:09 -0700 (PDT) Received-SPF: pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::536 as permitted sender) client-ip=2a00:1450:4864:20::536; Original-Received: by mail-ed1-x536.google.com with SMTP id z13so12503420edb.13 for ; Thu, 15 Sep 2022 04:30:09 -0700 (PDT) X-Received: by 2002:a05:6402:b29:b0:44e:d429:749d with SMTP id bo9-20020a0564020b2900b0044ed429749dmr34874673edb.423.1663241408660; Thu, 15 Sep 2022 04:30:08 -0700 (PDT) Original-Received: from [172.20.10.2] ([90.167.181.91]) by smtp.gmail.com with ESMTPSA id cx24-20020a05640222b800b0044ec3285b23sm11787958edb.58.2022.09.15.04.30.06 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Sep 2022 04:30:08 -0700 (PDT) Content-Language: es-ES In-Reply-To: X-Original-Sender: Sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qKR9gjwr; spf=pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::536 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:31401 Archived-At: This is a multi-part message in MIME format. --------------AmwZejpJsvNphHoLZyoeWSNO Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable Try Thorium Reader and see if it works (it renders epub file by file,=20 this might help). Pandoc doesn't split files in the epub like in the=20 source html. Pandoc first joins all source files (separated by a blank=20 line) and then creates the epub. By default it splits chapters at level=20 1 headings. If you want to make them smaller (which may help), set the=20 `--epub-chapter-level` option to the heading level you want to split=20 chapters at. If you want more complicated splitting, you'll have to use=20 calibre's ebook-convert. El 15/09/2022 a las 11:22, mr vicky escribi=C3=B3: > after change memory setting i re-run bat file and its convert epub=20 > file but that file size is 3.62 mb and it is not readable in epub=20 > reading device > i tried ebook reader pro > i tried calibre > it is just loading and nothing shows anything > > On Wed, Sep 14, 2022 at 7:38 PM Sukil Etxenike arizaleta=20 > wrote: > > Sorry for the rest of the list, I accidentally broke the chain of > messagees and two or three messages got lost (all messages are below)= . > > You have to increase your pagefile. In control panel > System > > Advanced options, there should be some way to do it. Check google > though, as I'm sure you need to access more screens than these two > to do it. > > Hth, > > Sukil > > > El 14/09/2022 a las 15:16, mr vicky escribi=C3=B3: >> i am not running any pandoc command manually >> pandoc command is already set in .bat file so i just double click >> to open this bat file >> >> On Wed, Sep 14, 2022 at 5:54 PM Sukil Etxenike arizaleta >> wrote: >> >> Can you paste the pandoc command which is run? ((Maybe >> pressing ctrl+m will help copying the output, press escape >> after copying to exit that mode). >> >> Thanks, >> >> Sukil >> >> >> El 14/09/2022 a las 14:51, mr vicky escribi=C3=B3: >>> in old bat file it was not showing pandoc running in task >>> manager then i removed first line and re-run bat file then >>> command windows read all html files and then after few >>> minutes window closed and not make epub file >>> >>> On Wed, Sep 14, 2022 at 5:41 PM Sukil Etxenike arizaleta >>> wrote: >>> >>> See if pandoc is running in task manager. If not, close >>> that window (maybe press Ctrl+C and enter first). Then, >>> delete the first line from `convert.bat` and re-run it. >>> Now, the last line shown should be the pandoc command. >>> If it's correct, wait. If not, reply again and we'll try >>> to help. >>> Thanks, >>> Sukil >>> >>> >>> El 14/09/2022 a las 14:34, mr vicky escribi=C3=B3: >>>> i copied your code and past it on notepad and then save >>>> it convert.bat >>>> i save that file in same directory where is html files are >>>> after that i open this bat file then command window >>>> open and do nothing >>>> evan i tried many time evan more than 10 minutes it is >>>> left open >>>> i am using windows 11 >>>> see screenshot >>>> >>>> On Wed, Sep 14, 2022 at 4:53 PM Sukil Etxenike >>>> arizaleta wrote: >>>> >>>> Hi, >>>> >>>> OK, this should work, I tested it and the command >>>> is correctly constructed. (Plus, no `list.txt` is >>>> required). Save this to `convert.bat`, and run it. >>>> >>>> ``` >>>> >>>> @ECHO OFF >>>> SETLOCAL EnableDelayedExpansion >>>> for %%D in (*.html) do ( >>>> set "FILES=3D!FILES! %%D" >>>> ) >>>> pandoc -o mi.epub %FILES% >>>> ``` >>>> >>>> The issue was that I didn't remember Pandoc has no >>>> option to get files from stdin, it interprts its >>>> stdin always as file contents. >>>> >>>> Hth, >>>> >>>> Sukil >>>> >>>> >>>> El 14/09/2022 a las 11:27, mr vicky escribi=C3=B3: >>>>> can you please write here exact command which i >>>>> will past in cmd ? >>>>> i am trying to past your given command without >>>>> reffer list.txt and i am getting error >>>>> >>>>> On Wednesday, September 14, 2022 at 1:05:52 PM >>>>> UTC+5 suki...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: >>>>> >>>>> 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 >>>>>> 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 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 fi= le! >>>>>>> >>>>>>> Den m=C3=A5n 12 sep. 2022 20:51= mr >>>>>>> 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. 20= 22 >>>>>>> 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-pa= dded >>>>>>> format >>>>>>> and >>>>>>> then >>>>>>> glob >>>>>>> them. >>>>>>> >>>>>>> Den >>>>>>> m=C3=A5= n >>>>>>> 12 >>>>>>> sep. >>>>>>> 2022 >>>>>>> 16:49mr >>>>>>> vicky >>>>>>> >>>>>>> skrev: >>>>>>> >>>>>>> i >>>>>>> hav= e >>>>>>> mor= e >>>>>>> tha= n >>>>>>> 100 >>>>>>> htm= l >>>>>>> fil= es >>>>>>> eva= n >>>>>>> mor= e >>>>>>> tha= n >>>>>>> 400 >>>>>>> htm= l >>>>>>> fil= es >>>>>>> and >>>>>>> my >>>>>>> all >>>>>>> fil= es >>>>>>> nam= e >>>>>>> are >>>>>>> lik= e >>>>>>> thi= s >>>>>>> 1.h= tml, >>>>>>> 2.h= tml >>>>>>> 3.h= tml >>>>>>> 4.h= tml >>>>>>> so >>>>>>> i >>>>>>> can >>>>>>> con= vert >>>>>>> the= m >>>>>>> all >>>>>>> in >>>>>>> sin= gle >>>>>>> epu= b >>>>>>> ? >>>>>>> and >>>>>>> i >>>>>>> nee= d >>>>>>> to >>>>>>> wri= te >>>>>>> all >>>>>>> fil= e >>>>>>> nam= es >>>>>>> in >>>>>>> com= mand >>>>>>> ? >>>>>>> On >>>>>>> Fri= day, >>>>>>> Sep= tember >>>>>>> 9, >>>>>>> 202= 2 >>>>>>> at >>>>>>> 6:0= 1:30 >>>>>>> PM >>>>>>> UTC= +5 >>>>>>> BPJ >>>>>>> wro= te: >>>>>>> >>>>>>> = 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 >>>>>>> >>>>>>> = -- >>>>>>> >>>>>>> = 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-b0= b6-732e8b5e9a5fn%40googlegroups.com >>>>>>> = . >>>>>>> >>>>>>> --= =20 >>>>>>> You >>>>>>> rec= eived >>>>>>> thi= s >>>>>>> mes= sage >>>>>>> bec= ause >>>>>>> you >>>>>>> are >>>>>>> sub= scribed >>>>>>> to >>>>>>> the >>>>>>> Goo= gle >>>>>>> Gro= ups >>>>>>> "pa= ndoc-discuss" >>>>>>> gro= up. >>>>>>> >>>>>>> To >>>>>>> uns= ubscribe >>>>>>> fro= m >>>>>>> thi= s >>>>>>> gro= up >>>>>>> and >>>>>>> sto= p >>>>>>> rec= eiving >>>>>>> ema= ils >>>>>>> fro= m >>>>>>> it, >>>>>>> sen= d >>>>>>> an >>>>>>> ema= il >>>>>>> to >>>>>>> pan= doc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>>> To >>>>>>> vie= w >>>>>>> thi= s >>>>>>> dis= cussion >>>>>>> on >>>>>>> the >>>>>>> web >>>>>>> vis= it >>>>>>> htt= ps://groups.google.com/d/msgid/pandoc-discuss/2ec806d1-af88-4023-9d8b-fb285= 2935dfen%40googlegroups.com >>>>>>> . >>>>>>> >>>>>>> --=20 >>>>>>> You >>>>>>> receive= d >>>>>>> this >>>>>>> message >>>>>>> because >>>>>>> you >>>>>>> are >>>>>>> subscri= bed >>>>>>> to >>>>>>> the >>>>>>> Google >>>>>>> Groups >>>>>>> "pandoc= -discuss" >>>>>>> group. >>>>>>> To >>>>>>> unsubsc= ribe >>>>>>> from >>>>>>> this >>>>>>> group >>>>>>> and >>>>>>> stop >>>>>>> receivi= ng >>>>>>> emails >>>>>>> from >>>>>>> it, >>>>>>> send >>>>>>> an >>>>>>> email >>>>>>> to >>>>>>> pandoc-= discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>>> To >>>>>>> view >>>>>>> this >>>>>>> discuss= ion >>>>>>> on >>>>>>> the >>>>>>> web >>>>>>> visit >>>>>>> https:/= /groups.google.com/d/msgid/pandoc-discuss/CADAJKhD84_%3DTbfO2hSQHpAnF3mbdTY= c2fEG2CyumCPw9qC9Rsw%40mail.gmail.com >>>>>>> . >>>>>>> >>>>>>> --=20 >>>>>>> You >>>>>>> received >>>>>>> this >>>>>>> message >>>>>>> because >>>>>>> you are >>>>>>> subscribed >>>>>>> to the >>>>>>> Google >>>>>>> Groups >>>>>>> "pandoc-dis= cuss" >>>>>>> group. >>>>>>> To >>>>>>> unsubscribe >>>>>>> from >>>>>>> this >>>>>>> group >>>>>>> and stop >>>>>>> receiving >>>>>>> emails >>>>>>> from it, >>>>>>> send an >>>>>>> email to >>>>>>> pandoc-disc= us...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>>> >>>>>>> To view >>>>>>> this >>>>>>> discussion >>>>>>> on the >>>>>>> web >>>>>>> visit >>>>>>> https://gro= ups.google.com/d/msgid/pandoc-discuss/CAH8MJH_e67u4YMwCEYpeBfDY09jDCvfduubL= kRdRKRLqh8hbAg%40mail.gmail.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..= .@googlegroups.com. >>>>>>> To view this >>>>>>> discussion >>>>>>> on the web >>>>>>> visit >>>>>>> https://groups.= google.com/d/msgid/pandoc-discuss/CADAJKhBme1EvsD6Lb0wYmBwx47AsPhpvu1Xp-ic1= 2pnB_qM0GQ%40mail.gmail.com >>>>>>> . >>>>>>> >>>>>>> --=20 >>>>>>> You received >>>>>>> this message >>>>>>> because you are >>>>>>> subscribed to >>>>>>> the Google >>>>>>> Groups >>>>>>> "pandoc-discuss" >>>>>>> group. >>>>>>> To unsubscribe >>>>>>> from this group >>>>>>> and stop >>>>>>> receiving emails >>>>>>> from it, send an >>>>>>> email to >>>>>>> pandoc-discus...@go= oglegroups.com. >>>>>>> >>>>>>> To view this >>>>>>> discussion on >>>>>>> the web visit >>>>>>> https://groups.goog= le.com/d/msgid/pandoc-discuss/CAH8MJH9mZCoj2gkgBSfO-PAc4ptwjBPj%2BnuHxVppG%= 3DRC7jGi9g%40mail.gmail.com >>>>>>> . >>>>>>> >>>>>>> --=20 >>>>>>> You received this >>>>>>> message because you >>>>>>> are subscribed to >>>>>>> the Google Groups >>>>>>> "pandoc-discuss" group. >>>>>>> To unsubscribe from >>>>>>> this group and stop >>>>>>> receiving emails >>>>>>> from it, send an >>>>>>> email to >>>>>>> pandoc-discus...@google= groups.com. >>>>>>> To view this >>>>>>> discussion on the >>>>>>> web visit >>>>>>> https://groups.google.c= om/d/msgid/pandoc-discuss/CADAJKhDaM033xRTbA%3DQ_TGHnOhCpS2-o0Fck8sDYZr3CfK= SPhQ%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...@googlegrou= ps.com. >>>>>>> >>>>>>> To view this discussion >>>>>>> on the web visit >>>>>>> https://groups.google.com/d= /msgid/pandoc-discuss/CAH8MJH8Kwyj4wa-%2Bfn8wN-H5%3DE%2B6Ut7UROiMWvu%3Dpfhe= pTgAGQ%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/pando= c-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 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-di= scuss/CADAJKhA1fgDgmVUVoAkzQDSqKm8e2Ytd%3DgNku%2B3tL8KXwTBtyA%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= /4af1b08a-856b-43de-b473-476680e4236dn%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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/pandoc-discuss/7e38= 8223-7e02-419c-960d-429c29287cb6n%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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/pandoc-discuss/f5612= 66f-ad25-857c-73d0-f437df280970%40gmail.com >>>> . >>>> >>>> --=20 >>>> You received this message because you are subscribed to >>>> the Google Groups "pandoc-discuss" group. >>>> To unsubscribe from this group and stop receiving >>>> emails from it, send an email to >>>> pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/pandoc-discuss/CAH8MJH_4= h2KdrJ4Bn2t1U8436THyOGODYxftePpzvznjP3BeGw%40mail.gmail.com >>>> . >>> > --=20 > You received this message because you are subscribed to the Google > Groups "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, > send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/00f256e2-d010-4a6d-f= 9c4-a1b45e1400a3%40gmail.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/CAH8MJH89%2BzqPN6q2rjFNi= _TUGKW%2BhF%2BhYi%3DdzCScyJ_oRSNDmA%40mail.gmail.com=20 > . --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/dff35bdd-34a7-f1ac-d48c-f99e65483b84%40gmail.com. --------------AmwZejpJsvNphHoLZyoeWSNO Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Try Thorium Reader and see if it works (it renders epub file by file, this might help). Pandoc doesn't split files in the epub like in the source html. Pandoc first joins all source files (separated by a blank line) and then creates the epub. By default it splits chapters at level 1 headings. If you want to make them smaller (which may help), set the `--epub-chapter-level` option to the heading level you want to split chapters at. If you want more complicated splitting, you'll have to use calibre's ebook-convert.


El 15/09/2022 a las 11:22, mr vicky escribi=C3=B3:
after change memory setting i re-run bat file and its convert epub file but that file size is 3.62 mb and it is not readable in epub reading device=C2=A0
i tried ebook reader pro
i tried calibre=C2=A0
it is just loading and nothing shows anything

On Wed, Sep 14, 2022 at 7:38 PM Sukil Etxenike arizaleta <sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

Sorry for the rest of the list, I accidentally broke the chain of messagees and two or three messages got lost (all messages are below).

You have to increase your pagefile. In control panel > System > Advanced options, there should be some way to do it. Check google though, as I'm sure you need to access more screens than these two to do it.

Hth,

Sukil


El 14/09/2022 a las 15:16, mr vicky escribi=C3=B3:
i am not running any pandoc command manually=C2=A0
pandoc command is already set in .bat file so i just double click to open this bat file

On Wed, Sep 14, 2022 at 5:54 PM Sukil Etxenike arizaleta <sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

Can you paste the pandoc command which is run? ((Maybe pressing ctrl+m will help copying the output, press escape after copying to exit that mode).

Thanks,

Sukil


El 14/09/2022 a las 14:51, mr vicky escribi=C3=B3:=
in old bat file it was not showing pandoc running in task manager then i removed first line and re-run bat file then command windows read all html files and then after few minutes window closed and not make epub file

On Wed, Sep 14, 2022 at 5:41 PM Sukil Etxenike arizaleta <sukiletxe@gmail= .com> wrote:
See if pandoc is running in task manager. If not, close that window (maybe press Ctrl+C and enter first). Then, delete the first line from `convert.bat` and re-run it. Now, the last line shown should be the pandoc command. If it's correct, wait. If not, reply again and we'll try to help.
Thanks,
Sukil


El 14/09/2022 a las 14:34, mr vicky escribi=C3=B3:
i copied your code and past it on notepad and then save it convert.bat=C2=A0
i save that file in same directory where is html files are=C2=A0
after that i open this bat file then command window open and do nothing=C2=A0
evan i tried many time evan more than 10 minutes it is left open
i am using windows 11=C2=A0
see screenshot

On Wed, Sep 14, 2022 at 4:53 PM Sukil Etxenike arizaleta <sukilet= xe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

Hi,

OK, this should work, I tested it and the command is correctly constructed. (Plus, no `list.txt` is required). Save this to `convert.bat`, and run it.

```

@ECHO OFF
SETLOCAL EnableDelayedExpansion
for %%D in (*.html) do (
set "FILES=3D!FILES! %%D"
)
pandoc -o mi.epub %FILES%
```

The issue was that I didn't remember Pandoc has no option to get files from stdin, it interprts its stdin always as file contents.

Hth,

Sukil


El 14/09/2022 a las 11:27, mr vicky escribi=C3=B3:
can you please write here exact command which i will past in cmd ?
i am trying to past your given command without reffer list.txt and i am getting error

On Wednesday, September 14, 2022 at 1:05:52 PM UTC+5 suki...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:

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:
Tha= t's some cmd.exe dumbness I guess. I'm afraid I haven't used Windows for over a decade.
<= br>
D= oes anyone else know?

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


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

On Tuesday, September 13, 2022 at 6:02:54 PM UTC+5 BP wrote:
Atta= ched. 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 .
Than= k you very much for your help :)

On Mon, 12 Sep 2022 at 11:40 pm, BPJ <mel...@gmai= l.com> 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...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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

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

On Mon, 12 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 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/caf40fb8-07cf-44= a4-b0b6-732e8b5e9a5fn%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/2ec806d1-af88-40= 23-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/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...-/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-di= scuss/x3cVQPV2MWs/unsubscribe.
To unsubscribe from this group and all its topics, 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/CADAJKhBme1EvsD6= Lb0wYmBwx47AsPhpvu1Xp-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...-/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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhDaM033xRT= bA%3DQ_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...-/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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit http= s://groups.google.com/d/msgid/pandoc-discuss/1d652de4-3624-46a1-a671-cc73ce= 6417d4n%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.
--
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 pa= ndoc-discus...-/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 pan= doc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://gr= oups.google.com/d/msgid/pandoc-discuss/7e388223-7e02-419c-960d-429c29287cb6= n%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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups= .google.com/d/msgid/pandoc-discuss/f561266f-ad25-857c-73d0-f437df280970%40g= mail.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-disc= uss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit = https://groups.google.com/d/msgid/pandoc-discuss/CAH8MJH_4h2KdrJ4Bn2t1U8436= THyOGODYxftePpzvznjP3BeGw%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@goog= legroups.com.
To view this discussion on the web visit https://groups.googl= e.com/d/msgid/pandoc-discuss/00f256e2-d010-4a6d-f9c4-a1b45e1400a3%40gmail.c= om.
--
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/CAH8MJH89%2BzqPN6q2rjFNi_TUGKW%2BhF%2BhYi%3DdzCScyJ_oRSNDmA%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 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/dff35bdd-34a7-f1ac-d48c-f99e65483b84%40gmail.com.
--------------AmwZejpJsvNphHoLZyoeWSNO--