From f779927eb2f4fdee785601823e87b28595ad71db Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Sat, 24 May 2014 15:14:00 +0200 Subject: beta 2014.05.24 15:14 --- doc/context/manuals/allkind/mkiv-publications.bib | 22 +++++--- doc/context/manuals/allkind/mkiv-publications.pdf | Bin 58003 -> 300242 bytes doc/context/manuals/allkind/mkiv-publications.tex | 61 +++++++++++++++++----- doc/context/manuals/allkind/publications-en.xml | 17 +++++- 4 files changed, 80 insertions(+), 20 deletions(-) (limited to 'doc') diff --git a/doc/context/manuals/allkind/mkiv-publications.bib b/doc/context/manuals/allkind/mkiv-publications.bib index 9e9984bfc..5445471f2 100644 --- a/doc/context/manuals/allkind/mkiv-publications.bib +++ b/doc/context/manuals/allkind/mkiv-publications.bib @@ -26,11 +26,19 @@ } @book{demo-005, - author = "author", - title = "title", - year = "year", - serial = "serial", - doi = "doi", - url = "url", - pages = "pages" + author = "author", + title = "title", + year = "year", + serial = "serial", + doi = "doi", + url = "url", + pages = "pages", + language = "en", +} + +@book{demo-006, + author = "Hans Hagen, Kees van Marle and Ton Otten", + title = "Why do we always have lack of time?", + year = "2014", + comment = "yet another non-existing document", } diff --git a/doc/context/manuals/allkind/mkiv-publications.pdf b/doc/context/manuals/allkind/mkiv-publications.pdf index 5ef0aa564..04a63f126 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 72cc22762..04ed62744 100644 --- a/doc/context/manuals/allkind/mkiv-publications.tex +++ b/doc/context/manuals/allkind/mkiv-publications.tex @@ -1,18 +1,8 @@ % language=uk - \setupbtxlistvariant [interaction=start] \setupbtxcitevariant [interaction=start] -% \btxfield{manipulator_a->manipulator_b->fieldname} - -% {\setupbtxcitevariant[author][authorconversion=normal] normal : \cite[author][match(author:tufte)]}\par -% {\setupbtxcitevariant[author][authorconversion=normalshort] normalshort : \cite[author][match(author:tufte)]}\par -% {\setupbtxcitevariant[author][authorconversion=inverted] inverted : \cite[author][match(author:tufte)]}\par -% {\setupbtxcitevariant[author][authorconversion=invertedshort] invertedshort : \cite[author][match(author:tufte)]}\par - -% engine=luajittex - % criterium: all + sorttype=cite => citex before rest % criterium: all + sorttype=database => database order % criterium: used @@ -112,11 +102,11 @@ \stopMPpage - \startfrontmatter \starttitle[title=Contents] - \placelist[chapter,section][color=black] + \setuplist[chapter][before=,after] + \placelist[chapter][color=black] \stoptitle \startchapter[title=Introduction] @@ -716,6 +706,21 @@ but if you want to control it yourself you say something: In most cases the defaults will work out fine. +Normally the references are numbered using one conunter for the whole +document. If you want each list to have its own number, then you can +set the \type {continue} parameter: + +\starttyping +\setupbtxrendering[continue=no] +\stoptyping + +In a simlar fashion you can influence if references are included only once +of in each list: + +\starttyping +\setupbtxrendering[repeat=yes] +\stoptyping + \stopchapter \startchapter[title=Citations] @@ -1392,6 +1397,38 @@ We get three entries: \quotation {\inlinebuffer}. \stopchapter +\startchapter[title=Authors] + +The most complicated part of the rendering is authors. The way names are made up +is quite different and depends on culture, history, country and personal taste. +For instance, in the Netherlands you seldom see junior or senior being used, but +in the Unites States this is quite common. Then there is the matter of several +authors cooperating. + +\starttexdefinition TestAuthor#1 + \starttabulate[|lT|p|] + \HL + \NC \ttx \rlap {\string\citation[alternative=author,authorconversion=...][#1]} \NC \NC \NR + \HL + \NC name \NC \citation[alternative=author,authorconversion=name] [#1] \NC \NR + \NC normal \NC \citation[alternative=author,authorconversion=normal] [#1] \NC \NR + \NC normalshort \NC \citation[alternative=author,authorconversion=normalshort] [#1] \NC \NR + \NC inverted \NC \citation[alternative=author,authorconversion=inverted] [#1] \NC \NR + \NC invertedshort \NC \citation[alternative=author,authorconversion=invertedshort][#1] \NC \NR + \HL + \stoptabulate +\stoptexdefinition + +Herw we give some examples of rendering. The authornames are taken from the +database, analyzed, split and depending on the demand, reconstructed. + +\TestAuthor{example::demo-001} +\TestAuthor{example::demo-003} +\TestAuthor{example::demo-003,demo-004} +\TestAuthor{example::demo-006} + +\stopchapter + \startchapter[title=Combining] It is possible to refer to two sources in one go. In that case the list will have one diff --git a/doc/context/manuals/allkind/publications-en.xml b/doc/context/manuals/allkind/publications-en.xml index 002b425bb..92a4ea31a 100644 --- a/doc/context/manuals/allkind/publications-en.xml +++ b/doc/context/manuals/allkind/publications-en.xml @@ -99,7 +99,11 @@ - + + + + + @@ -190,6 +194,7 @@ + @@ -257,6 +262,16 @@ + + + + + + + + + + -- cgit v1.2.3