aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Data.hsb
AgeCommit message (Collapse)AuthorFilesLines
2016-07-20Rename README to MANUAL.txtAlbert Krewinkel1-1/+1
2015-10-17Text.Pandoc.Data: store paths in dataFiles using posix separators.John MacFarlane1-1/+9
This way we have uniform separators, whether on Windows or Linux. This should solve a problem where on some Windows versions the data files weren't being found. Closes #2459.
2015-06-28Minor fixes to previous commit.John MacFarlane1-4/+1
* Instead of defining readmeFile in Text.Pandoc.Data (which we forgot to export anyway), we simply add a record for "README" to the `dataFiles` lookup table. This allows simplifying some of the code for `readDefaultDataFile` in SHared. * As a bonus, `pandoc --print-default-data-file README` now works.
2015-06-28New method for producing man pages.John MacFarlane1-0/+3
This change adds `--man1` and `--man5` options to pandoc, so pandoc can generate its own man pages. It removes the old overly complex method of building a separate executable (but not installing it) just to create the man pages. The man pages are no longer automatically created in the build process. The man/ directory has been removed. The man page templates have been moved to data/. New unexported module: Text.Pandoc.ManPages. Text.Pandoc.Data now exports readmeFile, and `readDataFile` knows how to find README. Closes #2190.
2013-01-23Use hsb2hs preprocessor instead of TH for embed_data_files.John MacFarlane1-0/+7
This should work on Windows, unlike the TH solution with file-embed.