aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/Roff.hs
AgeCommit message (Collapse)AuthorFilesLines
2018-10-27Roff reader: use LineParts abstraction.John MacFarlane1-57/+65
This didn't really help performance in the end.
2018-10-27Roff tokenizer: use Seq for lineparts rather than lists.John MacFarlane1-42/+44
This didn't make much measurable difference (compiled w/o optimizations), but it still seems worth doing. Eventually we may want an abstraction like RoffTokens for LineParts.
2018-10-27Remove old comment.John MacFarlane1-5/+4
2018-10-27Roff tokenizer: allow digit suffix in table cell format in any order.John MacFarlane1-11/+10
Closes #5026.
2018-10-27Roff tokenizer: check for first-column before parsing macro.John MacFarlane1-4/+8
Also add SourcePos as argument to lexRoff, so we can pass in current source pos when parsing a table cell. Closes #5025.
2018-10-27Roff reader: allow table options to be empty.John MacFarlane1-1/+1
Partially addresses #5026.
2018-10-26Roff tokenizer: further table format spec parsing improvements.John MacFarlane1-1/+3
2018-10-26Roff tokenizer: allow spaces after table row format spec.John MacFarlane1-1/+1
2018-10-26Roff tokenizer: allow . on next line after table format spec.John MacFarlane1-1/+1
2018-10-26Roff tokenizer: better handling of font inlines `\f`....John MacFarlane1-7/+4
2018-10-26Roff tokenizer: allow eof in some places we allowed only newline.John MacFarlane1-3/+3
2018-10-26Roff tokenizer: skip .sp in tables.John MacFarlane1-1/+2
2018-10-26Rename Groff -> Roff.John MacFarlane1-0/+650
Module T.P.Readers.Groff -> T.P.Readers.Roff Module T.P.Writers.Groff -> T.P.Writers.Roff Module T.P.GroffChar -> T.P.RoffChar GroffTokens -> RoffTokens GroffToken -> RoffToken.