From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: ODT export priority styling [9.0.9 (9.0.9-88-g251f88-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20170821/)] Date: Wed, 30 Aug 2017 08:13:12 +0200 Message-ID: <877exlr3bb.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmwFZ-0004kp-9c for emacs-orgmode@gnu.org; Wed, 30 Aug 2017 02:13:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmwFY-00013b-8Z for emacs-orgmode@gnu.org; Wed, 30 Aug 2017 02:13:17 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:52508) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dmwFY-000130-2b for emacs-orgmode@gnu.org; Wed, 30 Aug 2017 02:13:16 -0400 In-Reply-To: (Henry Todd's message of "Fri, 25 Aug 2017 18:14:59 +0800") 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: Henry Todd Cc: emacs-orgmode@gnu.org Hello, Henry Todd writes: > What I did: exported an Org doc to ODT via org-odt-export-to-odt > > Expected: priorities have "OrgPriority-A/B/C" styles assigned > > Observed: priorities have "Default Style" assigned > > > I've been working with ODT exports, and custom styling via an > ODT_STYLES_FILE header. While I can style the TODO string in a header > with the OrgTodo and OrgDone classes (are they called classes in > ODT-land?) I can't get priorities to work. > > I can see that there is an OrgPriorities style, with three descendant > styles for A, B and C. However, they don't appear to be applied, instead > the [A], [B] and [C] strings in the headers have Default Style assigned. > > Am I missing something obvious, or is this a bug? > > Here's a minimal test case to reproduce this behaviour: > > #+OPTIONS: pri:t num:nil toc:nil author:nil > * Minimal example > > ** TODO [#A] High priority item > ** TODO [#B] Normal priority item > ** TODO [#C] Low priority item Fixed. Thank you. Regards, -- Nicolas Goaziou