MaJ du build et des instructions pour le html
This commit is contained in:
parent
ab64c75ef9
commit
3a0c955694
6
Makefile
6
Makefile
@ -36,9 +36,9 @@ version_html/tmp/index.html: version_html/tmp/guide.html
|
||||
|
||||
version_html/tmp/index.xhtml: version_html/tmp/index.html
|
||||
cd $(dir $<) &&\
|
||||
(tidy -c -e -utf8 --output-xhtml 1 --fix-uri 1 $(notdir $<) > $(notdir $@) || test -f $(notdir $@)) &&\
|
||||
(for file in guide*.html; do tidy -utf8 --output-xhtml 1 $$file > `basename $$file html`xhtml; done || /bin/true) &&\
|
||||
(tidy -utf8 --output-xhtml 1 index.html > index.xhtml || test -f index.xhtml) &&\
|
||||
(tidy -c -e -utf8 -asxhtml --doctype strict --fix-uri 1 $(notdir $<) > $(notdir $@) || test -f $(notdir $@)) &&\
|
||||
(for file in guide*.html; do tidy -utf8 -asxhtml --doctype strict $$file > `basename $$file html`xhtml; done || /bin/true) &&\
|
||||
(tidy -utf8 -asxhtml --doctype strict index.html > index.xhtml || test -f index.xhtml) &&\
|
||||
sed -i -e 's/guide\([0-9]*\)\.html/guide\1.xhtml/g' *.xhtml
|
||||
|
||||
version_html/guide.html: version_html/tmp/index.xhtml $(wildcard version_html/tmp/*.xhtml)
|
||||
|
6
README
6
README
@ -9,7 +9,7 @@ installée, ainsi que les build-essential.
|
||||
|
||||
=== Pour construire le guide, version html ===
|
||||
|
||||
La procédure est faite sur une Debian Wheezy, avec une distribution LaTeX
|
||||
installée, ainsi que les build-essential, hevea et xsltproc.
|
||||
La procédure est faite sur une Debian Buster, avec une distribution LaTeX
|
||||
installée, ainsi que les build-essential, hevea, tidy et xsltproc.
|
||||
|
||||
- Dans un terminal, tapez "make version_html/index.html".
|
||||
- Dans un terminal, tapez "make version_html/guide.html".
|
||||
|
@ -87,7 +87,7 @@
|
||||
\newenvironment{capture}[2][]{\begin{rawhtml}<div class="guide_capture">
|
||||
<a href="\end{rawhtml}\@screenshots #2\begin{rawhtml}.png"
|
||||
class="guide_screenshot_fullscreen">
|
||||
<img class="guide_screenshot_vignette" src="\end{rawhtml}\@screenshots\@lowres #2\begin{rawhtml}.png"/>
|
||||
<img class="guide_screenshot_vignette" src="\end{rawhtml}\@screenshots\@lowres #2\begin{rawhtml}.png">
|
||||
</a>\end{rawhtml}}
|
||||
{\begin{rawhtml}
|
||||
</div>\end{rawhtml}}
|
||||
@ -133,7 +133,7 @@ class="guide_screenshot_fullscreen">
|
||||
|
||||
\newenvironment{ressource}[1]
|
||||
{\begin{rawhtml}<div class="guide_ressource"><a href="\end{rawhtml}\@images #1\begin{rawhtml}.png"><p>
|
||||
<img src="\end{rawhtml}\@images\@lowres #1\begin{rawhtml}.png"/></a>\end{rawhtml}}
|
||||
<img src="\end{rawhtml}\@images\@lowres #1\begin{rawhtml}.png"></a>\end{rawhtml}}
|
||||
{\begin{rawhtml}</p></div>\end{rawhtml}\par}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
Loading…
Reference in New Issue
Block a user