Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
trollofnova authored Jul 4, 2017
2 parents 3ac5b5b + 4b72aa2 commit 4ce3118
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 95 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
sudo: required
services:
- docker
before_install:
- sudo make
script:
- sudo make book
- sudo make
deploy:
provider: releases
api_key:
secure: SYdioLSGMWKpkY0gFYWE9F7NAk52SYYjGBahgaQl5rGZmse98RtCSR70M5XjOmUBV1YeNAcgT6vNp3TH2XDc5K5AuR14Q17zc7QAWmRlAXJ1NRmULli4ajOf31OGyqxE8y41BYC4ufTufouLPzYQvDK7Yx7Mp3sGdTBhu+rH0JNhhl/OOZdy5AQFso32mc1b8lXmcD57r0gmV2oyBXy48zrTLsq34S7voAcZl+SyU+1jOOnVqS1GIqdH4vXOdyD2xyPpZuHqbG8eyJcsiOrKNrqLB3Gh1enUjeoSTDwNZDEgj0lwwLZixcsqxSA1Wu8eZIXL71KGLkL93qXF5JXyQN73SGUoJiNMh6QjZBOo2CPgwGNjaBZCO+ibjSl3wFFBnet7oSjpE8RjdXof7tOthYJ+98jpyPp645FIzK02AOy9xGby9lncsLeTvv6YYuKhffGsGEneEpF8kXTiMSGAPWzN84tAEaUDrP/Zgn7YcIvJEnWYZRhsGABPNmwxViJZZfoXf+Eqo2qTj43CMKQtAm/Pkr2hjbpm8Nh3FhJo4JU75VfDT1+HOGxj9Hul4PFQmp/uh3sW/S77sG5BuR+I3NduqmIIVmk8viIc7D9Vs1m2Teb7F55BsiIz7s092rOTKhx84TeWy9vt+H4t7iN4RY8RKIzwT89/d8wR4BcBt+I=
file: "./book/RiichiBook1.pdf"
skip_cleanup: true
on:
repo: loopfz/riichi-book-1
branch: master
11 changes: 0 additions & 11 deletions Dockerfile

This file was deleted.

7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@ MAIN_FILE = RiichiBook1
LATEX_FILES = ${SRC_FOLDER}/*.tex
TARGET = ${SRC_FOLDER}/${MAIN_FILE}.pdf

DOCKER_IMAGE = loopfz/riichi
DOCKER_IMAGE = loopfz/riichi-latex

all: build

build:
@docker build --tag=${DOCKER_IMAGE}:latest .
all: book

book: ${TARGET}

Expand Down
41 changes: 39 additions & 2 deletions README
Original file line number Diff line number Diff line change
@@ -1,6 +1,43 @@
To generate the book:
This project is an ongoing french translation of the wonderful
japanese mahjong (riichi) strategy ebook written by Daina Chiba.

Original ebook: http://riichi.dynaman.net

------------------------------------------------------------------------------

ATTENTION FRENCH SPEAKERS :

ON ACCEPTE LES CONTRIBUTIONS :)

L'ebook est écrit en Latex, et utilise des packages assez exotiques notamment
pour afficher les tuiles de mahjong, ce qui le rend complexe à compiler.

Cependant, nous avons automatisé autant que possible le processus, et le PDF
de l'ebook est automatiquement re-généré à chaque pull request acceptée,
puis uploadé dans la section releases.

Vous n'avez pas besoin de connaître Latex pour participer !

------------------------------------------------------------------------------

To manually generate the book under Linux:
/!\ Requires Docker /!\

sudo make
sudo make book

------------------------------------------------------------------------------

IF YOU ARE INTERESTED IN PURSUING A TRANSLATION PROJECT IN ANOTHER LANGUAGE

You may reuse our tech however you want !

Things of interest:
- The custom Docker image designed to embed everything needed to build
the ebook (see https://github.com/loopfz/riichi-latex )
- The patches done in book/RiichiBook1.tex for compatibility with lualatex
- The .travis.yml file that automatizes the PDF build, using the Docker image

It should be very easy to set up everything in another repository,
do not hesitate to contact me for help:

[email protected]
20 changes: 0 additions & 20 deletions build-bxptool.sh

This file was deleted.

53 changes: 0 additions & 53 deletions build-tile-font.sh

This file was deleted.

0 comments on commit 4ce3118

Please sign in to comment.