aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers/Man.hs
AgeCommit message (Collapse)AuthorFilesLines
2018-11-02table testsYan Pashkovsky1-0/+11
2018-10-30Roff reader: properly handle unknown backslash escapes.John MacFarlane1-0/+2
They are treated as regular characters, according to groff 7. Cloess #5034.
2018-10-28Roff tokenizer: better handling of escapes.John MacFarlane1-2/+2
2018-10-28Roff tokenizer: revamped font parsing using escapeArg.John MacFarlane1-1/+1
Add support for \C'...' escapes.
2018-10-22Man reader: don't parse \[ul] as unicode escape.John MacFarlane1-1/+1
2018-10-20Man reader: Fixed handling of nested fonts.John MacFarlane1-0/+7
Closes #4978.
2018-10-20Man reader: Fix .B, .I, .BR, etc.John MacFarlane1-1/+4
2018-10-20Man reader: major restructuring, support macros.John MacFarlane1-4/+4
- Improved support for custom macro definitions. - LinePart type has been added. RoffStr is now one constructor of LinePart (the other being MacroArg). - MComment has lost its argument. - MEndMacro has been removed. - MStr has been removed (we now simply use LinePart). - Macros now store a list of tokens. - Each macro argument is a [LinePart], instead of a LinePart. - .BR now behaves as documented in man (and doesn't create a link).
2018-10-20Man reader: handle shift in list style.John MacFarlane1-6/+10
Closes #4987.
2018-10-19Man reader: Improved header parsing.John MacFarlane1-2/+2
- .SH should be level 1, .SS level 2. - The header title can come on the next line.
2018-10-19Man reader: properly handle multi-block list items.John MacFarlane1-4/+4
Closes #4985.
2018-10-19Man reader: Added more tests for escapes.John MacFarlane1-6/+11
Closes #4983.
2018-10-19Man reader: minor improvements.John MacFarlane1-2/+8
use `trimInlines` for Para content to avoid leading and trailing spaces. Fix handling of \" in middle of line. Add more tests for escapes.
2018-10-19More man reader test updates.John MacFarlane1-6/+6
2018-10-18Update man reader tests.John MacFarlane1-2/+2
2018-10-17added old-style testYan Pas1-1/+1
2018-10-16buildersYan Pas1-4/+4
2018-10-14tests, commented debug functionsYan Pas1-19/+58
2018-05-23tests, parsing fixesYan Pas1-3/+15
2018-05-09fix build and testsYan Pas1-2/+3
2018-05-09basic manfile parsingYan Pas1-4/+19
2018-02-25initialYan Pas1-0/+16