You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While comparing Chapter 2 of the MyST/HTML version against the PDF, I noticed the following discrepancies and possible rendering issues.
I would appreciate it if you could take a look when you have time!
1. Extra figure number/caption causes all Chapter 2 figure numbers to shift by one
PDF: The conjugacy diagram appears without a figure number or caption.
HTML: The same diagram is rendered as “Figure 2.1” with a caption, but the mathematical notation in the caption appears partly as plain text and is split awkwardly across lines, as shown below.
Issue: The HTML seems to introduce an extra figure number and caption that are not present in the PDF, and the caption also has a math-rendering issue. This appears to shift all subsequent figure numbers in Chapter 2 by one.
For example:
PDF: The Newton’s method figure is numbered as “Figure 2.1.”
HTML: The same figure is numbered as “Figure 2.2.”
2. Minor formatting difference in exercise/theorem-like labels
PDF: Exercise, proposition, lemma, and theorem labels include a period after the number, e.g. Exercise 2.1.2.
HTML: The corresponding labels appear without the period after the number, e.g. Exercise 2.1.2
Issue: The numbering itself seems correct, but the label formatting differs from the PDF. This may be a minor difference, but I wanted to flag it in case strict visual parity with the PDF is desired.
3. The partially ordered set conditions are split incorrectly
PDF: In Section 2.2.1.1, the three conditions for a partial order are displayed together with their corresponding property names: “reflexivity”, “antisymmetry”, and “transitivity”.
HTML: The three mathematical conditions are rendered as items 1–3, while the corresponding property names are incorrectly rendered as separate items 4–6, as shown below:
Issue: The HTML separates the property names from the mathematical conditions they belong to, which changes the structure of the display and makes the list misleading.
This appears to be the same type of rendering issue as item 11 in the Chapter 1 issue (#26).
4. Raw LaTeX source appears in Example 2.2.2
PDF: In Example 2.2.2, the definition of the pointwise partial order is rendered correctly as a mathematical display as follows:
HTML: The corresponding display appears as raw LaTeX source: given $u, v$ in $\RR^\Xsf$, set $u \leq v$ if $u(x) \leq v(x)$ for all $x \in \Xsf$..
Issue: The mathematical display in Example 2.2.2 is not rendered as math in the HTML. Instead, raw LaTeX source is shown directly.
5. The not-equal sign can break incorrectly on narrower screens in Exercise 2.2.8
PDF: In Exercise 2.2.8, the condition is rendered correctly as u ≠ v.
HTML: On a wide screen, the same condition is rendered correctly as u ≠ v. However, at some narrower browser widths, the not-equal sign breaks and appears as something like u / = v.
Issue: The not-equal sign seems to be split incorrectly at certain narrower screen widths.
When the screen is wide:
When the screen is narrowed:
6. List numbering differs from the PDF and becomes inconsistent with references in the text
PDF: Some theorem / lemma / exercise statements use “(i)”–“(v)” or “(a)”–“(d)”.
HTML: The corresponding lists are rendered as ordinary numbered list items, such as “1.”–“5.”.
Issue: The numbering style in the HTML differs from the PDF. More importantly, nearby text sometimes refers back to these items using the original PDF labels, such as “(i)”, “(v)”, or “(a)”–“(d)”. As a result, the list labels in the HTML become inconsistent with the references in the surrounding text.
Examples:
In Lemma 2.2.1, the PDF numbers the statements as “(i)”–“(v)”, while the HTML renders them as “1.”–“5.”. The following paragraph still refers to “(i)” and “(v)”.
The same issue also appears in Lemma 2.2.5, where statements numbered as “(i)” and “(ii)” in the PDF are rendered as “1.” and “2.” in the HTML.
It also appears in Exercise 2.3.2, where the PDF uses roman numerals such as “(i)”, while the HTML renders them as numbered list items such as “1.”.
In Lemma 2.3.5, the PDF labels the four items as “(a)”–“(d)”, while the HTML renders them as “1.”–“4.”. The text following the lemma refers to these items using “(a)”–“(d)”, so the HTML labels are inconsistent with the subsequent discussion.
This appears to be the same type of issue as item 15 in the Chapter 1 issue (#26).
7. Raw LaTeX source appears at the end of the paragraph before Blackwell’s condition
PDF: In Section 2.2.3.3, the paragraph before the statement of Blackwell’s condition is rendered correctly.
HTML: The corresponding text is broken and raw LaTeX source appears. The paragraph ends with something like implies $u, and the remaining part is rendered separately as a bullet-like item, e.g. c ¥in U$, as shown below:
Issue: The inline math at the end of this paragraph is not rendered correctly in the HTML. It also seems to break the paragraph structure, with part of the expression appearing as a separate bullet item.
8. Proof environments are numbered in the HTML but not in the PDF
PDF: Proof environments are not given numbers.
HTML: Proof environments are numbered, e.g. “Proof 2.2.3”. In some cases, this appears immediately after a numbered proposition or lemma, such as “Lemma 2.2.4”.
Issue: This differs from the PDF and may be slightly confusing, since the proof number does not match the number of the lemma being proved (as shown below). If the goal is strict parity with the PDF, it may be preferable not to number proof environments in the HTML.
9. Proof heading number does not match the proposition being proved
PDF: The proof of Proposition 2.2.7 is not given a separate proof number.
HTML: The proof is displayed under the heading “Proof 2.2.4”, while the proof itself begins with “Proof of Proposition 2.2.7.”
Issue: This is potentially confusing because the proof heading number does not match the proposition number being proved. If proof environments are numbered independently in the HTML, readers may wonder what “Proof 2.2.4” refers to.
This is related to item 8 above, and appears to be similar in spirit to item 17 in the Chapter 1 issue (#26).
10. Some math symbols look different from the PDF
PDF: Some symbols, such as the distribution symbol D(X) in the stochastic dominance paragraph and the self-map symbol S in Exercise 2.2.37, have a different style from the HTML.
HTML: The corresponding symbols look visually different from the PDF.
Hi @mmcky @jstac
While comparing Chapter 2 of the MyST/HTML version against the PDF, I noticed the following discrepancies and possible rendering issues.
I would appreciate it if you could take a look when you have time!
1. Extra figure number/caption causes all Chapter 2 figure numbers to shift by one
For example:
2. Minor formatting difference in exercise/theorem-like labels
Exercise 2.1.2.Exercise 2.1.23. The partially ordered set conditions are split incorrectly
This appears to be the same type of rendering issue as item 11 in the Chapter 1 issue (#26).
4. Raw LaTeX source appears in Example 2.2.2
given $u, v$ in $\RR^\Xsf$, set $u \leq v$ if $u(x) \leq v(x)$ for all $x \in \Xsf$..5. The not-equal sign can break incorrectly on narrower screens in Exercise 2.2.8
u ≠ v.u ≠ v. However, at some narrower browser widths, the not-equal sign breaks and appears as something likeu / = v.When the screen is wide:
When the screen is narrowed:
6. List numbering differs from the PDF and becomes inconsistent with references in the text
Examples:
This appears to be the same type of issue as item 15 in the Chapter 1 issue (#26).
7. Raw LaTeX source appears at the end of the paragraph before Blackwell’s condition
PDF: In Section 2.2.3.3, the paragraph before the statement of Blackwell’s condition is rendered correctly.
HTML: The corresponding text is broken and raw LaTeX source appears. The paragraph ends with something like
implies $u, and the remaining part is rendered separately as a bullet-like item, e.g.c ¥in U$, as shown below:8. Proof environments are numbered in the HTML but not in the PDF
9. Proof heading number does not match the proposition being proved
This is related to item 8 above, and appears to be similar in spirit to item 17 in the Chapter 1 issue (#26).
10. Some math symbols look different from the PDF
D(X)in the stochastic dominance paragraph and the self-map symbolSin Exercise 2.2.37, have a different style from the HTML.Kind regards,
Chihiro