From: zwz <zhangweize@gmail.com>
To: emacs-orgmode@gnu.org
Subject: 6.29c export latex bug?
Date: Mon, 10 Aug 2009 23:26:22 +0200 [thread overview]
Message-ID: <871vnj743l.fsf@gmail.com> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 4679 bytes --]
Here is the content of my org file:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >
> * Test >
> | | A | B | >
> |-----+---+---| >
> | com | 1 | 2 | >
> | org | 3 | 4 | >
> >
> Some math formulae: >
> >
> y = x_1^2 + x_2^2 >
> >
> y^2 = 2x^2 + 1 >
> >
> z_2 = x_1 + x_2 + 2 (y_1 + y_2 + r) >
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >
Then I press C-c C-e l, I get the debug back-trace:
Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
replace-regexp-in-string("||" "|" nil)
org-export-latex-tables(t)
org-export-latex-content(#("\n | | A | B |\n |-----+---+---|\n | com | 1 | 2 |\n | org | 3 | 4 |\n\n Some math formulae:\n\n y = x_1^2 + x_2^2\n\n y^2 = 2x^2 + 1\n\n z_2 = x_1 + x_2 + 2 (y_1 + y_2 + r)\n\n\n" 0 1 (fontified nil) 1 3 (fontified nil org-caption nil org-attributes nil org-label nil) 3 5 (fontified nil org-caption nil org-attributes nil org-label nil) 5 6 (fontified nil hilit-chg hilit-chg org-caption nil org-attributes nil org-label nil) 6 7 (fontified nil hilit-chg hilit-chg org-caption nil org-attributes nil org-label nil) 7 8 (fontified nil hilit-chg hilit-chg org-caption nil org-attributes nil org-label nil) 8 9 (fontified nil hilit-chg hilit-chg org-caption nil org-attributes nil org-label nil) 9 10 (fontified nil hilit-chg hilit-chg org-caption nil org-attributes nil org-label nil) 10 18 (fontified nil org-caption nil org-attributes nil org-label nil) 18 19 (fontified nil) 19 21 (fontified nil) 21 36 (fontified nil) 36 37 (fontified nil) 37 39 (fontified nil org-caption nil org-attributes nil org-label nil) 39 54 (fontified nil org-caption nil org-attributes nil org-label nil) 54 55 (fontified nil) 55 57 (fontified nil org-caption nil org-attributes nil org-label nil) 57 72 (fontified nil org-caption nil org-attributes nil org-label nil) 72 117 (fontified nil) 117 174 (fontified nil) 174 175 (fontified nil) 175 176 (fontified nil)))
org-export-latex-subcontent(((pos . 2) (level . 1) (occur . 1) (heading . #(" Test " 1 2 ... 2 5 ...)) (content . #("\n | | A | B |\n |-----+---+---|\n | com | 1 | 2 |\n | org | 3 | 4 |\n\n Some math formulae:\n\n y = x_1^2 + x_2^2\n\n y^2 = 2x^2 + 1\n\n z_2 = x_1 + x_2 + 2 (y_1 + y_2 + r)\n\n\n" 0 1 ... 1 3 ... 3 5 ... 5 6 ... 6 7 ... 7 8 ... 8 9 ... 9 10 ... 10 18 ... 18 19 ... 19 21 ... 21 36 ... 36 37 ... 37 39 ... 39 54 ... 54 55 ... 55 57 ... 57 72 ... 72 117 ... 117 174 ... 174 175 ... 175 176 ...)) (subcontent)) t)
#[(x) "Â\b \"" [x num org-export-latex-subcontent] 3](((pos . 2) (level . 1) (occur . 1) (heading . #(" Test " 1 2 ... 2 5 ...)) (content . #("\n | | A | B |\n |-----+---+---|\n | com | 1 | 2 |\n | org | 3 | 4 |\n\n Some math formulae:\n\n y = x_1^2 + x_2^2\n\n y^2 = 2x^2 + 1\n\n z_2 = x_1 + x_2 + 2 (y_1 + y_2 + r)\n\n\n" 0 1 ... 1 3 ... 3 5 ... 5 6 ... 6 7 ... 7 8 ... 8 9 ... 9 10 ... 10 18 ... 18 19 ... 19 21 ... 21 36 ... 36 37 ... 37 39 ... 39 54 ... 54 55 ... 55 57 ... 57 72 ... 72 117 ... 117 174 ... 174 175 ... 175 176 ...)) (subcontent)))
mapc(#[(x) "Â\b \"" [x num org-export-latex-subcontent] 3] (((pos . 2) (level . 1) (occur . 1) (heading . #(" Test " 1 2 ... 2 5 ...)) (content . #("\n | | A | B |\n |-----+---+---|\n | com | 1 | 2 |\n | org | 3 | 4 |\n\n Some math formulae:\n\n y = x_1^2 + x_2^2\n\n y^2 = 2x^2 + 1\n\n z_2 = x_1 + x_2 + 2 (y_1 + y_2 + r)\n\n\n" 0 1 ... 1 3 ... 3 5 ... 5 6 ... 6 7 ... 7 8 ... 8 9 ... 9 10 ... 10 18 ... 18 19 ... 19 21 ... 21 36 ... 36 37 ... 37 39 ... 39 54 ... 54 55 ... 55 57 ... 57 72 ... 72 117 ... 117 174 ... 174 175 ... 175 176 ...)) (subcontent))))
org-export-latex-sub((((pos . 2) (level . 1) (occur . 1) (heading . #(" Test " 1 2 ... 2 5 ...)) (content . #("\n | | A | B |\n |-----+---+---|\n | com | 1 | 2 |\n | org | 3 | 4 |\n\n Some math formulae:\n\n y = x_1^2 + x_2^2\n\n y^2 = 2x^2 + 1\n\n z_2 = x_1 + x_2 + 2 (y_1 + y_2 + r)\n\n\n" 0 1 ... 1 3 ... 3 5 ... 5 6 ... 6 7 ... 7 8 ... 8 9 ... 9 10 ... 10 18 ... 18 19 ... 19 21 ... 21 36 ... 36 37 ... 37 39 ... 39 54 ... 54 55 ... 55 57 ... 57 72 ... 72 117 ... 117 174 ... 174 175 ... 175 176 ...)) (subcontent))))
org-export-latex-global((((... ... ... ... ... ...))))
org-export-as-latex(nil)
call-interactively(org-export-as-latex)
org-export(nil)
call-interactively(org-export nil nil)
next reply other threads:[~2009-08-10 21:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-10 21:26 zwz [this message]
2009-08-10 21:53 ` 6.29c export latex bug? zwz
2009-08-11 0:21 ` Nick Dokos
2009-08-11 3:26 ` Nick Dokos
2009-08-11 7:47 ` Carsten Dominik
2009-08-11 12:54 ` Nick Dokos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871vnj743l.fsf@gmail.com \
--to=zhangweize@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).