diff --git a/.gitignore b/.gitignore
index 7d8e14ba4aab822e7ff4ec5adbb98a757f887b21..4f0c8ef541f98deea2f481866352a79dfc7c742b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,15 +1,4 @@
-*/input/
-*/tmp/
-*/output/
-wikipedia_to_hdoc/result/*
-wikipedia_to_hdoc/tmp/*
-wikipedia_to_hdoc/hdoc_to_opale/tmp/*
-wikipedia_to_hdoc/output/*
-mindmapping_to_opale/result/*
-mindmapping_to_opale/tmp/*
-mindmapping_to_lexique/result/*
-mindmapping_to_lexique/tmp/*
-mindmapping_to_optim/result/*
-mindmapping_to_optim/tmp/*
-mindmapping_to_hdoc/result/*
-mindmapping_to_hdoc/tmp/*
\ No newline at end of file
+*/input/*
+*/tmp/*
+*/output/*
+!*/input/sample.*
\ No newline at end of file
diff --git a/hdoc_to_opale/README b/hdoc_to_opale/README
new file mode 100644
index 0000000000000000000000000000000000000000..cf6fca8b64ec3b3dc48cbd9642dccfca2eb9949c
--- /dev/null
+++ b/hdoc_to_opale/README
@@ -0,0 +1,18 @@
+Usage
+-----
+
+Put the `.hdoc` files in the input folder, run `run.bat` or `run.sh` according to your operating system and get the .scar in the output folder.
+Now, the script is able to manage several files.
+
+
+Todo list
+---------
+
+- Refactor the ant script
+- Resolve bugs
+- (Optional) Port to XSLT 2.0
+
+Bugs
+----
+
+- Table cell size
diff --git a/hdoc_to_opale/hdoc_to_opale.ant b/hdoc_to_opale/hdoc_to_opale.ant
index 560adf80c70ef216605b9b3dd675ed6d990b2d42..be244a8815ae2c0e93b8d2f88ead4617174bddb3 100644
--- a/hdoc_to_opale/hdoc_to_opale.ant
+++ b/hdoc_to_opale/hdoc_to_opale.ant
@@ -1,118 +1,206 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/hdoc_to_opale/myantce.ant b/hdoc_to_opale/myantce.ant
deleted file mode 100644
index be244a8815ae2c0e93b8d2f88ead4617174bddb3..0000000000000000000000000000000000000000
--- a/hdoc_to_opale/myantce.ant
+++ /dev/null
@@ -1,206 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/hdoc_to_opale/run.bat b/hdoc_to_opale/run.bat
index 69e817a0d696588c0f3c71addd677a1cbbd035af..c0fe55b44d6cdc91469951feb93c5c625fd952d2 100644
--- a/hdoc_to_opale/run.bat
+++ b/hdoc_to_opale/run.bat
@@ -1,6 +1,6 @@
@echo off
set lib=lib
-set ant=myantce.ant
+set ant=hdoc_to_opale.ant
set antparam=-Dprogram.param=%1
set scJarList=%lib%\*
diff --git a/hdoc_to_opale/run.sh b/hdoc_to_opale/run.sh
index d8c767f14c268d3d2a3b77f039a655a448ed9c36..ce423cd6c15f79de13c7bfc7acede7bf1f1c24d3 100755
--- a/hdoc_to_opale/run.sh
+++ b/hdoc_to_opale/run.sh
@@ -1,6 +1,6 @@
#!/bin/sh
lib="lib"
-ant="myantce.ant"
+ant="hdoc_to_opale.ant"
antparam="-Dprogram.param=$1"
#Recherche de java et controle que se soit une version SUN
diff --git a/mindmapping_to_hdoc/xslt/sect.xsl b/mindmapping_to_hdoc/xslt/sect.xsl
index 551f739cdb965cd85792e2fec91b49d5b2539bdc..7788961c0b57242c680995ea5c23e9da3a21dc6b 100755
--- a/mindmapping_to_hdoc/xslt/sect.xsl
+++ b/mindmapping_to_hdoc/xslt/sect.xsl
@@ -27,7 +27,7 @@
-
+
@@ -39,7 +39,7 @@
@@ -49,7 +49,7 @@
Introduction
introduction
-
+
@@ -63,7 +63,7 @@
@@ -84,7 +84,7 @@
@@ -95,7 +95,7 @@
-
+
@@ -104,9 +104,9 @@
#
-
+
-
+
@@ -114,43 +114,14 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
diff --git a/mindmapping_to_opale/mindmapping_to_opale.ant b/mindmapping_to_opale/mindmapping_to_opale.ant
index 226ee84e5479860a0e6ef6b9faed7e62a0a6215d..8bdb5533f92fb21fd1785165f887434d51790d44 100755
--- a/mindmapping_to_opale/mindmapping_to_opale.ant
+++ b/mindmapping_to_opale/mindmapping_to_opale.ant
@@ -82,7 +82,7 @@
This is a Windows machine.
-
+
@@ -91,7 +91,7 @@
This is an Unix machine.
-
+
diff --git a/mindmapping_to_opale/samples/MindMapping.mm b/mindmapping_to_opale/samples/MindMapping.mm
new file mode 100644
index 0000000000000000000000000000000000000000..9b3f311f997ae9f27cfdc19f81b2f169d6f48c85
--- /dev/null
+++ b/mindmapping_to_opale/samples/MindMapping.mm
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/optim_to_hdoc/input/sample.scar b/optim_to_hdoc/input/sample.scar
new file mode 100644
index 0000000000000000000000000000000000000000..d3a713bdae118d7a5ed454e08f2443d917380ff1
Binary files /dev/null and b/optim_to_hdoc/input/sample.scar differ
diff --git a/optim_to_hdoc/optim_to_hdoc.ant b/optim_to_hdoc/optim_to_hdoc.ant
index b64c70ab0ba979b8b4725d3094eeb28c74c71d59..5eb7989daad78e74989064cbe55f1259bbf67cc5 100644
--- a/optim_to_hdoc/optim_to_hdoc.ant
+++ b/optim_to_hdoc/optim_to_hdoc.ant
@@ -49,6 +49,8 @@
+
+
@@ -63,6 +65,20 @@
+
+