aboutsummaryrefslogtreecommitdiff
path: root/data/make-reference-files.hs
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert+github@zeitkraut.de>2019-02-09 22:56:49 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2019-02-09 13:56:49 -0800
commit75c791b4fea141417fa088b9f5b9861ef57f4790 (patch)
tree70f9eb34cdcad28da29284336b7a916611700842 /data/make-reference-files.hs
parent66ed198fff937cdd98d530f3ef3d1a46cbe79360 (diff)
downloadpandoc-75c791b4fea141417fa088b9f5b9861ef57f4790.tar.gz
Lua filters: load module `pandoc` before calling `init.lua` (#5287)
The file `init.lua` in pandoc's data directory is run as part of pandoc's Lua initialization process. Previously, the `pandoc` module was loaded in `init.lua`, and the structure for marshaling was set-up after. This allowed simple patching of element marshaling, but made using `init.lua` more difficult: - it encouraged mixing essential initialization with user-defined customization; - upstream changes to init.lua had to be merged manually; - accidentally breaking marshaling by removing required modules was possible; Instead, all required modules are now loaded before calling `init.lua`. The file can be used entirely for user customization. Patching marshaling functions, while discouraged, is still possible via the `debug` module.
Diffstat (limited to 'data/make-reference-files.hs')
0 files changed, 0 insertions, 0 deletions