jbohren / beamerscape

Tools for building LaTeX Beamer overlays from Inkscape illustrations.
27 stars 10 forks source link

Fix format string to correctly escape '%' #4

Open llimeht opened 6 years ago

llimeht commented 6 years ago

A literal percent should be '%%' not '\%'. While '\% Layer' apparently worked with older versions of perl, the % now starts off a placeholder in the format string, with 'L' being a format modifier for '%a' (conversion to hexadecimal floating point) and the 'yer' pass through, hence the output '0x0p+0yer'

          %a    hexadecimal floating point

          q, L, or ll interpret integer as C type "long long",
                      "unsigned long long", or "quad" (typically
                      64-bit integers)

(from perlfunc(1))

Closes #3