From: olivier <> Date: Wed, 15 Apr 2009 09:55:04 +0000 (+0000) Subject: eztelemeta: add latex and pdf README formats X-Git-Tag: 1.1~655 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=503d26156266288296f67327ce187995be58b004;p=telemeta.git eztelemeta: add latex and pdf README formats --- diff --git a/tools/eztelemeta/Makefile b/tools/eztelemeta/Makefile index 463320ec..d4e84ec2 100644 --- a/tools/eztelemeta/Makefile +++ b/tools/eztelemeta/Makefile @@ -1,7 +1,7 @@ PACKAGE = eztelemeta VERSION = 0.1 -DOCS = VERSION ChangeLog doc/README.fr doc/README.fr.html doc/doc.css +DOCS = VERSION ChangeLog doc/README.fr doc/README.fr.html doc/doc.css doc/README.fr.latex doc/README.fr.pdf SETTINGS = \ settings/content.ini.append \ diff --git a/tools/eztelemeta/doc/Makefile b/tools/eztelemeta/doc/Makefile index fc77ff30..093b5b75 100644 --- a/tools/eztelemeta/doc/Makefile +++ b/tools/eztelemeta/doc/Makefile @@ -1,10 +1,18 @@ VERSION := $(shell cat ../VERSION) -DOCS=README.fr.html README.fr +DOCS=README.fr.html README.fr.pdf README.fr README.fr.latex doc: $(DOCS) README.fr.html: README.fr doc.css - rst2html --stylesheet=doc.css --link-stylesheet README.fr $@ + rst2html -lfr --stylesheet=doc.css --link-stylesheet README.fr $@ + +README.fr.pdf: README.fr.latex + pdflatex $^ + pdflatex $^ + rm README.fr.aux README.fr.out README.fr.log + +README.fr.latex: README.fr + rst2latex -lfr $^ $@ README.fr: README.fr.in ../VERSION cat README.fr.in | sed "s/EZTVERSION/$(VERSION)/g" > $@ diff --git a/tools/eztelemeta/doc/README.fr.in b/tools/eztelemeta/doc/README.fr.in index 5a773010..bee0ec4d 100755 --- a/tools/eztelemeta/doc/README.fr.in +++ b/tools/eztelemeta/doc/README.fr.in @@ -1,12 +1,14 @@ - ============================================= eZTelemeta |version| - Mise en place et usage ============================================= -Olivier Guilyardi - |today| +:Auteur: Olivier Guilyardi +:Date: |today| .. contents:: **Table des matières** +---- + I - Introduction ~~~~~~~~~~~~~~~~ @@ -143,7 +145,7 @@ invisible, via la librairie SoundManager2, offrant une API javascript dédiée au son. Plusieurs items peuvent être placés arbitrairement dans la page, -s'intégrant bien au flux du contenu HTML. Lorsqu'on clique sur +s'intégrant bien au flot du contenu HTML. Lorsqu'on clique sur l'un deux, si la lecture d'un autre item est déjà en cours, elle s'interrompt, de façon à éviter la lecture accidentelle simultanée de plusieurs sons.