From 9081241531f9d2adb062dd168a184c6c272456d9 Mon Sep 17 00:00:00 2001 From: Context Git Mirror Bot Date: Sun, 6 Jul 2014 22:15:04 +0200 Subject: 2014-07-06 21:19:00 --- doc/context/manuals/allkind/mkiv-publications.pdf | Bin 282997 -> 284738 bytes doc/context/manuals/allkind/mkiv-publications.tex | 46 +++++++++++++++++++ doc/context/scripts/mkiv/mtx-bibtex.html | 53 ---------------------- doc/context/scripts/mkiv/mtx-bibtex.man | 30 ------------ doc/context/scripts/mkiv/mtx-bibtex.xml | 26 ----------- 5 files changed, 46 insertions(+), 109 deletions(-) delete mode 100644 doc/context/scripts/mkiv/mtx-bibtex.html delete mode 100644 doc/context/scripts/mkiv/mtx-bibtex.man delete mode 100644 doc/context/scripts/mkiv/mtx-bibtex.xml (limited to 'doc') diff --git a/doc/context/manuals/allkind/mkiv-publications.pdf b/doc/context/manuals/allkind/mkiv-publications.pdf index 1a6d4968e..06a940b8e 100644 Binary files a/doc/context/manuals/allkind/mkiv-publications.pdf and b/doc/context/manuals/allkind/mkiv-publications.pdf differ diff --git a/doc/context/manuals/allkind/mkiv-publications.tex b/doc/context/manuals/allkind/mkiv-publications.tex index f9bac9f26..1a3feedb8 100644 --- a/doc/context/manuals/allkind/mkiv-publications.tex +++ b/doc/context/manuals/allkind/mkiv-publications.tex @@ -1520,6 +1520,52 @@ database, analyzed, split and depending on the demand, reconstructed. \TestAuthor{example::demo-003,demo-004} \TestAuthor{example::demo-006} +As with all other elements of a bibliographic entry you can also finetune the +author name. It's one of the reasons why this subsystem is so complex deep down. +It makes no sense to have a parameter for each aspect, so again we use setups. +You can tweak individual components. Here we show the user friendly variant, in +\type {publ-imp-author} you can find an optimized version. + +\startsetups btx:cite:author:normal + \fastsetup{btx:cite:author:concat} + \doifsomething {\btxauthorfield{firstnames}} { + \btxauthorfield{firstnames} + \btxcitevariantparameter{firstnamesep} + } + \doifsomething {\btxauthorfield{vons}} { + \btxauthorfield{vons} + \doifsomething {\btxauthorfield{surnames}} { + \btxcitevariantparameter{vonsep} + } + } + \doifsomething {\btxauthorfield{surnames}} { + \btxauthorfield{surnames} + \doifsomething {\btxauthorfield{juniors}} { + \btxcitevariantparameter{juniorsep} + \btxauthorfield{juniors} + } + } + \fastsetup{btx:cite:author:etaltext} +\stopsetups + +The two concat setups are not shown here. They can be configured using +parameters: \type {namesep}, \type {lastnamesep}, \type {finalnamesep} and \type +{etaltext}, so there is seldom a need to adapt them directly. + +Instead of the generic author field accessors you can use macro names which is more +efficient. + +\starttabulate[|l|l|] +\NC \type{\currentbtxinitials} \NC \type{\btxauthorfield{initials}} \NC \NR +\NC \type{\currentbtxfirstnames} \NC \type{\btxauthorfield{firstnames}} \NC \NR +\NC \type{\currentbtxvons} \NC \type{\btxauthorfield{vons}} \NC \NR +\NC \type{\currentbtxsurnames} \NC \type{\btxauthorfield{surnames}} \NC \NR +\NC \type{\currentbtxjuniors} \NC \type{\btxauthorfield{juniors}} \NC \NR +\stoptabulate + +The advantage of the more verbose ones is that you can use manipulators to +process them. This might come in handy when a database is inconsistent. + \stopchapter \startchapter[title=Combining] diff --git a/doc/context/scripts/mkiv/mtx-bibtex.html b/doc/context/scripts/mkiv/mtx-bibtex.html deleted file mode 100644 index ba1591b4b..000000000 --- a/doc/context/scripts/mkiv/mtx-bibtex.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - bibtex helpers - - - - - -
-
bibtex helpers
-
-
-
-
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
-
-
-
- -
-
-

Command line options

- - - - - -
flagvaluedescription
--toxmlconvert bibtex database(s) to xml
--toluaconvert bibtex database(s) to lua
-
-

Example

-mtxrun --script bibtex --tolua bibl-001.bib -
mtxrun --script bibtex --tolua --simple bibl-001.bib -
mtxrun --script bibtex --toxml bibl-001.bib bibl-002.bib bibl-003.bib biblio.xml -

-
- - diff --git a/doc/context/scripts/mkiv/mtx-bibtex.man b/doc/context/scripts/mkiv/mtx-bibtex.man deleted file mode 100644 index cedf41b8b..000000000 --- a/doc/context/scripts/mkiv/mtx-bibtex.man +++ /dev/null @@ -1,30 +0,0 @@ -.TH "mtx-bibtex" "1" "01-01-2014" "version 1.00" "bibtex helpers" -.SH NAME -.B mtx-bibtex -.SH SYNOPSIS -.B mtxrun --script bibtex [ -.I OPTIONS ... -.B ] [ -.I FILENAMES -.B ] -.SH DESCRIPTION -.B bibtex helpers -.SH OPTIONS -.TP -.B --toxml -convert bibtex database(s) to xml -.TP -.B --tolua -convert bibtex database(s) to lua -.SH AUTHOR -More information about ConTeXt and the tools that come with it can be found at: - - -.B "maillist:" -ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context - -.B "webpage:" -http://www.pragma-ade.nl / http://tex.aanhet.net - -.B "wiki:" -http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-bibtex.xml b/doc/context/scripts/mkiv/mtx-bibtex.xml deleted file mode 100644 index b33e1809c..000000000 --- a/doc/context/scripts/mkiv/mtx-bibtex.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - mtx-bibtex - bibtex helpers - 1.00 - - - - - convert bibtex database(s) to xml - convert bibtex database(s) to lua - - - - - - Example - - mtxrun --script bibtex --tolua bibl-001.bib - mtxrun --script bibtex --tolua --simple bibl-001.bib - mtxrun --script bibtex --toxml bibl-001.bib bibl-002.bib bibl-003.bib biblio.xml - - - - -- cgit v1.2.3