Wide PDF cover.
authorRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Fri, 7 Feb 2014 14:06:21 +0000 (15:06 +0100)
committerRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Thu, 20 Feb 2014 13:18:47 +0000 (14:18 +0100)
librarian/pdf/wl2tex.xslt

index e294beb..d39b61a 100644 (file)
@@ -60,8 +60,8 @@
         <env name="document">
             <xsl:if test="@data-cover-width">
                 <cmd name="makecover">
-                    <parm><xsl:value-of select="210 * @data-cover-width div @data-cover-height" />mm</parm>
                     <parm>210mm</parm>
+                    <parm><xsl:value-of select="210 * @data-cover-height div @data-cover-width" />mm</parm>
                 </cmd>
             </xsl:if>
                 <xsl:if test="@thanks">