emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug in org-element-footnote-definition-parser?
@ 2014-01-08 16:59 Mark Edgington
  2014-01-08 17:37 ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Edgington @ 2014-01-08 16:59 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1274 bytes --]

I have encountered the following error message when trying to export
to latex the attached example org file:

org-element-footnote-definition-parser: Invalid search bound (wrong
side of point)

What is curious is that changing the number of "xxxx"'s in [fn:1] to 2
instead of 3 allows it to compile.  Likewise, just changing the number
of 'words' in the second macro (5th column of the table) also can
eliminate the error and allow the document to compile.  Also, getting
rid of the #+BEGIN line also allows it to compile...

I have omitted the tree which contains data for generating the table,
which isn't relevant for reproducing the error / bug.  All of the
above comments are based on using git rev. 95416856 (Dec 26).

I also recently updated to d310a87605 (Jan 8), and instead get the error:

byte-code: Wrong number of arguments: #[(tree data) ...[binary
omitted]... [tree cl-struct-avl-tree--tags data avl-tree--do-delete 0
error "avl-tree--cmpfun accessing a non-avl-tree-" 2
"avl-tree--dummyroot accessing a non-avl-tree-" 1] 5
("/usr/share/emacs/23.3/lisp/emacs-lisp/avl-tree.elc" . 14229)], 4

Is there something wrong with my org-file? -- it seems like it
shouldn't be so hard to get it to compile, and that the errors
shouldn't be so obscure.

Regards,

Mark

[-- Attachment #2: fails_to_export_as_latex.org --]
[-- Type: text/x-org, Size: 1219 bytes --]

* Schedule
#+LATEX: {}\begin{landscape}
xxxxx xxxxx xxxxxx.
#+BEGIN: propview :id "sched_table" :defaultval "" :conds ((not (string= A ""))) :cols (A B C D E) :noquote t :colnames ("xxxx x" xxx "xxxxxxxx xxxxxxx" "xxxxxxxx[fn:1]" "xxxxxxxxx xxxxxxxxxxx / xxxxxxxx[fn:2]")
#+ATTR_LaTeX: :environment longtable :align lllp{3cm}l
| xxxx x | xxx | xxxxxxxx xxxxxxx      | xxxxxxxx[fn:1] | xxxxxxxxx xxxxxxxxxxx / xxxxxxxx[fn:2]             |
|--------+-----+-----------------------+----------------+----------------------------------------------------|
|      x | x   | xxxx {{{c(xxxxxxx)}}} |          xxxxx | xxxxx {{{c(xxx xxxxxx xxxxx xxx)}}} |
|--------+-----+-----------------------+----------------+----------------------------------------------------|
#+END:
#+LATEX: \end{landscape}

[fn:1] xxxx xxxx xxxx
[fn:2] xx xx 


* File Options                                                      :ARCHIVE:
** Export
#+LaTeX_HEADER: \usepackage[margin=0.75in]{geometry}
#+LaTeX_HEADER: \setlength{\marginparwidth}{1cm}
#+LaTeX_HEADER: \usepackage{lscape}
#+OPTIONS: toc:nil
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+OPTIONS: arch:nil
#+OPTIONS: ^:{}
** Macros
#+MACRO: c 

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

end of thread, other threads:[~2014-01-09 13:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-08 16:59 bug in org-element-footnote-definition-parser? Mark Edgington
2014-01-08 17:37 ` Nicolas Goaziou
2014-01-08 18:21   ` Nick Dokos
2014-01-09  4:30     ` Mark Edgington
2014-01-09 13:41       ` Nick Dokos

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