From c78decbcac771488026faf6dd34a97c33a41d727 Mon Sep 17 00:00:00 2001 From: Jeroen Hellingman Date: Wed, 12 Jun 2024 22:35:09 +0200 Subject: [PATCH] Update documentation --- Wiki/Configuration.adoc | 118 +++++++++++++++++++++++++------------- modules/configuration.xsl | 30 +++++----- modules/copyright.xsl | 2 +- modules/css.xsl | 40 ++++++------- modules/divisions.xsl | 2 +- modules/figures.xsl | 3 +- 6 files changed, 117 insertions(+), 78 deletions(-) diff --git a/Wiki/Configuration.adoc b/Wiki/Configuration.adoc index 50317187..a7429f9f 100644 --- a/Wiki/Configuration.adoc +++ b/Wiki/Configuration.adoc @@ -6,78 +6,111 @@ It is only necessary to specify those items that differ from the default in your === Current Status -The default configuration file is: +The default configuration file is given below. Its actual value can be found in the `modules/configuration.xsl`. [source,xml] ---- - false + false INFO WARNING ERROR DEBUG - en-US - en-US + false + + en-US + en-US + + false true false - ¬ + ¬ - - style/arctic.css - true - true - true - true + true + false + + false + false + false + false - false - false true - false false - always - false - false - true + always + false + https://www.pgdp.net/; https://www.gutenberg.org/; pg:; music/; images/ + + false - true + true ,, - word + word - true - [ - ] + true + [ + ] false - true - page-images - false - + true + page-images + - ° - ° - block + true + chapter + ° + ° + block + true true + 1.0 + 100 + 720 + 720 + + false - ()[]{} - “”‘’«»„” - false + ()[]{} + “”‘’«»„” true true true - i.e.; I.e.; e.g.; E.g.; A.D.; B.C.; P.M.; A.M. + false + true + i.e.; I.e.; e.g.; E.g.; A.D.; B.C.; P.M.; A.M. - 2 + false + + false + true + + false + false + + style/arctic.css + true + true + false + true + 2 Walbaum-Fraktur UnifrakturMaguntia + true true + false + true true true - 20 + 20 . , @@ -85,20 +118,27 @@ The default configuration file is: right ( ) + true + formulas + formulas SVG+IMG TeX-MML-AM_SVG - + - true + true + + + true false - always - true + always + true false + false MML diff --git a/modules/configuration.xsl b/modules/configuration.xsl index 962b98c3..a17946d8 100644 --- a/modules/configuration.xsl +++ b/modules/configuration.xsl @@ -53,16 +53,16 @@ false INFO WARNING ERROR DEBUG - false + false - en-US - en-US + en-US + en-US false true false - ¬ + ¬ - true @@ -70,21 +70,21 @@ false false - false + false false true false - always false https://www.pgdp.net/; https://www.gutenberg.org/; pg:; music/; images/ - false + false true ,, @@ -100,12 +100,12 @@ true - chapter + chapter ° ° - block + block - + true true 1.0 @@ -126,7 +126,7 @@ false - false + false true false @@ -137,7 +137,7 @@ true false true - 2 + 2 Walbaum-Fraktur UnifrakturMaguntia @@ -158,8 +158,8 @@ ( ) true - formulas - formulas + formulas + formulas SVG+IMG TeX-MML-AM_SVG diff --git a/modules/copyright.xsl b/modules/copyright.xsl index 41bb8638..0abebf5c 100644 --- a/modules/copyright.xsl +++ b/modules/copyright.xsl @@ -18,7 +18,7 @@ Functions to determine copyright status This stylesheet contains several functions to - determine copyright status of a TEI file, based on data in + determine the copyright status of a TEI file, based on data in the header. This is a rough approximation, intended to quickly filter out works that are potentially under copyright in a certain jurisdiction, and should not be diff --git a/modules/css.xsl b/modules/css.xsl index 0a06b953..1f42b73a 100644 --- a/modules/css.xsl +++ b/modules/css.xsl @@ -428,29 +428,29 @@ - - - + + + - - - - + + + + - + - + - - - - + + + + - - - + + + @@ -473,7 +473,7 @@ - + + - + - + diff --git a/modules/divisions.xsl b/modules/divisions.xsl index 2e6396b3..6a0b6cc8 100644 --- a/modules/divisions.xsl +++ b/modules/divisions.xsl @@ -467,7 +467,7 @@

There are two ways to indicate such images. 1. Use the @rend attribute on the head with a rendition element image(image.jpg) and 2. Place a @rend attribute on a figure in the division, with a rendition element position(abovehead). - The first method is appropriate for decorative images without accompanying text, the second can + The first method is appropriate for decorative images without text, the second can be used if a title and legend needs to appear with the image.

diff --git a/modules/figures.xsl b/modules/figures.xsl index 1f2043f3..177a23e9 100644 --- a/modules/figures.xsl +++ b/modules/figures.xsl @@ -420,8 +420,7 @@ width:{$width}; Handle a figure element. -

This template handles the figure element. It takes care of positioning figure annotations (title, legend, etc.) - and in-line loading of the image in HTML.

+

This template handles the figure element. It takes care of positioning figure annotations (title, legend, etc.) and in-line loading of the image in HTML.