Commit Graph

229 Commits

Author SHA1 Message Date
Karl Yngve Lervåg
f45faf6bde Break long lines 2014-12-15 13:56:54 +01:00
Enno Nagel
f71ecc279d ensure that under MS Windows standard cmd shell executes bang commands
all of the latexmk and util library assumes that
under MS Windows the cmd shell is used.

The commit does this assumption justice.
2014-12-15 09:45:16 +01:00
Karl Yngve Lervåg
725aae51eb Remove a comment and an unecessary empty line 2014-12-13 22:11:34 +01:00
Karl Yngve Lervåg
6db1fb8f90 Merge pull request #82 from Konfekt/master
make latexmk continuous under windows more robust
2014-12-13 22:09:39 +01:00
Konfekt
a03ccd82b6 make continuous latexmk more robust under MS Windows 2014-12-13 20:02:53 +01:00
d125q
b1d2c8a045 Added a forgotten shellescape 2014-12-08 21:58:12 +01:00
Karl Yngve Lervåg
7410bf1543 Add shiftwidth to modelines 2014-12-08 20:44:17 +01:00
Karl Yngve Lervåg
42c6ecbf6c Added sumatrapdf to list of viewers 2014-12-08 20:37:42 +01:00
d125q
698bb6c826 Added SumatraPDF to view.vim 2014-12-08 17:34:21 +01:00
Karl Yngve Lervåg
be02246fec Generalized view functionality 2014-12-07 20:08:19 +01:00
Karl Yngve Lervåg
f4fa5e5df1 Added banged version of VimLatexCompileSS (#71) 2014-12-04 20:30:29 +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
032bc29cc5 Minor adjustment to single shot compile 2014-12-01 18:27:56 +01:00
Karl Yngve Lervåg
406e3725f6 Added single shot compile command (solves #71) 2014-12-01 08:28:44 +01:00
Karl Yngve Lervåg
df2ed5292b LocalLeader -> localleader 2014-11-24 20:25:00 +01:00
Karl Yngve Lervåg
86c189eb39 Use fnameescape for lcd commands (fixes #70) 2014-11-23 17:24:58 +01:00
Karl Yngve Lervåg
02b68bdff8 Improvements to TOC (see #67) 2014-11-22 17:29:30 +01:00
Karl Yngve Lervåg
b780071121 Fixed minor bug in latexmk clean 2014-11-19 13:59:41 +01:00
Karl Yngve Lervåg
c2b5f12691 Shellescape to allow file name with space (fixes #65) 2014-11-19 13:54:56 +01:00
Karl Yngve Lervåg
9ba620100c One more space padding fix (for #63) 2014-11-19 09:58:48 +01:00
Karl Yngve Lervåg
2eea3da109 Accept surrounding spaces in input for TOC (see #63) 2014-11-19 09:13:55 +01:00
Karl Yngve Lervåg
5e99322a6a Apply -outdir=g:latex_build_dir (fixes #57) 2014-11-18 21:34:08 +01:00
Leszek Swirski
24a03920fe win32: Wrap bg cmd in quotes 2014-11-12 13:21:10 +00:00
Karl Yngve Lervåg
c12ae33353 Fixed empty tmp-file bug in latexmk#output() 2014-11-06 20:36:39 +01:00
Karl Yngve Lervåg
ac44035f4d Added command and doc for latex#latexmk#toggle 2014-11-06 20:30:27 +01:00
Karl Yngve Lervåg
a18d29cc81 Let <leader>ll toggle compilation (see #59) 2014-11-06 20:19:16 +01:00
Karl Yngve Lervåg
e329057dd0 Use old style split of globpath 2014-10-30 19:54:49 +01:00
Karl Yngve Lervåg
eceef44436 Fix open fold preamble issue (#56) 2014-10-13 20:16:31 +02:00
Karl Yngve Lervåg
116fb46e51 Differ between bg and silent (fixes #51) 2014-08-26 08:05:18 +02:00
Karl Yngve Lervåg
0dc505bd58 Added option to turn of continuous mode (see docs) 2014-08-24 21:22:24 +02:00
Luc Grosheintz
a1ea8b3fa1 Fix simplistic if pid tests
Add a new function s:latexmk_check_pid(pid) to check whether the given
PID is still alive and is owned by a latexmk process.

This allows
   let g:latex_latexmk_options = '-pvc-'
i.e. compile only when explicitely called.
2014-08-18 20:17:09 +02: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
e5cfd7c027 Revert simplification from 563c0648 2014-08-11 16:39:13 +02:00
Karl Yngve Lervåg
f581f7f552 Fixed yet another stupid bug 2014-08-11 15:33:09 +02:00
Karl Yngve Lervåg
04b3b8382f Fixed another silly mistake 2014-08-11 07:43:10 +02:00
Karl Yngve Lervåg
3d9a6bf956 Catch missing file error in fold level parser 2014-08-10 21:20:55 +02:00
Karl Yngve Lervåg
7c5d33091e Fixed #47: pid error 2014-08-10 21:13:21 +02:00
Karl Yngve Lervåg
563c06483b Added g:latex_toc_hide_preamble (fixes #46) 2014-08-10 20:44:57 +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
cf4f1a8d74 Fixed stupid minor bug 2014-08-04 14:13:37 +02:00
Karl Yngve Lervåg
2fa0fea6c9 More general view command 2014-08-03 10:22:49 +02:00
Karl Yngve Lervåg
e38992d453 Use verbose for latexmk 2014-08-03 10:22:34 +02:00
Karl Yngve Lervåg
49a100cafd Better latex info 2014-08-03 09:14:05 +02:00
Karl Yngve Lervåg
7eff78977f Use setlocal 2014-08-03 08:06:12 +02:00
Karl Yngve Lervåg
6b037520a8 Minor refactoring 2014-08-03 07:50:20 +02:00
Tim Brosnan
2fcd2283b9 - Fix latexmk compiling on Windows 7
- Change the formatting of the command string on Windows 7
2014-08-03 00:59:49 +01:00
Karl Yngve Lervåg
180b410f1a Attempt to fix latexmk callback for windows 2014-08-02 16:05:24 +02:00
Karl Yngve Lervåg
232e2bf3c4 Fix minor bug in VimLeave autocommand 2014-08-02 15:12:14 +02:00
Karl Yngve Lervåg
0c5495d90c Added utility function to show latexmk output 2014-08-02 15:09:22 +02:00
Karl Yngve Lervåg
f9fe109baa systemroot preferable to windiw 2014-08-02 14:19:17 +02:00
Karl Yngve Lervåg
bef84296d8 Remove shellslash options, fix windows find (#40) 2014-08-02 13:49:09 +02:00
Karl Yngve Lervåg
e00fb95767 Minor fix 2014-07-31 23:29:05 +02:00
Karl Yngve Lervåg
fa9bdbb646 Fix TOC filename issue on windows (fixes #39)
Forgot in previous commit that windows root names start with '[A-Z]:'
and not '/'.
2014-07-31 23:27:05 +02:00
Karl Yngve Lervåg
56bf63b58d Some refactoring and minor changes to bib completion 2014-07-30 19:59:29 +02:00
Karl Yngve Lervåg
cd923df205 Ensure full path names for label input files 2014-07-30 19:10:21 +02:00
Karl Yngve Lervåg
4873e571c5 Fixed handling of file names in TOC 2014-07-30 18:10:42 +02:00
Karl Yngve Lervåg
3b78257496 Remove unecessary option in latexmk cmd 2014-07-30 15:18:57 +02:00
Karl Yngve Lervåg
c8f6030775 Fixed minor bug (fixes #41) 2014-07-30 12:05:40 +02:00
Karl Yngve Lervåg
c4ee417704 Allow arguments to VimLatexView 2014-07-30 10:59:43 +02:00
Karl Yngve Lervåg
5a59cdda09 Fixed filenames for TOC parsing 2014-07-29 09:27:48 +02:00
Karl Yngve Lervåg
16c4c0e25c Disable shellslash while shellescaping 2014-07-29 09:10:22 +02:00
Karl Yngve Lervåg
30b551bc58 Better definition for inner environments 2014-07-28 14:54:04 +02:00
Karl Yngve Lervåg
28f7120eab New attempt at fix for #39 2014-07-28 08:19:42 +02:00
Karl Yngve Lervåg
75cd19b268 Run commands in given working directory 2014-07-27 21:51:08 +02:00
Karl Yngve Lervåg
54425a7d40 Don't map in selection mode 2014-07-27 21:18:01 +02:00
Karl Yngve Lervåg
d4afdc4dcd Fixed stupid bug 2014-07-27 21:14:35 +02:00
Karl Yngve Lervåg
3a2e2af293 Optimize fold refresh 2014-07-27 21:06:26 +02:00
Karl Yngve Lervåg
4c83713129 Some refactoring of TOC 2014-07-27 20:41:23 +02:00
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