diff -r b7a092a52eae -r 33c7e20efcb7 src/cm/media/js/client/f_printDialog.js --- a/src/cm/media/js/client/f_printDialog.js Mon Aug 06 13:42:15 2012 +0200 +++ b/src/cm/media/js/client/f_printDialog.js Mon Aug 06 17:51:25 2012 +0200 @@ -84,7 +84,12 @@ if (gCurrentAction == 'print') disableMarkersColorsChoice = ((nb_comments == 0) || (which == 'none')); if (gCurrentAction == 'export') - disableMarkersColorsChoice = ((nb_comments == 0) || (which == 'none') || (method == 'markdown') || (method == 'latex') || (method == 'epub') || (method == 'odt') || (method == 'doc')) ; + // No colors for: + // 1. no comments + // 2. pandoc generated formats (markdown, latex, epub) + // 3. odt and doc, for some reasons abiword cannot export background-color for these formats + // 4. XML export (used for re-import) + disableMarkersColorsChoice = ((nb_comments == 0) || (which == 'none') || (method == 'markdown') || (method == 'latex') || (method == 'epub') || (method == 'odt') || (method == 'doc') || (method == 'xml')) ; if (disableMarkersColorsChoice) $("#p_color").val('no');