Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

writer for AZW3 (Kindle native format) #1865

Open
ousia opened this issue Jan 9, 2015 · 5 comments
Open

writer for AZW3 (Kindle native format) #1865

ousia opened this issue Jan 9, 2015 · 5 comments

Comments

@ousia
Copy link
Contributor

ousia commented Jan 9, 2015

@jgm, I wonder whether a writer for the Kindle native format could be added to issue #1852.

@jgm
Copy link
Owner

jgm commented Jan 9, 2015

I hadn't heard of that. Nice idea. As far as I can see, it's not too
different from EPUB. For reference:
http://kindlegen.s3.amazonaws.com/AmazonKindlePublishingGuidelines.pdf

I don't see myself getting to this in the near future, but someone else
might want to take on the project, starting with a refactoring of the
EPUB writer code to make it more modular, so we can re-use common bits.

@cmal
Copy link

cmal commented Apr 2, 2018

looking forward to this

@lachrimae
Copy link

Hey, I intend to start work on this and I haven't contributed before. What documentation would be key for understanding the interface the writer will have to implement? What are the most important modules it will interact with? I'm going to model the AZW3 writer off of the EPUB writer, so some things will be obvious, but any advice would be appreciated as well.

@mb21
Copy link
Collaborator

mb21 commented Jul 25, 2018

The EPUB writer is somewhat special in that it basically calls the HTML writer and does some pre- and post-processing and then zips everything. If EPUB and AZW3 are very, very similar, it might even make sense to implement azw3 as an extension to the EPUB writer.

Personally, I would probably convert to epub and then use calibre of KindleGen to go to AZW3, instead of writing a pandoc writer, but maybe there are use-cases which I'm not considering...

@jgm
Copy link
Owner

jgm commented Jul 25, 2018 via email

jdonszelmann added a commit to jdonszelmann/pandoc that referenced this issue Mar 28, 2022
After a comment by JGM (jgm#1865 (comment))
we refactored EPUB.hs to make it more readable. More refactoring may be necessary, but
this is probably a nice first step.

Co-authored-by: Ola Wolska <A.k.wolska@student.tudelft.nl@gmail.com>
Co-authored-by: Jonathan Dönszelmann <jonabent@gmail.com>
Co-authored-by: Jaap de Jong <jaapdejong15@gmail.com>
jdonszelmann pushed a commit to jdonszelmann/pandoc that referenced this issue Mar 28, 2022
After a comment by JGM (jgm#1865 (comment))
we refactored EPUB.hs to make it more readable. More refactoring may be necessary, but
this is probably a nice first step.

Co-authored-by: Ola Wolska <A.k.wolska@student.tudelft.nl@gmail.com>
Co-authored-by: Ivar de Bruin <ivardb@gmail.com>
Co-authored-by: Jaap de Jong <jaapdejong15@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants