aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-05-10 17:20:47 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-05-10 17:20:47 -0700
commit82eb4df284cd9f0f62836df9aea6f1aab0ed63e2 (patch)
tree30b7f8a0d53e1fda5a03175006b72324a4a9edf6
parent8fc57664f88c2f8cc006d19f662b1f40927b83ec (diff)
downloadpandoc-82eb4df284cd9f0f62836df9aea6f1aab0ed63e2.tar.gz
Fix misleading note about image size conversions in MANUAL.
Closes #6353.
-rw-r--r--MANUAL.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 972a7d918..a170be3f1 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -4594,10 +4594,12 @@ For example:
![](file.jpg){ width=50% }
```
-- Dimensions are converted to inches for output in page-based formats like
- LaTeX. Dimensions are converted to pixels for output in HTML-like
- formats. Use the `--dpi` option to specify the number of pixels per
- inch. The default is 96dpi.
+- Dimensions may be converted to a form that is compatible with
+ the output format (for example, dimensions given in pixels will
+ be converted to inches when converting HTML to LaTeX). Conversion
+ between pixels and physical measurements is affected by the
+ `--dpi` option (by default, 96 dpi is assumed, unless the image
+ itself contains dpi information).
- The `%` unit is generally relative to some available space.
For example the above example will render to the following.
- HTML: `<img href="file.jpg" style="width: 50%;" />`