James Elliott wrote:
> 
> The first one seems to be a bug, which I hope can be fixed easily in a
> future release. I needed to change my paper size to US Letter for PDF
> generation, and found instructions online that pointed me at Options ?
> Customize Configuration ? Change Document Conversion Parameters? I added
> a paper.type parameter to the ?Convert to PDF, PostScript? group, and
> all was fine. (Incidentally, I?m very impressed with how cleverly this
> dialog links to the DocBook XSL online documentation.)
> 
> The problem occurred when I left the editor and relaunched it later.
> Upon opening my DocBook document, I was greeted with the attached error
> message (in case the attachment doesn?t make it through the mailing
> list, a the content reads: ?Cannot load customization of configuration
> "DocBook" from "/Users/jim/Library/Application
> Support/XMLmind/XMLEditor4/custom/~44oc~42ook/conf": file
> /Users/jim/Library/Application
> Support/XMLmind/XMLEditor4/custom/~44oc~42ook/conf:1:42:Parse Error:
> Invalid encoding name "MacRoman".? (I am using XXE on a Mac, latest OS
> and Java versions.) And sure enough, my custom document conversion
> parameter settings were missing.

This is indeed a bug. It is specific to the Mac. This bug is in fact a
regression which appeared with version 4.



> By opening that configuration file in a text editor, and changing the
> encoding declaration to "UTF-8", I was able to launch XMLmind and
> successfully open my DocBook document, retaining my custom parameter
> settings. But I should not have to do that; I didn't ask XMLmind to save
> that document with a MacRoman encoding; there's no reason I'd want
> anything other than UTF-8 for my own documents, let alone internal
> documents used by the application. Can this be fixed in the future?

Sure. It will be fixed in next release. (Should be released in a couple
of weeks.)



> Until then is there a workaround I can apply to prevent it happening? 

Unfortunately, no.



> Or do I have to keep tweaking these documents in a text editor?

Yes. Sorry for that.



> 
> As an aside, the file name is weird. Why encode the capital D and B in
> "DocBook" as "~44oc~42ook"? Can that be fixed too? The online
> descriptions of manual customization I found suggested the directory
> should be named more readably.
> 

The files generated by "Options|Customize Configuration" are not meant
to be viewed and/or edited by the users (well, unless when XXE generates
buggy config files).

Hand-written customizations of existing configurations should reside in
"/Users/jim/Library/Application Support/XMLmind/XMLEditor4/addon/"


Reply via email to