diff options
author | Ryan Kavanagh <rak@debian.org> | 2020-02-22 23:15:22 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2020-02-22 23:15:22 -0500 |
commit | 2972054b6699559c40257d8aa3c03c6012a6d806 (patch) | |
tree | 199ef635ab459ef153dd9c131034bb5fc61b691e /.emacs | |
parent | org ref config (diff) |
reftex auto labels include master file name
Diffstat (limited to '.emacs')
-rw-r--r-- | .emacs | 33 |
1 files changed, 19 insertions, 14 deletions
@@ -656,20 +656,25 @@ If not, issue a warning." :hook (LaTeX-mode . reftex-mode) :custom (reftex-default-bibliography '("~/Documents/papers/library.bib")) - (reftex-label-alist '(("axiom" ?a "ax:" "~\\ref{%s}" nil ("axiom" "ax.") -3) - ("theorem" ?h "theorem:" "~\\ref{%s}" t ("theorem" "th.") -3) - ("proposition" ?p "prop:" "~\\ref{%s}" t ("proposition" "prop.") -3) - ("definition" ?d "def:" "~\\ref{%s}" t ("definition" "def.") -3) - ("corollary" ?c "cor:" "~\\ref{%s}" t ("corollary" "cor.") -3) - ("lemma" ?l "lemma:" "~\\ref{%s}" t ("lemma" "lem.") -3) - ("conjecture" ?j "conj:" "~\\ref{%s}" t ("conjecture" "conj.") -3) - ("ax" ?a "ax:" "~\\ref{%s}" nil ("axiom" "ax.") -3) - ("thm" ?h "theorem:" "~\\ref{%s}" t ("theorem" "th.") -3) - ("prop" ?p "prop:" "~\\ref{%s}" t ("proposition" "prop.") -3) - ("defi" ?d "def:" "~\\ref{%s}" t ("definition" "def.") -3) - ("cor" ?c "cor:" "~\\ref{%s}" t ("corollary" "cor.") -3) - ("lem" ?l "lemma:" "~\\ref{%s}" t ("lemma" "lem.") -3) - ("conj" ?j "conj:" "~\\ref{%s}" t ("conjecture" "conj.") -3)))) + (reftex-label-alist '(("axiom" ?a "ax:%m:" "~\\ref{%s}" nil ("axiom" "ax.") -3) + ("theorem" ?h "theorem:%m:" "~\\ref{%s}" t ("theorem" "th.") -3) + ("proposition" ?p "prop:%m:" "~\\ref{%s}" t ("proposition" "prop.") -3) + ("definition" ?d "def:%m:" "~\\ref{%s}" t ("definition" "def.") -3) + ("corollary" ?c "cor:%m:" "~\\ref{%s}" t ("corollary" "cor.") -3) + ("lemma" ?l "lemma:%m:" "~\\ref{%s}" t ("lemma" "lem.") -3) + ("conjecture" ?j "conj:%m:" "~\\ref{%s}" t ("conjecture" "conj.") -3) + ("example" ?j "ex:%m:" "~\\ref{%s}" t ("example" "ex.") -3) + ("ax" ?a "ax:%m:" "~\\ref{%s}" nil ("axiom" "ax.") -3) + ("thm" ?h "theorem:%m:" "~\\ref{%s}" t ("theorem" "th.") -3) + ("prop" ?p "prop:%m:" "~\\ref{%s}" t ("proposition" "prop.") -3) + ("defi" ?d "def:%m:" "~\\ref{%s}" t ("definition" "def.") -3) + ("cor" ?c "cor:%m:" "~\\ref{%s}" t ("corollary" "cor.") -3) + ("lem" ?l "lemma:%m:" "~\\ref{%s}" t ("lemma" "lem.") -3) + ("conj" ?j "conj:%m:" "~\\ref{%s}" t ("conjecture" "conj.") -3) + ("enumerate" 105 "item:%m:" "~\\ref{%s}" item (regexp "items?" "Punkte?")) + ("equation" 101 "eq:%m:" "~\\eqref{%s}" t + (regexp "equations?" "eqs?\\." "eqn\\." "Gleichung\\(en\\)?" "Gl\\.")) + ("eqnarray" 101 "eq:%m:" nil eqnarray-like)))) (use-package sass-mode :ensure t) |