Commit Graph

109 Commits

Author SHA1 Message Date
Karl Yngve Lervåg
07bd5f134e Only fold matters if more than one 2014-07-27 19:57:22 +02:00
Karl Yngve Lervåg
22fae88827 Ignore if only one \*matter command is used
Ignore the \(front|back|main)matter commands for the TOC if only one of
them is used.
2014-07-27 19:53:03 +02:00
Karl Yngve Lervåg
01e9ab6c03 Also remap zX for folding 2014-07-25 08:24:01 +02:00
Karl Yngve Lervåg
dab05dab17 Some minor fixes/changes 2014-07-24 19:31:42 +02:00
Karl Yngve Lervåg
94a67005e0 Add support for on demand folding
Inspired by recent pull request for LaTeX-Box:
https://github.com/LaTeX-Box-Team/LaTeX-Box/pull/205
2014-07-24 19:16:11 +02:00
Karl Yngve Lervåg
8708c7935d Added header to plugin files 2014-07-23 00:08:57 +02:00
Karl Yngve Lervåg
5a3d08cd34 Only escape file name when needed 2014-07-22 01:26:27 +02:00
Karl Yngve Lervåg
86e63c282e Remove inconsistent mapping (fixes #36)
The mapping was not even mentioned in the docs, and seemed inconsistent with
other mappings.  Decided to remove it for now, unless I find a better way to
deal with this.
2014-07-22 00:11:44 +02:00
Karl Yngve Lervåg
910db68b44 Fix option g:latex_toc_fold_levels 2014-07-20 15:59:20 +02:00
Karl Yngve Lervåg
fa66acf7fd Fixed folding of TOC window (fixes #34) 2014-07-20 15:51:13 +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
1ba745a177 Don't show filename parsing in quickfix window 2014-07-20 14:46:47 +02:00
Karl Yngve Lervåg
78af48acca Improved TOC parsing 2014-07-19 00:12:37 +02:00
Karl Yngve Lervåg
515526dff0 Add alphabetical index to TOC (fixes #32) 2014-07-17 19:46:19 +02:00
Karl Yngve Lervåg
e6718e4377 Better TOC bibliography matching and test 2014-07-17 19:39:21 +02:00
Karl Yngve Lervåg
c2c224caef Improved gather candidate while loop 2014-07-17 18:43:44 +02:00
Karl Yngve Lervåg
193a769456 A couple of minor changes 2014-07-17 10:37:15 +02:00
Karl Yngve Lervåg
19e679707d Add bibliography to TOC 2014-07-16 23:20:11 +02:00
Karl Yngve Lervåg
89a47a0a44 Move options to latex#init() 2014-07-16 23:08:00 +02:00
Karl Yngve Lervåg
ee6d40c7ac Fixed root for Windows 2014-07-16 22:59:06 +02:00
Karl Yngve Lervåg
da45ad0c50 Better search for mail file (fixes #30)
Don't assume project structure is
  project/subdirs/files,
Instead search every parent folder for possible tex files.
2014-07-16 11:37:39 +02:00
Karl Yngve Lervåg
9a715c57a9 Added error message in latex#info if not initialized 2014-07-16 11:10:34 +02:00
Karl Yngve Lervåg
cae066f778 Added commands
Also made minor syntactical changes to source code folding
2014-07-15 14:52:45 +02:00
Karl Yngve Lervåg
8da3c4e536 Fixed TOC closest index issue 2014-07-15 13:41:12 +02:00
Karl Yngve Lervåg
32d7361621 First attempt to fix #28
Ignore section commands in preamble. Also add preamble to TOC.
2014-07-15 12:05:29 +02:00
Karl Yngve Lervåg
55a35fc87f Don't use absolute paths for bib files 2014-07-15 00:52:22 +02:00
Karl Yngve Lervåg
3697f6efa8 Make bib completion work on windows 2014-07-15 00:13:24 +02:00
Karl Yngve Lervåg
5cc61a5028 Fixed s:get_main_recursive() - don't assume pwd 2014-07-15 00:04:10 +02:00
Karl Yngve Lervåg
ef194e82a6 Allow arguments for latex#view (fixes #23) 2014-07-13 00:27:43 +02:00
Karl Yngve Lervåg
d4a5d856a3 First attempt at windows support 2014-07-09 15:12:11 +02:00
Karl Yngve Lervåg
7aed99b369 Added wrapper function for shell execution 2014-07-09 13:56:38 +02:00
Karl Yngve Lervåg
01e2592696 Release candidate ready 2014-07-09 12:43:10 +02:00
Karl Yngve Lervåg
c743e43dca More updates to new TOC system 2014-07-09 12:13:26 +02:00
Karl Yngve Lervåg
1e3f10ee58 Getting closer and closer ... 2014-07-09 12:13:26 +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
9fc97fc395 Began new system, not completed 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
1e4e173aa4 Add close_environment (finishes #11) 2014-07-04 16:12:40 +02:00
Karl Yngve Lervåg
fb522f9b7c Fix folding preamble 2014-06-29 19:15:19 +02:00
Karl Yngve Lervåg
b99c4f0f7d A couple of minor changes 2014-06-23 09:26:47 +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
f36147946e Fixed a minor bug 2014-06-13 22:47:02 +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
b838aa3afd Accept tocsection for TOC secnum parsing 2014-06-12 20:05:16 +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
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
b29119742d Fixed a minor environment folding issue 2014-06-04 14:54:09 +02:00