Skip to content
This repository has been archived by the owner on Jun 13, 2018. It is now read-only.

Latest commit

 

History

History
152 lines (102 loc) · 3.36 KB

README.md

File metadata and controls

152 lines (102 loc) · 3.36 KB

Relative Theory of Money (TRM)

Relative Theory of Money (TRM) is a theory about a money system based on a Universal Dividend calculated from the human life expectancy. It demonstrate that only one mathematical solution exists to create a "libre money".

You can read it online here

You can download files here

Text licensed under GPL version 3

Théorie Relative de la Monnaie (TRM)

La Théorie Relative de la Monnaie est une théorie décrivant un système monétaire basé sur un Dividende Universel calculé à partir de l'espérance de vie humaine. Elle démontre qu'il n'existe qu'une seule solution mathématique pour créer une "monnaie libre".

Vous pouvez la lire en ligne ici

Vous pouvez télécharger les fichiers ici

Texte sous licence GPL version 3

Install repository

Require Sphinx 1.3+

  • Ubuntu 14.04:
    $ sudo apt-get install python-pip
    $ sudo apt-get install python-dev
    $ sudo apt-get install libfreetype6-dev
    $ sudo apt-get install texlive texlive-lang-french texlive-latex-extra texlive-latex-recommended
    $ sudo apt-get install dvipng

    $ sudo pip install virtualenv
    $ virtualenv -p /usr/bin/python2.7 venv
    $ source venv/bin/activate
    $ pip install -vv -r requirements.txt
  • Fedora:
    $ sudo dnf install python-pip python-devel freetype-devel \
      texlive texlive-latex dvipng python-matplotlib numpy \
      python-numpydoc ipython python-sphinx python-ipython-sphinx

Generate all languages

Generate french and english version in build/fr_FR and build/en_US folders:

    $ ./build.sh

Generate original french version in build/fr_FR folder:

    $ ./build_fr_FR.sh

Generate translated english version in build/en_US folder:

    $ ./build_en_US.sh

Generate HTML, PDF and EPUB version

Generate HTML version:

    $ make html SPHINXOPTS="-t html"

Generate PDF version:

    $ make latexpdf SPHINXOPTS="-t latex"

Generate EPUB version :

    $ make epub SPHINXOPTS="-t epub"

Translation in english

Install translation tools

    $ sudo pip install sphinx-intl

Generate/update po files (translation files)

Do it every time you modified rst files

    $ ./update_po_files.sh

...Then edit po files to translate from the french...

Generate english version

Create mo files

    $ sphinx-intl build --locale-dir source/locale

Generate translated build:

    $ ./build_all_en_US.sh

Transifex platform (DEPRECATED)

To sync with a Transifex project :

    $ pip install transifex-client

Add pot files index in .tx/config

    $ sphinx-intl update-txconfig-resources --pot-dir build/locale --locale-dir source/locale --transifex-project-name french-to-english

Replace "en" language by "fr" in .tx/config

    $ source_lang = fr

Send the pot source files to the transifex server

    $ tx push -s

Get a translated po file Add -f to force

    $ tx pull -l en_US -r french-to-english.index