-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathctags
executable file
·49 lines (42 loc) · 2.42 KB
/
ctags
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
--langdef=tex
--langmap=tex:.tex
--regex-tex2=/\\label[ \t]*\*?\{[ \t]*([^}]*)\}/\1/l,label/
--langdef=bib
--langmap=bib:.bib
--regex-bib=/^@[A-Za-z]+\{([^,]*)/\1/b,bib/
--regex-tex=/\\emph\{([^}]*)\}/\1/e,emph/
--regex-tex=/\$([^}]*) \$/ \1/m, math/
--regex-tex=/\$\$([^}]*)\$\$/ \1/m,math/
--regex-tex=/\\begin\{equation\}([^}]*) \\end\{equation\}/\1/b,begin/
--regex-tex=/\\label[ \t]*\*?\{[ \t]*([^}]*)\}/\1/l,label/
--regex-tex=/\\begin\{equation\*\}\{([^}]*) \\end\{equation\*\}/\1/b,begin/
--regex-tex=/^\\part[[:space:]]*(\[[^]]*\])?[[:space:]]*\{([^}]+)\}/PART \2/s,part/
--regex-tex=/^\\part[[:space:]]*\*[[:space:]]*\{([^}]+)\}/PART \1/s,part/
--regex-tex=/^\\chapter[[:space:]]*(\[[^]]*\])?[[:space:]]*\{([^}]+)\}/CHAP \2/s,chapter/
--regex-tex=/^\\chapter[[:space:]]*\*[[:space:]]*\{([^}]+)\}/CHAP \1/s,chapter/
--regex-tex=/^\\section[[:space:]]*(\[[^]]*\])?[[:space:]]*\{([^}]+)\}/\. \2/s,section/
--regex-tex=/^\\section[[:space:]]*\*[[:space:]]*\{([^}]+)\}/\. \1/s,section/
--regex-tex=/^\\subsection[[:space:]]*(\[[^]]*\])?[[:space:]]*\{([^}]+)\}/\.\. \2/s,subsection/
--regex-tex=/^\\subsection[[:space:]]*\*[[:space:]]*\{([^}]+)\}/\.\. \1/s,subsection/
--regex-tex=/^\\subsubsection[[:space:]]*(\[[^]]*\])?[[:space:]]*\{([^}]+)\}/\.\.\. \2/s,subsubsection/
--regex-tex=/^\\subsubsection[[:space:]]*\*[[:space:]]*\{([^}]+)\}/\.\.\. \1/s,subsubsection/
--regex-tex=/^\\includegraphics[[:space:]]*(\[[^]]*\])?[[:space:]]*(\[[^]]*\])?[[:space:]]*\{([^}]+)\}/\3/g,graphic+listing/
--regex-tex=/^\\lstinputlisting[[:space:]]*(\[[^]]*\])?[[:space:]]*(\[[^]]*\])?[[:space:]]*\{([^}]+)\}/\3/g,graphic+listing/
--regex-tex=/\\label[[:space:]]*\{([^}]+)\}/\1/l,label/
--regex-tex=/\\pageref[[:space:]]*\{([^}]+)\}/\1/p,pageref/
--regex-make=/^([^:# \t]+)[ \t]*[:]{1,2}/\1/t,targets/
/*--regex-tex=/label\{([^}]*)\}/\1/l,label/*/
--regex-tex=/ARTICLE\{([^}]*)\,/\1/A,ARTICLE/
--regex-tex=/BOOK\{([^}]*)\,/\1/B,BOOK/
--langdef=tex
--langmap=tex:.bib
/*--regex-bib=/ARTICLE\{([^}]*)\,/\1/A,ARTICLE/*/
/*--regex-bib=/Article\{([^}]*)\,/\1/A,Article/*/
/*--regex-bib=/Book\{([^}]*)\,/\1/B,Book/*/
/*--regex-bib=/BOOK\{([^}]*)\,/\1/B,BOOK/*/
/*--langdef=bib*/
/*--langmap=bib:.bib*/
/*--regex-bib=/^@[A-Za-z]+\{([^,]+),/\1/e,BibTeX-Entries/i*/
/*--regex-bib=/^@string\{([^ "#%')(,=}{]+)/\1/s,BibTeX-Strings/i*/
/*--regex-bib=/author[[:space:]]*=[[:space:]]*("([^"]+)"|\{([^\}]+)\})[[:space:]]*,?[[:space:]]*$/\2\3/a,BibTeX-Authors/i*/
/*--fields=+l*/