public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* how do files and pagebreaks work?
@ 2022-12-08  8:25 Gary Glass
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Glass @ 2022-12-08  8:25 UTC (permalink / raw)
  To: pandoc-discuss


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

I'm converting from markdown to epub. I'm trying to understand how Pandoc 
decides when to make a pagebreak. Here's the bit that has me confused:

I had a large markdown file, that I broke up into 5 smaller files. There is 
one h3 header and 10 h4 headers. What I expected was that in the epub 
either the different source files or the different header sections would be 
emitted as separate xhtml files. What I have tho is that all 5 files are 
combined into one xhtml. I made a test doc with the same structure and got 
separate files for each header section. I can't figure out why I get 
different results. Any ideas what I could look for?

The 5 files look like this:

1. file 1

```md
### h3 header

text

#### h4 header 1

text

#### h4 header 2

text
```

2. file 2

```md
#### h4 header 3

text

#### h4 header 4

text
```

3. file 3

```md
#### h4 header 5

text

#### h4 header 6

text
```

4. file 4

```md
#### h4 header 7

text

#### h4 header 8

text
```

5. file 5

```md
#### h4 header 9

text

#### h4 header 10

text
```

-- 
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/71510975-b54d-4634-b1f4-7ff7f3b75512n%40googlegroups.com.

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

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

* how do files and pagebreaks work?
@ 2022-12-08  8:28 Gary Glass
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Glass @ 2022-12-08  8:28 UTC (permalink / raw)
  To: pandoc-discuss


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

I'm converting from markdown to epub. I'm trying to understand how Pandoc 
decides when to make a pagebreak. Here's the bit that has me confused:

I had a large markdown file, that I broke up into 5 smaller files. There is 
one h3 header and 10 h4 headers. What I expected was that in the epub 
either the different source files or the different header sections would be 
emitted as separate xhtml files. What I have tho is that all 5 files are 
combined into one xhtml. I made a test doc with the same structure and got 
separate files for each header section. I can't figure out why I get 
different results. Any ideas what I could look for?

The 5 files look like this:

1. file 1

    ### h3 header

    text

    #### h4 header 1

    text

    #### h4 header 2

    text

2. file 2

    #### h4 header 3

    text

    #### h4 header 4

    text

3. file 3

    #### h4 header 5

    text

    #### h4 header 6

    text

4. file 4

    #### h4 header 7

    text

    #### h4 header 8

    text

5. file 5

    #### h4 header 9

    text

    #### h4 header 10

    text

-- 
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/9a572064-0b5a-4cc0-8eb7-493feade9106n%40googlegroups.com.

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

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

end of thread, other threads:[~2022-12-08  8:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-08  8:25 how do files and pagebreaks work? Gary Glass
2022-12-08  8:28 Gary Glass

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