diff options
| author | John MacFarlane <fiddlosopher@gmail.com> | 2013-01-05 11:34:23 -0800 |
|---|---|---|
| committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-01-05 11:36:55 -0800 |
| commit | 7c10e579976a3016d86b613cf4f8b25e3c01a7da (patch) | |
| tree | 0883efa6d3ddc4b1a53070166cd9a5da31badb97 /src/Text/Pandoc/Writers | |
| parent | 91e8d80eee405e4bbb40bf247724b453187619f9 (diff) | |
| download | pandoc-7c10e579976a3016d86b613cf4f8b25e3c01a7da.tar.gz | |
Changed `--epub-toc-level` to `--toc-level`.
Also writerEpubTOCLevel -> writerTOCLevel.
So far this is only implemented in the EPUB writer.
Diffstat (limited to 'src/Text/Pandoc/Writers')
| -rw-r--r-- | src/Text/Pandoc/Writers/EPUB.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/EPUB.hs b/src/Text/Pandoc/Writers/EPUB.hs index a33428c71..9e97effeb 100644 --- a/src/Text/Pandoc/Writers/EPUB.hs +++ b/src/Text/Pandoc/Writers/EPUB.hs @@ -229,7 +229,7 @@ writeEPUB version opts doc@(Pandoc meta _) = do -- toc.ncx let secs = hierarchicalize blocks'' - let tocLevel = writerEpubTOCLevel opts + let tocLevel = writerTOCLevel opts let navPointNode :: (Int -> String -> String -> [Element] -> Element) -> Shared.Element -> State Int Element |
