What steps will reproduce the problem? 1. pandoc -s --to=html tests/latex-reader.latex
What is the expected output? What do you see instead? ... Para [Str "Here",Apostrophe,Str "s",Space,Str "a",Space,Str "LaTeX",Space,Str "table:"] , BlockQuote [ Para [Str "Animal",Space,Str "&",Space,Str "Number",Space,LineBreak,Space,Str "Dog",Space,Str "&",Space,Str "2",Space,LineBreak,Space,Str "Cat",Space,Str "&",Space,Str "1",Space,LineBreak] ] ...
Expected (obtained by converting to a markdown table and parsing...): [ Para [Str "Here",Str "'",Str "s",Space,Str "a",Space,Str "LaTeX",Space,Str "table:"] , Table [] [AlignDefault,AlignDefault] [0.0,0.0] [ [ Plain [Str "Animal"] ] , [ Plain [Str "Number"] ] ] [ [ [ Plain [Str "Dog"] ] , [ Plain [Str "2"] ] ], [ [ Plain [Str "Cat"] ] , [ Plain [Str "1"] ] ] ] ]
What version of the product are you using? On what operating system? commit ca5217881de1be672ac855a1979e9436aa6ced35 on ubuntu.
Please provide any additional information below. Not sure whether this is a defect or a feature request. I'm marking it as a defect since tests/latex-reader.latex has a table, which is not parsed as a table, as demonstrated above. Either way, it would be great if pandoc could parse latex tables.
Comment #1
Posted on Sep 15, 2010 by Swift MonkeyOops, the step to reproduce should be "pandoc --to=native latex-reader.latex", of course. I changed the example to output native instead of html to remove any ambiguity about whether the problem was in the latex reader vs the html writer.
Comment #2
Posted on Sep 15, 2010 by Grumpy DogYes, remember that the latex reader, as documented, supports only a subset of latex. Tables haven't been implemented yet, so I'll reclassify this as an enhancement request.
Comment #3
Posted on Jan 7, 2011 by Grumpy DogI've added support for simple tables.
Comment #4
Posted on Jan 7, 2011 by Grumpy Dog(No comment was entered for this change.)
Status: Fixed
Labels:
Type-Enhancement
Priority-Medium