emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* problem with LaTeX exporter
@ 2007-08-24 21:24 Brian van den Broek
  2007-08-25 14:18 ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Brian van den Broek @ 2007-08-24 21:24 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

I've encountered a problem with the LaTeX export function. If I visit 
an org-mode file and invoke <C-c C-e L> I get the error message

Symbol's function definition is void: caddr

I followed the instructions in the manual to produce a backtrace. 
However, when I load emacs with org.el (as opposed to letting it load 
org.elc) the problem disappears. The backtrace generated when running 
org.elc on a minimal testing document is:

Debugger entered--Lisp error: (void-function caddr)
   caddr((t "LaTeX" "BEGIN_LaTeX" "END_LaTeX"))
   org-export-latex-cleaned-string()
   org-latex-cleaned-string-for-export(#("This file is for 
testing.\n\nIt has no real content.\n\n" 0 52 (fontified nil)) 
:for-html nil :comments nil :for-LaTeX t :skip-before-1st-heading nil 
:LaTeX-fragments nil)
   org-export-as-latex(nil nil nil "*Org LaTeX Export*")
   org-export-as-latex-to-buffer(nil)
   call-interactively(org-export-as-latex-to-buffer)
   org-export()
   call-interactively(org-export)


I also noticed that when I did the make/make install dance to install 
5.06, the make command produced a number of warnings concerning 
org-export-latex and related functions. The most pertinent seems:

In end of data:
org-export-latex.el:1212:1:Warning: the following functions are not 
known to
     be defined: caddr, cadddr

Since the make output is pretty big, I've put a temporary copy up at 
<http://home.cc.umanitoba.ca/~broek/orgmodemakeerror.txt>

I'm pretty new to emacs and org-mode has occasioned my first use of 
make in anger, so user error is entirely possible :-)

Any suggestions?

Thanks and best,

Brian vdB

^ permalink raw reply	[flat|nested] 7+ messages in thread

* problem with LaTeX exporter
@ 2007-08-24 21:33 Brian van den Broek
  0 siblings, 0 replies; 7+ messages in thread
From: Brian van den Broek @ 2007-08-24 21:33 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,


Sorry, I forgot some needed details in my last:

Emacs version 22.0.91.1 on ubuntu. Org-mode 5.06.

(I've just seen the 5.06b announcement. I will try that and see if it 
makes a difference. I will post only if it does.)

Best,

Brian vdB

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: problem with LaTeX exporter
  2007-08-24 21:24 problem with LaTeX exporter Brian van den Broek
@ 2007-08-25 14:18 ` Bastien
  2007-08-31  5:52   ` Brian van den Broek
  0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2007-08-25 14:18 UTC (permalink / raw)
  To: emacs-orgmode

Hi Brian,

Brian van den Broek <broek@cc.umanitoba.ca> writes:

> I've encountered a problem with the LaTeX export function. If I visit an
> org-mode file and invoke <C-c C-e L> I get the error message
>
> Symbol's function definition is void: caddr

I just forget to include (require 'cl) at compilation time. Fixed in the
next release. 

Thanks for reporting this!

-- 
Bastien

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: problem with LaTeX exporter
  2007-08-25 14:18 ` Bastien
@ 2007-08-31  5:52   ` Brian van den Broek
  2007-08-31  6:26     ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Brian van den Broek @ 2007-08-31  5:52 UTC (permalink / raw)
  To: emacs-orgmode

Bastien said unto the world upon 08/25/2007 10:18 AM:
> Hi Brian,
> 
> Brian van den Broek <broek@cc.umanitoba.ca> writes:
> 
>> I've encountered a problem with the LaTeX export function. If I visit an
>> org-mode file and invoke <C-c C-e L> I get the error message
>>
>> Symbol's function definition is void: caddr
> 
> I just forget to include (require 'cl) at compilation time. Fixed in the
> next release. 
> 
> Thanks for reporting this!


Hi Bastien and all,

With 5.07a, running the LaTeX exporter now produces ``Symbol's value 
as variable is void: footnote-section-tag-regexp.'' This time, it 
doesn't matter if I am using org.elc or org.el.

Thanks and best,

Brian vdB

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: problem with LaTeX exporter
  2007-08-31  5:52   ` Brian van den Broek
@ 2007-08-31  6:26     ` Bastien
  2007-08-31  6:52       ` Leo
  0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2007-08-31  6:26 UTC (permalink / raw)
  To: Brian van den Broek; +Cc: emacs-orgmode

Brian van den Broek <broek@cc.umanitoba.ca> writes:

> With 5.07a, running the LaTeX exporter now produces ``Symbol's value
> as variable is void: footnote-section-tag-regexp.'' This time, it
> doesn't matter if I am using org.elc or org.el.

Fixed in 0.28, along with other bugs:

  http://www.cognition.ens.fr/~guerry/u/org-export-latex.el

Thanks!

-- 
Bastien

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: problem with LaTeX exporter
  2007-08-31  6:26     ` Bastien
@ 2007-08-31  6:52       ` Leo
  2007-08-31  7:41         ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Leo @ 2007-08-31  6:52 UTC (permalink / raw)
  To: emacs-orgmode

On 2007-08-31 07:26 +0100, Bastien wrote:
> Brian van den Broek <broek@cc.umanitoba.ca> writes:
>
>> With 5.07a, running the LaTeX exporter now produces ``Symbol's value
>> as variable is void: footnote-section-tag-regexp.'' This time, it
>> doesn't matter if I am using org.elc or org.el.
>
> Fixed in 0.28, along with other bugs:
>
>   http://www.cognition.ens.fr/~guerry/u/org-export-latex.el
>
> Thanks!

Some warnings:

,----
| In org-export-latex-cleaned-string:
| org-export-latex.el:1155:25:Warning: reference to free variable `latexp'
| org-export-latex.el:1182:33:Warning: reference to free variable `re-quote'
| org-export-latex.el:1193:9:Warning: reference to free variable `commentsp'
`----

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

         Gnus is one component of the Emacs operating system.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: problem with LaTeX exporter
  2007-08-31  6:52       ` Leo
@ 2007-08-31  7:41         ` Bastien
  0 siblings, 0 replies; 7+ messages in thread
From: Bastien @ 2007-08-31  7:41 UTC (permalink / raw)
  To: emacs-orgmode

Leo <sdl.web@gmail.com> writes:

> Some warnings:
>
> ,----
> | In org-export-latex-cleaned-string:
> | org-export-latex.el:1155:25:Warning: reference to free variable `latexp'
> | org-export-latex.el:1182:33:Warning: reference to free variable `re-quote'
> | org-export-latex.el:1193:9:Warning: reference to free variable `commentsp'
> `----

Yes, that's a shame.  Please ignore them for now.

-- 
Bastien

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-08-31  7:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-24 21:24 problem with LaTeX exporter Brian van den Broek
2007-08-25 14:18 ` Bastien
2007-08-31  5:52   ` Brian van den Broek
2007-08-31  6:26     ` Bastien
2007-08-31  6:52       ` Leo
2007-08-31  7:41         ` Bastien
  -- strict thread matches above, loose matches on Subject: below --
2007-08-24 21:33 Brian van den Broek

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).