yulongchen commited on
Commit
9fefdb9
·
1 Parent(s): 1a076b3
Files changed (1) hide show
  1. test.html +24 -15
test.html CHANGED
@@ -141,26 +141,35 @@
141
  This demo is developed by researchers at the University of Cambridge, Queen Mary University London, and Full Fact.
142
  </p>
143
 
144
- <div class="mt-8">
145
  <h3 class="text-xl font-semibold mb-4">Citation</h3>
146
  <p class="text-gray-700 mb-2">
147
  If you use <span style="font-variant: small-caps;">PledgeTracker</span> in your work, please cite:
148
  </p>
149
- <pre class="bg-gray-100 p-4 rounded-lg text-sm overflow-x-auto text-left">
150
- @misc{chen2025pledgetrackermonitoringfulfilmentpledges,
151
- title={PledgeTracker: A System for Monitoring the Fulfilment of Pledges},
152
- author={Yulong Chen and Michael Sejr Schlichtkrull and Zhenyun Deng and
153
- David Corney and Nasim Asl and Joshua Salisbury and Andrew Dudfield
154
- and Andreas Vlachos},
155
- year={2025},
156
- eprint={2509.11804},
157
- archivePrefix={arXiv},
158
- primaryClass={cs.CL},
159
- url={https://arxiv.org/abs/2509.11804},
160
- }
161
- </pre>
 
 
 
 
 
 
 
 
 
 
162
  </div>
163
- </div>
164
  </section>
165
 
166
 
 
141
  This demo is developed by researchers at the University of Cambridge, Queen Mary University London, and Full Fact.
142
  </p>
143
 
144
+ <div class="mt-8" id="citation">
145
  <h3 class="text-xl font-semibold mb-4">Citation</h3>
146
  <p class="text-gray-700 mb-2">
147
  If you use <span style="font-variant: small-caps;">PledgeTracker</span> in your work, please cite:
148
  </p>
149
+
150
+ <div class="relative">
151
+ <pre id="bibtex" class="bg-gray-100 p-4 rounded-lg text-sm whitespace-pre-wrap break-words overflow-x-auto text-left">
152
+ @misc{chen2025pledgetrackermonitoringfulfilmentpledges,
153
+ title={PledgeTracker: A System for Monitoring the Fulfilment of Pledges},
154
+ author={Yulong Chen and Michael Sejr Schlichtkrull and Zhenyun Deng and
155
+ David Corney and Nasim Asl and Joshua Salisbury and Andrew Dudfield
156
+ and Andreas Vlachos},
157
+ year={2025},
158
+ eprint={2509.11804},
159
+ archivePrefix={arXiv},
160
+ primaryClass={cs.CL},
161
+ url={https://arxiv.org/abs/2509.11804},
162
+ }
163
+ </pre>
164
+
165
+ <button
166
+ onclick="(async (e) => { try { await navigator.clipboard.writeText(document.getElementById('bibtex').innerText.trim()); const b=e.currentTarget; const old=b.innerText; b.innerText='Copied!'; setTimeout(()=>b.innerText=old,1200);} catch(err){ alert('Copy failed, please select & copy manually.'); } })(event)"
167
+ class="absolute top-2 right-2 px-3 py-1.5 bg-purple-600 text-white rounded-lg hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500 text-xs"
168
+ type="button"
169
+ aria-label="Copy BibTeX to clipboard"
170
+ >Copy</button>
171
+ </div>
172
  </div>
 
173
  </section>
174
 
175