Commit Graph

511 Commits

Author SHA1 Message Date
Karl Yngve Lervåg
7fdb314f16 Also test space in file name 2014-06-13 22:20:44 +02:00
Karl Yngve Lervåg
4123005c09 Added test of filename with spaces 2014-06-13 21:41:28 +02:00
Karl Yngve Lervåg
82d98ec1f6 Only error if variable already exist 2014-06-13 21:39:03 +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
721382c9c0 Added errors in input file 2014-06-12 23:03:50 +02:00
Karl Yngve Lervåg
b838aa3afd Accept tocsection for TOC secnum parsing 2014-06-12 20:05:16 +02:00
Karl Yngve Lervåg
d41043d53a Split test files into separate test projects 2014-06-12 20:04:44 +02:00
Karl Yngve Lervåg
43410759c3 Improved TOC title parsing 2014-06-12 19:53:43 +02:00
Karl Yngve Lervåg
ecd0306709 Remove nonumberline from TOCs 2014-06-12 19:22:43 +02:00
Karl Yngve Lervåg
7e9dcb85fd Added more testing 2014-06-12 19:12:08 +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
36cddf40d9 Added more errors to error test 2014-06-11 08:17:52 +02:00
Karl Yngve Lervåg
b92e2066fc Improved errorformat 2014-06-11 08:17:25 +02:00
Karl Yngve Lervåg
8ec76b0806 Minor improvements to error format 2014-06-10 20:02:36 +02:00
Karl Yngve Lervåg
86158badf5 Ignore extra files for tests 2014-06-10 20:02:15 +02:00
Karl Yngve Lervåg
d2c56d4c1c Added test for error messages 2014-06-10 20:02:01 +02:00
Karl Yngve Lervåg
ec046bed02 Added commentstring for tex 2014-06-04 14:54:36 +02:00
Karl Yngve Lervåg
03ab59c3d3 Fixed indent of tikz commands 2014-06-04 14:54:27 +02:00
Karl Yngve Lervåg
b29119742d Fixed a minor environment folding issue 2014-06-04 14:54:09 +02:00
Karl Yngve Lervåg
a17f7a49ed Fixed listing syntax 2014-06-04 14:53:49 +02:00
Karl Yngve Lervåg
e16960ee25 Proper handling of bib file paths (fixed #14) 2014-05-15 20:46:31 +02:00
Karl Yngve Lervåg
9be217e188 Only provide info when explicitly called 2014-05-13 21:10:43 +02:00
Karl Yngve Lervåg
a00c99bf4d Fix mapping of error window \le (fixes #13) 2014-05-11 20:38:52 +02:00
Karl Yngve Lervåg
cf459d62e7 Add check for missing log file (addresses #13) 2014-05-10 13:10:16 +02:00
Karl Yngve Lervåg
1fd425fd3e Fixed stupid mapping error (#10) 2014-04-14 23:25:47 +02:00
Karl Yngve Lervåg
4f6b74d3e6 Add latex#change#to_command and default mapping
Mapped by default to <F7> in both normal and insert mode.

Solves #10.
2014-04-14 22:37:26 +02:00
Karl Yngve Lervåg
d8dc0d880d Fix minor error in doc 2014-04-14 22:35:58 +02:00
Karl Yngve Lervåg
8493613c1a Be safe, use normal! 2014-04-14 08:50:56 +02:00
Karl Yngve Lervåg
02dd1eb587 Added initial indent support for tikz commands 2014-04-14 08:48:39 +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
6220f5d1ea Use old version of glob() function for compatability 2014-03-21 13:24:09 +01:00
Karl Yngve Lervåg
bb670948ac Minor simplification of in_comment function 2014-03-13 10:49:40 +01: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
b9eed61cf4 Fixed shellescape bug in latex#view 2014-02-19 17:21:02 +01:00
Karl Yngve Lervåg
cca3e74904 Added some minimalistic test files 2014-02-16 16:02:24 +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
c0a195430d Improved latexmk interface: added callback
Added a simple callback function that utilizes the clientserver in vim and the
$success_cmd and $failure_cmd in latexmk to call latex#latexmk#error() after
compilation.  The feature is enabled by default, because it strikes me as
a very nice feature!

Note that this feature might require a minor update to existing .latexmkrc
files, in that existing $success_cmd and $failure_cmd should end in a semicolon
in order to allow vim-latex to append the callback.  I hope I might remove this
restriction in a later update, but I didn't see how to do this now.
2014-02-11 18:38:03 +01:00
Karl Yngve Lervåg
8a5b99a39c Redirect latexmk output to temporary file 2014-02-11 18:23:00 +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
e82d3d2861 Added support for listings package 2014-02-09 15:44:55 +01:00
Karl Yngve Lervåg
051a1c2085 Add check for required executables 2014-02-04 13:20:12 +01:00
Karl Yngve Lervåg
678193b362 Use shellescape at the right locations
Shellescape should only be used when variables/strings are used
in the shell directly.  See #9.
2014-02-04 13:16:48 +01:00
Karl Yngve Lervåg
587f560c41 Use shellescape on file names [fixes #9] 2014-02-03 17:13:53 +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
84cb8ff4c7 Included files may be specified with full path
This fix makes recursive search work when the main file is in a lower
directory and uses for instance \input{some/path/to/sub.tex}.

Note: Commit message edited by K.Y. Lervåg.
2014-01-30 20:48:04 +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