GithubHelp home page GithubHelp logo

sasanarakkha / pali-english-recitations Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 1.0 218.27 MB

Sāsanārakkha Pāli-English Recitations

Home Page: https://sasanarakkha.org/

License: Other

Makefile 0.75% TeX 46.95% Shell 0.09% Perl 0.01% Python 0.21% Nix 0.01% CSS 0.64% HTML 51.21% Smarty 0.12%
dhamma buddha sangha chanting recitation

pali-english-recitations's Introduction

Cover


A collaborative effort from the SBS Saṅgha and members of the four assemblies.



Prerequisites

  • make
  • texlive (the complete TeXLive distribution is preferrable though you may be able to install only the needed binaries depending on your distribution or OS.)
  • inotify-tools
  • calibre
  • java
  • lxml
  • epubcheck

make Commands

  • make pdf: Tangles recitations.tex.org to the respective TeX files, builds the PDF, then renames and places the PDF in build/ . make pdf2x does the same just twice over to ensure the hyperlinks are properly set.
  • make pdfrequirements: Downloads the tabularray and ninecolors packages and places them in $TEXMFHOME/tex.
  • make epub: Builds EPUB format; placed in build/.
  • make mobi: Builds MOBI format with Calibre; placed in build/.
  • make azw3: Builds AZW3 format with Calibre; placed in build/.
  • make validate: Builds the EPUB and then checks for errors with epubcheck.
  • make optimize
  • make view: Opens current.recitations.epub with Calibre’s ebook viewer.
  • make editwatchepub: Opens current.recitations.epub with Sigil and watches for any errors. Error messages will be shown while editing and epubcheck check is ran after saving.
  • make clean: Removes all built documents.
  • make epub: Convert HTML hierarchy into EPUB document.
  • make extractepub: Extracts EPUB and converts to HTML hierarchy.
  • make watchepub: Watches current.recitations.epub for edits and changes.
  • make release: Validates and builds all documents.

pali-english-recitations's People

Contributors

bergentroll avatar devamitta avatar paladhammika avatar parinibbana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

bergentroll

pali-english-recitations's Issues

Automatically Update Date/Timestamp in HTML Before Building EPUB

@bergentroll

# Update the date
cd manuscript/html/OEBPS/Text
TODAY=$(date --iso-8601)
sed -i 's/\(This version was created on:\) *[0-9-]\{10\}/\1 '"$TODAY"'/' copyright.xhtml
cd ../../..

The above is some sed magic which was used in earlier versions of this project. It automatically changed the time stamp (seen in the picture below) with each build.

image

Attempts to implement this into the current Makefile have not been successful. Would you have any suggestions?

image

ALL endnotes gone, resulting in word contractions

Avuso,

There are no more endnotes. Not only those related to WPN have disappeared, but ALL of them.
This also resulted in numerous occasions where the text became contracted, which caused two words to join e.g. "triadwhich", "displeasureand", "justas".

I won't tell you all other occurrences where the same contraction has happened, because it's easy to find out on your own when comparing with the old version where the endnotes were still intact.

English version of Gradual Training chant

  1. There are three or more instances where a new line starts with a breath mark. Please move breath marks to the end of the previous line.

  2. "divide those peoplefrom these"

Titles in PDF

When I open PDF, generated by this software, and try to copy any name of the chant:
for example page 179 Ratanattay’ānubhā v’ādi-gātha,
it is copy with spaces after long ā : "Ratanattay’ā nubhā v’ā di-gā tha".
That's why it is not really searchable PDF.
Is it possible to avoid this? Then people can use this PDF more effectively.

Pages enlarged (zoomed in) on PDF on ebook readers

When a page has only little content and is only half full (half empty), ebook readers e.g. Kindle typically zoom in and enlarge the page. This makes for an inconsistent reading experience.
Would it be possible to put something invisible at the bottom of the page, and thereby prevent ebook readers from zooming in?
e.g. make an underline (_) in white color at the bottom of the page. Any other ways of accomplishing the same?

Bhikkhuni issues

Orig: Ekaṁsena gotami dhāreyyāsi
Change to: Ekaṁsena gotamī dhāreyyāsi

Orig: Gotamī 99 you should definitely recognize
Remove endnote 99

how to use make pdf

It would be good to have a bash or at least a manual how and what to install for making work function make pdf

For example running in dir of repo /pali-english-recitations/:
make pdf
Resulting in:
Tangling org document...
/home/deva/.local/bin/org-tangle: line 2: exec: emacs: not found
make: *** [Makefile:82: pdf] Error 127

by the way function make epub is working well

Missing English translations of Pali titles

Please see the comments in this document for the English title suggestions: https://drive.google.com/file/d/1r9L5N0jYSdaIzfOymaXuRJuT-lB5VAGm/view

It contains an initial comment by A. Devamitta, followed by a suggestion by Bhante Aggacitta, followed by what I have finally selected/approved for the chanting book to be used, which in most cases agrees with Bhante Aggacitta's proposal.

You can find the comments starting on p.145 of the PDF onwards; just scroll down starting from there. The last comment is on p.222 of the PDF.

Unnecessary files in a EPUB artifact

When opening the SBS_Pali-English_Recitations.epub from the releases with Sigil, it says there is a plenty redundant entries in file, which are not listed in the Manifest:

current-recitations.epub
source/pali-only-sandhi-split-canonical.txt
source/pali-only-sandhi-split.txt
source/pali-only-without-split.txt
source/pali-only.txt
tex/*.tex

The first one is also about a half of a resulting size.

If bhante like, I may exclude them in the Makefile.

With all the power of the Buddha/Dhamma/Sangha

Inconsistency between PDF and epub version about the translation of Sabba-budda/dhamma/sanghanubhavena.

It seems the latest change of translation has only been applied to the pdf edition, but not the epub version. It should be as shown in the title.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.