GNOME Bugzilla – Bug 568860
Spreadsheet colored text appears black on latex export
Last modified: 2009-02-21 13:46:05 UTC
When a spreadsheet is 'saved as' latex 2e, any colored text will be black on the saved file. However, the appropriate latex construct for colored text is output, only with null values: \color[rgb]{0.00,0.00,0.00}
Andreas? this would appear to be in plugins/html/latex.c which says... gsf_output_printf (output, "{\\color[rgb]{%.2f,%.2f,%.2f} ", (double)r/65535, (double)g/65535, (double)b/65535); Since UINT_RGBA_R is defined as #define UINT_RGBA_R(x) (((guint)(x))>>24) it appears that "(double)r/65535" should have been "r/255.0" etc.
Morten: You mean like in print-cell.c?! You ae of course right.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
*** Bug 572629 has been marked as a duplicate of this bug. ***