From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/26015 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Massimo Coletti Newsgroups: gmane.text.pandoc Subject: Re: From pub to markdown multiple files Date: Fri, 28 Aug 2020 22:42:16 +0200 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000064c43205adf61787" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3923"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pandoc-discuss To: John MacFarlane Original-X-From: pandoc-discuss+bncBD4KT4XYVQNBBNWYUX5AKGQEHWFBSCY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Aug 28 22:42:35 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f63.google.com ([209.85.128.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kBlCj-0000vM-Ui for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 28 Aug 2020 22:42:33 +0200 Original-Received: by mail-wm1-f63.google.com with SMTP id 198sf153414wmb.7 for ; Fri, 28 Aug 2020 13:42:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1598647353; cv=pass; d=google.com; s=arc-20160816; b=qxkHFAGxR9CfNb4cFoFLtUn+MNvID8/HB6NlmLGSX6tzBbnxIYIHW8QHQebUQzoFwW D7ucUJ+OvB9d5+XVu1+lRoL7mYm5Q9+cGGS51SGs6URZQcA+Iu4zQOshHOGb1l6IE0nc 7REZ5pySbvrwut7ErWn2IJ7zQaxcn3D+f2rwKvlzpW9RXcCD48bJb92BVQnTN0lspcxm wW7TD6T/JPpfGHn689o662xsenxYfNoAsr2dTO7rddbKcQNlHlM908JUjYfvAHiJQXX0 IftuA7IRuQnj+LEVhWLbzBm0+N+Ss6Sr+aXavEKAeSQjd9GOEDyreey3xfwBOesjjdXX CsnQ== 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:cc:to:subject:message-id :date:from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=N7hswAX3Gvwnl00EcZRSoZXHln8vn9mHSn/sgStQZZY=; b=NaLVYHMXOoVGL/OVMPn3Bgu6elvzC/p84D7Rx4YNB3z4RBArGZYKe/i14cYVppGGGS Km7Ou7LqkdYrUMZ2P+YgtS4wuPJXSuHMsitHSIPEBEZNLToXjUYb+icRmaf/GtaQYcjN Yw5gmOxYSY1PnRpsxclI2tK5KeH9j9F5LxMVbGgMkt/A0I8tTY7apROYcza32jypFW9o C3YJgJ+mYkCymVXHgviATWYfuMCkcoXGMK7KdsSuoM/PoAxu/sjm4r+j3oR7iYjPickH J0xRIQYEY0SQbjs6C+ypJNALl1EEE8kfyXmisx3F0/xpcfZNekR25WY021gVPv5uADB6 Weig== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cMfxhqVU; spf=pass (google.com: domain of massimo.coletti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::22a as permitted sender) smtp.mailfrom=massimo.coletti-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=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to:cc:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=N7hswAX3Gvwnl00EcZRSoZXHln8vn9mHSn/sgStQZZY=; b=hW/zVmcDk7EKkyXmJHLJlTvweBI8AARsT4Grn04xIEbg8aa8q1MSRIcN+04UUYDOmZ +pyq70P49UbyM9OXFZJwwmC8J52ZMdd5vXs055Zd0TuOKaJJ3mkC+p5uo664Eo93ypdK ZhcWrJ2AjrnsaW8zei6LG7RMbqQM71U5AmtS/nM3m3ejJ89DzIn6UORzJdL5NB62JyxG YQEFqk7aa/cPSHHMFsMs2ZGVwWH2hhNv/vmkmE3lMqmAIEY2esaXa5jw7JDZWGlB719x oqgldEqJoXs2Qaard71Nlr8bvDJ0SF+gpo1hwu9RYlGWI3nQETBhASFVVUTZCXnAQZmo orBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=N7hswAX3Gvwnl00EcZRSoZXHln8vn9mHSn/sgStQZZY=; b=n+HInllehszSUVgkOUW8xkO/NiDnhvydcdPgB67Xib35p/LYvQOM5P+oB+aQ+Au/X/ JRlFtpTcz1OqYs6NeI2YTDM1SPP+U0tCdwkbaPrQWvzvokL5xHIfZNd79eF38/dbr0wn U38BQzpdkVTUTGH4O3F9vVWyIyb46Uhwbd3r/D3NQcCBuBkvQwzsHlvHFAPUamHIbcmW TfNdc0bEBbJjeoZTYYV6E5+ZdwNMXiQDhJMqHe8DMc+/2ktU3GD4SH33gTTYK7MRH1vi Tka40Ua0pSwHdaYVXJBGMBBb3LYKZiPOdciz52IMoRui4IAgpT78FQCY2NDwG/Acw+t2 VLYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to:cc:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=N7hswAX3Gvwnl00EcZRSoZXHln8vn9mHSn/sgStQZZY=; b=qw9FbneAJ4aFh55pLZSaILUPWvp1CY+jwBRTu6djgFiEVKErjwEE+Mrjz63jKjdg4r aHh0t1yhnm6w2S9EKMB6+ZgEJi0Gtpl4oYXDM0SAXrQoZQz5XTH0jGE+TOxmUieCR3tt 0I38UzRsBlRs5aJDO2XAGQtSt3Zyew04OXGgr+N7YzgiJeNaO0C3ZADneGxQkshaV6uc S8K9Yk7P7VYOzT6Mks1E3Csq0PYosDwLWSVpK09tslwsyZphVlgHW3+3DL/J3W3zGIRp XQj6w/reUgTR0WCnudKJuByXakhZObrsAKNo4kmt48JXNVe6+H8KBWKp1Bq3JLsVDRAZ 6CmQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532wAONNv+B3exFEBsrZeL1mpdHT2NmQPrsvaELaRJB4r2yzXSQq wKLKOGS532wgUHYkUIFYy8w= X-Google-Smtp-Source: ABdhPJy5NsgP3fK1RacL4bAqeUKoxW899ZxqHx+ieblrTOLomOfhZ+OkTMtGbMyMDEObTEJQnNXpSg== X-Received: by 2002:a1c:5a87:: with SMTP id o129mr402529wmb.145.1598647353300; Fri, 28 Aug 2020 13:42:33 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a5d:6592:: with SMTP id q18ls433590wru.0.gmail; Fri, 28 Aug 2020 13:42:30 -0700 (PDT) X-Received: by 2002:adf:8291:: with SMTP id 17mr665135wrc.251.1598647349952; Fri, 28 Aug 2020 13:42:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598647349; cv=none; d=google.com; s=arc-20160816; b=mgP578erTzwC2beUe/eZHHHLrOk7Fd3ATWOrecAV5nQcbBxwXePQ0r6UeEhT2yip3c yJ7edpfGx8jkNUfZ0BG0aXTb/I3PqJKw5TfcFubb29TDO1snKtiHGrlXI+VakZEjlelo qizrpuhcZrYBok1dy52s5zee0eFY4KVkxUCAyfH+itV37bqAJm4p4S4I1LRCMte/L1aL zCs3TEEDzvF8O0kjK7SqsrpqHikCNCWHht82O0e/ZjSRFSkMs59f4DbryXjiY4Xo08tP s0wyvV5dCGvSgV1hT5FVaO4VbEcc+PIQmZrWckKNJDEsA6oESjW29r5t0B1ytHMO62Yk cZIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=n+3yM9FX6Ug4amRk7PyVCUN9g9TwkYP89Ao7QTpv1DQ=; b=gwdb0gPsnrgNEm2yhosuzzuJ0ZAY37kmDdL2itY6CqxTeaGrrAIAxNx1N6B2PqqON1 fTKtztX6rbv+3bWk6ayvwNzfw8GtnggC+G/a8d9cOVZvXet/DX0bnJJ+SkZw7U8iGWum ioSyUfPRVbbW404w5gh3JZ4cIL50cat44H1TNJSoK6rd878M1jN5v2T/R6WvIaEPtxj/ f1zRbzUbyFb6PhLFdLAhMXmP1pyprlhdrx243BPe5PZqCYqiqEhKZJJL563D2uw9+yi1 F5k4v8AwtUn2+SrIVxz2umJXLFpEsEBguU+OCuvyA5hBAQx6T8M0SkOzk7QvsQWXVaXd uQeg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cMfxhqVU; spf=pass (google.com: domain of massimo.coletti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::22a as permitted sender) smtp.mailfrom=massimo.coletti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com. [2a00:1450:4864:20::22a]) by gmr-mx.google.com with ESMTPS id n67si19049wme.2.2020.08.28.13.42.29 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Aug 2020 13:42:29 -0700 (PDT) Received-SPF: pass (google.com: domain of massimo.coletti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::22a as permitted sender) client-ip=2a00:1450:4864:20::22a; Original-Received: by mail-lj1-x22a.google.com with SMTP id w25so249010ljo.12 for ; Fri, 28 Aug 2020 13:42:29 -0700 (PDT) X-Received: by 2002:a05:651c:1069:: with SMTP id y9mr254708ljm.438.1598647349591; Fri, 28 Aug 2020 13:42:29 -0700 (PDT) In-Reply-To: X-Original-Sender: massimo.coletti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cMfxhqVU; spf=pass (google.com: domain of massimo.coletti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::22a as permitted sender) smtp.mailfrom=massimo.coletti-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:26015 Archived-At: --00000000000064c43205adf61787 Content-Type: text/plain; charset="UTF-8" Thanks! I will try this. Il Ven 28 Ago 2020, 21:08 John MacFarlane ha scritto: > > Not automatically. But you can always do something like > > unzip -d my.epub > for x in $(find my -name '*.xhtml'); do pandoc -s $x -o ${$(basename > $x)%.xhtml}.md; done > > > Massimo Coletti writes: > > > Hi, I am a new user of panda: it is possible to convert an ePub file to > > markdown, obtaining multiple output files (one for each xhtml file in > the > > source pub)? > > Thanks > > Massimo > > > > -- > > 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/f5bdaa89-602e-4d1c-bb47-4c9a5cf50b19n%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/CADQwDRyYoMj-zw6dp3%2BrEkWxcT8VzEhUDdPpVmOWwRTjYV0prA%40mail.gmail.com. --00000000000064c43205adf61787 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks! I will try this.=C2=A0

Il Ven 28 Ago 2020, 21:08 J= ohn MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org= > ha scritto:

Not automatically.=C2=A0 But you can always do something like

unzip -d my.epub
for x in $(find my -name '*.xhtml'); do pandoc -s $x -o ${$(basenam= e $x)%.xhtml}.md; done


Massimo Coletti <massimo.coletti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Hi, I am a new user of panda: it is possible to convert an ePub file t= o
> markdown, obtaining multiple output files (one for each xhtml file in = the
> source pub)?
> Thanks
> Massimo
>
> --
> You received this message because you are subscribed to the Google Gro= ups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send= an email to pandoc-discuss+unsubscribe@googlegr= oups.com.
> To view this discussion on the web visit https://group= s.google.com/d/msgid/pandoc-discuss/f5bdaa89-602e-4d1c-bb47-4c9a5cf50b19n%4= 0googlegroups.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://group= s.google.com/d/msgid/pandoc-discuss/CADQwDRyYoMj-zw6dp3%2BrEkWxcT8VzEhUDdPp= VmOWwRTjYV0prA%40mail.gmail.com.
--00000000000064c43205adf61787--