{
"translatorID": "411f9a8b-64f3-4465-b7df-a3c988b602f3",
"label": "RePEc - Econpapers",
"creator": "Sebastian Karcher",
"target": "^https?://econpapers\\.repec\\.org/",
"minVersion": "5.0",
"maxVersion": "",
"priority": 100,
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2025-04-29 03:02:00"
}
/*
***** BEGIN LICENSE BLOCK *****
Copyright © 2011 Sebastian Karcher and contributors.
This file is part of Zotero.
Zotero is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Zotero is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with Zotero. If not, see
element) by the text content of the bold heading in it // ( element) function paragraphHeadedBy(doc, heading) { let container = doc.querySelector(".bodytext"); if (!container) return null; let quotedStr = JSON.stringify(heading); let elem = ZU.xpath(container, `//p[.//b[starts-with(text(), ${quotedStr})][1]]`)[0]; return elem || null; } // For a single line (part of the inner html of a