Compare commits
5 Commits
6d62e8aaf7
...
d463c6611d
Author | SHA1 | Date | |
---|---|---|---|
d463c6611d | |||
a6dcdf917a | |||
f01c276084 | |||
90d6a26a2d | |||
4bc816d0c0 |
1
.gitignore
vendored
|
@ -3,6 +3,7 @@ guide_libre_asso.*
|
||||||
teaser.pdf
|
teaser.pdf
|
||||||
version_html/
|
version_html/
|
||||||
version_epub/
|
version_epub/
|
||||||
|
includes/*/vignettes/*
|
||||||
|
|
||||||
*.aux
|
*.aux
|
||||||
*.ilg
|
*.ilg
|
||||||
|
|
30
Makefile
|
@ -6,6 +6,24 @@ TEMP=$(foreach ext,$(EXT), guide.$(ext))
|
||||||
PDFTEX = pdflatex -interaction nonstopmode
|
PDFTEX = pdflatex -interaction nonstopmode
|
||||||
NEED_RERUN = '(There were undefined references|Rerun (me )?to get (cross-references|the bars) right)|((Reference|Citation).*undefined)|(Label.*multiply defined)'
|
NEED_RERUN = '(There were undefined references|Rerun (me )?to get (cross-references|the bars) right)|((Reference|Citation).*undefined)|(Label.*multiply defined)'
|
||||||
|
|
||||||
|
IMG_PNG = $(wildcard includes/screenshots/*.png) $(wildcard includes/images/*.png)
|
||||||
|
IMG_PNG_SMALL = $(subst screenshots,screenshots/vignettes, $(subst images,images/vignettes, ${IMG_PNG}))
|
||||||
|
|
||||||
|
includes/screenshots/vignettes/%.png: includes/screenshots/%.png
|
||||||
|
convert $< -resize 200 $@
|
||||||
|
|
||||||
|
includes/images/vignettes/%.png: includes/images/%.png
|
||||||
|
convert $< -resize 200 $@
|
||||||
|
|
||||||
|
IMG_JPG = $(wildcard includes/screenshots/*.jpg) $(wildcard includes/images/*.jpg)
|
||||||
|
IMG_JPG_SMALL = $(subst screenshots,screenshots/vignettes, $(subst images,images/vignettes, ${IMG_JPG}))
|
||||||
|
|
||||||
|
includes/screenshots/vignettes/%.jpg: includes/screenshots/%.jpg
|
||||||
|
convert $< -resize 200 $@
|
||||||
|
|
||||||
|
includes/images/vignettes/%.jpg: includes/images/%.jpg
|
||||||
|
convert $< -resize 200 $@
|
||||||
|
|
||||||
all : ${PDF}
|
all : ${PDF}
|
||||||
guide_libre_asso.wiki:
|
guide_libre_asso.wiki:
|
||||||
wget "http://wiki.april.org/index.php?title=Guide_Libre_Association_complet&action=raw" -O $@
|
wget "http://wiki.april.org/index.php?title=Guide_Libre_Association_complet&action=raw" -O $@
|
||||||
|
@ -16,11 +34,11 @@ guide_libre_asso.tex: guide_libre_asso.wiki
|
||||||
sed -i $@ -e 's/\\description/\\descriptif/g'
|
sed -i $@ -e 's/\\description/\\descriptif/g'
|
||||||
vim -c '%s/^\(\s*\*.*\)\n\(\s*[^*]\|\n\)/\1\r\\end{itemize}\r\2/g' -c '%s/^\(\s*[^*].*\|\)\n\s*\*/\1\r\\begin{itemize}\r*/g' -c '%s/^\s*\*/\\item/' -c ':x' $@
|
vim -c '%s/^\(\s*\*.*\)\n\(\s*[^*]\|\n\)/\1\r\\end{itemize}\r\2/g' -c '%s/^\(\s*[^*].*\|\)\n\s*\*/\1\r\\begin{itemize}\r*/g' -c '%s/^\s*\*/\\item/' -c ':x' $@
|
||||||
|
|
||||||
guide.pdf: guide.tex guide_libre_asso.tex lolipop.cls
|
guide.pdf: guide.tex guide_libre_asso.tex lolipop.cls ${IMG_PNG} ${IMG_JPG}
|
||||||
${PDFTEX} $<
|
${PDFTEX} $<
|
||||||
if egrep -q $(NEED_RERUN) $(subst tex,log,$<) ; then ${PDFTEX} $< ; fi
|
if egrep -q $(NEED_RERUN) $(subst tex,log,$<) ; then ${PDFTEX} $< ; fi
|
||||||
|
|
||||||
version_html/tmp/guide.html: guide.tex guide_libre_asso.tex lolipop.hva
|
version_html/tmp/guide.html: guide.tex guide_libre_asso.tex lolipop.hva ${IMG_PNG_SMALL} ${IMG_JPG_SMALL}
|
||||||
cd version_html/tmp &&\
|
cd version_html/tmp &&\
|
||||||
hevea -I ../../ $< 2> guide.log &&\
|
hevea -I ../../ $< 2> guide.log &&\
|
||||||
if egrep -q $(NEED_RERUN) guide.log ; then hevea -I ../../ $< 2> guide.log; fi
|
if egrep -q $(NEED_RERUN) guide.log ; then hevea -I ../../ $< 2> guide.log; fi
|
||||||
|
@ -42,6 +60,12 @@ clean:
|
||||||
rm -fv $(TEMP) version_html/tmp/*
|
rm -fv $(TEMP) version_html/tmp/*
|
||||||
|
|
||||||
mrproper: clean
|
mrproper: clean
|
||||||
rm -fv guide.pdf guide_libre_asso.* version_html/guide.html
|
rm -fv guide.pdf guide_libre_asso.* version_html/guide.html ${IMG_PNG_SMALL} ${IMG_JPG_SMALL}
|
||||||
|
|
||||||
distclean: mrproper
|
distclean: mrproper
|
||||||
|
|
||||||
|
rebuild:
|
||||||
|
rm -fv guide_libre_asso.wiki guide_libre_asso.tex
|
||||||
|
make all
|
||||||
|
|
||||||
|
.PHONY: all clean mrproper distclean rebuild
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
\title{Guide Libre Association}
|
\title{Guide Libre Association}
|
||||||
\subject{Guide d'usage des logiciels libres en milieu associatif}
|
\subject{Guide d'usage des logiciels libres en milieu associatif}
|
||||||
\keywords{Logiciels libres, association, Internet, travail collaboratif}
|
\keywords{Logiciels libres, association, Internet, travail collaboratif}
|
||||||
\version{1.1}
|
\version{1.9}
|
||||||
\date{\today}
|
\date{\today}
|
||||||
\organisation{April}
|
\organisation{April}
|
||||||
\orgwebsite{www.april.org}
|
\orgwebsite{www.april.org}
|
||||||
|
|
BIN
includes/images/stevejob.pdf
Normal file
2972
includes/images/stevejob.svg
Normal file
After Width: | Height: | Size: 224 KiB |
0
includes/images/vignettes/.gitkeep
Normal file
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 66 KiB |
Before Width: | Height: | Size: 89 KiB |
Before Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 51 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 124 KiB |
BIN
includes/screenshots/framapad.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
includes/screenshots/owncloud.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
includes/screenshots/sigmah.png
Normal file
After Width: | Height: | Size: 109 KiB |
1
includes/screenshots/stevejob.pdf
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../../includes/images/stevejob.pdf
|
BIN
includes/screenshots/stevejob.pdf.png
Normal file
After Width: | Height: | Size: 103 KiB |
0
includes/screenshots/vignettes/.gitkeep
Normal file
Before Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 68 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 17 KiB |
18
lolipop.cls
|
@ -164,18 +164,10 @@
|
||||||
\renewcommand{\emph}[1]{{\it#1}}
|
\renewcommand{\emph}[1]{{\it#1}}
|
||||||
\newcommand{\strong}[1]{{\bf\magenta#1}}
|
\newcommand{\strong}[1]{{\bf\magenta#1}}
|
||||||
% Ainsi que pour les exergues, que nous définirons comme un paragraphe centré
|
% Ainsi que pour les exergues, que nous définirons comme un paragraphe centré
|
||||||
% dans la marge.
|
\newcommand{\exergue}[1]{
|
||||||
\NewEnviron{exergue}{
|
\vskip 20\p@
|
||||||
\let\href\fnhref
|
{\centering\bf\large\magenta #1}
|
||||||
\marginpar{
|
\vskip 20\p@
|
||||||
\checkoddpage\ifoddpage\raggedright\else\raggedleft\fi
|
|
||||||
\begin{minipage}{4.0cm}
|
|
||||||
\centering
|
|
||||||
\bf\large\magenta
|
|
||||||
\BODY
|
|
||||||
\end{minipage}
|
|
||||||
}
|
|
||||||
\let\href\mphref
|
|
||||||
}
|
}
|
||||||
|
|
||||||
%%% Hyperliens %%%
|
%%% Hyperliens %%%
|
||||||
|
@ -188,8 +180,8 @@
|
||||||
% redéfinissons les notres.
|
% redéfinissons les notres.
|
||||||
\let\hhref\href
|
\let\hhref\href
|
||||||
\let\hurl\url
|
\let\hurl\url
|
||||||
\let\href\mphref
|
|
||||||
\newcommand{\mphref}[2]{\hhref{#1}{#2\footnote{\url{#1}}}}
|
\newcommand{\mphref}[2]{\hhref{#1}{#2\footnote{\url{#1}}}}
|
||||||
|
\let\href\mphref
|
||||||
\renewcommand{\url}[1]{\hurl{#1}}
|
\renewcommand{\url}[1]{\hurl{#1}}
|
||||||
\newcommand{\email}[1]{\hhref{mailto:#1}{\tech{#1}}}
|
\newcommand{\email}[1]{\hhref{mailto:#1}{\tech{#1}}}
|
||||||
% Cependant, cela ne permet plus d'afficher un lien dans une footnote. Pour
|
% Cependant, cela ne permet plus d'afficher un lien dans une footnote. Pour
|
||||||
|
|
|
@ -7,8 +7,11 @@ s/ / /g
|
||||||
# acceptons de mettre du code LaTeX dans la page wiki
|
# acceptons de mettre du code LaTeX dans la page wiki
|
||||||
s/\ /\\nbspace /g
|
s/\ /\\nbspace /g
|
||||||
s/\(\$\|~\|%\|\&\|_\|#\)/\\\1/g
|
s/\(\$\|~\|%\|\&\|_\|#\)/\\\1/g
|
||||||
|
# en début de ligne on suppose que c'est du commentaire
|
||||||
|
s/^\\%/%/
|
||||||
s/« /«\~/g
|
s/« /«\~/g
|
||||||
s/ »/\~»/g
|
s/ »/\~»/g
|
||||||
|
s/\([0-9]\) \([0-9]\{3,3\}\)/\1~\2/g
|
||||||
s/’/'/g
|
s/’/'/g
|
||||||
s/n°/\\no /g
|
s/n°/\\no /g
|
||||||
s/\\nbspace /~/g
|
s/\\nbspace /~/g
|
||||||
|
@ -20,9 +23,11 @@ s/{{[ ]*[Tt]ravail [Ee]n [Cc]ours.*}}//g
|
||||||
s/<references *\/>//g
|
s/<references *\/>//g
|
||||||
|
|
||||||
# Mise en forme
|
# Mise en forme
|
||||||
s/'''\([^\('''\)]*\)'''/\\strong{\1}/g
|
s/'''\([^\('''\)]\+\)'''/\\strong{\1}/g
|
||||||
|
s/<strong>\([^<]*\)<\/strong>/\\strong{\1}/g
|
||||||
s/''\([^\(''\)]*\)''/\\emph{\1}/g
|
s/''\([^\(''\)]*\)''/\\emph{\1}/g
|
||||||
s/<em>\([^<]*\)<\/em>/\\emph{\1}/g
|
s/<em>\([^<]*\)<\/em>/\\emph{\1}/g
|
||||||
|
s/{{Exergue|\(.*\)}}/\\exergue{\1}/g
|
||||||
|
|
||||||
# buggy ...
|
# buggy ...
|
||||||
s/<ref>\([^\(<\/ref>\)]*\)<\/ref>/\\emph{\1}/g
|
s/<ref>\([^\(<\/ref>\)]*\)<\/ref>/\\emph{\1}/g
|
||||||
|
|