aboutsummaryrefslogtreecommitdiff
path: root/linux
AgeCommit message (Collapse)AuthorFilesLines
2020-11-18Re-add -optc-Os to static linux build, because it makes binary smaller.John MacFarlane1-1/+1
2020-11-18Simplify options for building static linux binary.John MacFarlane1-1/+1
2020-11-17Remove obsolete bibutils flag setting on linux/make_artifacts.sh.John MacFarlane1-1/+1
2020-09-21Add built-in citation support using new citeproc library.John MacFarlane2-16/+6
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-08-11Linux rc build: use ghc-musl container.John MacFarlane4-72/+36
This simplifies our build process a bit (over using a customized alpine container). Use new `--enable-executable-static` flag in build. make_artifacts.sh: Fix deprecated find -perm syntax.
2020-03-10linux/Dockerfile: upgrade to alpine 3.11Albert Krewinkel1-9/+16
Closes: #6180
2019-12-22Use alpine 3.10 in building linux binary.John MacFarlane1-1/+1
For some reason the bulid fails with alpine 3.11, with a linker error finding -lz. See #6003. It would be good to figure out how to make it work with alpine 3.11.
2019-10-04linux tarball: add architecture -amd64 to filename.John MacFarlane1-1/+1
Now it will be: pandoc-VERSION-linux-ARCH.tar.gz
2019-07-12Use -split-sections to reduce linux executable size.John MacFarlane1-1/+1
2019-03-14Remove clone of pandoc-citeproc.John MacFarlane1-1/+0
It wasn't being used; cabal.project specifies the version to use. Closes #5366.
2019-01-30linux/Dockerfile : use default -O1 instead of -O2.John MacFarlane1-1/+1
2018-11-26Update linux Dockerfile to use cabal new-build.John MacFarlane1-19/+14
2018-11-03linux/Dockerfile - use resolver lts-12.12.John MacFarlane1-1/+1
2018-11-03Fix bug in linux/Dockerfile.John MacFarlane1-1/+1
2018-11-03Fix bug in linux/Dockerfile.John MacFarlane1-1/+1
2018-10-18linux Dockerfile - use released static build of stack.John MacFarlane1-4/+2
2018-09-16linux/Dockerfile: Use more recent (unofficial) stack.John MacFarlane1-4/+5
2018-09-16Linux Dockerfile: try upgrading stack.John MacFarlane1-0/+2
2018-09-16Remove upx stuff from Dockerfile.John MacFarlane1-3/+0
2018-07-30Remove duplicate instruction (#4796)Josh1-1/+0
2018-07-15linux/Dockerfile: simplify and use new ghc 8.4.3.John MacFarlane1-35/+3
2018-05-11Dockerfile fixes.John MacFarlane1-1/+2
Note that stack no longer provides a static binary, so we use an older one from their GitHub releases.
2018-04-24Use latest haddock-library even for stack.lts9 build.John MacFarlane1-0/+1
2018-04-23Revised Dockerfile for static linux build.John MacFarlane1-7/+11
2018-04-20dockerfile: upgrade stack.John MacFarlane1-0/+2
2017-12-28linux package build: use stack lts-9.John MacFarlane1-5/+22
Also break up the build into three chunks for better cacheability.
2017-12-27Docker build: upgrade stack first.John MacFarlane1-3/+5
2017-12-27Removed stack.pkg.yaml.John MacFarlane1-2/+2
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-10-30Add -linux suffix to linux tarball.John MacFarlane1-1/+1
2017-10-30Linux package build: ensure that pandoc-citeproc is statically linked.John MacFarlane1-0/+6
2017-10-26Use CamelCase for JavaScript for uniformityKolen Cheung1-1/+1
other instances when javascript is refered to in pandoc is also in CamelCase, the official casing of JavaScript.
2017-10-23Removed linux Dockerfile.alpine (main Dockerfile already alpine).John MacFarlane1-30/+0
2017-10-22Fixed make_tarball.sh to get VERSION set.John MacFarlane1-1/+1
2017-10-22make_deb, make_tarball - fix default assignment of ARTIFACTS.John MacFarlane2-2/+2
2017-10-22Updated linux Makefile to use alpine.John MacFarlane1-4/+4
2017-10-22Back to using alpine-based Dockerfile for linux build.John MacFarlane4-98/+29
2017-10-22make_linux.sh tarball creation fix directory structure.John MacFarlane1-1/+2
2017-10-22Fixed bug in make_linux.sh path.John MacFarlane1-1/+1
2017-10-22Linux package: new debian-based non-static build.John MacFarlane4-25/+44
2017-10-22Added linux/make_linux.sh.John MacFarlane1-0/+79
This does a linux build and creates deb and tgz distributions.
2017-09-19linux/Makefile - added interact target.John MacFarlane1-1/+5
2017-09-05Another try to get linux static linking working again.John MacFarlane1-2/+2
2017-09-04Make sure bash is available in linux package build environment.John MacFarlane1-1/+1
2017-09-04Revert use of llvm backend in static linux build.John MacFarlane1-2/+2
It was failing for reasons I couldn't diagnose.
2017-09-04Add 'static' Cabal flag, use it for linux statically linked.John MacFarlane1-4/+6
2017-08-18Strip executables in linux package.John MacFarlane2-0/+4
2017-08-02linux/control.in: add Replaces:...John MacFarlane1-0/+1
so existing pandoc-citeproc and pandoc-data packages will be uninstalled; this package provides both. Closes #3822.
2017-07-21Added TikiWiki reader (#3800)rlpowell1-10/+10
Added TikiWiki reader, including tests and documentation. It's probably not *complete*, but it works pretty well, handles all the basics (and some not-so-basics).
2017-06-20Added mention of vimwiki raeder more places.John MacFarlane1-13/+14
2017-06-19Mention muse reader in README, MANUAL, debian control, cabal description.John MacFarlane1-10/+10