From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: [LibreOffice] (void-variable org-line) Date: Fri, 29 Jun 2012 14:35:04 +0200 Message-ID: <808vf647pj.fsf@somewhere.org> References: <80d34jkhjq.fsf@somewhere.org> <8162abn12g.fsf@gmail.com> <80bok3lkpc.fsf@somewhere.org> <81lij7bia7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Jambunathan, Jambunathan K wrote: >> 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). You must have a crystal ball... That's exactly it -- and I would never have thought at that, despite the message. > 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. I've updated Org, and retried the export -- without changing one single line to my document. It works perfectly. Thanks a lot, Jambunathan! Best regards, Seb -- Sebastien Vauban