s][dataset=main, numbering=short]
\setupbtxlist[aps][
alternative=b,
distance=.5em,
]
\definebtx[aps:cite:special][aps:cite]
\startluacode
function render_cite(dataset, tag, righttext)
local luadata = publications.datasets[dataset].luadata
local entry = luadata[tag]
local
[bibrendering][aps][dataset=main, numbering=short]
\setupbtxlist[aps][
alternative=b,
distance=.5em,
]
\setupbtx[aps:cite][alternative=short]
\starttext
Knuth developed \TeX \cite[knuth1]
Several persons said something \cite[someother].
\placelistofpublications[bibrendering]
\stoptext
\setupalign[hz,hanging]
Unfortunately the global alignment settings do not propagate into
certain structures. For example itemizations, captions, and
bibliographies just reset it and need special treatment:
\setupitemize[each][align={hz,hanging}]
\setupbtxlist[align={hz,hanging,toleran
al alignment settings do not propagate into
> certain structures. For example itemizations, captions, and
> bibliographies just reset it and need special treatment:
>
>\setupitemize[each][align={hz,hanging}]
>\setupbtxlist[align={hz,hanging,tolerant}]
>\setupcaption[fig
expansion=quality]
\setupbodyfont[modern] % or whatever
\setupalign[hz,hanging]
Unfortunately the global alignment settings do not propagate into
certain structures. For example itemizations, captions, and
bibliographies just reset it and need special treatment:
\setupitemize[each][align={hz,hangi
title = {Metafun. \CONTEXT\ mkiv},
> url = {http://www.pragma-ade.nl/general/manuals/metafun-s.pdf},
> }
> \stopbuffer
>
> \usebtxdataset[bib.buffer]
>
> \usebtxdefinitions[aps]
>
> \setupbtxrendering[aps][
> sorttype=short,
> numbering=short,
> ]
>
> \setup
]
\usebtxdefinitions[aps]
\setupbtxrendering[aps][
sorttype=short,
numbering=short,
]
\setupbtxlist[aps][
width=fit,
distance=0.5em,
interaction=start,
]
\setupbtx[aps][
alternative=short,
]
\starttext
\cite[hh2010]
\placelistofpublications
\stoptext
\else
> #3%
> \fi
> }%
>
> \usebtxdataset[bib.buffer]
>
> \startbtxrenderingdefinitions[chicagonum]
>
> \definebtx[chicagonum]
> [default=default,
> specification=chicagonum,
> otherstext={\btxspace{\it\btxlabeltext{others}}},
>
ers}}},
etallimit=10,
etaldisplay=\btxparameter\c!etallimit,
journalconversion=\v!normal,
monthconversion=\v!month,
title=yes,
separator:names:2={\btxcomma},
separator:names:3={\btxcomma\btxlabeltext{and}\space},
separator:names:4={\btxspace\btxlabeltext{and}\space}]
\s
fault=default,specification=mylist]
> \definebtxrendering
>[mylist]
>[specification=mylist]
> \setupbtxlist
> [mylist]
> [numberconversion=myconv]
> ⋮
>
> I have define the required setups for every category entry as well. I have
> verified that this btxr
fault=default,specification=mylist]
> \definebtxrendering
>[mylist]
>[specification=mylist]
> \setupbtxlist
> [mylist]
> [numberconversion=myconv]
> ⋮
>
> I have define the required setups for every category entry as well. I have
> verified that this btxr
Dear all,
I have a simple btx definition 'mylist' for which I have written a simple
publ-imp-mylist.lua and publ-imp-mylist-mkvi. In that latter I have
⋮
\definebtx
[mylist]
[default=default,specification=mylist]
\definebtxrendering
[mylist]
[specification=mylist]
\setupbtxlist
\mkbibnamefamily) or is this
done by changing some Lua code?
2) As I have said, the name has to be inverted. This is done by setting
authorconversion to inverted. I’ve tried doing this like this:
\setupbtx[iso690:list][authorconversion=inverted,]
and this:
\setupbtxlist[iso690][authorconversion=inverted
odule[bib]
> \usemodule[bibltx]
> \setupbibtex[database=sample]
>
> > On 3 Sep 2018, at 01:43, Lars wrote:
> >
> > Hi Alan,
> > I don't understand. What is it that makes my code mkii?
> >
> > \usebtxdataset[default][My_file.bib]
> > \usebtxdefinitions[a
\usemodule[bib]
\usemodule[bibltx]
\setupbibtex[database=sample]
> On 3 Sep 2018, at 01:43, Lars wrote:
>
> Hi Alan,
> I don't understand. What is it that makes my code mkii?
>
> \usebtxdataset[default][My_file.bib]
> \usebtxdefinitions[aps]
> \setupbtxlist[aps][
>
Hi Alan,
I don't understand. What is it that makes my code mkii?
\usebtxdataset[default][My_file.bib]
\usebtxdefinitions[aps]
\setupbtxlist[aps][
%alternative=,
width=fit,
distance=.5em,
%distance=0pt,
margin=0em,
]
\starttext
Hallo Welt! \cite[lnkHWelt]
\startappendices
To answer my own question, it must be
\usebtxdefinitions[aps]
\setupbtxlist
[aps]
[alternative=b,
after=,
before=]
\definebtx
[aps:cite:num]
[left={(},
right={)}]
\definebtx
[aps:list:numbering]
[aps:list]
[left={(},
right={)}]
Am 03.01.2018 um 09:38 schrieb Dr
referencing
\usebtxdataset[thesis-clean-k-final.bib]
\setupbtx[default:cite][alternative=num]
\setupbtx[apa:cite][alternative=authoryear,compress=yes]
\usebtxdefinitions[apa]
\definebtxrendering[apa][specification=apa,sorttype=authoryear,numbering=no]
\setupbtxlist[apa][alternative=paragrap
ring[apa][specification=apa,sorttype=authoryear,numbering=no]
\setupbtxlist[apa][alternative=paragraph,width=325pt,maxwidth=325pt,distance=.5em,margin=3em,align={hz,hanging}]
1.) For Hans-Georg and Jens-Uwe I'm getting H. -G. & J. -U. not H.-G. &
J.-U.:
@Book{gadamer:truth,
author =
t; environment, alignment is reset to the default value: strict alignment does
> not give the best results for the bibliography list rendering, so I have now
> set this is the various style specifications to be "{verytolerant,stretch}".
>
> Awaiting that this correction be prop
rendering, so I have now set
this is the various style specifications to be "{verytolerant,stretch}".
Awaiting that this correction be propagated, one can add
\setupbtxlist
[aps] % for example
[align={normal,verytolerant,stretch}]
in your setup. There should then be no need for o
"Official drawing of the TUG 2014 conference",
>>author = "Duane Bibby",
>>year= 2014,
>>}
>>
>> \stopbuffer
>>
>> \definebtxdataset
>> [duane]
>>
>> \usebtxdataset
>> [duane]
",
year= 2014,
}
\stopbuffer
\definebtxdataset
[duane]
\usebtxdataset
[duane]
[duane.buffer]
\usebtxdefinitions
[duane]
\definebtxrendering
[duane]
[dataset=duane,
method=local,
]
\setupbtxlist
[duane]
[number=no]
\startsetups btx:duane:l
ion = "Official drawing of the TUG 2014 conference",
author = "Duane Bibby",
year= 2014,
}
\stopbuffer
\definebtxdataset
[duane]
\usebtxdataset
[duane]
[duane.buffer]
\usebtxdefinitions
[duane]
\definebtxrendering
[duane]
[d
= "Duane Bibby",
year= 2014,
}
\stopbuffer
\definebtxdataset
[duane]
\usebtxdataset
[duane]
[duane.buffer]
\usebtxdefinitions
[duane]
\definebtxrendering
[duane]
[dataset=duane,
method=local,
]
\setupbtxlist
[du
author = "Duane Bibby",
year= 2012,
}
\stopbuffer
\definebtxdataset
[duane]
\usebtxdataset
[duane]
[duane.buffer]
\usebtxdefinitions
[duane]
\definebtxrendering
[duane]
[dataset=duane,
method=dataset,
]
%method=local only works
author = "Duane Bibby",
>year= 2012,
>}
>
> \stopbuffer
>
> % A quick and dirty layout:
>
> \usemodule
> [article]
>
> \setupinteraction
> [state=start]
>
> % We will use a dedicated dataset:
>
\usebtxdataset
[duane]
[duane.buffer]
% And a rendering:
\definebtxrendering
[duane]
[dataset=duane,
method=dataset,
specification=duane]
% We also set up the associated list (a description):
\setupbtxlist
[duane]
[number=no]
% This is the image renderer:
\startsetups btx:duane
/pipermail/ntg-context/2015/080696.html, this code:
% start code
\setupbibtex[database={bibfile}]
\setuppublications[alternative=apa,refcommand=num,sorttype=cite,numbering=yes,autohang=no,numbercommand=\numcom]
\setupbtxlist[align={flushright}]
\starttext
\completepublications[criterium=all
But with
\setupbtxlist[alternative=left,margin=0cm,align={hanging,hz}]
there is no hanging indentation.
Isn’t it possible for the first “hanging” line of an hanging indentation
layout to start exactly on the very left, while the next lines are
exactly indented?
just the settings
might be driven into the right margin.
Hanging punctuation doesn’t seem to work as well.
Is there anything that can be done about that? Or how can the
justification be switched to flush left/ragged right with hanging
indents on the left?
\setupbtxlist[alternative=left,margin=0cm,align={hanging
I looked in the wiki for “descriptions” and found this:
http://wiki.contextgarden.net/Command/setupdescriptions
I played around a lot with the parameters from there in \setupbtxlist,
but the problem remains. The only way to get hanging indentation is
\setupbtxlist[alternative=hanging
32 matches
Mail list logo