closes#1709: [patch] citeproc-js 1.0.51 compatibility patch: makeBibliography() return value
closes#1712: [patch] citeproc-js 1.0.52 compatibility patch
From Frank's notes for 1.0.52:
In this release, the following change may require accomodation
within the calling application:
The processor quashes double spaces in the output.
RTF control words can be terminated with a space, but
this causes an immediately following space to be lost
from the output. To avoid this, the RTF output mode of
the processor has been adjusted to terminate RTF control
words with {} rather than space. Applications that convert
processor output between other formats (such as HTML)
may need to be adjusted to accomodate this new behavior.
Also in this release:
Reverse the RTF-related conservatism in the quashing
of duplicate spaces that was introduced in 1.0.51.
Add missing parens to suspect test condition (not
related to any known bug).
From Frank's notes for 1.0.51:
The API return value changes slightly with this version:
For styles that have no bibliography element, the command
makeBibliography() now returns false, rather than a
stub bibliography object. Code adjustments in the
calling application may be required to accommodate
this change in behavior.
In other bibliography and citation returns, the processor
now provides new arrays, bibliography_errors and
citation_errors respectively, with information on
bibliography entries or cites that produce no meaningful
rendered output. Details are in the processor manual:
http://gsl-nagoya-u.net/http/pub/citeproc-doc.html#handling-items-with-no-rendered-form
Also in this release:
Fix string breakage affecting text-case="title".
Fix over-aggressive quashing of spaces, which affected
spacing following RTF entities.
this currently leaks a hidden browser object, since deleting it seems to cause the print command to fail. this may not be a big issue, since this feature is used so rarely anyways...
From Frank's announcements:
In 1.0.45:
Fix duplicate terminal punctuation
affecting bibliography output.
Eliminate dereferencing assignments, for
compatibility with some JS implementations.
Suppress duplicate spaces affecting some
styles.
In 1.0.46:
Add option to updateItems() and updateUncitedItems()
to suppress sorting of the bibliography.
In 1.0.47:
Fix a duplicate space issue.
General refactoring of code for identifying an quashing
duplicate punctuation and spaces. The code should be
easier to control when further issues involving punctuation
arise down the road.
Provide for replacement of the citation number in
numbered styles with a slug, so that strings in a
bibliography listing can be used in a template
without rerendering. This is useful in some server-side
applications.
In 1.0.48:
Permit author to vary between parallel citations. Useful
for French case-and-commentary string cites.
Permit author to vary between parallel citations. Useful
for French case-and-commentary string cites.
Fix bug in short form title support.
Further fixes to quashing of duplicate punctuation
and spaces.
Fix issues with bibliography slug.
Provide for parsing experimental variables out of the
content of the note variable. For use in advance
testing of styles that require changes to the variables
available in CSL, or supplied by the calling application.
In 1.0.49:
Extend support for "parallel" legal citations to include
case and comment string citations used in French legal
writing.
Fix XML parsing code in xmldom.js to screen XML comments
from the processor. Thanks to Carles Pina for reporting
this fault (relevant to non-Firefox, non-gecko browsers).
Tighten up conditions for suppression of the trailing year
where the volume number and the year have the same value.
Suppression will no longer occur when the rendered date
contains additional details (day, month).
Throw a more meaningful error when an invalid locale
is requested. Thanks to Carles Pina.
Fix missing definition of quotes="false" in formats.js.
Thanks to Carles Pina.
Fix bug in handling of capitalized characters used in
citeproc-js hackaround for multi-character initials.
In 1.0.50:
Apply output-mode-specific text_escape function to
affixes and delimiters.
Strip XML declaration from CSL and locale strings
received for parsing in the xmldom.js module.
Add paranoia fallback to handle comment nodes that
sneak past the XML parser.
also adds a parameter to disable proxy redirection by domain (although if I had known how much work would be involved in implementing this before I started, I wouldn't have bothered)
The problem here was that entities weren't properly being encoded as Unicode RTF when the editor was used, because TinyMCE was replacing high characters with HTML entities that were not properly decoded. This is now fixed.
- Creating buckets not yet supported
- Some now-unused single-item-per-bucket code still needs to be removed
- Child attachments are not displayed in Zotero Commons pane
- Manual refreshing via bucket right-click (or a Firefox restart) is currently necessary after adding items
- Double-clicking bucket takes you to bucket page; double-clicking item takes you to named anchor