commit ff667b5e2cd9d7aabf8ffec3dfb0e2ba37dcbb33
parent 0f6e21860403a4051ee2748518d21f7c6769fab1
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Fri, 24 Jul 2026 12:27:10 +0200
Fix exponents on manpages
The \u \d pair of escape sequences are not properly rendered by man.
Additionaly, the man2html + tidy workflow used to generate html versions
of the manpages fails as man2html generates <font size="-2"> that is not
strict html5 syntax.
The only writting that seems to solve the problem is to use UTF8
characters for exponents; the \[uNNN] escape sequence doesn't work
properly.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/solstice-input.5 b/doc/solstice-input.5
@@ -318,7 +318,7 @@ The main
.Em sun
property is its direct normal irradiance, or
.Em dni
-in W\(md m\u\s-2\-2\s0\d.
+in W/m².
Its value is a scalar defining the direct irradiance received on a plane
perpendicular to the main sun direction.
The optional
@@ -340,7 +340,7 @@ reference 2
between 0.28 and 4 micrometres.
The total
.Em dni
-(integrated over the spectral range) was set to 1000 W\(md m\u\s-2\-2\s0\d.
+(integrated over the spectral range) was set to 1000 W/m².
The standard Mid-Latitude-Summer atmosphere was used with most gas
concentrations set as default (CO2 concentration assumed 400 ppmv).
.Pp
@@ -403,7 +403,7 @@ values can be found in reference 4
The
.Em atmosphere ,
when provided, describes the medium surrounding the solar plant.
-Its only parameter is its extinction coefficient in m\u\s-2\-1\s0\d,
+Its only parameter is its extinction coefficient in m⁻¹,
which can either be a scalar if the extinction is constant over the
spectrum, or can be spectrally described.
The extinction along light paths is only computed after the first