emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [LibreOffice] (void-variable org-line)


From: Jambunathan K
Subject: Re: [O] [LibreOffice] (void-variable org-line)
Date: Thu, 28 Jun 2012 20:22:32 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (windows-nt)

> 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.










-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]