Hi again Dave
Have a look at:
http://www.gnu.org/software/emacs/manual/html_node/emacs/Text-and-Binary.htmlI don't use emacs myself, made a little script for conversions, but the pager seems to be the place.
/Niels
On Apr 30, 2011, at 12:42 PM, Dave Pawson wrote:
> 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>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
docbook-apps-unsubscribe@lists.oasis-open.org> For additional commands, e-mail:
docbook-apps-help@lists.oasis-open.org>