Commit: 7d77f0ca9798df42afc813714dc0ac4a36165136 Parent: 7e9ae05984d7110355a60cbad728140aeb37f774 Author: Johannes Thyssen Tishman Date: Mon, 10 Mar 2025 22:33:53 +0000 texref: Match authors wrapped in double brackets Diffstat: M texref | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/texref b/texref @@ -36,8 +36,9 @@ BEGIN { } /^[[:blank:]]*[Aa]uthor/ { - width = length($2); - BIBS[N,"author"] = $2; + author = ($0 ~ /{{/) ? $3 : $2; + width = length(author); + BIBS[N,"author"] = author; W["author"] = W["author"] < width ? width : W["author"]; }