我有这个上下文文件:
\enableregime[utf]
\mainlanguage[ca]
\setupbodyfont [cmr,12pt] % cmr, 11pt
\setuphead[chapter,section][page=yes]
\setupinteraction[state=start, color=blue, style=\tf]
\setupurl[color=blue, style=\tf]
% De https://tex.stackexchange.com/questions/367929/and-in-bibtex-with-multiple-authors-does-not-supported-in-context/367938#367938
\usebtxdataset[bibliografia]
\usebtxdefinitions[aps] % aps, apa
\setupbtx
[aps:list:author]
[separator:names:3={\btxcomma},
separator:names:4={\btxcomma}]
\starttext
\section{Motivació i objectius}
\subsection{Motivació}
\input ward
\subsection{Objectius}
\input ward \cite[building-thinking-classrooms]
\section{Referències}
\startcolor[black]
\placelistofpublications
\stopcolor
\stoptext
即使我强制使用黑色,结果\placelistofpublications
也是蓝色,而不是黑色。为什么?
答案1
临时解决方法:从列表渲染中删除颜色。这也会从链接中删除颜色,但这比整行都上色要好。
\startbuffer[references]
@article{curs-adults-1,
author= "Alzina Seguí, Pere and Rosselló, Ramon",
title = "Estratègies metodològiques per a l'ensenyament d'adults",
year = "2016",
journal = "TeX.SX",
url = "https://tex.stackexchange.com/"
}
\stopbuffer
\setupinteraction[state=start]
\usebtxdataset[references.buffer]
\usebtxdefinitions[aps]
\appendtoks
\iflocation
\letinteractionparameter{color}\empty
\fi
\to \everybtxlistrendering
\starttext
\cite[curs-adults-1]
\placelistofpublications
\stoptext