Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Publication Station
Search
Editing
Courses/Wikis-Publishing Platforms
(section)
From Publication Station
Namespaces
Page
Discussion
More
More
Page actions
Read
Edit
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Pandoc conversions: wiki to EPUB== It is also possible to use Pandoc to produce an EPUB from a single <pre>.wiki</pre> file, or any other markup accepted by Pandoc. A few extra resources, such the cover image, metadata, and stylesheet should be included, as they strongly influence the EPUB's outcome. pandoc --from wiki --to epub3 --self-contained --epub-chapter-level=1 --epub-stylesheet=styles.epub.css --epub-cover-image=cover.jpg --epub-metadata=metadata.xml --toc-depth=1 --output=book.epub book.wiki New options: * '''--epub-chapter-level=1''' - at what titles' level chapters occur: heading 1 * '''--epub-stylesheet=styles.epub.css''' - css style sheet for epub * '''--epub-cover-image=cover.jpg''' - epub cover image * '''--epub-metadata=metadata.xml''' - * '''--toc-depth=1''' Example of metadata.xml <source lang="xml"> <dc:title id="epub-title-1">MAIN TITLE</dc:title> <meta refines="#epub-title-1" property="title-type">main</meta> <dc:publisher>Your Publisher</dc:publisher> <dc:date id="epub-date">2015</dc:date> <dc:language>en-US</dc:language> <dc:creator id="epub-creator-0">AUTHOR'S NAME</dc:creator> <meta refines="#epub-creator-0" property="role" scheme="marc:relators">aut</meta> <dc:contributor id="epub-contributor-1">EDITOR'S NAME</dc:contributor> <meta refines="#epub-contributor-1" property="role" scheme="marc:relators">edt</meta> <dc:contributor id="epub-contributor-5">DESIGNER'S NAME</dc:contributor> <meta refines="#epub-contributor-5" property="role" scheme="marc:relators">dsr</meta> <dc:subject>TAGS, SEPARATED BY, COMAS</dc:subject> <dc:description>PUBLICATION SYNOPSIS</dc:description> </source>
Summary:
Please note that all contributions to Publication Station are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Publication Station:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation
Main navigation
Main page
Printmaking Studio
Print Studio
Dig. Publishing Studio
Namespaces
Grafiwiki
Random Page
Log in
Wiki tools
Wiki tools
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs