emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: new latex exporter, 'Stack overflow in equal' with identical headings
@ 2012-07-16 13:19 Myles English
  2012-07-16 14:43 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Myles English @ 2012-07-16 13:19 UTC (permalink / raw)
  To: emacs-orgmode Mode

To reproduce:

1.   copy the ECM below to a buffer
2.   execute the lisp block
3.   "M-x org-export-dispatch RET l"

I would expect the orgmode doc to be exported to a latex buffer.  What
results is an error and the message "cdr: Stack overflow in equal bug"

My setup: started with 'emacs -Q' and with a recent git checkout at
~/.emacs.d/plugins/org-mode:
 commit 9028c4655f2d7f925de1e3ad6471900c78a8c000
 Date:   Tue Jul 10 15:30:51 2012 +0200

The error is caused by having two headings the same, although at
different levels, and both containing a backslash.

== begin org file ==
#+TITLE:     "Stack overflow in equal" ECM
#+OPTIONS: ^:{}

#+begin_src elisp
(add-to-list 'load-path
             "~/.emacs.d/plugins/org-mode/lisp")
(require 'org-install)
(add-to-list 'load-path
             "~/.emacs.d/plugins/org-mode/contrib/lisp")
(require 'org-export)
(require 'org-e-latex)
#+end_src

#+RESULTS:
: org-e-latex

* Heading One

** \cite{fernandez}

A.

* \cite{fernandez}
B.

== end org file ==

Emacs  : GNU Emacs 24.1.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10)
 of 2012-06-22 on bill
Package: Org-mode version 7.8.11 (release_7.8.11.139.g9028)

current state:
==============
(setq
 org-export-preprocess-before-selecting-backend-code-hook
'(org-beamer-select-beamer-code)
 org-tab-first-hook '(org-hide-block-toggle-maybe
org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe)
 org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-export-preprocess-before-normalizing-links-hook
'(org-remove-file-link-modifiers)
 org-confirm-shell-link-function 'yes-or-no-p
 org-export-latex-final-hook '(org-beamer-amend-header
org-beamer-fix-toc org-beamer-auto-fragile-frames
                               org-beamer-place-default-actions-for-lists)
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)

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

* Re: Bug: new latex exporter, 'Stack overflow in equal' with identical headings
  2012-07-16 13:19 Bug: new latex exporter, 'Stack overflow in equal' with identical headings Myles English
@ 2012-07-16 14:43 ` Nicolas Goaziou
  2012-07-16 20:10   ` Myles English
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2012-07-16 14:43 UTC (permalink / raw)
  To: Myles English; +Cc: emacs-orgmode Mode

Hello,

Myles English <mylesenglish@gmail.com> writes:

> To reproduce:
>
> 1.   copy the ECM below to a buffer
> 2.   execute the lisp block
> 3.   "M-x org-export-dispatch RET l"

I cannot reproduce it but I have pushed a change that may be related to
your problem (elements cannot be compared with `equal').

Could you pull latest version and try again?

Thank you.


Regards,

-- 
Nicolas Goaziou

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

* Re: Bug: new latex exporter, 'Stack overflow in equal' with identical headings
  2012-07-16 14:43 ` Nicolas Goaziou
@ 2012-07-16 20:10   ` Myles English
  0 siblings, 0 replies; 3+ messages in thread
From: Myles English @ 2012-07-16 20:10 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode Mode


Hi,

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Hello,
>
>> 1.   copy the ECM below to a buffer
>> 2.   execute the lisp block
>> 3.   "M-x org-export-dispatch RET l"
>
> I cannot reproduce it but I have pushed a change that may be related to
> your problem (elements cannot be compared with `equal').
>
> Could you pull latest version and try again?

Fixed!  (Though it could have been the latest commit or another recent
commit that actually fixed it for me.)

>
> Thank you.
>

No: thank you!

>
> Regards,


Myles

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

end of thread, other threads:[~2012-07-16 20:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-16 13:19 Bug: new latex exporter, 'Stack overflow in equal' with identical headings Myles English
2012-07-16 14:43 ` Nicolas Goaziou
2012-07-16 20:10   ` Myles English

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