[NTG-context] Re: Combine lua and btx setup, was: Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-25 Thread Gerion Entrup
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

[NTG-context] Combine lua and btx setup, was: Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-23 Thread Gerion Entrup
[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

Re: [NTG-context] Microtipography

2022-05-25 Thread Denis Maier via ntg-context
\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

Re: [NTG-context] Microtipography

2022-05-25 Thread Tommaso Gordini via ntg-context
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

Re: [NTG-context] Microtipography

2022-05-25 Thread Henri Menke via ntg-context
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

Re: [NTG-context] How to setupbtx to get short citations?

2022-01-11 Thread Mikael Sundqvist via ntg-context
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

[NTG-context] How to setupbtx to get short citations?

2022-01-09 Thread Mikael Sundqvist via ntg-context
] \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

Re: [NTG-context] Displaying names in Chicago-Turabian "note" style

2021-12-21 Thread Joey McCollum via ntg-context
\else > #3% > \fi > }% > > \usebtxdataset[bib.buffer] > > \startbtxrenderingdefinitions[chicagonum] > > \definebtx[chicagonum] > [default=default, > specification=chicagonum, > otherstext={\btxspace{\it\btxlabeltext{others}}}, >

[NTG-context] Displaying names in Chicago-Turabian "note" style

2021-12-21 Thread Joel via ntg-context
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

Re: [NTG-context] Number conversion in btxlist and citations

2021-09-16 Thread kauśika cittūr via ntg-context
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

Re: [NTG-context] Number conversion in btxlist and citations

2021-09-16 Thread kauśika cittūr via ntg-context
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

[NTG-context] Number conversion in btxlist and citations

2021-09-15 Thread kauśika cittūr via ntg-context
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

[NTG-context] Changing the style of author’s surname in a custom bibliographical style

2021-09-11 Thread Tomáš V via ntg-context
\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

Re: [NTG-context] How to cite online websites (reloaded)

2018-09-03 Thread cryo shock
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

Re: [NTG-context] How to cite online websites (reloaded)

2018-09-02 Thread Alan Braslau
\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][ >

Re: [NTG-context] How to cite online websites (reloaded)

2018-09-02 Thread Lars
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

Re: [NTG-context] Why is [left=(, right=)] ignored when using the aps btx rendering specification?

2018-01-04 Thread Dr . Thomas Möbius
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

[NTG-context] Fw: APA Bibliographic refs. | Hyphenated first names | Lower case first letter of Title

2017-05-31 Thread Richard Mahoney | Indica et Buddhica
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

[NTG-context] APA Bibliographic refs. | Hyphenated first names | Lower case first letter of Title

2017-05-21 Thread Richard Mahoney | Indica et Buddhica
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 =

Re: [NTG-context] Overfull boxes in bibliography

2016-09-28 Thread Henri Menke
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

Re: [NTG-context] Overfull boxes in bibliography

2016-09-28 Thread Alan Braslau
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

Re: [NTG-context] custom cite in \externalfigure

2016-05-04 Thread Eidenbenz Michael
"Official drawing of the TUG 2014 conference", >>author = "Duane Bibby", >>year= 2014, >>} >> >> \stopbuffer >> >> \definebtxdataset >> [duane] >> >> \usebtxdataset >> [duane]

Re: [NTG-context] custom cite in \externalfigure

2016-05-04 Thread Hans Hagen
", 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

[NTG-context] custom cite in \externalfigure

2016-04-30 Thread eidenbenz
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

Re: [NTG-context] reference points with double colons (::) are not working

2015-10-10 Thread Eidenbenz Michael
= "Duane Bibby", year= 2014, } \stopbuffer \definebtxdataset [duane] \usebtxdataset [duane] [duane.buffer] \usebtxdefinitions [duane] \definebtxrendering [duane] [dataset=duane, method=local, ] \setupbtxlist [du

[NTG-context] custom :cite setups with new bibliography system

2015-10-06 Thread Eidenbenz Michael
author = "Duane Bibby", year= 2012, } \stopbuffer \definebtxdataset [duane] \usebtxdataset [duane] [duane.buffer] \usebtxdefinitions [duane] \definebtxrendering [duane] [dataset=duane, method=dataset, ] %method=local only works

Re: [NTG-context] Setups for images in publication framework

2015-10-05 Thread Eidenbenz Michael
author = "Duane Bibby", >year= 2012, >} > > \stopbuffer > > % A quick and dirty layout: > > \usemodule > [article] > > \setupinteraction > [state=start] > > % We will use a dedicated dataset: >

[NTG-context] Setups for images in publication framework

2015-10-03 Thread Eidenbenz Michael
\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

[NTG-context] right align (flushright) bibliography list labels

2015-04-29 Thread Csikos Bela
/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

Re: [NTG-context] bibliography: alignment of first hanging lines in publications list, hyphenation

2015-01-28 Thread Jörg Weger
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

Re: [NTG-context] bibliography: alignment of first hanging lines in publications list, hyphenation

2015-01-28 Thread Hans Hagen
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

Re: [NTG-context] bibliography: alignment of first hanging lines in publications list, hyphenation

2015-01-28 Thread Jörg Weger
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