[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] programlistings, double spaced?
On Sat, 30 Apr 2011 11:27:57 +0100 Dave Pawson <davep@dpawson.co.uk> wrote: > > > I'm using programlisting, with xincluded content. > What is already a long listing is now double spaced when > I look at the PDF output (docbook 5). > > Anyone resolved this please? > > The fo is > > <?xml version="1.0" encoding="utf-8"?>
 > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
 > 
 > <fo:layout-master-set> 
 > <!-- -->
 > <!-- Page descriptions -->
 > <!-- SPM 1, basic page All regions > present--> 
 <fo:simple-page-master > 
 > > Note the (additional I think) & # x D ; at each line end? > > How to get rid of these? > Linux based if it makes a difference. Yes, it does make a difference? I'm on Linux, but using emacs a new file comes up in DOS ... mode/encoding? C-x RET f unix changes the file to a Linux file.... and the & # x D ; disappear and the programlisting is nicely displayed! How to persuade emacs to generate unix encoding for new files anyone? -- regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]