Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (11 sloc) 766 Bytes
--langdef=tex_alt
--langmap=tex_alt:.tex
--regex-tex_alt=/\\label\{([^}]*)\}/\1/l,label/
--regex-tex_alt=/\\part\{(\\label\{.*\})?([^}]*)\}/\2/s,part/
--regex-tex_alt=/\\chapter\{(\\label\{.*\})?([^}]*)\}/\2/s,chapter/
--regex-tex_alt=/\\section\{(\\label\{.*\})?([^}]*)\}/\2/s,section/
--regex-tex_alt=/\\subsection\{(\\label\{.*\})?([^}]*)\}/. \2/s,subsection/
--regex-tex_alt=/\\subsubsection\{(\\label\{.*\})?([^}]*)\}/.. \2/s,subsubsection/
--regex-tex_alt=/\\paragraph\{(\\label\{.*\})?([^}]*)\}/... \2/s,paragraph/
--regex-tex_alt=/^\\includegraphics[[:space:]]*(\[[^]]*\])?[[:space:]]*(\[[^]]*\])?[[:space:]]*\{([^}]+)\}/\3/g,graphics/
--regex-tex_alt=/^\\lstinputlisting[[:space:]]*(\[[^]]*\])?[[:space:]]*(\[[^]]*\])?[[:space:]]*\{([^}]+)\}/\3/g,graphics/