Nick Dokos <ndo...@gmail.com> writes: > I can reproduce this and I think the problem is that the table > includes the empty line after it and that gets carried into the data > that org-export-data passes into org-latex-matrices.
That seems to be the case; for each empty line between the table and the first nonempty line, an empty line is added before the \] in the latex output. > and the data has a ":beg 8 :end 44" specification that correspond to > the '#' and the 'w' of the whoops. > > However, it's hard to debug: when I try to edebug org-export-data I > get the attached backtrace, presumably > because the cl-macrolet in org-export-data confuses edebug: I couldn't make anything of that either. :) Any ideas where I should look next? Best regards, Thomas Stenhaug