Commit Graph

  • 85a9a248c5 File with utf-8 menus, edit it in GUI or terminal which support Unicode Mikolaj Machowski 2003-05-24 22:21:55 +00:00
  • 3f8b11c03a Add support for utf-8 menus Mikolaj Machowski 2003-05-24 22:20:31 +00:00
  • cc6c44d46d Explanation how to enable utf menus Mikolaj Machowski 2003-05-24 22:20:10 +00:00
  • ab5cd717f8 explanation of :Tshortcuts command Mikolaj Machowski 2003-05-24 17:40:52 +00:00
  • 7e30bd9dff Add Tshortcuts command, detailed description in latex-suite.txt - annoying trailing characters E488 :/ Mikolaj Machowski 2003-05-24 17:40:42 +00:00
  • 9cffd028a1 Add support for kdvi for regular viewing and forward searching; fixed problem with always compiling .tex files (at least partially) Mikolaj Machowski 2003-05-24 14:37:09 +00:00
  • 57ca48d7e0 add timestamp to name of new created archives in format 20032205 Mikolaj Machowski 2003-05-22 18:40:56 +00:00
  • 770cebedb9 replace <<>> with <++> in description of package file Mikolaj Machowski 2003-05-22 18:40:48 +00:00
  • bb188a2341 Added accels for Suite, Elements and Environments menus. Changed accel in Math (from t to M). (Animesh Nerurkar) Mikolaj Machowski 2003-05-19 14:51:19 +00:00
  • 791c1657fe Added reference to modes in doc, one mispell. Mikolaj Machowski 2003-05-19 14:51:16 +00:00
  • df39c3233f Include $BIBINPUTS variable while looking for bib files. (Soren Debois) Mikolaj Machowski 2003-05-19 14:50:44 +00:00
  • bbd2e31b63 mispell in triangleq command; remove \implies - this command does not exist Mikolaj Machowski 2003-05-08 20:50:33 +00:00
  • e3e9d9fd5b lack of <SID> before PromptForCompletion call Mikolaj Machowski 2003-05-08 08:17:01 +00:00
  • 95dff5e907 fixed mispells; moved brackets and dollars section to IMAP; more arrows Mikolaj Machowski 2003-05-07 19:42:13 +00:00
  • 991338f062 add imaps.txt and explorer.vim to tarballs Mikolaj Machowski 2003-05-04 19:21:23 +00:00
  • b54060193e cnp fault: && at the end of if condition make Forward Searching impossible Mikolaj Machowski 2003-05-03 18:05:57 +00:00
  • e45d947591 Merging x action from main explorer.vim Mikolaj Machowski 2003-05-02 20:00:45 +00:00
  • 9a369850c0 Bug: Multiple \ref's in a single line would cause completion problems. Cause: s:prefix in s:Tex_complete() was improperly calculated. Fix: improve regexp for calculating s:prefix. Still a bit of a hack. Srinath Avadhanula 2003-04-25 20:41:26 +00:00
  • cc4605241d Included project features Mikolaj Machowski 2003-04-23 17:28:32 +00:00
  • faff3c0376 - use makefile always if exists, .latexmain only if makefile doesn't exist. Mikolaj Machowski 2003-04-15 10:26:23 +00:00
  • 3feaff87d4 - proper handling of <Plug> thing, remove hard map to F10 - temporary file has .tex extension Mikolaj Machowski 2003-04-14 17:14:55 +00:00
  • 6e24c9ffbf - proper handling various compilation situations - partial, makefile (Alan Schmitt) - mappings of partial compilation Mikolaj Machowski 2003-04-14 17:14:46 +00:00
  • cd315c2c09 Partial compilation menu element didn't work. Change element to visual only. Mikolaj Machowski 2003-04-14 17:14:38 +00:00
  • 3151ab8092 proper calling partial compilation from menu, forgotten commit :/ Mikolaj Machowski 2003-04-14 11:23:24 +00:00
  • 01595c0278 improvements in the newly added "Latex Completion" section. Srinath Avadhanula 2003-04-13 02:03:53 +00:00
  • 38e150f1f0 bad use of matchstr() with s:type, use substitute() instead Mikolaj Machowski 2003-04-11 23:31:10 +00:00
  • afccd0ffbb make explorer completion pluginable; small cleaning of the code Mikolaj Machowski 2003-04-11 21:21:58 +00:00
  • af976c2364 add variable g:Tex_completion_explorer, necessary to whole thing work Mikolaj Machowski 2003-04-11 21:21:50 +00:00
  • c92eb51bf5 first example of pluginable explorer completion - verbatimtabinput command Mikolaj Machowski 2003-04-11 21:21:39 +00:00
  • 62025478c2 completion is now pluginable through PromptFor mechanism, added completion for addcontentsline, addtocontents, bibliographystyle Mikolaj Machowski 2003-04-11 16:41:50 +00:00
  • 2ff0fea1c3 add completion for include, includeonly, input; remove unnecessary g:variables; localization of Tex_Find functions Mikolaj Machowski 2003-04-11 11:27:25 +00:00
  • 3a650a85b1 SmartQuotes for polski (Jakub Turski) Mikolaj Machowski 2003-04-11 11:27:16 +00:00
  • d71e6eaa15 more robust bib finder - not only scans current directory for .bib files but uses \bibliography commands in current and, if exists main file Mikolaj Machowski 2003-04-10 22:03:31 +00:00
  • 543210c358 replaced endwhile and endif. I dont know how it passed :( Mikolaj Machowski 2003-04-08 08:45:01 +00:00
  • ff9ca23990 new variable g:Tex_TEXINPUTS Mikolaj Machowski 2003-04-07 20:53:31 +00:00
  • 54e3a3c3f1 info about improved scanning features Mikolaj Machowski 2003-04-07 20:53:27 +00:00
  • b49a80b5a9 Dealing with TEXINPUTS and packages. Unfortunately relations of Vim with shell are not straightforwart. We cannot assume that always we will know its value. Much simplier (although not so elegant) is g:Tex_TEXINPUTS variable. This should be equal to real $TEXINPUTS. More info in latex-suite.txt - |latex-package-scanning| Mikolaj Machowski 2003-04-07 20:53:03 +00:00
  • a0b58a41dc include fix by Soren Debois and make possible inverse searching with xdvi instation from forward searching Mikolaj Machowski 2003-04-07 10:52:11 +00:00
  • a02f89285a check if in current directory exists user package and scan it for usepackage, newcommand etc. TODO - TEXINPUTS, use glob or globpath Mikolaj Machowski 2003-04-06 22:59:50 +00:00
  • bdb19ed228 improved F1 wrapper: proper error message (thanks Benji), checks for environment names Mikolaj Machowski 2003-04-06 22:59:37 +00:00
  • e6e5f9607f Relative path under Windows was given with wrong file delimiter Mikolaj Machowski 2003-04-05 21:35:50 +00:00
  • 08d5ec38d2 This is almost standard version of explorer plugin. This addition to lS is necessary for things like explorer-completion. Mikolaj Machowski 2003-04-04 23:27:45 +00:00
  • c946eed579 new variables for latex completion description in file and latex-suite.txt Mikolaj Machowski 2003-04-04 23:25:11 +00:00
  • ac2e7a0cf8 comments, fixing bugs for partial compilation, using <Plug> for mapping Mikolaj Machowski 2003-04-04 23:25:03 +00:00
  • 1b935315fd handling of includegraphics, bibliography commands; introduction of explorer-completion; more info in latex-suite.txt - latex-completion Mikolaj Machowski 2003-04-04 23:24:46 +00:00
  • 2764021139 info about partial compilation and changed info from latex viewer to latex completion and updated. New term IMO better describes what is this for Mikolaj Machowski 2003-04-04 23:24:39 +00:00
  • f3d2dd19ff menus for partial compiling and viewing Mikolaj Machowski 2003-04-04 00:55:57 +00:00
  • 39d6706bce partial compilation, rules for compiling and viewing output of writing to temporary file created from wizardfuncs.vim Mikolaj Machowski 2003-04-04 00:55:57 +00:00
  • 5da44fd9e9 main function of partial compiling Mikolaj Machowski 2003-04-04 00:55:46 +00:00
  • 19f60f0ac8 support inserting cite/ref from menu. Is it robust enough? Without redesigning menu part no more can be done Mikolaj Machowski 2003-04-03 17:37:38 +00:00
  • e3d5564362 configuration of windows heights in viewer Mikolaj Machowski 2003-04-03 14:29:17 +00:00
  • 6dde3ef664 some info about grep and viewer on MS-Windows Mikolaj Machowski 2003-04-03 14:29:05 +00:00
  • 17d60115a7 full customization of cwindow and preview window height, vanilla 6.1 has bug which resizes cwindow - fixed with additional wincmd _ command Mikolaj Machowski 2003-04-03 14:28:30 +00:00
  • 9c8854a370 info about first hightlighted line in cwindow for cite/ref completion Mikolaj Machowski 2003-04-03 11:54:10 +00:00
  • 965f816c0f customization of preview window Mikolaj Machowski 2003-04-03 11:54:09 +00:00
  • d272d54315 label line in preview window in the middle higher preview window (height defined in texrc) support for .bbl files support for \thebibliography environment use grep! instead grep (no need for 'bot 1 split') Mikolaj Machowski 2003-04-03 11:53:54 +00:00
  • ab1e8767df menu Complete Ref/Cite Mikolaj Machowski 2003-04-03 11:53:39 +00:00
  • 3dd49f8458 add info abour F1 wrapper, few mispells, misformats and item in toc about texviewer.vim Mikolaj Machowski 2003-04-02 20:59:21 +00:00
  • f293acc0ac F1 help for LaTeX items, docs in latex-suite.txt commit Mikolaj Machowski 2003-04-02 20:58:59 +00:00
  • edb13bea57 completion of \ref and \cite commands, more in latex-suite.txt commit Mikolaj Machowski 2003-04-01 16:47:51 +00:00
  • 254168766e description of texviewer.vim module Mikolaj Machowski 2003-04-01 16:47:26 +00:00
  • 4eac530584 Bug: If an abbreviatin contains \ or " characters, then the abbreviation is not expanded properly. (D. MacAlpine) Fix: Those characters need to be escaped before the quoting. Srinath Avadhanula 2003-03-25 19:11:40 +00:00
  • 66b86d3fbc Bug: Incorrect detection of abbreviations. If there was (were) abbreviations starting with the letter 'a', then typing 'a<space>' would trigger an expansion. Cause: The :iab command also echoes for partial completions. Solution: Check more thoroughly whether a word is an abbreviation LHS or not. Srinath Avadhanula 2003-03-25 08:20:11 +00:00
  • e8d45d0018 new package files Mikolaj Machowski 2003-03-17 12:46:52 +00:00
  • 191bc2ea95 new package files Mikolaj Machowski 2003-03-16 18:16:45 +00:00
  • 5f88adc80f Bug: When there are 2 vertically split windows, compiling causes window layout to get messed up. (Alan Schmitt) Cause: UpdatePreviewWindow() was taking focus from the preview window to the window _above_ it, not the window previously visited. This was sometimes causing focus to go to one of the edited tex files. Fix: Goto previous window, not window above. Srinath Avadhanula 2003-03-04 22:58:13 +00:00
  • c3709d39d6 Bug: Fold for slide ends with beginning of next slide. (Shawn L Young). Cause/Fix: syntax fold description for slide used '\end{slide' to terminate fold beginning with '\begin{slide' Srinath Avadhanula 2003-03-03 20:57:27 +00:00
  • eb070779d9 New command to extract package name from within {}. exec "normal! /{\<CR>\"ayi}" Mikolaj Machowski 2003-02-28 20:21:51 +00:00
  • 7b5feffb4d Bug: iabs break when latex-suite is triggered. (Preben Randhol, Sanip P Deshmukh) Cause: If a mapping ends in a letter (say '\'), then abbreviations are not triggered by that letter. For example, if we have imap \ <C-r>='\'<CR> iab 12 twelve Then typing 12\ doesn't expand to twelve\. (Strangely enough "imap \ ?" doesn't have this problem and we get twelve?. Vim bug?) This problem is aggravated by the fact that latex-suite "protects" most letters to avoid expansions such as `2 -> \sqrt{} Solution: After checking for mappings ending in a letter, if that letter is not in 'iskeyword', then also check whether the previous word has an abbreviation. Since vim does not have the equivalent of mapcheck() for abbreviations, this is complicated (maybe even hacky). Srinath Avadhanula 2003-02-05 23:29:04 +00:00
  • fae6eb53cf - Bug: imaps do not work on default win32 installations of vim because :behave mswin is set, which in turn sets &selection=inclusive. This makes IMAP_Jumpfunc() skip selecting the last character of Imap_PlaceHolderEnd. (Sumit Bhardwaj) Solution: Temporarily set &selection = exclusive in IMAP_Jumpfunc(). Srinath Avadhanula 2003-02-05 04:12:28 +00:00
  • 9f044b6607 Sumit Bhardwaj <b.sumit@ieee.org> contributed an template file to be used for IEEE transactions. Srinath Avadhanula 2003-01-29 03:17:20 +00:00
  • aa0c500d4c - change syntax for the \includegraphics command. (Diego Caraffini) Srinath Avadhanula 2003-01-21 22:23:08 +00:00
  • 14d4c3395f - use the updated syntax of Tex_pack_updateall Srinath Avadhanula 2003-01-21 22:15:40 +00:00
  • b085afa753 - make Tex_pack_check() also update g:Tex_package_detected. - Make Tex_pack_updateall() use another argument force. A recent commit added some intelligence to Tex_pack_updateall which made it do nothing if it had scanned this file the last time... Sometimes we might want to force it to rescan the same file again. Srinath Avadhanula 2003-01-21 22:15:05 +00:00
  • 26a5661fec - If g:Tex_package_detected contains 'graphicx' then use \includegraphics instead of \psfig in the EFI mapping. Srinath Avadhanula 2003-01-21 22:10:46 +00:00
  • 009ee209f5 - a tentative attempt to make including the graphicx package change the behavior of EFI from \psfig to \includegraphics. Note that this is far from ideal. For example, as of now, once the user opens a file with \usepackage{graphicx}, then EFI will begin using \includegraphics even if he switches back to a file without \usepackage{graphicx}. Srinath Avadhanula 2003-01-20 19:59:00 +00:00
  • 21a9c7c2d0 added regular latex commands to babel package file Mikolaj Machowski 2003-01-18 18:36:43 +00:00
  • 5053a82aef - make things silent... Otherwise cvs errors, shell errors etc scroll off the screen making things difficult to see. Srinath Avadhanula 2003-01-17 18:43:20 +00:00
  • 50d93ad586 - Bug: When makefile is found,then latex-suite shifts focus to the quicfix window. (Ulrich Spoerlein) Fix: mainfname was not being initialized when makefile is found. Srinath Avadhanula 2003-01-17 18:41:44 +00:00
  • ca3f137f4a - A first go at the babel file. This file is sourced exactly once when it is first detected by Tex_pack_updateall(). It then sets up an au to catch the LatexSuiteScannedPackages event which gets thrown by Tex_pack_updateall(). This enables it to set buffer local smart quote characters each time \usepackage{babel} is seen. Srinath Avadhanula 2003-01-17 10:05:36 +00:00
  • 83e61a1cc1 Oops! Syntax error. Talking about commiting "tested" code! Srinath Avadhanula 2003-01-17 09:49:34 +00:00
  • 3145e13ee0 - catch the LatexSuiteFileType event to update the package menu whenever we switch buffers. This will enable us to reliably use package files which set buffer variables. Srinath Avadhanula 2003-01-17 09:24:15 +00:00
  • f383b1afd0 - catch the LatexSuiteFileType event to set up buffer local maps. Srinath Avadhanula 2003-01-17 09:20:35 +00:00
  • 9b761ca064 - catch the LatexSuiteFileType event thrown by tex_latexSuite.vim to set up buffer local maps for each tex file. Srinath Avadhanula 2003-01-17 09:18:15 +00:00
  • 23d7d7ade4 - main.vim used to help various other components set up mappings etc. This was becoming ugly because it caused some unecessary dependencies... The new tex_latexSuite.vim file enables us to remove these dependencies. SetTeXOptions() now just sets options local to main.vim. Each of the other components do their own stuff. Srinath Avadhanula 2003-01-17 09:13:31 +00:00
  • 9179ec209d - In the initial way of calling latex-suite, main.vim and correspondingly every file through it would be source'd only once for every buffer. This means that if a file needs to be called every time a filetype event occurs (not just the first time), it wasn't possible. This limitation was making adding a feature such as updating the packages menu when we switch buffers very ugly to implement. Srinath Avadhanula 2003-01-17 09:09:43 +00:00
  • 00b19d0887 - Use Tex_ChooseFromPrompt instead of Tex_ChooseFile Srinath Avadhanula 2003-01-17 06:37:58 +00:00
  • 3cd1657d87 - Use Tex_ChooseFromPrompt instead of Tex_ChooseFile - Use Tex_pack_updateall instead of Tex_pack_all Srinath Avadhanula 2003-01-17 06:37:08 +00:00
  • 4d11d36cb8 - Transfer intelligence from Tex_pack_all to Tex_pack_updateall. Because we want to scan every file, therefore do some optimization to speed things up. Basically, try not to repeat "supporting" packages. Srinath Avadhanula 2003-01-17 06:36:17 +00:00
  • e78b0a7eae - Use Tex_ChooseFromPrompt instead of Tex_ChooseFile - Also create global variables of the form g:Tex_{packname}_options which contains options corresponding to \usepackage{packname}. Srinath Avadhanula 2003-01-17 05:26:34 +00:00
  • 9dc558fc43 - Previously if a file which didn't have \usepackage{german} triggered latex-suite and then the user opened a file which did have \usepackage{german}, then b:Tex_SmartQuote* would not change. We want to process the \usepackage lines for every file... A first pass at implementing this. Make Tex_pack_updateall() get called every time SetTeXOptions() is called by catching the LatexSuiteInit event thrown by SetTeXOptions(). TODO: This makes things slow, because Tex_pack_updateall is kind of dumb updating the menu list... Often times, multiple files in the same vim session use the same main file. In this case, it doesn't make sense to "uncheck" all the menus and recreate them again. I'll optimize it later to use such information... Srinath Avadhanula 2003-01-16 17:49:08 +00:00
  • 797b816edf - Previously if a file which didn't have \usepackage{german} triggered latex-suite and then the user opened a file which did have \usepackage{german}, then b:Tex_SmartQuote* would not change. We want to process the \usepackage lines for every file... A first pass at implementing this. As a long term solution, make SetTeXOptions() trigger a user autocommand called LatexSuiteInit. This is caught by everyone who so wishes. This enables us to not have to modify main.vim everytime... Srinath Avadhanula 2003-01-16 17:42:09 +00:00
  • 3ac0dac6b0 localized to buffer SmartQuotes Mikolaj Machowski 2003-01-16 11:09:22 +00:00
  • d34ae70be3 - made greek letter expansions also use g:Tex_Leader. This provides another way in which users can avoid unexpected expansions... (I dont know why this was not the case till now...) TODO: make greek letters optional. Srinath Avadhanula 2003-01-16 02:49:57 +00:00
  • b4ab8416eb new package file Mikolaj Machowski 2003-01-15 23:14:51 +00:00
  • 9d131f9596 Make the Tex_SmartQuote* variables buffer-local, and change the close-quote string from '" to "' . Benji Fisher 2003-01-15 16:24:56 +00:00
  • 14625803ec I updated the comments above the Tex_SmartQuoteOpen and Tex_SmartQuoteClose variables. Benji Fisher 2003-01-15 16:23:13 +00:00
  • 25089270ae Several changes to the s:TexQuotes() function: Benji Fisher 2003-01-15 16:16:27 +00:00
  • 1bde8c1738 - new function Tex_CreatePrompt. " Description: " Arguments: " promptList: This is a string of the form: " 'item1,item2,item3,item4' " cols: the number of columns in the resultant prompt " sep: the list seperator token " " Example: " Tex_CreatePrompt('item1,item2,item3,item4', 2, ',') " returns " "(1) item1\t(2)item2\n(3)item3\t(4)item4" " " This string can be used in the input() function. Srinath Avadhanula 2003-01-15 02:54:28 +00:00
  • 9387a5c523 - moved g:Tex_PromptedEnvironmentsDefault and g:Tex_PromptedCommandsDefault from envmacros.vim to here. Srinath Avadhanula 2003-01-15 02:53:34 +00:00