summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/mkiv/publ-imp-aps.mkvi
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/publ-imp-aps.mkvi')
-rw-r--r--Master/texmf-dist/tex/context/base/mkiv/publ-imp-aps.mkvi126
1 files changed, 36 insertions, 90 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/publ-imp-aps.mkvi b/Master/texmf-dist/tex/context/base/mkiv/publ-imp-aps.mkvi
index 6742457146b..e9cbd7aaf24 100644
--- a/Master/texmf-dist/tex/context/base/mkiv/publ-imp-aps.mkvi
+++ b/Master/texmf-dist/tex/context/base/mkiv/publ-imp-aps.mkvi
@@ -33,15 +33,15 @@
[aps]
[\c!default=default,
\c!specification=aps,
- \c!otherstext={\btxspace{\it\btxlabeltext{aps:others}}},
+ \c!otherstext={\btxspace{\it\btxlabeltext{others}}},
\c!etallimit=10,
\c!etaldisplay=\btxparameter\c!etallimit,
%c!journalconversion=\v!normal,
\c!monthconversion=\v!month,
\c!title=\v!yes,
\c!separator:names:2={\btxcomma},
- \c!separator:names:3={\btxcomma\btxlabeltext{aps:and}\space},
- \c!separator:names:4={\btxspace\btxlabeltext{aps:and}\space}]
+ \c!separator:names:3={\btxcomma\btxlabeltext{and}\space},
+ \c!separator:names:4={\btxspace\btxlabeltext{and}\space}]
% First, define and set list and rendering parameters
@@ -53,7 +53,8 @@
\setupbtxlist
[aps]
- [\c!alternative=b] % spaces
+ [\c!alternative=b, % spaces
+ \c!align={normal,verytolerant,stretch}]
\definebtx
[aps:\s!list]
@@ -84,8 +85,8 @@
[aps:\s!list:\s!page]
[aps:\s!list]
[\c!separator:2={\btxcomma},
- \c!separator:3={\btxcomma\btxlabeltext{aps:and}\space},
- \c!separator:4={\btxspace\btxlabeltext{aps:and}\space},
+ \c!separator:3={\btxcomma\btxlabeltext{and}\space},
+ \c!separator:4={\btxspace\btxlabeltext{and}\space},
\c!left={\btxleftparenthesis},
\c!right={\btxrightparenthesis},
\c!command={\wordright}]
@@ -353,8 +354,8 @@
[\c!left=,
\c!right=,
\c!separator:2={\btxcomma}, % :0 and :1 - between items of a list
- \c!separator:3={\btxcomma\btxlabeltext{aps:and}\space},
- \c!separator:4={\btxspace\btxlabeltext{aps:and}\space}]
+ \c!separator:3={\btxcomma\btxlabeltext{and}\space},
+ \c!separator:4={\btxspace\btxlabeltext{and}\space}]
\definebtx
[aps:\s!cite:pages]
@@ -379,8 +380,8 @@
\definebtx
[aps:\s!cite:url]
[aps:\s!cite]
- [\c!left={[},
- \c!right={]}]
+ [\c!left={(},
+ \c!right={)}]
\definebtx
[aps:\s!cite:doi]
@@ -408,8 +409,8 @@
[\c!left={Ref.\nbsp},
\c!command=,
\c!separator:2={\btxcomma},
- \c!separator:3={\btxspace\btxlabeltext{aps:and}\space},
- \c!separator:4={\btxspace\btxlabeltext{aps:and}\space}]
+ \c!separator:3={\btxspace\btxlabeltext{and}\space},
+ \c!separator:4={\btxspace\btxlabeltext{and}\space}]
\definebtx
[aps:\s!cite:entry]
@@ -429,139 +430,85 @@
\setupbtxlabeltext
[en]
- [aps:and=and,
- aps:number={no.},
+ [aps:number={no.},
aps:edition={ed.},
aps:Editor={Ed.},
aps:Editors={Eds.},
aps:Volume={Vol.},
aps:Volumes={Vols.},
- aps:others={et al.},
- aps:page={p.},
- aps:pages={pp.},
- aps:mastersthesis={Master's thesis},
- aps:phdthesis={Doctoral dissertation},
- aps:technicalreport={Tech. Rep.}, % Technical report
aps:supplement={Suppl.}, % Supplement (not used?)
- aps:patent=Patent,
aps:inpress={in press},
aps:tobe={to be published},
- aps:unpublished={unpublished},
- aps:In=In]
+ aps:unpublished={unpublished}]
% Check this (google translate!!):
\setupbtxlabeltext
[nl]
- [aps:and=en,
- aps:number={nr.},
+ [aps:number={nr.},
aps:edition={ed.}, % editie
aps:Editor=Editor, % Ed./Eds.
aps:Editors=Editors,
aps:Volume={Vol.},
aps:Volumes={Vols.},
- aps:others={et al.},
- aps:page={p.},
- aps:pages={pp.},
- aps:mastersthesis=Masterproef,
- aps:phdthesis=Proefschrift,
- aps:technicalreport={Technisch rapport}, % Technical report
aps:supplement=Supplement,
- aps:patent=Octrooi,
aps:inpress={in press}, % CHECK THESE!
aps:tobe={worden gepubliceerd},
- aps:unpublished={onuitgegeven},
- aps:In=In]
+ aps:unpublished={onuitgegeven}]
\setupbtxlabeltext
[fr]
- [aps:and=et,
- aps:number={n\high{o}},
+ [aps:number={n\high{o}},
aps:edition={édition},
aps:Editor=Éditeur,
aps:Editors=Éditeurs,
aps:Volume=Volume,
aps:Volumes=Volumes,
- aps:others={et al.},
- aps:page={p.},
- aps:pages={pp.},
- aps:mastersthesis={Thèse de master (DEA, DESS, master)},
- aps:phdthesis={Thèse de doctorat},
- aps:technicalreport={Rapport technique},
aps:supplement=Supplément,
- aps:patent=Brevet,
aps:inpress={sous impression},
aps:tobe={à paraître},
- aps:unpublished={inédit}, % pour un livre
- aps:In=Dans]
+ aps:unpublished={inédit}] % pour un livre
\setupbtxlabeltext
[de]
- [aps:and=und,
- aps:number={nr.},
+ [aps:number={nr.},
aps:edition=Auf\/lage,
aps:Editor=Herausgeber, % Hrsg./Hg.
aps:Editors=Herausgeber,
aps:Volume=Band, % Bd.
aps:Volumes={Bände},
- aps:others={et al.},
- aps:page={S.},
- aps:pages={S.},
- aps:mastersthesis={Masterarbeit},
- aps:phdthesis={Dissertation},
- aps:technicalreport={Technischer Bericht},
aps:supplement={Beilage}, % Supplement
- aps:patent=Patent,
aps:inpress={in der Presse}, % CHECK THESE!
aps:tobe={veröffentlicht werden},
- aps:unpublished={unveröffentlicht},
- aps:In=In]
+ aps:unpublished={unveröffentlicht}]
% thanks: Andrea Valle
\setupbtxlabeltext
[it]
- [aps:and=e,
- aps:number={nº},
+ [aps:number={nº},
aps:edition={ed.}, % edizione
aps:Editor={A cura di},
aps:Editors={A cura di},
aps:Volume={Vol.}, % Volume
aps:Volumes={Vol.}, % Volumi
- aps:others={et al.},
- aps:page={p.},
- aps:pages={pp.},
- aps:mastersthesis={Tesi di laurea},
- aps:phdthesis={Tesi di dottorato},
- aps:technicalreport={Relazione tecnica},
aps:supplement={Supplemento},
- aps:patent=Brevetto,
aps:inpress={in press}, % CHECK THESE!
aps:tobe={da pubblicare},
- aps:unpublished={inedito},
- aps:In=In]
+ aps:unpublished={inedito}]
\setupbtxlabeltext
[es]
- [aps:and=y,
- aps:number={nº},
+ [aps:number={nº},
aps:edition={ed.}, % edición
aps:Editor=Editor, % Ed./Eds.
aps:Editors=Editores,
aps:Volume={Vol.}, % Volumen
aps:Volumes={Vols.}, % Volúmenes
- aps:others={et al.},
- aps:page={p.},
- aps:pages={pp.},
- aps:mastersthesis={Tesis de maestría},
- aps:phdthesis={Tesis doctoral},
- aps:technicalreport={Informe técnico},
aps:supplement=Suplemento,
- aps:patent=Patente,
aps:inpress={en prensa}, % CHECK THESE!
aps:tobe={que se publicará},
- aps:unpublished={inédito},
- aps:In=En]
+ aps:unpublished={inédito}]
% cite setups
@@ -604,9 +551,9 @@
\startsetups [btx:aps:list:page-or-pages]
\ifx\currentbtxlastpage\empty
- \btxlabeltext{aps:page}
+ \btxlabeltext{p}.
\else
- \btxlabeltext{aps:pages}
+ \btxlabeltext{pp}.
\fi
\btxnbsp
\stopsetups
@@ -706,7 +653,7 @@
\starttexdefinition unexpanded btx:aps:editor-in
\btxdoif {booktitle} {
- \btxlabeltext{aps:In}
+ \btxlabeltext{In}
\doifnot {\btxfoundname{author}} {editor} {
\btxspace
\texdefinition{btx:aps:author-or-editor} {editor}
@@ -724,7 +671,7 @@
\btxflush{type}
}
} {
- \btxlabeltext{aps:technicalreport}
+ \btxlabeltext{technicalreport}
}
\btxcomma
}
@@ -752,9 +699,9 @@
}
\btxdoif {pages} {
\btxoneorrange {pages} {
- \btxlabeltext{aps:page}
+ \btxlabeltext{p}.
} {
- \btxlabeltext{aps:pages}
+ \btxlabeltext{pp}.
}
\btxnbsp
\btxflush{pages}
@@ -764,6 +711,7 @@
\starttexdefinition unexpanded btx:aps:journal-volume-year
\btxdoif {journal} {
+ \btxspace
\btxstartstyleandcolor [aps:\s!list:journal]
% expandedjournal abbreviatedjournal
\btxflush{expandedjournal -> journal}
@@ -981,7 +929,7 @@
\btxflush{type}
}
} {
- \btxlabeltext{aps:\currentbtxcategory}
+ \btxlabeltext{\currentbtxcategory}
}
\btxrightparenthesis
\btxdoif {school} {
@@ -1063,7 +1011,7 @@
\btxflush{nationality}
}
\btxspace
- \btxlabeltext{aps:patent}
+ \btxlabeltext{patent}
\btxdoif {number} {
\btxspace
\btxlabeltext{aps:number}
@@ -1074,7 +1022,6 @@
\italiccorrection
\endgroup
\texdefinition{btx:aps:doi-url} {\texdefinition{btx:aps:publisher-wherefrom-year}}
- \texdefinition{btx:aps:url}
\texdefinition{btx:aps:note}
\stopsetups
@@ -1091,11 +1038,10 @@
\btxdoif {organization} {
\btxspace
\btxflush{organization}
- \btxperiod
+ \btxcomma
}
\btxdoif {howpublished} {
- \btxspace
- \btxflush{howpublished}
+ \texdefinition{btx:aps:doi-url} {\btxspace\btxflush{howpublished}}
}
\btxleftparenthesis
\texdefinition{btx:aps:year}