-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output units in millimetres rather than centimetres #4012
Comments
Sounds reasonable to me! |
In Text.Pandoc.ImageSize, we have:
No Millimeter. That's why mm is converted. @mb21 - can you recall whether there was a reason why we don't have Millimeter? |
If I recall correctly, the reason was simply that in my personal experience |
I've pushed a commit that leaves 'mm' alone. |
Thank you! |
Pandoc 2 converts any use of millimetres to centimetres; it would be cleaner and more idiomatic to reverse this. In my experience, millimetres are more common (though not universal) when metric is used in book design, since they mostly eliminate the need for decimals; A4 paper, for example, is usually described as 297 × 210 mm. Avoidance of decimals is desirable particularly because the separator varies by language (Pandoc does not recognize '29,7 cm').
Example (version 2.0.0.1):
Result:
The text was updated successfully, but these errors were encountered: