[RkWard-devel] export via ghostscript added to Export (new)

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Sun Feb 25 18:00:06 UTC 2007


Hi Prasenjit,

On Saturday 24 February 2007 10:56, Prasenjit Kapat wrote:
> $ svn commit -m "Added ghostscript support to Export (new)"
> Sending        rkward/rkward/plugins/x11device/export_new.php
> Sending        rkward/rkward/plugins/x11device/export_new.rkh
> Sending        rkward/rkward/plugins/x11device/export_new.xml
> Transmitting file data ...
> Committed revision 1467.

not strictly necessary to post this information. There's the mailing list 
rkward-cvs (from the time, when we uses CVS instead of SVN, and we can't 
simply change the list name), which get's an auto-generated mail for each 
single commit. It's pretty useful for tracking everything that's going on in 
SVN, BTW, but has a considerable volume.

> @Thomas,
> Let me know how this looks. Is this close to what you had in mind? One
> concern here is the default resolution: 96 (for jpg/png) and 72 (for
> ghostscript). I have tried to document it in the help file.

Actually, I didn't actually have a truly specific idea in mind. I think the UI 
you created seems pretty useful and straightforward. I like it.

As to the 72 vs. 96 issue: I don't think this should worry us too much. I 
don't think there's any striking reason why R uses these two different 
defaults, but users in want of a specific resolution will set that manually, 
anyway.

I've done one little change in SVN:
Removed
<connect client="autores.state" governor="isnotGS"/>
and added:
<connect client="autores.enabled" governor="isJPEGPNGGS"/>
The first I did not really understand. Why should there be special handling 
for GS vs. not GS for this option? Also, while this is supported, it's 
probably a good idea to avoid setting the state according to the value of a 
different GUI option, as this might change a settings, the user has just 
made. Instead, it's generally preferable to simple enable/disable. (It would 
be a different thing for the "selectable defaults" we've discussed a while 
back. In this case, of course GUI options could be expected to change; but 
this isn't implemented, yet, anyway).
The second makes sure the autores box is disabled for PDF/Postscript.

I'll leave the old export plugin in the sources for another short while, but I 
consider it obsolete, now, and will remove it before the next release.

Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20070225/54300ce8/attachment.sig>


More information about the Rkward-devel mailing list