Re: [docbook-apps] epub: how to set linear = 0

From
Leith Gahlgren
Date
2011-04-10T16:11:35+00:00
ID
BANLkTimacadOP98zUGA1j=
Thread
Re: [docbook-apps] epub: how to set linear = 0
On Sun, Apr 10, 2011 at 1:39 AM, Robert Nagle <> wrote:
> I would assume that for epub.cover.linear, if the value is 0, then
> linear is supposed to be "no". But by default it seems to show a yes
> value in my output. If I change the parameter to   <xsl:param
> name="epub.cover.linear" select="1" /> I get the exact same result.
>
> Is this a bug?

Yes, try

          <xsl:choose>
            <xsl:when test="$epub.cover.linear != 0">
              <xsl:text>yes</xsl:text>
            </xsl:when>
            <xsl:otherwise>no</xsl:otherwise>
          </xsl:choose>