pandoc-citeproc (0.9) * Allow spaces around CSL note fields. Closes #191. * Add homepage field to .cabal file (Jens Petersen). * Use pandoc 1.16. * Turn on smart quote parsing in reading bib(la)tex. We didn't need this previously, but now we do thanks to changes in pandoc. * Specialize `mkRefMap` to `Reference`, and return empty map for `emptyReference`. * Improved behavior with missing references (API change, #195, #165). Previously in some cases where a citation id wasn't found in the bibliography, a "reference with no printed form" warning was printed instead of "not found." This change fixes that. It also changes some types in ways that make more sense. `processCites` now produces `[[(Cite, Maybe Reference)]]` instead of `[[(Cite, Reference)]]`, and other types are adjusted accordingly. For example, `evalLayout` now has a `Maybe Reference` parameter rather than `Reference`. * Added `hackage-docs.sh` to upload haddocks when Hackage can't build them. * Improved handling of `nocite` (#197). Previously if you had something in `nocite`, then cited it again in the document, pandoc-citeproc would use `ibid`, thinking that the item had already been cited. * Fix for pandoc API change to `writerWrapOptions`. * Allow `SoftBreak` to count as space in some contexts (e.g. splitting). * Fixed path to `chicago-fullnote-bibliography.csl` in test. * Improved error message with illegal 'type' field in YAML bibliographies (#2611). pandoc-citeproc (0.8.1.3) * test-pandoc-citeproc: Better fix for Windows. Use UTF8 strings instead of bytestrings; this helps get line endings right in tests. pandoc-citeproc (0.8.1.2) * Use UTF8 versions of readFile in test program. pandoc-citeproc (0.8.1.1) * Use pandoc's UTF8 versions of getContents, putStrLn, etc. Otherwise we get locale-dependent encodings. pandoc-citeproc (0.8.1) * Improved performance in bibtex cross-reference resolution (#190). * Take 'form' for date-part elements from date if not specified (#116). Previously if the 'form' were unspecified in a date-part element, it would go to the default 'long', even if the date as a whole was 'numeric'. * Transform only uppercase ASCII letters in titlecase transform. This helps us pass one more citeproc test case. * Cleaned up locator parsing code. * Allow roman numeral locators (#173. * Fixed missing dash between months in date ranges (#175). * Fixed `strip-periods` (#185). * Parse supplementary fields in CSL JSON "note" fields (#94). * Support more biblatex markup in converting biblatex bibliographies: `mkbibemph`, `mkbibitalic`, `mkbibbold`, `mkbibparens`, `mkbibbrackets`, `autocap` (Nick Bart, #26). Treat reviews as articles. * Add biblatex keys for additional languages (Nick Bart). * Use HTTPS for DOI resolver (Andrew Dunning). * Add biblatex keys for additional languages (Nick Bart): ca-AD, da-DK, es-ES, fi-FI, it-IT, nl-NL, pl-PL, pt-PT, pt-BR, sv-SE pandoc-citeproc (0.8.0.1) * Allow aeson 0.10.x (Felix Yan). * Add custom Prelude: -Wall clean on ghc 7.10. pandoc-citeproc (0.8) * Use `lang` metadata field to specify locale. `locale` can still be used as before, for backwards compatibility, but `lang` is now preferred. * Put the references section header outside the Div, instead of inside as before.. This interacts better with pandoc's `--section-divs` feature (#176). * Use `refs`, not `references`, for the identifier of the bibliography Div. Unlike `references`, `refs` is not likely to conflict with an autogenerated header identifier (#176). NOTE: workflows designed to work with 0.7.4, with a `
` where the bibliography is to go, will need modification (`s/references/refs/`). * Changed local override for default CSL file (#161). Previously you could override the default CSL file by modifying `~/.csl/chicago-author-date.csl`. Now you do it by modifying `~/.csl/default.csl`. To minimize the effect of this change on existing workflows, we will use the version of `chicago-author-date.csl` in `~/.csl`, if there is one, if `~/.csl/default.csl` is not found. * Implemented fallbacks for CSL terms, as per CSL spec. E.g. `verb` is used if `verb-short` is not defined (#72). * Update CSL style, locales (Andrew Dunning). * Setup.hs: got hsb2hs registered as a build-tool. * Setup.hs: avoid depending on non-base modules (esp. process). This can cause problems with older versions of cabal. * Don't raise error if `HOME` isn't defined (#35). * Add more biblatex localization keys (Nick Bart). * Simplified and improved page range collapsing (#168). * Allow multiword locator labels like "sub verbo" (#168). * Remove `parse-names: true` in a Reference after parsing names (#169). * Don't superscript author-in-text numerical citations (#133). This change also removes `unsetAffixes` from `Text.CSL.Style`'s exported functions. This function was only used in one places and is very simple. (API change) * Fixed `embed_data_files` build on OS X (Chris Knox) * Remove brackets from author-in-text numerical citations (#133). * Removed `compressName` transform on JSON output (#169). This transformation prevented the JSON produced from using a fully broken-out specification of the author, instead pushing suffixes and prefixes into the names themselves. * Fixed regression introduced by #163 (#170). pandoc-citeproc (0.7.4) * Bibliography Div has id `references`, in addition to class. * Make sure a link with a year range encompasses the whole range. Previously you'd get [LINK 1996]--[LINK 2003], where both links went to the same citation. Now you get [LINK 1996-2003]. (#146) * Fix linking of DOIs (#163). Now only a part of a prefix that begins a url (`http...`) will be part of the linked text for a DOI. (This part will also be used for the URL, in place of the default `http://doi.org/`, if present.) Other parts of the prefix and suffix will remain outside the linked text. * Use "literal" instead of "other" in producing CSL YAML (#167). * Test suite: better technique to find right executable to test. We now find the test program and locate pandoc-citeproc relative to it. * Change default for parse-names to False. * Add `Paths_pandoc_citeproc` to other-modules. * Allow flexible insertion of bibliography. + If the document contains a Div element with id `references`, the bibliography will be inserted in it (after any other content in the Div). + Otherwise, a Div with id `references` will be created at the end of the document as before. * Fix parsing of particles with hyphens on family names (#130). * Handle `#+LINK_CITATIONS` metadata in org-mode. The values `true`, `yes`, and `on` are recognized as true values (case-insensitive) (#159). pandoc-citeproc (0.7.3.1) * Moved tests from data-files to extra-source-files. * List biblatex conversion tests in cabal extra-source-files. * Updated tests for changes in yaml library (which now puts quotes arounds strings that could be read as numbers, #158). pandoc-citeproc (0.7.3) * Add Walkable instances for Formatted (Sean Leather). * Allow empty end year in Zotero workaround, e.g. `2005_` (Nick Bart). * man/Makefile - removed unnecessary dependency. * Fixed test-citeproc.hs for change in `ProcOpts`. * Cleaned up Setup.hs. Now takes into account destdir in copying man page. * Don’t add space after particles ending with "-" (Nick Bart). * Names.hs: Add Unicode “Latin Extended Additional” to isByzantine (Nick Bart). * Allow vector 0.11. pandoc-citeproc (0.7.2) * Added `link-citations` metadata field (#141). If this has a true value, citations in author-date and numerical styles are linked to their corresponding bibliography entries. Otherwise not. (In previous versions of 0.7.x, this linking was the default. Now it must be enabled explicitly by setting this field.) * Fixed locale lookup with two-letter codes (#140). * Updated locales and chicago-author-date.csl. * Text.CSL.Data: Remove spurious reference to ar-AR. * Updated tests to escape literal `[` and `]` (to match new pandoc markdown writer's behavior). * Fixed `make update` to grab chicago-author-date.csl from correct URL. * Bumped upper bound to allow aeson 0.9.*. pandoc-citeproc (0.7.1.1) * Fixed regression in numerical citation collapsing (#131). pandoc-citeproc (0.7.1) * Improvements to numerical styles: + Space is now inserted after the reference number in the bibliography when `second-field-align` is `margin` or `flush`. + Author-in-text citations are now treated just like other citations in numerical styles. So, brackets are used, and the term "Reference" is not added: instead of `Reference 1 says...` we have `[1] says...`. This seems to accord better with e.g. IEEE practice. + Improved citation collapsing. Now both the new and the old versions of `ieee.csl` work properly. Previously brackets were dropped with the new version (#55). + Use new `ieee.csl` for testing. pandoc-citeproc (0.7.0.2) * Bump version bound for xml-conduit. pandoc-citeproc (0.7.0.1) * In YAML use pandoc markdown syntax for super, subscript (#128). Added test case for rich text formatting. * Change default for first-reference-note-number to 0 on reading (#128). pandoc-citeproc (0.7) * Improved YAML output: + Fields are now in a deterministic and rational order, id at top. + Blank lines between entries for readability. + Use human-friendlier year, month, etc. rather than date-part. + The test suite no longer normalizes YAML output before comparing, since we now control the order of fields. * Use `locale` in metadata in converting bibtex (#98). * Use `locale` in metadata for unicode collation, when compiled with the `unicode_collation` flag (#122). * Made pandoc-citeproc sensitive to metadata fields `reference-section-title` and `suppress-bibliography` (Jesse Rosenthal). The former specifies a title for a new reference section. The second suppresses the bibliography altogether. Existing documents should behave as before if these fields are not used. * Strip empty span elements from output (#126). * Allow conversion FROM yaml to other formats (#124). * Improved CSL JSON output. Use the rich markup syntax described at http://docs.citationstyles.org/en/1.0/release-notes.html#rich-text-markup-within-fields * Fixed extraction of language from LANG env variable in Bibtex (#98). * Fixed `ghc-prof-options` so we don't get warning with recent cabal. Added French, German localizations to Bibtex converter (#98). * Bibtex: Use type field to further specify mastersthesis or phdthesis (#98). * Ensure that "et al" has a space before it, if no delimiter defined (#93). * Allow "et al" to be formatted (#91). * Depend on `setenv` package for the `setEnv` function, which is found only in base 4.7+. * Fixed problem with droppped final punctuation in some footnotes (#82). * `Text.CSL.Util`: Removed unused `readable`. Renamed `toShow` to `uncamelize`. Use `ppShow` in `tr'`. * Use `doi.org` instead of `dx.doi.org` (#107). * Fixed treatment of `motion_picture` title (#118). * Include preface and suffix of DOI in linked text (#107). * Added `--regenerate` flag to `test-pandoc-citeproc`. * Added `hyperlink` field to `Formatting` (API change). * Made hyperlinked citations work with numerical and author-year styles. * Bibtex: improved short title logic. * Map biblatex title/maintitle to CSL volume-title/title (Nick Bart). * Fix CSL dependent style support (Tim Lin, #105). * Added support for PMCID and PMID fields in bibtex (jgm/pandoc#1923). * Map biblatex `inreference` to `EntryEncyclopedia` rather than `NoType` (#88). * Wrap bibliography entries in Div with id=ref-citationId * Updated `chicago-author-date.csl`. * Allow compilation against pandoc 1.14 (the next release). * Removed obsolete `small_base` cabal flag. * Added `debug` cabal flag which turns on tracing. pandoc-citeproc (0.6.0.1) * Added pandoc-types upper bound. * Removed `auto-all` from profiling options. * Fixed CSL dependent style support (#105, Tim Lin). * Updates to build with GHC 7.10.1 (Mark Wright). pandoc-citeproc (0.6) * The CSL parser has been replaced with a new, xml-conduit based module, which does not rely on C libraries and should be easier to repair and extend. The module has been checked against the old module with all CSL files in the citeproc repository. The only differences are with attribute values beginning or ending with a nonbreaking space (e.g. with French guillemets), and the new parser's behavior (preserving the spaces) is clearly correct. Parsing was measured as about twice as fast in a benchmark. * The `hexpat` cabal flag has been removed. * The old `Text.CSL.Pickle` and `Text.CSL.Pickle.*` modules have been removed. * Plural locator labels (e.g. 'pp.') are now used for page ranges containing en-dashes (#84). * `Elements` has been removed from `Element`. It was entirely unnecessary, used only once (and dispensibly) in `Text.CSL.Eval`. This change results in cleaner code. * Improved man page generation. * Updated `chicago-author-date.csl` default style. pandoc-citeproc (0.5) * Revised locator parsing: + parseLocator now looks for the "short" forms of terms in the style's locale(s). So, in English you'd use "p." or "ch."; in German, "S." or "Kap." + Note that the locator label must match what is in the locale file, including the period. Before this change, you could omit the period: "p 12" or "p. 12" would both give you a "page." Also, previously, the locators were case-insensitive; now they must be in the same case as in the locale. (English "p.", German "S.".) + "no." no longer gets parsed as a "note": closes #74. + Text.CSL.Reference no longer exports parseLocator. parseLocator is now used only locally, in Text.CSL.Pandoc. * Data.getLocale: Try 2-letter locale lookup if longer locale not found. This should fix an error that occured with less common locales (jgm/pandoc#1548). * Added parseNames field to Agent. Set parse-names=true when writing CSL JSON and collapsing suffix or particles into first or last names. * Properly handle agents with 'parse-names' set to 'true' (#77). Note that parse-names defaults to true if not set, as in Zotero. * Reference: added explicit exports. * Styles: Added explicit export list. * Eval: Fixed isNumericString to recognize en dash (#74). * Allow bibtex double quotes to be escaped inside {} (jgm/pandoc#1568). * Titlecase transform improvements (#76). * Added two csl files missing from tests/. * Performance improvements: Avoid unnecessary Output groupings. Eliminated some unnecessary generic traversals. (#71) * Makefile: Use cpphs. Text.CSL.Data seems to break on OSX 10.9 without it. * Added prof target to Makefile * Test suite: don't exit with success if there were errors! pandoc-citeproc (0.4.0.1) * Interpret date literals with underscores (e.g. "2004_2006") as ranges. This covers a common workaround for a deficiency in Zotero (#65). * Correctly handle "literal" in CSL date (#65). * Fixed erroneous capitalization of the first ibid. in a citation, even in the middle of a sentence (#68). Removed "ibid-c", "ibid-locator-c" classifications. * Pandoc: Capitalize first word of citation note, unless span=nocase. Previously we only capitalized citations. This captures ibid and the like. * Text.CSL.Util.toCapital: respect ``. * Turn small caps into SmallCaps element in reading CSL JSON (#67). Either the or the