| Commit | Date | |
|---|---|---|
|
[r9933]
by
milde
Revise/fix handling of length specification in the ODT writer. Use "px" as fallback unit for unitless image size attributes. Fix conversion factor of "pc" (pica) to "cm". Fix conversion of image width in "%" if the height is specified. Adjust fallback DPI value (currently not used) to match CSS units. Document that PIL/Pillow is always required if images are inserted |
2024-09-20 06:30:59 | Tree |
|
[r9932]
by
milde
Revise/fix handling of length specifications. Don't use the generic number-formatter "g" to drop trailing zeroes Refactor `writers._html_base.HTMLTranslator.image_size()`. Simplify `writers.latex2e.LaTeXTranslator.to_latex_length()`: |
2024-09-19 10:20:44 | Tree |
|
[r9931]
by
milde
HTML writers: Add "px" to unitless table "width" values. The table "width" attribute is of type "length", with optional unit. |
2024-09-15 11:13:43 | Tree |
|
[r9930]
by
milde
Use "unknown_reference_resolver" for LaTeX writer option "use-bibtex". The "latex" writer provides the (provisional) setting "use_bibtex" to defer Use the `unknown_reference_resolvers` hook of the `TransformSpec` to Advantages: * replaces hard-coded special-case in Update docstrings and comments. |
2024-09-13 08:13:03 | Tree |
| 2024-09-12 12:57:48 | Tree | |
|
[r9928]
by
milde
HTML5: use "width" and "height" for unitless image size values. Fixes [feature-requests:#102] The HTML `<img>` element supports "width" and "height" attributes to In Docutils, "width" and "hight" attributes also support a set of CSS Using HTML "width" and "hight" attributes for values without unit This change is not backported to the "html4css1" writer to keep The provisional method `HTMLTranslator.image_size()` now returns a |
2024-09-11 07:20:07 | Tree |
|
[r9927]
by
milde
Fix test samples containing installation-specific path. Use a relative path in the tests for external MathML converters |
2024-09-11 07:19:52 | Tree |
|
[r9926]
by
milde
Fixes for "scale" attribute handling in ODT and LaTeX writer. Remove redundant code in the ODT writer: Use the "generic" numeral format instead of "float" |
2024-09-11 07:19:41 | Tree |
| 2024-09-10 18:25:17 | Tree | |
| 2024-09-10 18:17:15 | Tree |