From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [odt-export] Setting Text Colour for odt export Date: Fri, 20 Nov 2015 13:42:53 +0100 Message-ID: <87oaeo3kqa.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zzl1u-0005BZ-NJ for emacs-orgmode@gnu.org; Fri, 20 Nov 2015 07:43:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zzl1p-0004Tg-Mg for emacs-orgmode@gnu.org; Fri, 20 Nov 2015 07:43:06 -0500 Received: from plane.gmane.org ([80.91.229.3]:56192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zzl1p-0004Tc-GO for emacs-orgmode@gnu.org; Fri, 20 Nov 2015 07:43:01 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Zzl1n-0001W9-NE for emacs-orgmode@gnu.org; Fri, 20 Nov 2015 13:42:59 +0100 Received: from 62.80.108.12 ([62.80.108.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Nov 2015 13:42:59 +0100 Received: from rasmus by 62.80.108.12 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Nov 2015 13:42:59 +0100 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, Rainer M Krug writes: > I am using > > \color{red} some red text \color{black} and we continue with black > > to set the text colour for sections in my document for LaTeX export, but > this does obviously does not org for odt export. > > What can I use to achieve the same for odt export? You can use a macro. {{{color(text, red)}}}. You then specify a macro that inserts @@latex:{\color{red} text}@@@@odt:text@@, Unfortunately, it doesn’t seem like odt provides inline styles, so you may have to add new styles for each color; see: https://www.gnu.org/software/emacs/manual/html_node/org/Creating-one_002doff-styles.html Hope it helps, Rasmus -- One thing that is clear: it's all down hill from here