summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authornros <nros@pkgsrc.org>2015-02-16 17:27:44 +0000
committernros <nros@pkgsrc.org>2015-02-16 17:27:44 +0000
commit2c8fc3c5257f8a108e3be262d3f7c85d61aae2d6 (patch)
tree97eda637d69eeceb8ac37609bafe7f647be5ba02 /print
parentc644a54c6205bf2d43da0b936bfd81b9764834f1 (diff)
downloadpkgsrc-2c8fc3c5257f8a108e3be262d3f7c85d61aae2d6.tar.gz
Update tex-biblatex to version 2.9a.
Changelog: RELEASE NOTES FOR VERSION 2.9a * Biber version 1.9 is required for biblatex 2.9a * Fixed some bugs with defernumbers option * With biber, the scanner for \mkcomprange will normalise any sequence of dashes with \bibrangedash and any (optionally space-surrounded) comma or semi-colon with \bibrangessep (see docs). Range compression now works properly in citation notes. RELEASE NOTES FOR VERSION 2.9 * Biber version 1.9 is required for biblatex 2.9 * With biber, the \printshorthands functionality is subsumed under a more general "bibliography list" functionality. See the documentation for \printbiblist and the new examples file "92-bibliographylists.tex". Previous list of shorthands macros have legacy aliases for backwards compatibility. * INCOMPATIBLE CHANGE - The generalisation of the \printshorthands facility into a bibliography list printing facility necessitated changing the default bibliography environment name for printing shorthands from "shorthands" to "shorthand" so that it matches the field name it uses. This allows the other relevant "short*" fields to be automatically available with environments, filters etc. for building bibliography lists of abbreviations. The same applies to the default "shorthands" driver which is now called "shorthand". If you (re)define either the "shorthands" bibliography environment or the "shorthands" driver in your style, please change the names to remove the "s" or you will pick up the internal defaults instead. * The data model defining macros are no longer valid in a document (including the preamble). They in fact only ever partially worked as biblatex uses the data model to define some internal macros before the preamble and document is read. Using these macros in a document would lead to strange behaviour sooner or later and so now they are disabled after the data model is loaded and will generate a warning. * The "sortlocale" option no longer passes its value to the biber option of the same name. Biblatex now has its own "sortlocale" option which is used to set the global sorting locale on sorting specifications which don't define one. The ability to define sorting locales per-sortscheme is new in this version. See the PDF documentation. This is unlikely to impact anyone. The biber "sortlocale" option can be use to override the biblatex-specified sorting locales if you need to. RELEASE NOTES FOR VERSION 2.8a * INCOMPATIBLE CHANGE - The "language" option has new values. "language=autobib" changes language for bibliography entries based on the LANGID field and the "autolang" option setting. As a new feature, "language=autocite" does the same for citations. "language=auto" sets both "autocite" and "autobib" and the default is "lanauge=autobib". This is a change from the previous default. If your style sets "language=auto" explicitly, you will get the new citation language switching behaviour and might want to use "language=autobib" to get the old behaviour back. RELEASE NOTES FOR VERSION 2.8 * Biber version 1.8 is required for biblatex 2.8 * Polyglossia is now better supported * The HYPHENATION field is now called LANGID. The old name still works for backwards compat. This field does a lot more than just selecting hyphenation patterns and was misleading. * New field LANGIDOPTS for Polyglossia users allows specification of language-specific options (like variants such as "american" english and babelshorthands etc.). See the biblatex-examples.bib file which has been converted to use the new field names and fields. * "babel" option renamed to "autolang". Old name generates a warning but still works. Since Polyglossia support now basically works, this name is now too package specific. There is a new value "langname" for this option which is Polyglossia only and allows the use of the main polyglossia language switching environment which can use the options given in the LANGIDOPTS field. * New value "year" for "datelabel" option * New internal field "datelabelsource" for package authors specifies which date field the datelabel was generated from. RELEASE NOTES FOR VERSION 2.7a * Bugfix release for 2.7 RELEASE NOTES FOR VERSION 2.7 * Biber version 1.7 is required for biblatex 2.7 * New field EVENTTITLEADDON now part of default data model and default styles * Many citation command enhancements, better flow-of-text integration for \textcite et al. See changelog in PDF doc for details. RELEASE NOTES FOR VERSION 2.6 * Biber version 1.6 is required for biblatex 2.6 * INCOMPATIBLE CHANGE - \DeclareLabelyear is now \DeclareLabeldate so that the extra fields labelmonth and labelday can be generated by biber. The 'labelyear' package option is now called 'labeldate'. The old names will work but will generate warnings. The default definition for \DeclareLabeldate in biblatex.def results in the same behaviour as with the old \DeclareLabelyear. * Localised and fixed string fallbacks now possible as values for labelyear field * Cyclic and cascading RELATED entries now working properly. RELEASE NOTES FOR VERSION 2.5 * Biber version 1.5 is required for biblatex 2.5 * New sourcemap step "entrynull" can be used to completely skip an entry. RELEASE NOTES FOR VERSION 2.4 * Biber version 1.4 is required for biblatex 2.4 * New macro \DeclareStyleSourcemap for style authors who want to define source mappings which are not changed by users using \DeclareSourcemap. Style maps so defined are run after user mappings and before driver default mappings. * New RELATEDOPTIONS field giving more control over the exact options for related entry processing * INCOMPATIBLE CHANGE - \DeclareLabelname, \DeclareLabelTitle and \DeclareLabelyear now have a different syntax in order to prepare for future multi-script support. The change is minor - just wrap all fields in \field{} and don't use any commas to separate fields. For example, the default definition of \DeclareLabelname was: \DeclareLabelname{% shortauthor, author, shorteditor, editor, translator} and is now: \DeclareLabelname{% \field{shortauthor} \field{author} \field{shorteditor} \field{editor} \field{translator} } RELEASE NOTES FOR VERSION 2.3 * Biber version 1.3 is required for biblatex 2.3 * New "append" mode for \DeclareSourcemap so that fields can be combined * Detection of some situations which requires biber or latex reruns. Specifically, when sorting schemes are added or removed, when citations are added or removed, when sorting=none and citation order changes and the interactions of these situations when defernumbers=true. Biblatex should now report that a re-run is required in such situations. * Bugfixes RELEASE NOTES FOR VERSION 2.2 * Biber version 1.2 is required for biblatex 2.2 * Bugfixes RELEASE NOTES FOR VERSION 2.1 * Biber version 1.1 is required for biblatex 2.1 * Custom data models is now looked for in more places. See PDF documentation. Custom data model conflicts are now better processed by biber. * Some improved localisation (Norwegian) and doc fixes. RELEASE NOTES FOR VERSION 2.0 * Biber is now the default backend. Biblatex 2.0 requires biber 1.0. It will not work with any earlier release of biber due to .bcf format changes required to support the new list-local sorting feature. * Biblatex with bibtex as the backend is now frozen at version 1.7. When using biblatex with the option "backend=bibtex" (which must be specified now, the default is backend=biber if no option is specified), biblatex 1.7 will be automatically used. Apart from important bug fixes, no more development will be done on the 1.7 branch which means that users must switch to backend=biber (or don't specify the backend at all) to get version 2.0 and future new features. All major new 2.0 features require biber anyway so this is no real change for bibtex users. * New options to enable counters which track different combinations of information. Here is a summary which contains all tracking options, including the new ones (row marked with with a star, table is also in the PDF documentation): Enabled Enabled Tracked Option field counter information -------------- ---------- -------------- ------------------- labelalpha labelalpha extraalpha label labelyear labelyear extrayear labelname+labelyear *labeltitle --- extratitle labelname+labeltitle *labeltitleyear --- extratitleyear labeltitle+labelyear The naming of the options and counters is a little unintuitive because the original ones were named before requests for the new ones were made. The "Tracked information" column makes clear which information is tracked by the counters. The new counters will appear in the .bbl inside an entry and can be used just like "extraalpha" and "extrayear". The new options controlling the new counters are false by default and are not used by the standard styles. * The biblatex data model is now customisable using the \DeclareDatamodel* macros. This allows the use of new entrytypes and fields, as long as the style supports them. * Controlling initials generation A biblatex macro interface (\DeclareNoinit) is now available to declare regular expressions to strip from names before generating initials for them. This mirrors the Biber config file functionality on a per-document basis. A common use, for example, might be to strip certain prefices from names so that they do not end up as initials. * Fine tuning sorting strings A biblatex macro interface (\DeclareNosort) is now available to declare regular expressions to strip from fields or types of fields for sorting purposes. This mirrors the Biber config file functionality on a per-document basis. A common use, for example, might be to strip "The " from titles for sorting purposes. * Sorting option for bibliography/shorthand lists \printbibliography and \printshorthands now have a "sorting" option so you can choose a sorting scheme for each bibliography/shorthand list instead of using the global sorting scheme. This means that you can issue \printbibliography or \printshorthands as many times as you need to, anywhere in the document and have the resulting list sorted in the way required. * Dynamic datasource modification A biblatex macro interface (\DeclareSourcemap) is now available to allow users to dynamically modify data as it is read by Biber. This can be used to do many things like remove unwanted fields, regularise field contents, add new fields etc. all without write access to the datasource. The biblatex manual has a large section on this feature, with many examples. This feature is identical in functionality to Biber's "sourcemap" option but having a macro interface allows it to be used on a per-document basis. The default mappings for datasource drivers are definable too, using \DeclareDefaultSourcemap * Customisable labels A new macro interface is implemented (\DeclareLabelalphaTemplate) which allows customisation of the label used in alphanumeric styles. The previous static labels are now implemented in terms of the new interface. The biblatex manual has a section on this feature with examples. One edge-case has changed with the new definition of the previous default label generation behaviour: a name with a prefix will now include 3 characters after the prefix instead of 2 ("van Rompel" will be "vRom" instead of "vRo"). The previous behaviour was anomolous anyway. There are options to auto-disambiguate labels in several ways. * Related entries A general method to support "related entries" is implemented. This allows a localisable, flexible way to deal with relationships between entries like "reprint of", "translation of", "reprinted in" etc. Three new entry fields are available to support this - "related", "relatedtype" and "relatedstring". Biber will automatically create "dataonly" clones of the related entries so that their data can be accessed in styles without having to cite them. Related entries may also be cited themselves which does not interfere in any way with this mechanism. The standard styles have been updated to support the new fields. New punctuation macros are available to format the new fields in the bibliography ("relatedpunct", "relateddelim", "related"). * Citation key aliases It is now possible to include a new field "ids" in an entry which is a comma-separated list of citation key aliases. The entry can be cited by any of the aliases, which helps when you updated your entry keys but don't want to change old documents. * Option to sort names only using initials The new option "sortfirstinits" allows users to specify that name sorting only uses initials instead of the full name. Previously, even if "firstinits" was true, sorting used full names. * New citation commands Starred variants of \citeyear and \citedate are now available which include the extrayear information.
Diffstat (limited to 'print')
-rw-r--r--print/tex-biblatex/DESCR53
-rw-r--r--print/tex-biblatex/Makefile19
-rw-r--r--print/tex-biblatex/Makefile.common19
-rw-r--r--print/tex-biblatex/PLIST11
-rw-r--r--print/tex-biblatex/distinfo8
5 files changed, 67 insertions, 43 deletions
diff --git a/print/tex-biblatex/DESCR b/print/tex-biblatex/DESCR
index ef47f5caeb6..69ad4ed70e9 100644
--- a/print/tex-biblatex/DESCR
+++ b/print/tex-biblatex/DESCR
@@ -1,31 +1,24 @@
The biblatex package is a complete reimplementation of the
-bibliographic facilities provided by LaTeX in conjunction with
-BibTeX. It redesigns the way in which LaTeX interacts with
-BibTeX at a fairly fundamental level. With biblatex, BibTeX is
-only used (if it is used at all) to sort the bibliography and
-to generate labels. Instead of being implemented in BibTeX's
-style files, the formatting of the bibliography is entirely
-controlled by TeX macros. Good working knowledge in LaTeX
-should be sufficient to design new bibliography and citation
-styles -- there is no need to learn BibTeX's postfix stack
-language. Just like the bibliography styles, all citation
-commands may be freely (re)defined. In fact, users need not
-remain bound to BibTeX for use with biblatex: an alternative
-bibliography processor biblatex-biber is available. Development
-of biblatex and biblatex-biber is closely coupled; the present
-release of biblatex is designed to work with biblatex-biber
-version 0.9.3. The package needs e-TeX, and uses the author's
-etoolbox and logreq packages. For users of biblatex-biber,
-version 0.9 is required (at least; refer to the notes for the
-version of biblatex-biber that you are using). Apart from the
-features unique to biblatex, the package also incorporates core
-features of the following packages: babelbib, bibtopic,
-bibunits, chapterbib, cite, inlinebib, mcite and mciteplus,
-mlbib, multibib, splitbib. There are also some conceptual
-parallels to the natbib and amsrefs packages. The biblatex
-package supports split bibliographies, multiple bibliographies
-within one document, and separate lists of bibliographic
-shorthands. Bibliographies may be subdivided into parts (by
-chapter, by section, etc.) and/or segmented by topics (by type,
-by keyword, etc.). The package is fully localized and can
-interface with the babel package.
+bibliographic facilities provided by LaTeX. A custom backend "Biber"
+by default is used which processed the BibTeX format data files and
+them performs all sorting, label generation (and a great deal
+more). Legacy BibTeX is also supported as a backend, albeit with a
+reduced feature set. Biblatex does not use the backend to format the
+bibliography information as with traditional BibTeX: instead of being
+implemented in BibTeX's style files, the formatting of the bibliography
+is entirely controlled by TeX macros. Good working knowledge in LaTeX
+should be sufficient to design new bibliography and citation styles.
+There is no need to learn BibTeX's postfix stack language.
+Just like the bibliography styles, all citation commands may
+be freely (re)defined. Apart from the features unique to biblatex,
+the package also incorporates core features of the following packages:
+babelbib,backref, bibtopic, bibunits, chapterbib, cite, citeref, inlinebib,
+mlbib, multibib, natbib, splitbib. There are also some conceptual
+parallels to the amsrefs package. The biblatex package supports split
+bibliographies, multiple bibliographies within one document,and separate
+lists of bibliographic shorthands. Bibliographies may be
+subdivided into parts (by chapter, by section, etc.) and/or segmented
+by topics (by type, by keyword, etc.). With biber as the backend,
+features such as customisable sorting, multiple bibliographies with different
+sorting, customisable labels, dynamic data modification are available.
+The package is fully localized and can interface with the babel package.
diff --git a/print/tex-biblatex/Makefile b/print/tex-biblatex/Makefile
index a9ed17bf17e..33335e4ad4e 100644
--- a/print/tex-biblatex/Makefile
+++ b/print/tex-biblatex/Makefile
@@ -1,19 +1,22 @@
-# $NetBSD: Makefile,v 1.2 2015/02/14 22:56:08 nros Exp $
+# $NetBSD: Makefile,v 1.3 2015/02/16 17:27:44 nros Exp $
-DISTNAME= biblatex
-PKGNAME= tex-${DISTNAME}-1.7
-PKGREVISION= 1
-TEXLIVE_REV= 24596
+.include "Makefile.common"
+
+PKGNAME= tex-${DISTNAME:S/.tds//}
-MAINTAINER= markd@NetBSD.org
COMMENT= Bibliographies in LaTeX using BibTeX for sorting only
-LICENSE= lppl-1.3c
DEPENDS+= tex-etex-[0-9]*:../../print/tex-etex
DEPENDS+= tex-bibtex-[0-9]*:../../print/tex-bibtex
DEPENDS+= tex-etoolbox>=2.1:../../devel/tex-etoolbox
DEPENDS+= tex-logreq>=1.0:../../print/tex-logreq
DEPENDS+= tex-url-[0-9]*:../../print/tex-url
+DEPENDS+= p5-biblatex-biber>=1.9:../../print/p5-biblatex-biber
+
+do-install:
+ cd ${WRKSRC} && \
+ ${PAX} -rwpm bibtex ${DESTDIR}${PREFIX}/share/texmf-dist && \
+ ${PAX} -rwpm tex ${DESTDIR}${PREFIX}/share/texmf-dist
-.include "../../print/texlive/package.mk"
+.include "../../print/kpathsea/texmf.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/tex-biblatex/Makefile.common b/print/tex-biblatex/Makefile.common
new file mode 100644
index 00000000000..f32ef1e327a
--- /dev/null
+++ b/print/tex-biblatex/Makefile.common
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile.common,v 1.1 2015/02/16 17:27:44 nros Exp $
+#
+# Used by:
+# print/tex-biblatex/Makefile
+# print/tex-biblatex-doc/Makefile
+
+DISTNAME= biblatex-2.9a.tds
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=biblatex/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= markd@NetBSD.org
+LICENSE= lppl-1.3c
+
+USE_TOOLS+= pax
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}
+
+INSTALLATION_DIRS+=share/texmf-dist
diff --git a/print/tex-biblatex/PLIST b/print/tex-biblatex/PLIST
index 9b0901f8265..6237685cd7e 100644
--- a/print/tex-biblatex/PLIST
+++ b/print/tex-biblatex/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2012/03/22 20:15:12 markd Exp $
+@comment $NetBSD: PLIST,v 1.2 2015/02/16 17:27:44 nros Exp $
share/texmf-dist/bibtex/bib/biblatex/biblatex-examples.bib
share/texmf-dist/bibtex/bst/biblatex/biblatex.bst
share/texmf-dist/bibtex/csf/biblatex/latin1.csf
@@ -52,7 +52,10 @@ share/texmf-dist/tex/latex/biblatex/bbx/verbose.bbx
share/texmf-dist/tex/latex/biblatex/biblatex.cfg
share/texmf-dist/tex/latex/biblatex/biblatex.def
share/texmf-dist/tex/latex/biblatex/biblatex.sty
+share/texmf-dist/tex/latex/biblatex/biblatex1.sty
+share/texmf-dist/tex/latex/biblatex/biblatex2.sty
share/texmf-dist/tex/latex/biblatex/blx-compat.def
+share/texmf-dist/tex/latex/biblatex/blx-dm.def
share/texmf-dist/tex/latex/biblatex/blx-mcite.def
share/texmf-dist/tex/latex/biblatex/blx-natbib.def
share/texmf-dist/tex/latex/biblatex/cbx/alphabetic-verb.cbx
@@ -90,6 +93,9 @@ share/texmf-dist/tex/latex/biblatex/lbx/brazil.lbx
share/texmf-dist/tex/latex/biblatex/lbx/brazilian.lbx
share/texmf-dist/tex/latex/biblatex/lbx/british.lbx
share/texmf-dist/tex/latex/biblatex/lbx/canadian.lbx
+share/texmf-dist/tex/latex/biblatex/lbx/catalan.lbx
+share/texmf-dist/tex/latex/biblatex/lbx/croatian.lbx
+share/texmf-dist/tex/latex/biblatex/lbx/czech.lbx
share/texmf-dist/tex/latex/biblatex/lbx/danish.lbx
share/texmf-dist/tex/latex/biblatex/lbx/dutch.lbx
share/texmf-dist/tex/latex/biblatex/lbx/english.lbx
@@ -97,6 +103,7 @@ share/texmf-dist/tex/latex/biblatex/lbx/finnish.lbx
share/texmf-dist/tex/latex/biblatex/lbx/french.lbx
share/texmf-dist/tex/latex/biblatex/lbx/german.lbx
share/texmf-dist/tex/latex/biblatex/lbx/greek.lbx
+share/texmf-dist/tex/latex/biblatex/lbx/icelandic.lbx
share/texmf-dist/tex/latex/biblatex/lbx/italian.lbx
share/texmf-dist/tex/latex/biblatex/lbx/naustrian.lbx
share/texmf-dist/tex/latex/biblatex/lbx/newzealand.lbx
@@ -104,8 +111,10 @@ share/texmf-dist/tex/latex/biblatex/lbx/ngerman.lbx
share/texmf-dist/tex/latex/biblatex/lbx/norsk.lbx
share/texmf-dist/tex/latex/biblatex/lbx/norwegian.lbx
share/texmf-dist/tex/latex/biblatex/lbx/nynorsk.lbx
+share/texmf-dist/tex/latex/biblatex/lbx/polish.lbx
share/texmf-dist/tex/latex/biblatex/lbx/portuges.lbx
share/texmf-dist/tex/latex/biblatex/lbx/portuguese.lbx
share/texmf-dist/tex/latex/biblatex/lbx/russian.lbx
+share/texmf-dist/tex/latex/biblatex/lbx/slovene.lbx
share/texmf-dist/tex/latex/biblatex/lbx/spanish.lbx
share/texmf-dist/tex/latex/biblatex/lbx/swedish.lbx
diff --git a/print/tex-biblatex/distinfo b/print/tex-biblatex/distinfo
index 8fff32c86e9..9fb38421b17 100644
--- a/print/tex-biblatex/distinfo
+++ b/print/tex-biblatex/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2012/03/22 20:15:12 markd Exp $
+$NetBSD: distinfo,v 1.2 2015/02/16 17:27:44 nros Exp $
-SHA1 (tex-biblatex-24596/biblatex.tar.xz) = a9a66c1e96b6e96afda02d14e32db32b80da161b
-RMD160 (tex-biblatex-24596/biblatex.tar.xz) = 815c397a3ce2d1a6bd3cbcadb2a0aa49cdf9f5a5
-Size (tex-biblatex-24596/biblatex.tar.xz) = 122348 bytes
+SHA1 (biblatex-2.9a.tds.tgz) = 7eab40e173664deb117dc06389df2d2f8764c6f4
+RMD160 (biblatex-2.9a.tds.tgz) = 8676972103bb0d9ba163aebf1a1a7d44707d9ce4
+Size (biblatex-2.9a.tds.tgz) = 17829003 bytes