Re: [O] org-mode fontification error when exporting to LaTeX

2011-07-12 Thread David O'Toole
Hi,

try doing (setq debug-on-error t) and then re-export; this should give
you a backtrace.

but sometimes fontification stuff can have errors without backtraces.
try checking the *Messages* buffer. misbehaving font-lock rules and
improperly defined faces can also be issues.

On Tue, Jul 12, 2011 at 9:52 PM, Luke J Crook  wrote:
> I get an 'org-mode fontification error' when I export to LaTeX.
> Any idea what may be causing this?
>
> Thanks,
> -Luke
>
>
>



Re: [O] org-mode fontification error when exporting to LaTeX

2011-07-13 Thread Bastien
Hi Luke,

"David O'Toole"  writes:

> try doing (setq debug-on-error t) and then re-export; this should give
> you a backtrace.
>
> but sometimes fontification stuff can have errors without backtraces.
> try checking the *Messages* buffer. misbehaving font-lock rules and
> improperly defined faces can also be issues.

Yes -- also please give more details about your setup: what version 
of Org and Emacs?  What system?

Thanks!

-- 
 Bastien



Re: [O] org-mode fontification error when exporting to LaTeX

2011-07-13 Thread Luke J Crook
Bastien  altern.org> writes:

> Yes -- also please give more details about your setup: what version 
> of Org and Emacs?  What system?

I tracked it down to the following in my text;


- list item
  - list item
  - list item - Note :: Blah
  - list item - Note :: Blah
- list item

The error goes away when I correct this to the following;

- list item
  - list item
  - list item 
- Note :: Blah
  - list item 
- Note :: Blah
- list item


Thanks folks.
-Luke