* From pub to markdown multiple files
@ 2020-08-28 18:16 Massimo Coletti
[not found] ` <f5bdaa89-602e-4d1c-bb47-4c9a5cf50b19n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Massimo Coletti @ 2020-08-28 18:16 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 587 bytes --]
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.
[-- Attachment #1.2: Type: text/html, Size: 890 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: From pub to markdown multiple files
[not found] ` <f5bdaa89-602e-4d1c-bb47-4c9a5cf50b19n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-08-28 19:08 ` John MacFarlane
[not found] ` <m2v9h2r3l5.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2020-08-28 19:08 UTC (permalink / raw)
To: Massimo Coletti, pandoc-discuss
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 <massimo.coletti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: From pub to markdown multiple files
[not found] ` <m2v9h2r3l5.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
@ 2020-08-28 20:42 ` Massimo Coletti
0 siblings, 0 replies; 3+ messages in thread
From: Massimo Coletti @ 2020-08-28 20:42 UTC (permalink / raw)
To: John MacFarlane; +Cc: pandoc-discuss
[-- Attachment #1: Type: text/plain, Size: 1454 bytes --]
Thanks! I will try this.
Il Ven 28 Ago 2020, 21:08 John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> 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 <massimo.coletti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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.
[-- Attachment #2: Type: text/html, Size: 2510 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-08-28 20:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-28 18:16 From pub to markdown multiple files Massimo Coletti
[not found] ` <f5bdaa89-602e-4d1c-bb47-4c9a5cf50b19n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-08-28 19:08 ` John MacFarlane
[not found] ` <m2v9h2r3l5.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2020-08-28 20:42 ` Massimo Coletti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).