Skip to content

Latest commit

 

History

History
67 lines (47 loc) · 1.41 KB

File metadata and controls

67 lines (47 loc) · 1.41 KB

Each repo should...

  • metadata.yml + author + title + publishing info + provinence
  • book_name.{rst|tei|txt} + book text in a master source format
  • license.txt + PG license information + transcriber, converter credits
  • README.rst + generic GITenburg info + generic PG info + book specific info + desc and links to toolchains + desc and links to generated versions for ebook readers

Smart comments:

Convert all files to UTF-8 https://groups.google.com/forum/?fromgroups#!topic/prj-alexandria/VhKbMyH9kcA

File formats:

A list of file formats and their freqency is in the docs folder, generated via:

find -type f|rev|cut -d\. -f1|grep -v "/" |rev|sort -f|uniq -c|sort -nr

.tei

a master format http://www.tei-c.org/Tools/Stylesheets/ http://code.google.com/p/hrit/source/browse/rst2xml-tei.py?repo=tei-rest

.rst

a master format Research toolchain for rst >> whatever

dp rst manual http://pgrst.pglaf.org/publish/181/181-h.html

Future book repos?

Format ani-gif for each book with images

for each image:

jpegtopnm -quiet $file | pnmgamma -ungamma | pnmscale -quiet -width $gifWidth -height $gifHeight | pnmgamma | ppmquant -quiet 256 | ppmtogif -quiet > $out

then: gifsicle --delay $delay --loopcount=$loop --colors 256 $gifFiles > out.gif"