From becff06c71d277647eda4378203d03ab36e141eb Mon Sep 17 00:00:00 2001 From: mattkae Date: Tue, 17 May 2022 07:07:37 -0400 Subject: Evil mode and latex support --- elpa/auctex-13.1.3/style/.nosearch | 1 + elpa/auctex-13.1.3/style/Alegreya.el | 106 +++ elpa/auctex-13.1.3/style/Alegreya.elc | Bin 0 -> 1641 bytes elpa/auctex-13.1.3/style/AlegreyaSans.el | 118 +++ elpa/auctex-13.1.3/style/AlegreyaSans.elc | Bin 0 -> 2063 bytes elpa/auctex-13.1.3/style/AnonymousPro.el | 92 ++ elpa/auctex-13.1.3/style/AnonymousPro.elc | Bin 0 -> 1148 bytes elpa/auctex-13.1.3/style/CJK.el | 97 +++ elpa/auctex-13.1.3/style/CJK.elc | Bin 0 -> 1759 bytes elpa/auctex-13.1.3/style/CJKutf8.el | 41 + elpa/auctex-13.1.3/style/CJKutf8.elc | Bin 0 -> 233 bytes elpa/auctex-13.1.3/style/FiraMono.el | 78 ++ elpa/auctex-13.1.3/style/FiraMono.elc | Bin 0 -> 903 bytes elpa/auctex-13.1.3/style/FiraSans.el | 110 +++ elpa/auctex-13.1.3/style/FiraSans.elc | Bin 0 -> 1455 bytes elpa/auctex-13.1.3/style/MinionPro.el | 76 ++ elpa/auctex-13.1.3/style/MinionPro.elc | Bin 0 -> 1007 bytes elpa/auctex-13.1.3/style/MyriadPro.el | 102 +++ elpa/auctex-13.1.3/style/MyriadPro.elc | Bin 0 -> 1363 bytes elpa/auctex-13.1.3/style/XCharter.el | 97 +++ elpa/auctex-13.1.3/style/XCharter.elc | Bin 0 -> 1181 bytes elpa/auctex-13.1.3/style/acro.el | 300 +++++++ elpa/auctex-13.1.3/style/acro.elc | Bin 0 -> 9922 bytes elpa/auctex-13.1.3/style/acronym.el | 185 ++++ elpa/auctex-13.1.3/style/acronym.elc | Bin 0 -> 6232 bytes elpa/auctex-13.1.3/style/afterpage.el | 46 + elpa/auctex-13.1.3/style/afterpage.elc | Bin 0 -> 353 bytes elpa/auctex-13.1.3/style/algorithm.el | 80 ++ elpa/auctex-13.1.3/style/algorithm.elc | Bin 0 -> 1251 bytes elpa/auctex-13.1.3/style/algpseudocode.el | 143 +++ elpa/auctex-13.1.3/style/algpseudocode.elc | Bin 0 -> 1765 bytes elpa/auctex-13.1.3/style/alltt.el | 57 ++ elpa/auctex-13.1.3/style/alltt.elc | Bin 0 -> 641 bytes elpa/auctex-13.1.3/style/alphanum.el | 105 +++ elpa/auctex-13.1.3/style/alphanum.elc | Bin 0 -> 1188 bytes elpa/auctex-13.1.3/style/amsart.el | 16 + elpa/auctex-13.1.3/style/amsart.elc | Bin 0 -> 316 bytes elpa/auctex-13.1.3/style/amsbook.el | 15 + elpa/auctex-13.1.3/style/amsbook.elc | Bin 0 -> 317 bytes elpa/auctex-13.1.3/style/amsbsy.el | 21 + elpa/auctex-13.1.3/style/amsbsy.elc | Bin 0 -> 386 bytes elpa/auctex-13.1.3/style/amsfonts.el | 61 ++ elpa/auctex-13.1.3/style/amsfonts.elc | Bin 0 -> 581 bytes elpa/auctex-13.1.3/style/amsmath.el | 259 ++++++ elpa/auctex-13.1.3/style/amsmath.elc | Bin 0 -> 7186 bytes elpa/auctex-13.1.3/style/amsopn.el | 56 ++ elpa/auctex-13.1.3/style/amsopn.elc | Bin 0 -> 760 bytes elpa/auctex-13.1.3/style/amssymb.el | 253 ++++++ elpa/auctex-13.1.3/style/amssymb.elc | Bin 0 -> 4249 bytes elpa/auctex-13.1.3/style/amstex.el | 63 ++ elpa/auctex-13.1.3/style/amstex.elc | Bin 0 -> 613 bytes elpa/auctex-13.1.3/style/amstext.el | 20 + elpa/auctex-13.1.3/style/amstext.elc | Bin 0 -> 354 bytes elpa/auctex-13.1.3/style/amsthm.el | 201 +++++ elpa/auctex-13.1.3/style/amsthm.elc | Bin 0 -> 7677 bytes elpa/auctex-13.1.3/style/appendix.el | 79 ++ elpa/auctex-13.1.3/style/appendix.elc | Bin 0 -> 1048 bytes elpa/auctex-13.1.3/style/arabxetex.el | 121 +++ elpa/auctex-13.1.3/style/arabxetex.elc | Bin 0 -> 1659 bytes elpa/auctex-13.1.3/style/array.el | 111 +++ elpa/auctex-13.1.3/style/array.elc | Bin 0 -> 3625 bytes elpa/auctex-13.1.3/style/article.el | 24 + elpa/auctex-13.1.3/style/article.elc | Bin 0 -> 810 bytes elpa/auctex-13.1.3/style/attachfile.el | 127 +++ elpa/auctex-13.1.3/style/attachfile.elc | Bin 0 -> 1828 bytes elpa/auctex-13.1.3/style/australian.el | 42 + elpa/auctex-13.1.3/style/australian.elc | Bin 0 -> 240 bytes elpa/auctex-13.1.3/style/austrian.el | 42 + elpa/auctex-13.1.3/style/austrian.elc | Bin 0 -> 237 bytes elpa/auctex-13.1.3/style/babel.el | 436 ++++++++++ elpa/auctex-13.1.3/style/babel.elc | Bin 0 -> 12406 bytes elpa/auctex-13.1.3/style/backref.el | 94 ++ elpa/auctex-13.1.3/style/backref.elc | Bin 0 -> 1457 bytes elpa/auctex-13.1.3/style/baskervaldx.el | 88 ++ elpa/auctex-13.1.3/style/baskervaldx.elc | Bin 0 -> 1039 bytes elpa/auctex-13.1.3/style/beamer.el | 381 ++++++++ elpa/auctex-13.1.3/style/beamer.elc | Bin 0 -> 11351 bytes elpa/auctex-13.1.3/style/beamerarticle.el | 35 + elpa/auctex-13.1.3/style/beamerarticle.elc | Bin 0 -> 230 bytes elpa/auctex-13.1.3/style/beamerswitch.el | 35 + elpa/auctex-13.1.3/style/beamerswitch.elc | Bin 0 -> 229 bytes elpa/auctex-13.1.3/style/biblatex.el | 645 ++++++++++++++ elpa/auctex-13.1.3/style/biblatex.elc | Bin 0 -> 20648 bytes elpa/auctex-13.1.3/style/bicaption.el | 206 +++++ elpa/auctex-13.1.3/style/bicaption.elc | Bin 0 -> 4722 bytes elpa/auctex-13.1.3/style/bidi.el | 196 +++++ elpa/auctex-13.1.3/style/bidi.elc | Bin 0 -> 3379 bytes elpa/auctex-13.1.3/style/bidibeamer.el | 42 + elpa/auctex-13.1.3/style/bidibeamer.elc | Bin 0 -> 239 bytes elpa/auctex-13.1.3/style/bigdelim.el | 101 +++ elpa/auctex-13.1.3/style/bigdelim.elc | Bin 0 -> 1758 bytes elpa/auctex-13.1.3/style/bigstrut.el | 68 ++ elpa/auctex-13.1.3/style/bigstrut.elc | Bin 0 -> 923 bytes elpa/auctex-13.1.3/style/bm.el | 62 ++ elpa/auctex-13.1.3/style/bm.elc | Bin 0 -> 802 bytes elpa/auctex-13.1.3/style/book.el | 24 + elpa/auctex-13.1.3/style/book.elc | Bin 0 -> 791 bytes elpa/auctex-13.1.3/style/booktabs.el | 86 ++ elpa/auctex-13.1.3/style/booktabs.elc | Bin 0 -> 1283 bytes elpa/auctex-13.1.3/style/brazil.el | 37 + elpa/auctex-13.1.3/style/brazil.elc | Bin 0 -> 238 bytes elpa/auctex-13.1.3/style/brazilian.el | 77 ++ elpa/auctex-13.1.3/style/brazilian.elc | Bin 0 -> 949 bytes elpa/auctex-13.1.3/style/breqn.el | 141 +++ elpa/auctex-13.1.3/style/breqn.elc | Bin 0 -> 2493 bytes elpa/auctex-13.1.3/style/bulgarian.el | 63 ++ elpa/auctex-13.1.3/style/bulgarian.elc | Bin 0 -> 824 bytes elpa/auctex-13.1.3/style/canadian.el | 42 + elpa/auctex-13.1.3/style/canadian.elc | Bin 0 -> 238 bytes elpa/auctex-13.1.3/style/cancel.el | 63 ++ elpa/auctex-13.1.3/style/cancel.elc | Bin 0 -> 696 bytes elpa/auctex-13.1.3/style/captcont.el | 54 ++ elpa/auctex-13.1.3/style/captcont.elc | Bin 0 -> 562 bytes elpa/auctex-13.1.3/style/caption.el | 491 +++++++++++ elpa/auctex-13.1.3/style/caption.elc | Bin 0 -> 13818 bytes elpa/auctex-13.1.3/style/changelog.el | 163 ++++ elpa/auctex-13.1.3/style/changelog.elc | Bin 0 -> 3025 bytes elpa/auctex-13.1.3/style/changes.el | 242 ++++++ elpa/auctex-13.1.3/style/changes.elc | Bin 0 -> 7482 bytes elpa/auctex-13.1.3/style/cleveref.el | 205 +++++ elpa/auctex-13.1.3/style/cleveref.elc | Bin 0 -> 5283 bytes elpa/auctex-13.1.3/style/color.el | 317 +++++++ elpa/auctex-13.1.3/style/color.elc | Bin 0 -> 9053 bytes elpa/auctex-13.1.3/style/colortbl.el | 100 +++ elpa/auctex-13.1.3/style/colortbl.elc | Bin 0 -> 1507 bytes elpa/auctex-13.1.3/style/commath.el | 109 +++ elpa/auctex-13.1.3/style/commath.elc | Bin 0 -> 2108 bytes elpa/auctex-13.1.3/style/comment.el | 168 ++++ elpa/auctex-13.1.3/style/comment.elc | Bin 0 -> 4466 bytes elpa/auctex-13.1.3/style/csquotes.el | 404 +++++++++ elpa/auctex-13.1.3/style/csquotes.elc | Bin 0 -> 10089 bytes elpa/auctex-13.1.3/style/currvita.el | 98 +++ elpa/auctex-13.1.3/style/currvita.elc | Bin 0 -> 1509 bytes elpa/auctex-13.1.3/style/cuted.el | 73 ++ elpa/auctex-13.1.3/style/cuted.elc | Bin 0 -> 822 bytes elpa/auctex-13.1.3/style/czech.el | 11 + elpa/auctex-13.1.3/style/czech.elc | Bin 0 -> 334 bytes elpa/auctex-13.1.3/style/danish.el | 26 + elpa/auctex-13.1.3/style/danish.elc | Bin 0 -> 494 bytes elpa/auctex-13.1.3/style/dashundergaps.el | 106 +++ elpa/auctex-13.1.3/style/dashundergaps.elc | Bin 0 -> 1971 bytes elpa/auctex-13.1.3/style/dcolumn.el | 51 ++ elpa/auctex-13.1.3/style/dcolumn.elc | Bin 0 -> 407 bytes elpa/auctex-13.1.3/style/dinbrief.el | 283 ++++++ elpa/auctex-13.1.3/style/dinbrief.elc | Bin 0 -> 5805 bytes elpa/auctex-13.1.3/style/dk-bib.el | 62 ++ elpa/auctex-13.1.3/style/dk-bib.elc | Bin 0 -> 768 bytes elpa/auctex-13.1.3/style/dk.el | 13 + elpa/auctex-13.1.3/style/dk.elc | Bin 0 -> 233 bytes elpa/auctex-13.1.3/style/doc.el | 466 ++++++++++ elpa/auctex-13.1.3/style/doc.elc | Bin 0 -> 10288 bytes elpa/auctex-13.1.3/style/dutch.el | 13 + elpa/auctex-13.1.3/style/dutch.elc | Bin 0 -> 236 bytes elpa/auctex-13.1.3/style/emp.el | 85 ++ elpa/auctex-13.1.3/style/emp.elc | Bin 0 -> 1532 bytes elpa/auctex-13.1.3/style/empheq.el | 485 +++++++++++ elpa/auctex-13.1.3/style/empheq.elc | Bin 0 -> 14099 bytes elpa/auctex-13.1.3/style/english.el | 15 + elpa/auctex-13.1.3/style/english.elc | Bin 0 -> 288 bytes elpa/auctex-13.1.3/style/enumitem.el | 525 +++++++++++ elpa/auctex-13.1.3/style/enumitem.elc | Bin 0 -> 17106 bytes elpa/auctex-13.1.3/style/environ.el | 143 +++ elpa/auctex-13.1.3/style/environ.elc | Bin 0 -> 2505 bytes elpa/auctex-13.1.3/style/epigraph.el | 106 +++ elpa/auctex-13.1.3/style/epigraph.elc | Bin 0 -> 1452 bytes elpa/auctex-13.1.3/style/epsf.el | 40 + elpa/auctex-13.1.3/style/epsf.elc | Bin 0 -> 1049 bytes elpa/auctex-13.1.3/style/erewhon.el | 98 +++ elpa/auctex-13.1.3/style/erewhon.elc | Bin 0 -> 1247 bytes elpa/auctex-13.1.3/style/eso-pic.el | 90 ++ elpa/auctex-13.1.3/style/eso-pic.elc | Bin 0 -> 1430 bytes elpa/auctex-13.1.3/style/etoolbox.el | 376 ++++++++ elpa/auctex-13.1.3/style/etoolbox.elc | Bin 0 -> 10276 bytes elpa/auctex-13.1.3/style/everysel.el | 47 + elpa/auctex-13.1.3/style/everysel.elc | Bin 0 -> 377 bytes elpa/auctex-13.1.3/style/exam.el | 412 +++++++++ elpa/auctex-13.1.3/style/exam.elc | Bin 0 -> 10483 bytes elpa/auctex-13.1.3/style/exercise.el | 66 ++ elpa/auctex-13.1.3/style/exercise.elc | Bin 0 -> 880 bytes elpa/auctex-13.1.3/style/expl3.el | 63 ++ elpa/auctex-13.1.3/style/expl3.elc | Bin 0 -> 907 bytes elpa/auctex-13.1.3/style/extramarks.el | 72 ++ elpa/auctex-13.1.3/style/extramarks.elc | Bin 0 -> 765 bytes elpa/auctex-13.1.3/style/fancyhdr.el | 187 ++++ elpa/auctex-13.1.3/style/fancyhdr.elc | Bin 0 -> 3134 bytes elpa/auctex-13.1.3/style/fancynum.el | 49 ++ elpa/auctex-13.1.3/style/fancynum.elc | Bin 0 -> 456 bytes elpa/auctex-13.1.3/style/fancyref.el | 136 +++ elpa/auctex-13.1.3/style/fancyref.elc | Bin 0 -> 2637 bytes elpa/auctex-13.1.3/style/fancyvrb.el | 772 +++++++++++++++++ elpa/auctex-13.1.3/style/fancyvrb.elc | Bin 0 -> 25221 bytes elpa/auctex-13.1.3/style/fbb.el | 88 ++ elpa/auctex-13.1.3/style/fbb.elc | Bin 0 -> 1010 bytes elpa/auctex-13.1.3/style/fbox.el | 81 ++ elpa/auctex-13.1.3/style/fbox.elc | Bin 0 -> 1172 bytes elpa/auctex-13.1.3/style/filecontents.el | 64 ++ elpa/auctex-13.1.3/style/filecontents.elc | Bin 0 -> 888 bytes elpa/auctex-13.1.3/style/flashcards.el | 69 ++ elpa/auctex-13.1.3/style/flashcards.elc | Bin 0 -> 900 bytes elpa/auctex-13.1.3/style/floatpag.el | 75 ++ elpa/auctex-13.1.3/style/floatpag.elc | Bin 0 -> 958 bytes elpa/auctex-13.1.3/style/floatrow.el | 753 ++++++++++++++++ elpa/auctex-13.1.3/style/floatrow.elc | Bin 0 -> 24367 bytes elpa/auctex-13.1.3/style/flushend.el | 77 ++ elpa/auctex-13.1.3/style/flushend.elc | Bin 0 -> 946 bytes elpa/auctex-13.1.3/style/foils.el | 68 ++ elpa/auctex-13.1.3/style/foils.elc | Bin 0 -> 1260 bytes elpa/auctex-13.1.3/style/fontaxes.el | 116 +++ elpa/auctex-13.1.3/style/fontaxes.elc | Bin 0 -> 1569 bytes elpa/auctex-13.1.3/style/fontenc.el | 55 ++ elpa/auctex-13.1.3/style/fontenc.elc | Bin 0 -> 543 bytes elpa/auctex-13.1.3/style/fontspec.el | 449 ++++++++++ elpa/auctex-13.1.3/style/fontspec.elc | Bin 0 -> 12780 bytes elpa/auctex-13.1.3/style/footmisc.el | 128 +++ elpa/auctex-13.1.3/style/footmisc.elc | Bin 0 -> 2071 bytes elpa/auctex-13.1.3/style/footnotehyper.el | 86 ++ elpa/auctex-13.1.3/style/footnotehyper.elc | Bin 0 -> 1161 bytes elpa/auctex-13.1.3/style/framed.el | 55 ++ elpa/auctex-13.1.3/style/framed.elc | Bin 0 -> 488 bytes elpa/auctex-13.1.3/style/francais.el | 44 + elpa/auctex-13.1.3/style/francais.elc | Bin 0 -> 238 bytes elpa/auctex-13.1.3/style/french.el | 51 ++ elpa/auctex-13.1.3/style/french.elc | Bin 0 -> 354 bytes elpa/auctex-13.1.3/style/frenchb.el | 81 ++ elpa/auctex-13.1.3/style/frenchb.elc | Bin 0 -> 784 bytes elpa/auctex-13.1.3/style/fvextra.el | 159 ++++ elpa/auctex-13.1.3/style/fvextra.elc | Bin 0 -> 2589 bytes elpa/auctex-13.1.3/style/geometry.el | 160 ++++ elpa/auctex-13.1.3/style/geometry.elc | Bin 0 -> 6257 bytes elpa/auctex-13.1.3/style/german.el | 46 + elpa/auctex-13.1.3/style/german.elc | Bin 0 -> 907 bytes elpa/auctex-13.1.3/style/gloss-italian.el | 71 ++ elpa/auctex-13.1.3/style/gloss-italian.elc | Bin 0 -> 1006 bytes elpa/auctex-13.1.3/style/graphics.el | 20 + elpa/auctex-13.1.3/style/graphics.elc | Bin 0 -> 333 bytes elpa/auctex-13.1.3/style/graphicx.el | 332 +++++++ elpa/auctex-13.1.3/style/graphicx.elc | Bin 0 -> 8056 bytes elpa/auctex-13.1.3/style/harvard.el | 133 +++ elpa/auctex-13.1.3/style/harvard.elc | Bin 0 -> 3429 bytes elpa/auctex-13.1.3/style/hologo.el | 237 +++++ elpa/auctex-13.1.3/style/hologo.elc | Bin 0 -> 4033 bytes elpa/auctex-13.1.3/style/hyperref.el | 349 ++++++++ elpa/auctex-13.1.3/style/hyperref.elc | Bin 0 -> 8005 bytes elpa/auctex-13.1.3/style/icelandic.el | 62 ++ elpa/auctex-13.1.3/style/icelandic.elc | Bin 0 -> 824 bytes elpa/auctex-13.1.3/style/ifluatex.el | 72 ++ elpa/auctex-13.1.3/style/ifluatex.elc | Bin 0 -> 921 bytes elpa/auctex-13.1.3/style/ifthen.el | 82 ++ elpa/auctex-13.1.3/style/ifthen.elc | Bin 0 -> 1112 bytes elpa/auctex-13.1.3/style/imakeidx.el | 103 +++ elpa/auctex-13.1.3/style/imakeidx.elc | Bin 0 -> 1882 bytes elpa/auctex-13.1.3/style/index.el | 87 ++ elpa/auctex-13.1.3/style/index.elc | Bin 0 -> 1278 bytes elpa/auctex-13.1.3/style/inputenc.el | 89 ++ elpa/auctex-13.1.3/style/inputenc.elc | Bin 0 -> 1186 bytes elpa/auctex-13.1.3/style/italian.el | 56 ++ elpa/auctex-13.1.3/style/italian.elc | Bin 0 -> 450 bytes elpa/auctex-13.1.3/style/j-article.el | 14 + elpa/auctex-13.1.3/style/j-article.elc | Bin 0 -> 262 bytes elpa/auctex-13.1.3/style/j-book.el | 14 + elpa/auctex-13.1.3/style/j-book.elc | Bin 0 -> 256 bytes elpa/auctex-13.1.3/style/j-report.el | 14 + elpa/auctex-13.1.3/style/j-report.elc | Bin 0 -> 261 bytes elpa/auctex-13.1.3/style/jarticle.el | 26 + elpa/auctex-13.1.3/style/jarticle.elc | Bin 0 -> 871 bytes elpa/auctex-13.1.3/style/jbook.el | 25 + elpa/auctex-13.1.3/style/jbook.elc | Bin 0 -> 852 bytes elpa/auctex-13.1.3/style/jreport.el | 26 + elpa/auctex-13.1.3/style/jreport.elc | Bin 0 -> 905 bytes elpa/auctex-13.1.3/style/jsarticle.el | 30 + elpa/auctex-13.1.3/style/jsarticle.elc | Bin 0 -> 1150 bytes elpa/auctex-13.1.3/style/jsbook.el | 34 + elpa/auctex-13.1.3/style/jsbook.elc | Bin 0 -> 1283 bytes elpa/auctex-13.1.3/style/jsreport.el | 59 ++ elpa/auctex-13.1.3/style/jsreport.elc | Bin 0 -> 1187 bytes elpa/auctex-13.1.3/style/jura.el | 42 + elpa/auctex-13.1.3/style/jura.elc | Bin 0 -> 235 bytes elpa/auctex-13.1.3/style/jurabib.el | 644 ++++++++++++++ elpa/auctex-13.1.3/style/jurabib.elc | Bin 0 -> 13824 bytes elpa/auctex-13.1.3/style/kantlipsum.el | 48 ++ elpa/auctex-13.1.3/style/kantlipsum.elc | Bin 0 -> 553 bytes elpa/auctex-13.1.3/style/kpfonts.el | 611 +++++++++++++ elpa/auctex-13.1.3/style/kpfonts.elc | Bin 0 -> 21322 bytes elpa/auctex-13.1.3/style/l3doc.el | 270 ++++++ elpa/auctex-13.1.3/style/l3doc.elc | Bin 0 -> 5192 bytes elpa/auctex-13.1.3/style/letter.el | 199 +++++ elpa/auctex-13.1.3/style/letter.elc | Bin 0 -> 3324 bytes elpa/auctex-13.1.3/style/lettrine.el | 98 +++ elpa/auctex-13.1.3/style/lettrine.elc | Bin 0 -> 1397 bytes elpa/auctex-13.1.3/style/lipsum.el | 48 ++ elpa/auctex-13.1.3/style/lipsum.elc | Bin 0 -> 516 bytes elpa/auctex-13.1.3/style/listings.el | 475 ++++++++++ elpa/auctex-13.1.3/style/listings.elc | Bin 0 -> 11292 bytes elpa/auctex-13.1.3/style/longtable.el | 154 ++++ elpa/auctex-13.1.3/style/longtable.elc | Bin 0 -> 2638 bytes elpa/auctex-13.1.3/style/lscape.el | 48 ++ elpa/auctex-13.1.3/style/lscape.elc | Bin 0 -> 411 bytes elpa/auctex-13.1.3/style/ltablex.el | 51 ++ elpa/auctex-13.1.3/style/ltablex.elc | Bin 0 -> 431 bytes elpa/auctex-13.1.3/style/ltugboat.el | 295 +++++++ elpa/auctex-13.1.3/style/ltugboat.elc | Bin 0 -> 4961 bytes elpa/auctex-13.1.3/style/ltx-base.el | 160 ++++ elpa/auctex-13.1.3/style/ltx-base.elc | Bin 0 -> 2538 bytes elpa/auctex-13.1.3/style/ltxdoc.el | 99 +++ elpa/auctex-13.1.3/style/ltxdoc.elc | Bin 0 -> 1450 bytes elpa/auctex-13.1.3/style/ltxguide.el | 128 +++ elpa/auctex-13.1.3/style/ltxguide.elc | Bin 0 -> 1784 bytes elpa/auctex-13.1.3/style/ltxtable.el | 101 +++ elpa/auctex-13.1.3/style/ltxtable.elc | Bin 0 -> 1543 bytes elpa/auctex-13.1.3/style/luacode.el | 71 ++ elpa/auctex-13.1.3/style/luacode.elc | Bin 0 -> 825 bytes elpa/auctex-13.1.3/style/luatextra.el | 46 + elpa/auctex-13.1.3/style/luatextra.elc | Bin 0 -> 388 bytes elpa/auctex-13.1.3/style/makeidx.el | 52 ++ elpa/auctex-13.1.3/style/makeidx.elc | Bin 0 -> 514 bytes elpa/auctex-13.1.3/style/marginnote.el | 67 ++ elpa/auctex-13.1.3/style/marginnote.elc | Bin 0 -> 781 bytes elpa/auctex-13.1.3/style/mathtools.el | 504 +++++++++++ elpa/auctex-13.1.3/style/mathtools.elc | Bin 0 -> 18637 bytes elpa/auctex-13.1.3/style/mdframed.el | 410 +++++++++ elpa/auctex-13.1.3/style/mdframed.elc | Bin 0 -> 13239 bytes elpa/auctex-13.1.3/style/mdsymbol.el | 102 +++ elpa/auctex-13.1.3/style/mdsymbol.elc | Bin 0 -> 1487 bytes elpa/auctex-13.1.3/style/mdwlist.el | 72 ++ elpa/auctex-13.1.3/style/mdwlist.elc | Bin 0 -> 1076 bytes elpa/auctex-13.1.3/style/memoir.el | 88 ++ elpa/auctex-13.1.3/style/memoir.elc | Bin 0 -> 1696 bytes elpa/auctex-13.1.3/style/menukeys.el | 547 ++++++++++++ elpa/auctex-13.1.3/style/menukeys.elc | Bin 0 -> 18675 bytes elpa/auctex-13.1.3/style/metalogo.el | 92 ++ elpa/auctex-13.1.3/style/metalogo.elc | Bin 0 -> 1243 bytes elpa/auctex-13.1.3/style/mflogo.el | 61 ++ elpa/auctex-13.1.3/style/mflogo.elc | Bin 0 -> 596 bytes elpa/auctex-13.1.3/style/midfloat.el | 51 ++ elpa/auctex-13.1.3/style/midfloat.elc | Bin 0 -> 406 bytes elpa/auctex-13.1.3/style/minted.el | 475 ++++++++++ elpa/auctex-13.1.3/style/minted.elc | Bin 0 -> 12831 bytes elpa/auctex-13.1.3/style/mn2e.el | 183 ++++ elpa/auctex-13.1.3/style/mn2e.elc | Bin 0 -> 2665 bytes elpa/auctex-13.1.3/style/mnras.el | 184 ++++ elpa/auctex-13.1.3/style/mnras.elc | Bin 0 -> 2411 bytes elpa/auctex-13.1.3/style/moodle.el | 222 +++++ elpa/auctex-13.1.3/style/moodle.elc | Bin 0 -> 4559 bytes elpa/auctex-13.1.3/style/multicol.el | 92 ++ elpa/auctex-13.1.3/style/multicol.elc | Bin 0 -> 1486 bytes elpa/auctex-13.1.3/style/multido.el | 54 ++ elpa/auctex-13.1.3/style/multido.elc | Bin 0 -> 592 bytes elpa/auctex-13.1.3/style/multind.el | 66 ++ elpa/auctex-13.1.3/style/multind.elc | Bin 0 -> 876 bytes elpa/auctex-13.1.3/style/multirow.el | 86 ++ elpa/auctex-13.1.3/style/multirow.elc | Bin 0 -> 1091 bytes elpa/auctex-13.1.3/style/multitoc.el | 50 ++ elpa/auctex-13.1.3/style/multitoc.elc | Bin 0 -> 461 bytes elpa/auctex-13.1.3/style/nameref.el | 64 ++ elpa/auctex-13.1.3/style/nameref.elc | Bin 0 -> 717 bytes elpa/auctex-13.1.3/style/natbib.el | 199 +++++ elpa/auctex-13.1.3/style/natbib.elc | Bin 0 -> 3527 bytes elpa/auctex-13.1.3/style/naustrian.el | 42 + elpa/auctex-13.1.3/style/naustrian.elc | Bin 0 -> 239 bytes elpa/auctex-13.1.3/style/newfloat.el | 215 +++++ elpa/auctex-13.1.3/style/newfloat.elc | Bin 0 -> 6820 bytes elpa/auctex-13.1.3/style/newpxmath.el | 76 ++ elpa/auctex-13.1.3/style/newpxmath.elc | Bin 0 -> 830 bytes elpa/auctex-13.1.3/style/newpxtext.el | 88 ++ elpa/auctex-13.1.3/style/newpxtext.elc | Bin 0 -> 1139 bytes elpa/auctex-13.1.3/style/newtxmath.el | 86 ++ elpa/auctex-13.1.3/style/newtxmath.elc | Bin 0 -> 944 bytes elpa/auctex-13.1.3/style/newtxsf.el | 59 ++ elpa/auctex-13.1.3/style/newtxsf.elc | Bin 0 -> 506 bytes elpa/auctex-13.1.3/style/newtxtext.el | 87 ++ elpa/auctex-13.1.3/style/newtxtext.elc | Bin 0 -> 1101 bytes elpa/auctex-13.1.3/style/newtxttt.el | 69 ++ elpa/auctex-13.1.3/style/newtxttt.elc | Bin 0 -> 718 bytes elpa/auctex-13.1.3/style/newzealand.el | 42 + elpa/auctex-13.1.3/style/newzealand.elc | Bin 0 -> 240 bytes elpa/auctex-13.1.3/style/ngerman.el | 46 + elpa/auctex-13.1.3/style/ngerman.elc | Bin 0 -> 910 bytes elpa/auctex-13.1.3/style/nicefrac.el | 54 ++ elpa/auctex-13.1.3/style/nicefrac.elc | Bin 0 -> 581 bytes elpa/auctex-13.1.3/style/nomencl.el | 78 ++ elpa/auctex-13.1.3/style/nomencl.elc | Bin 0 -> 1142 bytes elpa/auctex-13.1.3/style/ntheorem.el | 443 ++++++++++ elpa/auctex-13.1.3/style/ntheorem.elc | Bin 0 -> 15362 bytes elpa/auctex-13.1.3/style/ocg-p.el | 203 +++++ elpa/auctex-13.1.3/style/ocg-p.elc | Bin 0 -> 5593 bytes elpa/auctex-13.1.3/style/ocgx.el | 75 ++ elpa/auctex-13.1.3/style/ocgx.elc | Bin 0 -> 962 bytes elpa/auctex-13.1.3/style/overpic.el | 124 +++ elpa/auctex-13.1.3/style/overpic.elc | Bin 0 -> 2029 bytes elpa/auctex-13.1.3/style/paracol.el | 294 +++++++ elpa/auctex-13.1.3/style/paracol.elc | Bin 0 -> 4604 bytes elpa/auctex-13.1.3/style/paralist.el | 115 +++ elpa/auctex-13.1.3/style/paralist.elc | Bin 0 -> 2312 bytes elpa/auctex-13.1.3/style/pdflscape.el | 46 + elpa/auctex-13.1.3/style/pdflscape.elc | Bin 0 -> 343 bytes elpa/auctex-13.1.3/style/pdfpages.el | 144 ++++ elpa/auctex-13.1.3/style/pdfpages.elc | Bin 0 -> 2372 bytes elpa/auctex-13.1.3/style/pdfsync.el | 92 ++ elpa/auctex-13.1.3/style/pdfsync.elc | Bin 0 -> 1325 bytes elpa/auctex-13.1.3/style/placeins.el | 45 + elpa/auctex-13.1.3/style/placeins.elc | Bin 0 -> 369 bytes elpa/auctex-13.1.3/style/plext.el | 90 ++ elpa/auctex-13.1.3/style/plext.elc | Bin 0 -> 1300 bytes elpa/auctex-13.1.3/style/plfonts.el | 34 + elpa/auctex-13.1.3/style/plfonts.elc | Bin 0 -> 761 bytes elpa/auctex-13.1.3/style/plhb.el | 34 + elpa/auctex-13.1.3/style/plhb.elc | Bin 0 -> 746 bytes elpa/auctex-13.1.3/style/polish.el | 56 ++ elpa/auctex-13.1.3/style/polish.elc | Bin 0 -> 773 bytes elpa/auctex-13.1.3/style/polski.el | 63 ++ elpa/auctex-13.1.3/style/polski.elc | Bin 0 -> 622 bytes elpa/auctex-13.1.3/style/polyglossia.el | 366 ++++++++ elpa/auctex-13.1.3/style/polyglossia.elc | Bin 0 -> 11549 bytes elpa/auctex-13.1.3/style/portuges.el | 37 + elpa/auctex-13.1.3/style/portuges.elc | Bin 0 -> 241 bytes elpa/auctex-13.1.3/style/portuguese.el | 78 ++ elpa/auctex-13.1.3/style/portuguese.elc | Bin 0 -> 994 bytes elpa/auctex-13.1.3/style/preview.el | 112 +++ elpa/auctex-13.1.3/style/preview.elc | Bin 0 -> 1775 bytes elpa/auctex-13.1.3/style/prosper.el | 190 ++++ elpa/auctex-13.1.3/style/prosper.elc | Bin 0 -> 3711 bytes elpa/auctex-13.1.3/style/psfig.el | 83 ++ elpa/auctex-13.1.3/style/psfig.elc | Bin 0 -> 1875 bytes elpa/auctex-13.1.3/style/pst-grad.el | 73 ++ elpa/auctex-13.1.3/style/pst-grad.elc | Bin 0 -> 858 bytes elpa/auctex-13.1.3/style/pst-node.el | 207 +++++ elpa/auctex-13.1.3/style/pst-node.elc | Bin 0 -> 7042 bytes elpa/auctex-13.1.3/style/pst-plot.el | 150 ++++ elpa/auctex-13.1.3/style/pst-plot.elc | Bin 0 -> 3369 bytes elpa/auctex-13.1.3/style/pst-slpe.el | 74 ++ elpa/auctex-13.1.3/style/pst-slpe.elc | Bin 0 -> 879 bytes elpa/auctex-13.1.3/style/pstricks.el | 880 +++++++++++++++++++ elpa/auctex-13.1.3/style/pstricks.elc | Bin 0 -> 25459 bytes elpa/auctex-13.1.3/style/pythontex.el | 569 ++++++++++++ elpa/auctex-13.1.3/style/pythontex.elc | Bin 0 -> 16750 bytes elpa/auctex-13.1.3/style/ragged2e.el | 82 ++ elpa/auctex-13.1.3/style/ragged2e.elc | Bin 0 -> 1289 bytes elpa/auctex-13.1.3/style/relsize.el | 76 ++ elpa/auctex-13.1.3/style/relsize.elc | Bin 0 -> 908 bytes elpa/auctex-13.1.3/style/report.el | 25 + elpa/auctex-13.1.3/style/report.elc | Bin 0 -> 844 bytes elpa/auctex-13.1.3/style/revtex4-2.el | 263 ++++++ elpa/auctex-13.1.3/style/revtex4-2.elc | Bin 0 -> 4638 bytes elpa/auctex-13.1.3/style/rotating.el | 87 ++ elpa/auctex-13.1.3/style/rotating.elc | Bin 0 -> 1320 bytes elpa/auctex-13.1.3/style/ruby.el | 52 ++ elpa/auctex-13.1.3/style/ruby.elc | Bin 0 -> 441 bytes elpa/auctex-13.1.3/style/scholax.el | 106 +++ elpa/auctex-13.1.3/style/scholax.elc | Bin 0 -> 1298 bytes elpa/auctex-13.1.3/style/scrartcl.el | 30 + elpa/auctex-13.1.3/style/scrartcl.elc | Bin 0 -> 351 bytes elpa/auctex-13.1.3/style/scrbase.el | 228 +++++ elpa/auctex-13.1.3/style/scrbase.elc | Bin 0 -> 5592 bytes elpa/auctex-13.1.3/style/scrbook.el | 71 ++ elpa/auctex-13.1.3/style/scrbook.elc | Bin 0 -> 988 bytes elpa/auctex-13.1.3/style/scrlttr2.el | 249 ++++++ elpa/auctex-13.1.3/style/scrlttr2.elc | Bin 0 -> 5756 bytes elpa/auctex-13.1.3/style/scrpage2.el | 139 +++ elpa/auctex-13.1.3/style/scrpage2.elc | Bin 0 -> 3552 bytes elpa/auctex-13.1.3/style/scrreprt.el | 73 ++ elpa/auctex-13.1.3/style/scrreprt.elc | Bin 0 -> 1036 bytes elpa/auctex-13.1.3/style/setspace.el | 70 ++ elpa/auctex-13.1.3/style/setspace.elc | Bin 0 -> 931 bytes elpa/auctex-13.1.3/style/shortvrb.el | 73 ++ elpa/auctex-13.1.3/style/shortvrb.elc | Bin 0 -> 548 bytes elpa/auctex-13.1.3/style/sidecap.el | 131 +++ elpa/auctex-13.1.3/style/sidecap.elc | Bin 0 -> 2106 bytes elpa/auctex-13.1.3/style/siunitx.el | 522 +++++++++++ elpa/auctex-13.1.3/style/siunitx.elc | Bin 0 -> 14570 bytes elpa/auctex-13.1.3/style/slides.el | 54 ++ elpa/auctex-13.1.3/style/slides.elc | Bin 0 -> 697 bytes elpa/auctex-13.1.3/style/slovak.el | 19 + elpa/auctex-13.1.3/style/slovak.elc | Bin 0 -> 442 bytes elpa/auctex-13.1.3/style/sourcecodepro.el | 88 ++ elpa/auctex-13.1.3/style/sourcecodepro.elc | Bin 0 -> 1251 bytes elpa/auctex-13.1.3/style/splitidx.el | 315 +++++++ elpa/auctex-13.1.3/style/splitidx.elc | Bin 0 -> 6506 bytes elpa/auctex-13.1.3/style/stabular.el | 74 ++ elpa/auctex-13.1.3/style/stabular.elc | Bin 0 -> 851 bytes elpa/auctex-13.1.3/style/stfloats.el | 65 ++ elpa/auctex-13.1.3/style/stfloats.elc | Bin 0 -> 640 bytes elpa/auctex-13.1.3/style/subcaption.el | 205 +++++ elpa/auctex-13.1.3/style/subcaption.elc | Bin 0 -> 4990 bytes elpa/auctex-13.1.3/style/subfigure.el | 87 ++ elpa/auctex-13.1.3/style/subfigure.elc | Bin 0 -> 1420 bytes elpa/auctex-13.1.3/style/subfiles.el | 107 +++ elpa/auctex-13.1.3/style/subfiles.elc | Bin 0 -> 1513 bytes elpa/auctex-13.1.3/style/swedish.el | 18 + elpa/auctex-13.1.3/style/swedish.elc | Bin 0 -> 397 bytes elpa/auctex-13.1.3/style/tabularx.el | 73 ++ elpa/auctex-13.1.3/style/tabularx.elc | Bin 0 -> 810 bytes elpa/auctex-13.1.3/style/tabulary.el | 73 ++ elpa/auctex-13.1.3/style/tabulary.elc | Bin 0 -> 793 bytes elpa/auctex-13.1.3/style/tarticle.el | 45 + elpa/auctex-13.1.3/style/tarticle.elc | Bin 0 -> 397 bytes elpa/auctex-13.1.3/style/tbook.el | 45 + elpa/auctex-13.1.3/style/tbook.elc | Bin 0 -> 379 bytes elpa/auctex-13.1.3/style/tcolorbox.el | 714 +++++++++++++++ elpa/auctex-13.1.3/style/tcolorbox.elc | Bin 0 -> 19747 bytes elpa/auctex-13.1.3/style/tcolorboxlib-raster.el | 202 +++++ elpa/auctex-13.1.3/style/tcolorboxlib-raster.elc | Bin 0 -> 4033 bytes elpa/auctex-13.1.3/style/tex-live.el | 177 ++++ elpa/auctex-13.1.3/style/tex-live.elc | Bin 0 -> 2787 bytes elpa/auctex-13.1.3/style/textcomp.el | 41 + elpa/auctex-13.1.3/style/textcomp.elc | Bin 0 -> 252 bytes elpa/auctex-13.1.3/style/textpos.el | 126 +++ elpa/auctex-13.1.3/style/textpos.elc | Bin 0 -> 2586 bytes elpa/auctex-13.1.3/style/theorem.el | 180 ++++ elpa/auctex-13.1.3/style/theorem.elc | Bin 0 -> 5541 bytes elpa/auctex-13.1.3/style/thm-restate.el | 120 +++ elpa/auctex-13.1.3/style/thm-restate.elc | Bin 0 -> 3661 bytes elpa/auctex-13.1.3/style/thmtools.el | 313 +++++++ elpa/auctex-13.1.3/style/thmtools.elc | Bin 0 -> 11561 bytes elpa/auctex-13.1.3/style/tikz.el | 286 ++++++ elpa/auctex-13.1.3/style/tikz.elc | Bin 0 -> 8632 bytes elpa/auctex-13.1.3/style/titleps.el | 245 ++++++ elpa/auctex-13.1.3/style/titleps.elc | Bin 0 -> 4727 bytes elpa/auctex-13.1.3/style/titlesec.el | 269 ++++++ elpa/auctex-13.1.3/style/titlesec.elc | Bin 0 -> 5139 bytes elpa/auctex-13.1.3/style/titletoc.el | 198 +++++ elpa/auctex-13.1.3/style/titletoc.elc | Bin 0 -> 5512 bytes elpa/auctex-13.1.3/style/transparent.el | 60 ++ elpa/auctex-13.1.3/style/transparent.elc | Bin 0 -> 674 bytes elpa/auctex-13.1.3/style/treport.el | 45 + elpa/auctex-13.1.3/style/treport.elc | Bin 0 -> 391 bytes elpa/auctex-13.1.3/style/truncate.el | 59 ++ elpa/auctex-13.1.3/style/truncate.elc | Bin 0 -> 607 bytes elpa/auctex-13.1.3/style/ulem.el | 127 +++ elpa/auctex-13.1.3/style/ulem.elc | Bin 0 -> 2341 bytes elpa/auctex-13.1.3/style/unicode-math.el | 82 ++ elpa/auctex-13.1.3/style/unicode-math.elc | Bin 0 -> 1675 bytes elpa/auctex-13.1.3/style/unicodefonttable.el | 134 +++ elpa/auctex-13.1.3/style/unicodefonttable.elc | Bin 0 -> 2906 bytes elpa/auctex-13.1.3/style/units.el | 57 ++ elpa/auctex-13.1.3/style/units.elc | Bin 0 -> 644 bytes elpa/auctex-13.1.3/style/url.el | 225 +++++ elpa/auctex-13.1.3/style/url.elc | Bin 0 -> 7688 bytes elpa/auctex-13.1.3/style/varioref.el | 112 +++ elpa/auctex-13.1.3/style/varioref.elc | Bin 0 -> 2285 bytes elpa/auctex-13.1.3/style/verbatim.el | 65 ++ elpa/auctex-13.1.3/style/verbatim.elc | Bin 0 -> 737 bytes elpa/auctex-13.1.3/style/virtex.el | 86 ++ elpa/auctex-13.1.3/style/virtex.elc | Bin 0 -> 5194 bytes elpa/auctex-13.1.3/style/vwcol.el | 79 ++ elpa/auctex-13.1.3/style/vwcol.elc | Bin 0 -> 1079 bytes elpa/auctex-13.1.3/style/wrapfig.el | 121 +++ elpa/auctex-13.1.3/style/wrapfig.elc | Bin 0 -> 2148 bytes elpa/auctex-13.1.3/style/xcolor.el | 654 ++++++++++++++ elpa/auctex-13.1.3/style/xcolor.elc | Bin 0 -> 21900 bytes elpa/auctex-13.1.3/style/xkcdcolors.el | 1007 ++++++++++++++++++++++ elpa/auctex-13.1.3/style/xkcdcolors.elc | Bin 0 -> 16101 bytes elpa/auctex-13.1.3/style/xltabular.el | 147 ++++ elpa/auctex-13.1.3/style/xltabular.elc | Bin 0 -> 2629 bytes elpa/auctex-13.1.3/style/xparse.el | 353 ++++++++ elpa/auctex-13.1.3/style/xparse.elc | Bin 0 -> 10443 bytes elpa/auctex-13.1.3/style/xr-hyper.el | 73 ++ elpa/auctex-13.1.3/style/xr-hyper.elc | Bin 0 -> 794 bytes elpa/auctex-13.1.3/style/xr.el | 68 ++ elpa/auctex-13.1.3/style/xr.elc | Bin 0 -> 657 bytes elpa/auctex-13.1.3/style/xspace.el | 60 ++ elpa/auctex-13.1.3/style/xspace.elc | Bin 0 -> 597 bytes elpa/auctex-13.1.3/style/zlmtt.el | 65 ++ elpa/auctex-13.1.3/style/zlmtt.elc | Bin 0 -> 620 bytes 563 files changed, 41152 insertions(+) create mode 100644 elpa/auctex-13.1.3/style/.nosearch create mode 100644 elpa/auctex-13.1.3/style/Alegreya.el create mode 100644 elpa/auctex-13.1.3/style/Alegreya.elc create mode 100644 elpa/auctex-13.1.3/style/AlegreyaSans.el create mode 100644 elpa/auctex-13.1.3/style/AlegreyaSans.elc create mode 100644 elpa/auctex-13.1.3/style/AnonymousPro.el create mode 100644 elpa/auctex-13.1.3/style/AnonymousPro.elc create mode 100644 elpa/auctex-13.1.3/style/CJK.el create mode 100644 elpa/auctex-13.1.3/style/CJK.elc create mode 100644 elpa/auctex-13.1.3/style/CJKutf8.el create mode 100644 elpa/auctex-13.1.3/style/CJKutf8.elc create mode 100644 elpa/auctex-13.1.3/style/FiraMono.el create mode 100644 elpa/auctex-13.1.3/style/FiraMono.elc create mode 100644 elpa/auctex-13.1.3/style/FiraSans.el create mode 100644 elpa/auctex-13.1.3/style/FiraSans.elc create mode 100644 elpa/auctex-13.1.3/style/MinionPro.el create mode 100644 elpa/auctex-13.1.3/style/MinionPro.elc create mode 100644 elpa/auctex-13.1.3/style/MyriadPro.el create mode 100644 elpa/auctex-13.1.3/style/MyriadPro.elc create mode 100644 elpa/auctex-13.1.3/style/XCharter.el create mode 100644 elpa/auctex-13.1.3/style/XCharter.elc create mode 100644 elpa/auctex-13.1.3/style/acro.el create mode 100644 elpa/auctex-13.1.3/style/acro.elc create mode 100644 elpa/auctex-13.1.3/style/acronym.el create mode 100644 elpa/auctex-13.1.3/style/acronym.elc create mode 100644 elpa/auctex-13.1.3/style/afterpage.el create mode 100644 elpa/auctex-13.1.3/style/afterpage.elc create mode 100644 elpa/auctex-13.1.3/style/algorithm.el create mode 100644 elpa/auctex-13.1.3/style/algorithm.elc create mode 100644 elpa/auctex-13.1.3/style/algpseudocode.el create mode 100644 elpa/auctex-13.1.3/style/algpseudocode.elc create mode 100644 elpa/auctex-13.1.3/style/alltt.el create mode 100644 elpa/auctex-13.1.3/style/alltt.elc create mode 100644 elpa/auctex-13.1.3/style/alphanum.el create mode 100644 elpa/auctex-13.1.3/style/alphanum.elc create mode 100644 elpa/auctex-13.1.3/style/amsart.el create mode 100644 elpa/auctex-13.1.3/style/amsart.elc create mode 100644 elpa/auctex-13.1.3/style/amsbook.el create mode 100644 elpa/auctex-13.1.3/style/amsbook.elc create mode 100644 elpa/auctex-13.1.3/style/amsbsy.el create mode 100644 elpa/auctex-13.1.3/style/amsbsy.elc create mode 100644 elpa/auctex-13.1.3/style/amsfonts.el create mode 100644 elpa/auctex-13.1.3/style/amsfonts.elc create mode 100644 elpa/auctex-13.1.3/style/amsmath.el create mode 100644 elpa/auctex-13.1.3/style/amsmath.elc create mode 100644 elpa/auctex-13.1.3/style/amsopn.el create mode 100644 elpa/auctex-13.1.3/style/amsopn.elc create mode 100644 elpa/auctex-13.1.3/style/amssymb.el create mode 100644 elpa/auctex-13.1.3/style/amssymb.elc create mode 100644 elpa/auctex-13.1.3/style/amstex.el create mode 100644 elpa/auctex-13.1.3/style/amstex.elc create mode 100644 elpa/auctex-13.1.3/style/amstext.el create mode 100644 elpa/auctex-13.1.3/style/amstext.elc create mode 100644 elpa/auctex-13.1.3/style/amsthm.el create mode 100644 elpa/auctex-13.1.3/style/amsthm.elc create mode 100644 elpa/auctex-13.1.3/style/appendix.el create mode 100644 elpa/auctex-13.1.3/style/appendix.elc create mode 100644 elpa/auctex-13.1.3/style/arabxetex.el create mode 100644 elpa/auctex-13.1.3/style/arabxetex.elc create mode 100644 elpa/auctex-13.1.3/style/array.el create mode 100644 elpa/auctex-13.1.3/style/array.elc create mode 100644 elpa/auctex-13.1.3/style/article.el create mode 100644 elpa/auctex-13.1.3/style/article.elc create mode 100644 elpa/auctex-13.1.3/style/attachfile.el create mode 100644 elpa/auctex-13.1.3/style/attachfile.elc create mode 100644 elpa/auctex-13.1.3/style/australian.el create mode 100644 elpa/auctex-13.1.3/style/australian.elc create mode 100644 elpa/auctex-13.1.3/style/austrian.el create mode 100644 elpa/auctex-13.1.3/style/austrian.elc create mode 100644 elpa/auctex-13.1.3/style/babel.el create mode 100644 elpa/auctex-13.1.3/style/babel.elc create mode 100644 elpa/auctex-13.1.3/style/backref.el create mode 100644 elpa/auctex-13.1.3/style/backref.elc create mode 100644 elpa/auctex-13.1.3/style/baskervaldx.el create mode 100644 elpa/auctex-13.1.3/style/baskervaldx.elc create mode 100644 elpa/auctex-13.1.3/style/beamer.el create mode 100644 elpa/auctex-13.1.3/style/beamer.elc create mode 100644 elpa/auctex-13.1.3/style/beamerarticle.el create mode 100644 elpa/auctex-13.1.3/style/beamerarticle.elc create mode 100644 elpa/auctex-13.1.3/style/beamerswitch.el create mode 100644 elpa/auctex-13.1.3/style/beamerswitch.elc create mode 100644 elpa/auctex-13.1.3/style/biblatex.el create mode 100644 elpa/auctex-13.1.3/style/biblatex.elc create mode 100644 elpa/auctex-13.1.3/style/bicaption.el create mode 100644 elpa/auctex-13.1.3/style/bicaption.elc create mode 100644 elpa/auctex-13.1.3/style/bidi.el create mode 100644 elpa/auctex-13.1.3/style/bidi.elc create mode 100644 elpa/auctex-13.1.3/style/bidibeamer.el create mode 100644 elpa/auctex-13.1.3/style/bidibeamer.elc create mode 100644 elpa/auctex-13.1.3/style/bigdelim.el create mode 100644 elpa/auctex-13.1.3/style/bigdelim.elc create mode 100644 elpa/auctex-13.1.3/style/bigstrut.el create mode 100644 elpa/auctex-13.1.3/style/bigstrut.elc create mode 100644 elpa/auctex-13.1.3/style/bm.el create mode 100644 elpa/auctex-13.1.3/style/bm.elc create mode 100644 elpa/auctex-13.1.3/style/book.el create mode 100644 elpa/auctex-13.1.3/style/book.elc create mode 100644 elpa/auctex-13.1.3/style/booktabs.el create mode 100644 elpa/auctex-13.1.3/style/booktabs.elc create mode 100644 elpa/auctex-13.1.3/style/brazil.el create mode 100644 elpa/auctex-13.1.3/style/brazil.elc create mode 100644 elpa/auctex-13.1.3/style/brazilian.el create mode 100644 elpa/auctex-13.1.3/style/brazilian.elc create mode 100644 elpa/auctex-13.1.3/style/breqn.el create mode 100644 elpa/auctex-13.1.3/style/breqn.elc create mode 100644 elpa/auctex-13.1.3/style/bulgarian.el create mode 100644 elpa/auctex-13.1.3/style/bulgarian.elc create mode 100644 elpa/auctex-13.1.3/style/canadian.el create mode 100644 elpa/auctex-13.1.3/style/canadian.elc create mode 100644 elpa/auctex-13.1.3/style/cancel.el create mode 100644 elpa/auctex-13.1.3/style/cancel.elc create mode 100644 elpa/auctex-13.1.3/style/captcont.el create mode 100644 elpa/auctex-13.1.3/style/captcont.elc create mode 100644 elpa/auctex-13.1.3/style/caption.el create mode 100644 elpa/auctex-13.1.3/style/caption.elc create mode 100644 elpa/auctex-13.1.3/style/changelog.el create mode 100644 elpa/auctex-13.1.3/style/changelog.elc create mode 100644 elpa/auctex-13.1.3/style/changes.el create mode 100644 elpa/auctex-13.1.3/style/changes.elc create mode 100644 elpa/auctex-13.1.3/style/cleveref.el create mode 100644 elpa/auctex-13.1.3/style/cleveref.elc create mode 100644 elpa/auctex-13.1.3/style/color.el create mode 100644 elpa/auctex-13.1.3/style/color.elc create mode 100644 elpa/auctex-13.1.3/style/colortbl.el create mode 100644 elpa/auctex-13.1.3/style/colortbl.elc create mode 100644 elpa/auctex-13.1.3/style/commath.el create mode 100644 elpa/auctex-13.1.3/style/commath.elc create mode 100644 elpa/auctex-13.1.3/style/comment.el create mode 100644 elpa/auctex-13.1.3/style/comment.elc create mode 100644 elpa/auctex-13.1.3/style/csquotes.el create mode 100644 elpa/auctex-13.1.3/style/csquotes.elc create mode 100644 elpa/auctex-13.1.3/style/currvita.el create mode 100644 elpa/auctex-13.1.3/style/currvita.elc create mode 100644 elpa/auctex-13.1.3/style/cuted.el create mode 100644 elpa/auctex-13.1.3/style/cuted.elc create mode 100644 elpa/auctex-13.1.3/style/czech.el create mode 100644 elpa/auctex-13.1.3/style/czech.elc create mode 100644 elpa/auctex-13.1.3/style/danish.el create mode 100644 elpa/auctex-13.1.3/style/danish.elc create mode 100644 elpa/auctex-13.1.3/style/dashundergaps.el create mode 100644 elpa/auctex-13.1.3/style/dashundergaps.elc create mode 100644 elpa/auctex-13.1.3/style/dcolumn.el create mode 100644 elpa/auctex-13.1.3/style/dcolumn.elc create mode 100644 elpa/auctex-13.1.3/style/dinbrief.el create mode 100644 elpa/auctex-13.1.3/style/dinbrief.elc create mode 100644 elpa/auctex-13.1.3/style/dk-bib.el create mode 100644 elpa/auctex-13.1.3/style/dk-bib.elc create mode 100644 elpa/auctex-13.1.3/style/dk.el create mode 100644 elpa/auctex-13.1.3/style/dk.elc create mode 100644 elpa/auctex-13.1.3/style/doc.el create mode 100644 elpa/auctex-13.1.3/style/doc.elc create mode 100644 elpa/auctex-13.1.3/style/dutch.el create mode 100644 elpa/auctex-13.1.3/style/dutch.elc create mode 100644 elpa/auctex-13.1.3/style/emp.el create mode 100644 elpa/auctex-13.1.3/style/emp.elc create mode 100644 elpa/auctex-13.1.3/style/empheq.el create mode 100644 elpa/auctex-13.1.3/style/empheq.elc create mode 100644 elpa/auctex-13.1.3/style/english.el create mode 100644 elpa/auctex-13.1.3/style/english.elc create mode 100644 elpa/auctex-13.1.3/style/enumitem.el create mode 100644 elpa/auctex-13.1.3/style/enumitem.elc create mode 100644 elpa/auctex-13.1.3/style/environ.el create mode 100644 elpa/auctex-13.1.3/style/environ.elc create mode 100644 elpa/auctex-13.1.3/style/epigraph.el create mode 100644 elpa/auctex-13.1.3/style/epigraph.elc create mode 100644 elpa/auctex-13.1.3/style/epsf.el create mode 100644 elpa/auctex-13.1.3/style/epsf.elc create mode 100644 elpa/auctex-13.1.3/style/erewhon.el create mode 100644 elpa/auctex-13.1.3/style/erewhon.elc create mode 100644 elpa/auctex-13.1.3/style/eso-pic.el create mode 100644 elpa/auctex-13.1.3/style/eso-pic.elc create mode 100644 elpa/auctex-13.1.3/style/etoolbox.el create mode 100644 elpa/auctex-13.1.3/style/etoolbox.elc create mode 100644 elpa/auctex-13.1.3/style/everysel.el create mode 100644 elpa/auctex-13.1.3/style/everysel.elc create mode 100644 elpa/auctex-13.1.3/style/exam.el create mode 100644 elpa/auctex-13.1.3/style/exam.elc create mode 100644 elpa/auctex-13.1.3/style/exercise.el create mode 100644 elpa/auctex-13.1.3/style/exercise.elc create mode 100644 elpa/auctex-13.1.3/style/expl3.el create mode 100644 elpa/auctex-13.1.3/style/expl3.elc create mode 100644 elpa/auctex-13.1.3/style/extramarks.el create mode 100644 elpa/auctex-13.1.3/style/extramarks.elc create mode 100644 elpa/auctex-13.1.3/style/fancyhdr.el create mode 100644 elpa/auctex-13.1.3/style/fancyhdr.elc create mode 100644 elpa/auctex-13.1.3/style/fancynum.el create mode 100644 elpa/auctex-13.1.3/style/fancynum.elc create mode 100644 elpa/auctex-13.1.3/style/fancyref.el create mode 100644 elpa/auctex-13.1.3/style/fancyref.elc create mode 100644 elpa/auctex-13.1.3/style/fancyvrb.el create mode 100644 elpa/auctex-13.1.3/style/fancyvrb.elc create mode 100644 elpa/auctex-13.1.3/style/fbb.el create mode 100644 elpa/auctex-13.1.3/style/fbb.elc create mode 100644 elpa/auctex-13.1.3/style/fbox.el create mode 100644 elpa/auctex-13.1.3/style/fbox.elc create mode 100644 elpa/auctex-13.1.3/style/filecontents.el create mode 100644 elpa/auctex-13.1.3/style/filecontents.elc create mode 100644 elpa/auctex-13.1.3/style/flashcards.el create mode 100644 elpa/auctex-13.1.3/style/flashcards.elc create mode 100644 elpa/auctex-13.1.3/style/floatpag.el create mode 100644 elpa/auctex-13.1.3/style/floatpag.elc create mode 100644 elpa/auctex-13.1.3/style/floatrow.el create mode 100644 elpa/auctex-13.1.3/style/floatrow.elc create mode 100644 elpa/auctex-13.1.3/style/flushend.el create mode 100644 elpa/auctex-13.1.3/style/flushend.elc create mode 100644 elpa/auctex-13.1.3/style/foils.el create mode 100644 elpa/auctex-13.1.3/style/foils.elc create mode 100644 elpa/auctex-13.1.3/style/fontaxes.el create mode 100644 elpa/auctex-13.1.3/style/fontaxes.elc create mode 100644 elpa/auctex-13.1.3/style/fontenc.el create mode 100644 elpa/auctex-13.1.3/style/fontenc.elc create mode 100644 elpa/auctex-13.1.3/style/fontspec.el create mode 100644 elpa/auctex-13.1.3/style/fontspec.elc create mode 100644 elpa/auctex-13.1.3/style/footmisc.el create mode 100644 elpa/auctex-13.1.3/style/footmisc.elc create mode 100644 elpa/auctex-13.1.3/style/footnotehyper.el create mode 100644 elpa/auctex-13.1.3/style/footnotehyper.elc create mode 100644 elpa/auctex-13.1.3/style/framed.el create mode 100644 elpa/auctex-13.1.3/style/framed.elc create mode 100644 elpa/auctex-13.1.3/style/francais.el create mode 100644 elpa/auctex-13.1.3/style/francais.elc create mode 100644 elpa/auctex-13.1.3/style/french.el create mode 100644 elpa/auctex-13.1.3/style/french.elc create mode 100644 elpa/auctex-13.1.3/style/frenchb.el create mode 100644 elpa/auctex-13.1.3/style/frenchb.elc create mode 100644 elpa/auctex-13.1.3/style/fvextra.el create mode 100644 elpa/auctex-13.1.3/style/fvextra.elc create mode 100644 elpa/auctex-13.1.3/style/geometry.el create mode 100644 elpa/auctex-13.1.3/style/geometry.elc create mode 100644 elpa/auctex-13.1.3/style/german.el create mode 100644 elpa/auctex-13.1.3/style/german.elc create mode 100644 elpa/auctex-13.1.3/style/gloss-italian.el create mode 100644 elpa/auctex-13.1.3/style/gloss-italian.elc create mode 100644 elpa/auctex-13.1.3/style/graphics.el create mode 100644 elpa/auctex-13.1.3/style/graphics.elc create mode 100644 elpa/auctex-13.1.3/style/graphicx.el create mode 100644 elpa/auctex-13.1.3/style/graphicx.elc create mode 100644 elpa/auctex-13.1.3/style/harvard.el create mode 100644 elpa/auctex-13.1.3/style/harvard.elc create mode 100644 elpa/auctex-13.1.3/style/hologo.el create mode 100644 elpa/auctex-13.1.3/style/hologo.elc create mode 100644 elpa/auctex-13.1.3/style/hyperref.el create mode 100644 elpa/auctex-13.1.3/style/hyperref.elc create mode 100644 elpa/auctex-13.1.3/style/icelandic.el create mode 100644 elpa/auctex-13.1.3/style/icelandic.elc create mode 100644 elpa/auctex-13.1.3/style/ifluatex.el create mode 100644 elpa/auctex-13.1.3/style/ifluatex.elc create mode 100644 elpa/auctex-13.1.3/style/ifthen.el create mode 100644 elpa/auctex-13.1.3/style/ifthen.elc create mode 100644 elpa/auctex-13.1.3/style/imakeidx.el create mode 100644 elpa/auctex-13.1.3/style/imakeidx.elc create mode 100644 elpa/auctex-13.1.3/style/index.el create mode 100644 elpa/auctex-13.1.3/style/index.elc create mode 100644 elpa/auctex-13.1.3/style/inputenc.el create mode 100644 elpa/auctex-13.1.3/style/inputenc.elc create mode 100644 elpa/auctex-13.1.3/style/italian.el create mode 100644 elpa/auctex-13.1.3/style/italian.elc create mode 100644 elpa/auctex-13.1.3/style/j-article.el create mode 100644 elpa/auctex-13.1.3/style/j-article.elc create mode 100644 elpa/auctex-13.1.3/style/j-book.el create mode 100644 elpa/auctex-13.1.3/style/j-book.elc create mode 100644 elpa/auctex-13.1.3/style/j-report.el create mode 100644 elpa/auctex-13.1.3/style/j-report.elc create mode 100644 elpa/auctex-13.1.3/style/jarticle.el create mode 100644 elpa/auctex-13.1.3/style/jarticle.elc create mode 100644 elpa/auctex-13.1.3/style/jbook.el create mode 100644 elpa/auctex-13.1.3/style/jbook.elc create mode 100644 elpa/auctex-13.1.3/style/jreport.el create mode 100644 elpa/auctex-13.1.3/style/jreport.elc create mode 100644 elpa/auctex-13.1.3/style/jsarticle.el create mode 100644 elpa/auctex-13.1.3/style/jsarticle.elc create mode 100644 elpa/auctex-13.1.3/style/jsbook.el create mode 100644 elpa/auctex-13.1.3/style/jsbook.elc create mode 100644 elpa/auctex-13.1.3/style/jsreport.el create mode 100644 elpa/auctex-13.1.3/style/jsreport.elc create mode 100644 elpa/auctex-13.1.3/style/jura.el create mode 100644 elpa/auctex-13.1.3/style/jura.elc create mode 100644 elpa/auctex-13.1.3/style/jurabib.el create mode 100644 elpa/auctex-13.1.3/style/jurabib.elc create mode 100644 elpa/auctex-13.1.3/style/kantlipsum.el create mode 100644 elpa/auctex-13.1.3/style/kantlipsum.elc create mode 100644 elpa/auctex-13.1.3/style/kpfonts.el create mode 100644 elpa/auctex-13.1.3/style/kpfonts.elc create mode 100644 elpa/auctex-13.1.3/style/l3doc.el create mode 100644 elpa/auctex-13.1.3/style/l3doc.elc create mode 100644 elpa/auctex-13.1.3/style/letter.el create mode 100644 elpa/auctex-13.1.3/style/letter.elc create mode 100644 elpa/auctex-13.1.3/style/lettrine.el create mode 100644 elpa/auctex-13.1.3/style/lettrine.elc create mode 100644 elpa/auctex-13.1.3/style/lipsum.el create mode 100644 elpa/auctex-13.1.3/style/lipsum.elc create mode 100644 elpa/auctex-13.1.3/style/listings.el create mode 100644 elpa/auctex-13.1.3/style/listings.elc create mode 100644 elpa/auctex-13.1.3/style/longtable.el create mode 100644 elpa/auctex-13.1.3/style/longtable.elc create mode 100644 elpa/auctex-13.1.3/style/lscape.el create mode 100644 elpa/auctex-13.1.3/style/lscape.elc create mode 100644 elpa/auctex-13.1.3/style/ltablex.el create mode 100644 elpa/auctex-13.1.3/style/ltablex.elc create mode 100644 elpa/auctex-13.1.3/style/ltugboat.el create mode 100644 elpa/auctex-13.1.3/style/ltugboat.elc create mode 100644 elpa/auctex-13.1.3/style/ltx-base.el create mode 100644 elpa/auctex-13.1.3/style/ltx-base.elc create mode 100644 elpa/auctex-13.1.3/style/ltxdoc.el create mode 100644 elpa/auctex-13.1.3/style/ltxdoc.elc create mode 100644 elpa/auctex-13.1.3/style/ltxguide.el create mode 100644 elpa/auctex-13.1.3/style/ltxguide.elc create mode 100644 elpa/auctex-13.1.3/style/ltxtable.el create mode 100644 elpa/auctex-13.1.3/style/ltxtable.elc create mode 100644 elpa/auctex-13.1.3/style/luacode.el create mode 100644 elpa/auctex-13.1.3/style/luacode.elc create mode 100644 elpa/auctex-13.1.3/style/luatextra.el create mode 100644 elpa/auctex-13.1.3/style/luatextra.elc create mode 100644 elpa/auctex-13.1.3/style/makeidx.el create mode 100644 elpa/auctex-13.1.3/style/makeidx.elc create mode 100644 elpa/auctex-13.1.3/style/marginnote.el create mode 100644 elpa/auctex-13.1.3/style/marginnote.elc create mode 100644 elpa/auctex-13.1.3/style/mathtools.el create mode 100644 elpa/auctex-13.1.3/style/mathtools.elc create mode 100644 elpa/auctex-13.1.3/style/mdframed.el create mode 100644 elpa/auctex-13.1.3/style/mdframed.elc create mode 100644 elpa/auctex-13.1.3/style/mdsymbol.el create mode 100644 elpa/auctex-13.1.3/style/mdsymbol.elc create mode 100644 elpa/auctex-13.1.3/style/mdwlist.el create mode 100644 elpa/auctex-13.1.3/style/mdwlist.elc create mode 100644 elpa/auctex-13.1.3/style/memoir.el create mode 100644 elpa/auctex-13.1.3/style/memoir.elc create mode 100644 elpa/auctex-13.1.3/style/menukeys.el create mode 100644 elpa/auctex-13.1.3/style/menukeys.elc create mode 100644 elpa/auctex-13.1.3/style/metalogo.el create mode 100644 elpa/auctex-13.1.3/style/metalogo.elc create mode 100644 elpa/auctex-13.1.3/style/mflogo.el create mode 100644 elpa/auctex-13.1.3/style/mflogo.elc create mode 100644 elpa/auctex-13.1.3/style/midfloat.el create mode 100644 elpa/auctex-13.1.3/style/midfloat.elc create mode 100644 elpa/auctex-13.1.3/style/minted.el create mode 100644 elpa/auctex-13.1.3/style/minted.elc create mode 100644 elpa/auctex-13.1.3/style/mn2e.el create mode 100644 elpa/auctex-13.1.3/style/mn2e.elc create mode 100644 elpa/auctex-13.1.3/style/mnras.el create mode 100644 elpa/auctex-13.1.3/style/mnras.elc create mode 100644 elpa/auctex-13.1.3/style/moodle.el create mode 100644 elpa/auctex-13.1.3/style/moodle.elc create mode 100644 elpa/auctex-13.1.3/style/multicol.el create mode 100644 elpa/auctex-13.1.3/style/multicol.elc create mode 100644 elpa/auctex-13.1.3/style/multido.el create mode 100644 elpa/auctex-13.1.3/style/multido.elc create mode 100644 elpa/auctex-13.1.3/style/multind.el create mode 100644 elpa/auctex-13.1.3/style/multind.elc create mode 100644 elpa/auctex-13.1.3/style/multirow.el create mode 100644 elpa/auctex-13.1.3/style/multirow.elc create mode 100644 elpa/auctex-13.1.3/style/multitoc.el create mode 100644 elpa/auctex-13.1.3/style/multitoc.elc create mode 100644 elpa/auctex-13.1.3/style/nameref.el create mode 100644 elpa/auctex-13.1.3/style/nameref.elc create mode 100644 elpa/auctex-13.1.3/style/natbib.el create mode 100644 elpa/auctex-13.1.3/style/natbib.elc create mode 100644 elpa/auctex-13.1.3/style/naustrian.el create mode 100644 elpa/auctex-13.1.3/style/naustrian.elc create mode 100644 elpa/auctex-13.1.3/style/newfloat.el create mode 100644 elpa/auctex-13.1.3/style/newfloat.elc create mode 100644 elpa/auctex-13.1.3/style/newpxmath.el create mode 100644 elpa/auctex-13.1.3/style/newpxmath.elc create mode 100644 elpa/auctex-13.1.3/style/newpxtext.el create mode 100644 elpa/auctex-13.1.3/style/newpxtext.elc create mode 100644 elpa/auctex-13.1.3/style/newtxmath.el create mode 100644 elpa/auctex-13.1.3/style/newtxmath.elc create mode 100644 elpa/auctex-13.1.3/style/newtxsf.el create mode 100644 elpa/auctex-13.1.3/style/newtxsf.elc create mode 100644 elpa/auctex-13.1.3/style/newtxtext.el create mode 100644 elpa/auctex-13.1.3/style/newtxtext.elc create mode 100644 elpa/auctex-13.1.3/style/newtxttt.el create mode 100644 elpa/auctex-13.1.3/style/newtxttt.elc create mode 100644 elpa/auctex-13.1.3/style/newzealand.el create mode 100644 elpa/auctex-13.1.3/style/newzealand.elc create mode 100644 elpa/auctex-13.1.3/style/ngerman.el create mode 100644 elpa/auctex-13.1.3/style/ngerman.elc create mode 100644 elpa/auctex-13.1.3/style/nicefrac.el create mode 100644 elpa/auctex-13.1.3/style/nicefrac.elc create mode 100644 elpa/auctex-13.1.3/style/nomencl.el create mode 100644 elpa/auctex-13.1.3/style/nomencl.elc create mode 100644 elpa/auctex-13.1.3/style/ntheorem.el create mode 100644 elpa/auctex-13.1.3/style/ntheorem.elc create mode 100644 elpa/auctex-13.1.3/style/ocg-p.el create mode 100644 elpa/auctex-13.1.3/style/ocg-p.elc create mode 100644 elpa/auctex-13.1.3/style/ocgx.el create mode 100644 elpa/auctex-13.1.3/style/ocgx.elc create mode 100644 elpa/auctex-13.1.3/style/overpic.el create mode 100644 elpa/auctex-13.1.3/style/overpic.elc create mode 100644 elpa/auctex-13.1.3/style/paracol.el create mode 100644 elpa/auctex-13.1.3/style/paracol.elc create mode 100644 elpa/auctex-13.1.3/style/paralist.el create mode 100644 elpa/auctex-13.1.3/style/paralist.elc create mode 100644 elpa/auctex-13.1.3/style/pdflscape.el create mode 100644 elpa/auctex-13.1.3/style/pdflscape.elc create mode 100644 elpa/auctex-13.1.3/style/pdfpages.el create mode 100644 elpa/auctex-13.1.3/style/pdfpages.elc create mode 100644 elpa/auctex-13.1.3/style/pdfsync.el create mode 100644 elpa/auctex-13.1.3/style/pdfsync.elc create mode 100644 elpa/auctex-13.1.3/style/placeins.el create mode 100644 elpa/auctex-13.1.3/style/placeins.elc create mode 100644 elpa/auctex-13.1.3/style/plext.el create mode 100644 elpa/auctex-13.1.3/style/plext.elc create mode 100644 elpa/auctex-13.1.3/style/plfonts.el create mode 100644 elpa/auctex-13.1.3/style/plfonts.elc create mode 100644 elpa/auctex-13.1.3/style/plhb.el create mode 100644 elpa/auctex-13.1.3/style/plhb.elc create mode 100644 elpa/auctex-13.1.3/style/polish.el create mode 100644 elpa/auctex-13.1.3/style/polish.elc create mode 100644 elpa/auctex-13.1.3/style/polski.el create mode 100644 elpa/auctex-13.1.3/style/polski.elc create mode 100644 elpa/auctex-13.1.3/style/polyglossia.el create mode 100644 elpa/auctex-13.1.3/style/polyglossia.elc create mode 100644 elpa/auctex-13.1.3/style/portuges.el create mode 100644 elpa/auctex-13.1.3/style/portuges.elc create mode 100644 elpa/auctex-13.1.3/style/portuguese.el create mode 100644 elpa/auctex-13.1.3/style/portuguese.elc create mode 100644 elpa/auctex-13.1.3/style/preview.el create mode 100644 elpa/auctex-13.1.3/style/preview.elc create mode 100644 elpa/auctex-13.1.3/style/prosper.el create mode 100644 elpa/auctex-13.1.3/style/prosper.elc create mode 100644 elpa/auctex-13.1.3/style/psfig.el create mode 100644 elpa/auctex-13.1.3/style/psfig.elc create mode 100644 elpa/auctex-13.1.3/style/pst-grad.el create mode 100644 elpa/auctex-13.1.3/style/pst-grad.elc create mode 100644 elpa/auctex-13.1.3/style/pst-node.el create mode 100644 elpa/auctex-13.1.3/style/pst-node.elc create mode 100644 elpa/auctex-13.1.3/style/pst-plot.el create mode 100644 elpa/auctex-13.1.3/style/pst-plot.elc create mode 100644 elpa/auctex-13.1.3/style/pst-slpe.el create mode 100644 elpa/auctex-13.1.3/style/pst-slpe.elc create mode 100644 elpa/auctex-13.1.3/style/pstricks.el create mode 100644 elpa/auctex-13.1.3/style/pstricks.elc create mode 100644 elpa/auctex-13.1.3/style/pythontex.el create mode 100644 elpa/auctex-13.1.3/style/pythontex.elc create mode 100644 elpa/auctex-13.1.3/style/ragged2e.el create mode 100644 elpa/auctex-13.1.3/style/ragged2e.elc create mode 100644 elpa/auctex-13.1.3/style/relsize.el create mode 100644 elpa/auctex-13.1.3/style/relsize.elc create mode 100644 elpa/auctex-13.1.3/style/report.el create mode 100644 elpa/auctex-13.1.3/style/report.elc create mode 100644 elpa/auctex-13.1.3/style/revtex4-2.el create mode 100644 elpa/auctex-13.1.3/style/revtex4-2.elc create mode 100644 elpa/auctex-13.1.3/style/rotating.el create mode 100644 elpa/auctex-13.1.3/style/rotating.elc create mode 100644 elpa/auctex-13.1.3/style/ruby.el create mode 100644 elpa/auctex-13.1.3/style/ruby.elc create mode 100644 elpa/auctex-13.1.3/style/scholax.el create mode 100644 elpa/auctex-13.1.3/style/scholax.elc create mode 100644 elpa/auctex-13.1.3/style/scrartcl.el create mode 100644 elpa/auctex-13.1.3/style/scrartcl.elc create mode 100644 elpa/auctex-13.1.3/style/scrbase.el create mode 100644 elpa/auctex-13.1.3/style/scrbase.elc create mode 100644 elpa/auctex-13.1.3/style/scrbook.el create mode 100644 elpa/auctex-13.1.3/style/scrbook.elc create mode 100644 elpa/auctex-13.1.3/style/scrlttr2.el create mode 100644 elpa/auctex-13.1.3/style/scrlttr2.elc create mode 100644 elpa/auctex-13.1.3/style/scrpage2.el create mode 100644 elpa/auctex-13.1.3/style/scrpage2.elc create mode 100644 elpa/auctex-13.1.3/style/scrreprt.el create mode 100644 elpa/auctex-13.1.3/style/scrreprt.elc create mode 100644 elpa/auctex-13.1.3/style/setspace.el create mode 100644 elpa/auctex-13.1.3/style/setspace.elc create mode 100644 elpa/auctex-13.1.3/style/shortvrb.el create mode 100644 elpa/auctex-13.1.3/style/shortvrb.elc create mode 100644 elpa/auctex-13.1.3/style/sidecap.el create mode 100644 elpa/auctex-13.1.3/style/sidecap.elc create mode 100644 elpa/auctex-13.1.3/style/siunitx.el create mode 100644 elpa/auctex-13.1.3/style/siunitx.elc create mode 100644 elpa/auctex-13.1.3/style/slides.el create mode 100644 elpa/auctex-13.1.3/style/slides.elc create mode 100644 elpa/auctex-13.1.3/style/slovak.el create mode 100644 elpa/auctex-13.1.3/style/slovak.elc create mode 100644 elpa/auctex-13.1.3/style/sourcecodepro.el create mode 100644 elpa/auctex-13.1.3/style/sourcecodepro.elc create mode 100644 elpa/auctex-13.1.3/style/splitidx.el create mode 100644 elpa/auctex-13.1.3/style/splitidx.elc create mode 100644 elpa/auctex-13.1.3/style/stabular.el create mode 100644 elpa/auctex-13.1.3/style/stabular.elc create mode 100644 elpa/auctex-13.1.3/style/stfloats.el create mode 100644 elpa/auctex-13.1.3/style/stfloats.elc create mode 100644 elpa/auctex-13.1.3/style/subcaption.el create mode 100644 elpa/auctex-13.1.3/style/subcaption.elc create mode 100644 elpa/auctex-13.1.3/style/subfigure.el create mode 100644 elpa/auctex-13.1.3/style/subfigure.elc create mode 100644 elpa/auctex-13.1.3/style/subfiles.el create mode 100644 elpa/auctex-13.1.3/style/subfiles.elc create mode 100644 elpa/auctex-13.1.3/style/swedish.el create mode 100644 elpa/auctex-13.1.3/style/swedish.elc create mode 100644 elpa/auctex-13.1.3/style/tabularx.el create mode 100644 elpa/auctex-13.1.3/style/tabularx.elc create mode 100644 elpa/auctex-13.1.3/style/tabulary.el create mode 100644 elpa/auctex-13.1.3/style/tabulary.elc create mode 100644 elpa/auctex-13.1.3/style/tarticle.el create mode 100644 elpa/auctex-13.1.3/style/tarticle.elc create mode 100644 elpa/auctex-13.1.3/style/tbook.el create mode 100644 elpa/auctex-13.1.3/style/tbook.elc create mode 100644 elpa/auctex-13.1.3/style/tcolorbox.el create mode 100644 elpa/auctex-13.1.3/style/tcolorbox.elc create mode 100644 elpa/auctex-13.1.3/style/tcolorboxlib-raster.el create mode 100644 elpa/auctex-13.1.3/style/tcolorboxlib-raster.elc create mode 100644 elpa/auctex-13.1.3/style/tex-live.el create mode 100644 elpa/auctex-13.1.3/style/tex-live.elc create mode 100644 elpa/auctex-13.1.3/style/textcomp.el create mode 100644 elpa/auctex-13.1.3/style/textcomp.elc create mode 100644 elpa/auctex-13.1.3/style/textpos.el create mode 100644 elpa/auctex-13.1.3/style/textpos.elc create mode 100644 elpa/auctex-13.1.3/style/theorem.el create mode 100644 elpa/auctex-13.1.3/style/theorem.elc create mode 100644 elpa/auctex-13.1.3/style/thm-restate.el create mode 100644 elpa/auctex-13.1.3/style/thm-restate.elc create mode 100644 elpa/auctex-13.1.3/style/thmtools.el create mode 100644 elpa/auctex-13.1.3/style/thmtools.elc create mode 100644 elpa/auctex-13.1.3/style/tikz.el create mode 100644 elpa/auctex-13.1.3/style/tikz.elc create mode 100644 elpa/auctex-13.1.3/style/titleps.el create mode 100644 elpa/auctex-13.1.3/style/titleps.elc create mode 100644 elpa/auctex-13.1.3/style/titlesec.el create mode 100644 elpa/auctex-13.1.3/style/titlesec.elc create mode 100644 elpa/auctex-13.1.3/style/titletoc.el create mode 100644 elpa/auctex-13.1.3/style/titletoc.elc create mode 100644 elpa/auctex-13.1.3/style/transparent.el create mode 100644 elpa/auctex-13.1.3/style/transparent.elc create mode 100644 elpa/auctex-13.1.3/style/treport.el create mode 100644 elpa/auctex-13.1.3/style/treport.elc create mode 100644 elpa/auctex-13.1.3/style/truncate.el create mode 100644 elpa/auctex-13.1.3/style/truncate.elc create mode 100644 elpa/auctex-13.1.3/style/ulem.el create mode 100644 elpa/auctex-13.1.3/style/ulem.elc create mode 100644 elpa/auctex-13.1.3/style/unicode-math.el create mode 100644 elpa/auctex-13.1.3/style/unicode-math.elc create mode 100644 elpa/auctex-13.1.3/style/unicodefonttable.el create mode 100644 elpa/auctex-13.1.3/style/unicodefonttable.elc create mode 100644 elpa/auctex-13.1.3/style/units.el create mode 100644 elpa/auctex-13.1.3/style/units.elc create mode 100644 elpa/auctex-13.1.3/style/url.el create mode 100644 elpa/auctex-13.1.3/style/url.elc create mode 100644 elpa/auctex-13.1.3/style/varioref.el create mode 100644 elpa/auctex-13.1.3/style/varioref.elc create mode 100644 elpa/auctex-13.1.3/style/verbatim.el create mode 100644 elpa/auctex-13.1.3/style/verbatim.elc create mode 100644 elpa/auctex-13.1.3/style/virtex.el create mode 100644 elpa/auctex-13.1.3/style/virtex.elc create mode 100644 elpa/auctex-13.1.3/style/vwcol.el create mode 100644 elpa/auctex-13.1.3/style/vwcol.elc create mode 100644 elpa/auctex-13.1.3/style/wrapfig.el create mode 100644 elpa/auctex-13.1.3/style/wrapfig.elc create mode 100644 elpa/auctex-13.1.3/style/xcolor.el create mode 100644 elpa/auctex-13.1.3/style/xcolor.elc create mode 100644 elpa/auctex-13.1.3/style/xkcdcolors.el create mode 100644 elpa/auctex-13.1.3/style/xkcdcolors.elc create mode 100644 elpa/auctex-13.1.3/style/xltabular.el create mode 100644 elpa/auctex-13.1.3/style/xltabular.elc create mode 100644 elpa/auctex-13.1.3/style/xparse.el create mode 100644 elpa/auctex-13.1.3/style/xparse.elc create mode 100644 elpa/auctex-13.1.3/style/xr-hyper.el create mode 100644 elpa/auctex-13.1.3/style/xr-hyper.elc create mode 100644 elpa/auctex-13.1.3/style/xr.el create mode 100644 elpa/auctex-13.1.3/style/xr.elc create mode 100644 elpa/auctex-13.1.3/style/xspace.el create mode 100644 elpa/auctex-13.1.3/style/xspace.elc create mode 100644 elpa/auctex-13.1.3/style/zlmtt.el create mode 100644 elpa/auctex-13.1.3/style/zlmtt.elc (limited to 'elpa/auctex-13.1.3/style') diff --git a/elpa/auctex-13.1.3/style/.nosearch b/elpa/auctex-13.1.3/style/.nosearch new file mode 100644 index 0000000..aa31332 --- /dev/null +++ b/elpa/auctex-13.1.3/style/.nosearch @@ -0,0 +1 @@ +;; AUCTeX style/ and auto/ directories should not appear in load path. diff --git a/elpa/auctex-13.1.3/style/Alegreya.el b/elpa/auctex-13.1.3/style/Alegreya.el new file mode 100644 index 0000000..84adaa5 --- /dev/null +++ b/elpa/auctex-13.1.3/style/Alegreya.el @@ -0,0 +1,106 @@ +;;; Alegreya.el --- AUCTeX style for `Alegreya.sty' (v2015/10/22) -*- lexical-binding: t; -*- + +;; Copyright (C) 2015, 2018, 2020 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2015-09-12 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `Alegreya.sty' (v2015/10/22). +;; `Alegreya.sty' is part of TeXLive. + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(TeX-add-style-hook + "Alegreya" + (lambda () + + ;; Run style hook for packages loaded by Alegreya + (TeX-run-style-hooks "textcomp") + + ;; Load `fontaxes' or `fontspec' dep. on `type1' option: + (if (or (LaTeX-provided-package-options-member "Alegreya" "type1") + (LaTeX-provided-package-options-member "Alegreya" "type1=true")) + (TeX-run-style-hooks "fontaxes") + (TeX-run-style-hooks "fontspec")) + + (TeX-add-symbols + ;; Should be used in preamble only + '("useosf") + ;; Text commands + '("Alegreya" -1) + '("AlegreyaBlack" -1) + '("AlegreyaLF" -1) + '("AlegreyaOsF" -1) + '("AlegreyaTLF" -1) + '("AlegreyaTOsF" -1) + '("textsu" t) ; superior figures + '("sufigures" -1) ; + '("textin" t) ; inferior figures + '("infigures" -1)) + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("textsu" "{") + ("textin" "{")) + 'type-command) + (font-latex-add-keywords '(("Alegreya" "") + ("AlegreyaBlack" "") + ("AlegreyaLF" "") + ("AlegreyaOsF" "") + ("AlegreyaTLF" "") + ("AlegreyaTOsF" "") + ("sufigures" "") + ("infigures" "")) + 'type-declaration))) + TeX-dialect) + +(defvar LaTeX-Alegreya-package-options-list + '(("lining" ("true" "false")) + ("lf" ("true" "false")) + ("oldstyle" ("true" "false")) + ("osf" ("true" "false")) + ("tabular" ("true" "false")) + ("tf" ("true" "false")) + ("proportional" ("true" "false")) + ("pf" ("true" "false")) + ("black" ("true" "false")) + ("type1" ("true" "false")) + ("scaled") + ("scale")) + "Package options for the Alegreya package.") + +(defun LaTeX-Alegreya-package-options () + "Prompt for package options for the Alegreya package." + (TeX-read-key-val t LaTeX-Alegreya-package-options-list)) + +;;; Alegreya.el ends here diff --git a/elpa/auctex-13.1.3/style/Alegreya.elc b/elpa/auctex-13.1.3/style/Alegreya.elc new file mode 100644 index 0000000..4df5db3 Binary files /dev/null and b/elpa/auctex-13.1.3/style/Alegreya.elc differ diff --git a/elpa/auctex-13.1.3/style/AlegreyaSans.el b/elpa/auctex-13.1.3/style/AlegreyaSans.el new file mode 100644 index 0000000..3b31527 --- /dev/null +++ b/elpa/auctex-13.1.3/style/AlegreyaSans.el @@ -0,0 +1,118 @@ +;;; AlegreyaSans.el --- AUCTeX style for `AlegreyaSans.sty' (v2015/10/22) -*- lexical-binding: t; -*- + +;; Copyright (C) 2015, 2018, 2020 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2015-09-12 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `AlegreyaSans.sty' (v2015/10/22). +;; `AlegreyaSans.sty' is part of TeXLive. + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(TeX-add-style-hook + "AlegreyaSans" + (lambda () + + ;; Run style hook for packages loaded by AlegreyaSans + (TeX-run-style-hooks "textcomp") + + ;; Load `fontaxes' or `fontspec' dep. on `type1' option: + (if (or (LaTeX-provided-package-options-member "AlegreyaSans" "type1") + (LaTeX-provided-package-options-member "AlegreyaSans" "type1=true")) + (TeX-run-style-hooks "fontaxes") + (TeX-run-style-hooks "fontspec")) + + (TeX-add-symbols + ;; Should be used in preamble only + '("useosf") + ;; Text commands + '("AlegreyaSans" -1) + '("AlegreyaSansLF" -1) + '("AlegreyaSansOsF" -1) + '("AlegreyaSansTLF" -1) + '("AlegreyaSansTOsF" -1) + '("AlegreyaSansThin" -1) + '("AlegreyaSansLight" -1) + '("AlegreyaSansMedium" -1) + '("AlegreyaSansExtraBold" -1) + '("AlegreyaSansBlack" -1) + '("textsu" t) ; superior figures + '("sufigures" -1) ; + '("textin" t) ; inferior figures + '("infigures" -1)) + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("textsu" "{") + ("textin" "{")) + 'type-command) + (font-latex-add-keywords '(("AlegreyaSans" "") + ("AlegreyaSansLF" "") + ("AlegreyaSansOsF" "") + ("AlegreyaSansTLF" "") + ("AlegreyaSansTOsF" "") + ("AlegreyaSansLight" "") + ("AlegreyaSansMedium" "") + ("AlegreyaSansExtraBold" "") + ("AlegreyaSansBlack" "") + ("sufigures" "") + ("infigures" "")) + 'type-declaration))) + TeX-dialect) + +(defvar LaTeX-AlegreyaSans-package-options-list + '(("lining" ("true" "false")) + ("lf" ("true" "false")) + ("oldstyle" ("true" "false")) + ("osf" ("true" "false")) + ("tabular" ("true" "false")) + ("tf" ("true" "false")) + ("proportional" ("true" "false")) + ("pf" ("true" "false")) + ("black" ("true" "false")) + ("extrabold" ("true" "false")) + ("thin" ("true" "false")) + ("light" ("true" "false")) + ("medium" ("true" "false")) + ("type1" ("true" "false")) + ("sfdefault" ("true" "false")) + ("scaled") + ("scale")) + "Package options for the AlegreyaSans package.") + +(defun LaTeX-AlegreyaSans-package-options () + "Prompt for package options for the AlegreyaSans package." + (TeX-read-key-val t LaTeX-AlegreyaSans-package-options-list)) + +;;; AlegreyaSans.el ends here diff --git a/elpa/auctex-13.1.3/style/AlegreyaSans.elc b/elpa/auctex-13.1.3/style/AlegreyaSans.elc new file mode 100644 index 0000000..b636def Binary files /dev/null and b/elpa/auctex-13.1.3/style/AlegreyaSans.elc differ diff --git a/elpa/auctex-13.1.3/style/AnonymousPro.el b/elpa/auctex-13.1.3/style/AnonymousPro.el new file mode 100644 index 0000000..778c703 --- /dev/null +++ b/elpa/auctex-13.1.3/style/AnonymousPro.el @@ -0,0 +1,92 @@ +;;; AnonymousPro.el --- AUCTeX style for `AnonymousPro.sty' (v2.2) -*- lexical-binding: t; -*- + +;; Copyright (C) 2014, 2019, 2020 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2014-10-30 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `AnonymousPro.sty' (v2.2) from +;; 2019/07/07. `AnonymousPro.sty' is part of TeXLive. + +;;; Code: + +(require 'tex) + +(TeX-add-style-hook + "AnonymousPro" + (lambda () + + ;; Run style hook for textcomp + (TeX-run-style-hooks "textcomp") + + ;; New symbols + (TeX-add-symbols + "ANPapplelogo" + "ANPappleopen" + "ANPapproxequal" + "ANPback" + "ANPblackdiamond" + "ANPcheckmark" + "ANPcopy" + "ANPellipsis" + "ANPendtab" + "ANPerasetotheright" + "ANPgreaterequal" + "ANPHbar" + "ANPhbar" + "ANPinfinity" + "ANPinsert" + "ANPintegral" + "ANPlessequal" + "ANPlozenge" + "ANPnotequal" + "ANPoptionkey" + "ANPpartialdiff" + "ANPPi" + "ANPpi" + "ANPproduct" + "ANPshift" + "ANPshiftlock" + "ANPSigma" + "ANPsigma" + "ANPsigmaone" + "ANPsummation" + "ANPtab" + "ANPReturnSign" + "ANPShoulderedOpenBox" + "ANPUpArrowHead" + "ANPInsertSign" + "ANPUpArrowHeadBars" + "ANPHelm" + "ANPOpenBox" + "ANPDelta" + "ANPverticaltab" + "ANPNumeroSign")) + TeX-dialect) + +(defvar LaTeX-AnonymousPro-package-options + '("ttdefault" "scale" "scaled") + "Package options for the AnonymousPro package.") + +;;; AnonymousPro.el ends here diff --git a/elpa/auctex-13.1.3/style/AnonymousPro.elc b/elpa/auctex-13.1.3/style/AnonymousPro.elc new file mode 100644 index 0000000..eff5ecf Binary files /dev/null and b/elpa/auctex-13.1.3/style/AnonymousPro.elc differ diff --git a/elpa/auctex-13.1.3/style/CJK.el b/elpa/auctex-13.1.3/style/CJK.el new file mode 100644 index 0000000..baee5d9 --- /dev/null +++ b/elpa/auctex-13.1.3/style/CJK.el @@ -0,0 +1,97 @@ +;;; CJK.el --- AUCTeX style for the CJK package. -*- lexical-binding: t; -*- + +;; Copyright (C) 2009-2021 Free Software Foundation, Inc. + +;; Author: Ralf Angeli +;; Maintainer: auctex-devel@gnu.org +;; Created: 2009-01-04 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for the CJK package, version 4.8.0 +;; (22-May-2008). + +;;; Code: + +(require 'tex) +(require 'latex) + +(defvar LaTeX-CJK-package-options + '("lowercase" "global" "local" "active" "encapsulated") + "Package options for the CJK package.") + +(defvar LaTeX-CJK-enc-list + '("Bg5" "Bg5+" "HK" "GB" "GBt" "GBK" "JIS" "JIS2" "SJIS" "KS" "UTF8" "CNS1" + "CNS2" "CNS3" "CNS4" "CNS5" "CNS6" "CNS7" "CEFX" "CEFY") + "List of encodings supported by the CJK package.") + +(defun LaTeX-env-CJK (env) + "Prompt for the arguments of ENV and insert it. +The function can be used for CJK and CJK* environments." + (LaTeX-insert-environment + env + (concat + (let ((font-enc (TeX-read-string "(Optional) Font encoding: "))) + (unless (zerop (length font-enc)) (format "[%s]" font-enc))) + (format "{%s}" (completing-read "Encoding: " + (mapcar #'list LaTeX-CJK-enc-list))) + (format "{%s}" (TeX-read-string "Font family: "))))) + +(TeX-add-style-hook + "CJK" + (lambda () + ;; New symbols + (TeX-add-symbols + '("CJKencfamily" ["Font encoding"] "Encoding" "Font family") + '("CJKchar" ["Encoding"] "First byte" "Second byte") + '("CJKcaption" 1) + '("CJKfamily" 1) + '("CJKfontenc" "Encoding" "Font encoding") + '("CJKenc" 1) + '("Unicode" "First byte" "Second byte") + '("CJKsymbols" 2) + '("CJKsymbol" 1) + "CJKbold" + "CJKnormal" + "CJKboldshift" + "CJKCJKchar" + "CJKhangulchar" + "CJKlatinchar" + "CJKhwkatakana" + "CJKnohwkatakana" + "CJKglue" + "CJKtolerance" + "CJKtilde" + "nbs" + "standardtilde" + "CJKspace" + "CJKnospace" + "CJKindent" + '("CJKaddEncHook" 2) + "CJKkern" + "CJKverbatim") + ;; New environments + (LaTeX-add-environments + '("CJK" LaTeX-env-CJK) + '("CJK*" LaTeX-env-CJK))) + TeX-dialect) + +;;; CJK.el ends here diff --git a/elpa/auctex-13.1.3/style/CJK.elc b/elpa/auctex-13.1.3/style/CJK.elc new file mode 100644 index 0000000..d0b2924 Binary files /dev/null and b/elpa/auctex-13.1.3/style/CJK.elc differ diff --git a/elpa/auctex-13.1.3/style/CJKutf8.el b/elpa/auctex-13.1.3/style/CJKutf8.el new file mode 100644 index 0000000..d522015 --- /dev/null +++ b/elpa/auctex-13.1.3/style/CJKutf8.el @@ -0,0 +1,41 @@ +;;; CJKutf8.el --- AUCTeX style for the CJKutf8 package. -*- lexical-binding: t; -*- + +;; Copyright (C) 2009, 2020 Free Software Foundation, Inc. + +;; Author: Ralf Angeli +;; Maintainer: auctex-devel@gnu.org +;; Created: 2009-01-04 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for the CJKutf8 package. + +;;; Code: + +(require 'tex) + +(TeX-add-style-hook + "CJKutf8" + (lambda () + (TeX-run-style-hooks "CJK")) + TeX-dialect) + +;;; CJKutf8.el ends here diff --git a/elpa/auctex-13.1.3/style/CJKutf8.elc b/elpa/auctex-13.1.3/style/CJKutf8.elc new file mode 100644 index 0000000..0d8d83a Binary files /dev/null and b/elpa/auctex-13.1.3/style/CJKutf8.elc differ diff --git a/elpa/auctex-13.1.3/style/FiraMono.el b/elpa/auctex-13.1.3/style/FiraMono.el new file mode 100644 index 0000000..a612291 --- /dev/null +++ b/elpa/auctex-13.1.3/style/FiraMono.el @@ -0,0 +1,78 @@ +;;; FiraMono.el --- AUCTeX style for `FiraMono.sty' (v2016/02/13) -*- lexical-binding: t; -*- + +;; Copyright (C) 2016, 2018, 2020 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2016-11-11 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `FiraMono.sty' (v2016/02/13). +;; `FiraMono.sty' is part of TeXLive. + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(TeX-add-style-hook + "FiraMono" + (lambda () + + ;; `textcomp' is always loaded: + (TeX-run-style-hooks "textcomp") + + ;; If package option `type1' is given, load `fontaxes': + (when (LaTeX-provided-package-options-member "FiraMono" "type1") + (TeX-run-style-hooks "fontaxes")) + + ;; Macros: + (TeX-add-symbols + '("sufigures" -1) + '("firamonooldstyle" -1) + '("firamonolining" -1) + '("firamonomedium" -1)) + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("sufigures" "") + ("firamonooldstyle" "") + ("firamonolining" "") + ("firamonomedium" "")) + 'type-declaration))) + TeX-dialect) + +(defvar LaTeX-FiraMono-package-options '("scaled" "scale" + "type1" + "lining" "lf" + "oldstyle" "osf" + "nomap" + "medium" "mb") + "Package options for the FiraMono package.") + +;;; FiraMono.el ends here diff --git a/elpa/auctex-13.1.3/style/FiraMono.elc b/elpa/auctex-13.1.3/style/FiraMono.elc new file mode 100644 index 0000000..41cfd37 Binary files /dev/null and b/elpa/auctex-13.1.3/style/FiraMono.elc differ diff --git a/elpa/auctex-13.1.3/style/FiraSans.el b/elpa/auctex-13.1.3/style/FiraSans.el new file mode 100644 index 0000000..10ac530 --- /dev/null +++ b/elpa/auctex-13.1.3/style/FiraSans.el @@ -0,0 +1,110 @@ +;;; FiraSans.el --- AUCTeX style for `FiraSans.sty' (v2016/11/20) -*- lexical-binding: t; -*- + +;; Copyright (C) 2016, 2018, 2020 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2016-11-11 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `FiraSans.sty' (v2016/11/20). +;; `FiraSans.sty' is part of TeXLive. + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(TeX-add-style-hook + "FiraSans" + (lambda () + + ;; `textcomp' is always loaded: + (TeX-run-style-hooks "textcomp") + + ;; If package option `type1' is given, load `fontaxes': + (when (LaTeX-provided-package-options-member "FiraSans" "type1") + (TeX-run-style-hooks "fontaxes")) + + ;; Macros: + (TeX-add-symbols + '("sufigures" -1) + '("firaoldstyle" -1) + '("firalining" -1) + '("firatabular" -1) + '("firaproportional" -1) + '("firathin" -1) + '("firalight" -1) + '("firaextralight" -1) + '("firaultralight" -1) + '("firamedium" -1) + '("firabook" -1) + '("firasemibold" -1) + '("firaextrabold" -1) + '("firaheavy" -1)) + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("sufigures" "") + ("firaoldstyle" "") + ("firalining" "") + ("firatabular" "") + ("firaproportional" "") + ("firathin" "") + ("firalight" "") + ("firaextralight" "") + ("firaultralight" "") + ("firamedium" "") + ("firabook" "") + ("firasemibold" "") + ("firaextrabold" "") + ("firaheavy" "")) + 'type-declaration))) + TeX-dialect) + +(defvar LaTeX-FiraSans-package-options + '("scaled" "scale" + "type1" + "lining" "lf" + "oldstyle" "osf" + "tabular" "t" + "proportional" "p" + "book" + "medium" "mb" + "semibold" "sb" + "light" "l" + "extralight" + "ultralight" + "thin" + "extrabold" + "heavy" + "default" + "sfdefault") + "Package options for the FiraSans package.") + +;;; FiraSans.el ends here diff --git a/elpa/auctex-13.1.3/style/FiraSans.elc b/elpa/auctex-13.1.3/style/FiraSans.elc new file mode 100644 index 0000000..be71bcb Binary files /dev/null and b/elpa/auctex-13.1.3/style/FiraSans.elc differ diff --git a/elpa/auctex-13.1.3/style/MinionPro.el b/elpa/auctex-13.1.3/style/MinionPro.el new file mode 100644 index 0000000..ff76329 --- /dev/null +++ b/elpa/auctex-13.1.3/style/MinionPro.el @@ -0,0 +1,76 @@ +;;; MinionPro.el -- AUCTeX style for MinionPro.sty -*- lexical-binding: t; -*- + +;; Copyright (C) 2005, 2014, 2018, 2020 Free Software Foundation, Inc. + +;; Author: Mark Trettin +;; Maintainer: auctex-devel@gnu.org +;; Created: 2005-11-26 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `MinionPro.sty' (v2.3) from 2012/08/03. +;; The latest version of MinionPro is available as part of FontPro +;; bundle from . + +;;; Code: + +(require 'tex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(TeX-add-style-hook + "MinionPro" + (lambda () + + ;; New symbols + (TeX-add-symbols + '("smallfrac" "Numerator" "Denominator") + '("slantfrac" "Numerator" "Denominator")) + + ;; Run style hook for amsmath which is loaded via MnSymbol + (TeX-run-style-hooks "amsmath" "fontaxes" "textcomp") + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("smallfrac" "{{") + ("slantfrac" "{{")) + 'textual))) + TeX-dialect) + +(defvar LaTeX-MinionPro-package-options + '("smallfamily" "medfamily" "fullfamily" "noopticals" "opticals" + "slides" "textosf" "mathosf" "osf" "textlf" "mathlf" "lf" + "mathtabular" "mnsy" "cmsy" "swash" "abx" "amsbb" "fourierbb" + "lucidabb" "mixedgreek" "italicgreek" "frenchmath" "minionint" + "footnotefigures" + + ;; Additional options in v2.1 + "onlytext" "onlymath" "loosequotes" "openg" "normalsize" "nonormalsize" + + ;; Additional option in v2.2 + "scale") + "Package options for the MinionPro package.") + +;;; MinionPro.el ends here diff --git a/elpa/auctex-13.1.3/style/MinionPro.elc b/elpa/auctex-13.1.3/style/MinionPro.elc new file mode 100644 index 0000000..b63b3ef Binary files /dev/null and b/elpa/auctex-13.1.3/style/MinionPro.elc differ diff --git a/elpa/auctex-13.1.3/style/MyriadPro.el b/elpa/auctex-13.1.3/style/MyriadPro.el new file mode 100644 index 0000000..0f3de7d --- /dev/null +++ b/elpa/auctex-13.1.3/style/MyriadPro.el @@ -0,0 +1,102 @@ +;;; MyriadPro.el --- AUCTeX style for `MyriadPro.sty' (v0.5) -*- lexical-binding: t; -*- + +;; Copyright (C) 2014, 2018, 2020 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2014-10-21 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `MyriadPro.sty' (v0.5) from 2013/04/20. +;; The latest version of MyriadPro is available as part of FontPro +;; bundle from . `MyriadPro.sty' is +;; not part of TeXLive. + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(TeX-add-style-hook + "MyriadPro" + (lambda () + + ;; Run style hook for various packages loaded by MyriadPro + (TeX-run-style-hooks "textcomp" "amsmath" "fontaxes" "mdsymbol") + + ;; New symbols + (TeX-add-symbols + '("smallfrac" "Numerator" "Denominator") + '("slantfrac" "Numerator" "Denominator") + '("boldsymbol" "Symbol")) + + ;; More control over spacing in `\slantfrac': + (LaTeX-add-lengths "MdSlantfracSpacingBeforeSlash" + "MdSlantfracSpacingAfterSlash") + + ;; `\mathversion' is available with sansmath option + (when (LaTeX-provided-package-options-member "MyriadPro" "sansmath") + (TeX-add-symbols + '("mathversion" + (TeX-arg-eval completing-read "Math version: " + '(("sans") ("sansbold") + ("sanstabular") ("sansboldtabular")))))) + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("smallfrac" "{{") + ("slantfrac" "{{")) + 'textual) + (font-latex-add-keywords '(("mathversion" "{")) + 'variable))) + TeX-dialect) + +(defvar LaTeX-MyriadPro-package-options + '(;; Font selection + "smallfamily" "medfamily" "onlytext" "onlymath" "math" "sansmath" + + ;; Figure selection + "textosf" "mathosf" "osf" "textlf" "mathlf" "lf" "mathtabular" + + ;; Calligraphic fonts + "cmsy" "swash" "abx" + + ;; Blackboard bold letters + "amsbb" "fourierbb" "lucidabb" + + ;; Greek letters + "mixedgreek" "italicgreek" "frenchmath" + + ;; Miscellaneous options + "scale" "loosequotes" "footnotefigures" + + ;; Additional mathversions + "sansmath") + "Package options for the MyriadPro package.") + +;;; MyriadPro.el ends here diff --git a/elpa/auctex-13.1.3/style/MyriadPro.elc b/elpa/auctex-13.1.3/style/MyriadPro.elc new file mode 100644 index 0000000..1596d1e Binary files /dev/null and b/elpa/auctex-13.1.3/style/MyriadPro.elc differ diff --git a/elpa/auctex-13.1.3/style/XCharter.el b/elpa/auctex-13.1.3/style/XCharter.el new file mode 100644 index 0000000..6f35b36 --- /dev/null +++ b/elpa/auctex-13.1.3/style/XCharter.el @@ -0,0 +1,97 @@ +;;; XCharter.el --- AUCTeX style for `XCharter.sty' (v1.094) -*- lexical-binding: t; -*- + +;; Copyright (C) 2014, 2017, 2018, 2020 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2014-10-30 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `XCharter.sty' (v1.094) from 2017/08/08. +;; `XCharter.sty' is part of TeXLive. + +;;; Code: + +(require 'tex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(TeX-add-style-hook + "XCharter" + (lambda () + + ;; Run style hook for various packages loaded by XCharter + (TeX-run-style-hooks "textcomp" "fontaxes") + + ;; New symbols + (TeX-add-symbols + + ;; Only preamble commands + '("useosf" 0) + '("useosfI" 0) + + ;; Text commands + '("textsu" t) ; superior figures + '("sustyle" -1) ; + '("textin" t) ; inferior figures + '("instyle" -1) ; + '("textlf" t) ; lining figures + '("lfstyle" -1) ; + '("textosf" t) ; oldstyle figures + '("textosfI" t) ; oldstyle figures alternate + '("osfstyle" -1) ; whatever oldstyle option is in force + '("textnumerator" t) ; numerators + '("textnu" t) ; + '("textdenominator" t) ; denominators + '("textde" t) ; + '("textfrac" 2)) + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("textsu" "{") + ("textin" "{") + ("textlf" "{") + ("textosf" "{") + ("textosfI" "{") + ("textnumerator" "{") + ("textnu" "{") + ("textdenominator" "{") + ("textde" "{") + ("textfrac" "{{")) + 'type-command) + (font-latex-add-keywords '(("sustyle" "") + ("instyle" "") + ("lfstyle" "") + ("osfstyle" "")) + 'type-declaration))) + TeX-dialect) + +(defvar LaTeX-XCharter-package-options + '("lining" "lf" "oldstyle" "osf" "oldstyleI" "osfI" + "scaled" "sups" "scosf") + "Package options for the XCharter package.") + +;;; XCharter.el ends here diff --git a/elpa/auctex-13.1.3/style/XCharter.elc b/elpa/auctex-13.1.3/style/XCharter.elc new file mode 100644 index 0000000..8a11dda Binary files /dev/null and b/elpa/auctex-13.1.3/style/XCharter.elc differ diff --git a/elpa/auctex-13.1.3/style/acro.el b/elpa/auctex-13.1.3/style/acro.el new file mode 100644 index 0000000..56291a1 --- /dev/null +++ b/elpa/auctex-13.1.3/style/acro.el @@ -0,0 +1,300 @@ +;;; acro.el --- AUCTeX style for `acro.sty' version 1.2a. -*- lexical-binding: t; -*- + +;; Copyright (C) 2013-2015, 2018, 2020 Free Software Foundation, Inc. + +;; Maintainer: auctex-devel@gnu.org +;; Author: Mosè Giordano +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `acro.sty' version 1.2a. + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(defvar LaTeX-acro-package-options-list + '(;; General Options + ("version" ("0" "1")) + ("single" ("true" "false")) + ("hyperref" ("true" "false")) + ("record-pages" ("true" "false")) + ("only-used" ("true" "false")) + ("mark-as-used" ("first" "any")) + ("macros" ("true" "false")) + ("xspace" ("true" "false")) + ("strict" ("true" "false")) + ("sort" ("true" "false")) + ("cite" ("all" "first" "none")) + ("cite-cmd") + ("cite-space") + ("index-cmd") + ("accsupp" ("true" "false")) + ("uc-cmd") + ;; Options Regarding Acronyms + ("short-format") + ("long-format") + ("first-long-format") + ("list-short-format") + ("list-long-format") + ("extra-format") + ("first-style" ("default" "plain" "empty" "square" "short" "reversed" + "plain-reversed" "footnote" "sidenote")) + ("extra-style" ("default" "plain" "comma" "paren" "bracket")) + ("plural-ending") + ;; Options Regarding the List + ("page-ref" ("none" "plain" "comma" "paren")) + ("page-name") + ("pages-name") + ("page-ranges" ("true" "false")) + ("next-page") + ("next-pages") + ("list-type" ("table" "itemize" "description")) + ("list-style" ("list" "tabular" "longtable" "extra-tabular" "extra-longtable" + "extra-tabular-rev" "extra-longtable-rev")) + ("list-header" ("chapter" "chapter*" "section" "section*" "subsection" + "subsection*" "addchap" "addsec")) + ("list-name") + ("list-table-width") + ("list-caps" ("true" "false"))) + "Package options for the acro package.") + +(TeX-auto-add-type "acro-acronym" "LaTeX") + +;; Self Parsing -- see (info "(auctex)Hacking the Parser"). +(defvar LaTeX-acro-regexp + (concat "\\\\DeclareAcronym" "{\\([^\n\r%\\{}]+\\)}") + "Matches `acro' acronym definitions.") + +(defvar LaTeX-auto-acro-acronym nil + "Temporary for parsing `acro' acronym definitions.") + +(defun LaTeX-acro-prepare () + "Clear `LaTex-auto-acro-acronym' before use." + (setq LaTeX-auto-acro-acronym nil)) + +(defun LaTeX-acro-cleanup () + "Move acronyms from `LaTeX-auto-acro-acronym' to +`LaTeX-acro-list' and to `TeX-auto-symbol' if option `macros' is +set to `true'." + (mapc (lambda (acronym) + (add-to-list 'LaTeX-acro-acronym-list (list acronym))) + LaTeX-auto-acro-acronym) + (when (or (LaTeX-provided-package-options-member "acro" "macros") + (LaTeX-provided-package-options-member "acro" "macros=true")) + (add-to-list 'TeX-auto-symbol LaTeX-auto-acro-acronym))) + +(add-hook 'TeX-auto-prepare-hook #'LaTeX-acro-prepare t) +(add-hook 'TeX-auto-cleanup-hook #'LaTeX-acro-cleanup t) +(add-hook 'TeX-update-style-hook #'TeX-auto-parse t) + +(defvar LaTeX-acro-acronym-history nil + "History of acronyms in acro.") + +(defun LaTeX-arg-acro-acronym (optional &optional prompt definition) + "Prompt for an acronym completing with known acronyms. +If OPTIONAL is non-nil, insert the resulting value as an optional +argument, otherwise as a mandatory one. Use PROMPT as the prompt +string. If DEFINITION is non-nil, add the chosen acronym to the +list of defined acronyms." + (let ((acronym (completing-read (TeX-argument-prompt optional prompt "Acronym") + (LaTeX-acro-acronym-list) nil nil nil + 'LaTeX-acro-acronym-history))) + (if (and definition (not (string-equal "" acronym))) + (LaTeX-add-acro-acronyms acronym)) + (TeX-argument-insert acronym optional optional))) + +(defun LaTeX-arg-define-acro-acronym (optional &optional prompt) + "Prompt for an acronym completing with known acronyms. +If OPTIONAL is non-nil, insert the resulting value as an optional +argument, otherwise as a mandatory one. Use PROMPT as the prompt +string." + (LaTeX-arg-acro-acronym optional prompt t)) + +(defvar LaTeX-acro-declareacronym-keys + '(("short") ("long") ("short-plural") ("long-plural") ("long-plural-form") + ("short-indefinite") ("long-indefinite") ("long-pre") ("long-post") ("alt") + ("alt-indefinite") ("extra") ("sort") ("class") ("cite") ("short-format") + ("long-format") ("first-long-format") ("pdfstring") ("accsupp") + ("index-sort") ("index") ("index-cmd")) + "List of keys accepted by `\\DeclareAcronym' macro of `acro' package +in its second mandatory argument.") + +(defvar LaTeX-acro-printacronyms-keys + '(("include-classes") ("exclude-classes") ("name") ("header")) + "List of keys accepted by `\\printacronyms' macro of `acro' package +in its optional argument.") + +(defun LaTeX-arg-acro-key-val (optional prompt key-val-alist) + "Prompt for keys and values in KEY-VAL-ALIST. + key binding in minibuffer is removed temporarily. Insert +the given value as a TeX macro argument. If OPTIONAL is non-nil, +insert it as an optional argument. Use PROMPT as the prompt +string. KEY-VAL-ALIST is an alist. The car of each element +should be a string representing a key and the optional cdr should +be a list with strings to be used as values for the key." + ;; Remove key binding from map used in `multi-prompt-key-value' (called + ;; by `TeX-arg-key-val') with `require-match' set to `nil'. + (let ((crm-local-completion-map + (remove (assoc 32 crm-local-completion-map) crm-local-completion-map))) + (TeX-arg-key-val optional key-val-alist prompt))) + +(TeX-add-style-hook + "acro" + (lambda () + (TeX-auto-add-regexp `(,LaTeX-acro-regexp 1 LaTeX-auto-acro-acronym)) + (TeX-add-symbols + ;; Creating New Acronyms + '("DeclareAcronym" LaTeX-arg-define-acro-acronym + (LaTeX-arg-acro-key-val "Definition of acronym (k=v)" + LaTeX-acro-declareacronym-keys)) + ;; Using the Acronyms + '("ac" LaTeX-arg-acro-acronym) + '("ac*" LaTeX-arg-acro-acronym) + '("Ac" LaTeX-arg-acro-acronym) + '("Ac*" LaTeX-arg-acro-acronym) + '("acs" LaTeX-arg-acro-acronym) + '("acs*" LaTeX-arg-acro-acronym) + '("acl" LaTeX-arg-acro-acronym) + '("acl*" LaTeX-arg-acro-acronym) + '("Acl" LaTeX-arg-acro-acronym) + '("Acl*" LaTeX-arg-acro-acronym) + '("aca" LaTeX-arg-acro-acronym) + '("aca*" LaTeX-arg-acro-acronym) + '("acf" LaTeX-arg-acro-acronym) + '("acf*" LaTeX-arg-acro-acronym) + '("Acf" LaTeX-arg-acro-acronym) + '("Acf*" LaTeX-arg-acro-acronym) + '("acp" LaTeX-arg-acro-acronym) + '("acp*" LaTeX-arg-acro-acronym) + '("Acp" LaTeX-arg-acro-acronym) + '("Acp*" LaTeX-arg-acro-acronym) + '("acsp" LaTeX-arg-acro-acronym) + '("acsp*" LaTeX-arg-acro-acronym) + '("aclp" LaTeX-arg-acro-acronym) + '("aclp*" LaTeX-arg-acro-acronym) + '("Aclp" LaTeX-arg-acro-acronym) + '("Aclp*" LaTeX-arg-acro-acronym) + '("acap" LaTeX-arg-acro-acronym) + '("acap*" LaTeX-arg-acro-acronym) + '("acfp" LaTeX-arg-acro-acronym) + '("acfp*" LaTeX-arg-acro-acronym) + '("Acfp" LaTeX-arg-acro-acronym) + '("Acfp*" LaTeX-arg-acro-acronym) + ;; Indefinite Forms + '("iac" LaTeX-arg-acro-acronym) + '("iac*" LaTeX-arg-acro-acronym) + '("Iac" LaTeX-arg-acro-acronym) + '("Iac*" LaTeX-arg-acro-acronym) + '("iacs" LaTeX-arg-acro-acronym) + '("iacs*" LaTeX-arg-acro-acronym) + '("Iacs" LaTeX-arg-acro-acronym) + '("Iacs*" LaTeX-arg-acro-acronym) + '("iaca" LaTeX-arg-acro-acronym) + '("iaca*" LaTeX-arg-acro-acronym) + '("Iaca" LaTeX-arg-acro-acronym) + '("Iaca*" LaTeX-arg-acro-acronym) + '("iacl" LaTeX-arg-acro-acronym) + '("iacl*" LaTeX-arg-acro-acronym) + '("Iacl" LaTeX-arg-acro-acronym) + '("Iacl*" LaTeX-arg-acro-acronym) + '("iacf" LaTeX-arg-acro-acronym) + '("iacf*" LaTeX-arg-acro-acronym) + '("Iacf" LaTeX-arg-acro-acronym) + '("Iacf*" LaTeX-arg-acro-acronym) + '("iacflike" LaTeX-arg-acro-acronym) + '("iacflike*" LaTeX-arg-acro-acronym) + '("Iacflike" LaTeX-arg-acro-acronym) + '("Iacflike*" LaTeX-arg-acro-acronym) + ;; Simulating the First Appearance + '("acflike" LaTeX-arg-acro-acronym) + '("acflike*" LaTeX-arg-acro-acronym) + '("acfplike" LaTeX-arg-acro-acronym) + '("acfplike*" LaTeX-arg-acro-acronym) + ;; Reset or Mark as Used + '("acreset" "List of acronyms") + '("acresetall" 0) + '("acuse" "List of acronyms") + '("acuseall" 0) + ;; PDF bookmarks + '("acpdfstring" LaTeX-arg-acro-acronym) + '("acpdfstringplural" LaTeX-arg-acro-acronym) + ;; Printing the List + '("printacronyms" [LaTeX-arg-acro-key-val nil LaTeX-acro-printacronyms-keys]) + ;; Customization + '("acsetup" (TeX-arg-key-val LaTeX-acro-package-options-list))) + (TeX-run-style-hooks + "l3sort" + "xspace" + "xtemplate" + "l3keys2e" + "xparse" + "expl3") + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("DeclareAcronym" "{{") + ("ac" "*{") + ("Ac" "*{") + ("acs" "*{") + ("acl" "*{") + ("Acl" "*{") + ("aca" "*{") + ("acf" "*{") + ("Acf" "*{") + ("acp" "*{") + ("Acp" "*{") + ("acsp" "*{") + ("aclp" "*{") + ("Aclp" "*{") + ("acap" "*{") + ("acfp" "*{") + ("Acfp" "*{") + ("acflike" "*{") + ("acfplike" "*{") + ("iac" "*{") + ("Iac" "*{") + ("iacs" "*{") + ("Iacs" "*{") + ("iaca" "*{") + ("Iaca" "*{") + ("iacl" "*{") + ("Iacl" "*{") + ("iacf" "*{") + ("Iacf" "*{") + ("iacflike" "*{") + ("Iacflike" "*{") + ("acuse" "{")) + 'function))) + TeX-dialect) + +(defun LaTeX-acro-package-options () + "Prompt for package options for the acro package." + (TeX-read-key-val t LaTeX-acro-package-options-list)) + +;;; acro.el ends here diff --git a/elpa/auctex-13.1.3/style/acro.elc b/elpa/auctex-13.1.3/style/acro.elc new file mode 100644 index 0000000..3388038 Binary files /dev/null and b/elpa/auctex-13.1.3/style/acro.elc differ diff --git a/elpa/auctex-13.1.3/style/acronym.el b/elpa/auctex-13.1.3/style/acronym.el new file mode 100644 index 0000000..a99fa85 --- /dev/null +++ b/elpa/auctex-13.1.3/style/acronym.el @@ -0,0 +1,185 @@ +;;; acronym.el --- AUCTeX style for `acronym.sty' version 1.38. -*- lexical-binding: t; -*- + +;; Copyright (C) 2013-2015, 2018, 2020 Free Software Foundation, Inc. + +;; Maintainer: auctex-devel@gnu.org +;; Author: Mosè Giordano +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `acronym.sty' version 1.38. + +;;; Code: + +(require 'tex) ;Indispensable when compiling the call to `TeX-auto-add-type'. +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(TeX-auto-add-type "acronym" "LaTeX") + +;; Self Parsing -- see (info "(auctex)Hacking the Parser"). +(defvar LaTeX-acronym-regexp + (concat "\\\\\\(?:acro\\|newacro\\|acrodef\\)" "{\\([^\n\r%\\{}]+\\)}") + "Matches acronyms by `acronym' package.") + +(defvar LaTeX-auto-acronym nil + "Temporary for parsing acronym by `acronym' package.") + +(defun LaTeX-acronym-prepare () + "Clear `LaTex-auto-acronym' before use." + (setq LaTeX-auto-acronym nil)) + +(defun LaTeX-acronym-cleanup () + "Move acronyms from `LaTeX-auto-acronym' to `LaTeX-acronym-list'." + (mapc (lambda (acronym) + (add-to-list 'LaTeX-acronym-list (list acronym))) + LaTeX-auto-acronym)) + +(add-hook 'TeX-auto-prepare-hook #'LaTeX-acronym-prepare t) +(add-hook 'TeX-auto-cleanup-hook #'LaTeX-acronym-cleanup t) +(add-hook 'TeX-update-style-hook #'TeX-auto-parse t) + +(defvar LaTeX-acronym-acronym-history nil + "History of acronyms in acronym.") + +;; The former `acronym' stands for package name, the latter stands for the +;; argument of the macro calling this function. +(defun LaTeX-arg-acronym-acronym (optional &optional prompt definition) + "Prompt for an acronym completing with known acronyms. +If OPTIONAL is non-nil, insert the resulting value as an optional +argument, otherwise as a mandatory one. Use PROMPT as the prompt +string. If DEFINITION is non-nil, add the chosen acronym to the +list of defined acronyms." + (let ((acronym (completing-read (TeX-argument-prompt optional prompt "Acronym") + (LaTeX-acronym-list) nil nil nil + 'LaTeX-acronym-acronym-history))) + (if (and definition (not (string-equal "" acronym))) + (LaTeX-add-acronyms acronym)) + (TeX-argument-insert acronym optional optional))) + +(defun LaTeX-arg-define-acronym-acronym (optional &optional prompt) + "Prompt for an acronym completing with known acronyms. +If OPTIONAL is non-nil, insert the resulting value as an optional +argument, otherwise as a mandatory one. Use PROMPT as the prompt +string." + (LaTeX-arg-acronym-acronym optional prompt t)) + +(TeX-add-style-hook + "acronym" + (lambda () + (TeX-auto-add-regexp `(,LaTeX-acronym-regexp 1 LaTeX-auto-acronym)) + (LaTeX-add-environments + '("acronym" LaTeX-env-args + [TeX-arg-string "Longest acronym"])) + (TeX-add-symbols + ;; Acronyms in the Text + '("ac" LaTeX-arg-acronym-acronym) + '("acresetall" 0) + '("acf" LaTeX-arg-acronym-acronym) + '("acs" LaTeX-arg-acronym-acronym) + '("acl" LaTeX-arg-acronym-acronym) + '("acp" LaTeX-arg-acronym-acronym) + '("acfp" LaTeX-arg-acronym-acronym) + '("acsp" LaTeX-arg-acronym-acronym) + '("aclp" LaTeX-arg-acronym-acronym) + '("acfi" LaTeX-arg-acronym-acronym) + '("acused" LaTeX-arg-acronym-acronym) + '("acsu" LaTeX-arg-acronym-acronym) + '("aclu" LaTeX-arg-acronym-acronym) + '("iac" LaTeX-arg-acronym-acronym) + '("Iac" LaTeX-arg-acronym-acronym) + '("ac*" LaTeX-arg-acronym-acronym) + '("acf*" LaTeX-arg-acronym-acronym) + '("acs*" LaTeX-arg-acronym-acronym) + '("acl*" LaTeX-arg-acronym-acronym) + '("acp*" LaTeX-arg-acronym-acronym) + '("acfp*" LaTeX-arg-acronym-acronym) + '("acsp*" LaTeX-arg-acronym-acronym) + '("aclp*" LaTeX-arg-acronym-acronym) + '("acfi*" LaTeX-arg-acronym-acronym) + '("acsu*" LaTeX-arg-acronym-acronym) + '("aclu*" LaTeX-arg-acronym-acronym) + '("iac*" LaTeX-arg-acronym-acronym) + '("Iac*" LaTeX-arg-acronym-acronym) + ;; Customization + '("acsfont" 1) + '("acffont" 1) + '("acfsfont" 1) + ;; Defining Acronyms + '("acro" LaTeX-arg-define-acronym-acronym [ "Short name" ] "Full name") + '("acroextra" "Additional info") + '("newacro" LaTeX-arg-define-acronym-acronym [ "Short name" ] "Full name") + '("acrodef" LaTeX-arg-define-acronym-acronym [ "Short name" ] "Full name") + ;; Non standard indefinite articles + '("acroindefinite" LaTeX-arg-acronym-acronym + "Short indefinite article" "Long indefinite article") + '("acrodefindefinite" LaTeX-arg-acronym-acronym + "Short indefinite article" "Long indefinite article") + '("newacroindefinite" LaTeX-arg-acronym-acronym + "Short indefinite article" "Long indefinite article") + ;; Non standard and foreign plural forms + '("acroplural" LaTeX-arg-acronym-acronym [ "Short plural" ] "Long plural") + '("acrodefplural" LaTeX-arg-acronym-acronym [ "Short plural" ] "Long plural") + '("newacroplural" LaTeX-arg-acronym-acronym [ "Short plural" ] "Long plural")) + (TeX-run-style-hooks + "relsize" + "xstring" + "suffix") + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("ac" "*{") + ("acf" "*{") + ("acs" "*{") + ("acl" "*{") + ("acp" "*{") + ("acfp" "*{") + ("acsp" "*{") + ("aclp" "*{") + ("acfi" "*{") + ("acused" "{") + ("acsu" "*{") + ("aclu" "*{") + ("iac" "*{") + ("Iac" "*{") + ("acro" "{[{") + ("acroextra" "{") + ("newacro" "{[{") + ("acrodef" "{[{") + ("acroindefinite" "{{{") + ("acrodefindefinite" "{{{") + ("newacroindefinite" "{{{") + ("acroplural" "{[{") + ("acrodefplural" "{[{") + ("newacroplural" "{[{")) + 'function))) + TeX-dialect) + +(defvar LaTeX-acronym-package-options + '("footnote" "nohyperlinks" "printonlyused" "withpage" "smaller" "dua" "nolist") + "Package options for the acronym package.") + +;; acronym.el ends here diff --git a/elpa/auctex-13.1.3/style/acronym.elc b/elpa/auctex-13.1.3/style/acronym.elc new file mode 100644 index 0000000..bfe9971 Binary files /dev/null and b/elpa/auctex-13.1.3/style/acronym.elc differ diff --git a/elpa/auctex-13.1.3/style/afterpage.el b/elpa/auctex-13.1.3/style/afterpage.el new file mode 100644 index 0000000..1601885 --- /dev/null +++ b/elpa/auctex-13.1.3/style/afterpage.el @@ -0,0 +1,46 @@ +;;; afterpage.el --- AUCTeX style for `afterpage.sty' -*- lexical-binding: t; -*- + +;; Copyright (C) 2013, 2020 Free Software Foundation, Inc. + +;; Author: Mads Jensen +;; Maintainer: auctex-devel@gnu.org +;; Created: 2013-01-01 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `afterpage.sty' + +;;; Code: + +(require 'tex) +(require 'latex) + +(TeX-add-style-hook + "afterpage" + (lambda () + (TeX-add-symbols + '("afterpage" t))) + TeX-dialect) + +(defvar LaTeX-afterpage-package-options nil + "Package options for afterpage.") + +;; afterpage.el ends here diff --git a/elpa/auctex-13.1.3/style/afterpage.elc b/elpa/auctex-13.1.3/style/afterpage.elc new file mode 100644 index 0000000..13a9534 Binary files /dev/null and b/elpa/auctex-13.1.3/style/afterpage.elc differ diff --git a/elpa/auctex-13.1.3/style/algorithm.el b/elpa/auctex-13.1.3/style/algorithm.el new file mode 100644 index 0000000..8500f44 --- /dev/null +++ b/elpa/auctex-13.1.3/style/algorithm.el @@ -0,0 +1,80 @@ +;;; algorithm.el --- AUCTeX style for the (LaTeX) algorithm package -*- lexical-binding: t; -*- + +;; Copyright (C) 2020 Free Software Foundation, Inc. + +;; Author: Uwe Brauer +;; Created: 2020-01-26 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: +;; This file adds support for the algorithm package. + +;;; Code: + +(require 'tex) +(require 'latex) + +(defvar LaTeX-algorithm-package-options + '(;; Appearance options: + "plain" "ruled" "boxed" + ;; Numbering convention: + "part" "chapter" "section" "subsection" "subsubsection" "nothing") + "Package options for the algorithm package.") + +(defun LaTeX-env-algorithm (environment) + "Insert a algorithm-like ENVIRONMENT with caption and label." + (let* ((pos (completing-read (TeX-argument-prompt t nil "Position") + '(("H")))) + (caption (TeX-read-string "Caption: ")) + (short-caption (when (>= (length caption) LaTeX-short-caption-prompt-length) + (TeX-read-string "(Optional) Short caption: ")))) + (LaTeX-insert-environment environment + (concat + (unless (zerop (length pos)) + (concat LaTeX-optop pos LaTeX-optcl)))) + ;; top caption -- do nothing if user skips caption + (unless (zerop (length caption)) + ;; insert `\caption[short-caption]{caption': + (insert TeX-esc "caption") + (when (and short-caption (not (string= short-caption ""))) + (insert LaTeX-optop short-caption LaTeX-optcl)) + (insert TeX-grop caption) + ;; Add } to close `\caption{' + (insert TeX-grcl) + ;; fill the caption + (when auto-fill-function (LaTeX-fill-paragraph)) + ;; Insert a new line and indent + (LaTeX-newline) + (indent-according-to-mode) + ;; Finally add a \label: + (when (LaTeX-label environment 'environment) + (LaTeX-newline) + (indent-according-to-mode))))) + +(TeX-add-style-hook + "algorithm" + (lambda () + (LaTeX-add-environments + '("algorithm" LaTeX-env-algorithm)) + (TeX-add-symbols + '("listofalgorithms" 0))) + TeX-dialect) + +;;; algorithm.el ends here diff --git a/elpa/auctex-13.1.3/style/algorithm.elc b/elpa/auctex-13.1.3/style/algorithm.elc new file mode 100644 index 0000000..0c562d0 Binary files /dev/null and b/elpa/auctex-13.1.3/style/algorithm.elc differ diff --git a/elpa/auctex-13.1.3/style/algpseudocode.el b/elpa/auctex-13.1.3/style/algpseudocode.el new file mode 100644 index 0000000..1d8bdd7 --- /dev/null +++ b/elpa/auctex-13.1.3/style/algpseudocode.el @@ -0,0 +1,143 @@ +;;; algpseudocode.el --- AUCTeX style for the (LaTeX) algpseudocode package -*- lexical-binding: t; -*- + +;; Copyright (C) 2020--2022 Free Software Foundation, Inc. + +;; Author: Uwe Brauer +;; Created: 2020-01-26 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for the algpseudocode package. + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(defvar LaTeX-algpseudocode-package-options + '("compatible" "nocompatible" "end" "noend") + "Package options for the algpseudocode package.") + +(TeX-add-style-hook + "algpseudocode" + (lambda () + (TeX-add-symbols + ;; 2.3 Simple lines + '("State" (TeX-arg-literal " ")) + '("Statex" 0) + + ;; 2.4 Placing comments in sources + '("Comment" 1) + + ;; 2.5 Labels and references + '("algref" (TeX-arg-ref "Algorithm") (TeX-arg-ref "Line")) + + ;; 2.6 Breaking up long algorithms + '("algstore" 1) + '("algstore*" 1) + '("algrestore" 1) + '("algrestore*" 1) + + ;; 3.1.1 The for block + '("For" 1) + '("ForAll" 1) + '("EndFor" 0) + + ;; 3.1.2 The while block + '("While" 1) + '("EndWhile" 0) + + ;; 3.1.3 The repeat block + '("Repeat" 0) + '("Until" 1) + + ;; 3.1.4 The if block + '("If" 1) + '("ElsIf" 1) + '("Else" 0) + '("EndIf" 0) + + ;; 3.1.5 The procedure block + '("Procedure" 2) + '("EndProcedure" 0) + + ;; 3.1.6 The function block + '("Function" 2) + '("EndFunction" 0) + + ;; 3.1.7 The loop block + '("Loop" 0) + '("EndLoop" 0) + + ;; 3.1.8 Other commands in this layout + '("Require" (TeX-arg-literal " ")) + '("Ensure" (TeX-arg-literal " ")) + '("Call" 2)) + + (LaTeX-add-environments + '("algorithmic" [ "Number" ])) + + ;; Indentation: Add the keywords above to the respective variables + ;; and run `LaTeX-indent-commands-regexp-make'. + (let ((beg '("For" "ForAll" + "While" + "Repeat" + "If" + "Procedure" + "Function" + "Loop")) + (mid '("ElsIf" "Else")) + (end '("EndFor" + "EndWhile" + "Until" + "EndIf" + "EndProcedure" + "EndFunction" + "EndLoop"))) + (dolist (elt beg) + (add-to-list 'LaTeX-indent-begin-list elt t)) + (dolist (elt mid) + (add-to-list 'LaTeX-indent-mid-list elt t)) + (dolist (elt end) + (add-to-list 'LaTeX-indent-end-list elt t)) + (LaTeX-indent-commands-regexp-make)) + + ;; Add the 'algorithmic' environment to a local version of + ;; `LaTeX-indent-environment-list'. This effectively kills filling + ;; but indenting works as expected. Hence, 'M-q' gives a better + ;; experience. + (add-to-list (make-local-variable 'LaTeX-indent-environment-list) + '("algorithmic") + t) + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("algref" "{{")) + 'reference))) + TeX-dialect) + +;;; algpseudocode.el ends here diff --git a/elpa/auctex-13.1.3/style/algpseudocode.elc b/elpa/auctex-13.1.3/style/algpseudocode.elc new file mode 100644 index 0000000..b62fdbc Binary files /dev/null and b/elpa/auctex-13.1.3/style/algpseudocode.elc differ diff --git a/elpa/auctex-13.1.3/style/alltt.el b/elpa/auctex-13.1.3/style/alltt.el new file mode 100644 index 0000000..57d1ab2 --- /dev/null +++ b/elpa/auctex-13.1.3/style/alltt.el @@ -0,0 +1,57 @@ +;;; alltt.el --- AUCTeX style for `alltt.sty' -*- lexical-binding: t; -*- + +;; Copyright (C) 2004, 2005, 2014, 2016, 2018, 2020 Free Software Foundation, Inc. + +;; Author: Ralf Angeli +;; Maintainer: auctex-devel@gnu.org +;; Created: 2004-04-30 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `alltt.sty'. + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-set-syntactic-keywords + "font-latex") + +(TeX-add-style-hook + "alltt" + (lambda () + (LaTeX-add-environments "alltt") + (add-to-list (make-local-variable 'LaTeX-indent-environment-list) + '("alltt" current-indentation) t) + (add-to-list 'LaTeX-verbatim-environments-local "alltt") + ;; Fontification + (when (and (fboundp 'font-latex-set-syntactic-keywords) + (eq TeX-install-font-lock 'font-latex-setup)) + ;; Tell font-lock about the update. + (font-latex-set-syntactic-keywords))) + TeX-dialect) + +(defvar LaTeX-alltt-package-options nil + "Package options for the alltt package.") + +;;; alltt.el ends here diff --git a/elpa/auctex-13.1.3/style/alltt.elc b/elpa/auctex-13.1.3/style/alltt.elc new file mode 100644 index 0000000..65d84cb Binary files /dev/null and b/elpa/auctex-13.1.3/style/alltt.elc differ diff --git a/elpa/auctex-13.1.3/style/alphanum.el b/elpa/auctex-13.1.3/style/alphanum.el new file mode 100644 index 0000000..cc24c3b --- /dev/null +++ b/elpa/auctex-13.1.3/style/alphanum.el @@ -0,0 +1,105 @@ +;;; alphanum.el --- AUCTeX style for `alphanum.sty' -*- lexical-binding: t; -*- + +;; Copyright (C) 2004, 2018, 2020 Free Software Foundation, Inc. + +;; Author: Frank Küster +;; Maintainer: auctex-devel@gnu.org +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This is file alphanum.el, which makes AUCTeX usable with jura.cls +;; and its style file alphanum.sty. +;; +;; Contributed by Frank Küster . The code for +;; reftex has been written by Carsten Dominik, the maintainer of +;; reftex, but all the errors are mine. + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function reftex-match-string "reftex" (n)) +(defvar reftex-section-regexp) + +(defun reftex-get-section-level-alphanum () + (save-excursion ; preserve position + (save-match-data ; preserve matching data (important!) + ;; Go back to the beginning of the sectioning command + (goto-char (match-beginning 0)) + ;; Define an initial level number, depending on the current macro. + (let* ((macro (reftex-match-string 3)) ; "toc" or "sub" + (lev (cond ((string= macro "toc") 1) ; min level for "toc" + ((string= macro "sub") 2) ; min level for "sub" + (t 0))) + ;; Make a regular expression which will match sectioning commands + ;; and the levelup macro. + (re (concat "\\(^[^%]*\\\\levelup\\>\\)" + "\\|" + "\\(" reftex-section-regexp "\\)"))) + ;; Now parse backwards for all sectioning and levelup macros, + ;; and keep track of the relative level changes. + (while (re-search-backward re nil t) + (cond + ((match-beginning 1) + ;; levelup matched, reduce level counter + (setq lev (1- lev))) + ((string= (reftex-match-string 4) "toc") + ;; a toc entry, nothing changes + ) + ((string= (reftex-match-string 4) "sub") + ;; a sub entry, increase level counter + (setq lev (1+ lev))))) + ;; return the level + lev)))) + +(TeX-add-style-hook + "alphanum" + (lambda () + (LaTeX-largest-level-set "chapter") + (TeX-add-symbols + '("levelup" (TeX-arg-literal " "))) + (make-local-variable 'LaTeX-section-list) + (LaTeX-section-list-add-locally + '(("part" 0) + ;; the levels don't make sense with alphanum, I randomly chose 0... + ("toc" 0) + ("sub" 0)) + t) + (setq LaTeX-section-label + '(("part" . "part:") + ("toc" . "sec:") + ("sub" . "sec:"))) + ;; + ;; ****************** reftex part ****************** + ;; this won't work in multifile documents, but at least there is + ;; something. + + (if (fboundp 'reftex-add-section-levels) + (reftex-add-section-levels + '(("toc" . reftex-get-section-level-alphanum) + ("sub" . reftex-get-section-level-alphanum))))) + TeX-dialect) + +;; Local Variables: +;; coding: utf-8 +;; End: diff --git a/elpa/auctex-13.1.3/style/alphanum.elc b/elpa/auctex-13.1.3/style/alphanum.elc new file mode 100644 index 0000000..50ba913 Binary files /dev/null and b/elpa/auctex-13.1.3/style/alphanum.elc differ diff --git a/elpa/auctex-13.1.3/style/amsart.el b/elpa/auctex-13.1.3/style/amsart.el new file mode 100644 index 0000000..7f93f1a --- /dev/null +++ b/elpa/auctex-13.1.3/style/amsart.el @@ -0,0 +1,16 @@ +;;; amsart.el --- Style hook for the AMS-LaTeX article document class. -*- lexical-binding: t; -*- + +;;; Code: + +(require 'tex) +(require 'latex) + +(TeX-add-style-hook + "amsart" + (function + (lambda () + (TeX-run-style-hooks "amsmath" "amsthm") + (LaTeX-add-environments "abstract"))) + TeX-dialect) + +;;; amsart.el ends here. diff --git a/elpa/auctex-13.1.3/style/amsart.elc b/elpa/auctex-13.1.3/style/amsart.elc new file mode 100644 index 0000000..7b2e74a Binary files /dev/null and b/elpa/auctex-13.1.3/style/amsart.elc differ diff --git a/elpa/auctex-13.1.3/style/amsbook.el b/elpa/auctex-13.1.3/style/amsbook.el new file mode 100644 index 0000000..c645767 --- /dev/null +++ b/elpa/auctex-13.1.3/style/amsbook.el @@ -0,0 +1,15 @@ +;;; amsbook.el --- Style hook for the AMS-LaTeX book document class. -*- lexical-binding: t; -*- + +;;; Code: + +(require 'tex) +(require 'latex) + +(TeX-add-style-hook + "amsbook" + (lambda () + (TeX-run-style-hooks "amsmath" "amsthm") + (LaTeX-add-environments "abstract")) + TeX-dialect) + +;;; amsbook.el ends here. diff --git a/elpa/auctex-13.1.3/style/amsbook.elc b/elpa/auctex-13.1.3/style/amsbook.elc new file mode 100644 index 0000000..a3c0ae1 Binary files /dev/null and b/elpa/auctex-13.1.3/style/amsbook.elc differ diff --git a/elpa/auctex-13.1.3/style/amsbsy.el b/elpa/auctex-13.1.3/style/amsbsy.el new file mode 100644 index 0000000..dce3825 --- /dev/null +++ b/elpa/auctex-13.1.3/style/amsbsy.el @@ -0,0 +1,21 @@ +;;; amsbsy.el --- Style hook for the AMS-LaTeX amsbsy package. -*- lexical-binding: t; -*- +;;; +;;; AUTHOR: Carsten Dominik + +;;; Code: + +(require 'tex) +(require 'latex) + +(TeX-add-style-hook + "amsbsy" + (lambda () + (TeX-add-symbols + '("boldsymbol" "Symbol") + '("pmb" "Symbol"))) + TeX-dialect) + +(defvar LaTeX-amsbsy-package-options nil + "Package options for the amsbsy package.") + +;;; amsbsy.el ends here. diff --git a/elpa/auctex-13.1.3/style/amsbsy.elc b/elpa/auctex-13.1.3/style/amsbsy.elc new file mode 100644 index 0000000..7375372 Binary files /dev/null and b/elpa/auctex-13.1.3/style/amsbsy.elc differ diff --git a/elpa/auctex-13.1.3/style/amsfonts.el b/elpa/auctex-13.1.3/style/amsfonts.el new file mode 100644 index 0000000..03556e7 --- /dev/null +++ b/elpa/auctex-13.1.3/style/amsfonts.el @@ -0,0 +1,61 @@ +;;; amsfonts.el --- AUCTeX style for `amsfonts.sty' version 3.01 -*- lexical-binding: t; -*- + +;; Copyright (C) 2016, 2018, 2020 Free Software Foundation, Inc. + +;; Maintainer: auctex-devel@gnu.org +;; Author: Mosè Giordano +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `amsfonts.sty' version 3.01. + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(TeX-add-style-hook + "amsfonts" + (lambda () + (TeX-add-symbols + '("bold" 1)) + ;; New math font by `amsfonts'. + (setq TeX-font-list + (append + TeX-font-list + '((?\C-k "" "" "\\mathfrak{" "}")))) + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("bold" "{")) + 'bold-command))) + TeX-dialect) + +;; The `psamsfonts' option is obsolete in AMSFonts v3 +(defvar LaTeX-amsfonts-package-options nil + "Package options for the amsfonts package.") + +;;; amsfonts.el ends here. diff --git a/elpa/auctex-13.1.3/style/amsfonts.elc b/elpa/auctex-13.1.3/style/amsfonts.elc new file mode 100644 index 0000000..a3db471 Binary files /dev/null and b/elpa/auctex-13.1.3/style/amsfonts.elc differ diff --git a/elpa/auctex-13.1.3/style/amsmath.el b/elpa/auctex-13.1.3/style/amsmath.el new file mode 100644 index 0000000..5e7812e --- /dev/null +++ b/elpa/auctex-13.1.3/style/amsmath.el @@ -0,0 +1,259 @@ +;;; amsmath.el --- Style hook for the AMS-LaTeX amsmath package. -*- lexical-binding: t; -*- + +;; Copyright (C) 2002, 2005-2007, 2012-2014, 2017-2020, 2022 +;; Free Software Foundation, Inc. +;; FIXME: What about the copyright for <= 2001? + +;; Author: Carsten Dominik +;; Maintainer: auctex-devel@gnu.org + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This will also load the amstext, amsbsy and amsopn style files. + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Fontification +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(TeX-add-style-hook + "amsmath" + (lambda () + (LaTeX-add-environments + '("align" LaTeX-env-label) + '("gather" LaTeX-env-label) + '("flalign" LaTeX-env-label) + '("multline" LaTeX-env-label) + '("alignat" LaTeX-amsmath-env-alignat) + '("alignat*" LaTeX-amsmath-env-alignat) + '("xalignat" LaTeX-amsmath-env-alignat) + '("xalignat*" LaTeX-amsmath-env-alignat) + '("xxalignat" LaTeX-amsmath-env-alignat) + '("aligned" ["Vertical position (t or b)"]) + '("gathered" ["Vertical position (t or b)"]) + '("alignedat" LaTeX-amsmath-env-alignedat) + "align*" "gather*" "flalign*" "multline*" "equation*" + "split" + "cases" + "matrix" "smallmatrix" "pmatrix" "bmatrix" "Bmatrix" "vmatrix" "Vmatrix" + "subequations" + '("subarray" "Alignment")) + + (TeX-add-symbols + '("eqref" TeX-arg-ref) + '("numberwithin" TeX-arg-counter "Section level") + '("raisetag" "Dimension") + '("shoveright" t) '("shoveleft" t) + '("intertext" t) + '("hdotsfor" ["Stretch"] "Number of columns to cover") + '("xleftarrow" ["Below"] "Above") + '("xrightarrow" ["Below"] "Above") + '("overset" "Above symbol" "Symbol") + '("underset" "Below symbol" "Symbol") + '("overunderset" "Above symbol" "Below symbol" "Symbol") + '("dfrac" 2) + '("tfrac" 2) + '("binom" 2) + '("dbinom" 2) + '("tbinom" 2) + '("genfrac" "Left delimiter" "Right delimiter" "Thickness" + "Mathstyle" 2) + '("cfrac" ["position (l or r)"] 2) + '("smash" ["where (t or b)"] t) + '("sideset" "Left" "Right") + '("tag" "(Tag)") + '("tag*" "Tag") + '("displaybreak" ["Weight (0..4)"]) + '("allowdisplaybreaks" ["Weight (1..4)"]) + '("substack" t) + '("leftroot" "Push root index left by") + '("uproot" "Push root index upward by") + '("boxed" t) + '("mspace" t) + '("mod" t) + '("pmod" t) + '("pod" t) + '("overleftrightarrow" t) + '("underleftarrow" t) + '("underrightarrow" t) + '("underleftrightarrow" t) + '("dddot" t) + '("ddddot" t) + "bmod" "notag" + "dots" "dotsb" "dotsc" "dotsi" "dotsm" "dotso" "nobreakdash" + '("lvert" TeX-arg-insert-right-brace-maybe) + '("lVert" TeX-arg-insert-right-brace-maybe) + "rvert" "rVert" + "iint" "iiint" "iiiint" "idotsint") + + (setq LaTeX-item-list + (append '(("split" . LaTeX-item-equation) + ("multline" . LaTeX-item-equation) + ("multline*" . LaTeX-item-equation) + ("gather" . LaTeX-item-equation) + ("gather*" . LaTeX-item-equation) + ("gathered" . LaTeX-item-equation) + ("align" . LaTeX-item-equation) + ("align*" . LaTeX-item-equation) + ("aligned" . LaTeX-item-equation) + ("alignat" . LaTeX-item-equation-alignat) + ("alignat*" . LaTeX-item-equation-alignat) + ("xalignat" . LaTeX-item-equation-alignat) + ("xalignat*" . LaTeX-item-equation-alignat) + ("xxalignat" . LaTeX-item-equation-alignat) + ("alignedat" . LaTeX-item-equation-alignat) + ("flalign" . LaTeX-item-equation) + ("flalign*" . LaTeX-item-equation) + ("matrix" . LaTeX-item-equation) + ("pmatrix" . LaTeX-item-equation) + ("bmatrix" . LaTeX-item-equation) + ("Bmatrix" . LaTeX-item-equation) + ("vmatrix" . LaTeX-item-equation) + ("Vmatrix" . LaTeX-item-equation) + ("smallmatrix" . LaTeX-item-equation) + ("subarray" . LaTeX-item-equation) + ("cases" . LaTeX-item-equation)) + LaTeX-item-list)) + + ;; When `LaTeX-amsmath-label' is nil, use value of LaTeX-equation-label: + (unless LaTeX-amsmath-label + (setq LaTeX-amsmath-label LaTeX-equation-label)) + + (setq LaTeX-label-alist + ;; Append amsmath environments to `LaTeX-label-alist', in order not to + ;; override possible custome values. + (append LaTeX-label-alist + '(("align" . LaTeX-amsmath-label) + ("alignat" . LaTeX-amsmath-label) + ("xalignat" . LaTeX-amsmath-label) + ("multline" . LaTeX-amsmath-label) + ("flalign" . LaTeX-amsmath-label) + ("gather" . LaTeX-amsmath-label)))) + + (set (make-local-variable 'TeX-braces-association) + (append '(("\\lvert" . "\\rvert") + ("\\lVert" . "\\rVert")) + TeX-braces-association)) + (set (make-local-variable 'TeX-left-right-braces) + (append '(("\\lvert") ("\\rvert") ("\\lVert") ("\\rVert")) + TeX-left-right-braces)) + + ;; amsmath includes amstext, amsbsy, & amsopn. + ;; So we run their hooks, too. + (TeX-run-style-hooks "amstext" "amsbsy" "amsopn") + + ;; RefTeX support: Tell RefTeX about amsmath environments. + (when (fboundp 'reftex-add-to-label-alist) + (reftex-add-to-label-alist '(AMSTeX))) + + ;; Add \eqref to `reftex-ref-style-alist' and associate it to `e' + (when (and (boundp 'reftex-ref-style-alist) + ;; check if Emacs is already equipped with this + (not (assoc "AMSmath" reftex-ref-style-alist))) + ;; Append it to a local version in order to avoid a clash with + ;; user settings + (add-to-list (make-local-variable 'reftex-ref-style-alist) + '("AMSmath" "amsmath" (("\\eqref" ?e))) + t)) + + ;; Activate `AMSmath' when `LaTeX-reftex-ref-style-auto-activate' + ;; is non-nil + (and LaTeX-reftex-ref-style-auto-activate + (fboundp 'reftex-ref-style-activate) + (reftex-ref-style-activate "AMSmath")) + + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("boxed" "{")) + 'math-command))) + TeX-dialect) + +(defun LaTeX-amsmath-env-alignat (env) + "Insert ENV with column number specifications. +Insert suitable number of ampersands also if possible." + (let ((ncols (TeX-read-string "Number of columns: "))) + (LaTeX-insert-environment env (concat TeX-grop ncols TeX-grcl)) + (LaTeX-item-equation-alignat t))) + +(defun LaTeX-amsmath-env-alignedat (env) + "Insert ENV with position and column number specifications. +Insert suitable number of ampersands also if possible." + (let ((where (TeX-read-string "(Optional) Vertical position (t or b): ")) + (ncols (TeX-read-string "Number of columns: "))) + (unless (string= where "") + (setq where (concat LaTeX-optop where LaTeX-optcl))) + (LaTeX-insert-environment env (concat where TeX-grop ncols TeX-grcl)) + (LaTeX-item-equation-alignat t))) + +(defun LaTeX-item-equation (&optional suppress) + "Insert contents to terminate a line in multi-line equations environment. +Put line break macro on the last line. If the current environment +wants \\label, insert it also. + +If SUPPRESS is non-nil, do not insert line break macro." + (unless suppress + (end-of-line 0) + (just-one-space) + (TeX-insert-macro "\\") + (forward-line 1) + (indent-according-to-mode)) + (let ((env (LaTeX-current-environment))) + (when (and (assoc env LaTeX-label-alist) + (LaTeX-label env 'environment)) + (LaTeX-newline) + (indent-according-to-mode)))) + +(defun LaTeX-item-equation-alignat (&optional suppress) + "Insert contents to terminate a line in multi-line equations environment. +Put line break macro on the last line. Next, if the current +environment wants \\label, insert it also. And insert suitable number +of ampersands if possible. + +If SUPPRESS is non-nil, do not insert line break macro." + (LaTeX-item-equation suppress) + (LaTeX-insert-ampersands + (concat "\\(?:" + (regexp-quote LaTeX-optop) "[tb]" (regexp-quote LaTeX-optcl) + "\\)?") + #'LaTeX-amsmath-alignat-number-of-ampersands)) + +(defun LaTeX-amsmath-alignat-number-of-ampersands (start end) + "Return the number of ampersands to insert. +The number is 2N-1 where N is the number taken from the text between +START and END." + (let ((num (string-to-number (buffer-substring-no-properties start end)))) + (if (integerp num) (+ num num -1)))) + +(defvar LaTeX-amsmath-package-options '("intlimits" "nointlimits" + "sumlimits" "nosumlimits" + "namelimits" "nonamelimits" + "leqno" "reqno" "centertags" + "tbtags" "cmex10" "fleqn" "?" + "alignedleftspaceyes" + "alignedleftspaceno" + "alignedleftspaceyesifneg") + "Package options for the amsmath package.") + +;;; amsmath.el ends here. diff --git a/elpa/auctex-13.1.3/style/amsmath.elc b/elpa/auctex-13.1.3/style/amsmath.elc new file mode 100644 index 0000000..5179dd0 Binary files /dev/null and b/elpa/auctex-13.1.3/style/amsmath.elc differ diff --git a/elpa/auctex-13.1.3/style/amsopn.el b/elpa/auctex-13.1.3/style/amsopn.el new file mode 100644 index 0000000..10572bd --- /dev/null +++ b/elpa/auctex-13.1.3/style/amsopn.el @@ -0,0 +1,56 @@ +;;; amsopn.el --- AUCTeX style for the `amsnopn.sty' AMS-LaTeX package -*- lexical-binding: t; -*- + +;; Copyright (C) 1997, 2002, 2005, 2013, 2020 Free Software Foundation, Inc. + +;; Author: Carsten Dominik +;; Mads Jensen +;; Maintainer: auctex-devel@gnu.org +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `amsnopn.sty' + +(require 'tex) +(require 'latex) + +;;; Code: + +(TeX-add-style-hook + "amsopn" + (lambda () + (TeX-add-symbols + '("DeclareMathOperator" (TeX-arg-define-macro "Math Operator: \\") + "Expansion text for the math operator") + '("DeclareMathOperator*" (TeX-arg-define-macro "Math Operator: \\") + "Expansion text for the math operator") + '("operatorname" t) + '("operatorname*" t)) + + (add-to-list 'LaTeX-auto-regexp-list + '("\\\\DeclareMathOperator\\*?{?\\\\\\([A-Za-z0-9]+\\)}?" + 1 TeX-auto-symbol))) + TeX-dialect + ) + +(defvar LaTeX-amsopn-package-options '("namelimits" "nonamelimits") + "Package options for the amsopn package.") + +;;; amsopn.el ends here. diff --git a/elpa/auctex-13.1.3/style/amsopn.elc b/elpa/auctex-13.1.3/style/amsopn.elc new file mode 100644 index 0000000..51efbfc Binary files /dev/null and b/elpa/auctex-13.1.3/style/amsopn.elc differ diff --git a/elpa/auctex-13.1.3/style/amssymb.el b/elpa/auctex-13.1.3/style/amssymb.el new file mode 100644 index 0000000..5fdb82c --- /dev/null +++ b/elpa/auctex-13.1.3/style/amssymb.el @@ -0,0 +1,253 @@ +;;; amssymb.el --- AUCTeX style for `amssymb.sty' -*- lexical-binding: t; -*- + +;; Copyright (C) 2012, 2020 Free Software Foundation, Inc. + +;; Author: Mads Jensen +;; Maintainer: auctex-devel@gnu.org +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `amssymb.sty'. + +;; The commands were just taken out of the \DeclareMathSymbol from +;; amssymb.sty in the order specified there, i.e., \mathord, \mathbin, +;; \mathrel + +;;; Code: + +(require 'tex) +(require 'latex) + +(TeX-add-style-hook + "amssymb" + (lambda () + (TeX-run-style-hooks "amsfonts") + (TeX-add-symbols + "boxdot" + "boxplus" + "boxtimes" + "square" + "blacksquare" + "centerdot" + "lozenge" + "blacklozenge" + "circlearrowright" + "circlearrowleft" + "leftrightharpoons" + "boxminus" + "Vdash" + "Vvdash" + "vDash" + "twoheadrightarrow" + "twoheadleftarrow" + "leftleftarrows" + "rightrightarrows" + "upuparrows" + "downdownarrows" + "upharpoonright" + "downharpoonright" + "upharpoonleft" + "downharpoonleft" + "rightarrowtail" + "leftarrowtail" + "leftrightarrows" + "rightleftarrows" + "Lsh" + "Rsh" + "rightsquigarrow" + "leftrightsquigarrow" + "looparrowleft" + "looparrowright" + "circeq" + "succsim" + "gtrsim" + "gtrapprox" + "multimap" + "therefore" + "because" + "doteqdot" + "triangleq" + "precsim" + "lesssim" + "lessapprox" + "eqslantless" + "eqslantgtr" + "curlyeqprec" + "curlyeqsucc" + "preccurlyeq" + "leqq" + "leqslant" + "lessgtr" + "backprime" + "risingdotseq" + "fallingdotseq" + "succcurlyeq" + "geqq" + "geqslant" + "gtrless" + "vartriangleright" + "vartriangleleft" + "trianglerighteq" + "trianglelefteq" + "bigstar" + "between" + "blacktriangledown" + "blacktriangleright" + "blacktriangleleft" + "vartriangle" + "blacktriangle" + "triangledown" + "eqcirc" + "lesseqgtr" + "gtreqless" + "lesseqqgtr" + "gtreqqless" + "Rrightarrow" + "Lleftarrow" + "veebar" + "barwedge" + "doublebarwedge" + "measuredangle" + "sphericalangle" + "varpropto" + "smallsmile" + "smallfrown" + "Subset" + "Supset" + "Cup" + "Cap" + "curlywedge" + "curlyvee" + "leftthreetimes" + "rightthreetimes" + "subseteqq" + "supseteqq" + "bumpeq" + "Bumpeq" + "lll" + "ggg" + "circledS" + "pitchfork" + "dotplus" + "backsim" + "backsimeq" + "complement" + "intercal" + "circledcirc" + "circledast" + "circleddash" + "lvertneqq" + "gvertneqq" + "nleq" + "ngeq" + "nless" + "ngtr" + "nprec" + "nsucc" + "lneqq" + "gneqq" + "nleqslant" + "ngeqslant" + "lneq" + "gneq" + "npreceq" + "nsucceq" + "precnsim" + "succnsim" + "lnsim" + "gnsim" + "nleqq" + "ngeqq" + "precneqq" + "succneqq" + "precnapprox" + "succnapprox" + "lnapprox" + "gnapprox" + "nsim" + "ncong" + "diagup" + "diagdown" + "varsubsetneq" + "varsupsetneq" + "nsubseteqq" + "nsupseteqq" + "subsetneqq" + "supsetneqq" + "varsubsetneqq" + "varsupsetneqq" + "subsetneq" + "supsetneq" + "nsubseteq" + "nsupseteq" + "nparallel" + "nmid" + "nshortmid" + "nshortparallel" + "nvdash" + "nVdash" + "nvDash" + "nVDash" + "ntrianglerighteq" + "ntrianglelefteq" + "ntriangleleft" + "ntriangleright" + "nleftarrow" + "nrightarrow" + "nLeftarrow" + "nRightarrow" + "nLeftrightarrow" + "nleftrightarrow" + "divideontimes" + "varnothing" + "nexists" + "Finv" + "Game" + "eth" + "eqsim" + "beth" + "gimel" + "daleth" + "lessdot" + "gtrdot" + "ltimes" + "rtimes" + "shortmid" + "shortparallel" + "smallsetminus" + "thicksim" + "thickapprox" + "approxeq" + "succapprox" + "precapprox" + "curvearrowleft" + "curvearrowright" + "digamma" + "varkappa" + "Bbbk" + "hslash" + "backepsilon")) + TeX-dialect) + +(defvar LaTeX-amssymb-package-options '("psamsfonts") + "Package options for the amssymb package.") + +;;; amssymb.el ends here. diff --git a/elpa/auctex-13.1.3/style/amssymb.elc b/elpa/auctex-13.1.3/style/amssymb.elc new file mode 100644 index 0000000..255a692 Binary files /dev/null and b/elpa/auctex-13.1.3/style/amssymb.elc differ diff --git a/elpa/auctex-13.1.3/style/amstex.el b/elpa/auctex-13.1.3/style/amstex.el new file mode 100644 index 0000000..7588935 --- /dev/null +++ b/elpa/auctex-13.1.3/style/amstex.el @@ -0,0 +1,63 @@ +;;; amstex.el --- AMS-LaTeX support. -*- lexical-binding: t; -*- + +;; Copyright (C) 2004, 2005, 2020 Free Software Foundation, Inc. + +;; Maintainer: auctex-devel@gnu.org +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file is only needed when using AMS-LaTeX 1.1 and LaTeX 2.09. +;; In later versions of LaTeX and AMS-LaTeX this file is never used, +;; because there is no longer a class or package name amstex. +;; +;; As far as AUCTeX is concerned, the old amstex style is fairly +;; similar to the new amsmath package. So we will just run that hook +;; here. +;; +;; amsmath.el should not be loaded, if an AMS-TeX (in contrast to +;; AMS-LaTeX) file is opened. The commands defined in amsmath.el +;; mostly have no meaning in this case and errors about unknown +;; variables or functions may occur due to latex.el possibly not being +;; loaded. + +;;; Code: + +(require 'tex) +(require 'latex) + +(TeX-add-style-hook + "amstex" + (lambda () + (unless (memq major-mode '(plain-tex-mode ams-tex-mode)) + (TeX-run-style-hooks "amsmath"))) + TeX-dialect) + +(defvar LaTeX-amstex-package-options '("noamsfonts" "psamsfonts" + "intlimits" "nointlimits" + "sumlimits" "nosumlimits" + "namelimits" "nonamelimits" + "leqno" "reqno" "centertags" + "tbtags" "fleqn" "righttag" + "ctagsplt" "intlim" "nosumlim" + "nonamelm") + "Package options for the amstex package.") + +;;; amstex.el ends here. diff --git a/elpa/auctex-13.1.3/style/amstex.elc b/elpa/auctex-13.1.3/style/amstex.elc new file mode 100644 index 0000000..9470a94 Binary files /dev/null and b/elpa/auctex-13.1.3/style/amstex.elc differ diff --git a/elpa/auctex-13.1.3/style/amstext.el b/elpa/auctex-13.1.3/style/amstext.el new file mode 100644 index 0000000..96f1dd1 --- /dev/null +++ b/elpa/auctex-13.1.3/style/amstext.el @@ -0,0 +1,20 @@ +;;; amstext.el --- Style hook for the AMS-LaTeX amstext package. -*- lexical-binding: t; -*- +;;; +;;; AUTHOR: Carsten Dominik + +;;; Code: + +(require 'tex) +(require 'latex) + +(TeX-add-style-hook + "amstext" + (lambda () + (TeX-add-symbols + '("text" t))) + TeX-dialect) + +(defvar LaTeX-amstext-package-options nil + "Package options for the amstext package.") + +;;; amstext.el ends here. diff --git a/elpa/auctex-13.1.3/style/amstext.elc b/elpa/auctex-13.1.3/style/amstext.elc new file mode 100644 index 0000000..c829e67 Binary files /dev/null and b/elpa/auctex-13.1.3/style/amstext.elc differ diff --git a/elpa/auctex-13.1.3/style/amsthm.el b/elpa/auctex-13.1.3/style/amsthm.el new file mode 100644 index 0000000..3ea8176 --- /dev/null +++ b/elpa/auctex-13.1.3/style/amsthm.el @@ -0,0 +1,201 @@ +;;; amsthm.el --- Style hook for the AMS-LaTeX amsthm package. -*- lexical-binding: t; -*- + +;; Copyright (C) 1997, 2013--2015, 2018, 2020 Free Software Foundation, Inc. + +;; Author: Carsten Dominik +;; Maintainer: auctex-devel@gnu.org + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; The style provides the function `LaTeX-amsthm-env-label' which +;; enables new defined environments with "\newtheoreom" to interact +;; with AUCTeX and RefTeX mechanisms for inserting labels. Check +;; docstring of `LaTeX-amsthm-env-label' for instructions. + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(defvar LaTeX-amsthm-package-options nil + "Package options for the amsthm package.") + +(defvar LaTeX-amsthm-fontdecl + '(;; family + "rmfamily" "sffamily" "ttfamily" + ;; series + "mdseries" "bfseries" + ;; shape + "upshape" "itshape" "slshape" "scshape" + ;; size + "tiny" "scriptsize" "footnotesize" + "small" "normalsize" "large" + "Large" "LARGE" "huge" "Huge" + ;; reset macro + "normalfont") + "List of font declaration commands for \"\\newtheoremstyle\".") + +(defun LaTeX-arg-amsthm-fontdecl (optional &optional prompt) + "Prompt for font declaration commands in \"\\newtheoremstyle\". +If OPTIONAL is non-nil, insert the resulting value as an optional +argument. Use PROMPT as the prompt string." + (let* ((crm-separator (regexp-quote TeX-esc)) + (fontdecl (mapconcat #'identity + (TeX-completing-read-multiple + (TeX-argument-prompt optional prompt "Font: \\" t) + LaTeX-amsthm-fontdecl) + TeX-esc))) + (TeX-argument-insert fontdecl + optional + (when (and fontdecl (not (string= fontdecl ""))) + TeX-esc)))) + +(defun LaTeX-amsthm-env-label (environment) + "Insert ENVIRONMENT, query for an optional argument and prompt +for label. AUCTeX users should add ENVIRONMENT to +`LaTeX-label-alist' via customize or in init-file with: + + (add-to-list \\='LaTeX-label-alist \\='(\"lemma\" . \"lem:\")) + +RefTeX users should customize or add ENVIRONMENT to +`LaTeX-label-alist' and `reftex-label-alist', for example + + (add-to-list \\='LaTeX-label-alist \\='(\"lemma\" . \"lem:\")) + (add-to-list \\='reftex-label-alist + \\='(\"lemma\" ?m \"lem:\" \"~\\ref{%s}\" + nil (\"Lemma\" \"lemma\") nil))" + (let ((opthead (TeX-read-string + (TeX-argument-prompt t nil "Heading")))) + (LaTeX-insert-environment environment + (when (and opthead + (not (string= opthead ""))) + (format "[%s]" opthead)))) + (when (LaTeX-label environment 'environment) + (LaTeX-newline) + (indent-according-to-mode))) + +;; Setup parsing for \newtheorem +(TeX-auto-add-type "amsthm-newtheorem" "LaTeX") + +;; Setup parsing for \newtheoremstyle +(TeX-auto-add-type "amsthm-newtheoremstyle" "LaTeX") + +(defun LaTeX-amsthm-auto-prepare () + "Clear `LaTeX-auto-amsthm-newtheorem' and +`LaTeX-auto-amsthm-newtheoremstyle' before parsing." + (setq LaTeX-auto-amsthm-newtheorem nil) + (setq LaTeX-auto-amsthm-newtheoremstyle nil)) + +(defun LaTeX-amsthm-auto-cleanup () + "Move parsed results from `LaTeX-auto-amsthm-newtheorem' and +make them available as new environments." + (dolist (newthm (mapcar #'car (LaTeX-amsthm-newtheorem-list))) + (LaTeX-add-environments (list newthm #'LaTeX-amsthm-env-label)))) + +(add-hook 'TeX-auto-prepare-hook #'LaTeX-amsthm-auto-prepare t) +(add-hook 'TeX-auto-cleanup-hook #'LaTeX-amsthm-auto-cleanup t) +(add-hook 'TeX-update-style-hook #'TeX-auto-parse t) + +(TeX-add-style-hook + "amsthm" + (lambda () + ;; Add the pre-defined styles: + (LaTeX-add-amsthm-newtheoremstyles "definition" + "plain" + "remark") + + (LaTeX-add-environments + '("proof" LaTeX-amsthm-env-label)) + + (TeX-add-symbols + ;; Overrule the defintion in `latex.el': + '("newtheorem" + (TeX-arg-eval + (lambda () + (let ((nthm (TeX-read-string + (TeX-argument-prompt nil nil "Environment")))) + (LaTeX-add-amsthm-newtheorems nthm) + (LaTeX-add-environments (list nthm #'LaTeX-amsthm-env-label)) + (format "%s" nthm)))) + [ TeX-arg-environment "Numbered like" ] + t [ (TeX-arg-eval progn (if (eq (save-excursion + (backward-char 2) + (preceding-char)) ?\]) + () + (TeX-arg-counter t "Within counter")) + "") ]) + + '("newtheorem*" + (TeX-arg-eval + (lambda () + (let ((nthm (TeX-read-string + (TeX-argument-prompt nil nil "Environment"))) + (heading (TeX-read-string + (TeX-argument-prompt nil nil "Heading")))) + (LaTeX-add-amsthm-newtheorems nthm) + (LaTeX-add-environments (list nthm #'LaTeX-amsthm-env-label)) + (insert (concat TeX-grop nthm TeX-grcl)) + (format "%s" heading))))) + + '("theoremstyle" + (TeX-arg-eval completing-read + (TeX-argument-prompt nil nil "Style") + (LaTeX-amsthm-newtheoremstyle-list))) + "qedhere" + "swapnumbers" + + '("newtheoremstyle" + (TeX-arg-eval + (lambda () + (let ((nthmstyle (TeX-read-string + (TeX-argument-prompt nil nil "Style name")))) + (LaTeX-add-amsthm-newtheoremstyles nthmstyle) + (format "%s" nthmstyle)))) + (TeX-arg-length "Space above") + (TeX-arg-length "Space below") + (LaTeX-arg-amsthm-fontdecl "Body font: \\") + "Indent amount" + (LaTeX-arg-amsthm-fontdecl "Theorem head font: \\") + "Punctuation after head" + (TeX-arg-length "Space after head") + "Theorem head spec")) + + (TeX-auto-add-regexp + `(,(concat "\\\\newtheorem\\*?{\\(" TeX-token-char "+\\)}") + 1 LaTeX-auto-amsthm-newtheorem)) + (TeX-auto-add-regexp + `(,(concat "\\\\newtheoremstyle{\\(" TeX-token-char "+\\)}") + 1 LaTeX-auto-amsthm-newtheoremstyle)) + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("newtheorem" "*{[{[") + ("theoremstyle" "{") + ("newtheoremstyle" "{{{{{{{{{")) + 'function))) + TeX-dialect) + +;;; amsthm.el ends here diff --git a/elpa/auctex-13.1.3/style/amsthm.elc b/elpa/auctex-13.1.3/style/amsthm.elc new file mode 100644 index 0000000..be4b50f Binary files /dev/null and b/elpa/auctex-13.1.3/style/amsthm.elc differ diff --git a/elpa/auctex-13.1.3/style/appendix.el b/elpa/auctex-13.1.3/style/appendix.el new file mode 100644 index 0000000..406aef5 --- /dev/null +++ b/elpa/auctex-13.1.3/style/appendix.el @@ -0,0 +1,79 @@ +;;; appendix.el --- AUCTeX style for `appendix.sty' (v1.2c) -*- lexical-binding: t; -*- + +;; Copyright (C) 2020 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2020-10-10 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `appendix.sty' version 1.2c from +;; 2020/02/08. + +;;; Code: + +(require 'tex) +(require 'latex) + +(TeX-add-style-hook + "appendix" + (lambda () + + (TeX-add-symbols + "appendixpage" + "addappheadtotoc" + "noappendicestocpagenum" + "appendicestocpagenum" + "appendixname" + "appendixtocname" + "appendixpagename" + + "appendixtocon" + "appendixtocoff" + "appendixpageon" + "appendixpageoff" + "appendixtitleon" + "appendixtitleoff" + "appendixtitletocon" + "appendixtitletocoff" + "appendixheaderon" + "appendixheaderoff" + "restoreapp" + + "setthesection" + "setthesubsection") + + (LaTeX-add-environments + '("appendices") + '("subappendices")) + + ;; Don't indent the content inside \(sub\)?appendices environments: + (unless (string-match "appendices" LaTeX-document-regexp) + (set (make-local-variable 'LaTeX-document-regexp) + (concat LaTeX-document-regexp "\\|\\(?:sub\\)?appendices")))) + TeX-dialect) + +(defvar LaTeX-appendix-package-options '("toc" "page" "title" + "titletoc" "header") + "Package options for the appendix package.") + +;;; appendix.el ends here diff --git a/elpa/auctex-13.1.3/style/appendix.elc b/elpa/auctex-13.1.3/style/appendix.elc new file mode 100644 index 0000000..85e2597 Binary files /dev/null and b/elpa/auctex-13.1.3/style/appendix.elc differ diff --git a/elpa/auctex-13.1.3/style/arabxetex.el b/elpa/auctex-13.1.3/style/arabxetex.el new file mode 100644 index 0000000..897b9cd --- /dev/null +++ b/elpa/auctex-13.1.3/style/arabxetex.el @@ -0,0 +1,121 @@ +;;; arabxetex.el --- AUCTeX style for `arabxetex.sty' (v1.2.1) -*- lexical-binding: t; -*- + +;; Copyright (C) 2017--2021 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2017-08-12 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `arabxetex.sty' (v1.2.1) from 2015/09/04. +;; `arabxetex.sty' is part of TeXLive. + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(TeX-add-style-hook + "arabxetex" + (lambda () + + ;; Run the style hooks for packages required by arabxetex: + (TeX-run-style-hooks "amsmath" "fontspec" "bidi") + + ;; We need xelatex, so check for the engine here: + (TeX-check-engine-add-engines 'xetex) + + ;; New macros & environments: + (let ((langs '("arab" + "farsi" "persian" + "urdu" + "sindhi" + "pashto" + "ottoman" "turk" + "kurdisch" + "kashmiri" + "malay" "jawi" + "uighur"))) + ;; Add \text[option]{...} + (mapc #'TeX-add-symbols + (mapcar + (lambda (symbol) + (list symbol + [ TeX-arg-eval completing-read + (TeX-argument-prompt t nil "Mode") + LaTeX-arabxetex-package-options ] + t)) + (mapcar (lambda (lang) (concat "text" lang)) langs))) + ;; + ;; Add \begin{}[option] ... \end{} + (mapc #'LaTeX-add-environments + (mapcar + (lambda (environment) + (list environment + #'LaTeX-env-args + [ TeX-arg-eval completing-read + (TeX-argument-prompt t nil "Mode") + LaTeX-arabxetex-package-options ])) + langs)) + ;; + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords (mapcar (lambda (lang) + (list (concat "text" lang) "[{")) + langs) + 'textual))) + + ;; Other macros: + (TeX-add-symbols + '("textLR" t) + '("aemph" t) + + ;; 3.3 Transliteration + '("SetTranslitConvention" + (TeX-arg-eval completing-read + (TeX-argument-prompt nil nil "Mapping") + '("dmg" "loc"))) + '("SetTranslitStyle" "Style")) + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("textLR" "{")) + 'textual) + (font-latex-add-keywords '(("aemph" "{")) + 'italic-command) + (font-latex-add-keywords '(("SetTranslitConvention" "{") + ("SetTranslitStyle" "{")) + 'function))) + TeX-dialect) + +(defvar LaTeX-arabxetex-package-options + '("novoc" "voc" "fullvoc" "trans" "utf") + "Package options for the arabxetex package.") + +;;; arabxetex.el ends here diff --git a/elpa/auctex-13.1.3/style/arabxetex.elc b/elpa/auctex-13.1.3/style/arabxetex.elc new file mode 100644 index 0000000..28a4429 Binary files /dev/null and b/elpa/auctex-13.1.3/style/arabxetex.elc differ diff --git a/elpa/auctex-13.1.3/style/array.el b/elpa/auctex-13.1.3/style/array.el new file mode 100644 index 0000000..be7baf3 --- /dev/null +++ b/elpa/auctex-13.1.3/style/array.el @@ -0,0 +1,111 @@ +;;; array.el --- AUCTeX style for `array.sty' -*- lexical-binding: t; -*- + +;; Copyright (C) 2013-2021 Free Software Foundation, Inc. + +;; Author: Mads Jensen +;; Maintainer: auctex-devel@gnu.org +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `array.sty' + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(TeX-auto-add-type "array-newcolumntype" "LaTeX") + +(defvar LaTeX-array-newcolumntype-regexp + '("\\\\newcolumntype{\\([^}]+\\)}" + 1 LaTeX-auto-array-newcolumntype) + "Matches the argument of `\\newcolumntype' from `array' +package.") + +(defun LaTeX-array-auto-prepare () + "Clear `LaTeX-auto-array-newcolumntype' before parsing." + (setq LaTeX-auto-array-newcolumntype nil)) + +(defun LaTeX-array-auto-cleanup () + "Move parsed column specification from +`LaTeX-auto-array-newcolumntype' to `LaTeX-array-column-letters'." + (when (LaTeX-array-newcolumntype-list) + (LaTeX-array-update-column-letters))) + +(defun LaTeX-array-update-column-letters () + "Update and uniquify the value of `LaTeX-array-column-letters' +and make it buffer local. " + (set (make-local-variable 'LaTeX-array-column-letters) + (mapconcat #'identity + (TeX-delete-duplicate-strings + (split-string + (concat LaTeX-array-column-letters + (mapconcat #'car (LaTeX-array-newcolumntype-list) "")) + "" t)) + ""))) + +(add-hook 'TeX-auto-prepare-hook #'LaTeX-array-auto-prepare t) +(add-hook 'TeX-auto-cleanup-hook #'LaTeX-array-auto-cleanup t) +(add-hook 'TeX-update-style-hook #'TeX-auto-parse t) + +(TeX-add-style-hook + "array" + (lambda () + + (TeX-auto-add-regexp LaTeX-array-newcolumntype-regexp) + + (TeX-add-symbols + '("newcolumntype" + (TeX-arg-eval + (lambda () + (let ((col (TeX-read-string "Column type: "))) + (LaTeX-add-array-newcolumntypes col) + (LaTeX-array-update-column-letters) + (format "%s" col)))) + [ "Number of arguments" ] t) + '("showcols" 0) + '("firsthline" 0) + '("lasthline" 0)) + + ;; `array.sty' adds a couple of new lengths. They're added here, rather than + ;; in the `TeX-add-symbols' block. + (LaTeX-add-lengths "extratabsurround" "extrarowheight") + + ;; `array.sty' adds some new column specification letters. + (set (make-local-variable 'LaTeX-array-column-letters) + (concat LaTeX-array-column-letters "m" "b" "w" "W")) + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("newcolumntype" "{[{")) + 'function))) + TeX-dialect) + +(defvar LaTeX-array-package-options nil + "Package options for array.") + +;; array.el ends here diff --git a/elpa/auctex-13.1.3/style/array.elc b/elpa/auctex-13.1.3/style/array.elc new file mode 100644 index 0000000..1bb2031 Binary files /dev/null and b/elpa/auctex-13.1.3/style/array.elc differ diff --git a/elpa/auctex-13.1.3/style/article.el b/elpa/auctex-13.1.3/style/article.el new file mode 100644 index 0000000..1278ddb --- /dev/null +++ b/elpa/auctex-13.1.3/style/article.el @@ -0,0 +1,24 @@ +;;; article.el - Special code for article style. -*- lexical-binding: t; -*- + +;;; Code: + +(require 'tex) +(require 'latex) + +(defvar LaTeX-article-class-options + '("a4paper" "a5paper" "b5paper" "letterpaper" "legalpaper" "executivepaper" + "landscape" "10pt" "11pt" "12pt" "oneside" "twoside" "draft" "final" + "titlepage" "notitlepage" "onecolumn" "twocolumn" "leqno" "fleqn" "openbib") + "Package options for the article class.") + +(TeX-add-style-hook + "article" + (lambda () + (LaTeX-largest-level-set "section") + (LaTeX-add-counters "part" "section" "subsection" "subsubsection" "paragraph" + "subparagraph" "figure" "table") + (LaTeX-add-pagestyles "headings" "myheadings") + (LaTeX-add-environments "abstract")) + TeX-dialect) + +;;; article.el ends here diff --git a/elpa/auctex-13.1.3/style/article.elc b/elpa/auctex-13.1.3/style/article.elc new file mode 100644 index 0000000..1f4b621 Binary files /dev/null and b/elpa/auctex-13.1.3/style/article.elc differ diff --git a/elpa/auctex-13.1.3/style/attachfile.el b/elpa/auctex-13.1.3/style/attachfile.el new file mode 100644 index 0000000..c090b5a --- /dev/null +++ b/elpa/auctex-13.1.3/style/attachfile.el @@ -0,0 +1,127 @@ +;;; attachfile.el --- AUCTeX style for `attachfile.sty' (v1.6) -*- lexical-binding: t; -*- + +;; Copyright (C) 2015, 2018, 2020 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2015-04-11 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `attachfile.sty' (v1.6) from 2015/04/04. +;; `attachfile.sty' is part of TeXLive. + +;;; Code: + +(require 'tex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(defvar LaTeX-attachfile-key-val-options + '(("appearance" ("true" "false")) + ("author") + ("color") + ("created") + ("date") + ("description") + ("icon" ("Graph" "Paperclip" "PushPin" "Tag")) + ;; This can only be a small excerpt: + ("mimetype" + ("application/javascript" + "application/pdf" + "application/postscript" + "application/vnd.ms-excel" + "application/vnd.ms-powerpoint" + "application/zip" + "audio/mpeg" + "audio/ogg" + "image/jpeg" + "image/png" + "image/tiff" + "text/csv" + "text/plain" + "video/H264" + "video/mp4")) + ("modified") + ("print" ("true" "false")) + ("size") + ("subject") + ("timezone") + ("zoom" ("true" "false"))) + "Key=value options for attachfile macros.") + +(TeX-add-style-hook + "attachfile" + (lambda () + ;; Run style hook for packages loaded by attachfile; both packages + ;; are required for running LaTeX, but not necessary within AUCTeX + (TeX-run-style-hooks "hyperref" "color") + + (TeX-add-symbols + ;; \attachfile[]{} + '("attachfile" + [TeX-arg-key-val LaTeX-attachfile-key-val-options] + (TeX-arg-eval + (lambda () + (let ((atfi (file-relative-name + (read-file-name "File to attach: ")))) + (format "%s" atfi))))) + + ;; \noattachfile[] + '("noattachfile" + [TeX-arg-key-val LaTeX-attachfile-key-val-options] ) + + ;; \textattachfile[]{}{} + '("textattachfile" + [TeX-arg-key-val LaTeX-attachfile-key-val-options] + (TeX-arg-eval + (lambda () + (let ((atfi (file-relative-name + (read-file-name "File to attach: ")))) + (format "%s" atfi)))) + t) + + ;; \notextattachfile[]{} + '("notextattachfile" + [TeX-arg-key-val LaTeX-attachfile-key-val-options] t) + + ;; \attachfilesetup{} + '("attachfilesetup" + (TeX-arg-key-val LaTeX-attachfile-key-val-options))) + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("attachfilesetup" "{") + ("attachfile" "[{") + ("noattachfile" "[") + ("textattachfile" "[{{") + ("notextattachfile" "[{")) + 'function))) + TeX-dialect) + +(defvar LaTeX-attachfile-package-options nil + "Prompt for package options for the attachfile package.") + +;;; attachfile.el ends here diff --git a/elpa/auctex-13.1.3/style/attachfile.elc b/elpa/auctex-13.1.3/style/attachfile.elc new file mode 100644 index 0000000..5a334d9 Binary files /dev/null and b/elpa/auctex-13.1.3/style/attachfile.elc differ diff --git a/elpa/auctex-13.1.3/style/australian.el b/elpa/auctex-13.1.3/style/australian.el new file mode 100644 index 0000000..7d9d830 --- /dev/null +++ b/elpa/auctex-13.1.3/style/australian.el @@ -0,0 +1,42 @@ +;;; australian.el --- AUCTeX style for the `australian' babel option. -*- lexical-binding: t; -*- + +;; Copyright (C) 2017, 2020 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2017-07-02 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; Set up AUCTeX for editing Australian text in connection with the +;; `australian' babel option. + +;;; Code: + +(require 'tex) + +(TeX-add-style-hook + "australian" + (lambda () + (TeX-run-style-hooks "english")) + TeX-dialect) + +;;; australian.el ends here diff --git a/elpa/auctex-13.1.3/style/australian.elc b/elpa/auctex-13.1.3/style/australian.elc new file mode 100644 index 0000000..9065a15 Binary files /dev/null and b/elpa/auctex-13.1.3/style/australian.elc differ diff --git a/elpa/auctex-13.1.3/style/austrian.el b/elpa/auctex-13.1.3/style/austrian.el new file mode 100644 index 0000000..98305fd --- /dev/null +++ b/elpa/auctex-13.1.3/style/austrian.el @@ -0,0 +1,42 @@ +;;; austrian.el --- AUCTeX style for the `austrian' babel option. -*- lexical-binding: t; -*- + +;; Copyright (C) 2009, 2020 Free Software Foundation, Inc. + +;; Author: Ralf Angeli +;; Maintainer: auctex-devel@gnu.org +;; Created: 2009-12-28 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; Set up AUCTeX for editing Austrian text in connection with the +;; `austrian' babel option. + +;;; Code: + +(require 'tex) + +(TeX-add-style-hook + "austrian" + (lambda () + (TeX-run-style-hooks "german")) + TeX-dialect) + +;;; austrian.el ends here diff --git a/elpa/auctex-13.1.3/style/austrian.elc b/elpa/auctex-13.1.3/style/austrian.elc new file mode 100644 index 0000000..c53804b Binary files /dev/null and b/elpa/auctex-13.1.3/style/austrian.elc differ diff --git a/elpa/auctex-13.1.3/style/babel.el b/elpa/auctex-13.1.3/style/babel.el new file mode 100644 index 0000000..a7d6747 --- /dev/null +++ b/elpa/auctex-13.1.3/style/babel.el @@ -0,0 +1,436 @@ +;;; babel.el --- AUCTeX style for `babel.sty' version 3.31. -*- lexical-binding: t; -*- + +;; Copyright (C) 2005-2022 Free Software Foundation, Inc. + +;; Author: Ralf Angeli +;; Maintainer: auctex-devel@gnu.org +;; Created: 2005-05-29 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `babel.sty' version 3.31 from 2019/05/04. + +;;; Code: + +(require 'tex) +(require 'latex) + +(eval-when-compile + (require 'cl-lib)) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(defvar LaTeX-babel-language-list + '("afrikaans" + "azerbaijani" + "bahasa" "indonesian" "indon" "bahasai" "bahasam" "malay" "meyalu" + "basque" + "breton" + "bulgarian" + "catalan" + "croatian" + "czech" + "danish" + "dutch" + "english" "USenglish" "american" "UKenglish" "british" "canadian" + "australian" "newzealand" + "esperanto" + "estonian" + "finnish" + "french" "francais" "canadien" "acadian" + "galician" + "austrian" "german" "germanb" "ngerman" "naustrian" + "greek" "polutonikogreek" + "hebrew" + "icelandic" + "interlingua" + "irish" + "italian" + "latin" + "lowersorbian" + "samin" + "norsk" "nynorsk" + "polish" + "portuges" "portuguese" "brazilian" "brazil" + "romanian" + "russian" + "scottish" + "spanish" + "slovak" + "slovene" + "swedish" + "serbian" + "turkish" + "ukrainian" + "uppersorbian" + "welsh" + ;; Extra languages mentioned in the `babel' manual. + "albanian" "hindi" "thai" "thaicjk" "latvian" "turkmen" "hungarian" "magyar" + "mongolian" "romansh" "lithuanian" "spanglish" "vietnamese" "japanese" + "pinyin" "arabinc" "farsi" "ibygreek" "bgreek" "serbianic" "frenchle" + "ethiop" "friulan") + "List of languages supported by the babel LaTeX package.") + +(defvar LaTeX-babel-babelprovide-key-val-options + `(("import") + ("captions") + ("hyphenrules" ,(append '("+") LaTeX-babel-language-list)) + ("main") + ("script") + ("language") + ("mapfont") + ("intraspace") + ("intrapenalty")) + "Key=value options for `\\babelprovide' macro from `babel' package.") + +(defun LaTeX-babel-active-languages () + "Return a list of languages used in the document." + (let (main-language active-languages) + ;; Loop over options provided to class and `babel' package at load time. + (dolist (elt (append + ;; In most cases there is only one element in the alist, if + ;; there is more than one element, the first one should + ;; contain the class options of the current buffer. So we can + ;; take the car of `LaTeX-provided-class-options'. + (cdr (car LaTeX-provided-class-options)) + (cdr (assoc "babel" LaTeX-provided-package-options)))) + (setq elt (split-string elt "=")) + (if (equal (car elt) "main") + ;; Starting from version 3.9 of `babel' package, languages can be set + ;; with the following syntax: + ;; \usepackage[latin.medieval,main=danish,spanish.notilde]{babel} + ;; with `danish' being the default language. When the default + ;; language is set with the `main' option, we record it and append to + ;; the list at the end. + (setq main-language (car (cdr elt))) + ;; Get rid of the modifiers (`medieval' and `notilde' in the above + ;; example). + (setq elt (car (split-string (car elt) "\\."))) + (if (member elt LaTeX-babel-language-list) + ;; Append element to `active-languages' to respect loading order. + ;; `babel' package uses as default language the last loaded one, + ;; except if it is set with the `main' option. + (cl-pushnew elt active-languages :test #'equal)))) + (if main-language + (cl-pushnew main-language active-languages :test #'equal)) + (nreverse active-languages))) + +;; Setup for \babeltags: Note that the macro is \babeltags, we use +;; the version without `s' in order to reduce the hassle with AUCTeX +;; auto-generating the plural form: +(TeX-auto-add-type "babel-babeltag" "LaTeX") + +(defvar LaTeX-babel-babeltags-regexp + '("\\\\babeltags{\\([^}]+\\)}" 1 LaTeX-auto-babel-babeltag) + "Matches the argument of `\\babeltags' from `babel' package.") + +(defun LaTeX-babel-cleanup-babeltags () + "Parse defined babel tags and add them to AUCTeX." + ;; Check if we parsed something at all + (when (LaTeX-babel-babeltag-list) + (let (results tag tags cmds) + ;; Clean up the parsed results from characters we don't want; + ;; also remove possible comment lines + (setq results + (replace-regexp-in-string + "%.*\\'\\|[ \n\r\t]" "" + (mapconcat #'car (LaTeX-babel-babeltag-list) ","))) + ;; Look if \babeltags was issued once with multiple entries or + ;; more than once in the document: + (if (string-match-p "," results) + (progn + (dolist (elt (split-string results "," t)) + (setq tag (car (split-string elt "=" t))) + (push tag tags) + (push (list (concat "text" tag) t) cmds) + (push (list tag -1) cmds))) + ;; One \babeltags with one entry only + (setq tag (car (split-string results "=" t))) + (push tag tags) + (push (list (concat "text" tag) t) cmds) + (push (list tag -1) cmds)) + (mapc #'TeX-add-symbols cmds) + (mapc #'LaTeX-add-environments tags) + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords (mapcar (lambda (x) + (list (concat "text" x) "{")) + tags) + 'textual) + (font-latex-add-keywords (mapcar (lambda (x) + (list x "")) + tags) + 'type-declaration))))) + +;; Setup for \babelfont: +(TeX-auto-add-type "babel-babelfont" "LaTeX") + +(defvar LaTeX-babel-babelfont-regexp + '("\\\\babelfont\\(?:\\[[^]]*\\]\\)?[ \t\n\r%]*{\\([^}]+\\)}" + 1 LaTeX-auto-babel-babelfont) + "Matches the argument of `\\babelfont' from `babel' package.") + +(defun LaTeX-babel-cleanup-babelfont () + "Parse defined font-families and add them to AUCTeX." + (when (LaTeX-babel-babelfont-list) + (dolist (elt (mapcar #'car (LaTeX-babel-babelfont-list))) + ;; Don't do anything for standard font-families: + (unless (member elt '("rm" "sf" "tt")) + ;; Define \family, \default and \text: + (let ((fam (concat elt "family")) + (def (concat elt "default")) + (mac (concat "text" elt))) + (apply #'TeX-add-symbols + `((,fam -1) + (,def -1) + (,mac t))) + ;; Cater for fontification: + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords `((,fam "") + (,def "")) + 'type-declaration) + (font-latex-add-keywords `((,mac "{")) + 'type-command))))))) + +(defun LaTeX-babel-auto-prepare () + "Clear `LaTeX-auto-babel-babel*' before parsing." + (setq LaTeX-auto-babel-babeltag nil + LaTeX-auto-babel-babelfont nil)) + +(defun LaTeX-babel-auto-cleanup () + "Process parsed elements." + (LaTeX-babel-cleanup-babeltags) + (LaTeX-babel-cleanup-babelfont)) + +(add-hook 'TeX-auto-prepare-hook #'LaTeX-babel-auto-prepare t) +(add-hook 'TeX-auto-cleanup-hook #'LaTeX-babel-auto-cleanup t) +(add-hook 'TeX-update-style-hook #'TeX-auto-parse t) + +(defun TeX-arg-babel-lang (optional &optional prompt) + "Prompt for a language with completion and insert it as an argument." + (TeX-argument-insert + (completing-read + (TeX-argument-prompt optional prompt "Language") + (LaTeX-babel-active-languages)) + optional)) + +(defun LaTeX-env-babel-lang (env) + "Prompt for a language and insert it as an argument of ENV." + (LaTeX-insert-environment + env (format "{%s}" (completing-read "Language: " + (LaTeX-babel-active-languages))))) + +(defun LaTeX-babel-load-languages () + "Load style files of babel active languages." + ;; Run style hooks for every active language in loading order, so + ;; `TeX-quote-language' will be correctly set. + (mapc #'TeX-run-style-hooks (LaTeX-babel-active-languages))) + +(TeX-add-style-hook + "babel" + (lambda () + (LaTeX-babel-load-languages) + (add-hook 'LaTeX-after-usepackage-hook #'LaTeX-babel-load-languages nil t) + + ;; Add babel to the parser. + (TeX-auto-add-regexp LaTeX-babel-babeltags-regexp) + (TeX-auto-add-regexp LaTeX-babel-babelfont-regexp) + + ;; New symbols + (TeX-add-symbols + + ;; 1.7 Basic language selectors + '("selectlanguage" TeX-arg-babel-lang) + '("foreignlanguage" TeX-arg-babel-lang t) + + ;; 1.9 More on selection + '("babeltags" t) + '("babelensure" (TeX-arg-key-val + (("include") ("exclude") + ("fontenc" (;; 128+ glyph encodings (text) + "OT1" "OT2" "OT3" "OT4" "OT6" + ;; 256 glyph encodings (text) + "T1" "T2A" "T2B" "T2C" "T3" "T4" "T5" + ;; 256 glyph encodings (text extended) + "X2" + ;; Other encodings + "LY1" "LV1" "LGR")))) + TeX-arg-babel-lang) + ;; 1.10 Shorthands + '("shorthandon" "Shorthands list") + '("shorthandoff" "Shorthands list") + '("shorthandoff*" "Shorthands list") + '("useshorthands" "Character") + '("useshorthands*" "Character") + '("defineshorthand" + [TeX-arg-eval mapconcat #'identity + (TeX-completing-read-multiple + (TeX-argument-prompt t nil "Language(s)") + (LaTeX-babel-active-languages)) + ","] + t nil) + '("languageshorthands" TeX-arg-babel-lang) + '("babelshorthand" "Short hand") + '("ifbabelshorthand" "Character" t nil) + '("aliasshorthand" "Original" "Alias") + + ;; 1.12 The base option + '("AfterBabelLanguage" + (TeX-arg-eval completing-read + (TeX-argument-prompt nil nil "Language") + LaTeX-babel-language-list) + t) + + ;; 1.14 Selecting fonts + '("babelfont" + [TeX-arg-eval mapconcat #'identity + (TeX-completing-read-multiple + (TeX-argument-prompt t nil "Language(s)") + LaTeX-babel-language-list) + ","] + (TeX-arg-eval let ((fontfam (completing-read + (TeX-argument-prompt nil nil "font family") + '("rm" "sf" "tt")))) + ;; Run `TeX-check-engine-add-engines' and then + ;; load `fontspec.el' if not already loaded and + ;; make sure the key-vals are up to date. + (unless (member "fontspec" (TeX-style-list)) + (TeX-check-engine-add-engines 'luatex 'xetex) + (TeX-run-style-hooks "fontspec") + (LaTeX-fontspec-auto-cleanup)) + (LaTeX-add-babel-babelfonts fontfam) + (LaTeX-babel-cleanup-babelfont) + (format "%s" fontfam)) + [TeX-arg-key-val (LaTeX-fontspec-font-features)] + LaTeX-fontspec-arg-font) + + ;; 1.16 Creating a language + '("babelprovide" + [TeX-arg-key-val LaTeX-babel-babelprovide-key-val-options] + (TeX-arg-eval completing-read + (TeX-argument-prompt nil nil "Language") + LaTeX-babel-language-list)) + + ;; 1.19 Accessing language info + '("languagename" 0) + '("iflanguage" TeX-arg-babel-lang t nil) + + ;; 1.20 Hyphenation and line breaking + '("babelhyphen" + (TeX-arg-eval completing-read + (TeX-argument-prompt nil nil "Type/Text") + '("soft" "hard" "repeat" "nobreak" "empty"))) + '("babelhyphen*" + (TeX-arg-eval completing-read + (TeX-argument-prompt nil nil "Type/Text") + '("soft" "hard" "repeat" "nobreak" "empty"))) + + '("babelhyphenation" + [TeX-arg-eval mapconcat #'identity + (TeX-completing-read-multiple + (TeX-argument-prompt nil nil "Language(s)") + LaTeX-babel-language-list) + ","] + t) + + ;; 1.23 Selecting scripts + '("ensureascii" "Text") + + ;; 1.25 Language attributes + '("languageattribute" TeX-arg-babel-lang t)) + + ;; Don't increase indentation at various \if* macros: + (let ((exceptions '("ifbabelshorthand" + "iflanguage"))) + (dolist (elt exceptions) + (add-to-list 'LaTeX-indent-begin-exceptions-list elt t)) + (LaTeX-indent-commands-regexp-make)) + + ;; New environments: 1.8 Auxiliary language selectors + (LaTeX-add-environments + '("otherlanguage" LaTeX-env-babel-lang) + '("otherlanguage*" LaTeX-env-babel-lang) + '("hyphenrules" LaTeX-env-babel-lang)) + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("selectlanguage" "{") + ("foreignlanguage" "{{") + ("babeltags" "{") + ("babelensure" "{{") + ("shorthandon" "{") + ("shorthandoff" "*{") + ("useshorthands" "*{") + ("languageshorthands" "{") + ("babelshorthand" "{") + ("AfterBabelLanguage" "{") + ("babelfont" "[{[{") + ("babelprovide" "[{") + ("languagename" "") + ("iflanguage" "{{{") + ("babelhyphen" "*{") + ("babelhyphenation" "[{") + ("ensureascii" "{")) + 'function) + (font-latex-add-keywords '(("defineshorthand" "[{{") + ("aliasshorthand" "{{") + ("languageattribute" "{{")) + 'variable))) + TeX-dialect) + +(defun LaTeX-babel-package-options () + "Prompt for package options for the babel package." + (TeX-read-key-val + t + (append + '(("KeepShorthandsActive") + ("activeacute") + ("activegrave") + ("shorthands" ("off")) + ("safe" ("none" "ref" "bib")) + ("math" ("active" "normal")) + ("config") + ("main" LaTeX-babel-language-list) + ("headfoot" LaTeX-babel-language-list) + ("noconfigs") + ("nocase") + ("silent") + ("showlanguages") + ("nocase") + ("silent") + ("strings" ("generic" "unicode" "encoded" + "OT1" "OT2" "OT3" "OT4" "OT6" + "T1" "T2A" "T2B" "T2C" "T3" "T4" "T5" + "X2" "LY1" "LV1" "LGR")) + ("hyphenmap" ("off" "first" "select" "other" "other*")) + ("bidi" ("default" "basic" "basic-r" "bidi-l" "bidi-r")) + ("layout" ("sectioning" "counters" "lists" "contents" "footnotes" + "captions" "columns" "graphics" "extras")) + ("base")) + (mapcar #'list LaTeX-babel-language-list)))) + +;;; babel.el ends here diff --git a/elpa/auctex-13.1.3/style/babel.elc b/elpa/auctex-13.1.3/style/babel.elc new file mode 100644 index 0000000..27cebe0 Binary files /dev/null and b/elpa/auctex-13.1.3/style/babel.elc differ diff --git a/elpa/auctex-13.1.3/style/backref.el b/elpa/auctex-13.1.3/style/backref.el new file mode 100644 index 0000000..a7a6ef1 --- /dev/null +++ b/elpa/auctex-13.1.3/style/backref.el @@ -0,0 +1,94 @@ +;;; backref.el --- AUCTeX style for `backref.sty' -*- lexical-binding: t; -*- + +;; Copyright (C) 2021 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2021-02-06 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +;; MA 02110-1301 USA. + +;;; Commentary: + +;; This file adds support for `backref.sty' v1.41 form 2021-02-04. + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(TeX-add-style-hook + "backref" + (lambda () + + (TeX-add-symbols + '("backrefsetup" + (TeX-arg-key-val (("verbose" ("true" "false")) + ("enable" ("true" "false")) + ("disable" ("true" "false"))))) + "backrefparscanfalse" + "backrefparscantrue" + "backrefprint" + "backref" + "backrefalt" + "backrefsep" + "backreftwosep" + "backreflastsep" + "backrefentrycount") + + ;; This is a hack: We want to have the 2 macros + ;; \backrefparscanfalse and \backrefparscantrue indented like + ;; \bibitem, hence we add them to a local version of + ;; `LaTeX-item-regexp': + (unless (string-match-p "backrefparscan" LaTeX-item-regexp) + (setq-local LaTeX-item-regexp + (concat LaTeX-item-regexp + "\\|" "backrefparscan\\(false\\|true\\)\\b"))) + + ;; Only add "backrefprint" here, "backrefparscan*" will be added + ;; via `LaTeX-item-regexp' when `LaTeX-set-paragraph-start' is + ;; called: + (LaTeX-paragraph-commands-add-locally '("backrefprint")) + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("backrefsetup" "{") + ("backrefparscanfalse" "") + ("backrefparscantrue" "") + ("backrefprint" "")) + 'function))) + TeX-dialect) + +(defvar LaTeX-backref-package-options + '("ref" "pageref" "hyperref" "hyperpageref" + "enable" "disable" "verbose" + "english" "american" "australian" "british" "canadian" + "newzealand" "UKenglish" "USenglish" + "german" "ngerman" "austrian" "naustrian" + "french" "acadian" "canadien" "frenchb" "francais" + "spanish" "brazil" "brazilian" "afrikaans") + "Package options for the backref package.") + +;;; backref.el ends here diff --git a/elpa/auctex-13.1.3/style/backref.elc b/elpa/auctex-13.1.3/style/backref.elc new file mode 100644 index 0000000..fe57272 Binary files /dev/null and b/elpa/auctex-13.1.3/style/backref.elc differ diff --git a/elpa/auctex-13.1.3/style/baskervaldx.el b/elpa/auctex-13.1.3/style/baskervaldx.el new file mode 100644 index 0000000..a4cba48 --- /dev/null +++ b/elpa/auctex-13.1.3/style/baskervaldx.el @@ -0,0 +1,88 @@ +;;; baskervaldx.el --- AUCTeX style for `baskervaldx.sty' (v1.07) -*- lexical-binding: t; -*- + +;; Copyright (C) 2014--2021 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2014-11-18 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `baskervaldx.sty' (v1.07) from 2015/04/06. +;; `baskervaldx.sty' is part of TeXLive. + +;;; Code: + +(require 'tex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(TeX-add-style-hook + "baskervaldx" + (lambda () + + ;; Run style hook for various packages loaded by baskervaldx + (TeX-run-style-hooks "textcomp" "fontaxes") + + ;; New symbols + (TeX-add-symbols + + ;; Only preamble commands + '("useosf" 0) + + ;; Text commands + '("lfstyle" -1) ; lf declaration + '("tlfstyle" -1) ; tlf declaration + '("osfstyle" -1) ; osf declaration + '("tosfstyle" -1) ; tosf declaration + '("sufigures" -1) ; superior figures declaration + '("textlf" t) ; proportional lining figures + '("texttlf" t) ; tabular lining figures + '("textosf" t) ; proportional oldstyle figures + '("texttosf" t) ; tabular oldstyle figures + '("textsu" t)) ; superior figures + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("textlf" "{") + ("texttlf" "{") + ("textosf" "{") + ("texttosf" "{") + ("textsu" "{")) + 'type-command) + (font-latex-add-keywords '(("lfstyle" "") + ("tlfstyle" "") + ("osfstyle" "") + ("tosfstyle" "") + ("sufigures" "")) + 'type-declaration))) + TeX-dialect) + +(defvar LaTeX-baskervaldx-package-options + '("lining" "lf" "oldstyle" "osf" "tabular" "proportional" "p" + "scale" "scaled" "sups" "swash") + "Package options for the baskervaldx package.") + +;;; baskervaldx.el ends here diff --git a/elpa/auctex-13.1.3/style/baskervaldx.elc b/elpa/auctex-13.1.3/style/baskervaldx.elc new file mode 100644 index 0000000..8cb2457 Binary files /dev/null and b/elpa/auctex-13.1.3/style/baskervaldx.elc differ diff --git a/elpa/auctex-13.1.3/style/beamer.el b/elpa/auctex-13.1.3/style/beamer.el new file mode 100644 index 0000000..589a26a --- /dev/null +++ b/elpa/auctex-13.1.3/style/beamer.el @@ -0,0 +1,381 @@ +;;; beamer.el --- AUCTeX style for the latex-beamer class -*- lexical-binding: t; -*- + +;; Copyright (C) 2003-2021 Free Software Foundation, Inc. + +;; Author: Thomas Baumann +;; Created: 2003-12-20 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for the latex-beamer class. + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(defun LaTeX-beamer-after-insert-env (env start _end) + "Do beamer-specific stuff after the insertion of an environment." + ;; Add `fragile' as an optional argument to the frame environment if + ;; a verbatim environment is inserted. + (when (and (TeX-member env (LaTeX-verbatim-environments) #'string-equal) + (save-excursion + (goto-char start) + (string-equal (LaTeX-current-environment) "frame"))) + (save-excursion + (when (re-search-backward "\\\\begin[ \t]*{frame}" nil t) + (let ((end-of-begin (match-end 0))) + (goto-char end-of-begin) + (while (forward-comment 1)) + (if (eq (char-after) (string-to-char LaTeX-optop)) + (progn + (forward-char) + (insert "fragile") + (unless (looking-at (concat "[ \t]*" LaTeX-optcl)) + (insert ","))) + (goto-char end-of-begin) + (insert "[fragile]"))))))) + +(defvar LaTeX-beamer-frametitle-history nil + "History of frame titles in beamer.") + +(TeX-add-style-hook + "beamer" + (lambda () + (add-hook 'LaTeX-after-insert-env-hook #'LaTeX-beamer-after-insert-env nil t) + + (TeX-run-style-hooks "amsmath" "amssymb" "amsthm" "color" "geometry" + "hyperref" "inputenc" "translator" "xcolor") + + (unless LaTeX-beamer-section-labels-flag + (make-local-variable 'LaTeX-section-hook) + (setq LaTeX-section-hook + '(LaTeX-section-heading + LaTeX-section-title + LaTeX-section-section))) + + (setq LaTeX-item-list + (append '(("itemize" . LaTeX-item-beamer) + ("enumerate" . LaTeX-item-beamer)) + LaTeX-item-list)) + + (setq LaTeX-default-document-environment "frame") + + (LaTeX-paragraph-commands-add-locally "frametitle") + + (TeX-add-symbols + '("alert" [ TeX-arg-beamer-overlay-spec ] 1) + '("alt" [ TeX-arg-beamer-overlay-spec ] 2) + '("beamerbutton" 1) + '("beamergotobutton" 1) + '("beamerreturnbutton" 1) + '("beamerskipbutton" 1) + '("frame" TeX-arg-beamer-frametitle) + '("frametitle" + (TeX-arg-eval TeX-read-string "Title: " nil 'LaTeX-beamer-frametitle-history)) + '("hyperlink" [ TeX-arg-beamer-overlay-spec ] 2) + '("hyperlinkslideprev" [ TeX-arg-beamer-overlay-spec ] 1) + '("hyperlinkslidenext" [ TeX-arg-beamer-overlay-spec ] 1) + '("hyperlinkframestart" [ TeX-arg-beamer-overlay-spec ] 1) + '("hyperlinkframeend" [ TeX-arg-beamer-overlay-spec ] 1) + '("hyperlinkframestartnext" [ TeX-arg-beamer-overlay-spec ] 1) + '("hyperlinkframeendprev" [ TeX-arg-beamer-overlay-spec ] 1) + '("hyperlinkpresentationstart" [ TeX-arg-beamer-overlay-spec ] 1) + '("hyperlinkpresentationend" [ TeX-arg-beamer-overlay-spec ] 1) + '("hyperlinkappendixstart" [ TeX-arg-beamer-overlay-spec ] 1) + '("hyperlinkappendixend" [ TeX-arg-beamer-overlay-spec ] 1) + '("hyperlinkdocumentstart" [ TeX-arg-beamer-overlay-spec ] 1) + '("hyperlinkdocumentend" [ TeX-arg-beamer-overlay-spec ] 1) + '("hypertarget" [ TeX-arg-beamer-overlay-spec ] 2) + '("institute" 1) + '("invisible" [ TeX-arg-beamer-overlay-spec ] 1) + '("label" [ TeX-arg-beamer-overlay-spec ] 1) + '("logo" 1) + '("note" TeX-arg-beamer-note 1) + '("only" [ TeX-arg-beamer-overlay-spec ] 1) + '("onslide" [ TeX-arg-beamer-overlay-spec ]) + '("partpage") + '("pause" ["Slide number"]) + '("structure" [ TeX-arg-beamer-overlay-spec ] 1) + '("temporal" [ TeX-arg-beamer-overlay-spec ] 3) + '("titlepage") + '("titlegraphic" 1) + '("uncover" [ TeX-arg-beamer-overlay-spec ] 1) + '("usetheme" LaTeX-arg-beamer-theme) + '("useinnertheme" LaTeX-arg-beamer-inner-theme) + '("useoutertheme" LaTeX-arg-beamer-outer-theme) + '("usecolortheme" LaTeX-arg-beamer-color-theme) + '("usefonttheme" LaTeX-arg-beamer-font-theme) + '("usetheme" LaTeX-arg-beamer-theme) + '("visible" [ TeX-arg-beamer-overlay-spec ] 1)) + + (LaTeX-add-environments + '("actionenv") + '("alertblock" 1) + '("beamerboxesrounded" 1) + '("block" (lambda (env &rest ignore) + (LaTeX-insert-environment + env (format "{%s}" (TeX-read-string "Title: "))))) + '("column" "Width") + "columns" + "columnsonlytextwidth" + '("exampleblock" 1) + '("frame" (lambda (env &rest ignore) + (let ((title (TeX-read-string "(Optional) Title: " nil + 'LaTeX-beamer-frametitle-history))) + (LaTeX-insert-environment env) + (unless (zerop (length title)) + (save-excursion + (LaTeX-find-matching-begin) + (end-of-line) + (LaTeX-newline) + ;; Indent the next macro insertion and don't + ;; rely on the fill-function to do it: + (indent-according-to-mode) + (insert (format "\\frametitle{%s}" title)) + ;; This works because \frametitle is a + ;; paragraph command. + (when auto-fill-function + (backward-char) + (LaTeX-fill-paragraph))))))) + '("onlyenv" (lambda (env &rest ignore) + (LaTeX-insert-environment + env + (let ((overlay (TeX-read-string "(Optional) Overlay: "))) + (unless (zerop (length overlay)) + (format "<%s>" overlay)))))) + '("overlayarea" "Area width" "Area height") + '("overprint" (lambda (env &rest ignore) + (LaTeX-insert-environment + env + (let ((width (TeX-read-string "(Optional) Area width: "))) + (unless (zerop (length width)) + (format "[%s]" width)))))) + "semiverbatim") + + (LaTeX-largest-level-set "section") + (LaTeX-add-counters "lecture" "part" "section" "subsection" "subsubsection" + "subsectionslide" "framenumber" "figure" "table" + "beamerpauses") + (LaTeX-add-pagestyles "navigation") + (add-to-list (make-local-variable 'LaTeX-indent-environment-list) + '("semiverbatim" current-indentation) t) + (add-to-list 'LaTeX-verbatim-environments-local "semiverbatim") + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("title" "[{") + ("subtitle" "[{") + ("author" "[{") + ("date" "[{") + ("frametitle" "<[{")) 'slide-title))) + TeX-dialect) + +(defun TeX-arg-beamer-overlay-spec (optional &optional prompt) + "Prompt for overlay specification. +If OPTIONAL is non-nil, insert the specification only if +non-empty and enclosed in \"<>\". PROMPT replaces the standard +one." + (let ((TeX-arg-opening-brace "<") + (TeX-arg-closing-brace ">")) + (TeX-argument-insert + (TeX-read-string + (TeX-argument-prompt optional prompt "Overlay")) + optional) + (indent-according-to-mode))) + +(defun TeX-arg-beamer-frametitle (_optional &optional _prompt) + "Prompt for the frametitle." + (let ((title (TeX-read-string "Title: " nil 'LaTeX-beamer-frametitle-history))) + (if (not (zerop (length title))) + (insert TeX-grop TeX-esc "frametitle" TeX-grop + title TeX-grcl TeX-grcl) + (insert TeX-grop TeX-grcl)))) + +(defun LaTeX-item-beamer () + "Insert a new item with an optional overlay argument. You +can turn off the prompt for the overlay argument by setting +`LaTeX-beamer-item-overlay-flag' to nil. Calling the function +with a prefix argument prompts for the overlay specification +unconditionally." + (if (listp current-prefix-arg) + (setq current-prefix-arg (car current-prefix-arg)) + current-prefix-arg) + (TeX-insert-macro "item") + (delete-horizontal-space) + (if (or current-prefix-arg LaTeX-beamer-item-overlay-flag) + (TeX-arg-beamer-overlay-spec 0)) + (insert " ") + (indent-according-to-mode)) + +(defun TeX-arg-beamer-note (_optional &optional _prompt) + "Prompt for overlay specification and optional argument." + (let ((overlay (TeX-read-string "(Optional) Overlay: ")) + (options (TeX-read-string "(Optional) Options: "))) + (unless (zerop (length overlay)) + (insert "<" overlay ">")) + (unless (zerop (length options)) + (insert "[" options "]")) + (indent-according-to-mode))) + +(defun LaTeX-beamer-search-themes (&optional regexp extensions length) + "Search for beamer themes matching REGEXP with EXTENSIONS. +The function removes the first LENGTH characters and the +extension of the file and returns a list of strings. LENGTH may +also be a string. Then the length of the string is used." + (let* ((match (or regexp "^beamertheme[A-Z]")) + (exts (or extensions '("tex" "sty"))) + (chars (cond ((integerp length) + length) + ((stringp length) + (string-width length)) + ;; Try some DWIM magic... + ((and (not length) + (string-match "beamer[A-Za-z0-9]*theme" match)) + (- (match-end 0) (match-beginning 0))) + (t (error "Invalid length: `%s'" length))))) + ;; (message "match=`%s' chars=`%s'" match chars) + (TeX-delete-duplicate-strings + (delete nil + (mapcar + (lambda (file) + (let ((case-fold-search nil)) + (and (numberp (string-match match file)) + (substring file chars)))) + (TeX-search-files nil exts t t)))))) + +(defun LaTeX-arg-beamer-theme (&rest _ignore) + "Prompt for beamer theme with completion." + (TeX-argument-insert + (completing-read + (TeX-argument-prompt nil nil "Theme") + (mapcar #'list + (cond ((eq LaTeX-beamer-themes 'local) + (set (make-local-variable 'LaTeX-beamer-themes) + (LaTeX-beamer-search-themes))) + ((functionp LaTeX-beamer-themes) + (funcall LaTeX-beamer-themes)) + ((listp LaTeX-beamer-themes) + LaTeX-beamer-themes) + (t (error + "`LaTeX-beamer-themes' should be a list: `%s'" + LaTeX-beamer-themes)))) + nil nil nil) + t)) + +(defun LaTeX-arg-beamer-inner-theme (&rest _ignore) + "Prompt for beamer inner theme with completion." + (TeX-argument-insert + (completing-read + (TeX-argument-prompt nil nil "Theme") + (mapcar #'list + (cond ((eq LaTeX-beamer-inner-themes 'local) + (set (make-local-variable 'LaTeX-beamer-inner-themes) + (LaTeX-beamer-search-themes "^beamerinnertheme"))) + ((functionp LaTeX-beamer-inner-themes) + (funcall LaTeX-beamer-inner-themes)) + ((listp LaTeX-beamer-inner-themes) + LaTeX-beamer-inner-themes) + (t (error + "`LaTeX-beamer-inner-themes' should be a list: `%s'" + LaTeX-beamer-inner-themes)))) + nil nil nil) + t)) + +(defun LaTeX-arg-beamer-outer-theme (&rest _ignore) + "Prompt for beamer outer theme with completion." + (TeX-argument-insert + (completing-read + (TeX-argument-prompt nil nil "Theme") + (mapcar #'list + (cond ((eq LaTeX-beamer-outer-themes 'local) + (set (make-local-variable 'LaTeX-beamer-outer-themes) + (LaTeX-beamer-search-themes "^beameroutertheme"))) + ((functionp LaTeX-beamer-outer-themes) + (funcall LaTeX-beamer-outer-themes)) + ((listp LaTeX-beamer-outer-themes) + LaTeX-beamer-outer-themes) + (t (error + "`LaTeX-beamer-outer-themes' should be a list: `%s'" + LaTeX-beamer-outer-themes)))) + nil nil nil) + t)) + +(defun LaTeX-arg-beamer-color-theme (&rest _ignore) + "Prompt for beamer color theme with completion." + (TeX-argument-insert + (completing-read + (TeX-argument-prompt nil nil "Theme") + (mapcar #'list + (cond ((eq LaTeX-beamer-color-themes 'local) + (set (make-local-variable 'LaTeX-beamer-color-themes) + (LaTeX-beamer-search-themes "^beamercolortheme"))) + ((functionp LaTeX-beamer-color-themes) + (funcall LaTeX-beamer-color-themes)) + ((listp LaTeX-beamer-color-themes) + LaTeX-beamer-color-themes) + (t (error + "`LaTeX-beamer-color-themes' should be a list: `%s'" + LaTeX-beamer-color-themes)))) + nil nil nil) + t)) + +(defun LaTeX-arg-beamer-font-theme (&rest _ignore) + "Prompt for beamer font theme with completion." + (TeX-argument-insert + (completing-read + (TeX-argument-prompt nil nil "Theme") + (mapcar #'list + (cond ((eq LaTeX-beamer-font-themes 'local) + (set (make-local-variable 'LaTeX-beamer-font-themes) + (LaTeX-beamer-search-themes "^beamerfonttheme"))) + ((functionp LaTeX-beamer-font-themes) + (funcall LaTeX-beamer-font-themes)) + ((listp LaTeX-beamer-font-themes) + LaTeX-beamer-font-themes) + (t (error + "`LaTeX-beamer-font-themes' should be a list: `%s'" + LaTeX-beamer-font-themes)))) + nil nil nil) + t)) + +(defun LaTeX-beamer-class-options () + "Read the beamer class options from the user." + (TeX-load-style "hyperref") + (TeX-read-key-val t '(("usepdftitle" ("false")) ("envcountsect") + ("notheorems") ("noamsthm") ("compress") ("t") ("c") + ("leqno") ("fleqn") ("handout") ("trans") ("pdftex") + ("nativepdf") ("pdfmark") ("dvips") ("dviwindo") + ("dvipsone") ("vtex") ("ps2pdf") ("ignorenonframetext") + ("noamssymb") ("bigger") ("smaller") ("8pt") ("9pt") + ("10pt") ("11pt") ("12pt") ("14pt") ("17pt") ("20pt") + ("draft") ("CJK") ("cjk") ("pgf") + ("hyperref" LaTeX-hyperref-package-options-list) + ("color") ("xcolor") ("ucs") ("utf8x") ("utf8") + ("aspectratio" ("1610" "169" "149" "54" "43" "32"))))) + +;;; beamer.el ends here diff --git a/elpa/auctex-13.1.3/style/beamer.elc b/elpa/auctex-13.1.3/style/beamer.elc new file mode 100644 index 0000000..1a78455 Binary files /dev/null and b/elpa/auctex-13.1.3/style/beamer.elc differ diff --git a/elpa/auctex-13.1.3/style/beamerarticle.el b/elpa/auctex-13.1.3/style/beamerarticle.el new file mode 100644 index 0000000..136947a --- /dev/null +++ b/elpa/auctex-13.1.3/style/beamerarticle.el @@ -0,0 +1,35 @@ +;;; beamerarticle.el --- AUCTeX style for the latex-beamerarticle class -*- lexical-binding: t; -*- + +;; Copyright (C) 2019, 2020 Free Software Foundation, Inc. + +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; Triggers the beamer style when using the beamerarticle style. + +;;; Code: + +(require 'tex) + +(TeX-add-style-hook + "beamerarticle" + (lambda () + (TeX-run-style-hooks "beamer"))) diff --git a/elpa/auctex-13.1.3/style/beamerarticle.elc b/elpa/auctex-13.1.3/style/beamerarticle.elc new file mode 100644 index 0000000..114687f Binary files /dev/null and b/elpa/auctex-13.1.3/style/beamerarticle.elc differ diff --git a/elpa/auctex-13.1.3/style/beamerswitch.el b/elpa/auctex-13.1.3/style/beamerswitch.el new file mode 100644 index 0000000..d565523 --- /dev/null +++ b/elpa/auctex-13.1.3/style/beamerswitch.el @@ -0,0 +1,35 @@ +;;; beamerswitch.el --- AUCTeX style for the latex-beamerswitch class -*- lexical-binding: t; -*- + +;; Copyright (C) 2019, 2020 Free Software Foundation, Inc. + +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; Triggers the beamer style when using the beamerswitch style. + +;;; Code: + +(require 'tex) + +(TeX-add-style-hook + "beamerswitch" + (lambda () + (TeX-run-style-hooks "beamer"))) diff --git a/elpa/auctex-13.1.3/style/beamerswitch.elc b/elpa/auctex-13.1.3/style/beamerswitch.elc new file mode 100644 index 0000000..023a2e1 Binary files /dev/null and b/elpa/auctex-13.1.3/style/beamerswitch.elc differ diff --git a/elpa/auctex-13.1.3/style/biblatex.el b/elpa/auctex-13.1.3/style/biblatex.el new file mode 100644 index 0000000..43115be --- /dev/null +++ b/elpa/auctex-13.1.3/style/biblatex.el @@ -0,0 +1,645 @@ +;;; biblatex.el --- AUCTeX style for `biblatex.sty' version 2.8a. -*- lexical-binding: t; -*- + +;; Copyright (C) 2012-2021 Free Software Foundation, Inc. + +;; Author: Ralf Angeli +;; Maintainer: auctex-devel@gnu.org +;; Created: 2012-11-14 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `biblatex.sty' version 2.8a. + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(defvar reftex-cite-format-builtin) + +(defvar LaTeX-biblatex-entrytype + '(;; Regular Types + "article" "book" "mvbook" "inbook" "bookinbook" "suppbook" "booklet" + "collection" "mvcollection" "incollection" "suppcollection" "manual" "misc" + "online" "patent" "periodical" "suppperiodical" "proceedings" + "mvproceedings" "inproceedings" "reference" "mvreference" "inreference" + "report" "set" "thesis" "unpublished" "xdata" "customa" "customb" "customc" + "customd" "custome" "customf" + ;; Type Aliases + "conference" "electronic" "masterthesis" "phdthesis" "techreport" "www" + ;; Unsupported Types + "artwork" "audio" "bibnote" "commentary" "image" "jurisdiction" + "legislation" "legal" "letter" "movie" "music" "performance" "review" + "software" "standard" "video") + "List of biblatex entry types.") + +(defvar LaTeX-biblatex-executebibliographyoptions-options + '(;; General + ("sorting" ("nty" "nyt" "nyvt" "anyt" "anyvt" "ynt" "ydnt" "none" "debug")) + ("sortcase" ("true" "false")) + ("sortupper" ("true" "false")) + ("sortlocale") + ("sortlos" ("bib" "los")) + ("related" ("true" "false")) + ("sortcites" ("true" "false")) + ("maxnames") + ("minnames") + ("maxbibnames") + ("minbibnames") + ("maxcitenames") + ("mincitenames") + ("maxitems") + ("minitems") + ("autocite" ("plain" "inline" "footnote" "superscript")) + ("autopunct" ("true" "false")) + ("language" (append LaTeX-biblatex-language-list + '("autobib" "autocite" "auto"))) + ("clearlang" ("true" "false")) + ("autolang" ("none" "hyphen" "other" "other*" "langname")) + ("block" ("none" "space" "par" "nbpar" "ragged")) + ("notetype" ("foot+end" "footonly" "endonly")) + ("hyperref" ("true" "false" "auto")) + ("backref" ("true" "false")) + ("backrefstyle" ("none" "three" "two" "two+" "three+" "all+")) + ("backrefsetstyle" ("setonly" "memonly" "setormem" "setandmem" "memandset" + "setplusmem")) + ("indexing" ("true" "false" "cite" "bib")) + ("loadfiles" ("true" "false")) + ("refsection" ("none" "part" "chapter" "section" "subsection")) + ("refsegment" ("none" "part" "chapter" "section" "subsection")) + ("citereset" ("none" "part" "chapter" "section" "subsection")) + ("abbreviate" ("true" "false")) + ("date" ("short" "long" "terse" "comp" "iso8601")) + ("datelabel" ("year" "short" "long" "terse" "comp" "iso8601")) + ("origdate" ("short" "long" "terse" "comp" "iso8601")) + ("eventdate" ("short" "long" "terse" "comp" "iso8601")) + ("urldate" ("short" "long" "terse" "comp" "iso8601")) + ("alldates" ("short" "long" "terse" "comp" "iso8601")) + ("datezeros" ("true" "false")) + ("dateabbrev" ("true" "false")) + ("defernumbers" ("true" "false")) + ("punctfont" ("true" "false")) + ("arxiv" ("abs" "ps" "pdf" "format")) + ("texencoding" ("auto")) + ("bibencoding" ("auto")) + ("safeinputenc" ("true" "false")) + ("bibwarn" ("true" "false")) + ("mincrossrefs") + ;; Style-specific + ("isbn" ("true" "false")) + ("url" ("true" "false")) + ("doi" ("true" "false")) + ("eprint" ("true" "false")) + ;; Internal + ("pagetracker" ("true" "false" "page" "spread")) + ("citecounter" ("true" "false" "context")) + ("citetracker" ("true" "false" "context" "strict" "constrict")) + ("ibidtracker" ("true" "false" "context" "strict" "constrict")) + ("opcittracker" ("true" "false" "context" "strict" "constrict")) + ("loccittracker" ("true" "false" "context" "strict" "constrict")) + ("idemtracker" ("true" "false" "context" "strict" "constrict")) + ("parentracker" ("true" "false")) + ("maxparens") + ("firstinits" ("true" "false")) + ("sortfirstinits" ("true" "false")) + ("terseinits" ("true" "false")) + ("labelalpha" ("true" "false")) + ("maxalphanames") + ("minalphanames") + ("labelnumber" ("true" "false")) + ("labeltitle" ("true" "false")) + ("labeltitleyear" ("true" "false")) + ("labeldate" ("true" "false")) + ("singletitle" ("true" "false")) + ("uniquename" ("true" "false" "init" "full" "allinit" "allfull" "mininit" + "minfull")) + ("uniquelist" ("true" "false" "minyear"))) + "Key=value options for ExecuteBibliographyOptions macro of the biblatex package.") + +;; See table 2 of Biblatex reference manual. +(defvar LaTeX-biblatex-language-list + '("catalan" "croatian" "czech" "danish" "dutch" "american" "british" + "canadian" "australian" "newzealand" "finnish" "french" "german" "austrian" + "ngernam" "naustrian" "greek" "italian" "norwegian" "polish" "brazilian" + "portuguese" "russian" "spanish" "swedish") + "List of languages supported by biblatex packages.") + +(defvar LaTeX-biblatex-addbibresource-options + '(("label") + ("location" ("local" "remote")) + ("type" ("file")) + ("datatype" ("bibtex" "ris" "zoterordfxml" "endnotexml"))) + "Key=value options for addbibresource macro of the biblatex package.") + +(defun LaTeX-arg-addbibresource (optional &optional prompt) + "Prompt for a BibLaTeX database file. +If OPTIONAL is non-nil, insert the resulting value as an optional +argument, otherwise as a mandatory one. Use PROMPT as the prompt +string." + (let (files inputs database) + (if LaTeX-using-Biber + (setq files 'TeX-Biber-global-files + inputs 'biberinputs) + (setq files 'BibTeX-global-files + inputs 'bibinputs)) + (setq files 'TeX-Biber-global-files + inputs 'biberinputs) + (message "Searching for BibLaTeX files...") + (or (symbol-value files) + (set files (mapcar #'list (TeX-search-files-by-type + 'biberinputs 'global t nil)))) + (message "Searching for BibLaTeX files...done") + (setq database (completing-read + (TeX-argument-prompt optional prompt "BibLaTeX files") + (append (mapcar #'list (TeX-search-files-by-type + inputs 'local t nil)) + (symbol-value files)))) + (LaTeX-add-bibliographies database) + ;; Run style file associated to the bibliography database file in order to + ;; immediately fill `LaTeX-bibitem-list'. We need to strip the extension + ;; because AUCTeX style files don't use it. + (TeX-run-style-hooks (file-name-sans-extension database)) + (TeX-argument-insert database optional))) + +;; Support for multicite commands, see § 3.7.3 of Biblatex reference manual. +(defun LaTeX-arg-biblatex-cites (optional &optional prompt) + "Prompt for citations with completion until input is empty. +Prompt also for optional prenotes and postnotes. If OPTIONAL is +non-nil, insert the citation key as an optional argument, +otherwise as a mandatory one. Use PROMPT as the prompt string +for citation keys." + ;; Prompt for global prenote and postnote. + (and TeX-arg-cite-note-p (not current-prefix-arg) + (let ((TeX-arg-opening-brace "(") + (TeX-arg-closing-brace ")") + (prenote (TeX-read-string + (TeX-argument-prompt t nil "Global prenote")))) + (TeX-argument-insert prenote t) + ;; If the prenote is empty the postnote is optional, otherwise it's + ;; mandatory. + (TeX-argument-insert + (TeX-read-string (TeX-argument-prompt t nil "Global postnote")) + (equal prenote "")))) + (let ((items t) (noinsert nil)) + (while items + ;; Prompt for prenote and postnote of the current keys. + (and TeX-arg-cite-note-p (not current-prefix-arg) + (let ((TeX-arg-opening-brace "[") + (TeX-arg-closing-brace "]") + (prenote (TeX-read-string + (TeX-argument-prompt t nil "Prenote")))) + (TeX-argument-insert prenote t) + ;; If the prenote is empty the postnote is optional, otherwise it's + ;; mandatory. + (TeX-argument-insert + (TeX-read-string (TeX-argument-prompt t nil "Postnote")) + (equal prenote "")))) + (setq items (if (and (fboundp 'reftex-citation) + (fboundp 'reftex-plug-flag) + (reftex-plug-flag 3)) + ;; Use RefTeX when enabled. + (reftex-citation t) + ;; Multiple citation keys in each argument are allowed. + (TeX-completing-read-multiple + (TeX-argument-prompt optional prompt "Key(s)") + (LaTeX-bibitem-list)))) + (apply #'LaTeX-add-bibitems items) + ;; If input is empty, insert an empty group only the first time, when + ;; `noinsert' flag is nil. + (unless (and (not items) noinsert) + (TeX-argument-insert (mapconcat #'identity items ",") optional)) + (setq noinsert t)))) + +(defun LaTeX-arg-biblatex-natbib-notes (optional) + "Prompt for two note arguments of a natbib compat citation command." + (when TeX-arg-cite-note-p + (let ((pre (TeX-read-string + (TeX-argument-prompt optional nil "Prenote"))) + (post (TeX-read-string + (TeX-argument-prompt optional nil "Postnote")))) + (TeX-argument-insert pre optional) + (TeX-argument-insert post optional) + ;; pre is given, post is empty: Make sure that we insert an + ;; extra pair of `[]', otherwise pre becomes post + (when (and pre (not (string= pre "")) + (string= post "")) + (insert LaTeX-optop LaTeX-optcl))))) + +(TeX-add-style-hook + "biblatex" + (lambda () + ;; Biblatex uses as default backend biber, run it unless biblatex `backend' + ;; option value is one of `bibtex', `bibtex8', `bibtexu'. Autodetection of + ;; the backend can be overridden by setting `LaTeX-biblatex-use-Biber' as a + ;; local variable. + (setq LaTeX-using-Biber + (if (local-variable-p 'LaTeX-biblatex-use-Biber (current-buffer)) + LaTeX-biblatex-use-Biber + (not (or (LaTeX-provided-package-options-member + "biblatex" "backend=bibtex") + (LaTeX-provided-package-options-member + "biblatex" "backend=bibtex8") + (LaTeX-provided-package-options-member + "biblatex" "backend=bibtexu"))))) + + (TeX-run-style-hooks + "keyval" + "kvoptions" + "logreq" + "ifthen" + "url") + (TeX-add-symbols + ;;; Global Customization + ;; Setting Package Options + '("ExecuteBibliographyOptions" + [TeX-arg-eval mapconcat #'identity + (TeX-completing-read-multiple + "Entry type: " LaTeX-biblatex-entrytype) ","] + (TeX-arg-key-val LaTeX-biblatex-executebibliographyoptions-options)) + ;;; Bibliography Commands + ;; Resources + '("addbibresource" [TeX-arg-key-val LaTeX-biblatex-addbibresource-options] + LaTeX-arg-addbibresource) + '("addglobalbib" [TeX-arg-key-val LaTeX-biblatex-addbibresource-options] + LaTeX-arg-addbibresource) + '("addsectionbib" [TeX-arg-key-val LaTeX-biblatex-addbibresource-options] + LaTeX-arg-addbibresource) + ;; The Bibliography + '("printbibliography" + [TeX-arg-key-val (("env") ("heading") ("title") ("prenote") ("postnote") + ("section") ("segment") ("sorting") ("type") ("nottype") + ("subtype") ("notsubtype") ("keyword") ("notkeyword") + ("categoy") ("notcategory") ("filter") ("check") + ("prefixnumbers") ("resetnumbers" ("true" "false")) + ("omitnumbers" ("true" "false")))]) + '("bibbysection" + [TeX-arg-key-val (("env") ("heading") ("prenote") ("postnote"))]) + '("bibbysegment" + [TeX-arg-key-val (("env") ("heading") ("prenote") ("postnote"))]) + '("bibbycategory" + [TeX-arg-key-val (("env") ("prenote") ("postnote") ("section"))]) + '("printbibheading" + [TeX-arg-key-val (("heading") ("title"))]) + ;; The List of Shorthands + '("printshorthands" + [TeX-arg-key-val (("env") ("heading") ("title") ("prenote") ("postnote") + ("section") ("segment") ("sorting") ("type") ("nottype") + ("subtype") ("notsubtype") ("keyword") ("notkeyword") + ("categoy") ("notcategory") ("filter") ("check"))]) + ;; Bibliography Sections + '("newrefsection" ["Resources"]) + "endrefsection" + ;; Bibliography Segments + "newrefsegment" + "endrefsegment" + ;; Bibliography Categories + '("DeclareBibliographyCategory" "Category") + '("addtocategory" "Category" TeX-arg-cite) + ;; Bibliography Headings and Environments + '("defbibenvironment" "Name" 3) + '("defbibheading" "Name" ["Title"] t) + ;; Bibliography Notes + '("defbibnote" "Name" "Text") + ;; Bibliography Filters and Checks + '("defbibfilter" "Name" t) + '("defbibcheck" "Name" t) + ;; Dynamic Entry Sets + '("defbibentryset" "Set" + (TeX-arg-eval mapconcat #'identity (TeX-completing-read-multiple + "Keys: " (LaTeX-bibitem-list)) ",")) + ;;; Citation Commands + '("cite" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("Cite" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("parencite" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("Parencite" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("footcite" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("footcitetext" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + ;; Style-specific Commands + '("textcite" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("Textcite" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("smartcite" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("Smartcite" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("cite*" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("parencite*" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("supercite" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + ;; Qualified Citation Lists + '("cites" LaTeX-arg-biblatex-cites) + '("Cites" LaTeX-arg-biblatex-cites) + '("parencites" LaTeX-arg-biblatex-cites) + '("Parencites" LaTeX-arg-biblatex-cites) + '("footcites" LaTeX-arg-biblatex-cites) + '("footcitetexts" LaTeX-arg-biblatex-cites) + '("smartcites" LaTeX-arg-biblatex-cites) + '("Smartcites" LaTeX-arg-biblatex-cites) + '("textcites" LaTeX-arg-biblatex-cites) + '("Textcites" LaTeX-arg-biblatex-cites) + '("supercites" LaTeX-arg-biblatex-cites) + ;; Style-independent Commands + '("autocite" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("Autocite" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("autocite*" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("Autocite*" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("autocites" LaTeX-arg-biblatex-cites) + '("Autocites" LaTeX-arg-biblatex-cites) + ;; Text Commands + '("citeauthor" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("Citeauthor" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("citeauthor*" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("Citeauthor*" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("citetitle" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("citetitle*" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("citeyear" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("citeyear*" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("citedate" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("citedate*" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("citeurl" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("parentext" "Text") + '("brackettext" "Text") + ;; Special Commands + '("fullcite" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("footfullcite" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("volcite" + (TeX-arg-conditional TeX-arg-cite-note-p (["Prenote"]) ()) "Volume" + (TeX-arg-conditional TeX-arg-cite-note-p (["Page"]) ()) TeX-arg-cite) + '("Volcite" + (TeX-arg-conditional TeX-arg-cite-note-p (["Prenote"]) ()) "Volume" + (TeX-arg-conditional TeX-arg-cite-note-p (["Page"]) ()) TeX-arg-cite) + '("Pvolcite" + (TeX-arg-conditional TeX-arg-cite-note-p (["Prenote"]) ()) "Volume" + (TeX-arg-conditional TeX-arg-cite-note-p (["Page"]) ()) TeX-arg-cite) + '("Pvolcite" + (TeX-arg-conditional TeX-arg-cite-note-p (["Prenote"]) ()) "Volume" + (TeX-arg-conditional TeX-arg-cite-note-p (["Page"]) ()) TeX-arg-cite) + '("fvolcite" + (TeX-arg-conditional TeX-arg-cite-note-p (["Prenote"]) ()) "Volume" + (TeX-arg-conditional TeX-arg-cite-note-p (["Page"]) ()) TeX-arg-cite) + '("ftolcite" + (TeX-arg-conditional TeX-arg-cite-note-p (["Prenote"]) ()) "Volume" + (TeX-arg-conditional TeX-arg-cite-note-p (["Page"]) ()) TeX-arg-cite) + '("svolcite" + (TeX-arg-conditional TeX-arg-cite-note-p (["Prenote"]) ()) "Volume" + (TeX-arg-conditional TeX-arg-cite-note-p (["Page"]) ()) TeX-arg-cite) + '("Svolcite" + (TeX-arg-conditional TeX-arg-cite-note-p (["Prenote"]) ()) "Volume" + (TeX-arg-conditional TeX-arg-cite-note-p (["Page"]) ()) TeX-arg-cite) + '("tvolcite" + (TeX-arg-conditional TeX-arg-cite-note-p (["Prenote"]) ()) "Volume" + (TeX-arg-conditional TeX-arg-cite-note-p (["Page"]) ()) TeX-arg-cite) + '("Tvolcite" + (TeX-arg-conditional TeX-arg-cite-note-p (["Prenote"]) ()) "Volume" + (TeX-arg-conditional TeX-arg-cite-note-p (["Page"]) ()) TeX-arg-cite) + '("avolcite" + (TeX-arg-conditional TeX-arg-cite-note-p (["Prenote"]) ()) "Volume" + (TeX-arg-conditional TeX-arg-cite-note-p (["Page"]) ()) TeX-arg-cite) + '("Avolcite" + (TeX-arg-conditional TeX-arg-cite-note-p (["Prenote"]) ()) "Volume" + (TeX-arg-conditional TeX-arg-cite-note-p (["Page"]) ()) TeX-arg-cite) + '("notecite" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("Notecite" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("pnotecite" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("Pnotecite" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + '("fnotecite" (TeX-arg-conditional TeX-arg-cite-note-p + (["Prenote"] ["Postnote"]) ()) TeX-arg-cite) + ;; Low-level Commands + '("citename" + (TeX-arg-conditional TeX-arg-cite-note-p (["Prenote"] ["Postnote"]) ()) + TeX-arg-cite (TeX-arg-conditional TeX-arg-cite-note-p (["Format"]) ()) + "Name list") + '("citelist" + (TeX-arg-conditional TeX-arg-cite-note-p (["Prenote"] ["Postnote"]) ()) + TeX-arg-cite (TeX-arg-conditional TeX-arg-cite-note-p (["Format"]) ()) + "Literal list") + '("citefield" + (TeX-arg-conditional TeX-arg-cite-note-p (["Prenote"] ["Postnote"]) ()) + TeX-arg-cite (TeX-arg-conditional TeX-arg-cite-note-p (["Format"]) ()) + "Field") + ;; Miscellaneous Commands + "citereset" + "citereset*" + "mancite" + "pno" + "ppno" + "nopp" + "psq" + "psqq" + '("RN" "Integer") + '("Rn" "Integer") + ;; Localization Commands + '("DefineBibliographyStrings" + (TeX-arg-eval completing-read "Language: " LaTeX-biblatex-language-list) t) + '("DefineBibliographyExtras" + (TeX-arg-eval completing-read "Language: " LaTeX-biblatex-language-list) t) + '("UndefineBibliographyExtras" + (TeX-arg-eval completing-read "Language: " LaTeX-biblatex-language-list) t) + '("DefineHyphenationExceptions" + (TeX-arg-eval completing-read "Language: " LaTeX-biblatex-language-list) t) + "NewBibliographyString") + + ;; § 3.8.9 natbib Compatibility Commands + (when (or (LaTeX-provided-package-options-member "biblatex" "natbib") + (LaTeX-provided-package-options-member "biblatex" "natbib=true")) + (let ((cmds '(("citet" . 1) ("citet*" . 1) + ("Citet" . 1) ("Citet*" . 1) + ("citep" . 2) ("citep*" . 2) + ("Citep" . 2) ("Citep*" . 2) + ("citealt" . 1) ("citealt*" . 1) + ("Citealt" . 1) ("Citealt*" . 1) + ("citealp" . 2) ("citealp*" . 2) + ("Citealp" . 2) ("Citealp*" . 2)))) + ;; Taken from natbib.el: + (apply + #'TeX-add-symbols + (mapcar + (lambda (cmd) + (cond + ((= (cdr cmd) 1) + ;; Just one optional argument, the post note + (list + (car cmd) + '(TeX-arg-conditional TeX-arg-cite-note-p (["Postnote"]) nil) + #'TeX-arg-cite)) + ((= (cdr cmd) 2) + ;; Pre and post notes + (list + (car cmd) + '(TeX-arg-conditional TeX-arg-cite-note-p + ([LaTeX-arg-biblatex-natbib-notes]) + nil) + #'TeX-arg-cite)))) + cmds)) + + ;; Fontification for compat macros does not go into `font-latex.el': + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("citet" "*[[{") + ("Citet" "*[[{") + ("citep" "*[[{") + ("Citep" "*[[{") + ("citealt" "*[[{") + ("Citealt" "*[[{") + ("citealp" "*[[{") + ("Citealp" "*[[{")) + 'biblatex)))) + + (LaTeX-add-environments + ;;; Bibliography commands + ;; Bibliography Sections + '("refsection" ["Resources"]) + ;; Bibliography Segments + "refsegment") + + ;; Declaring expert macros and environments. Criterion: all macros and + ;; environments to fine tune the bibliography, probably they will be used + ;; only by expert users. + (TeX-declare-expert-macros + "biblatex" + "ExecuteBibliographyOptions" "printshorthands" "newrefsection" + "endrefsection" "newrefsegment" "endrefsegment" + "DeclareBibliographyCategory" "addtocategory" "defbibenvironment" + "defbibheading" "defbibnote" "defbibfilter" "defbibcheck" "defbibentryset" + "citereset" "citereset*" "mancite" "pno" "ppno" "nopp" "psq" "psqq" "RN" + "Rn" "DefineBibliographyStrings" "DefineBibliographyExtras" + "UndefineBibliographyExtras" "DefineHyphenationExceptions" + "NewBibliographyString") + (LaTeX-declare-expert-environments + "biblatex" + "refsection" "refsegment") + + ;; Tell RefTeX: If package option `natbib' is given, activate that + ;; format, otherwise stick with `biblatex': + (when (and LaTeX-reftex-cite-format-auto-activate + (fboundp 'reftex-set-cite-format)) + (if (or (LaTeX-provided-package-options-member "biblatex" "natbib") + (LaTeX-provided-package-options-member "biblatex" "natbib=true")) + (reftex-set-cite-format 'natbib) + ;; The entry `biblatex' is defined in + ;; `reftex-cite-format-builtin' in reftex-vars.el which will be + ;; part of Emacs >= 25.3. So check here if we find an entry, + ;; otherwise do it manually for older Emacsen. + (if (assoc 'biblatex reftex-cite-format-builtin) + (reftex-set-cite-format 'biblatex) + (reftex-set-cite-format + '((?\C-m . "\\cite[][]{%l}") + (?C . "\\cite*[][]{%l}") + (?t . "\\textcite[][]{%l}") + (?T . "\\textcite*[][]{%l}") + (?p . "\\parencite[][]{%l}") + (?P . "\\parencite*[][]{%l}") + (?f . "\\footcite[][]{%l}") + (?s . "\\smartcite[][]{%l}") + (?u . "\\autocite[][]{%l}") + (?U . "\\autocite*[][]{%l}") + (?a . "\\citeauthor{%l}") + (?A . "\\citeauthor*{%l}") + (?i . "\\citetitle{%l}") + (?I . "\\citetitle*{%l}") + (?y . "\\citeyear{%l}") + (?Y . "\\citeyear*{%l}") + (?n . "\\nocite{%l}"))))))) + TeX-dialect) + +(defvar LaTeX-biblatex-package-options-list + (append + ;;; Preamble Options + LaTeX-biblatex-executebibliographyoptions-options + '(;;; Load-time Options + ("backend" ("biber" "bibtex" "bibtexu" "bibtex8")) + ("style" BibLaTeX-global-style-files) + ("bibstyle" BibLaTeX-global-style-files) + ("citestyle" BibLaTeX-global-style-files) + ("natbib" ("true" "false")) + ("mcite" ("true" "false")) + ;;; Entry Options + ;; Preamble/Type/Entry Options + ("useauthor" ("true" "false")) + ("useeditor" ("true" "false")) + ("usetranslator" ("true" "false")) + ("useprefix" ("true" "false")) + ("indexing" ("true" "false" "cite" "bib")) + ;; Type/Entry Options are not available globally. + ;; Legacy Options (deprecated) + ("openbib"))) + "Package options for the biblatex package.") + +(defun LaTeX-biblatex-package-options nil + "Prompt for package options for the biblatex package." + (unless BibLaTeX-global-style-files + (if (if (eq TeX-arg-input-file-search 'ask) + (not (y-or-n-p "Find BibLaTeX style yourself? ")) + TeX-arg-input-file-search) + ;; ...then, search for BibLaTeX styles. + (progn + (message "Searching for BibLaTeX styles...") + (setq BibLaTeX-global-style-files + (TeX-search-files-by-type 'bbxinputs 'global t t)) + (message "Searching for BibLaTeX styles...done")) + ;; ...else, use for completion only standard BibLaTeX styles (see §3.3 of + ;; Biblatex reference manual). + (setq BibLaTeX-global-style-files + '("numeric" "numeric-comp" "numeric-verb" "alphabetic" + "alphabetic-verb" "authoryear" "authoryear-comp" "authoryear-ibid" + "authoryear-icomp" "authortitle" "authortitle-comp" + "authortitle-ibid" "authortitle-icomp" "authortitle-terse" + "authortitle-tcomp" "authortitle-ticomp" "verbose" "verbose-ibid" + "verbose-note" "verbose-inote" "verbose-trad1" "verbose-trad2" + "verbose-trad3" "reading" "draft" "debug")))) + (TeX-read-key-val t LaTeX-biblatex-package-options-list)) + +;;; biblatex.el ends here diff --git a/elpa/auctex-13.1.3/style/biblatex.elc b/elpa/auctex-13.1.3/style/biblatex.elc new file mode 100644 index 0000000..4b0bb19 Binary files /dev/null and b/elpa/auctex-13.1.3/style/biblatex.elc differ diff --git a/elpa/auctex-13.1.3/style/bicaption.el b/elpa/auctex-13.1.3/style/bicaption.el new file mode 100644 index 0000000..245b454 --- /dev/null +++ b/elpa/auctex-13.1.3/style/bicaption.el @@ -0,0 +1,206 @@ +;;; bicaption.el --- AUCTeX style for `bicaption.sty' (v1.1-158) -*- lexical-binding: t; -*- + +;; Copyright (C) 2016--2020 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2016-11-11 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `bicaption.sty' (v1.1-158) from +;; 2016/03/27. `bicaption.sty' is part of TeXLive. + +;; If things do not work or when in doubt, press `C-c C-n'. Comments +;; for improvement are welcome. + +;;; Code: + +;; Needed for compiling `LaTeX-check-insert-macro-default-style': +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(declare-function LaTeX-babel-active-languages "babel" ()) +(declare-function LaTeX-polyglossia-active-languages "polyglossia" ()) + +(defvar LaTeX-caption-supported-float-types) +(defvar LaTeX-caption-key-val-options) + +(defvar LaTeX-bicaption-key-val-options + '(("bi-lang" ("first" "second" "both")) + ("bi-singlelinecheck" ("false" "no" "off" "0" "true" "yes" "on" "1")) + ("bi-slc" ("false" "no" "off" "0" "true" "yes" "on" "1")) + ("bi-swap" ("false" "no" "off" "0" "true" "yes" "on" "1")) + ("listtype+")) + "Key=value options for bicaption macros.") + +(defun LaTeX-arg-bicaption-bicaption (optional &optional prompt star cap-box label-inside) + "Query for the arguments of \"\\bicaption\" incl. a label and insert them. +PROMPT replaces the standard one. If STAR is non-nil, then do +not query for a \\label and short captions, insert only captions. +If CAP-BOX is non-nil, also query and include optional arguments +for the box command. If LABEL-INSIDE is non-nil, insert \\label +inside the first mandatory argument, otherwise after all +arguments." + ;; \bicaption []{}[]{} + ;; \bicaptionbox[]{}[]{} + ;; [][]{} + (let* (;; \bisubcaption needs an environment, "minipage" will be + ;; popular. If so, check next higher environment to find out + ;; where we are + (currenv (if (string= (LaTeX-current-environment) "minipage") + (LaTeX-current-environment 2) + (LaTeX-current-environment))) + (captionI (TeX-read-string + (TeX-argument-prompt + optional (when prompt + (concat "1. " prompt "bicaption")) + "1. bicaption"))) + (short-captionI + (when (and (not star) + (>= (length captionI) LaTeX-short-caption-prompt-length)) + (TeX-read-string + (TeX-argument-prompt t (when prompt + (concat "Short 1. " prompt "bicaption")) + "Short 1. bicaption")))) + (captionII (TeX-read-string + (TeX-argument-prompt + optional (when prompt + (concat "2. " prompt "bicaption")) + "2. bicaption"))) + (short-captionII + (when (and (not star) + (>= (length captionII) LaTeX-short-caption-prompt-length)) + (TeX-read-string + (TeX-argument-prompt t (when prompt + (concat "Short 2. " prompt "bicaption")) + "Short 2. bicaption"))))) + (indent-according-to-mode) + ;; Insert short & regular 1. caption + (when (and short-captionI (not (string= short-captionI ""))) + (insert LaTeX-optop short-captionI LaTeX-optcl)) + (insert TeX-grop captionI) + ;; For \bi(sub)?captionbox, the label must be inserted here + (when (and label-inside (not star)) + (LaTeX-label currenv 'environment)) + (insert TeX-grcl) + (when auto-fill-function (LaTeX-fill-paragraph)) + (LaTeX-newline) + (indent-according-to-mode) + ;; Insert short & regular 2. caption + (when (and short-captionII (not (string= short-captionII ""))) + (insert LaTeX-optop short-captionII LaTeX-optcl)) + (insert TeX-grop captionII TeX-grcl) + ;; Insert width & pos in case of captionbox macros: + (when cap-box + (let* ((TeX-arg-opening-brace "[") + (TeX-arg-closing-brace "]") + (TeX-last-optional-rejected nil) + (width (LaTeX-check-insert-macro-default-style + (completing-read (TeX-argument-prompt t nil "Width") + (mapcar (lambda (elt) (concat TeX-esc (car elt))) + (LaTeX-length-list))))) + (TeX-last-optional-rejected (or (not width) + (and width (string= width "")))) + (inpos (LaTeX-check-insert-macro-default-style + (if (and width (not (string-equal width ""))) + (completing-read (TeX-argument-prompt t nil "Inner position") + '("c" "l" "r" "s")) + "")))) + (and width (TeX-argument-insert width t)) + (and inpos (TeX-argument-insert inpos t)))) + (when auto-fill-function (LaTeX-fill-paragraph)) + ;; Insert label -- a new line is inserted only if label is there: + (when (and (not label-inside) (not star) + (save-excursion (LaTeX-label currenv 'environment))) + (LaTeX-newline) + (indent-according-to-mode) + (end-of-line)))) + +(defun LaTeX-arg-bicaption-captionsetup (optional) + "Query for 2 arguments for \"\\captionsetup\" with bicaption.sty loaded. +When OPTIONAL is non-nil, include both as optional arguments in +square brackets." + (let* ((flttype (completing-read (TeX-argument-prompt optional nil "Float type") + LaTeX-caption-supported-float-types)) + (biflt (if (and (not (or (string= flttype "bi") + (string= flttype "bi-first") + (string= flttype "bi-second"))) + flttype (not (string= flttype ""))) + (completing-read (TeX-argument-prompt optional nil "Bicaption type") + '("bi" "bi-first" "bi-second")) + ""))) + (TeX-argument-insert flttype optional) + (TeX-argument-insert biflt optional))) + +(TeX-add-style-hook + "bicaption" + (lambda () + + ;; Load caption.el: + (TeX-run-style-hooks "caption") + + ;; Macros + (TeX-add-symbols + '("bicaption" (LaTeX-arg-bicaption-bicaption)) + '("bicaption*" (LaTeX-arg-bicaption-bicaption nil t)) + '("bicaptionbox" (LaTeX-arg-bicaption-bicaption nil nil t t) t) + '("bicaptionbox*" (LaTeX-arg-bicaption-bicaption nil t t) t) + '("bisubcaption" (LaTeX-arg-bicaption-bicaption "sub-")) + '("bisubcaption*" (LaTeX-arg-bicaption-bicaption "sub-" t)) + '("bisubcaptionbox" (LaTeX-arg-bicaption-bicaption "sub-" nil t t) t) + '("bisubcaptionbox*" (LaTeX-arg-bicaption-bicaption "sub-" t t t) t)) + + ;; \bi(sub)?caption(box)? macros should get their own lines + (LaTeX-paragraph-commands-add-locally '("bicaption" "bicaptionbox" + "bisubcaption" "bisubcaptionbox")) + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("bicaption" "*[{[{") + ("bicaptionbox" "*[{[{[[") + ("bisubcaption" "*[{[{") + ("bisubcaptionbox" "*[{[{[[")) + 'textual))) + TeX-dialect) + +(defun LaTeX-bicaption-package-options () + "Prompt for package options for the bicaption package." + (TeX-load-style "caption") + (TeX-read-key-val t + (append + `(,(list "language" + (cond ((and (member "babel" (TeX-style-list)) + (LaTeX-babel-active-languages)) + (butlast (LaTeX-babel-active-languages))) + ((and (member "polyglossia" (TeX-style-list)) + (LaTeX-polyglossia-active-languages)) + (butlast (LaTeX-babel-active-languages))) + (t nil)))) + LaTeX-bicaption-key-val-options + LaTeX-caption-key-val-options))) + +;;; bicaption.el ends here diff --git a/elpa/auctex-13.1.3/style/bicaption.elc b/elpa/auctex-13.1.3/style/bicaption.elc new file mode 100644 index 0000000..5a1f665 Binary files /dev/null and b/elpa/auctex-13.1.3/style/bicaption.elc differ diff --git a/elpa/auctex-13.1.3/style/bidi.el b/elpa/auctex-13.1.3/style/bidi.el new file mode 100644 index 0000000..1b17d60 --- /dev/null +++ b/elpa/auctex-13.1.3/style/bidi.el @@ -0,0 +1,196 @@ +;;; bidi.el --- AUCTeX style for the (XeLaTeX) bidi package -*- lexical-binding: t; -*- + +;; Copyright (C) 2016--2021 Free Software Foundation, Inc. + +;; Author: Uwe Brauer +;; Created: 2016-03-06 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for the bidi package version 31.7 + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(defvar LaTeX-bidi-package-options + '("RTLdocument" "rldocument" "extrafootnotefeatures") + "Package options for the bidi package.") + +(defun LaTeX-env-bidi-bib (environment) + "Insert bidi-ENVIRONMENT and a bibitem." + (LaTeX-insert-environment environment) + (end-of-line 0) + (delete-char 1) + (delete-horizontal-space) + (LaTeX-insert-item)) + +(TeX-add-style-hook + "bidi" + (lambda () + + ;; bidi.sty requires xelatex, so set the engine + (TeX-check-engine-add-engines 'xetex) + + ;; 1.4 Turning TeX--XeT features on and off + (TeX-add-symbols + '("TeXXeTOn" 0) + '("TeXXeTOff" 0)) + + ;; 1.5 Options of The Package: These macros rely on package option + ;; "extrafootnotefeatures". So check for it first + (when (LaTeX-provided-package-options-member "bidi" "extrafootnotefeatures") + (TeX-add-symbols + '("normalfootnotes" 0) + '("twocolumnfootnotes" 0) + '("threecolumnfootnotes" 0) + '("fourcolumnfootnotes" 0) + '("fivecolumnfootnotes" 0) + '("sixcolumnfootnotes" 0) + '("sevencolumnfootnotes" 0) + '("eightcolumnfootnotes" 0) + '("ninecolumnfootnotes" 0) + '("tencolumnfootnotes" 0) + '("RTLcolumnfootnotes" 0) + '("LTRcolumnfootnotes" 0) + '("paragraphfootnotes" 0) + '("setLTRparagraphfootnotes" 0) + '("setRTLparagraphfootnotes" 0))) + + (TeX-add-symbols + ;; 1.6 Paragraph Switching Commands + '("setLTR" 0) + '("setRTL" 0) + '("setLR" 0) + '("setRL" 0) + '("unsetRL" 0) + '("unsetRTL" 0) + '("unsetLTR" 0) + + ;; 1.8 Typesetting Short LTR and RTL Texts + '("LR" 1) + '("LRE" 1) + '("RLE" 1) + '("RL" 1) + + ;; 1.9 Footnotes + '("LTRfootnote" + (TeX-arg-conditional TeX-arg-footnote-number-p ([ "Number" ]) nil) + t) + '("RTLfootnote" + (TeX-arg-conditional TeX-arg-footnote-number-p ([ "Number" ]) nil) + t) + '("setfootnoteRL" 0) + '("setfootnoteLR" 0) + '("unsetfootnoteRL" 0) + '("LTRthanks" 1) + '("RTLthanks" 1) + '("LTRfootnotetext" + (TeX-arg-conditional TeX-arg-footnote-number-p ([ "Number" ]) nil) + t) + '("RTLfootnotetext" + (TeX-arg-conditional TeX-arg-footnote-number-p ([ "Number" ]) nil) + t) + + ;; 1.9.1 Footnote Rule + '("autofootnoterule" 0) + '("rightfootnoterule" 0) + '("leftfootnoterule" 0) + '("LRfootnoterule" 0) + '("textwidthfootnoterule" 0) + '("SplitFootnoteRule" 0) + '("debugfootnotedirection" 0) + + ;; 1.10 Two Column Typesetting + '("RTLdblcol" 0) + '("LTRdblcol" 0) + + ;; 1.11 RTL cases + '("RTLcases" t) + + ;; 1.12 Typesetting Logos + '("XeTeX" 0) + '("XeLaTeX" 0) + + ;; 1.13 Separation Mark + '("SepMark" "Mark") + + ;; 1.20 \setLTRbibitems, \setRTLbibitems, and \setdefaultbibitems + ;; commands + '("setLTRbibitems" 0) + '("setRTLbibitems" 0) + '("setdefaultbibitems" 0) + + ;; 1.21 Typesetting margin par + '("setRTLmarginpar" 0) + '("setLTRmarginpar" 0) + '("setdefaultmarginpar" 0) + '("LTRmarginpar" [ "Left margin text" ] "Text") + '("RTLmarginpar" [ "Left margin text" ] "Text")) + + (LaTeX-add-environments + ;; 1.7 Pargraph Switching Environments + "LTR" + "RTL" + + ;; 1.18 LTRitems and RTLitems Environments + '("RTLitems" LaTeX-env-item) + '("LTRitems" LaTeX-env-item) + + ;; 1.19 LTRbibitems and RTLbibitems Environments + '("LTRbibitems" LaTeX-env-bidi-bib) + '("RTLbibitems" LaTeX-env-bidi-bib)) + + ;; Append "LTRbibitems" & "RTLbibitems" to `LaTeX-item-list': + (make-local-variable 'LaTeX-item-list) + (dolist (env '("LTRbibitems" "RTLbibitems")) + (add-to-list 'LaTeX-item-list `(,env . LaTeX-item-bib) t)) + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("LR" "{") + ("LRE" "{") + ("RLE" "{") + ("RL" "{") + ("LTRthanks" "{") + ("RTLthanks" "{")) + 'textual) + (font-latex-add-keywords '(("LTRfootnote" "[{") + ("RTLfootnote" "[{") + ("LTRfootnotetext" "[{") + ("RTLfootnotetext" "[{") + ("LTRmarginpar" "[{") + ("RTLmarginpar" "[{")) + 'reference) + (font-latex-add-keywords '(("XeTeX" "") + ("XeLaTeX" "") + ("SepMark" "{")) + 'function))) + TeX-dialect) + +;;; bidi.el ends here diff --git a/elpa/auctex-13.1.3/style/bidi.elc b/elpa/auctex-13.1.3/style/bidi.elc new file mode 100644 index 0000000..36c3eb1 Binary files /dev/null and b/elpa/auctex-13.1.3/style/bidi.elc differ diff --git a/elpa/auctex-13.1.3/style/bidibeamer.el b/elpa/auctex-13.1.3/style/bidibeamer.el new file mode 100644 index 0000000..f6d2e3a --- /dev/null +++ b/elpa/auctex-13.1.3/style/bidibeamer.el @@ -0,0 +1,42 @@ +;;; bidibeamer.el --- AUCTeX style for the bidibeamer class -*- lexical-binding: t; -*- + +;; Copyright (C) 2015, 2020 Free Software Foundation + +;; Author: Tassilo Horn +;; Created: 2015-03-08 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for the bidibeamer class which offers the same +;; functionality and interface as latex-beamer, so we simply call the style +;; hook of the latter. + +;;; Code: + +(require 'tex) + +(TeX-add-style-hook + "bidibeamer" + (lambda () + (TeX-run-style-hooks "beamer")) + TeX-dialect) + +;;; bidibeamer.el ends here diff --git a/elpa/auctex-13.1.3/style/bidibeamer.elc b/elpa/auctex-13.1.3/style/bidibeamer.elc new file mode 100644 index 0000000..9b703c4 Binary files /dev/null and b/elpa/auctex-13.1.3/style/bidibeamer.elc differ diff --git a/elpa/auctex-13.1.3/style/bigdelim.el b/elpa/auctex-13.1.3/style/bigdelim.el new file mode 100644 index 0000000..cb54da7 --- /dev/null +++ b/elpa/auctex-13.1.3/style/bigdelim.el @@ -0,0 +1,101 @@ +;;; bigdelim.el --- AUCTeX style for `bigdelim.sty' -*- lexical-binding: t; -*- + +;; Copyright (C) 2011--2021 Free Software Foundation, Inc. + +;; Author: Mads Jensen +;; Maintainer: auctex-devel@gnu.org +;; Created: 2011-01-24 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `bigdelim.sty', v2.6 from 2021/01/02. + +;;; Code: + +(require 'tex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(defun TeX-arg-bigdelim-brace (optional side &optional prompt) + "Prompt for a single brace, and do not insert the matching one. +If OPTIONAL is non-nil, include the argument only if not empty. +SIDE is one of the symbols `left' or `right'. PROMPT replaces the +standard one." + (let* ((brace (completing-read + (TeX-argument-prompt optional prompt "Brace") + (if (eq side 'left) + '("(" "[" "{" "\\langle" "|" "\\|" "\\lceil" "\\lfloor") + '(")" "]" "}" "\\rangle" "|" "\\|" "\\rceil" "\\rfloor")))) + (TeX-arg-opening-brace (if (member (substring brace 0 1) + `("{" "}" ,TeX-esc)) + "" + TeX-grop)) + (TeX-arg-closing-brace (if (string= TeX-arg-opening-brace TeX-grop) + TeX-grcl + ""))) + (TeX-argument-insert brace optional (when (member brace '("{" "}")) + TeX-esc)))) + +(TeX-add-style-hook + "bigdelim" + (lambda () + + (TeX-run-style-hooks "multirow") + + (TeX-add-symbols + '("ldelim" + (TeX-arg-bigdelim-brace left) + "Number of rows for multirow" + (TeX-arg-eval completing-read + (TeX-argument-prompt nil nil "Width in multirow") + (append + '("*") + (mapcar (lambda (x) + (concat TeX-esc (car x))) + (LaTeX-length-list)))) + [ "Text in multirow" ]) + '("rdelim" + (TeX-arg-bigdelim-brace right) + "Number of rows for multirow" + (TeX-arg-eval completing-read + (TeX-argument-prompt nil nil "Width in multirow") + (append + '("*") + (mapcar (lambda (x) + (concat TeX-esc (car x))) + (LaTeX-length-list)))) + [ "Text in multirow" ])) + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("ldelim" "|{\\{{[") + ("rdelim" "|{\\{{[")) + 'function))) + TeX-dialect) + +(defvar LaTeX-bigdelim-package-options nil + "Package options for the bigdelim package.") + +;;; bigdelim.el ends here diff --git a/elpa/auctex-13.1.3/style/bigdelim.elc b/elpa/auctex-13.1.3/style/bigdelim.elc new file mode 100644 index 0000000..80d2509 Binary files /dev/null and b/elpa/auctex-13.1.3/style/bigdelim.elc differ diff --git a/elpa/auctex-13.1.3/style/bigstrut.el b/elpa/auctex-13.1.3/style/bigstrut.el new file mode 100644 index 0000000..8324da3 --- /dev/null +++ b/elpa/auctex-13.1.3/style/bigstrut.el @@ -0,0 +1,68 @@ +;;; bigstrut.el --- AUCTeX style for `bigstrut.sty' -*- lexical-binding: t; -*- + +;; Copyright (C) 2012, 2014--2021 Free Software Foundation, Inc. + +;; Author: Mads Jensen +;; Maintainer: auctex-devel@gnu.org +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `bigstrut.sty', v2.6 from 2021/01/02. + +;;; Code: + +(require 'tex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(TeX-add-style-hook + "bigstrut" + (lambda () + (TeX-add-symbols + '("bigstrut" [ TeX-arg-bigstrut ])) + + (LaTeX-add-lengths "bigstrutjot") + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("bigstrut" "[")) + 'function))) + TeX-dialect) + +(defun TeX-arg-bigstrut (optional &optional prompt) + "Prompt for the optional argument in \\bigstrut. +If OPTIONAL is non-nil, insert the argument in brackets. PROMPT +replaces the standard one." + (TeX-argument-insert + (completing-read + (TeX-argument-prompt + optional prompt "Strut to top (t) or bottom (b)") + '("t" "b")) + optional)) + +(defvar LaTeX-bigstrut-package-options nil + "Package options for the bigstrut package.") + +;;; bigstrut.el ends here diff --git a/elpa/auctex-13.1.3/style/bigstrut.elc b/elpa/auctex-13.1.3/style/bigstrut.elc new file mode 100644 index 0000000..41ddb59 Binary files /dev/null and b/elpa/auctex-13.1.3/style/bigstrut.elc differ diff --git a/elpa/auctex-13.1.3/style/bm.el b/elpa/auctex-13.1.3/style/bm.el new file mode 100644 index 0000000..7b9cd11 --- /dev/null +++ b/elpa/auctex-13.1.3/style/bm.el @@ -0,0 +1,62 @@ +;;; bm.el --- AUCTeX style for `bm.sty'. -*- lexical-binding: t; -*- + +;; Copyright (C) 2012, 2018, 2020 Free Software Foundation, Inc. + +;; Maintainer: auctex-devel@gnu.org +;; Author: Mosè Giordano +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `bm.sty'. + +;;; Code: + +(require 'tex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(TeX-add-style-hook "bm" + (lambda () + (TeX-add-symbols + '("bm" 1) + '("hm" 1) + '("DeclareBoldMathCommand" [ "Math version" ] TeX-arg-define-macro "Math expression") + '("bmdefine" TeX-arg-define-macro "Math expression") + '("hmdefine" TeX-arg-define-macro "Math expression")) + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("bm" "{") + ("hm" "{")) + 'bold-command) + (font-latex-add-keywords '(("DeclareBoldMathCommand" "[|{\\{") + ("bmdefine" "|{\\{") + ("hmdefine" "|{\\{")) + 'function))) + TeX-dialect) + +(defvar LaTeX-bm-package-options nil + "Package options for the bm package.") + +;; bm.el ends here diff --git a/elpa/auctex-13.1.3/style/bm.elc b/elpa/auctex-13.1.3/style/bm.elc new file mode 100644 index 0000000..92cfc41 Binary files /dev/null and b/elpa/auctex-13.1.3/style/bm.elc differ diff --git a/elpa/auctex-13.1.3/style/book.el b/elpa/auctex-13.1.3/style/book.el new file mode 100644 index 0000000..4a23d25 --- /dev/null +++ b/elpa/auctex-13.1.3/style/book.el @@ -0,0 +1,24 @@ +;;; book.el - Special code for book style. -*- lexical-binding: t; -*- + +;;; Code: + +(require 'tex) +(require 'latex) + +(defvar LaTeX-book-class-options + '("a4paper" "a5paper" "b5paper" "letterpaper" "legalpaper" "executivepaper" + "landscape" "10pt" "11pt" "12pt" "oneside" "twoside" "draft" "final" + "titlepage" "notitlepage" "openright" "openany" "onecolumn" "twocolumn" + "leqno" "fleqn" "openbib") + "Package options for the book class.") + +(TeX-add-style-hook + "book" + (lambda () + (LaTeX-largest-level-set "part") + (LaTeX-add-counters "part" "chapter" "section" "subsection" "subsubsection" + "paragraph" "subparagraph" "figure" "table") + (LaTeX-add-pagestyles "headings" "myheadings")) + TeX-dialect) + +;;; book.el ends here diff --git a/elpa/auctex-13.1.3/style/book.elc b/elpa/auctex-13.1.3/style/book.elc new file mode 100644 index 0000000..011a385 Binary files /dev/null and b/elpa/auctex-13.1.3/style/book.elc differ diff --git a/elpa/auctex-13.1.3/style/booktabs.el b/elpa/auctex-13.1.3/style/booktabs.el new file mode 100644 index 0000000..79571ea --- /dev/null +++ b/elpa/auctex-13.1.3/style/booktabs.el @@ -0,0 +1,86 @@ +;;; booktabs.el -- AUCTeX style for booktabs.sty -*- lexical-binding: t; -*- + +;; Copyright (C) 2003, 2004, 2013, 2018, 2020 Free Software Foundation, Inc. + +;; Author: Ralf Angeli +;; Maintainer: auctex-devel@gnu.org +;; Created: 2003-10-21 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `booktabs.sty'. + +;;; Code: + +(require 'tex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(defun LaTeX-booktabs-arg-paren (optional prompt) + "Prompt for a value and use parentheses when it is inserted. +If OPTIONAL is non-nil the parameter is labeled as optional. +PROMPT is the value of the prompt to be shown." + (let ((TeX-arg-opening-brace "(") + (TeX-arg-closing-brace ")")) + (TeX-parse-argument optional prompt))) + +(TeX-add-style-hook + "booktabs" + (lambda () + ;; Do not append an empty group to toprule, midrule, and bottomrule macros, + ;; otherwise one gets a wrong spacing in the table. + (setq TeX-insert-braces-alist (append TeX-insert-braces-alist + '(("toprule" . nil) + ("midrule" . nil) + ("bottomrule" . nil)))) + ;; New symbols + (TeX-add-symbols + '("toprule" [ "Thickness" ]) + '("midrule" [ "Thickness" ]) + '("bottomrule" [ "Thickness" ]) + ;; The `ignore' resets `TeX-last-optional-rejected' to nil so that the trim + ;; argument is prompted also when the thickness is skipped. + '("cmidrule" [ "Thickness" ] (ignore) [ LaTeX-booktabs-arg-paren "Trim" ] + "Column(s)") + '("addlinespace" [ "Height" ]) + '("morecmidrules") + '("specialrule" "Thickness" "Space above" "Space below")) + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("toprule" "[") + ("midrule" "[") + ("bottomrule" "[") + ("cmidrule" "[({") + ("addlinespace" "[") + ("morecmidrules" "") + ("specialrule" "{{{")) + 'function))) + TeX-dialect) + +(defvar LaTeX-booktabs-package-options nil + "Package options for the booktabs package.") + +;;; booktabs.el ends here diff --git a/elpa/auctex-13.1.3/style/booktabs.elc b/elpa/auctex-13.1.3/style/booktabs.elc new file mode 100644 index 0000000..84a75c9 Binary files /dev/null and b/elpa/auctex-13.1.3/style/booktabs.elc differ diff --git a/elpa/auctex-13.1.3/style/brazil.el b/elpa/auctex-13.1.3/style/brazil.el new file mode 100644 index 0000000..353e771 --- /dev/null +++ b/elpa/auctex-13.1.3/style/brazil.el @@ -0,0 +1,37 @@ +;;; brazil.el --- Setup AUCTeX for editing Brazilian text. -*- lexical-binding: t; -*- + +;; Copyright (C) 2021 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2021-05-02 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Code: + +(require 'tex) + +(TeX-add-style-hook + "brazil" + (lambda () + (TeX-run-style-hooks "brazilian")) + TeX-dialect) + +;;; brazil.el ends here diff --git a/elpa/auctex-13.1.3/style/brazil.elc b/elpa/auctex-13.1.3/style/brazil.elc new file mode 100644 index 0000000..74d94bd Binary files /dev/null and b/elpa/auctex-13.1.3/style/brazil.elc differ diff --git a/elpa/auctex-13.1.3/style/brazilian.el b/elpa/auctex-13.1.3/style/brazilian.el new file mode 100644 index 0000000..c1ae802 --- /dev/null +++ b/elpa/auctex-13.1.3/style/brazilian.el @@ -0,0 +1,77 @@ +;;; brazilian.el --- Setup AUCTeX for editing Brazilian text. -*- lexical-binding: t; -*- + +;; Copyright (C) 2021 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2021-05-02 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; Cater for some specialities of Brazilian and Portuguese languages +;; provided by babel package, e.g. special quote and hyphen strings or +;; `"' which is an active character. + +;; Thanks to Gustavo Barros for requesting +;; this feature and reviewing the code. + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-quotes + "font-latex" + (quotes)) + +(declare-function font-latex-add-to-syntax-alist + "font-latex" + (list)) + +(defvar LaTeX-brazilian-mode-syntax-table + (copy-syntax-table LaTeX-mode-syntax-table) + "Syntax table used in LaTeX mode when using `brazilian' language.") + +(modify-syntax-entry ?\" "w" LaTeX-brazilian-mode-syntax-table) + +(TeX-add-style-hook + "brazilian" + (lambda () + (set-syntax-table LaTeX-brazilian-mode-syntax-table) + (unless (eq (car TeX-quote-language) 'override) + (setq TeX-quote-language nil)) + (setq LaTeX-babel-hyphen-language "brazilian") + (TeX-add-symbols + "ord" + "ro" + "orda" + "ra") + ;; Fontification + (when (and (eq TeX-install-font-lock 'font-latex-setup) + (featurep 'font-latex)) + (font-latex-add-quotes '("\"<" "\">" french)) + ;; Prevent "| from leading to color bleed. + (font-latex-add-to-syntax-alist (list (cons ?\" "\\")))) + (run-hooks 'TeX-language-pt-br-hook)) + TeX-dialect) + +;;; brazilian.el ends here diff --git a/elpa/auctex-13.1.3/style/brazilian.elc b/elpa/auctex-13.1.3/style/brazilian.elc new file mode 100644 index 0000000..9112924 Binary files /dev/null and b/elpa/auctex-13.1.3/style/brazilian.elc differ diff --git a/elpa/auctex-13.1.3/style/breqn.el b/elpa/auctex-13.1.3/style/breqn.el new file mode 100644 index 0000000..0352055 --- /dev/null +++ b/elpa/auctex-13.1.3/style/breqn.el @@ -0,0 +1,141 @@ +;;; breqn.el --- AUCTeX style for `breqn.sty' (v0.98j) -*- lexical-binding: t; -*- + +;; Copyright (C) 2017--2020 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2017-01-06 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `breqn.sty' (v0.98j) from 2020/04/19. +;; `breqn.sty' is part of TeXLive. + +;; In breqn documentation, there is the following statement: +;; +;; 9 Various environment options +;; +;; Use of the normal \label command instead of the label option +;; works, I think, most of the time (untested). +;; +;; To be on the safe side, a label should be written in the optional +;; argument of an environment as value to the `label' key, e.g.: +;; +;; \begin{dmath}[label={eq:42}] +;; ... +;; \end{dmath} +;; +;; This style achieves this requirement by using the function +;; `LaTeX-env-label-as-keyval'. + +;;; Code: + +(require 'latex) + +(defvar LaTeX-breqn-key-val-options + '(("style" ("\\tiny" "\\scriptsize" "\\footnotesize" "\\small" + "\\normalsize" "\\large" "\\Large" "\\LARGE" + "\\huge" "\\Huge")) + ("number") + ("indentstep") + ("compact") + ("spread") + ("frame") + ("framesep") + ("breakdepth")) + "Key=value options for breqn environments. +The keys \"label\" and \"labelprefix\" are omitted.") + +(defvar LaTeX-breqn-key-val-label-regexp + `(,(concat + "\\\\begin{" + (regexp-opt '("dmath" "dseries" "dgroup" "darray")) + "}" + (LaTeX-extract-key-value-label)) + 1 LaTeX-auto-label) + "Matches the label inside an optional argument after \\begin{}.") + +(defun LaTeX-breqn-env (env) + "Insert ENV from breqn package incl. optional key=val argument. +Keys offered for key=val query depend on ENV. \"label\" and +\"labelprefix\" are omitted." + (let ((keyvals + (TeX-read-key-val t + (cond ((or (string= env "dgroup") + (string= env "dgroup*")) + (append '(("noalign") ("brace")) + LaTeX-breqn-key-val-options)) + ((or (string= env "darray") + (string= env "darray*")) + (append '(("noalign") ("brace") ("cols" ("{}"))) + LaTeX-breqn-key-val-options)) + (t LaTeX-breqn-key-val-options))))) + (LaTeX-insert-environment env (when (and keyvals + (not (string= keyvals ""))) + (concat LaTeX-optop keyvals LaTeX-optcl))) + (LaTeX-env-label-as-keyval nil nil keyvals env))) + +(add-hook 'TeX-update-style-hook #'TeX-auto-parse t) + +(TeX-add-style-hook + "breqn" + (lambda () + + ;; Add breqn to parser: + (TeX-auto-add-regexp LaTeX-breqn-key-val-label-regexp) + + ;; Tell AUCTeX that we want to prefix the labels with `LaTeX-equation-label': + (let ((envs '("dmath" "dseries" "dgroup" "darray"))) + (dolist (env envs) + (add-to-list 'LaTeX-label-alist `(,env . LaTeX-equation-label) t))) + + ;; For RefTeX, we must distinguish between equation and eqnarray-like: + ;; breqn env == equivalent -- starred + ;; dmath == equation -- dmath* == unnumbered + ;; dseries == equation -- dseries* == unnumbered + ;; dgroup == align -- dgroup* == unnumbered + ;; darray == eqnarray -- darray* == unnumbered + (when (fboundp 'reftex-add-label-environments) + (dolist (env '("dmath" "dseries" "dgroup")) + (reftex-add-label-environments `((,env ?e nil nil t)))) + (reftex-add-label-environments '(("darray" ?e nil nil eqnarray-like)))) + + (LaTeX-add-environments + '("dmath" LaTeX-breqn-env) + '("dmath*" LaTeX-breqn-env) + '("dseries" LaTeX-breqn-env) + '("dseries*" LaTeX-breqn-env) + '("dgroup" LaTeX-breqn-env) + '("dgroup*" LaTeX-breqn-env) + '("darray" LaTeX-breqn-env) + '("darray*" LaTeX-breqn-env) + '("dsuspend")) + + (TeX-add-symbols + '("condition" [ "Punctuation mark (default ,)" ] t) + '("condition*" [ "Punctuation mark (default ,)" ] t) + '("hiderel" t))) + TeX-dialect) + +(defvar LaTeX-breqn-package-options nil + "Package options for the breqn package.") + +;;; breqn.el ends here diff --git a/elpa/auctex-13.1.3/style/breqn.elc b/elpa/auctex-13.1.3/style/breqn.elc new file mode 100644 index 0000000..3ce5fbb Binary files /dev/null and b/elpa/auctex-13.1.3/style/breqn.elc differ diff --git a/elpa/auctex-13.1.3/style/bulgarian.el b/elpa/auctex-13.1.3/style/bulgarian.el new file mode 100644 index 0000000..d571a5f --- /dev/null +++ b/elpa/auctex-13.1.3/style/bulgarian.el @@ -0,0 +1,63 @@ +;;; bulgarian.el --- AUCTeX style for the `bulgarian' babel option. -*- lexical-binding: t; -*- + +;; Copyright (C) 2008, 2018, 2020 Free Software Foundation, Inc. + +;; Author: Ralf Angeli +;; Maintainer: auctex-devel@gnu.org +;; Created: 2008-06-28 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; Set up AUCTeX for editing Bulgarian text in connection with the +;; `bulgarian' babel option. + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-quotes + "font-latex" + (quotes)) + +(defvar LaTeX-bulgarian-mode-syntax-table + (copy-syntax-table LaTeX-mode-syntax-table) + "Syntax table used in LaTeX mode when using `bulgarian.sty'.") + +(modify-syntax-entry ?\" "w" LaTeX-bulgarian-mode-syntax-table) + +(TeX-add-style-hook + "bulgarian" + (lambda () + (set-syntax-table LaTeX-bulgarian-mode-syntax-table) + (unless (eq (car TeX-quote-language) 'override) + (setq TeX-quote-language + `("bulgarian" "\"`" "\"'" ,TeX-quote-after-quote))) + (setq LaTeX-babel-hyphen-language "bulgarian") + ;; Fontification of quotation marks. + (when (fboundp 'font-latex-add-quotes) + (font-latex-add-quotes '("\"`" "\"'")) + (font-latex-add-quotes '("\"<" "\">" french))) + (run-hooks 'TeX-language-bg-hook)) + TeX-dialect) + +;;; bulgarian.el ends here diff --git a/elpa/auctex-13.1.3/style/bulgarian.elc b/elpa/auctex-13.1.3/style/bulgarian.elc new file mode 100644 index 0000000..3203318 Binary files /dev/null and b/elpa/auctex-13.1.3/style/bulgarian.elc differ diff --git a/elpa/auctex-13.1.3/style/canadian.el b/elpa/auctex-13.1.3/style/canadian.el new file mode 100644 index 0000000..9066fc2 --- /dev/null +++ b/elpa/auctex-13.1.3/style/canadian.el @@ -0,0 +1,42 @@ +;;; canadian.el --- AUCTeX style for the `canadian' babel option. -*- lexical-binding: t; -*- + +;; Copyright (C) 2017, 2020 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2017-07-02 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; Set up AUCTeX for editing Canadian text in connection with the +;; `canadian' babel option. + +;;; Code: + +(require 'tex) + +(TeX-add-style-hook + "canadian" + (lambda () + (TeX-run-style-hooks "english")) + TeX-dialect) + +;;; canadian.el ends here diff --git a/elpa/auctex-13.1.3/style/canadian.elc b/elpa/auctex-13.1.3/style/canadian.elc new file mode 100644 index 0000000..6f7d6db Binary files /dev/null and b/elpa/auctex-13.1.3/style/canadian.elc differ diff --git a/elpa/auctex-13.1.3/style/cancel.el b/elpa/auctex-13.1.3/style/cancel.el new file mode 100644 index 0000000..765fe68 --- /dev/null +++ b/elpa/auctex-13.1.3/style/cancel.el @@ -0,0 +1,63 @@ +;;; cancel.el --- AUCTeX style for `cancel.sty' -*- lexical-binding: t; -*- + +;; Copyright (C) 2021 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2021-11-24 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +;; MA 02110-1301 USA. + +;;; Commentary: + +;; This file adds support for `cancel.sty' v2.2 form 2013-04-12. + +;;; Code: + +(require 'tex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(TeX-add-style-hook + "cancel" + (lambda () + (TeX-add-symbols + '("cancel" "Expression") + '("bcancel" "Expression") + '("xcancel" "Expression") + '("cancelto" "Value" "Expression") + "CancelColor") + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("cancel" "|{\\") + ("bcancel" "|{\\") + ("xcancel" "|{\\")) + 'textual))) + TeX-dialect) + +(defvar LaTeX-cancel-package-options + '("thicklines" "samesize" "smaller" "Smaller") + "Package options for the cancel package.") + +;;; cancel.el ends here diff --git a/elpa/auctex-13.1.3/style/cancel.elc b/elpa/auctex-13.1.3/style/cancel.elc new file mode 100644 index 0000000..33e0dd9 Binary files /dev/null and b/elpa/auctex-13.1.3/style/cancel.elc differ diff --git a/elpa/auctex-13.1.3/style/captcont.el b/elpa/auctex-13.1.3/style/captcont.el new file mode 100644 index 0000000..5bf1ba1 --- /dev/null +++ b/elpa/auctex-13.1.3/style/captcont.el @@ -0,0 +1,54 @@ +;; captcont.el --- AUCTeX style file for captcont.sty -*- lexical-binding: t; -*- + +;; Copyright (C) 2003, 2005, 2018, 2020 Free Software Foundation, Inc. + +;; Author: Reiner Steib +;; Maintainer: auctex-devel@gnu.org +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; AUCTeX style file for captcont.sty + +;;; Code: + +(require 'tex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(TeX-add-style-hook + "captcont" + (lambda () + (TeX-add-symbols + '("captcont" [ "list entry" ] "Caption") + '("captcont*" [ "list entry" ] "Caption")) + ;; Fontification + (when (featurep 'font-latex) + (font-latex-add-keywords '(("captcont" "*[{")) 'textual))) + TeX-dialect) + +(defvar LaTeX-captcont-package-options '("figbotcap" "figtopcap" "tabbotcap" + "tabtopcap") + "Package options for the captcont package.") + +;;; captcont.el ends here diff --git a/elpa/auctex-13.1.3/style/captcont.elc b/elpa/auctex-13.1.3/style/captcont.elc new file mode 100644 index 0000000..144f812 Binary files /dev/null and b/elpa/auctex-13.1.3/style/captcont.elc differ diff --git a/elpa/auctex-13.1.3/style/caption.el b/elpa/auctex-13.1.3/style/caption.el new file mode 100644 index 0000000..134157a --- /dev/null +++ b/elpa/auctex-13.1.3/style/caption.el @@ -0,0 +1,491 @@ +;;; caption.el --- AUCTeX style for `caption.sty' (v3.4a) -*- lexical-binding: t; -*- + +;; Copyright (C) 2015--2021 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2015-02-21 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `caption.sty' (v3.4a) from 2019/10/18. +;; `caption.sty' is part of TeXLive. + +;; If things do not work or when in doubt, press `C-c C-n'. Comments +;; for improvement are welcome. + +;;; Code: + +(eval-when-compile + (require 'cl-lib)) + +;; Needed for compiling `LaTeX-check-insert-macro-default-style': +(require 'latex) + +;; Needed for auto-parsing: +(require 'tex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(declare-function LaTeX-babel-active-languages "babel" ()) +(declare-function LaTeX-polyglossia-active-languages "polyglossia" ()) +(declare-function LaTeX-newfloat-DeclareFloatingEnvironment-list + "newfloat" ()) + +(defvar LaTeX-bicaption-key-val-options) +(defvar LaTeX-subcaption-key-val-options) + +(defvar LaTeX-caption-key-val-options + '(("aboveskip") + ("belowskip") + ("font" ("scriptsize" "footnotesize" "small" "normalsize" "large" + "Large" "normalfont" "up" "it" "sl" "sc" "md" "bf" "rm" + "sf" "tt" "singlespacing" "onehalfspacing" "doublespacing" + "stretch" "normalcolor" "color" "normal")) + ("font+" ("scriptsize" "footnotesize" "small" "normalsize" "large" + "Large" "normalfont" "up" "it" "sl" "sc" "md" "bf" "rm" + "sf" "tt" "singlespacing" "onehalfspacing" "doublespacing" + "stretch" "normalcolor" "color" "normal")) + ("format" ("plain" "hang")) + ("hangindent") + ("hypcap" ("false" "no" "off" "0" "true" "yes" "on" "1")) + ("hypcapspace") + ("indention") + ("justification" ("justified" "centering" "centerlast" "centerfirst" + "raggedright" "RaggedRight" "raggedleft")) + ("labelfont" ("scriptsize" "footnotesize" "small" "normalsize" "large" + "Large" "normalfont" "up" "it" "sl" "sc" "md" "bf" "rm" + "sf" "tt" "singlespacing" "onehalfspacing" "doublespacing" + "stretch" "normalcolor" "color" "normal")) + ("labelfont+" ("scriptsize" "footnotesize" "small" "normalsize" "large" + "Large" "normalfont" "up" "it" "sl" "sc" "md" "bf" "rm" + "sf" "tt" "singlespacing" "onehalfspacing" "doublespacing" + "stretch" "normalcolor" "color" "normal")) + ("labelformat" ("default" "empty" "simple" "brace" "parens" + "autodot" "unnumbered")) + ("labelsep" ("none" "colon" "period" "space" "quad" "newline" "endash")) + ("list" ("false" "no" "off" "0" "true" "yes" "on" "1")) + ("listformat" ("empty" "simple" "paren" "subsimple" "subparens")) + ("margin") + ("margin*") + ("maxmargin") + ("minmargin") + ("name") + ("oneside") + ("parindent") + ("parskip") + ("position" ("top" "above" "bottom" "below" "auto")) + ("singlelinecheck" ("false" "no" "off" "0" "true" "yes" "on" "1")) + ("slc" ("false" "no" "off" "0" "true" "yes" "on" "1")) + ("skip") + ("strut" ("false" "no" "off" "0" "true" "yes" "on" "1")) + ("style" ("base" "default")) + ("textfont" ("scriptsize" "footnotesize" "small" "normalsize" "large" + "Large" "normalfont" "up" "it" "sl" "sc" "md" "bf" "rm" + "sf" "tt" "singlespacing" "onehalfspacing" "doublespacing" + "stretch" "normalcolor" "color" "normal")) + ("textfont+" ("scriptsize" "footnotesize" "small" "normalsize" "large" + "Large" "normalfont" "up" "it" "sl" "sc" "md" "bf" "rm" + "sf" "tt" "singlespacing" "onehalfspacing" "doublespacing" + "stretch" "normalcolor" "color" "normal")) + ("textformat" ("empty" "simple" "period")) + ("twoside") + ("type" ("figure" "table")) + ("type*" ("figure" "table")) + ("width")) + "Key=value options for caption macros.") + +(defun LaTeX-caption-key-val-options () + "Return an updated list of key=vals from caption package. +The key=val list will also contain elements from subcaption +package if loaded." + ;; Update the style list once so we don't run this function more + ;; than once: + (TeX-style-list) + (append + ;; Check if `subcaption.el' is loaded: + (when (member "subcaption" TeX-active-styles) + ;; If loaded, update also the entry for `subrefformat' when + ;; processing the `labelformat'. `subrefformat' keys takes the + ;; same values as `labelformat'. We have to check if we have an + ;; entry for `\DeclareCaptionLabelFormat', otherwise there is no + ;; need to run this procedure: + (if (and (LaTeX-caption-DeclareCaption-list) + (string-match + "\\\\DeclareCaptionLabelFormat" + (mapconcat #'identity + (mapcar #'car + (LaTeX-caption-DeclareCaption-list)) + "|"))) + (progn + (let (result) + (dolist (keyvals (LaTeX-caption-DeclareCaption-list) result) + (when (string-equal (nth 1 keyvals) "LabelFormat") + (let* ((key "subrefformat") + (val (nth 2 keyvals)) + (vals-predefined + (cadr (assoc key + LaTeX-subcaption-key-val-options))) + (vals-parsed + (cadr (assoc key result)))) + (cl-pushnew (list key (TeX-delete-duplicate-strings + (append vals-predefined + vals-parsed + (list val)))) + result :test #'equal)))))) + LaTeX-subcaption-key-val-options)) + ;; Check if `bicaption.el' is loaded: + (when (member "bicaption" TeX-active-styles) + (append + (cond ((and (member "babel" TeX-active-styles) + (LaTeX-babel-active-languages)) + `(,(list "language" + (butlast (LaTeX-babel-active-languages))))) + ((and (member "polyglossia" TeX-active-styles) + (LaTeX-polyglossia-active-languages)) + `(,(list "language" + (butlast (LaTeX-polyglossia-active-languages))))) + (t nil)) + LaTeX-bicaption-key-val-options)) + ;; Support for environments defined with `newfloat.sty': These + ;; environments are added to `type' and `type*' keys: + (when (and (member "newfloat" TeX-active-styles) + (LaTeX-newfloat-DeclareFloatingEnvironment-list)) + (let (result) + (dolist (key '("type" "type*") result) + (let ((val (mapcar #'car + (LaTeX-newfloat-DeclareFloatingEnvironment-list))) + (vals-predefined + (cadr (assoc key LaTeX-caption-key-val-options)))) + (cl-pushnew (list key (TeX-delete-duplicate-strings + (append vals-predefined + val))) + result :test #'equal))))) + ;; Update to standard key-vals from `caption.el': + (when (LaTeX-caption-DeclareCaption-list) + (let (result) + (dolist (keyvals (LaTeX-caption-DeclareCaption-list) result) + (let* ((key (if (string-equal (nth 1 keyvals) "LabelSeparator") + (downcase (substring (nth 1 keyvals) 0 8)) + (downcase (nth 1 keyvals)))) + (val (nth 2 keyvals)) + (vals-predefined + (cadr (assoc key LaTeX-caption-key-val-options))) + (vals-parsed (cadr (assoc key result)))) + ;; For `\DeclareCaptionOption', only add the value + ;; (remember: key=^^^^^^, val="defined key") + (if (string-equal key "option") + (cl-pushnew (list val) result :test #'equal) + (cl-pushnew (list key (TeX-delete-duplicate-strings + (append vals-predefined + vals-parsed + (list val)))) + result :test #'equal)))))) + LaTeX-caption-key-val-options)) + +(defvar LaTeX-caption-supported-float-types + '("figure" "table" "ContinuedFloat" ; Standard caption.sty + "sub" "subtable" "subfigure" ; subcaption.sty + "bi" "bi-first" "bi-second" ; bicaption.sty + "ruled" "boxed" ; float.sty + "floatingfigure" "floatingtable" ; floatflt.sty + "lstlisting" ; listings.sty + "longtable" ; longtable.sty + "figwindow" "tabwindow" ; picinpar.sty + "parpic" ; picins.sty + "SCfigure" "SCtable" ; sidecap.sty + "supertabular" "xtabular" ; supertabular.sty & xtab.sty + "threeparttable" "measuredfigure" ; threeparttable.sty + "wrapfigure" "wraptable") ; wrapfigure.sty + "List of float types supported by `caption.sty'. +These types are provided by other LaTeX packages.") + +;; Setup for various \DeclareCaption's: +(TeX-auto-add-type "caption-DeclareCaption" "LaTeX") + +;; The 2. argument to `DeclareCaption[A-Za-z]' contains (La)TeX code. +;; We deliberately ignore that argument in our regex since it is not +;; needed for this style and would pollute the auto generated +;; `docname.el' file. +(defvar LaTeX-caption-DeclareCaption-regexp + `(,(concat "\\\\DeclareCaption\\(Font\\|Format\\|Justification" + "\\|LabelFormat\\|LabelSeparator\\|ListFormat" + "\\|Option\\|Style\\|TextFormat\\)" + "\\*?" + "[ \t\n\r%]*" + "{\\([^}]+\\)}") + (0 1 2) LaTeX-auto-caption-DeclareCaption) + "Matches the arguments of different `\\DeclareCaption*' from `caption.sty'.") + +(defun LaTeX-caption-auto-prepare () + "Clear `LaTeX-auto-caption-DeclareCaption' before parsing." + (setq LaTeX-auto-caption-DeclareCaption nil)) + +(add-hook 'TeX-auto-prepare-hook #'LaTeX-caption-auto-prepare t) +(add-hook 'TeX-update-style-hook #'TeX-auto-parse t) + +;; In `LaTeX-caption-DeclareCaption-regexp', we match (0 1 2). When +;; adding a new `Name', we need something unique for `0'-match until +;; the next `C-c C-n'. We mimic that regex-match bei concat'ing the +;; elements. It will vanish upon next `C-c C-n'. +(defun LaTeX-arg-caption-DeclareCaption (optional format) + "Insert various `\\DeclareCaptionFORMAT' commands. +If OPTIONAL, insert argument in square brackets. FORMAT is the +suffix of the LaTeX macro." + (let ((name (TeX-read-string "Name: "))) + (LaTeX-add-caption-DeclareCaptions + (list (concat "\\DeclareCaption" format "{" name "}") + format name)) + (TeX-argument-insert name optional))) + +;; Support for an undocumented feature of caption.sty: +;; `\captionbox' sets the width of the caption equal to the width of +;; the contents (a feature provided e.g. by `threeparttable.sty'). +;; The starred version typesets the caption without label and without +;; entry to the list of figures or tables. + +;; The first mandatory argument {} contains the caption text +;; and the label. We used to use `TeX-insert-macro' to do the job +;; (Thanks to M. Giordano for his valuable comments on this!), but now +;; moved to `LaTeX-label'. + +;; Syntax: +;; \captionbox[]{}[][]{} +;; \captionbox*{}[][]{} + +(defun LaTeX-arg-caption-captionbox (optional &optional star) + "Query for the arguments of \"\\captionbox\" incl. a label and insert them. +If OPTIONAL is non-nil, indicate it while reading the caption. +If STAR is non-nil, then do not query for a \\label and a short +caption, insert only a caption." + (let* ((currenv (LaTeX-current-environment)) + (caption (TeX-read-string + (TeX-argument-prompt optional nil "Caption"))) + (short-caption + (when (and (not star) + (>= (length caption) LaTeX-short-caption-prompt-length)) + (TeX-read-string + (TeX-argument-prompt t nil "Short caption"))))) + (indent-according-to-mode) + (when (and short-caption (not (string= short-caption ""))) + (insert LaTeX-optop short-caption LaTeX-optcl)) + (insert TeX-grop caption) + (unless star (LaTeX-label currenv 'environment)) + (insert TeX-grcl)) + (let* ((TeX-arg-opening-brace "[") + (TeX-arg-closing-brace "]") + (TeX-last-optional-rejected nil) + (width (LaTeX-check-insert-macro-default-style + (completing-read (TeX-argument-prompt t nil "Width") + (mapcar (lambda (elt) (concat TeX-esc (car elt))) + (LaTeX-length-list))))) + (TeX-last-optional-rejected (or (not width) + (and width (string= width "")))) + (inpos (LaTeX-check-insert-macro-default-style + (if (and width (not (string-equal width ""))) + (completing-read (TeX-argument-prompt t nil "Inner position") + '("c" "l" "r" "s")) + "")))) + (and width (TeX-argument-insert width t)) + (and inpos (TeX-argument-insert inpos t))) + ;; Fill the paragraph before inserting {}. We can use + ;; `LaTeX-fill-paragraph' without messing up the code since + ;; \caption starts a new paragraph with AUCTeX + ;; (cf. `paragraph-start'). + (when auto-fill-function (LaTeX-fill-paragraph))) + +(defun LaTeX-arg-caption-captionof (optional &optional star) + "Query for the arguments of \"\\captionof\" macro and insert them. +If OPTIONAL is non-nil, insert the arguments in brackets. If +STAR is non-nil, do not query for a short-caption and a label." + (let* ((envtype (completing-read (TeX-argument-prompt optional nil "Float type") + LaTeX-caption-supported-float-types)) + (figtypes '("figure" "subfigure" "floatingfigure" + "figwindow" "SCfigure" "measuredfigure" "wrapfigure")) + (tabtypes '("table" "subtable" "floatingtable" "tabwindow" "SCtable" + "supertabular" "xtabular" "threeparttable" "wraptable")) + (caption (TeX-read-string + (TeX-argument-prompt optional nil "Caption"))) + (short-caption + (when (and (not star) + (>= (length caption) LaTeX-short-caption-prompt-length)) + (TeX-read-string + (TeX-argument-prompt t nil "Short caption"))))) + (indent-according-to-mode) + (TeX-argument-insert envtype optional) + (when (and short-caption (not (string= short-caption ""))) + (insert LaTeX-optop short-caption LaTeX-optcl)) + (TeX-argument-insert caption optional) + (when auto-fill-function (LaTeX-fill-paragraph)) + (when (and (not star) + ;; Check if `envtype' is a figure or a table, also + ;; consult `LaTeX-label-alist' for additions from user + ;; or newfloat.el, then run `LaTeX-label' w/ + ;; 'environment arg, otherwise w/o. + (save-excursion + (if (or (member envtype figtypes) + (member envtype tabtypes) + (assoc envtype LaTeX-label-alist)) + (LaTeX-label (cond ((member envtype figtypes) + "figure") + ((member envtype tabtypes) + "table") + (t envtype)) + 'environment) + (LaTeX-label envtype)))) + (LaTeX-newline) + (indent-according-to-mode) + (end-of-line)))) + +(TeX-add-style-hook + "caption" + (lambda () + + ;; Add caption to the parser. + (TeX-auto-add-regexp LaTeX-caption-DeclareCaption-regexp) + + ;; Caption commands: + (TeX-add-symbols + '("caption*" t) + + '("captionlistentry" + [TeX-arg-eval completing-read (TeX-argument-prompt t nil "Float type") + LaTeX-caption-supported-float-types] + t) + + '("captionof" LaTeX-arg-caption-captionof) + + '("captionof*" (LaTeX-arg-caption-captionof t)) + + '("captionsetup" + (TeX-arg-conditional (member "bicaption" (TeX-style-list)) + ([LaTeX-arg-bicaption-captionsetup]) + ([TeX-arg-eval completing-read + (TeX-argument-prompt t nil "Float type") + LaTeX-caption-supported-float-types])) + (TeX-arg-key-val (LaTeX-caption-key-val-options))) + + '("captionsetup*" + (TeX-arg-conditional (member "bicaption" (TeX-style-list)) + ([LaTeX-arg-bicaption-captionsetup]) + ([TeX-arg-eval completing-read + (TeX-argument-prompt t nil "Float type") + LaTeX-caption-supported-float-types])) + (TeX-arg-key-val (LaTeX-caption-key-val-options))) + + '("clearcaptionsetup" + [TeX-arg-eval completing-read + (TeX-argument-prompt t nil "Single key") + (LaTeX-caption-key-val-options)] + (TeX-arg-eval completing-read (TeX-argument-prompt nil nil "Float type") + LaTeX-caption-supported-float-types)) + + '("clearcaptionsetup*" + [TeX-arg-eval completing-read + (TeX-argument-prompt t nil "Single key") + (LaTeX-caption-key-val-options)] + (TeX-arg-eval completing-read (TeX-argument-prompt nil nil "Float type") + LaTeX-caption-supported-float-types)) + + '("captionbox" (LaTeX-arg-caption-captionbox) t) + + '("captionbox*" (LaTeX-arg-caption-captionbox t) t) + + '("continuedfloat" 0) + '("continuedfloat*" 0) + + '("DeclareCaptionFont" + (LaTeX-arg-caption-DeclareCaption "Font") t) + + '("DeclareCaptionFormat" + (LaTeX-arg-caption-DeclareCaption "Format") t) + + '("DeclareCaptionFormat*" + (LaTeX-arg-caption-DeclareCaption "Format") t) + + '("DeclareCaptionJustification" + (LaTeX-arg-caption-DeclareCaption "Justification") t) + + '("DeclareCaptionLabelFormat" + (LaTeX-arg-caption-DeclareCaption "LabelFormat") t) + + '("DeclareCaptionLabelSeparator" + (LaTeX-arg-caption-DeclareCaption "LabelSeparator") t) + + '("DeclareCaptionLabelSeparator*" + (LaTeX-arg-caption-DeclareCaption "LabelSeparator") t) + + '("DeclareCaptionListFormat" + (LaTeX-arg-caption-DeclareCaption "ListFormat") t) + + '("DeclareCaptionOption" + (LaTeX-arg-caption-DeclareCaption "Option") t) + + '("DeclareCaptionStyle" + (LaTeX-arg-caption-DeclareCaption "Style") + [TeX-arg-key-val (LaTeX-caption-key-val-options) "Additional options"] + (TeX-arg-key-val (LaTeX-caption-key-val-options) "Options")) + + '("DeclareCaptionTextFormat" + (LaTeX-arg-caption-DeclareCaption "TextFormat") t) + + '("bothIfFirst" 2) + + '("bothIfSecond" 2)) + + ;; \caption(box|of) macros should get their own lines + (LaTeX-paragraph-commands-add-locally '("captionbox" "captionof")) + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("caption" "*[{") + ("captionlistentry" "[{") + ("captionof" "*{[{") + ("captionbox" "*[{[[")) + 'textual) + (font-latex-add-keywords '(("captionsetup" "*[[{") + ("clearcaptionsetup" "*[{") + ("continuedfloat" "") + ("DeclareCaptionFont" "{{") + ("DeclareCaptionFormat" "*{{") + ("DeclareCaptionJustification" "{{") + ("DeclareCaptionLabelFormat" "{{") + ("DeclareCaptionLabelSeparator" "*{{") + ("DeclareCaptionListFormat" "{{") + ("DeclareCaptionOption" "{{") + ("DeclareCaptionStyle" "{[{") + ("DeclareCaptionTextFormat" "{{")) + 'function)) ) + TeX-dialect) + +(defun LaTeX-caption-package-options () + "Prompt for package options for the caption package." + (TeX-read-key-val t + (append '(("compatibility" ("true" "false"))) + '(("figureposition" ("top" "above" "bottom" "below"))) + '(("tableposition" ("top" "above" "bottom" "below"))) + LaTeX-caption-key-val-options))) + +;;; caption.el ends here diff --git a/elpa/auctex-13.1.3/style/caption.elc b/elpa/auctex-13.1.3/style/caption.elc new file mode 100644 index 0000000..9bb293d Binary files /dev/null and b/elpa/auctex-13.1.3/style/caption.elc differ diff --git a/elpa/auctex-13.1.3/style/changelog.el b/elpa/auctex-13.1.3/style/changelog.el new file mode 100644 index 0000000..a4ebb43 --- /dev/null +++ b/elpa/auctex-13.1.3/style/changelog.el @@ -0,0 +1,163 @@ +;;; changelog.el --- AUCTeX style for `changelog.sty' (v2.0.0) -*- lexical-binding: t; -*- + +;; Copyright (C) 2019, 2020 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2019-05-05 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `changelog.sty' (v2.0.0). +;; `changelog.sty' is part of TeXLive. + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) +(defvar reftex-label-alist) + +(defvar LaTeX-changelog-env-key-val-options + '(("section" ("true" "false")) + ("title")) + "Key=value options for changelog environment. +The keys sectioncmd and label are added in the function +`LaTeX-env-changelog'.") + +(defvar LaTeX-changelog-version-env-key-val-options + '(("version") + ("v") + ("author") + ("date") + ("yanked" ("true" "false")) + ("simple" ("true" "false")) + ("short" ("true" "false"))) + "key=value options for version environment.") + +(defun LaTeX-env-changelog (environment) + "Insert ENVIRONMENT, ask for optional argument and insert a label." + (let* ((seccmds (mapcar #'car LaTeX-section-list)) + ;; Collect the key=vals acc. to environment & documentclass + (opts (TeX-read-key-val + t + (if (string= environment "changelog") + (append + `(("sectioncmd" + ,(if (< (LaTeX-largest-level) 2) + (append + (mapcar (lambda (cmd) (concat TeX-esc cmd)) + seccmds) + (mapcar (lambda (cmd) (concat TeX-esc cmd "*")) + seccmds)) + (append + (mapcar (lambda (cmd) (concat TeX-esc cmd)) + (remove "chapter" seccmds)) + (mapcar (lambda (cmd) (concat TeX-esc cmd "*")) + (remove "chapter" seccmds)))))) + LaTeX-changelog-env-key-val-options + LaTeX-changelog-version-env-key-val-options) + LaTeX-changelog-version-env-key-val-options))) + ;; Extract the chosen sectioning command + (sec (progn + (string-match "sectioncmd=\\\\\\([a-z]+\\)\\(\\*?\\)" opts) + (match-string-no-properties 1 opts))) + ;; Temp. re-bind `LaTeX-label-alist' and pick the label + ;; prefix from `LaTeX-section-label' + (LaTeX-label-alist + (when (and (string= environment "changelog") + (match-string 2 opts) + (not (string= (match-string 2 opts) "*"))) + `(,(cons environment + (cdr (assoc sec LaTeX-section-label)))))) + ;; Temp. re-bind `reftex-label-alist' as well and make + ;; `reftex-label' DTRT: + (reftex-label-alist + (when (and (boundp 'reftex-label-alist) + LaTeX-label-alist + (string= environment "changelog")) + `((,environment ?s ,(cdr (assoc sec LaTeX-section-label)) nil t))))) + (LaTeX-insert-environment + environment + (when (and opts (not (string= opts ""))) + (concat LaTeX-optop opts LaTeX-optcl))) + ;; Add a label into the opt. argument + (when (string= environment "changelog") + (LaTeX-env-label-as-keyval nil "sectioncmd" nil environment)) + ;; Add an \item in version environment + (when (string= environment "version") + (TeX-insert-macro "item") + (indent-according-to-mode)))) + +(TeX-add-style-hook + "changelog" + (lambda () + + (LaTeX-add-environments + '("changelog" LaTeX-env-changelog) + '("version" LaTeX-env-changelog)) + + (TeX-add-symbols + '("added" 0) + '("changed" 0) + '("deprecated" 0) + '("removed" 0) + '("fixed" 0) + '("security" 0) + `("shortversion" (TeX-arg-key-val + ,(append + '(("changes")) + LaTeX-changelog-version-env-key-val-options)))) + + ;; Tell RefTeX that the optional arg of changelog env. can contain a label: + (when (and (boundp 'reftex-label-regexps) + (fboundp 'reftex-compile-variables) + (not (string-match "\\bchangelog\\b" + (mapconcat #'identity + reftex-label-regexps + "|")))) + (add-to-list (make-local-variable 'reftex-label-regexps) + (concat "\\\\begin{changelog}" + (LaTeX-extract-key-value-label nil 1)) + t) + (reftex-compile-variables)) + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("added" "") + ("changed" "") + ("deprecated" "") + ("removed" "") + ("fixed" "") + ("security" "") + ("shortversion" "{")) + 'function))) + TeX-dialect) + +(defvar LaTeX-changelog-package-options nil + "Package options for the changelog package.") + +;;; changelog.el ends here diff --git a/elpa/auctex-13.1.3/style/changelog.elc b/elpa/auctex-13.1.3/style/changelog.elc new file mode 100644 index 0000000..5d1f273 Binary files /dev/null and b/elpa/auctex-13.1.3/style/changelog.elc differ diff --git a/elpa/auctex-13.1.3/style/changes.el b/elpa/auctex-13.1.3/style/changes.el new file mode 100644 index 0000000..9c3bff5 --- /dev/null +++ b/elpa/auctex-13.1.3/style/changes.el @@ -0,0 +1,242 @@ +;;; changes.el --- AUCTeX style for `changes.sty' -*- lexical-binding: t; -*- + +;; Copyright (C) 2021 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2021-01-31 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +;; MA 02110-1301 USA. + +;;; Commentary: + +;; This file adds support for `changes.sty' v4.0.0. from 2021/01/28. + +;;; Code: + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) +(defvar LaTeX-xcolor-base-colors) +(defvar LaTeX-truncate-package-options) +(defvar LaTeX-ulem-package-options) +(defvar LaTeX-xcolor-package-options) + +(TeX-auto-add-type "changes-definechangesauthor" "LaTeX") + +(defvar LaTeX-changes-definechangesauthor-regexp + `(,(concat "\\\\definechangesauthor" + "[ \t\n\r%]*" + "\\(?:\\[[^]]*\\]\\)?" + "[ \t\n\r%]*" + "{\\([^}]+\\)}") + 1 LaTeX-auto-changes-definechangesauthor) + "Matches the id defined by \\definechangesauthor.") + +(defun LaTeX-changes-auto-prepare () + "Reset `LaTeX-auto-changes-definechangesauthor'." + (setq LaTeX-auto-changes-definechangesauthor nil)) + +(add-hook 'TeX-auto-prepare-hook #'LaTeX-changes-auto-prepare t) +(add-hook 'TeX-update-style-hook #'TeX-auto-parse t) + +(defun LaTeX-arg-changes-definechangesauthor (optional) + "Prompt for the arguments of \\definechangesauthor macro. +While reading the first optional argument, remove space from +`crm-local-completion-map' and `minibuffer-local-completion-map'. +Insert the argument in brackets if OPTIONAL is non-nil." + (let* ((crm-local-completion-map + (remove (assoc 32 crm-local-completion-map) + crm-local-completion-map)) + (minibuffer-local-completion-map + (remove (assoc 32 minibuffer-local-completion-map) + minibuffer-local-completion-map)) + (TeX-last-optional-rejected nil) + (keyval (LaTeX-check-insert-macro-default-style + (TeX-read-key-val + t + `(("name") + ("color" + ,(cond + ((and (member "xcolor" (TeX-style-list)) + (fboundp 'LaTeX-xcolor-definecolor-list)) + (mapcar #'car (LaTeX-xcolor-definecolor-list))) + ((and (member "color" (TeX-style-list)) + (fboundp 'LaTeX-color-definecolor-list)) + (mapcar #'car (LaTeX-color-definecolor-list))) + (t nil))))))) + (TeX-arg-opening-brace LaTeX-optop) + (TeX-arg-closing-brace LaTeX-optcl)) + (when keyval (TeX-argument-insert keyval t))) + (let ((id (TeX-read-string + (TeX-argument-prompt optional nil "Author ID")))) + (LaTeX-add-changes-definechangesauthors id) + (TeX-argument-insert id optional))) + +(defun LaTeX-arg-changes-markup (optional) + "Prompt for the argument of various markup commands. +Remove space from `crm-local-completion-map' and +`minibuffer-local-completion-map' while reading user input. +Insert the argument in brackets if OPTIONAL is non-nil." + (let* ((crm-local-completion-map + (remove (assoc 32 crm-local-completion-map) + crm-local-completion-map)) + (minibuffer-local-completion-map + (remove (assoc 32 minibuffer-local-completion-map) + minibuffer-local-completion-map)) + (keyval (TeX-read-key-val + optional + `(("id" ,(mapcar #'car + (LaTeX-changes-definechangesauthor-list))) + ("comment"))))) + (TeX-argument-insert keyval optional))) + +(TeX-add-style-hook + "changes" + (lambda () + + ;; Add changes to the parser + (TeX-auto-add-regexp LaTeX-changes-definechangesauthor-regexp) + + ;; Run AUCTeX style hooks based on given package options: This is + ;; more complicated since we're only looking after "ulem" or + ;; "xcolor" and don't really care about the given options to them: + (when (assoc "changes" LaTeX-provided-package-options) + (dolist (pkg '("ulem" "xcolor")) + (let ((opts (cdr (assoc "changes" + LaTeX-provided-package-options)))) + (when (string-match (concat "\\<" pkg "\\>") + (mapconcat #'identity opts "|")) + (TeX-run-style-hooks pkg))))) + + ;; truncate.sty is always loaded: + (TeX-run-style-hooks "truncate") + + (TeX-add-symbols + ;; 4.2 Change management + '("added" [ LaTeX-arg-changes-markup ] 1) + '("deleted" [ LaTeX-arg-changes-markup ] 1) + '("replaced" [ LaTeX-arg-changes-markup ] 2) + + ;; 4.3 Highlighting and Comments + '("highlight" [ LaTeX-arg-changes-markup ] 1) + '("comment" + [TeX-arg-eval + TeX-read-key-val t `(("id" + ,(mapcar #'car + (LaTeX-changes-definechangesauthor-list))))] + 1) + + ;; 4.4 Overview of changes + '("listofchanges" + [TeX-arg-key-val (("style" ("list" "summary" "compactsummary")) + ("title") + ("show" ("all" "added" "deleted" + "replaced" "highlight" "comment")))]) + + ;; 4.5 Author management \definechangesauthor + '("definechangesauthor" LaTeX-arg-changes-definechangesauthor) + + ;; 4.6 Adaption of the output: + '("setaddedmarkup" "Definition") + '("setdeletedmarkup" "Definition") + '("sethighlightmarkup" "Definition") + '("setcommentmarkup" "Definition") + '("setauthormarkup" "Definition") + '("setauthormarkupposition" + (TeX-arg-eval completing-read + (TeX-argument-prompt optional nil "Position") + '("left" "right"))) + '("setauthormarktext" + (TeX-arg-eval completing-read + (TeX-argument-prompt optional nil "Markup") + '("id" "name"))) + '("settruncatewidth" (TeX-arg-length "Width")) + '("setsummarywidth" (TeX-arg-length "Width")) + '("setsummarytowidth" "Text") + '("setlocextension" "Extension") + '("setsocextension" "Extension")) + + ;; Fontification + (when (and (featurep 'font-latex) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("definechangesauthor" "[{") + ("setaddedmarkup" "{") + ("setdeletedmarkup" "{") + ("sethighlightmarkup" "{") + ("setcommentmarkup" "{") + ("setauthormarkup" "{") + ("setauthormarkupposition" "{") + ("setauthormarktext" "{") + ("settruncatewidth" "{") + ("setsummarywidth" "{") + ("setsummarytowidth" "{") + ("setlocextension" "{") + ("setsocextension" "{")) + 'function) + (font-latex-add-keywords '(("added" "[{") + ("deleted" "[{") + ("replaced" "[{{") + ("highlight" "[{") + ("comment" "[{")) + 'textual) + (font-latex-add-keywords '(("listofchanges" "[")) + 'reference))) + TeX-dialect) + +(defun LaTeX-changes-package-options () + "Prompt for package options for the changes package." + (TeX-load-style "xcolor") + (TeX-load-style "truncate") + (TeX-load-style "ulem") + (TeX-read-key-val + t + (append + `(("defaultcolor" + ,(if (and (fboundp 'LaTeX-xcolor-definecolor-list) + (LaTeX-xcolor-definecolor-list)) + (mapcar #'car (LaTeX-xcolor-definecolor-list)) + LaTeX-xcolor-base-colors))) + `(("draft") + ("final") + ("commandnameprefix" ("none" "ifneeded" "always")) + ("markup" ("default" "underlined" "bfit" "nocolor")) + ("addedmarkup" ("colored" "uline" "uuline" "uwave" + "dashuline" "dotuline" + "bf" "it" "sl" "em")) + ("deletedmarkup" ("sout" "xout" "colored" + "uline" "uuline" "uwave" + "dashuline" "dotuline" + "bf" "it" "sl" "em")) + ("highlightmarkup" ("background" "uuline" "uwave")) + ("commentmarkup" ("todo" "margin" "footnote" "uwave")) + ("authormarkup" ("superscript" "subscript" "brackets" + "footnote" "none")) + ("authormarkupposition" ("right" "left")) + ("authormarkuptext" ("id" "name")) + ("todonotes") + ("truncate" ,LaTeX-truncate-package-options) + ("ulem" ,LaTeX-ulem-package-options) + ("xcolor" ,LaTeX-xcolor-package-options))))) + +;;; changes.el ends here diff --git a/elpa/auctex-13.1.3/style/changes.elc b/elpa/auctex-13.1.3/style/changes.elc new file mode 100644 index 0000000..bf2e8d3 Binary files /dev/null and b/elpa/auctex-13.1.3/style/changes.elc differ diff --git a/elpa/auctex-13.1.3/style/cleveref.el b/elpa/auctex-13.1.3/style/cleveref.el new file mode 100644 index 0000000..373dcd8 --- /dev/null +++ b/elpa/auctex-13.1.3/style/cleveref.el @@ -0,0 +1,205 @@ +;;; cleveref.el --- AUCTeX style for `cleveref.sty' (v0.21.4) -*- lexical-binding: t; -*- + +;; Copyright (C) 2014--2020 Free Software Foundation, Inc. + +;; Author: Matthew Leach +;; Maintainer: auctex-devel@gnu.org +;; Created: 13/10/2014 + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `cleveref.sty' (v0.21.4), dated +;; 2018/03/27. + +;;; Code + +(require 'tex) +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(defun TeX-arg-cleveref-multiple-labels (optional &optional prompt) + "Prompt for a series of labels completing with known labels. +If OPTIONAL is non-nil, insert the resulting value as an optional +argument, otherwise as a mandatory one. Use PROMPT as the prompt +string." + (if (and (fboundp 'reftex-arg-label) + (fboundp 'reftex-plug-flag) + (reftex-plug-flag 2)) + ;; Use RefTeX when enabled + (TeX-arg-ref optional) + ;; Use AUCTeX interface + (let* ((labels (TeX-completing-read-multiple + (TeX-argument-prompt optional prompt "Keys") + (LaTeX-label-list))) + (labels-string (mapconcat #'identity labels ","))) + (TeX-argument-insert labels-string optional)))) + +(defun TeX-arg-cleveref-crossref-type (optional &optional prompt) + "Insert the cross-reference type for macros of cleveref package. +If OPTIONAL is non-nil, insert the resulting value in brackets. +Use PROMPT as the prompt string." + (let* ((type (mapcar #'list + '("appendix" "subappendix" "subsubappendix" + "subsubsubappendix" "subfigure" "subtable" + "subequation"))) + (types (append (LaTeX-counter-list) type))) + (TeX-argument-insert + (completing-read (TeX-argument-prompt optional prompt "Type") types) + optional))) + +(defvar LaTeX-cleveref-label-regexp + '("\\\\label\\[[^]]*\\]{\\([^\n\r%\\{}]+\\)}" 1 LaTeX-auto-label) + "Regexp matching a \\label incl. an optional argument.") + +(TeX-add-style-hook + "cleveref" + (lambda () + + (TeX-add-symbols + ;; 4 Typesetting Cross-References + '("cref" TeX-arg-cleveref-multiple-labels) + '("Cref" TeX-arg-cleveref-multiple-labels) + '("crefrange" (TeX-arg-ref "Key (first)") (TeX-arg-ref "Key (last)")) + '("Crefrange" (TeX-arg-ref "key (first)") (TeX-arg-ref "Key (last)")) + '("cref*" TeX-arg-cleveref-multiple-labels) + '("Cref*" TeX-arg-cleveref-multiple-labels) + '("crefrange*" (TeX-arg-ref "Key (first)") (TeX-arg-ref "Key (last)")) + '("Crefrange*" (TeX-arg-ref "Key (first)") (TeX-arg-ref "Key (last)")) + '("cpageref" TeX-arg-cleveref-multiple-labels) + '("Cpageref" TeX-arg-cleveref-multiple-labels) + '("cpagerefrange" (TeX-arg-ref "Key (first)") (TeX-arg-ref "Key (last)")) + '("Cpagerefrange" (TeX-arg-ref "Key (first)") (TeX-arg-ref "Key (last)")) + '("namecref" TeX-arg-ref) + '("nameCref" TeX-arg-ref) + '("lcnamecref" TeX-arg-ref) + '("namecrefs" TeX-arg-ref) + '("nameCrefs" TeX-arg-ref) + '("lcnamecrefs" TeX-arg-ref) + '("labelcref" TeX-arg-cleveref-multiple-labels) + '("labelcpageref" TeX-arg-cleveref-multiple-labels) + ;; 6 Overriding the Cross-Reference Type + '("crefalias" TeX-arg-counter "Type") + '("label" [ TeX-arg-cleveref-crossref-type ] TeX-arg-define-label) + + ;; 8.1.1 Global Customisation + '("crefdefaultlabelformat" t) + + ;; 8.1.2 Customising Individual Cross-Reference Types + '("crefname" TeX-arg-cleveref-crossref-type + "Singular name" "Plural name") + '("Crefname" TeX-arg-cleveref-crossref-type + "Singular name" "Plural name") + '("creflabelformat" TeX-arg-cleveref-crossref-type t) + '("crefrangelabelformat" TeX-arg-cleveref-crossref-type t) + + ;; 8.2.1 Single Cross-References + '("crefformat" TeX-arg-cleveref-crossref-type t) + '("Crefformat" TeX-arg-cleveref-crossref-type t) + + ;; 8.2.2 Reference Ranges + '("crefrangeformat" TeX-arg-cleveref-crossref-type t) + '("Crefrangeformat" TeX-arg-cleveref-crossref-type t) + + ;; 8.2.3 Multiple Cross-References + '("crefmultiformat" TeX-arg-cleveref-crossref-type 4) + '("Crefmultiformat" TeX-arg-cleveref-crossref-type 4) + '("crefrangemultiformat" TeX-arg-cleveref-crossref-type 4) + '("Crefrangemultiformat" TeX-arg-cleveref-crossref-type 4)) + + ;; These macros aren't used particularly often during the course of + ;; normal referencing. + (TeX-declare-expert-macros + "cleveref" + "namecref" "nameCref" "lcnamecref" "namecrefs" "nameCrefs" + "lcnamecrefs" "labelcref" "labelcpageref" + "crefdefaultlabelformat" + "crefname" "Crefname" "creflabelformat" "crefrangelabelformat" + "crefformat" "Crefformat" + "crefrangeformat" "Crefrangeformat" + "crefmultiformat" "Crefmultiformat" + "crefrangemultiformat" "Crefrangemultiformat") + + ;; Add \label[type]{label} to AUCTeX parser + (TeX-auto-add-regexp LaTeX-cleveref-label-regexp) + + ;; Tell RefTeX. Check if `reftex-label-regexps' is bound and use a + ;; local version of it. Check if the regexp is already added in + ;; order not to run `reftex-compile-variables' every time the style + ;; hook runs + (when (and (boundp 'reftex-label-regexps) + (fboundp 'reftex-compile-variables)) + (let ((regexp "\\\\label\\[[^]]*\\]{\\(?1:[^\n\r%\\{}]+\\)}")) + (unless (member regexp reftex-label-regexps) + (add-to-list (make-local-variable 'reftex-label-regexps) + regexp t) + (reftex-compile-variables)))) + + ;; Fontification + (when (and (fboundp 'font-latex-add-keywords) + (eq TeX-install-font-lock 'font-latex-setup)) + (font-latex-add-keywords '(("cref" "*{") + ("Cref" "*{") + ("crefrange" "*{{") + ("Crefrange" "*{{") + ("cpageref" "{") + ("Cpageref" "{") + ("cpagerefrange" "{{") + ("Cpagerefrange" "{{") + ("namecref" "{") + ("nameCref" "{") + ("lcnamecref" "{") + ("namecrefs" "{") + ("nameCrefs" "{") + ("lcnamecrefs" "{") + ("labelcref" "{") + ("labelcpageref" "{") + ("label" "[{")) + 'reference) + (font-latex-add-keywords '(("crefalias" "{{") + ("crefname" "{{{") + ("Crefname" "{{{") + ("creflabelformat" "{{") + ("crefrangelabelformat" "{{") + ("crefdefaultlabelformat" "{") + ("crefformat" "{{") + ("Crefformat" "{{") + ("crefrangeformat" "{{") + ("Crefrangeformat" "{{") + ("crefmultiformat" "{{{{{") + ("Crefmultiformat" "{{{{{") + ("crefrangemultiformat" "{{{{{") + ("Crefrangemultiformat" "{{{{{")) + 'function)) + + ;; Activate RefTeX reference style. + (and LaTeX-reftex-ref-style-auto-activate + (fboundp 'reftex-ref-style-activate) + (reftex-ref-style-activate "Cleveref"))) + TeX-dialect) + +(defvar LaTeX-cleveref-package-options + '("capitalise" "nameinlink" "noabbrev" "poorman") + "Package options for the cleveref package.") + +;;; cleveref.el ends here. diff --git a/elpa/auctex-13.1.3/style/cleveref.elc b/elpa/auctex-13.1.3/style/cleveref.elc new file mode 100644 index 0000000..02a53df Binary files /dev/null and b/elpa/auctex-13.1.3/style/cleveref.elc differ diff --git a/elpa/auctex-13.1.3/style/color.el b/elpa/auctex-13.1.3/style/color.el new file mode 100644 index 0000000..a98b01b --- /dev/null +++ b/elpa/auctex-13.1.3/style/color.el @@ -0,0 +1,317 @@ +;;; color.el --- AUCTeX style for `color.sty' (v1.3d) -*- lexical-binding: t; -*- + +;; Copyright (C) 2015--2022 Free Software Foundation, Inc. + +;; Author: Arash Esbati +;; Maintainer: auctex-devel@gnu.org +;; Created: 2015-01-16 +;; Keywords: tex + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX 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 +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Commentary: + +;; This file adds support for `color.sty' (v1.3d) from 2022/01/06. +;; `color.sty' is part of TeXLive. + +;; Many thanks to Tassilo Horn for his percetive comments on +;; implementation of this style and testing. + +;;; Code: + +;; Needed for compiling `LaTeX-check-insert-macro-default-style': +(require 'latex) + +;; Silence the compiler: +(declare-function font-latex-add-keywords + "font-latex" + (keywords class)) + +(defvar LaTeX-color-colour-models + '("cmyk" "gray" "named" "rgb") + "List of color models provided by `color.sty'.") + +(defvar LaTeX-color-dvipsnames-colors + '("Apricot" "Aquamarine" "Bittersweet" "Black" + "Blue" "BlueGreen" "BlueViolet" "BrickRed" + "Brown" "BurntOrange" "CadetBlue" "CarnationPink" + "Cerulean" "CornflowerBlue" "Cyan" "Dandelion" + "DarkOrchid" "Emerald" "ForestGreen" "Fuchsia" + "Goldenrod" "Gray" "Green" "GreenYellow" + "JungleGreen" "Lavender" "LimeGreen" "Magenta" + "Mahogany" "Maroon" "Melon" "MidnightBlue" + "Mulberry" "NavyBlue" "OliveGreen" "Orange" + "OrangeRed" "Orchid" "Peach" "Periwinkle" + "PineGreen" "Plum" "ProcessBlue" "Purple" + "RawSienna" "Red" "RedOrange" "RedViolet" + "Rhodamine" "RoyalBlue" "RoyalPurple" "RubineRed" + "Salmon" "SeaGreen" "Sepia" "SkyBlue" + "SpringGreen" "Tan" "TealBlue" "Thistle" + "Turquoise" "Violet" "VioletRed" "White" + "WildStrawberry" "Yellow" "YellowGreen" "YellowOrange") + "List of colors defined by package option `dvipsnames' from `color.sty'.") + +;; Needed for auto-parsing. +(require 'tex) + +;; Plug \definecolor into the parser +(TeX-auto-add-type "color-definecolor" "LaTeX") + +(defvar LaTeX-color-definecolor-regexp + '("\\\\definecolor{\\([^}]+\\)}" 1 LaTeX-auto-color-definecolor) + "Matches the argument of \\definecolor from color package.") + +(defun LaTeX-color-auto-prepare () + "Clear `LaTeX-auto-color-definecolor' before parsing." + (setq LaTeX-auto-color-definecolor nil)) + +(add-hook 'TeX-auto-prepare-hook #'LaTeX-color-auto-prepare t) +(add-hook 'TeX-update-style-hook #'TeX-auto-parse t) + +(defun TeX-arg-color-definecolor (optional &optional prompt) + "Insert arguments of `\\definecolor' from `color.sty'." + ;; \definecolor{}{}{} + ;; Ask for , add to our list and insert it + (let ((colorname (TeX-read-string "Color name: "))) + (LaTeX-add-color-definecolors colorname) + (TeX-argument-insert colorname optional)) + ;; Ask and insert + (let ((model (completing-read + (TeX-argument-prompt optional prompt "Color model") + (if (not (or (LaTeX-provided-package-options-member "color" "dvips") + (LaTeX-provided-package-options-member "color" "dvipsnames"))) + (remove "named" LaTeX-color-colour-models) + LaTeX-color-colour-models)))) + (TeX-argument-insert model optional) + ;; Depending on , ask for and insert it + (cond (;; model + (string-equal model "cmyk") + (let ((cyan (TeX-read-string "Value Cyan (between 0,1): ")) + (magenta (TeX-read-string "Value Magenta (between 0,1): ")) + (yellow (TeX-read-string "Value Yellow (between 0,1): ")) + (black (TeX-read-string "Value Black (between 0,1): "))) + (TeX-argument-insert + (concat cyan "," magenta "," yellow "," black) optional))) + ;; model + ((string-equal model "rgb") + (let ((red (TeX-read-string "Value Red (between 0,1): ")) + (green (TeX-read-string "Value Green (between 0,1): ")) + (blue (TeX-read-string "Value Blue (between 0,1): "))) + (TeX-argument-insert + (concat red "," green "," blue) optional))) + ;; model + ((string-equal model "gray") + (let ((grayness (TeX-read-string "Value Gray (between 0,1): "))) + (TeX-argument-insert grayness optional))) + ;; model takes the dvipsnames + ((string-equal model "named") + (let ((color (completing-read "Named Color: " + LaTeX-color-dvipsnames-colors))) + (TeX-argument-insert color optional)))))) + +(defun TeX-arg-color (optional &optional prompt) + "Insert arguments of various color commands from `color.sty'." + ;; \color{} or \color[]{} First, ask for + ;; . This happens depending on the values of + ;; `TeX-insert-macro-default-style' and if `current-prefix-arg'. + ;; `named' is removed here from completion if package option is not + ;; given. + (let* ((TeX-last-optional-rejected nil) + (model (LaTeX-check-insert-macro-default-style + (completing-read + (TeX-argument-prompt t prompt "Color model") + (if (not (or (LaTeX-provided-package-options-member "color" "dvips") + (LaTeX-provided-package-options-member "color" "dvipsnames"))) + (remove "named" LaTeX-color-colour-models) + LaTeX-color-colour-models))))) + ;; If is non-nil because of 'mandatory-args-only and not + ;; an empty string, then insert it + (if (and model (not (string-equal model ""))) + (progn + (insert (concat LaTeX-optop model LaTeX-optcl)) + (cond (;; model + (string-equal model "cmyk") + (let ((cyan (TeX-read-string "Value Cyan (between 0,1): ")) + (magenta (TeX-read-string "Value Magenta (between 0,1): ")) + (yellow (TeX-read-string "Value Yellow (between 0,1): ")) + (black (TeX-read-string "Value Black (between 0,1): "))) + (TeX-argument-insert + (concat cyan "," magenta "," yellow "," black) optional))) + ;; model + ((string-equal model "rgb") + (let ((red (TeX-read-string "Value Red (between 0,1): ")) + (green (TeX-read-string "Value Green (between 0,1): ")) + (blue (TeX-read-string "Value Blue (between 0,1): "))) + (TeX-argument-insert + (concat red "," green "," blue) optional))) + ;; model + ((string-equal model "gray") + (let ((grayness (TeX-read-string "Value Gray (between 0,1): "))) + (TeX-argument-insert grayness optional))) + ;; model; allowed are dvipsnames. + ((string-equal model "named") + (let ((color (completing-read "Named Color: " + LaTeX-color-dvipsnames-colors))) + (TeX-argument-insert color optional))))) + ;; if empty, ask for with completion + (let ((color (completing-read + (TeX-argument-prompt optional prompt "Color name") + (LaTeX-color-definecolor-list)))) + (TeX-argument-insert color optional))))) + +(defun TeX-arg-color-fcolorbox (optional &optional prompt) + "Insert arguments of `\\fcolorbox' from `color.sty'. " + ;; \fcolorbox{}{}{} or + ;; \fcolorbox[]{}{}{} + ;; First, ask for depending on + ;; `TeX-insert-macro-default-style' and `current-prefix-arg'. + ;; Remove `named' if necessary. + (let* ((TeX-last-optional-rejected nil) + (model (LaTeX-check-insert-macro-default-style + (completing-read + (TeX-argument-prompt t prompt "Color model") + (if (not (or (LaTeX-provided-package-options-member "color" "dvips") + (LaTeX-provided-package-options-member "color" "dvipsnames"))) + (remove "named" LaTeX-color-colour-models) + LaTeX-color-colour-models))))) + ;; If is non-nil because of 'mandatory-args-only and not + ;; an empty string, then insert [] and cater for 2 + ;; mandatory args. + (if (and model (not (string-equal model ""))) + (progn + (insert (concat LaTeX-optop model LaTeX-optcl)) + (cond (;; model + (string-equal model "cmyk") + (let ((cyan (TeX-read-string "Frame value Cyan (between 0,1): ")) + (magenta (TeX-read-string "Frame value Magenta (between 0,1): ")) + (yellow (TeX-read-string "Frame value Yellow (between 0,1): ")) + (black (TeX-read-string "Frame value Black (between 0,1): "))) + (TeX-argument-insert + (concat cyan "," magenta "," yellow "," black) optional)) + (let ((cyan (TeX-read-string "Box value Cyan (between 0,1): ")) + (magenta (TeX-read-string "Box value Magenta (between 0,1): ")) + (yellow (TeX-read-string "Box value Yellow (between 0,1): ")) + (black (TeX-read-string "Box value Black (between 0,1): "))) + (TeX-argument-insert + (concat cyan "," magenta "," yellow "," black) optional))) + ;; model + ((string-equal model "rgb") + (let ((red (TeX-read-string "Frame value Red (between 0,1): ")) + (green (TeX-read-string "Frame value Green (between 0,1): ")) + (blue (TeX-read-string "Frame value Blue (between 0,1): "))) + (TeX-argument-insert + (concat red "," green "," blue) optional)) + (let ((red (TeX-read-string "Box value Red (between 0,1): ")) + (green (TeX-read-string "Box value Green (between 0,1): ")) + (blue (TeX-read-string "box value Blue (between 0,1): "))) + (TeX-argument-insert + (concat red "," green "," blue) optional))) + ;; model + ((string-equal model "gray") + (let ((grayness (TeX-read-string "Frame value Gray (between 0,1): "))) + (TeX-argument-insert grayness optional)) + (let ((grayness (TeX-read-string "Box value Gray (between 0,1): "))) + (TeX-argument-insert grayness optional))) + ;; model; allowed are dvipsnames. + ((string-equal model "named") + (let ((color (completing-read "Frame named Color: " + LaTeX-color-dvipsnames-colors))) + (TeX-argument-insert color optional)) + (let ((color (completing-read "Box named Color: " + LaTeX-color-dvipsnames-colors))) + (TeX-argument-insert color optional))))) + ;; if empty, ask for {}{} with completion + (let ((frame-color (completing-read + (TeX-argument-prompt optional prompt "Frame color name") + (LaTeX-color-definecolor-list))) + (box-color (completing-read + (TeX-argument-prompt optional prompt "Box color name") + (LaTeX-color-definecolor-list)))) + (TeX-argument-insert frame-color optional) + (TeX-argument-insert box-color optional))))) + +(TeX-add-style-hook + "color" + (lambda () + ;; Add color to the parser. + (TeX-auto-add-regexp LaTeX-color-definecolor-regexp) + + ;; Add list of colors which are always available. + (LaTeX-add-color-definecolors + "black" "blue" "cyan" "green" "magenta" "red" "white" "yellow") + + ;; Add dvips colors in conjunction with `usenames'. + (when (and (LaTeX-provided-package-options-member "color" "usenames") + (or (LaTeX-provided-package-options-member "color" "dvips") + (LaTeX-provided-package-options-member "color" "dvipsnames"))) + (apply #'LaTeX-add-color-definecolors LaTeX-color-dvipsnames-colors)) + + (unless (member "xcolor" (TeX-style-list)) + (TeX-add-symbols + ;; \definecolor{}{}{} + '("definecolor" TeX-arg-color-definecolor) + + ;; \color{} or \color[]{} + '("color" TeX-arg-color) + + ;; \textcolor{}{} or + ;; \textcolor[]{}{} + '("textcolor" TeX-arg-color "Text") + + ;; \mathcolor{}{} or + ;; \mathcolor[]{}{} + '("mathcolor" TeX-arg-color "Math") + + ;; \pagecolor{} or + ;; \pagecolor[]{} + '("pagecolor" TeX-arg-color) + + ;; \nopagecolor + '("nopagecolor" 0) + + ;; \colorbox{}{} or + ;; \colorbox[]{}{} + '("colorbox" TeX-arg-color "Text") + + ;; \fcolorbox{
]{