git.iko.soy/typeable/pandoc
on master help sign in
Fix misleading note about image size conversions in MANUAL.

Closes #6353.

commit82eb4df284cd9f0f62836df9aea6f1aab0ed63e2 authorJohn MacFarlane <jgm@berkeley.edu> dateSun 10 May 2020, 17:20 (6 years ago) parent8fc5766
1 file changed+6−4
MANUAL.txt+6−4
MANUAL.txt+6−4
@@ -4594,10 +4594,12 @@ For example:
45944594![](file.jpg){ width=50% }
45954595```
45964596
4597−- Dimensions are converted to inches for output in page-based formats like
4598− LaTeX. Dimensions are converted to pixels for output in HTML-like
4599− formats. Use the `--dpi` option to specify the number of pixels per
4600− inch. The default is 96dpi.
4597+- Dimensions may be converted to a form that is compatible with
4598+ the output format (for example, dimensions given in pixels will
4599+ be converted to inches when converting HTML to LaTeX). Conversion
4600+ between pixels and physical measurements is affected by the
4601+ `--dpi` option (by default, 96 dpi is assumed, unless the image
4602+ itself contains dpi information).
46014603- The `%` unit is generally relative to some available space.
46024604 For example the above example will render to the following.
46034605 - HTML: `<img href="file.jpg" style="width: 50%;" />`