Feature #1548

Updated by Serge Heiden almost 4 years ago

* copy XML/w+CSV import to XTZ+CSV XTZ
** entry menu
** scripts in scripts/import
* add new source directory sub-directories management
** 'dtd' sub-directory contains the dtd files to use with XSLs
** 'css' sub-directory contains the css files to use with HTML pages in editions
** 'xsl' sub-directory contains different the xsl types of xsl sub-directories (if a directory is absent or empty it is not used)
*** '1-front' sub-sub-directory containing the xsl stylesheets to process the sources at the beginning of the import process (replaces the 'front XSL' section mecanism). process. The xsl are applied in the lexicographical order of their file names. (examples: split.xsl, merge.xsl...)
**** examples: split-texts.xsl, merge-files.xsl
*** '2-posttok' sub-sub-directory containing the xsl stylesheets to process the xml-txm representation of the sources after the tokenization phase (all words are encoded). The xsl are applied in the lexicographical order of their file names.
**** examples: reduce-caesura.xsl, build-word-ref.xsl
*** '3-edition' sub-sub-directory containing the xsl stylesheets to build the HTML edition from the xml-txm representation using the pagination done by the pager. The xsl are applied in the lexicographical order of their file names.
**** example: in order, 1-default-html.xsl, 2-default-pager.xsl, to build the 'default' edition followed by, 3-facs-html.xsl, 4-facs-html.xsl to build the facsimile edition to hold the images
**** all
xsl receive the following parameters: "number-words-per-page", "pagination-element", "import-xml-path".
** all sub-directories are copied to the binary corpus **** example
* modify the import form :
** add section "Plans textuels"
*** liste des balises codant le hors-texte (transform to Regexp)
*** liste des balises codant le hors-texte à éditer (affichées dans l'édition) (transform to Regexp)
** remove "front XSL" section
*** note: "add parameter" is broken
** move "font" section after "editions" and before "commands"
** modify Éditions section
*** "Editions" -> "Éditions"
*** **** add 'images' URI declaration (see below)
<pre>
[x] Construire l'édition

Nombre de mots par page [500] Élément de pagination [pb]
Répertoire local d'images de facsimilés [...]
</pre>

* transfert the edition macros into the XTZ import module

*Later*

Integrate the XMLText2MetadataCSV macro content to pull metadata from teiHeaders directly.

Back