| 1 | # RELEASE NOTES FOR VERSION 3.21 |
| 2 | - Added `\mkseqrange` and `\mkseqrange*` to format pages in citations |
| 3 | using the bibstrings `sequens` and `sequentes` if applicable. |
| 4 | - Added new option `citepagerange` to customize the format of page ranges. |
| 5 | - Added `\mkautorange` and `\mkautorange*` which forward to `\mknormrange`, |
| 6 | `\mkcomprange` or `\mkseqrange` (or their starred counterpart, respectively) |
| 7 | depending on the `citepagerange` value. |
| 8 | - Use `\mkautorange` in standard styles. |
| 9 | - Fix `\DeclareHyphenationExceptions` with polyglossia and language variants. |
| 10 | |
| 11 | # RELEASE NOTES FOR VERSION 3.20 |
| 12 | - Added new option settings `minyearinit` and `minyearfull` for |
| 13 | `uniquename` |
| 14 | - Added `\DeclareNamehashTemplate` and supporting macros to allow |
| 15 | customisation of the nameparts used in name hash construction. |
| 16 | - Added facility for custom namehash ids in extended name format. |
| 17 | - Added new field 'fullhashraw'. |
| 18 | - Added `\@doendpe` and `\par` call to `\printbibliography` and |
| 19 | `\printbiblist`. |
| 20 | This means that `\printbibliography` and `\printbiblist` |
| 21 | now force text after them to start a new paragraph. |
| 22 | This is probably usually desired. Since most people will use |
| 23 | bibliography environments that come with an implicit `\par` |
| 24 | or at least a new line, this should hopefully not change the output |
| 25 | in too many cases. |
| 26 | |
| 27 | # RELEASE NOTES FOR VERSION 3.19 |
| 28 | - Added `\AtNextRefsection`. |
| 29 | - Added `\DeclareExtradateContext`. |
| 30 | |
| 31 | # RELEASE NOTES FOR VERSION 3.18b |
| 32 | - Reenable `\MakeUppercase`/`\MakeLowercase` "patches" for `\bibstring` |
| 33 | based on `\CaseSwitch`. |
| 34 | |
| 35 | # RELEASE NOTES FOR VERSION 3.18a |
| 36 | - Disable `\MakeUppercase`/`\MakeLowercase` patches as emergency fix |
| 37 | for LaTeX 2022-06-01-PL4 compatibility. |
| 38 | |
| 39 | # RELEASE NOTES FOR VERSION 3.18 |
| 40 | - New sorting name key generation macro `\visibility` which allows |
| 41 | application of sorting name key generation to apply only to sorting |
| 42 | within citations. |
| 43 | - New sorting macro `\intciteorder` which allows sorting by order internal |
| 44 | to a cite command like \cite{a,b,c}. |
| 45 | - New option `pluralothers` to force "et al." to be plural (i.e. only |
| 46 | replace two or more names). This is required for some styles (e.g. APA) |
| 47 | - Added `\localrefcontext` as a local alternative |
| 48 | to the global `\newrefcontext`. |
| 49 | `\localrefcontext` can be nested and is only active in the current group. |
| 50 | |
| 51 | # RELEASE NOTES FOR VERSION 3.17 |
| 52 | - **INCOMPATIBLE CHANGE** |
| 53 | The behaviour of index-less granular xdata references to list fields has |
| 54 | changed. Before, a reference to an XDATA list field would select the |
| 55 | first element in the XDATA field list if no index was given but now this |
| 56 | will splice in all elements of the XDATA list field. To ensure the |
| 57 | previous behaviour, simply add "-1" (assuming the default value of "-" |
| 58 | for the biber 'xdatasep' option) to the end of all granaular list |
| 59 | XDATA references. |
| 60 | - Added helper macros to enable calculations with non-ASCII numerals. |
| 61 | This is necessary to properly support languages like Marathi. |
| 62 | At the moment the 'translation' is very basic and uses a one-to-one |
| 63 | correspondence of US-ASCII (Arabic) digits and non-ASCII digits. |
| 64 | The translation also needs additional post-processing steps. |
| 65 | Use `\blx@defcomputableequivalent{<numeral digit>}{<ASCII digit>}` to |
| 66 | make `<numeral digit>` an equivalent of `<ASCII digit>` |
| 67 | (presumably this command will be used in `.lbx` files if the language |
| 68 | requires it). |
| 69 | `\hascomputableequivalent{<string>}` can be used to check if `<string>` |
| 70 | is a number that can be converted to a number with ASCII digits. |
| 71 | `\getcomputableequivalent{<string>}{<macro>}` does the conversion |
| 72 | and saves the number in `<macro>`. |
| 73 | There is `\ifiscomputable{<string>}` to check if a `<string>` |
| 74 | is an ASCII number OR has a computable equivalent. |
| 75 | There are analogous macros for fields instead of strings. |
| 76 | - Added `\textouterlang` to select the last active language that |
| 77 | was not selected by `biblatex` itself. |
| 78 | This may help in multilingual setups where `biblatex` also changes the |
| 79 | language quite heavily. |
| 80 | - Added `\DeclareBibstringSet`, `\DeclareBibstringSetFormat` etc. |
| 81 | to allow injecting additional formatting for a set of bibstrings. |
| 82 | Sets can be defined arbitrarily. These commands are primarily |
| 83 | intended for use in localisation modules. |
| 84 | - Changed the definition of `\bibnamedelimi` to `\isdot\addnbspace`. |
| 85 | Previously the definition was just `\addnbspace`, which meant the `.` |
| 86 | would be treated as a period/full stop. |
| 87 | - **BREAKING CHANGE** |
| 88 | `\DeclareDelimFormat` no longer accepts a list of names as argument. |
| 89 | It only accepts a single delimiter name. |
| 90 | A list of contexts is still supported. |
| 91 | Note that previously the optional argument would not work correctly |
| 92 | with a list of names. |
| 93 | - **CRITICAL CHANGE** |
| 94 | `biblatex` no longer writes tracking and refsection initialisation code |
| 95 | to aux files. |
| 96 | Instead the `\...cite` commands are redefined locally to do that on demand. |
| 97 | This should keep the auxiliary files much cleaner of `biblatex` |
| 98 | intervention. |
| 99 | - **CRITICAL CHANGE** |
| 100 | Generalised `season` date part to `yeardivision`. It can now also |
| 101 | hold quarter, quadrimester, semestral or seasons with hemisphere |
| 102 | designation. |
| 103 | Helper macros have been renamed accordingly. Limited backwards |
| 104 | compatibility is in place. |
| 105 | - **(Possibly) CRITICAL CHANGE** |
| 106 | `\notecite` and friends no longer issue an explicit `\nocite`. |
| 107 | Since the commands are defined with `\DeclareCiteCommand`, they |
| 108 | already issue a normal cite request. |
| 109 | The additional `\nocite` from the loop code was superfluous |
| 110 | and would result in slightly instable `.bcf` files. |
| 111 | |
| 112 | |
| 113 | # RELEASE NOTES FOR VERSION 3.16 |
| 114 | - Fixed an infinite loop caused by excessive aliasing of the `volcitepages` |
| 115 | format. |
| 116 | Reverted the alias `\DeclareFieldAlias{volcitepages}{postnote}` |
| 117 | and again define |
| 118 | ``` |
| 119 | \DeclareFieldFormat{volcitepages}{\mkpageprefix[pagination][\mknormrange]{#1}} |
| 120 | ``` |
| 121 | explicitly. |
| 122 | - Fixed `.lbx` file loading behaviour. All `.lbx` files are now loaded |
| 123 | `\AtBeginDocument`. Languages that were not requested explicitly by packages |
| 124 | are recorded in the `.aux` file and loaded on the next run. |
| 125 | This may require a further LaTeX run in some situations, but now we can be |
| 126 | sure when `.lbx` files are read. |
| 127 | - Added `label` option to `\printbibliography`. |
| 128 | - Added more name wrapper aliases to make name aliasing smoother. |
| 129 | - Deprecate `\mainlang` switch in favour of the text macro `\textmainlang`. |
| 130 | - Deprecate `\mkrelatedstring` (which is defined as `\mainlang`) |
| 131 | in favour of `\mkrelatestringtext` (defined as `\textmainlang`). |
| 132 | |
| 133 | # RELEASE NOTES FOR VERSION 3.15a |
| 134 | - Fixed bug with long argument for `\DeclareFieldFormat` and friends. |
| 135 | |
| 136 | # RELEASE NOTES FOR VERSION 3.15 |
| 137 | - Fixed a long-standing issue with `\intitlepunct`. |
| 138 | The old definition |
| 139 | ``` |
| 140 | \newbibmacro*{in:}{% |
| 141 | \printtext{% |
| 142 | \bibstring{in}\intitlepunct}} |
| 143 | ``` |
| 144 | would print `\intitlepunct` directly and not via the punctuation |
| 145 | buffer. Since the `\add...` punctuation macros guard against |
| 146 | undesired double punctuation, this would usually not show as an |
| 147 | issue (except in edge cases https://tex.stackexchange.com/q/175730/, |
| 148 | https://github.com/plk/biblatex/issues/943). |
| 149 | The new definition uses the punctuation tracker to print |
| 150 | `\intitlepunct`. |
| 151 | ``` |
| 152 | \newbibmacro*{in:}{% |
| 153 | \bibstring{in}% |
| 154 | \printunit{\intitlepunct}} |
| 155 | ``` |
| 156 | `\printunit` is needed instead of `\setunit` to stop subsequent |
| 157 | `\setunit`s from overriding `\intitlepunct` in case of missing |
| 158 | fields. |
| 159 | - Define `volcitepages` and `multipostnote` as a field alias of `postnote` |
| 160 | and `multiprenote` as an alias of `prenote`. |
| 161 | That should make it easier to change all post- and prenote formats at once. |
| 162 | A change to `postnote` will automatically apply to `multipostnote` |
| 163 | and `volcitepages` as well. Similarly for `multiprenote`. |
| 164 | In case that is not desired, the original definitions can be restored with |
| 165 | ``` |
| 166 | \DeclareFieldFormat{volcitepages}{\mkpageprefix[pagination][\mknormrange]{#1}} |
| 167 | \DeclareFieldFormat{multiprenote}{#1\isdot} |
| 168 | \DeclareFieldFormat{multipostnote}{\mkpageprefix[pagination][\mknormrange]{#1}} |
| 169 | ``` |
| 170 | |
| 171 | **NB** The definition of `volcitepages` caused an infinite loop and was |
| 172 | reverted in v3.15b. |
| 173 | This means that only `multiprenote` and `multipostnote` are aliased. |
| 174 | - Unified DOI, eprint and URL printing across all entry types. |
| 175 | The fields `doi`, `eprint`, `eprintclass`, `eprinttype` and `url` |
| 176 | are now valid for all entry types. |
| 177 | `@online` and `@unpublished` now also use the bibmacro |
| 178 | `doi+eprint+url`. |
| 179 | This means `@online` now responds to the `url` option. |
| 180 | That does not mean, however, that a global `url=false,` |
| 181 | suppresses URLs for `@online` entries, since `url=true,` |
| 182 | is set on a per-type level to ensure backwards compatibility |
| 183 | as far as possible. |
| 184 | In case eprint information should be suppressed for `@online` |
| 185 | and `@unpublished`, add |
| 186 | ``` |
| 187 | \ExecuteBibliographyOptions[online,unpublished]{eprint=false} |
| 188 | ``` |
| 189 | - Added `eid` to more entry types. |
| 190 | To avoid issues with backwards compatibility of widely used bibmacros, |
| 191 | the bibmacro `chapter+pages` was redefined from |
| 192 | ``` |
| 193 | \newbibmacro*{chapter+pages}{% |
| 194 | \printfield{chapter}% |
| 195 | \setunit{\bibpagespunct}% |
| 196 | \printfield{pages}% |
| 197 | \newunit} |
| 198 | ``` |
| 199 | to |
| 200 | ``` |
| 201 | \newbibmacro*{chapter+pages}{% |
| 202 | \printfield{chapter}% |
| 203 | \setunit{\bibeidpunct}% |
| 204 | \printfield{eid}% |
| 205 | \setunit{\bibpagespunct}% |
| 206 | \printfield{pages}% |
| 207 | \newunit} |
| 208 | ``` |
| 209 | - Added `\bibeidpunct` in analogy to `\bibpagespunct`. |
| 210 | - Added `issuetitleaddon` and `journaltitleaddon` fields. |
| 211 | - Added options `backreffloats` and `trackfloats` to enable/disable |
| 212 | citation tracking and back references in floats. |
| 213 | Note that citation tracking in floats can lead to undesirable |
| 214 | results in case the float objects floats too far from its "natural" |
| 215 | position. |
| 216 | - **INCOMPATIBLE CHANGE** `numeric-comp` compresses subentry set |
| 217 | references now. |
| 218 | This behaviour can be disabled with `subentrycomp=false`. |
| 219 | - Added `subentrycomp` option to `numeric-comp` citation style. |
| 220 | The option is only relevant with `subentry=true`. |
| 221 | With `subentrycomp=true` set citations will be compressed |
| 222 | to "1a-c" instead of "1a; 1b; 1c". |
| 223 | The option is mainly intended for backwards compatibility; |
| 224 | the behaviour of previous `biblatex` versions can be restored |
| 225 | with `subentrycomp=false`. |
| 226 | - Added `\multiciterangedelim`, `\multicitesubentrydelim`, |
| 227 | `\multicitesubentryrangedelim`, `\superciterangedelim`, |
| 228 | `\supercitesubentrydelim`, and `\supercitesubentryrangedelim` for |
| 229 | finer control over (compressed) subentry citations in `numeric-comp`. |
| 230 | - **CRITICAL CHANGE** |
| 231 | The structure of the bibmacros in `numeric-comp` |
| 232 | has been reworked to make it easier to customise the printed output. |
| 233 | Documents that relied on patching internal bibmacros or heavily |
| 234 | redefined them may have to adapt. |
| 235 | - **CRITICAL CHANGE** |
| 236 | Implemented better `@set` support for BibTeX, `@set`s should now |
| 237 | sort properly. |
| 238 | This is achieved with a two-pass structure and (hidden) copies of |
| 239 | the set entries. |
| 240 | The two-pass structure means that the compilation sequence becomes |
| 241 | LaTeX, BibTeX, LaTeX, BibTeX, LaTeX, LaTeX. |
| 242 | - **CRITICAL CHANGE** |
| 243 | The case change functions now make use of the `expl3` module `l3text` |
| 244 | if the available `expl3` version is recent enough. |
| 245 | If `expl3` is too old the old LaTeX2e implementation is used. |
| 246 | If desired the implementation of the case changing functions |
| 247 | can be selected at load-time with the `casechanger` option, which |
| 248 | accepts the values `expl3`, `latex2e` and `auto` (which selects |
| 249 | `expl3` if the `expl3` version not older than 2020-04-06, this |
| 250 | is the default). |
| 251 | |
| 252 | The `expl3` implementation of the case changer is slightly more |
| 253 | robust than the home-grown `latex2e` code. |
| 254 | - The option `bibtexcaseprotection` can be used to turn off the |
| 255 | case protection via curly braces. This allows for a saner approach |
| 256 | to case protection where text is protected solely via a macro |
| 257 | like `\NoCaseChange`, e.g. |
| 258 | ``` |
| 259 | title = {The Story of \NoCaseChange{HMS \emph{Erebus}} |
| 260 | in \emph{Really} Strong Wind}, |
| 261 | ``` |
| 262 | instead of |
| 263 | ``` |
| 264 | title = {The Story of {HMS} \emph{Erebus} |
| 265 | in {\emph{Really}} Strong Wind}, |
| 266 | ``` |
| 267 | - Added `\mautocite` and `\Mautocite`. |
| 268 | - Added `\NumsCheckSetup` and `\PagesCheckSetup` for finer control |
| 269 | of the `\ifnumerals` and `\ifpages` checks. |
| 270 | - Deprecate the starred `\DeclareDelimAlias*` in favour of |
| 271 | `\DeclareDelimAlias` with optional arguments. |
| 272 | - **INCOMPATIBLE CHANGE** |
| 273 | `biblatex` no longer falls back to English for unknown languages. |
| 274 | Warnings will be triggered if undefined language strings or extras |
| 275 | are used. |
| 276 | - **INCOMPATIBLE CHANGE** |
| 277 | Bibliography strings and bibliography extras can now be written |
| 278 | either to `\captions<language>` or to `\extras<language>` |
| 279 | (this is controlled with the `langhook` option). |
| 280 | Previously, they were written to `\extras<language>`, but upon |
| 281 | reflection `\captions<language>` appears to be a more sensible |
| 282 | place for these definitions. |
| 283 | The new default is to write to `\captions<language>` |
| 284 | (i.e. `langhook=captions`). |
| 285 | The previous behaviour can be restored with `langhook=extras`. |
| 286 | - **INCOMPATIBLE CHANGE** Moved `\delimcontext{bib}` to `\AtUsedriver`, |
| 287 | this makes it easier to override the delimiter context in `\usedriver` |
| 288 | calls. `\AtUsedriver*` calls may have to be amended to include |
| 289 | `\delimcontext{bib}`. The new default is |
| 290 | ``` |
| 291 | \AtUsedriver{% |
| 292 | \delimcontext{bib}% |
| 293 | \let\finentry\blx@finentry@usedrv |
| 294 | \let\newblock\relax |
| 295 | \let\abx@macro@bibindex\@empty |
| 296 | \let\abx@macro@pageref\@empty} |
| 297 | ``` |
| 298 | Note that this definition is backwards compatible |
| 299 | and can be used in older versions as well (down to v3.4 2016-05-10). |
| 300 | - `biblatex` now tests if a requested backend (re)run happened by |
| 301 | comparing the MD5 hashes of the new and old `.bbl` files. |
| 302 | - Added file hooks `\blx@filehook@preload@<filename>`, |
| 303 | `\blx@filehook@postload@<filename>` |
| 304 | and `\blx@filehook@failure@<filename>` |
| 305 | to execute hooks before or after a file is loaded |
| 306 | or if the loading fails. |
| 307 | `\blx@lbxfilehook@simple@preload@<filename>`, |
| 308 | `\blx@lbxfilehook@simple@postload@<filename>` |
| 309 | and `\blx@lbxfilehook@simple@failure@<filename>` |
| 310 | as well as |
| 311 | `\blx@lbxfilehook@once@preload@<filename>`, |
| 312 | `\blx@lbxfilehook@once@postload@<filename>` |
| 313 | and `\blx@lbxfilehook@once@failure@<filename>` |
| 314 | are the equivalents for `.lbx` loading, where |
| 315 | files may be loaded several times in some situations. |
| 316 | - Added limited support for 'nodate' with BibTeX. |
| 317 | - Improved `babel` and `polyglossia` interfacing (avoids more or less |
| 318 | unsupported patches). |
| 319 | This should work with `babel` at least v3.9r (2016/04/23) |
| 320 | and polyglossia `polyglossia` v1.49 (2020/04/08) or later. |
| 321 | - **INCOMPATIBLE CHANGE** Removed list and name index wrappers |
| 322 | (`\DeclareIndexNameWrapperFormat`, `\DeclareIndexListWrapperFormat` |
| 323 | and friends). Those wrappers make no sense, since the indexed |
| 324 | names are not printed 'together' in any useful sense of the word |
| 325 | and were never working anyway. |
| 326 | - **CRITICAL CHANGE** Generalised some keyval macros. |
| 327 | `biblatex`-related uses of `\define@key` should ideally replaced with |
| 328 | `\blx@kv@defkey`. |
| 329 | Style authors are advised not to rely too much on the internal |
| 330 | implementation of certain keyval interfaces. |
| 331 | Users who want to experiment with using a different underlying |
| 332 | keyval parser need only provide replacements of the `\blx@kv@...` |
| 333 | macros (which are defined via `\provide...` so that they will |
| 334 | not overwrite existing definitions; in particular users can define |
| 335 | those replacements before loading `biblatex`). |
| 336 | - Deprecate `\ifkomabibtotoc` and `\ifkomabibtotocnumbered`. |
| 337 | With newer versions of KOMA-Script these tests are no longer used |
| 338 | and their implementation was always a bit shifty (they would only pick |
| 339 | up globally set options). |
| 340 | |
| 341 | |
| 342 | # RELEASE NOTES FOR VERSION 3.14 |
| 343 | - biber from version 2.14 has extended, granular XDATA functionality to |
| 344 | allow referencing from and to parts of fields. This makes XDATA entries into |
| 345 | more general data sharing containers. |
| 346 | - Biber applies Perl's Unicode case folding to normalise the |
| 347 | capitalisation of field names and entry types when reading from the |
| 348 | `.bib` file. The output in the `.bbl` (what comes out on the |
| 349 | `biblatex` side uses the capitalisation from the data model; the only |
| 350 | exception are unknown entry types which are passed on *exactly* |
| 351 | as they are given in the `.bib` file - of course it is strongly |
| 352 | recommended to define all entry types one intends to use in the |
| 353 | data model). |
| 354 | - `biblatex` now interfaces with `polyglossia` much better and can deal |
| 355 | with language variants. |
| 356 | Note that `polyglossia` v1.45 (2019/10/27) is required for this |
| 357 | to work properly, it is strongly recommended to update `polyglossia` |
| 358 | to this or a later (current) version. |
| 359 | |
| 360 | # RELEASE NOTES FOR VERSION 3.13 |
| 361 | - **INCOMPATIBLE CHANGE** Any custom per-entry options in datasources must |
| 362 | be defined with `\DeclareEntryOption` in order for biber to recognise |
| 363 | them and pass them out in the `.bbl`. |
| 364 | This should not adversely affect any code using the documented |
| 365 | `\Declare...Option` interface, so should be uncritical for most users. |
| 366 | - Added `\DeclareBiblatexOption` as a convenient interface to declare the same |
| 367 | option in different scopes. This should help avoid code duplication. |
| 368 | For example |
| 369 | ``` |
| 370 | \DeclareBibliographyOption[boolean]{noroman}[true]{% |
| 371 | \settoggle{blx@noroman}{#1}} |
| 372 | \DeclareTypeOption[boolean]{noroman}[true]{% |
| 373 | \settoggle{blx@noroman}{#1}} |
| 374 | \DeclareEntryOption[boolean]{noroman}[true]{% |
| 375 | \settoggle{blx@noroman}{#1}} |
| 376 | ``` |
| 377 | can be replaced with |
| 378 | ``` |
| 379 | \DeclareBiblatexOption{global,type,entry}[boolean]{noroman}[true]{% |
| 380 | \settoggle{blx@noroman}{#1}} |
| 381 | ``` |
| 382 | - Following the introduction of `\DeclareBiblatexOption` extend the scope |
| 383 | of a few options (`abbreviate`, `citetracker`, `clearlang`, `dataonly`, |
| 384 | `dateabbrev`, `<namepart>inits`, `ibidtracker`, `idemtracker`, `labelalpha`, |
| 385 | `labelnumber`, `labeltitle`, `labeltitleyear`, `labeldateparts`, |
| 386 | `loccittracker`, `opcittracker`, `singletitle`, `skipbib`, `skipbiblist`, |
| 387 | `skipbiblab` `terseinits`, `uniquelist`, `uniquename`, `uniquetitle`, |
| 388 | `uniquebaretitle`, `uniquework`, `uniqueprimaryauthor`). |
| 389 | - Furthermore, the standard style options `doi`, `eprint`, `isbn`, `url`, |
| 390 | `related` are now available also on a per-type and per-entry level. |
| 391 | The same holds for `mergedate`, `subentry` and the options of `reading.bbx`. |
| 392 | This change has the potential to clash with custom styles that already define |
| 393 | the standard options at these scopes. |
| 394 | - Promote `@software` to regular entry type and define `@dataset`. |
| 395 | `@software` is aliased to the `@misc` driver, |
| 396 | `@dataset` has a dedicated driver. |
| 397 | - Add `\ifvolcite` test to check if the current citation is in a `\volcite` |
| 398 | context. |
| 399 | - Add the special fields `volcitevolume` and `volcitepages` for finer control |
| 400 | over the `\volcite` postnote. |
| 401 | - Add `\AtVolcite` hook to initialise `\volcite` commands. |
| 402 | - Add `\mkbibcompletename` as well as `\mkbibcompletename<formatorder>` |
| 403 | to format complete names. |
| 404 | The commands are analogous to `\mkbibname<namepart>` but apply to |
| 405 | the entire name printed in format order `<formatorder>`. |
| 406 | By default the predefined macros all expand to `\mkbibcompletename`. |
| 407 | - Add `multiprenotedelim` and `multipostnotedelim` and make all |
| 408 | `(pre|post)notedelim`-like commands context sensitive. |
| 409 | - Add rudimentary support for `labelprefix` with BibTeX backend. |
| 410 | Biber implements `labelprefix` via `refcontext`s, but BibTeX does not |
| 411 | actually support `refcontext`s. The user interface is retained, but BibTeX's |
| 412 | "`refcontext`s" support only the emulation of `labelprefix` and nothing more. |
| 413 | There might be subtle differences between Biber's and BibTeX's |
| 414 | `labelprefix` behaviour, but it should be better than nothing. |
| 415 | If you need full `labelprefix` support, please consider switching to Biber. |
| 416 | - Add `\thefirstlistitem`, `\strfirstlistitem` and `\usefirstlistitem` to |
| 417 | grab and use the first item of a field. |
| 418 | - Add `\isdot` to the format for `journaltitle` so that `.`s at the end of the |
| 419 | `journal(title)` field are automatically treated as abbreviation dots and not |
| 420 | sentence-ending periods. To restore the old behaviour add |
| 421 | ``` |
| 422 | \DeclareFieldFormat{journaltitle}{\mkbibemph{#1}} |
| 423 | ``` |
| 424 | to the preamble. |
| 425 | - Add second optional item post processing argument to `\mkcomprange`, |
| 426 | `\mknormrange` and `\mkfirstpage`. It can be used to post process |
| 427 | every number item in the formatted range separately. It can for |
| 428 | example turn cardinal ranges into ordinal ranges (this is done in |
| 429 | the Latvian localisation module). |
| 430 | - Add further customisation options for strings typeset with `url`'s `\url` |
| 431 | command (mainly URLs and DOIs). It is now possible to add a bit of |
| 432 | stretchable space after characters with `biburlnumskip`, `biburlucskip` |
| 433 | and `biburlucskip`. The previously hard-coded (stretacheble) space |
| 434 | `\biburlbigskip` as well as the penalties `biburlbigbreakpenalty` and |
| 435 | `biburlbreakpenalty` are also configurable now. |
| 436 | - Add `\DeclarePrintbibliographyDefaults` to set default values for some |
| 437 | option keys to `\printbibliography` and friends. |
| 438 | - `\nocite` is now enabled in the bibliography (previously it was |
| 439 | deactivated in the bibliography). |
| 440 | Please report any issues that this may cause. |
| 441 | - The internals macros `\abx@aux@cite`, `\abx@aux@refcontext` |
| 442 | and `\abx@aux@biblist` are now called every time an entry is cite |
| 443 | (and appears in a bibliography or biblist, respectively). |
| 444 | This helps to avoid unwanted side-effects when writing to aux files |
| 445 | is disabled. |
| 446 | - `\nohyphenation` and `\textnohyphenation` now rely on a (fake) |
| 447 | language without hyphenation patterns instead of `\lefthyphenmin`, |
| 448 | which means that the command can now be used anywhere in a paragraph, |
| 449 | see also <https://texfaq.org/FAQ-hyphoff>. |
| 450 | Note that switching languages with `babel` *within* those commands |
| 451 | removes the hyphenation protection. |
| 452 | - Allow `doi` field for `@online` entries. This field was previously |
| 453 | not printed in the `@online` driver. In case DOIs appear where |
| 454 | they should not appear the output of earlier versions can be |
| 455 | recreated with |
| 456 | ``` |
| 457 | \ExecuteBibliographyOptions[online]{doi=false} |
| 458 | ``` |
| 459 | since the `doi` option is now available on a per-type level. |
| 460 | |
| 461 | |
| 462 | # RELEASE NOTES FOR VERSION 3.12 |
| 463 | - **INCOMPATIBLE CHANGE** The syntax for defining data annotations in the |
| 464 | BibLaTeXML data source format has changed to accommodate named |
| 465 | annotations. Annotations are no longer attributes but are fully-fledged |
| 466 | elements. It is not expected that this will impact any current users. |
| 467 | - **INCOMPATIBLE CHANGE** The field/fieldset argument to the `\translit` |
| 468 | command is now mandatory to allow for a new optional argument which |
| 469 | restricts transliteration to entries with particular `langid` fields. |
| 470 | - The field `sortyear` is an integer field now and not a literal. This is |
| 471 | because the `sortX` fields should be the same datatype as the `X` field |
| 472 | as sorting depends on this. This fixes an issue where years were not |
| 473 | sorted properly as integers. `sortyear` was sometimes used to tune date |
| 474 | sorting as in "1984-1", "1984-2" etc. for multi-volume collections with |
| 475 | the same year. However, this is really an abuse of the sorting template |
| 476 | system since this should be done by having a semantically more granular |
| 477 | sorting item to differentiate below the year level (typically, `volume` |
| 478 | does this for multi-volume works and this is already part of all default |
| 479 | sorting templates). The example .bib that comes with biblatex has been |
| 480 | changed to remove such `sortyear` abuses and the sorting is not impacted |
| 481 | as they examples using this already have either `volume` or `sorttitle` |
| 482 | which made this abuse of `sortyear` unnecessary anyway. |
| 483 | - The field `number` is a literal field now and not an integer. This allows for |
| 484 | a wider range of possible input such as "S1", "Suppl. 1", "1-3". |
| 485 | If you want to sort by `number` and only have integers in there, you should |
| 486 | consider using a custom data model to turn `number` back into an integer type |
| 487 | field, since sorting integers as literals has performance implications and |
| 488 | might lead to undesired sorting such as "1", "10", "2". |
| 489 | - **INCOMPATIBLE CHANGE** Removed the 'semi-hidden' option `noerroretextools`. |
| 490 | If you want to load `noerroretextools` now, you need to define the macro |
| 491 | `\blx@noerroretextools` instead. This can for example be done with |
| 492 | ``` |
| 493 | \usepackage{etoolbox} |
| 494 | \cslet{blx@noerroretextools}\empty |
| 495 | \usepackage{biblatex} |
| 496 | ``` |
| 497 | or |
| 498 | ``` |
| 499 | \makeatletter |
| 500 | \let\blx@noerroretextools\@empty |
| 501 | \makeatother |
| 502 | \usepackage{biblatex} |
| 503 | ``` |
| 504 | You still need to make sure that all macros used by `biblatex` are restored |
| 505 | to their `etoolbox` definitions before loading `biblatex`. |
| 506 | - New macro `\abx@missing@entry` to style missing entrykeys in citations. |
| 507 | - Added field format deprecation macros `\DeprecateFieldFormatWithReplacement` |
| 508 | and friends. |
| 509 | - Add `\ifdateyearsequal` to check if two dates have the same year and era |
| 510 | date part. Since `year`s are always non-negative integers and the 'sign' is |
| 511 | stored as the `era`, you should use `\ifdateyearsequal` instead of a simple |
| 512 | `\iffieldequals{#1year}{#2year}` to compare years. The latter can lead to |
| 513 | undesired results if the years have opposite signs, but are otherwise the |
| 514 | same. |
| 515 | - New values `part+`, `chapter+`, `section+` and `subsection+` for 'section'- |
| 516 | valued options `refsection`, `refsegment` and `citereset`. These options |
| 517 | are then executed at not only the specified level of sectioning, but also |
| 518 | all higher levels. |
| 519 | - Add second optional argument to `\DeclareDelimAlias*`. |
| 520 | - Allow keywords for dataonly/skipped entries as well. |
| 521 | - Added `maxcitecounter`. |
| 522 | - Deprecate `\labelnamepunct` in favour of the context-sensitive |
| 523 | `nametitledelim`. |
| 524 | For compatibility reasons `\labelnamepunct` still pops up in the code here |
| 525 | and there, but `nametitledelim` should be preferred now. |
| 526 | - The `xstring` package is not loaded by default any more. |
| 527 | Style developers whose styles make use of that package should load it |
| 528 | explicitly. |
| 529 | - `authoryear.bbx` now has a macro `bbx:ifmergeddate` that can be used to |
| 530 | check whether the date has been printed at the beginning of an entry |
| 531 | and can thus be suppressed later in the `date` and `issue+date` macros. |
| 532 | The macro works like a test and expands to the `<true>` branch if the date |
| 533 | has been merged and can be suppressed, it expands to `<false>` if the date |
| 534 | has not been merged. In practice `\printdate` should then be issued |
| 535 | if and only if the test yields false. |
| 536 | |
| 537 | This change means that the definition of the `date` macro can be the same for |
| 538 | all mergedate settings and that only `bbx:ifmergeddate` is redefined for |
| 539 | each different value. No backwards compatibility issues are expected, |
| 540 | but style authors are encouraged to test the changes and see if the new |
| 541 | macro could be useful for their styles. |
| 542 | - For a long time `biblatex` has defined `\enquote` if `csquotes` was not |
| 543 | loaded. This behaviour was not documented, the official command intended |
| 544 | for quotation marks was always `\mkbibquote`. Because `biblatex` should not |
| 545 | (re)define user-level commands that are not primarily associated with |
| 546 | citations or the bibliography, from this release on `\enquote` is not defined |
| 547 | any more, instead the internal command `\blx@enquote` is defined and used. |
| 548 | The same holds for `\initoquote`, `\initiquote`, `\textooquote`, |
| 549 | `\textcoquote`, `\textoiquote`, `\textciquote`. |
| 550 | `biblatex` still defines the internal commands `\@quotelevel`, `\@quotereset` |
| 551 | and `\@setquotesfcodes` if `csquotes` is not loaded. |
| 552 | |
| 553 | Users are encouraged to use `csquotes` for proper quotation marks, but can |
| 554 | get back the old behaviour with |
| 555 | ``` |
| 556 | \makeatletter |
| 557 | \providerobustcmd*{\enquote}{\blx@enquote} |
| 558 | \makeatother |
| 559 | ``` |
| 560 | or |
| 561 | ``` |
| 562 | \newrobustcmd*{\enquote}{\mkbibquote} |
| 563 | ``` |
| 564 | - Add new list wrapper and name wrapper formats (`\DeclareListWrapperFormat`, |
| 565 | `\DeclareNameWrapperFormat`) to style a (name) lists in its entirety. |
| 566 | This is useful because name and lists formats normally style only one |
| 567 | particular item of the list. The wrapper format can be used to easily format |
| 568 | the entire list in italics, for example. |
| 569 | - `\DeclareCitePunctuationPosition` can be used to configure the punctuation |
| 570 | position for citation commands similar to the optional `position` argument |
| 571 | of `\DeclareAutoCiteCommand`. |
| 572 | - If the `\pdfmdfivesum` primitive is available (via `pdftexcmds`' |
| 573 | `\pdf@mdfivesum`) the `labelprefix` value is hashed for internal use, making |
| 574 | it safer for construction of macro names and the like. If you don't like |
| 575 | that you can turn off the behaviour by redefining `\blx@mdfivesum`. The |
| 576 | fallback in case `\pdf@mdfivesum` is unavailable is |
| 577 | ``` |
| 578 | \let\blx@mdfivesum\@firstofone |
| 579 | ``` |
| 580 | |
| 581 | As before the labelprefix value is fully expanded before use. If its contents |
| 582 | are unexpandable you need to avoid expansion with `\detokenize`. |
| 583 | |
| 584 | # RELEASE NOTES FOR VERSION 3.11 |
| 585 | - `\printbiblist` now supports `driver` and `biblistfilter` options |
| 586 | to change the defaults set by the biblistname. |
| 587 | - Add `\mknormrange` to normalise page ranges without compressing them. |
| 588 | - **INCOMPATIBLE CHANGE** The format for `postnote` (`multipostnote`, |
| 589 | `volcitepages`) normalises page ranges with `\mknormrange`. |
| 590 | Since `\mknormrange` acts only on page ranges as detected by |
| 591 | `\ifpages`, this does not affect text other than page ranges. |
| 592 | Hyphens and dashes in page ranges will be transformed to |
| 593 | `\bibrangedash`, commas and semicolons to `\bibrangesep`. |
| 594 | This is analogous to Biber's treatment of page-like fields. |
| 595 | If you always separated page ranges with `--` or `\bibrangedash` |
| 596 | anyway, this should not change the output you get. |
| 597 | If you used a single hyphen to separate page ranges (e.g., `23-27`) |
| 598 | you will now get the arguably more aesthetically pleasing output |
| 599 | with `\bibrangedash`. |
| 600 | In case you want to restore the old behaviour where page ranges were |
| 601 | not normalised add the following three lines to your preamble. |
| 602 | ``` |
| 603 | \DeclareFieldFormat{postnote}{\mkpageprefix[pagination]{#1}} |
| 604 | \DeclareFieldFormat{volcitepages}{\mkpageprefix[pagination]{#1}} |
| 605 | \DeclareFieldFormat{multipostnote}{\mkpageprefix[pagination]{#1}} |
| 606 | ``` |
| 607 | Style developers may note that the field format for `pages` |
| 608 | was not changed to include `\mknormrange` because the contents |
| 609 | of that field are prepared by the backend and Biber already does |
| 610 | the page range normalisation out of the box. |
| 611 | - The standard definitions for headings were changed to be as close to the |
| 612 | defaults of the standard document classes or KOMA/memoir as possible. |
| 613 | **PLEASE CHECK** if your document headers relied on the behaviour of older |
| 614 | versions. |
| 615 | - The `@unpublished` entry type now also supports `type`, `eventtitle`, |
| 616 | `eventdate` and `venue`. |
| 617 | - A long-standing bug with punctuation before `eventdate` and `venue` was fixed. |
| 618 | Originally the round brackets were supposed to be preceded only by a space, |
| 619 | the addition of other fields caused this space to be replaced by new unit |
| 620 | punctuation. **PLEASE CHECK** if you can accept the changed output. |
| 621 | - Added `\ifdateannotation`. Added optional argument for field and item to |
| 622 | `\iffieldannotation`, `\ifitemannotation`, and `\ifpartannotation`. |
| 623 | - `\DeclareSourcemap` can now be used multiple times. |
| 624 | - **INCOMPATIBLE CHANGE** Language aliases are now also resolved when loading |
| 625 | localisation files, only infinite recursion is avoided. |
| 626 | Assuming `\DeclareLanguageMappingSuffix{-apa}`, loading `ngerman` localisation |
| 627 | causes `ngerman-apa.lbx` to be read. If that file inherits from `german`, |
| 628 | `german-apa.lbx` will be read. Previously only `german.lbx` would have been |
| 629 | read at that point. Of course if `german-apa.lbx` inherits from `german`, |
| 630 | `german.lbx` is loaded at that point, so infinite recursion is avoided. |
| 631 | - **CRITICAL CHANGE** The code to load localisation files was changed. |
| 632 | This is a an internal change and should not influence document output, |
| 633 | save for a few bug fixes. Style authors should check if the changes introduce |
| 634 | any bugs for their localisation handling and report them. |
| 635 | - Added `\begrelateddelim` and `\begrelateddelim<relatedtype>` for punctuation |
| 636 | before the related block. **PLEASE CHECK** that this change does not interfere |
| 637 | with your punctuation settings. The change should be backwards compatible, |
| 638 | but might give different results if `\usebibmacro{related}` is used in |
| 639 | unusual positions. |
| 640 | - Added `locallabelwidth` option to control the label spacing in bibliographies, |
| 641 | if set to true, the label width will be calculated locally for the current |
| 642 | bibliography and not globally from a list of all citation. |
| 643 | |
| 644 | # RELEASE NOTES FOR VERSION 3.10 |
| 645 | - **INCOMPATIBLE CHANGE** The recent ISO8601:201x standard supersedes |
| 646 | the draft EDTF (Extended Date Time Format) extensions. Biblatex therefore |
| 647 | now supports the ISO8601-2 Clause 4, Level 1 Extended Format which is |
| 648 | equivalent to the draft EDTF standard but with different syntax. *This |
| 649 | syntax is in some cases not backwards compatible*. Biblatex will not |
| 650 | support backwards compatibility for the draft EDTF syntax because it is |
| 651 | too messy to do so and few people were using this anyway since it is a |
| 652 | relatively new and specialised feature. Please note these syntax changes |
| 653 | which effect only the formatting of DATE fields in bibliography datasources: |
| 654 | - The "unspecified" marker "u" is now "X" |
| 655 | - An approximate+uncertain date is now indicated with "%" rather than "?~" |
| 656 | - Open dates are now marked with ".." instead of "open" or blank |
| 657 | start/end dates. |
| 658 | - Unknown dates are now indicated by blank start/end dates rather than |
| 659 | "unknown" or "*" |
| 660 | - Unicode support code that is problematic for non-Unicode engines, |
| 661 | but useful for XeTeX and LuaTeX now resides in `blx-unicode.def`. |
| 662 | That file is only read by XeTeX and LuaTeX. |
| 663 | - The option `noerroretextools` demotes the incompatibility error for |
| 664 | `etextools` to a mere warning if set to `true`. Users still need |
| 665 | to make sure that `\forlistloop` has the definition from `etoolbox` |
| 666 | and not the completely incompatible definition from `etextools`. |
| 667 | This option is meant as a last resort for people who must at all |
| 668 | costs load `etextools` or a package that uses it. |
| 669 | `noerroretextools=true` will always cause a warning even if |
| 670 | `etextools` is not loaded. |
| 671 | |
| 672 | # RELEASE NOTES FOR VERSION 3.9 |
| 673 | ## Bug fix release |
| 674 | - Fix `\mkpagetotal` |
| 675 | - Fix issue with refcontexts not appearing in some circumstances |
| 676 | - **DEPRECATION NOTICE** The coming update to the ISO8601 standard |
| 677 | supersedes the draft EDTF (Extended Date Time Format) extensions. |
| 678 | When the new ISO8601 standard is public, biblatex will therefore |
| 679 | support the ISO8601-2 Clause 4, Level 1 Extended Format which is |
| 680 | equivalent to the draft EDTF standard but with different syntax. This |
| 681 | syntax is in some cases not backwards compatible. Biblatex will not |
| 682 | support backwards compatibility for the draft EDTF syntax because it is |
| 683 | too messy to do so and few people were using this anyway since it is a |
| 684 | relatively new and specialised feature. Please note these syntax changes |
| 685 | which will effect only the formatting of DATE fields in bibliography |
| 686 | datasources: |
| 687 | - The "unspecified" marker `u` is now `X` |
| 688 | - An approximate+uncertain date is now indicated with `%` rather than `?~` |
| 689 | - Open dates are now marked with `..` instead of `open` or blank start/end dates. |
| 690 | - Unknown dates are now indicated by blank start/end dates rather than `unknown` or `*` |
| 691 | |
| 692 | # RELEASE NOTES FOR VERSION 3.8a |
| 693 | ## Bug fix release |
| 694 | - Documentation version fix and loop fix in certain styles |
| 695 | |
| 696 | # RELEASE NOTES FOR VERSION 3.8 |
| 697 | ## Requirements |
| 698 | Biber version 2.8 is required for biblatex 3.8 |
| 699 | |
| 700 | ## In order to standardise terminology, some commands and options have dropped the "scheme" naming convention and switched to "template" |
| 701 | - `\DeclareSortingScheme` is now `\DeclareSortingTemplate` |
| 702 | - `\DeclareSortingNamekeyScheme` is now `\DeclareSortingNamekeyTemplate` |
| 703 | - The "sortingnamekeyscheme" option is now "sortingnamekeytemplate" |
| 704 | |
| 705 | ## `\DeclareLabelalphaNameTemplate` no longer has entrytype scope |
| 706 | - **INCOMPATIBLE CHANGE** The optional first argument to |
| 707 | `\DeclareLabelalphaNameTemplate` was previously an entrytype but is now an |
| 708 | arbitrary template name, as with `\DeclareUniquenameTemplate`. This is to |
| 709 | allow multiple definitions which can be referred to at different scopes. |
| 710 | It is unlikely that anyone used this with entrytype scope anyway. |
| 711 | |
| 712 | ## `origlanguage` is now a list instead of a field. |
| 713 | - **INCOMPATIBLE CHANGE** Since this is mostly used to generate localisation strings like |
| 714 | 'Translated from the <language>' via the internal macros `lbx@lfromlang` |
| 715 | and `\lbx@sfromlang`, users and style authors should not see any |
| 716 | differences. However, if your style prints `origlanguage` directly using |
| 717 | `\printfield`, this will need to be changed to `\printlist`. |
| 718 | |
| 719 | ## Name handling enhancements |
| 720 | - Name handling is now fully generalised to cover arbitrary name parts. |
| 721 | The final few pieces have been completed to allow fully customisable |
| 722 | name handling, allowing for better internationalisation. The code for |
| 723 | name uniqueness calculation and label generation for names is now fully |
| 724 | abstracted: templates created with `\DeclareUniquenameTemplate` and |
| 725 | `\DeclareLabelalphaNameTemplate` may now be specified at per-refcontext, |
| 726 | per-entry, per-namelist and per-name scope, which allows complete |
| 727 | control over all aspects of name usage. See the comments in the enhanced |
| 728 | `93-nameparts.tex` example file. |
| 729 | |
| 730 | ## `extrayear` is now `extradate` and the information used to track this can be customised |
| 731 | - **INCOMPATIBLE CHANGE** `extrayear` is called `extradate` now. |
| 732 | Limited backwards compatibility is |
| 733 | in place to allow a smooth transition, but style developers should use the new name. |
| 734 | - The new `\DeclareExtradate` command allows users to track authoryear |
| 735 | disambiguation in arbitrary ways now, for example allowing disambiguation |
| 736 | at month or day level instead of just year. See the PDF doc for details. |
| 737 | - **INCOMPATIBLE CHANGE** Some bibmacros from the `authoryear` style family |
| 738 | were renamed, `cite:labelyear+extrayear` becomes `cite:labeldate+extradate`, |
| 739 | `cite:extrayear` is `cite:extradate` now, and `date+extrayear` |
| 740 | is `date+extradate`. Some backwards compatibility code is present, |
| 741 | but developers should make sure their code works as expected. |
| 742 | |
| 743 | ## Date formatting |
| 744 | - The `mergedate` output has been restored to its earlier form, |
| 745 | it has also been extended to cover all EDTF date parts. |
| 746 | In order to facilitate this, a few date-related tests were introduced |
| 747 | `\iflabeldateisdate`, `\ifdatehasyearonlyprecision`, `\ifdatehastime` |
| 748 | and `\ifdateshavedifferentprecision`. |
| 749 | - The `authoryear` citation styles now use `\printlabeldateextra` |
| 750 | instead of `\printfield{labelyear}\printfield{extrayear}`. |
| 751 | This should have no consequences for end users (except that |
| 752 | dates in citations and bibliography don't differ any more - |
| 753 | previously there were subtle differences when many EDTF features |
| 754 | were used), but style developers should check if they assume |
| 755 | anything about the bibmacros that have now changed. |
| 756 | Style developers are invited to have a look at the changes and |
| 757 | to get inspired to offer full EDTF format for their styles as well. |
| 758 | |
| 759 | ## Set handling |
| 760 | - Static entry sets used to have the behaviour that when citing a member of |
| 761 | a set, the data for the citation came from the set parent which was in |
| 762 | turn taken from the first member of the set. In most use cases, the only |
| 763 | part of the set parent data that was actually used was the labels but in |
| 764 | certain edge cases, other data was used which results in confusing |
| 765 | citations for set members. This has been refactored so that when citing |
| 766 | set members, the member data is used along with some labelling data |
| 767 | injected from the set parent. This means that things like |
| 768 | `\citeauthor{somesetmember}` now give the expected results. |
| 769 | *PLEASE NOTE* that this means that citing sets directly in default styles *not* |
| 770 | based on labels (`authoryear`, `authortitle`, `verbose` etc.) will result |
| 771 | in blank citations as it is not envisaged that sets are useful in such |
| 772 | styles. |
| 773 | - The members of a set can now be sorted according to the active |
| 774 | sorting scheme, this is enabled via the `sortsets` option. |
| 775 | By default the option is set to false and set members appear |
| 776 | in the order given in the data source. |
| 777 | - The `alphabetic` style family now also supports the `subentry` |
| 778 | option. |
| 779 | |
| 780 | ## Localisation and styles |
| 781 | - Styles which supply their own location strings in `.lbx` files typically |
| 782 | use `\DeclareLanguageMapping` to map a document language to the supplied |
| 783 | language files. This is not ideal because the mapping has to be done by |
| 784 | the user depending on the specific language. For example, for the APA |
| 785 | style, in a document using American English, this line is necessary in |
| 786 | every document: |
| 787 | ``` |
| 788 | \DeclareLanguageMapping{american}{american-apa} |
| 789 | ``` |
| 790 | so that the style supplied `america-apa.lbx` file is loaded. |
| 791 | In a document using the German language, the user would have to use: |
| 792 | ``` |
| 793 | \DeclareLanguageMapping{german}{german-apa} |
| 794 | ``` |
| 795 | A new macro `\DeclareLanguageMappingSuffix` is now supplied which allows |
| 796 | styles to register a global localisation file suffix which is appended to |
| 797 | any document language automatically. This removes the need for |
| 798 | `\DeclareLanguageMapping` in user documents as it ensures that the |
| 799 | correct localisation file will be read nomatter what the document language. |
| 800 | For example, the APA style (from version v7.5) now has this |
| 801 | in `apa.bbx`: |
| 802 | ``` |
| 803 | \DeclareLanguageMappingSuffix{-apa} |
| 804 | ``` |
| 805 | which means that for a given document language `<lang>` |
| 806 | the localisation file `<lang>-apa.lbx` will be loaded. |
| 807 | `\DeclareLanguageMapping`, if present, will override |
| 808 | `\DeclareLanguageMappingSuffix`. |
| 809 | |
| 810 | ## Context-sensitive delimiters |
| 811 | - Several delimiter macros now use the context-sensitive delimiter interface |
| 812 | introduced in version 3.4 (`\DeclareDelimFormat`). This change is fully |
| 813 | backwards compatible, but style developers should feel encouraged to use the |
| 814 | new commands `\DeclareDelimFormat` and `\printdelim`. |
| 815 | - Three new delimiters are introduced. `authortypedelim`, `editortypedelim`, |
| 816 | and `translatortypedelim` control the delimiter between the respective name |
| 817 | and the following `<name>` bibstring. |
| 818 | This together with `\DeclareFieldFormat{<name>type}` allows one to go from |
| 819 | 'E. Ditor, ed.' to 'E. Ditor (ed.)' more easily without the need |
| 820 | to redefine entire bibmacros. |
| 821 | - `\DeclareDelimAlias` allows one to alias one delimiter to another. |
| 822 | E.g. `\DeclareDelimAlias{finalnamedelim}{multinamedelim}` |
| 823 | will make `finalnamedelim` an alias for `multinamedelim`. |
| 824 | The starred version `\DeclareDelimAlias*` is local to the |
| 825 | specified contexts. |
| 826 | |
| 827 | ## Misc changes |
| 828 | - The initialisation code for `\usedriver` can now be modified via |
| 829 | `\AtUsedriver`, the code can be executed with `\UseUsedriverHook`. |
| 830 | The default settings retain backwards compatibility with earlier |
| 831 | versions. |
| 832 | - The field `urlraw` contains the unencoded, raw version of the URL. |
| 833 | If the URL includes Unicode characters, `urlraw` will show them |
| 834 | unencoded while the standard `url` field will contain them in |
| 835 | percent-encoded form. |
| 836 | - `\mkpagetotal` now has its own bibstrings `<pagination>total(s)` |
| 837 | Previously it relied on the `<pagination>(s)` bibstrings. |
| 838 | - `sortyear` is now a literal field and not an integer. |
| 839 | - The `etextools` package is now officially incompatible. |
| 840 | - `bidi`-support for footnotes was improved. |
| 841 | - `\ifentryseen`, `\ifentryinbib`, `\ifentrycategory` |
| 842 | and `\ifentrykeyword` can now be used outside of |
| 843 | `biblatex` macros directly in the document. |
| 844 | - `\letbibmacro` can be used to create bibmacro aliases as if |
| 845 | using `\let`. |
| 846 | - `\DeprecateFieldWithReplacement`, `\DeprecateListWithReplacement` |
| 847 | and `\DeprecateNameWithReplacement` can be used to deprecate a field, |
| 848 | name or list and replace it with a new one. |
| 849 | |
| 850 | # RELEASE NOTES FOR VERSION 3.7 |
| 851 | ## Requirements |
| 852 | Biber version 2.7 is required for biblatex 3.7 |
| 853 | |
| 854 | Bugfix release. |
| 855 | |
| 856 | # RELEASE NOTES FOR VERSION 3.6 |
| 857 | ## Requirements |
| 858 | Biber version 2.6 is required for biblatex 3.6 |
| 859 | |
| 860 | This is a minor bugfix release. |
| 861 | |
| 862 | # RELEASE NOTES FOR VERSION 3.5 |
| 863 | ## Requirements |
| 864 | Biber version 2.6 is required for biblatex 3.5 |
| 865 | |
| 866 | ## Name support |
| 867 | - **INCOMPATIBLE CHANGE** The labelling system has been generalised |
| 868 | to be able to deal better with names. `\DeclareLabelalphaTemplate` no |
| 869 | longer uses hard-coded name parts (prefix, family) when extracting label |
| 870 | parts from name fields. Name field label extraction now obeys the new |
| 871 | `\DeclareLabelalphaNameTemplate` specification which details how to extract |
| 872 | label information from each namepart known to the data model. The default |
| 873 | setting is backwards compatible with the old hard-coded behaviour. |
| 874 | However, if you have custom `\DeclareLabelalphaTemplate` specifications, |
| 875 | you should note that the "pcompound" and "pstrwidth" options to `\field` |
| 876 | are now gone and replaced with the relevant settings on `\namepart` in |
| 877 | `\DeclareLabelalphaNameTemplate`. The old options will generate warnings. |
| 878 | It is too complex to provide backwards compat for this, sorry - please |
| 879 | update your templates if necessary. This is one of the last changes |
| 880 | needed to fully generalise name handling. |
| 881 | |
| 882 | ## Date input and output |
| 883 | Major enhancements to the dates parsed by biblatex and the output formats |
| 884 | available. Biblatex now supports [[http://www.loc.gov/standards/datetime/pre-submission.html][EDTF]] level 0 and 1. This is an enhanced |
| 885 | ISO8601v2004 format suitable for bibliographic data. The new support is a |
| 886 | superset of the previous limited ISO8601 support. Times are now fully |
| 887 | supported in various formats as online sources become more common and time |
| 888 | specifications for such sources are increasingly important. Tests and |
| 889 | localisation strings are provided to use EDTF information about date |
| 890 | uncertainty, era, approximation etc. in styles. A new example document |
| 891 | (96-dates.tex) is provided which demonstrates the new features. See the PDF |
| 892 | manual and its changelog for details of usage. The new date format |
| 893 | functionality is backwards compatible. The following changes are more |
| 894 | detailed and mostly of interest to style authors: |
| 895 | |
| 896 | - The `iso8601` date output format is now called `edtf`. The old name will |
| 897 | automatically use `edtf` and issue a deprecation warning. |
| 898 | - `\bibdatedash` is now `\bibdaterangesep` as this name is more |
| 899 | informative and more descriptive of how it is actually used. A backwards |
| 900 | compat alias is provided. |
| 901 | - Pre-biblatex 2.0 legacy sorting scheme definition macros `\name` and |
| 902 | `\list` are now deprecated with warnings. |
| 903 | - **INCOMPATIBLE CHANGE** The `labeldate` option is renamed to |
| 904 | `labeldateparts`. The `datelabel` option is renamed to `labeldate` to |
| 905 | provide consistency with all other date options. Backwards compatibility |
| 906 | is provided and warnings will be issued. |
| 907 | - The new date system necessitated changes to the default year printing |
| 908 | routine for citations in the default authoryear styles. If you wish to |
| 909 | take advantage of the new date features like circa, uncertainty and eras, |
| 910 | when printing citations in authoryear styles, see the enhanced |
| 911 | `cite:labelyear+extrayear` macros in any of the default authoryear |
| 912 | styles. |
| 913 | - The `labelyear` field was inconsistently implemented and in fact could |
| 914 | sometimes contain a date range which made handling it rather difficult. |
| 915 | It is now guaranteed to contain only one year, when it is a copy of an |
| 916 | existing datepart field found by `\DeclareLabeldate` (`labelyear` can |
| 917 | contain a literal/bibstring or non date field too). A new field |
| 918 | `labelendyear` will contain the end of the labeldate year range. The same |
| 919 | applies to labelmonth and labelday. |
| 920 | - The internal macros `\mkbibrange*` have all been changed to |
| 921 | `\mkdaterange*` to make the name more obvious (since they only deal with |
| 922 | dates) and for consistency with the new `\mktimerange*` macros. These |
| 923 | macros are usually only used in style .lbx files and the old names will |
| 924 | generate a deprecation warning. |
| 925 | - The option `datezeros` was inconsistent as it did not enforce zeros when |
| 926 | set to 'true', it merely preserved the field. In the new date internals, |
| 927 | leading zeros are not present after date parsing as this should always be |
| 928 | a formatting/style decision. Now, `datezeros` enforces leading zeros and |
| 929 | also handles all date parts. |
| 930 | - `\mkdatezeros` has been replaced with `\mkyearzeros`, `\mkmonthzeros` and |
| 931 | `\mkdayzeros` due to the date internals changes which are more consistent |
| 932 | about integer formats of date parts. `\mkdatezeros` now generates a |
| 933 | deprecation warning and calls `\mkmonthzeros` which is backwards compatible |
| 934 | with its old behaviour. |
| 935 | - **INCOMPATIBLE CHANGE** The .bbl field `datelabelsource` has been renamed to |
| 936 | `labeldatesource` to prevent confusion with other fields. In the unlikely |
| 937 | event that you referenced this field in a style, please change the name. |
| 938 | - **INCOMPATIBLE CHANGE** The macro `\printdatelabel` has been renamed to |
| 939 | `\printlabeldate` in line with the naming of all other date printing |
| 940 | macros. Please use the new name. The old one will issue a deprecation warning. |
| 941 | - **INCOMPATIBLE CHANGE** The macro `\printdatelabelextra` has been renamed to |
| 942 | `\printlabeldateextra` in line with the naming of all other date printing |
| 943 | macros. Please use the new name. The old one will issue a deprecation warning. |
| 944 | |
| 945 | ## Misc changes |
| 946 | - The experimental RIS format support is no longer available as it was |
| 947 | rarely used and made biber maintenance more complicated. RIS is a very |
| 948 | primitive format and not much use anyway. |
| 949 | - **INCOMPATIBLE CHANGE** The `singletitle` option no longer considers the |
| 950 | presence of labeltitle if labelname does not exist. This has always been |
| 951 | potentially confusing. For several versions now, there has been a |
| 952 | separate test and option for labeltitle called "uniquetitle". |
| 953 | - **INCOMPATIBLE CHANGE** The `sortgiveninits` option has been deprecated and |
| 954 | the functionality generalised. It is replaced by the "inits" option to |
| 955 | `\namepart` in `\DeclareSortingNamekeyScheme`. Any nameparts may now |
| 956 | therefore be sorted using initials only. |
| 957 | - **INCOMPATIBLE CHANGE** The sorting subsystem in biber has been completely |
| 958 | re-engineered to support better sorting of different datatypes. |
| 959 | Previously, due to bibtex limitations, all sorting was lexical, even for |
| 960 | numbers. This is why the padding options for things like volume in the |
| 961 | default sorting specifications existed - so that lexical sorts for |
| 962 | numbers would work. With the enhancement of the date parsing routines to |
| 963 | include negative years, in order to sort these properly, it was time to |
| 964 | switch to a better sorting method. As a result, the datatypes of fields |
| 965 | is now a bit stricter, as it should be. Expect more changes in this |
| 966 | direction but for this release, the datatype of the following fields in |
| 967 | the default data model have been changed to 'integer': |
| 968 | |
| 969 | - number |
| 970 | - sortyear |
| 971 | - volume |
| 972 | - volumes |
| 973 | |
| 974 | Integer datatypes no longer need padding or literal fallbacks in the |
| 975 | sorting scheme definitions since they are now sorted properly as |
| 976 | integers. Such datatype changes only effect sorting. |
| 977 | |
| 978 |