public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Multiple HTML files (split at H1 or H2 level) from one source?
@ 2019-04-13 22:24 Martin Post
       [not found] ` <caeb876c-6393-45d6-92b5-e7f3bee17f49-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: Martin Post @ 2019-04-13 22:24 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1194 bytes --]


Hello.

I’d like to write a long-form, structured document using (Pandoc’s) 
Markdown and then create chapter-sized HTML files from it, with the file 
names derived from h1 or h2 heading IDs.

I understand that Pandoc will always emit _one__ target document, so I 
guess I’d either need to split my Markdown master file first or the target 
HTML file using some third-party tool.

And there’s the bonus problem of breaking in-document links: 
[link](#anchor_2) in chapter 1 would have to become 
[link](chapter_2.htm#anchor_2).

I’d be grateful for suggestions on how to do this. Thanks.

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/caeb876c-6393-45d6-92b5-e7f3bee17f49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1717 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-04-20  9:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-13 22:24 Multiple HTML files (split at H1 or H2 level) from one source? Martin Post
     [not found] ` <caeb876c-6393-45d6-92b5-e7f3bee17f49-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-04-14  9:59   ` Albert Krewinkel
     [not found]     ` <87o958c3fm.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2019-04-14 19:54       ` Martin Post
2019-04-15 15:44   ` John MacFarlane
     [not found]     ` <m21s232ryh.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-04-15 15:55       ` Alexander Krotov
     [not found]         ` <319987c6-f761-841f-3c98-47f56b0993cb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2019-04-15 15:58           ` John MacFarlane
     [not found]             ` <m2pnpn1crg.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-04-16 20:44               ` Martin Post
     [not found]                 ` <5749e9e9-205c-4b67-9dd1-f5e37d4d891f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-04-17  4:39                   ` John MacFarlane
     [not found]                     ` <m28sw91bzj.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-04-17  8:28                       ` Martin Post
2019-04-18 15:54                   ` BP Jonsson
     [not found]                     ` <a5eac512-0951-2b0c-c2fc-a9239bc3c553-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2019-04-20  9:18                       ` Martin Post
2019-04-19 20:05                   ` John Gabriele
     [not found]                     ` <3bcc67bf-59a4-49ad-9a0a-ec5e6a39f7b3-jFIJ+Wc5/Vo7lZ9V/NTDHw@public.gmane.org>
2019-04-20  9:46                       ` Martin Post

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).