Commit Graph

48 Commits

Author SHA1 Message Date
Karl Yngve Lervåg
58d8cb4ad5 Fix #540: Support comments in bib files 2016-09-10 23:14:25 +02:00
Karl Yngve Lervåg
d63b06e7f6 Minor simplification and improvement 2016-08-10 20:23:43 +02:00
Karl Yngve Lervåg
d5e62ca646 Fix minor bug 2016-04-11 20:56:03 +02:00
Karl Yngve Lervåg
eb48452c79 Fixed #433: Enable vimtex-toc in bib files 2016-04-11 20:33:18 +02:00
Karl Yngve Lervåg
72a5dd6a3b Removed deprecation warning 2015-06-06 19:33:11 +02:00
Karl Yngve Lervåg
bd1de1feef Implemented a new system for displaying ToCs 2015-03-21 11:54:07 +01:00
Karl Yngve Lervåg
a14cc5997d Changed plugin name to vimtex 2015-03-08 17:15:44 +01:00
Karl Yngve Lervåg
7410bf1543 Add shiftwidth to modelines 2014-12-08 20:44:17 +01:00
Karl Yngve Lervåg
b60b5d4497 Add option to hide TOC line numbers (#67) 2014-12-02 20:15:31 +01:00
Karl Yngve Lervåg
3ff568cec4 Remove duplicate nonumber 2014-11-22 19:44:23 +01:00
Karl Yngve Lervåg
02b68bdff8 Improvements to TOC (see #67) 2014-11-22 17:29:30 +01:00
Karl Yngve Lervåg
55ebc11fd3 Respect switchbuf settings (fixes #64) 2014-11-19 09:59:22 +01:00
Karl Yngve Lervåg
e5e5f2b07b Separate toc init and toc refresh 2014-08-11 22:30:33 +02:00
Karl Yngve Lervåg
3c5d367c3c Better handling of secnumdepths 2014-08-11 17:19:00 +02:00
Karl Yngve Lervåg
4a1fa3bbdb Minor fixes to previous TOC updates 2014-08-10 20:43:57 +02:00
Karl Yngve Lervåg
f85ce35436 Updated TOC, added g:latex_toc_secnumdepth
Real time update of displayed TOC levels.
2014-08-10 18:45:32 +02:00
Karl Yngve Lervåg
b13c747c62 Open folds after TOC navigation (fixes #44) 2014-08-04 08:04:55 +02:00
Karl Yngve Lervåg
339fe77104 Allow file names with spaces for TOC open 2014-07-22 00:59:50 +02:00
Karl Yngve Lervåg
e171ba5a3b Improved TOC (fixes #31)
* Syntax works for unnumbered sections
* No numbers on frontmatter
2014-07-20 14:47:41 +02:00
Karl Yngve Lervåg
89a47a0a44 Move options to latex#init() 2014-07-16 23:08:00 +02:00
Karl Yngve Lervåg
17175b2351 Closer to a working new TOC system 2014-07-09 12:13:26 +02:00
Karl Yngve Lervåg
c983c49e15 Fixed bug latextoc#... -> toc#... (#17) 2014-07-09 12:11:03 +02:00
Karl Yngve Lervåg
e3b4dd7749 Fixed bug in toc_activate 2014-06-14 17:06:20 +02:00
Karl Yngve Lervåg
992448b06a Added option to only open quickfix window on error
Use
  let g:latex_quickfix_open_on_warning=0
to prevent vim-latex to open quickfix window if there are only warnings.
2014-06-13 22:47:27 +02:00
Karl Yngve Lervåg
83a579fd21 Changed a few option names (check vimrc!)
Also improved the doc.
2014-06-13 21:24:51 +02:00
Karl Yngve Lervåg
e825eb9bdc Fixed regexp bug in toc_activate 2014-06-11 11:01:58 +02:00
Karl Yngve Lervåg
ec046bed02 Added commentstring for tex 2014-06-04 14:54:36 +02:00
Karl Yngve Lervåg
8493613c1a Be safe, use normal! 2014-04-14 08:50:56 +02:00
Karl Yngve Lervåg
c0a828b496 Open buffer at top of file for TOC searching 2014-04-13 15:17:47 +02:00
Karl Yngve Lervåg
770c902f04 Fixed bug in TOC activate
Bug was reported in LaTeX-Box-Team/LaTeX-Box#165.
2014-04-13 15:06:06 +02:00
Karl Yngve Lervåg
7de478be74 Better solution for fold part stuff 2014-03-06 11:39:35 +01:00
Karl Yngve Lervåg
7773fabeec Updated folding for sections
Improved handling of which parts to fold and which parts not to fold, and which
parts should be folded at the same level.
2014-03-04 14:27:44 +01:00
Karl Yngve Lervåg
fb375802c8 Set default value for latexmk_callback 2014-02-11 18:51:02 +01:00
Karl Yngve Lervåg
f8c905af2f Dont use ff=unix in modeline 2014-02-10 14:21:43 +01:00
Karl Yngve Lervåg
407e8d19e9 Removed .sty extension / absolute paths for cite
Removed the .sty extension, which caused some confusion for the root
detection routine. Not entirely sure what caused the issue, but gf to
.sty seems like a border-line enough case anyway.

Also, I've modified the bibsearch function to better work with larger
projects. It prepends the path of whichever file links to a bib file
to that bib file's path, allowing us to correctly complete citations
even if the bib file and current file are in two different directories
and the main file linking to the bibfile is in a different directory
to the current file.

This could possibly be modified to check for absolute paths in
\bibliography commands, but I don't believe anyone is using those?

Note: This patch was authored by Karl Moritz Hermann (see #8).
2014-02-02 22:04:47 +01:00
Karl Yngve Lervåg
b7ed1cad63 Don't use recursive bibtex-search by default 2014-01-30 20:59:34 +01:00
Karl Moritz Hermann
e02e5ccb21 Enable GF within latex documents 2014-01-30 16:22:51 +00:00
Karl Moritz Hermann
a661d86ad6 Speedup for citation completion 2014-01-30 16:08:28 +00:00
Karl Yngve Lervåg
798d0561a2 Solve #3: Better way of finding main tex file
Instead of searching for predefined main tex file names, I now use a
simple search for files that input or include the current tex file.
2013-12-08 19:32:30 +01:00
Karl Yngve Lervåg
b6b4efb772 Added option for quickfix window 2013-11-20 11:24:19 +01:00
Karl Yngve Lervåg
4d73dfda98 Fixed bug where toc did not find input file 2013-10-23 20:47:03 +02:00
Karl Yngve Lervåg
b4f3008545 Use normal! 2013-10-16 10:51:42 +02:00
Karl Yngve Lervåg
c1ed8da4eb Improve cleveref support (LaTeX-Box #137) 2013-10-16 10:17:08 +02:00
Karl Yngve Lervåg
00b4e1fe3d Some updates and improvements 2013-10-10 21:48:52 +02:00
Karl Yngve Lervåg
a56d48dc53 Some nice improvements 2013-10-09 20:34:26 +02:00
Karl Yngve Lervåg
aad42917a4 Added bigg delims for motion pats 2013-10-09 12:02:31 +02:00
Karl Yngve Lervåg
2cbc4b5ab1 Add option to turn off vim-latex 2013-10-05 14:07:56 +02:00
Karl Yngve Lervåg
7808e59239 Initial revision 2013-10-05 13:53:42 +02:00