Thanks Hussein, Previoushly we were executing fo2rtf command with userguide.fo and it was giving same error. Now we executed by using ./make_sample and it is creating RTF file for 3 sample fo files but for userguide.fo it is giving same error.
Please see attached / below error. [dm...@syd-onlweb-p53 samples]$ ./make_samples Converting font-attributes.fo to rtf... Converting font-attributes.fo to word.xml... Converting font-attributes.fo to odt... Converting font-attributes.fo to docx... Converting lists.fo to rtf... Converting lists.fo to word.xml... Converting lists.fo to odt... Converting lists.fo to docx... Converting tables.fo to rtf... Converting tables.fo to word.xml... Converting tables.fo to odt... Converting tables.fo to docx... Converting userguide.fo to rtf... (.:21771): Gtk-WARNING **: cannot open display: Converting userguide.fo to word.xml... (.:21777): Gtk-WARNING **: cannot open display: Converting userguide.fo to odt... (.:21783): Gtk-WARNING **: cannot open display: Converting userguide.fo to docx... (.:21789): Gtk-WARNING **: cannot open display: @Chris / Nick, Could you please provide exact configuration/ version of linux box so Hussein can reverify. Regards Jay ________________________________________ From: Hussein Shafie [[email protected]] Sent: 06 December 2010 18:10 To: Gupta, Jayberdhan Cc: Sharma, Vinod; Tolhurst, Chris; Sprauel, Nicolas Subject: RE: FO to RTF not suppring in Linux box [email protected] wrote: > I downlaoded xmlmind personal edition(xfc_perso_java-4_4_1.zip) from site. > When I running fo2rtf.batch file from window XP then it is generating rtf > file but when I run fo2rtf(sh file) with same fo file into linux box then > getting below message > > GTK - warning **: Can not open display. In principle, the fo2XXX shell scripts do not need an X-Window server in order to run. ("display" mean "X-Window server" which Linux's standard Windowing system.) > > Please let me know if some setting changes are required at linux box. > > Thanks in advance. > > Regards > Jay > > I didn't manage to reproduce this problem. Therefore, I'm sorry but I cannot help you. In order to reproduce the above problem, I've tried this: $ cd XFC_install_dir/samples/ $ ./make_samples make_sample is a shell script which invokes all the fo2XXX shell scripts. I've tried this on *two* different Linux boxes, one running X-Window, the other being a headless, console only, linux box. Everything worked fine for me.
[dm...@syd-onlweb-p53 samples]$ ./make_samples Converting font-attributes.fo to rtf... Converting font-attributes.fo to word.xml... Converting font-attributes.fo to odt... Converting font-attributes.fo to docx... Converting lists.fo to rtf... Converting lists.fo to word.xml... Converting lists.fo to odt... Converting lists.fo to docx... Converting tables.fo to rtf... Converting tables.fo to word.xml... Converting tables.fo to odt... Converting tables.fo to docx... Converting userguide.fo to rtf... (.:21771): Gtk-WARNING **: cannot open display: Converting userguide.fo to word.xml... (.:21777): Gtk-WARNING **: cannot open display: Converting userguide.fo to odt... (.:21783): Gtk-WARNING **: cannot open display: Converting userguide.fo to docx... (.:21789): Gtk-WARNING **: cannot open display: [dm...@syd-onlweb-p53 samples]$
-- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support

