glossarist / glossarist/iev-data

Some ordered lists not properly showing item numbers

Open
#17 0 comments 0 reactions 1 assignee Claimed by @HassanAkbar View on GitHub
bug
Dominant language
Ruby
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

e.g.: `103-02-01` (en)

```html
quantity representing the quantities in a finite set or in an interval,

  1. for n quantities , by the quotient of the sum of the quantities by n:

  2. for a quantity x depending on a variable t, by the integral of the quantity taken between two given values of the variable, divided by the difference of the two values:

Note 1 to entry: The mean value of a periodic quantity is usually taken over an integration interval the range of which is the period multiplied by a natural number.

Note 2 to entry: The mean value of the quantity x may be denoted by , by ⟨X⟩, or by Xa. Subscripts ar, av and moy are also used.

Note 3 to entry: The adjective "arithmetic" is only used to qualify the terms "mean" and "average" in order to distinguish them from the terms "geometric mean" and "geometric average", as well from "harmonic mean" and "harmonic average".

Note 4 to entry: The mean value can be generalized for a function of n variables, e.g. with a surface integral or an integral over a three-dimensional domain divided by the corresponding area or volume. See the examples in IEC 60050-102.
```

becomes:

```adoc
quantity representing the quantities in a finite set or in an interval,

. for stem:[n] quantities stem:[x_1 ,   x_2 ,     ...       x_n], by the quotient of the sum of the quantities by stem:[n]:

stem:[bar X = (1)/(n) ( x_1 + x_2 +       ...       + x_n )]

. for a quantity stem:[x] depending on a variable stem:[t], by the integral of the quantity taken between two given values of the variable, divided by the difference of the two values:

stem:[bar X = (1)/(( t_2 - t_1 )) ∫_(   t_1 )^(   t_2 ) x ( t ) d t]
```

And this fails because the formulas are actually part of the list item (`

  • `), but now AsciiDoc treats it as a separate paragraph after the `
  • `...

    Maybe https://github.com/metanorma/html2doc solves this?

  • Contributor guide

    No contributing guide indexed for this repository

    Assessment

    This issue has not been assessed yet.

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.