darioteixeira / lambdoc

Lambdoc is a library providing support for semantically complex documents in Ocsigen web applications
GNU General Public License v2.0
17 stars 1 forks source link

\picture width is pixels, documentation says percentage #19

Open edwintorok opened 9 years ago

edwintorok commented 9 years ago

\picture<width=50>{x.png}{x}. The HTML created by lambcmd contains the number specified for width as is, and presumably interpreted as pixels, whereas the documentation says it is a percentage. Using an explicit percentage such as \picture<width=50%>{x}{x} is rejected.

darioteixeira commented 9 years ago

The documentation is correct, but the code may not be... :-) I'll have to check this.