aboutsummaryrefslogtreecommitdiff
path: root/windows
AgeCommit message (Collapse)AuthorFilesLines
2020-09-21Add built-in citation support using new citeproc library.John MacFarlane1-2/+0
This deprecates the use of the external pandoc-citeproc filter; citation processing is now built in to pandoc. * Add dependency on citeproc library. * Add Text.Pandoc.Citeproc module (and some associated unexported modules under Text.Pandoc.Citeproc). Exports `processCitations`. [API change] * Add data files needed for Text.Pandoc.Citeproc: default.csl in the data directory, and a citeproc directory that is just used at compile-time. Note that we've added file-embed as a mandatory rather than a conditional depedency, because of the biblatex localization files. We might eventually want to use readDataFile for this, but it would take some code reorganization. * Text.Pandoc.Loging: Add `CiteprocWarning` to `LogMessage` and use it in `processCitations`. [API change] * Add tests from the pandoc-citeproc package as command tests (including some tests pandoc-citeproc did not pass). * Remove instructions for building pandoc-citeproc from CI and release binary build instructions. We will no longer distribute pandoc-citeproc. * Markdown reader: tweak abbreviation support. Don't insert a nonbreaking space after a potential abbreviation if it comes right before a note or citation. This messes up several things, including citeproc's moving of note citations. * Add `csljson` as and input and output format. This allows pandoc to convert between `csljson` and other bibliography formats, and to generate formatted versions of CSL JSON bibliographies. * Add module Text.Pandoc.Writers.CslJson, exporting `writeCslJson`. [API change] * Add module Text.Pandoc.Readers.CslJson, exporting `readCslJson`. [API change] * Added `bibtex`, `biblatex` as input formats. This allows pandoc to convert between BibLaTeX and BibTeX and other bibliography formats, and to generated formatted versions of BibTeX/BibLaTeX bibliographies. * Add module Text.Pandoc.Readers.BibTeX, exporting `readBibTeX` and `readBibLaTeX`. [API change] * Make "standalone" implicit if output format is a bibliography format. This is needed because pandoc readers for bibliography formats put the bibliographic information in the `references` field of metadata; and unless standalone is specified, metadata gets ignored. (TODO: This needs improvement. We should trigger standalone for the reader when the input format is bibliographic, and for the writer when the output format is markdown.) * Carry over `citationNoteNum` to `citationNoteNumber`. This was just ignored in pandoc-citeproc. * Text.Pandoc.Filter: Add `CiteprocFilter` constructor to Filter. [API change] This runs the processCitations transformation. We need to treat it like a filter so it can be placed in the sequence of filter runs (after some, before others). In FromYAML, this is parsed from `citeproc` or `{type: citeproc}`, so this special filter may be specified either way in a defaults file (or by `citeproc: true`, though this gives no control of positioning relative to other filters). TODO: we need to add something to the manual section on defaults files for this. * Add deprecation warning if `upandoc-citeproc` filter is used. * Add `--citeproc/-C` option to trigger citation processing. This behaves like a filter and will be positioned relative to filters as they appear on the command line. * Rewrote the manual on citatations, adding a dedicated Citations section which also includes some information formerly found in the pandoc-citeproc man page. * Look for CSL styles in the `csl` subdirectory of the pandoc user data directory. This changes the old pandoc-citeproc behavior, which looked in `~/.csl`. Users can simply symlink `~/.csl` to the `csl` subdirectory of their pandoc user data directory if they want the old behavior. * Add support for CSL bibliography entry formatting to LaTeX, HTML, Ms writers. Added CSL-related CSS to styles.html.
2020-01-18windows release candidate build: More fixes to get 'light' to work.John MacFarlane1-1/+1
2020-01-18Windows ci - fix path to COPYING.rtf in dialog.John MacFarlane1-2/+2
2020-01-17Use versioned directory for windows release zipfile.John MacFarlane2-32/+3
Also remove old make-windows-installer.bat, superseded by GitHub actions workflow, and modify pandoc.wxs for new paths.
2019-11-29Improve Makefile for signing windows release candidates.John MacFarlane1-3/+8
2019-11-29Add Makefile to windows release-candidate build.John MacFarlane1-0/+5
Running 'make' in this directory will do the code signing of the msi.
2017-12-27Removed stack.pkg.yaml.John MacFarlane1-1/+1
We only really need stack.yaml; we can put flag settings for pandoc-citeproc there. Also use ghc-8.0.2 in dockerized linux build. This is the only version available for alpine so far.
2017-11-04Use -O2 for windows, macos binary packages.John MacFarlane1-1/+1
2017-08-23Name change OSX -> macOS (#3869)ickc1-1/+1
* Name change OSX -> macOS fix commit c96b64e This commit finishes remaining osx to macOS change, as well as replacing MacOS with macOS. The reason for the later one is because the "correct" casing of macOS is like that. Apple styles it to looks like iOS, watchOS, tvOS, etc. And unfortunately they all start with a lowercase letter, making propercasing (or even title-casing) odd. * fix casing of Linux, UNIX, and Windows
2017-02-12Windows packaging fixes to use new stack.pkg.yaml.John MacFarlane1-1/+1
2017-02-12Replaced {deb,macos,windows}/stack.yaml with stack.pkg.yaml.John MacFarlane2-22/+1
2017-02-12stack.yamls: Use lts-8.0.John MacFarlane1-6/+2
2017-02-07Use latest pandoc-citeproc dev in stack builds.John MacFarlane1-1/+1
2017-02-07Update dev version of pandoc-citeproc in stack.yaml.John MacFarlane1-1/+1
2017-02-07Use latest dev version of pandoc-citeproc.John MacFarlane1-1/+1
2017-01-31stack.yaml - use latest skylighting.John MacFarlane1-1/+1
2017-01-30Windows builds: removed -S option from pandoc invocations.John MacFarlane1-2/+2
2017-01-30stack.yamls: Updated commit of pandoc-citeproc to build against.John MacFarlane1-1/+1
2017-01-30stack.yamls: Updated commit of pandoc-citeproc to build against.John MacFarlane1-1/+1
2017-01-30Use dev pandoc-citeproc in windows,osx,deb/stack.yaml.John MacFarlane1-1/+4
2017-01-29Updated deb, osx, windows stack.yaml.John MacFarlane1-2/+2
Use latest skylighting, pandoc-citeproc.
2017-01-21Use skylighting 0.1.1.1 in stack.yaml.John MacFarlane1-1/+1
2017-01-19windows stack.yaml - use latest skylighting.John MacFarlane1-1/+1
2016-12-23Updated windows stack.yaml.John MacFarlane1-1/+2
2016-11-30Use pandoc-citeproc 0.10.3 release in stack.yamls for binary pkgs.John MacFarlane1-3/+1
2016-11-30stack.yaml - use texmath 0.9 release.John MacFarlane1-3/+1
2016-11-30Use new module from texmath to lookup MS font codepoints.John MacFarlane1-0/+3
+ Removed Text.Pandoc.Readers.Docx.Fonts + Moved its code to texmath; we now use (from texmath 0.9) Text.TeXMath.Unicode.Fonts + Use texmath 0.9 (currently from git). + Updated epub tests because texmath now handles more mathml.
2016-11-27Updated stack.yaml to use lts 7.9 + latest pandoc-citeproc dev.John MacFarlane1-2/+2
2016-11-18windows/stack.yaml - use latest pandoc-citeproc from git.John MacFarlane1-1/+1
Otherwise tests will fail on appveyor.
2016-10-27Update pandoc-citeproc commit to use for binary packages.John MacFarlane1-1/+1
2016-10-26stack.yamls - use git commit from pandoc-citeprocJohn MacFarlane1-1/+3
so we don't have to wait for stackage's hackage mirror to update.
2016-10-26Use lts-7.5 resolver.John MacFarlane1-1/+1
2016-10-26Use latest pandoc-citeproc.John MacFarlane1-1/+1
2016-10-25Use pandoc-citeproc 0.10.2 in stack package builds.John MacFarlane1-1/+1
2016-10-24stack.yamls - use latest pandoc-citeproc.John MacFarlane1-1/+1
2016-10-23stack.yamls - use latest pandoc-citeproc.John MacFarlane1-1/+1
2016-10-19Merge pull request #3158 from ickc/COPY-LICENSEJohn MacFarlane1-1/+1
Use the markdown version of COPYING from GNU
2016-10-19Download markdown version of the license from GNU and rename to `COPYING.md`Kolen Cheung1-1/+1
From https://www.gnu.org/licenses/old-licenses/gpl-2.0.md
2016-10-18Added pandoc-citeproc back to extra-deps in stack.yaml.John MacFarlane1-0/+1
Otherwise we can't set flags.
2016-10-18Use lts-7.4 resolver.John MacFarlane1-3/+1
2016-10-18stack.yaml - use latest pandoc-types.John MacFarlane1-1/+1
2016-10-17Bump pandoc-types versions to 1.17.0.3 in stack.yaml.John MacFarlane1-1/+1
2016-10-17Use pandoc-types 1.17.0.2 in stack.yaml.John MacFarlane1-1/+1
2016-10-17BUmp pandoc-types version in stack.yamls.John MacFarlane1-1/+1
2016-10-16Update stack.yamls to use pandoc-types 1.17 release.John MacFarlane1-3/+1
2016-10-13Use latest pandoc-types in windows/stack.yaml.John MacFarlane1-1/+1
2016-10-13Use latest pandoc-citeproc in stack.yamls.John MacFarlane1-1/+1
2016-10-13Update stack.yaml files.John MacFarlane1-2/+0
2016-10-13Updated stack.yaml and windows/stack.yaml to use latest pandoc-types.John MacFarlane1-1/+5
2016-10-02Use doctemplates 0.1.0.2.John MacFarlane1-1/+1