This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: line breaks not reproduced in literallayout when usesaxon textinsert extension


/ Matthew Hobbs <mhobbs_of_lawson@bigpond.com> was heard to say:
| I want to include the contents of an external text file within my
| DocBook XML document without making the font monospaced, and retaining
| all linebreaks and whitespace within the file.  I've been trying this
| using saxon 6.5 (with textinsert extension) and the 1.49 XSL stylesheets
| to insert into a literallayout element.
|
| If I have a line like this in my document
|
| <literallayout><inlinegraphic format="linespecific"
| fileref="test.txt"/></literallayout>
|
| saxon inserts the file contents without changing font (good!) but loses
| linebreaks (bad!)  i.e. if the contents of "test.txt" is

Fixed.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | The great man is he who has not
http://www.oasis-open.org/docbook/ | lost the heart of a child.--Mencius
Chair, DocBook Technical Committee |


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]