@@ -447,17 +447,49 @@ <h3 class="title is-4">Additional Experimental Details</h3>
447447<!--BibTex citation -->
448448 < section class ="section " id ="BibTeX ">
449449 < div class ="container is-max-desktop content ">
450- < h2 class ="title "> BibTeX</ h2 >
451- < pre > < code > @article{ma2025sql,
450+ < h2 class ="title is-3 "> Citation</ h2 >
451+ < p class ="has-text-centered " style ="margin-bottom: 1.5rem; color: #555; font-size: 1.05rem; font-weight: 500; ">
452+ If you find SQL-R1 useful for your research, please consider citing our paper:
453+ </ p >
454+ < div class ="bibtex-container ">
455+ < button class ="copy-button " onclick ="copyBibTeX(this) ">
456+ < i class ="fas fa-copy "> </ i > Copy
457+ </ button >
458+ < pre > < code > @article{ma2025sql,
452459 title={SQL-R1: Training Natural Language to SQL Reasoning Model By Reinforcement Learning},
453460 author={Ma, Peixian and Zhuang, Xialie and Xu, Chengjin and Jiang, Xuhui and Chen, Ran and Guo, Jian},
454461 journal={arXiv preprint arXiv:2504.08600},
455462 year={2025}
456463}</ code > </ pre >
464+ </ div >
457465 </ div >
458466</ section >
459467<!--End BibTex citation -->
460468
469+ < script >
470+ function copyBibTeX ( button ) {
471+ const code = button . nextElementSibling . querySelector ( 'code' ) ;
472+ const text = code . textContent ;
473+
474+ navigator . clipboard . writeText ( text ) . then ( ( ) => {
475+ const originalText = button . innerHTML ;
476+ button . innerHTML = '<i class="fas fa-check"></i> Copied!' ;
477+ button . classList . add ( 'copied' ) ;
478+
479+ setTimeout ( ( ) => {
480+ button . innerHTML = originalText ;
481+ button . classList . remove ( 'copied' ) ;
482+ } , 2000 ) ;
483+ } ) . catch ( err => {
484+ console . error ( 'Copy failed:' , err ) ;
485+ button . innerHTML = '<i class="fas fa-times"></i> Failed' ;
486+ setTimeout ( ( ) => {
487+ button . innerHTML = '<i class="fas fa-copy"></i> Copy' ;
488+ } , 2000 ) ;
489+ } ) ;
490+ }
491+ </ script >
492+
461493
462494 < footer class ="footer ">
463495 < div class ="container ">
0 commit comments