From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Fraga, Eric" Subject: Re: Problem with org-mode odt exporter for styling exported src code blocks Date: Thu, 15 Aug 2019 11:34:04 +0000 Message-ID: <87imqy64t5.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60563) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyE1B-0000tW-45 for emacs-orgmode@gnu.org; Thu, 15 Aug 2019 07:34:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hyE19-0002JS-W0 for emacs-orgmode@gnu.org; Thu, 15 Aug 2019 07:34:08 -0400 Received: from mail-eopbgr40136.outbound.protection.outlook.com ([40.107.4.136]:36225 helo=EUR03-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hyE19-0002IV-N7 for emacs-orgmode@gnu.org; Thu, 15 Aug 2019 07:34:07 -0400 In-Reply-To: (Laurent Geneste's message of "Thu, 15 Aug 2019 12:51:08 +0200") Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Laurent Geneste Cc: "emacs-orgmode@gnu.org" On Thursday, 15 Aug 2019 at 12:51, Laurent Geneste wrote: > I try to change the style of src code blocks export with odt > exporter but it does not work as expected. It doesn't work for me either. I struggled with this some time ago and never did figure it out. I did learn a lot about the xml files ODT uses, mind you. ;-) Looking at you two .odt files, the styles.xml files differ *only* in the OrgSrcBlock definition. Is org maybe overriding this somehow/somewhere? Maybe have a look at ox-odt.el and look for the colour "#38393d". --=20 Eric S Fraga via Emacs 27.0.50, Org release_9.2.4-401-gfabd6d