]> git.parisson.com Git - telemeta.git/commitdiff
eztelemeta: add latex and pdf README formats
authorolivier <>
Wed, 15 Apr 2009 09:55:04 +0000 (09:55 +0000)
committerolivier <>
Wed, 15 Apr 2009 09:55:04 +0000 (09:55 +0000)
tools/eztelemeta/Makefile
tools/eztelemeta/doc/Makefile
tools/eztelemeta/doc/README.fr.in

index 463320ec2202c972f9444cb7fe75583cbcecba77..d4e84ec2ddfea5f31cc19f38802bced24d3fdc6f 100644 (file)
@@ -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 \
index fc77ff3041c46743588852b14d17c86766a1f2cf..093b5b75043e3bb40dc55008e17920e5c4f9af50 100644 (file)
@@ -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" > $@
index 5a77301024386b1c1f534a417f23cb7e6b4c8815..bee0ec4d25213a09da164426900cf48a6c24216f 100755 (executable)
@@ -1,12 +1,14 @@
-
 =============================================
 eZTelemeta |version| - Mise en place et usage
 =============================================
 
-Olivier Guilyardi <olivier samalyse com> - |today|
+:Auteur: Olivier Guilyardi <olivier samalyse com>
+: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.