From 3fcf35360d68a24d77d7c3ddf24984ab41ced572 Mon Sep 17 00:00:00 2001
From: notin
Date: Wed, 11 Feb 2009 14:39:11 +0000
Subject: Modification du style du manuel de référence
(cherry picked from commit b44a87556b68c08b7cd2fcbdaf2b4067b8a77427)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11916 85f007b7-540e-0410-9357-904b9bb8a0f7
---
Makefile.common | 1 +
Makefile.doc | 10 ++-
doc/common/styles/html/coqremote/cover.html | 134 ++++++++++++++++++++++++++++
doc/common/styles/html/coqremote/styles.hva | 97 ++++++++++++++++++++
doc/common/styles/html/simple/cover.html | 79 ++++++++++++++++
doc/common/styles/html/simple/style.css | 13 +++
doc/common/styles/html/simple/styles.hva | 45 ++++++++++
doc/refman/cover.html | 134 ----------------------------
doc/refman/styles.hva | 97 --------------------
9 files changed, 377 insertions(+), 233 deletions(-)
create mode 100644 doc/common/styles/html/coqremote/cover.html
create mode 100644 doc/common/styles/html/coqremote/styles.hva
create mode 100644 doc/common/styles/html/simple/cover.html
create mode 100644 doc/common/styles/html/simple/style.css
create mode 100644 doc/common/styles/html/simple/styles.hva
delete mode 100644 doc/refman/cover.html
delete mode 100644 doc/refman/styles.hva
diff --git a/Makefile.common b/Makefile.common
index 9a4f852310..1ca51ea5ac 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -80,6 +80,7 @@ PDFLATEX:=pdflatex
HEVEA:=hevea
HEVEAOPTS:=-fix -exec xxdate.exe
HEVEALIB:=/usr/local/lib/hevea:/usr/lib/hevea
+HTMLSTYLE:=simple
export TEXINPUTS:=$(COQSRC)/doc:$(HEVEALIB):
COQTEXOPTS:=-n 72 -image "$(COQSRC)/$(COQTOPEXE) -boot" -sl -small
diff --git a/Makefile.doc b/Makefile.doc
index 26ab0940b7..2190ebf698 100644
--- a/Makefile.doc
+++ b/Makefile.doc
@@ -114,14 +114,20 @@ doc/refman/Reference-Manual.pdf: $(REFMANFILES) doc/refman/Reference-Manual.tex
doc/refman/Reference-Manual.html: doc/refman/styles.hva doc/refman/headers.hva doc/refman/Reference-Manual.dvi # to ensure bbl file
(cd doc/refman; BIBINPUTS=.: $(HEVEA) $(HEVEAOPTS) ./styles.hva ./Reference-Manual.tex)
+doc/refman/cover.html: doc/common/styles/html/$(HTMLSTYLE)/cover.html
+ $(INSTALLLIB) $< doc/refman
+
+doc/refman/styles.hva: doc/common/styles/html/$(HTMLSTYLE)/styles.hva
+ $(INSTALLLIB) $< doc/refman
+
doc/refman/html/index.html: doc/refman/Reference-Manual.html $(REFMANPNGFILES) \
- doc/refman/cover.html doc/refman/index.html
+ doc/refman/cover.html doc/refman/styles.hva doc/refman/index.html
- rm -rf doc/refman/html
$(MKDIR) doc/refman/html
$(INSTALLLIB) $(REFMANPNGFILES) doc/refman/html
(cd doc/refman/html; hacha -nolinks -tocbis -o toc.html ../styles.hva ../Reference-Manual.html)
- $(INSTALLLIB) doc/refman/cover.html doc/refman/menu.html doc/refman/html
$(INSTALLLIB) doc/refman/cover.html doc/refman/html/index.html
+ $(INSTALLLIB) doc/common/styles/html/$(HTMLSTYLE)/*.css doc/refman/html
refman-quick:
(cd doc/refman;\
diff --git a/doc/common/styles/html/coqremote/cover.html b/doc/common/styles/html/coqremote/cover.html
new file mode 100644
index 0000000000..317b781de9
--- /dev/null
+++ b/doc/common/styles/html/coqremote/cover.html
@@ -0,0 +1,134 @@
+
+
+
+Cover Page
+
+
+Reference Manual | The Coq Proof Assistant
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Reference Manual
+
+
+ Version trunk1
+
+
+The Coq Development Team
+
+
+
+
+
+ V7.x © INRIA 1999-2004
+ V8.0 © INRIA 2004-2006
+ V8.1 © INRIA 2006-2008
+ V8.2 © INRIA 2008-2009
+
+
+
This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the latest version is presently available at http://www.opencontent.org/openpub ). Options A and B are not elected.
+
+
+
+
+
+
+ 1
+ This research was partly supported by IST working group ``Types''
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/doc/common/styles/html/coqremote/styles.hva b/doc/common/styles/html/coqremote/styles.hva
new file mode 100644
index 0000000000..55b14ffae3
--- /dev/null
+++ b/doc/common/styles/html/coqremote/styles.hva
@@ -0,0 +1,97 @@
+\renewcommand{\@meta}{
+\begin{rawhtml}
+
+Reference Manual | The Coq Proof Assistant
+
+
+
+
+
+
+
+
+
+
+\end{rawhtml}}
+
+% for HeVeA
+
+\htmlhead{\begin{rawhtml}
+
+
+
+
+
+
+
+\end{rawhtml}}
+
+\htmlfoot{\begin{rawhtml}
+
+
+
+
+
+
+
+
+
+
+\end{rawhtml}}
+
diff --git a/doc/common/styles/html/simple/cover.html b/doc/common/styles/html/simple/cover.html
new file mode 100644
index 0000000000..75b938f9b5
--- /dev/null
+++ b/doc/common/styles/html/simple/cover.html
@@ -0,0 +1,79 @@
+
+
+
+
+
+
+Reference Manual | The Coq Proof Assistant
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Reference Manual
+
+
+ Version 8.21
+
+
+
The Coq Development Team
+
+
+
+
+
+ V7.x © INRIA 1999-2004
+ V8.0 © INRIA 2004-2006
+ V8.1 © INRIA 2006-2008
+ V8.2 © INRIA 2008-2009
+
+
+
This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the latest version is presently available at http://www.opencontent.org/openpub ). Options A and B are not elected.
+
+
+
+
+
+
+ 1
+ This research was partly supported by IST working group ``Types''
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/doc/common/styles/html/simple/style.css b/doc/common/styles/html/simple/style.css
new file mode 100644
index 0000000000..0b1e640b38
--- /dev/null
+++ b/doc/common/styles/html/simple/style.css
@@ -0,0 +1,13 @@
+#footer {
+ border-top: solid black 1pt;
+ text-align: center;
+ text-indent: 0pt;
+}
+
+.menu { }
+.menu li {
+ display: inline;
+ margin: 0pt;
+ padding: .5ex 1em;
+ list-style: none
+}
\ No newline at end of file
diff --git a/doc/common/styles/html/simple/styles.hva b/doc/common/styles/html/simple/styles.hva
new file mode 100644
index 0000000000..765c03850e
--- /dev/null
+++ b/doc/common/styles/html/simple/styles.hva
@@ -0,0 +1,45 @@
+\renewcommand{\@meta}{
+\begin{rawhtml}
+
+Reference Manual | The Coq Proof Assistant
+
+
+
+
+\end{rawhtml}}
+
+% for HeVeA
+
+\htmlhead{\begin{rawhtml}
+
+
+
+
+
+
+
+\end{rawhtml}}
+
+\htmlfoot{\begin{rawhtml}
+
+
+
+
+
+\end{rawhtml}}
+
diff --git a/doc/refman/cover.html b/doc/refman/cover.html
deleted file mode 100644
index 317b781de9..0000000000
--- a/doc/refman/cover.html
+++ /dev/null
@@ -1,134 +0,0 @@
-
-
-
-Cover Page
-
-
-Reference Manual | The Coq Proof Assistant
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Reference Manual
-
-
- Version trunk1
-
-
-The Coq Development Team
-
-
-
-
-
- V7.x © INRIA 1999-2004
- V8.0 © INRIA 2004-2006
- V8.1 © INRIA 2006-2008
- V8.2 © INRIA 2008-2009
-
-
-
This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the latest version is presently available at http://www.opencontent.org/openpub ). Options A and B are not elected.
-
-
-
-
-
-
- 1
- This research was partly supported by IST working group ``Types''
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/doc/refman/styles.hva b/doc/refman/styles.hva
deleted file mode 100644
index 55b14ffae3..0000000000
--- a/doc/refman/styles.hva
+++ /dev/null
@@ -1,97 +0,0 @@
-\renewcommand{\@meta}{
-\begin{rawhtml}
-
-Reference Manual | The Coq Proof Assistant
-
-
-
-
-
-
-
-
-
-
-\end{rawhtml}}
-
-% for HeVeA
-
-\htmlhead{\begin{rawhtml}
-
-
-
-
-
-
-
-\end{rawhtml}}
-
-\htmlfoot{\begin{rawhtml}
-
-
-
-
-
-
-
-
-
-
-\end{rawhtml}}
-
--
cgit v1.2.3