From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: [LibreOffice] (void-variable org-line) Date: Thu, 28 Jun 2012 20:22:32 +0530 Message-ID: <81lij7bia7.fsf@gmail.com> References: <80d34jkhjq.fsf@somewhere.org> <8162abn12g.fsf@gmail.com> <80bok3lkpc.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkG5a-0006Oi-Fx for emacs-orgmode@gnu.org; Thu, 28 Jun 2012 10:53:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SkG5Q-0006PW-GT for emacs-orgmode@gnu.org; Thu, 28 Jun 2012 10:52:58 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:60986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkG5Q-0006Oj-7J for emacs-orgmode@gnu.org; Thu, 28 Jun 2012 10:52:48 -0400 Received: by dakp5 with SMTP id p5so3273610dak.0 for ; Thu, 28 Jun 2012 07:52:46 -0700 (PDT) In-Reply-To: <80bok3lkpc.fsf@somewhere.org> (Sebastien Vauban's message of "Thu, 28 Jun 2012 13:50:07 +0200") 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: Orgmode Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org > Debugger entered--Lisp error: (error "Cannot determine style name for > entity default of type character") I have pushed a fix. The problem is: There is a string that matches `org-emph-re'. (May be you are using @...@ for marking things specially). But there is no entry for it in `org-lparse-char-styles'. Since a style name was not found, org-odt.el is complaining. For now, such text spans will be marked with "Default" character style. If you want them to be marked with emphasis (or any of the known styles) then do, (eval-after-load 'org-lparse '(push (quote ("@" emphasis)) org-lparse-char-styles)) If want to roll out your own style (for example highlight the text span), you need to add relevant entries to `org-lparse-char-styles', `org-export-odt-default-org-styles-alist' and also the styles.xml. i.e., changes are going to be a bit elaborate. Jambunathan K. --