22 Commits
Author SHA1 Message Date
John MacFarlane c7c7664403 Update emoji list in Text.Pandoc.Emoji.
Done using tools/emojis.hs, which uses the list from the
gem GitHub uses.  Future updates can be done with this tool.

Closes #5666.
2019-07-29 11:17:22 -07:00
John MacFarlane 4d65bbf0df Fix diff-zip.sh so it works on Darwin.
BSD find is slightly different and doesn't have -regextype option.
2019-07-17 09:22:07 -07:00
Agustín Martín Barbero 6134616352 Update diff-zip to support windows (#5641)
Trying to use this script on windows (git-bash) gave several errors:

- *mktemp* complained about missing XXXs in the template (fixed by adding XXX)
- *find* didn't understand the -E switch (fixed by using the equivalent arguments)
- *terminal codes* were not being recognized by the console (-e added to echo)
2019-07-12 09:08:27 -07:00
John MacFarlane 83a0104d5b Improve diff-docx.sh -> diff-zip.sh.
It now can be used on odts, docx, or epubs.
2019-07-10 20:53:40 -07:00
John MacFarlane 2c2d4e2138 Add diff-docx.sh to tools. 2019-07-10 20:28:21 -07:00
Alexander Krotov c0e4f66eb3 tools/changelog-helper.sh: use %aN instead of %an to respect .mailmap 2019-01-07 09:18:11 +03:00
Alexander Krotov a92d6fa5be tools/changelog-helper.sh: remove [[ bashism 2019-01-07 09:17:21 +03:00
John MacFarlane 9df4c7f57b Added tools/changelog-helper.sh. 2018-10-02 22:41:41 -07:00
John MacFarlane 72bdac3036 New README template, take in/out formats from manual. 2018-04-22 11:36:47 -07:00
John MacFarlane d5d6c9876d Fixed small bug in README generation. 2017-12-30 10:46:08 -08:00
John MacFarlane 81b0b20827 Generate README.md from template and MANUAL.txt.
`make README.md` will generate the README.md after changes
to MANUAL.txt have been made.
2017-12-29 16:41:51 -08:00
Albert Krewinkel 7fa286fff1 Update tool which generates lua module docs
All "helper functions" are not part of the Lua code for module pandoc,
but are added in Haskell. The respective documentation section must
therefore be excluded from automatic regeneration.
2017-12-29 10:04:55 +01:00
John MacFarlane 246e8f081a Update lua-filters.md and the tool that generates it. 2017-12-28 22:02:59 -08:00
Albert Krewinkel 5026dfaedf lua-filters.md: add documentation for pandoc.List 2017-12-01 17:14:28 +01:00
Vaclav Haisman 916a80ea76 pandoc-template-mode.el: Improve.
Avoid highlighting of "strings" by deriving from
`text-mode-syntax-table`. This fixes missing highlighting in default.html5
tag attributes.

Define comment starting and ending sequences to allow use of M-q (auto-fill)
on comments.
2017-11-03 01:16:26 +01:00
Vaclav Haisman 733ccbafc6 Support comments in Pandoc templates in Emacs pandoc-template-mode. 2017-10-22 01:16:03 +02:00
Albert Krewinkel c363519302 Provide make target to update lua module docs (#3946)
The pandoc module documentation in doc/lua-filters.md was automatically
generated from `data/pandoc.lua`.  A make target is provided which uses
a lua filter to update the documentation.
2017-09-30 10:45:31 -04:00
John MacFarlane 9add713654 Moved ldoc.ltp from doc to tools.
doc should be reserved for actual documents, I think.

@tarleb - will this cause a problem?
2017-09-16 22:47:49 -07:00
Václav Haisman 19a06b0c83 Add simple Emacs mode to help with Pandoc templates editing. (#3889)
tools/pandoc-template-mode.el
2017-09-06 15:28:37 -07:00
John MacFarlane 19d86132a8 Makefile: Separate refactor and reformat targets.
Removed tools/refactor.sh.
2017-03-04 13:13:12 +01:00
John MacFarlane 0edfbf1478 Added 'make refactor' using hlint, stylish-haskell. 2017-03-04 12:49:14 +01:00
John MacFarlane be140ab496 Moved extract-changes.hs and github-upload.sh to tools/. 2017-01-25 17:07:41 +01:00