Files
John MacFarlane 626ffd74b4 LaTeX reader: Make withRaw work inside parseFromToks.
This is needed for raw environments to work inside table cells.

Closes #9517.
2024-03-09 12:53:13 -08:00

715 B

% pandoc -f latex+raw_tex -t native
\begin{tabular}{l}
\begin{theorem}
Cats
\end{theorem}
\end{tabular}
^D
[ Table
    ( "" , [] , [] )
    (Caption Nothing [])
    [ ( AlignLeft , ColWidthDefault ) ]
    (TableHead ( "" , [] , [] ) [])
    [ TableBody
        ( "" , [] , [] )
        (RowHeadColumns 0)
        []
        [ Row
            ( "" , [] , [] )
            [ Cell
                ( "" , [] , [] )
                AlignDefault
                (RowSpan 1)
                (ColSpan 1)
                [ RawBlock
                    (Format "latex")
                    "\\begin{theorem}\nCats\n\\end{theorem}"
                ]
            ]
        ]
    ]
    (TableFoot ( "" , [] , [] ) [])
]