Matěj Cepl
2014-05-17 11:35:59 UTC
Hi,
I am trying to reformat the book âThe Everlasting Manâ by Gilbert Keith
Chesterton. I found a public domain text on
http://gutenberg.net.au/ebooks01/0100311.txt and I would like to
reformat it into rST and regenerate as ePub with pandoc (or perhaps even
https://pypi.python.org/pypi/epubmaker/). The rST file I have created is
http://mcepl.fedorapeople.org/tmp/everlasting-man.rst
The problem is that the ePub I have created
(http://mcepl.fedorapeople.org/tmp/everlasting-man.epub) has completely
wrong structure. I cannot change the fact that Chesterton (or the
publisher, more likely) decided that the Introduction (level 2 heading)
precedes The Part I. (level 1 heading). See the attached screenshot of
the outline how it is wrong.
Is there way how to persuade pandoc (or other rST tools) that what I
want to be the level 2 heading (marked by single dashes underlining) is
really that, and that level 1 heading is marked by by both underlining
and overlining?
Thank you,
MatÄj
--
http://www.ceplovi.cz/matej/, Jabber: ***@ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
..every Man has a Property in his own Person. This no Body has
any Right to but himself. The Labour of his Body, and the Work of
his Hands, we may say, are properly his. .... The great and chief
end therefore, of Mens uniting into Commonwealths, and putting
themselves under Government, is the Preservation of their
Property.
-- John Locke, "A Treatise Concerning Civil Government"
I am trying to reformat the book âThe Everlasting Manâ by Gilbert Keith
Chesterton. I found a public domain text on
http://gutenberg.net.au/ebooks01/0100311.txt and I would like to
reformat it into rST and regenerate as ePub with pandoc (or perhaps even
https://pypi.python.org/pypi/epubmaker/). The rST file I have created is
http://mcepl.fedorapeople.org/tmp/everlasting-man.rst
The problem is that the ePub I have created
(http://mcepl.fedorapeople.org/tmp/everlasting-man.epub) has completely
wrong structure. I cannot change the fact that Chesterton (or the
publisher, more likely) decided that the Introduction (level 2 heading)
precedes The Part I. (level 1 heading). See the attached screenshot of
the outline how it is wrong.
Is there way how to persuade pandoc (or other rST tools) that what I
want to be the level 2 heading (marked by single dashes underlining) is
really that, and that level 1 heading is marked by by both underlining
and overlining?
Thank you,
MatÄj
--
http://www.ceplovi.cz/matej/, Jabber: ***@ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
..every Man has a Property in his own Person. This no Body has
any Right to but himself. The Labour of his Body, and the Work of
his Hands, we may say, are properly his. .... The great and chief
end therefore, of Mens uniting into Commonwealths, and putting
themselves under Government, is the Preservation of their
Property.
-- John Locke, "A Treatise Concerning Civil Government"