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: Sebastien Vauban
Subject: Re: [O] [LibreOffice] (void-variable org-line)
Date: Fri, 29 Jun 2012 14:35:04 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (windows-nt)

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




reply via email to

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