emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: zwz <zhangweize@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: 6.29c export latex bug?
Date: Mon, 10 Aug 2009 20:21:40 -0400	[thread overview]
Message-ID: <15967.1249950100@alphaville.usa.hp.com> (raw)
In-Reply-To: Message from zwz <zhangweize@gmail.com> of "Mon, 10 Aug 2009 23:26:22 +0200." <871vnj743l.fsf@gmail.com>

zwz <zhangweize@gmail.com> wrote:

> Here is the content of my org file:
> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >
> > * Test                                >
> >   |     | A | B |                     >
> >   |-----+---+---|                     >
> >   | com | 1 | 2 |                     >
> >   | org | 3 | 4 |                     >
> >                                       >
> >   Some math formulae:                 >
> >                                       >
> >   y =3D x_1^2 + x_2^2                   >
> >                                       >
> >   y^2 =3D 2x^2 + 1                      >
> >                                       >
> >   z_2 =3D 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)
> 

I can reproduce this. I also tried with a different table and I can
verify zwz's subsequent finding that a non-empty, non-headline line
above the table fixes it. I looked at the org-export-latex-tables
code, but since I couldn't come up with something obvious, I did
a git bisect and got this:

31ceed47ffd3070418dd34316fef8869d2434c26 is first bad commit
commit 31ceed47ffd3070418dd34316fef8869d2434c26
Author: Carsten Dominik <carsten.dominik@gmail.com>
Date:   Tue Jun 30 07:24:57 2009 +0200

    New minor mode org-indent-mode
    
    This mode implements outline indentation similar to clean view, but in
    a dynamic and virtual way, at display time.

HTH,
Nick

PS. Note that org-indent-mode is *not* enabled. I get an error when I try
to enable it, but that's another story.

  parent reply	other threads:[~2009-08-11  0:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-10 21:26 6.29c export latex bug? zwz
2009-08-10 21:53 ` zwz
2009-08-11  0:21 ` Nick Dokos [this message]
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=15967.1249950100@alphaville.usa.hp.com \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=zhangweize@gmail.com \
    /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).