summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2014-05-24 15:14:00 +0200
committerHans Hagen <pragma@wxs.nl>2014-05-24 15:14:00 +0200
commitf779927eb2f4fdee785601823e87b28595ad71db (patch)
tree023ef7d34472bc7abe5314b7d64acc596e8f423e /doc
parent95bcbd0f5d063383b13e749e10faa8683f48584d (diff)
downloadcontext-f779927eb2f4fdee785601823e87b28595ad71db.tar.gz
beta 2014.05.24 15:14
Diffstat (limited to 'doc')
-rw-r--r--doc/context/manuals/allkind/mkiv-publications.bib22
-rw-r--r--doc/context/manuals/allkind/mkiv-publications.pdfbin58003 -> 300242 bytes
-rw-r--r--doc/context/manuals/allkind/mkiv-publications.tex61
-rw-r--r--doc/context/manuals/allkind/publications-en.xml17
4 files changed, 80 insertions, 20 deletions
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
--- a/doc/context/manuals/allkind/mkiv-publications.pdf
+++ b/doc/context/manuals/allkind/mkiv-publications.pdf
Binary files 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 @@
</cd:parameter>
<cd:parameter name="continue">
<cd:constant type="yes"/>
- <cd:constant type="no"/>
+ <cd:constant type="no" default="yes"/>
+ </cd:parameter>
+ <cd:parameter name="repeat">
+ <cd:constant type="yes"/>
+ <cd:constant type="no" default="yes"/>
</cd:parameter>
</cd:assignments>
</cd:arguments>
@@ -190,6 +194,7 @@
<cd:constant type="month:mnem"/>
</cd:parameter>
<cd:parameter name="authorconversion">
+ <cd:constant type="name"/>
<cd:constant type="normal"/>
<cd:constant type="inverted"/>
<cd:constant type="normalshort"/>
@@ -257,6 +262,16 @@
<cd:parameter name="left">
<cd:constant type="cd:text"/>
</cd:parameter>
+ <cd:parameter name="monthconversion">
+ <cd:constant type="cd:text"/>
+ </cd:parameter>
+ <cd:parameter name="authorconversion">
+ <cd:constant type="name"/>
+ <cd:constant type="normal"/>
+ <cd:constant type="inverted"/>
+ <cd:constant type="normalshort"/>
+ <cd:constant type="invertedshort"/>
+ </cd:parameter>
</cd:assignments>
</cd:arguments>
</cd:command>