summaryrefslogtreecommitdiff
path: root/test/Tests/Readers/Man.hs
AgeCommit message (Collapse)Author
2024-01-16Add readMan to Text.Pandoc.Readers exportsGeorge Stagg
2023-01-10Update copyright years, it's 2023!Albert Krewinkel
2022-02-23Tests: improve location reporting of failing testsAlbert Krewinkel
2022-01-02Copyright notices: update for 2022Albert Krewinkel
2021-02-07Avoid unnecessary use of NoImplicitPrelude pragma (#7089)Albert Krewinkel
2021-01-08Update copyright notices for 2021 (#7012)Albert Krewinkel
2020-09-13Fix hlint suggestions, update hlint.yaml (#6680)Christian Despres
* Fix hlint suggestions, update hlint.yaml Most suggestions were redundant brackets. Some required LambdaCase. The .hlint.yaml file had a small typo, and didn't ignore camelCase suggestions in certain modules.
2020-04-15Use the new builders, modify readers to preserve empty headersdespresc
The Builder.simpleTable now only adds a row to the TableHead when the given header row is not null. This uncovered an inconsistency in the readers: some would unconditionally emit a header filled with empty cells, even if the header was not present. Now every reader has the conditional behaviour. Only the XWiki writer depended on the header row being always present; it now pads its head as necessary.
2020-04-15Adapt to the newest Table type, fix some previous adaptation issuesdespresc
- Writers.Native is now adapted to the new Table type. - Inline captions should now be conditionally wrapped in a Plain, not a Para block. - The toLegacyTable function now lives in Writers.Shared.
2020-04-15Implement the new Table typedespresc
2020-03-13Update copyright year (#6186)Albert Krewinkel
* Update copyright year * Copyright: add notes for Lua and Jira modules
2020-03-05Fix man reader test for previous change.John MacFarlane
2020-02-07Apply linter suggestions. Add fix_spacing to lint target in Makefile.John MacFarlane
2019-09-04Roff readers: better parsing of groups.John MacFarlane
We now allow groups where the closing `\\}` isn't at the beginning of a line. Closes #5410.
2019-02-04Add missing copyright notices and remove license boilerplate (#5112)Albert Krewinkel
Quite a few modules were missing copyright notices. This commit adds copyright notices everywhere via haddock module headers. The old license boilerplate comment is redundant with this and has been removed. Update copyright years to 2019. Closes #4592.
2018-11-02table testsYan Pashkovsky
2018-10-30Roff reader: properly handle unknown backslash escapes.John MacFarlane
They are treated as regular characters, according to groff 7. Cloess #5034.
2018-10-28Roff tokenizer: better handling of escapes.John MacFarlane
2018-10-28Roff tokenizer: revamped font parsing using escapeArg.John MacFarlane
Add support for \C'...' escapes.
2018-10-22Man reader: don't parse \[ul] as unicode escape.John MacFarlane
2018-10-20Man reader: Fixed handling of nested fonts.John MacFarlane
Closes #4978.
2018-10-20Man reader: Fix .B, .I, .BR, etc.John MacFarlane
2018-10-20Man reader: major restructuring, support macros.John MacFarlane
- 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 MacFarlane
Closes #4987.
2018-10-19Man reader: Improved header parsing.John MacFarlane
- .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 MacFarlane
Closes #4985.
2018-10-19Man reader: Added more tests for escapes.John MacFarlane
Closes #4983.
2018-10-19Man reader: minor improvements.John MacFarlane
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 MacFarlane
2018-10-18Update man reader tests.John MacFarlane
2018-10-17added old-style testYan Pas
2018-10-16buildersYan Pas
2018-10-14tests, commented debug functionsYan Pas
2018-05-23tests, parsing fixesYan Pas
2018-05-09fix build and testsYan Pas
2018-05-09basic manfile parsingYan Pas
2018-02-25initialYan Pas