First
bbedit hexdump showed xep was all 0A - no 0D0A
sublime found \n but could not find \r\n
but oxygen hexdump showed 0D0A when I opened it in oxygen
Is oxygen re-setting the line endings?
I followed your instructions:
>Oxygen Preferences->"Global", uncheck the "Detect line separator on open" checkbox, set the "Line separator" combo box to "Unix-like", save the settings, then open the "xep" script in Oxygen, make a small change to it, then save to force using unix-style line separators>
and now transformation to a non-exiting lpp.pdf file went to completion OK with Transformation successful
Second:
But I got a new error:
The file "lpp.pdf" could not be opened. It may be damaged or use a file format that Preview doesn't recognise.
The file lpp.pdf file is created and file lpp.pdf gives
XML 1.0 document text, UTF-8 Unicode text
and head gives:
ron@Ronalds-MacBook-Pro ~ % head git/lpp/PDFout/lpp.pdf
<?xml version="1.0" encoding="UTF-8"?>
<?xep-pdf-drop-unused-destinations false?>
<xep:document xmlns:xep="
http://www.renderx.com/XEP/xep" producer="XEP 4.30.961" creator="DocBook XSL Stylesheets V1.79.2" author="Ron Catterall " title="Lone Pine Pendle">
<xep:internal-bookmark label="Lone Pine Pendle" font-style="normal" font-weight="400" id="1" parent-id="0" collapse-subtree="true" destination-id="LonePinePendle" destination="1" destination-x="40500" destination-y="506970">
<xep:gray-color gray="0.0"/>
</xep:internal-bookmark>
<xep:internal-bookmark label="Table of Contents" font-style="normal" font-weight="400" id="2" parent-id="0" collapse-subtree="false" destination-id="toc...LonePinePendle" destination="5" destination-x="40500" destination-y="506970">
<xep:gray-color gray="0.0"/>
</xep:internal-bookmark>
Any idea what this poblem is?
Ron