From: Chris Cosentino (firstname.lastname@example.org)
Date: Wed Jun 02 2004 - 08:12:36 PDT
Exactly what I needed.
Wednesday, June 2, 2004, 10:53:31 AM, gkholman@CraneSoftwrights.com wrote:
GKH> At 2004-06-02 10:37 -0400, Chris Cosentino wrote:
>>Is there an easy (relatively) way to use XEP to create <PRE>-like
GKH> XSL-FO has many properties for a block that will help to get this output.
>>We currently have an inline element called <examplecode>. When
>>rendered through XEP the data is output in monospace bold font.
>>If line breaks were required, we would wrap it in para tags.
GKH> Not sure what you mean there.
>>The problem we have is that we want to render example code with proper
>>indentation. The simple solution
GKH> ... is to have the stylesheet not collapse the white space and to preserve
GKH> the linefeeds that it finds:
GKH> <block linefeed-treatment="preserve"
GKH> .... indented program text ...
GKH> Then decide if you want long lines clipped or wrapped using wrap-option=.
GKH> I hope this helps.
GKH> ........................ Ken
GKH> Public courses: Spring 2004 world tour of hands-on XSL instruction
GKH> Next: 3-day XSLT/XPath; 2-day XSL-FO - Birmingham, UK June 14,2004
GKH> World-wide on-site corporate, govt. & user group XML/XSL training.
GKH> G. Ken Holman
GKH> Crane Softwrights Ltd.
GKH> Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
GKH> Male Breast Cancer Awareness
GKH> Legal business disclaimers:
GKH> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
GKH> in the body of the message to email@example.com from the address
GKH> you are subscribed from.
GKH> (*) By using the Service, you expressly agree to these
GKH> Terms of Service http://www.renderx.com/tos.html
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to firstname.lastname@example.org from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
This archive was generated by hypermail 2.1.5 : Wed Jun 02 2004 - 08:27:21 PDT