Hi Hussein ... > Peter Brooks wrote: > > > > I was having problems (still am) in getting reliable output ...
> Difficult to help you for this. I just doubt it could have been the > unindented output... I understand - it's just that everything seemed to be fine and then I noticed the odd format. I wasn't looking so much for an indented layout as for one that didn't start each line with a closing bracket ">" :) > > One thing I haven't found is a way to set the baseline ... > If you use "FO Converter - XSL Utility" (the graphical tool): > > * For generating RTF, then you really use *our* product. > Try with Transformation dialog option "Create intermediate FO file in > input directory instead of output directory" checked. I tried that - but then I was careful to keep input and output files in the same directory so that the entire process would be transportable to any part of the network (eventually). It didn't work. > * For generating PDF, then you in fact use OpenSource tool > called FOP ( > http://xml.apache.org/fop/ ), even if XSL Utility integrates it. > The same remark about option "Create intermediate FO..." applies too. > > But FOP, which we consider here as alpha quality software, > has also the > following bug: a graphics file name which should be relative to the FO > document is in fact relative to the current working directory > (`pwd` in > Unix parlance). > > Workaround 1: use absolute file names. > > Workaround 2: start XSL Utility in the directory that will contain the > generated FO document. Tried that too - still didn't work. The reason seems to be that the app is looking for a baseline directory, which I thought I might specify as a parameter (such as XFC_HOME or something similar), but so far no luck. It seems logical that it should be possible to use some kind of app-specific variable to make the setting... > We'll of course upgrade the FOP bundled with XSL Utility for the next > release of FO Converter, may be this bug will then be fixed. If all it needs is a path assigned to a system (or other) variable that should be pretty straightforward (I would hope :)). Thanks for all your help and suggestions - much appreciated. If I find a different workaround I'll let you know. Best wishes, Peter

