Cf. #614: Support for bibentry as cite syntax

This commit is contained in:
Karl Yngve Lervåg 2016-12-29 19:25:11 +01:00
parent 4526043aaa
commit 6c159818d1
2 changed files with 4 additions and 1 deletions

View File

@ -66,7 +66,8 @@ highlight link texHyperref texRefZone
if get(g:, 'tex_fast', 'r') =~# 'r' if get(g:, 'tex_fast', 'r') =~# 'r'
for s:pattern in [ for s:pattern in [
\ 'cite[pt]\*?', \ 'bibentry',
\ 'cite[pt]?\*?',
\ 'citeal[tp]\*?', \ 'citeal[tp]\*?',
\ 'cite(num|text|url)', \ 'cite(num|text|url)',
\ '[Cc]ite%(title|author|year(par)?|date)\*?', \ '[Cc]ite%(title|author|year(par)?|date)\*?',

View File

@ -88,6 +88,7 @@ const double pi = 3.1415926535
\hyperref[asdasd]{asd} \hyperref[asdasd]{asd}
% Cite commands % Cite commands
\cite{}
\citet*{} \citet*{}
\citealt{} \citealt{}
\citealt*{} \citealt*{}
@ -99,6 +100,7 @@ const double pi = 3.1415926535
\citeauthor*{} \citeauthor*{}
\citeyear{} \citeyear{}
\citeyearpar{} \citeyearpar{}
\bibentry{}
\end{document} \end{document}