earlyprint / earlyprint.github.io

Homepage for the EarlyPrint Project: Curating and Exploring Early Printed English
https://earlyprint.org/
2 stars 2 forks source link

Create workflow for standalone epub and pdf generation from TEI texts. #6

Closed pibburns closed 1 year ago

pibburns commented 4 years ago

We want to pregenerate epubs and PDFs from the EarlyPrint TEI files so that these do not need to be generated on the fly.

The standard TEI consortium scripts for generating epubs from TEI files work well enough. Their output is not as attractive as that produced by our code within eXist. We can probably improve the appearance.

The free Calibre suite now does a good job of converting epubs to pdf files. Calibre is a free program and works on Windows, Linux,and Mac OSX. Calibre can also generate other formats such as kindle, although if we decide to generate kindle versions, the standard (free) Amazon software is probably a better choice.

Pregenerating the ebook versions of the texts obviates the need for repeated on-demand generation of such versions. We will want to create both original and standardized spelling versions, as we currently provide now. We also want to update the ebooks whenever the TEI versions of the EarlyPrint texts change.

martinmueller39 commented 4 years ago

Would it make sense to make sample versions of half a dozen different files and run them by our Early Modernists to see what they like or don’t like?

Related to this issue is pdfs of standard spellings, which some user might like.

From: pibburns notifications@github.com Reply-To: "earlyprint/earlyprint.github.io" reply@reply.github.com Date: Saturday, October 12, 2019 at 3:27 PM To: "earlyprint/earlyprint.github.io" earlyprint.github.io@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [earlyprint/earlyprint.github.io] Workflow for standalone epub and pdf generation from TEI texts. (#6)

We want to pregenerate epubs and PDFs from the EarlyPrint TEI files so that these do not need to be generated on the fly.

The standard TEI consortium scripts for generating epubs from TEI files work well enough. Their output is not as attractive as that produced by our code within eXist. We can probably improve the appearance.

The free Calibre suite now does a good job of converting epubs to pdf files. Calibre is a free program and works on Windows, Linux,and Mac OSX. Calibre can also generate other formats such as kindle, although if we decide to generate kindle versions, the standard (free) Amazon software is probably a better choice.

Pregenerating the ebook versions of the texts obviates the need for repeated on-demand generation of such versions. We will want to create both original and standardized spelling versions, as we currently provide now. We also want to update the ebooks whenever the TEI versions of the EarlyPrint texts change.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_earlyprint_earlyprint.github.io_issues_6-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DABL7ULZ6JNHLFLIPWYLDYHTQOIXJLA5CNFSM4JAEIDD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HRMQRWA&d=DwMCaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=rG8zxOdssqSzDRz4x1GLlmLOW60xyVXydxwnJZpkxbk&m=hlMTDPHbt1q1REo2mC7PgLpYfrV0SZoOBRD5tmWX9-s&s=10bKqA1GTQFTaxbOekXVG_x66X4-I0Pe-XV-LLGX0d4&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ABL7UL6EZKAGFTFBS63J2NTQOIXJLANCNFSM4JAEIDDQ&d=DwMCaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=rG8zxOdssqSzDRz4x1GLlmLOW60xyVXydxwnJZpkxbk&m=hlMTDPHbt1q1REo2mC7PgLpYfrV0SZoOBRD5tmWX9-s&s=7tJydxyjjYVqbNeQA06cncz3lfeDhzquip7j9IV9NTs&e=.

pibburns commented 4 years ago

Would it make sense to make sample versions of half a dozen different files and run them by our Early Modernists to see what they like or don’t like? Related to this issue is pdfs of standard spellings, which some user might like.

If you provide me a list of texts, I will generate the barebones epubs and matching pdfs. I can store the results in a Box folder for folks to peruse.

craigberry commented 1 year ago

We've been doing what Phil suggested for a couple years now. The code that does it is here:

https://bitbucket.org/eplib/downloads/src/master/