All Projects → jhellingman → tei2html

jhellingman / tei2html

Licence: GPL-3.0 license
XSLT stylesheets to convert TEI to HTML and ePub format.

Programming Languages

XSLT
1337 projects
HTML
75241 projects
perl
6916 projects
Max
122 projects
prolog
421 projects
CSS
56736 projects

Projects that are alternatives of or similar to tei2html

plato
Document reader
Stars: ✭ 117 (+303.45%)
Mutual labels:  epub
kitodo-presentation
Kitodo.Presentation is a feature-rich framework for building a METS- or IIIF-based digital library. It is part of the Kitodo Digital Library Suite.
Stars: ✭ 33 (+13.79%)
Mutual labels:  tei
gumponents
Essential Gutenberg components for WordPress.
Stars: ✭ 29 (+0%)
Mutual labels:  gutenberg
benenson
A Gutenberg WordPress theme
Stars: ✭ 70 (+141.38%)
Mutual labels:  gutenberg
slotfill-and-filter-demos
This repo can be used as reference or can be installed as a plugin in any WordPress install to make code changes as needed. Each SlotFill or filter is explained with examples. This is meant to be a working document and will change as Gutenberg does.
Stars: ✭ 93 (+220.69%)
Mutual labels:  gutenberg
acsm-calibre-plugin
Calibre plugin for ACSM->EPUB and ACSM->PDF conversion.
Stars: ✭ 118 (+306.9%)
Mutual labels:  epub
browser-shots
A WordPress plugin for taking screenshots of websites using the block editor.
Stars: ✭ 17 (-41.38%)
Mutual labels:  gutenberg
pubcrawl
🍺📖 Convert 'epub' Files to Text (Use https://github.com/ropensci/epubr instead)
Stars: ✭ 22 (-24.14%)
Mutual labels:  epub
react-native-ebook
React Native E-book (.mobi, .epub)
Stars: ✭ 45 (+55.17%)
Mutual labels:  epub
rePocketable
Tool to fetch articles from (getPocket|the web) and turn them into epub
Stars: ✭ 49 (+68.97%)
Mutual labels:  epub
iRead
iRead is an EPUB reader for iOS written in Swift
Stars: ✭ 83 (+186.21%)
Mutual labels:  epub
epub kitty
a beautiful flutter epub reader!
Stars: ✭ 49 (+68.97%)
Mutual labels:  epub
disable-drop-cap
Plugin to disable drop cap in Gutenberg editor paragraph block.
Stars: ✭ 11 (-62.07%)
Mutual labels:  gutenberg
Kingpin
📖 EPUB и PDF версии перевода книги Kingpin (Кевин Поулсен)
Stars: ✭ 18 (-37.93%)
Mutual labels:  epub
icon-block
A simple little WordPress block that allows you add an SVG icon or graphic to your website.
Stars: ✭ 24 (-17.24%)
Mutual labels:  gutenberg
wikdict-gen
Generation of bilingual dictionaries from Wiktionary/dbnary data for the WikDict project
Stars: ✭ 32 (+10.34%)
Mutual labels:  tei
EveReader
Epub Reader, focused on annotation.
Stars: ✭ 68 (+134.48%)
Mutual labels:  epub
remove-gutenberg-panel
Removes the Try Gutenberg panel from the WP-Admin Dashboard, introduced in WordPress 4.9.5 Beta 1. We only want to try Gutenberg once it's ready. Not now.
Stars: ✭ 16 (-44.83%)
Mutual labels:  gutenberg
epub-viewer
android epub viewer
Stars: ✭ 32 (+10.34%)
Mutual labels:  epub
noptin
Noptin is the best email newsletter plugin for WordPress.
Stars: ✭ 13 (-55.17%)
Mutual labels:  gutenberg

xspec tests CodeFactor

tei2html

A collection of XSLT 3.0 style sheets to transform a document encoded in according to the TEILite DTD to HTML. They have been specifically developed to create a monolithic (single) HTML document for posting on Project Gutenberg, but are also capable of generating ePub files from the same source with a similar look and feel. In line with the type of material Project Gutenberg deals with, these style sheets are designed to deal with encoded pre-existing works, rather than works created digitally from scratch.

The transformation supports the following elements as present in TEI:

  • Plain Text and text styles
  • Title Pages
  • Tables
  • Lists
  • Tables of contents
  • Poetry and Plays
  • Footnotes
  • Illustrations
  • Cover images

Furthermore, the script can generate

  • Tables of Contents.
  • Lists of Corrections.
  • Colophons
  • Metadata as used in ePub

Tei2Html includes localisation support for English, Dutch, and to a lesser extend German, French, Spanish, Tagalog and Cebuano.

Note, that these scripts partly depend on the use of rend attributes and other TEI conventions. It should not be expected that an arbitrary TEI file renders well with those scripts (although it should render reasonable in any case.)

If you need modifications, extensions of these scripts, or need to have other TEI/XML/XSLT related work done, please be in touch with me on how I can help.

Directories

  • Wiki: wiki-pages that give some instructions and background documentation.
  • samples: contains a number of sample files (of books posted to Project Gutenberg; I am in the process of adding all my TEI master files to GitHub: see https://github.com/GutenbergSource for many more examples).
  • sandbox: contains experimental code, better ignored if you don't want to play around.
  • schemas: contains schema definition for a number of supplementary XML formats.
  • style: contains CSS stylesheets, used by the generated HTML and ePub results.
  • test: contains a test TEI file, complete with the generated output in XML, HTML and ePub format. This is used to verify the correct transformation; contains a large number of samples of use, and serves as a regression test when refactoring the XSLT transforms.
  • tools: contains perl scripts that can be used to apply the transforms; also includes a number of perl scripts that can be used while preparing TEI files.

External Links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].