OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Background for programlisting


Hi Frank, Thomas,

also thanks to you, the solution from Dean works very well.

Best regards, Lars

2012/6/15 Frank Arensmeier <farensmeier@gmail.com>:
> 15 jun 2012 kl. 01.03 skrev Lars Vogel:
>
>> Hello,
>>
>> I wanted to add a background color to my programming listings and
>> found an old post from Bob in which he suggested to add the following
>> to the customizing layer:
>>
>> <xsl:attribute-set name="shade.verbatim.properties">
>>   border-color="thin black ridge"
>>   background-color="silver"
>> </xsl:attribute-set>
>>
>> If I do this, I get an error:
>>
>>    [xslt] Unknown file:61:9: Fatal Error! Error reported by XML
>> parser Cause: org.xml.sax.SAXParseException; lineNumber: 61;
>> columnNumber: 9; expected '"' or "'" (found "b")
>>     [xslt] Failed to process null
>>
>> BUILD FAILED
>> /home/vogella/workspace/docu/de.vogella.publishing/buildpdf.xml:294:
>> javax.xml.transform.TransformerConfigurationException: Failed to parse
>> stylesheet
>>
>> Anyone knows what I'm doing incorrect?
>>
>> Best regards, Lars
>>
>> --
>> Lars
>
> Hi.
>
> Maybe it is the attribute value you have in "border-color"? "thin black ridge" is not a colour. Either you change the attribute to "border" or you change the value to a valid colour value.
>
> /frank
>



-- 
Lars
http://www.vogella.com - Eclipse, Android and Java Tutorials
http://www.twitter.com/vogella - Lars on Twitter


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]