Commit Graph

  • 4eedaab953 . Some grammatical mistakes in the copyright para corrected. . custom macros was wrongly linked to macros. Srinath Avadhanula 2002-12-06 09:32:29 +00:00
  • 62319ac9fa . moved over the smart space functions and mappings into a new file called ftplugin/tex/smartspace.vim Srinath Avadhanula 2002-12-06 08:46:02 +00:00
  • aa271bb74e . removed a bug in the definition of the table macro. the caption is now placed below the tabular environment and the \cation{} is no longer \caption{tab:��}. Srinath Avadhanula 2002-12-06 06:44:03 +00:00
  • 3293ad9f53 . s/TeX_pack_all/Tex_pack_all/ Srinath Avadhanula 2002-12-06 06:36:00 +00:00
  • 19e941993e More bug fixes from after last time. Hopefully, this is the stabilizing version for this feature... . Bug fix from last time, where for a warning, the log window would not be positioned at all. . make going to the column a little more consistent. Srinath Avadhanula 2002-12-02 19:25:29 +00:00
  • ad0dbe7490 A very difficult fix for the encoding problem... Srinath Avadhanula 2002-12-02 13:09:16 +00:00
  • 4ca1711f80 bug fix release: something wrong is with inserting packages from line (O in []) Mikolaj Machowski 2002-11-30 14:56:43 +00:00
  • 27941c5d93 improved version of package file Mikolaj Machowski 2002-11-29 22:03:10 +00:00
  • 52702159a5 - now functions, maps etc. in package files are sourced also for non-gui Vims - removed Version flag Mikolaj Machowski 2002-11-29 22:02:58 +00:00
  • 5f16ab8fd5 More bug fixes/robustification. Took care of potential problems when . more than 2 files have errors on the same line. . the file with the error is being \inputed into the main file. Srinath Avadhanula 2002-11-27 10:25:07 +00:00
  • cf731e40ac update doc about --src-specials and added Benji as maintainer in last section Mikolaj Machowski 2002-11-27 09:12:30 +00:00
  • 0638368341 make changes necessary for dvi searching , s:CompileFlags and pdf viewer Mikolaj Machowski 2002-11-27 09:12:27 +00:00
  • 698de3ef99 . goto the end of the current line before searching for the next error pattern. Srinath Avadhanula 2002-11-27 08:18:24 +00:00
  • d670edeb66 A number of bug fixes and code cleanup after the last hack job. Some important changes: Srinath Avadhanula 2002-11-27 06:40:38 +00:00
  • 57bc1c8d92 optimized versions of package files ("") Mikolaj Machowski 2002-11-25 23:00:26 +00:00
  • 82c3e75faf check for a \ before the when inserting greek characters. before this, trying to type accented characters like \a would not work. this would get expanded to \\alpha. Srinath Avadhanula 2002-11-25 01:20:13 +00:00
  • 110f2b85a3 fixed: SetTeXOptions breaking textwidth settings Mikolaj Machowski 2002-11-25 00:01:09 +00:00
  • b291efe684 full version of support for polski package Mikolaj Machowski 2002-11-25 00:01:05 +00:00
  • 704a9310b1 Moved sourcing of package.vim to the end of file. Now mappings and other goodies defined in package files will overwrite all other stuff. Mikolaj Machowski 2002-11-23 21:39:22 +00:00
  • b3f956d513 much improved version of polski package file Mikolaj Machowski 2002-11-23 21:36:28 +00:00
  • 9d5630110e new package files Mikolaj Machowski 2002-11-23 17:18:00 +00:00
  • 3c2871eca8 optimization of quotes Mikolaj Machowski 2002-11-23 17:16:56 +00:00
  • 767dbcfb2b Account for more than one error on the same line. Srinath Avadhanula 2002-11-21 09:58:06 +00:00
  • a01b8160ce Implemented Carl's idea of having the log file also being shown when RunLaTeX() is run. This is what happens presently: Srinath Avadhanula 2002-11-20 11:09:58 +00:00
  • 82a2298a9b - star math environments don't ask for label - in s:common_environments corrected [ to \[ - Tex_change_envronment uses PropmtForEnvironment - corrected difference between EFI from menu and EFI shortcut - introduced g:Tex_UseMenuWizard in texrc Mikolaj Machowski 2002-11-20 10:04:21 +00:00
  • c623c038a1 new setting g:Tex_UseMenuWizard Mikolaj Machowski 2002-11-20 10:04:13 +00:00
  • 5dd35381e8 Bug: an \appendix after a \section gets folded in with it. Make section folds end also with an \appendix\W line. Srinath Avadhanula 2002-11-20 07:35:28 +00:00
  • 251b85f917 remove the TCTarget and TVTarget commands from main.vim. These commands are now issued from compiler/tex.vim Srinath Avadhanula 2002-11-20 06:27:55 +00:00
  • 0f24f6eb08 . also add in .vim files from ftplugin/tex/ directory. That directory will contain externally contributed packages from now on. Srinath Avadhanula 2002-11-20 06:11:34 +00:00
  • a560cd18c6 Changed the algorithm for setting &makeprg to minimize the duplication in here and in ftplugin/latex-suite/compiler.vim. Therefore if g:Tex_DefaultTargetFormat exists, then it is assumed that that variable came from latex-suite, which means that TTarget exists. Therefore use that to set the &makeprg. Srinath Avadhanula 2002-11-20 05:53:56 +00:00
  • a808e99d5c Various polymorphic macros from Carl Mueller (auctex.vim) . <M-b> encloses the previous character in \mathbf{} . <M-c> is polymorphic as follows: Insert mode: 1. If the previous character is a letter or number, then capitalize it and enclose it in \mathcal{} 2. otherwise insert \cite{} Visual Mode: 1. Enclose selection in \mathcal{} . <M-l> is also polymorphic as follows: If the character before typing <M-l> is one of '([{|<q', then do the following: 1. (<M-l> \left(\right similarly for [, | {<M-l> \left\{\right\} 2. <<M-l> \langle\rangle 3. q<M-l> \lefteqn{} otherwise insert \label{} Srinath Avadhanula 2002-11-17 03:45:39 +00:00
  • 51eb2cf9ed In Tex_DoEnvironment, only use the current line if it is of the form word or word* i.e, ignore lines which contain non word characters. Srinath Avadhanula 2002-11-17 03:40:07 +00:00
  • 3c5a0840c8 . added the function TexFormatLine and TexFill from Carl Mueller. These functions map the <space> key in a way that $'s are not split across lines. Srinath Avadhanula 2002-11-17 03:38:00 +00:00
  • 978ea521d3 . extended g:Tex_IgnoredWarnings by \'There were undefined references�'. \'Citation %.%# undefined�' These are for ignoring undefined citations. The user sets TClevel to 4 when he does want to bother with citations. Document this! Srinath Avadhanula 2002-11-17 01:01:46 +00:00
  • 5c75032eb6 changed the Tex_itemize and such functions (the specialized environment functions) to all use IMAP_PutTexWithMovement(). This allows the user's placeholder settings to be respected and also filetype specific indentation to be preserved even from menus. Previously, a choice made from the menu used to insert the placeholders even if the user had g:Imap_UsePlaceHolders = 0. Srinath Avadhanula 2002-11-17 00:43:27 +00:00
  • 9ad0beefea Bug: folding of a section flows doesn't stop with the beginning of next chapter. Redefined the end fold pattern for all section environments more consistently and completely. Srinath Avadhanula 2002-11-16 10:14:04 +00:00
  • cf220edacd new package files Mikolaj Machowski 2002-11-15 22:31:08 +00:00
  • 490262cd7e Added Tex_PutPackage() - inserting package from line and updating menus if available Mikolaj Machowski 2002-11-15 22:30:25 +00:00
  • 849e5e4366 - replaced "" with '' wherever it was possible. Vim parses each "" looking for special chars, reducing number of these even if this is worth only 1/1000s (or less) per "" can be worth over 1s for whole lS. And 1s is looong for Vim users :) If you agree I will do it for all files. - Removed bugs mentioned by Srinatha: wrong detection of environment with <S-F5> and inserting second label. Could you describe more bugs? - <F5> in now "intelligent". It can recognize if it is in preamble or body of the document. If in preamble takes line as an argument or asks for it and inserts \usepackage{argument} line. If package is supported makes appropriate corrections. If in body similar actions ar taken with environment. - removed function s:ChangeEnvironment and shortcuts as redundant Mikolaj Machowski 2002-11-15 22:30:16 +00:00
  • 5b7c4f8972 now changing of environments works for all of them cursor stays at the position Mikolaj Machowski 2002-11-14 23:02:53 +00:00
  • 260a2b9985 Bug: 'makefile's in current directory are ignored. Cause: used if glob('makefile') ... for testing whether makefile exists. However, in vim, a string evaluates to 0 in the if test. Use if glob('makefile') != '' ... instead. Srinath Avadhanula 2002-11-14 17:30:45 +00:00
  • 92dcf18c00 I merged functions proposed by Carl. Removed extensed mappings. Now it is <F5> in empty line asks for environment in non empty line reads line and use word in it as name of the function Mikolaj Machowski 2002-11-14 09:39:14 +00:00
  • 9e1e2ec642 moving envs part to envmacros.vim Mikolaj Machowski 2002-11-14 09:39:01 +00:00
  • fa0934a748 I must be drunk!!! After saying winnr() doesnt take any arguments, I wrote it down as winnr(''). Wow! Fixed it (finally). Srinath Avadhanula 2002-11-14 02:49:23 +00:00
  • 7a11a56b4c . winnr() doesn't take any arguments. Srinath Avadhanula 2002-11-14 02:46:08 +00:00
  • 9245815977 Fix it so that, after opening the error window, we return to the right window, even if there is more than one other window. Benji Fisher 2002-11-13 03:39:21 +00:00
  • 851835a7d7 Always source texrc whether or not user texrc exists. This is because the user texrc could be from an older version where not all variables are defined. All the other files depend on the variables existing. Srinath Avadhanula 2002-11-12 18:54:53 +00:00
  • efd8fd14a2 I fixed a problem where using $$ (for example) would trash the search history. I commented out a line, and added a comment, in case this depends on version and patch number of vim; I think this should work with vim any vim 6.0+. Please test. If this change is correct, it should be possible to simplify the code a bit. Benji Fisher 2002-11-12 18:24:01 +00:00
  • 35c7bd9598 . after opening the cwindow, jump back to the file being edited. (Carl Mueller's suggestion) Srinath Avadhanula 2002-11-12 16:47:23 +00:00
  • d558201f4b . Syntax Error!!!! I commited a syntax error! Vim's line continuation \ occurs at the beginning of the second line, not the end of the first line! Srinath Avadhanula 2002-11-12 13:44:31 +00:00
  • 88d13ec06d . patch by Peter Wilson: fixes a bug in texmenuconf.vim where s:mainmenuname wasn't used when it should have been . also remove a echomsg statement which crept in after the last debugging attempt. Srinath Avadhanula 2002-11-11 08:55:52 +00:00
  • ee58265781 . incorporating a patch submitted by Peter Wilson, with the small change that g:Tex_MainMenuPrefix is not used. Instead use only g:Tex_MenuPrefix. Srinath Avadhanula 2002-11-11 08:54:17 +00:00
  • 808028136d new package files Mikolaj Machowski 2002-11-10 22:12:28 +00:00
  • fe3d8f4af7 real cite package file Mikolaj Machowski 2002-11-10 22:11:49 +00:00
  • 6a79d12e51 added nocite element to Various menu Mikolaj Machowski 2002-11-10 22:11:48 +00:00
  • be8fac6746 modification of function names TeX_... -> Tex_... cosmetic change, but this is easier to write them menu name: Update -> UpdatePackage more clear name (IMO) Mikolaj Machowski 2002-11-10 18:09:39 +00:00
  • 3c4dbc74e0 modification of function name TeX_pack_all -> Tex_... Mikolaj Machowski 2002-11-10 18:09:35 +00:00
  • 73ab8b247c added some dimensions defined in amsmath added some arrows defined in amsmath Mikolaj Machowski 2002-11-10 13:39:48 +00:00
  • 3b68fc70be first version of amsmath package file Mikolaj Machowski 2002-11-09 22:52:42 +00:00
  • f9092982cc I changed the definition of 'makeprg'. It now mostly follows the same logic as SetTexCompilerTarget(), but is not as flexible (since the target format is not used here). This is a temporary fix. Duplication is bad ... Benji Fisher 2002-11-08 18:05:20 +00:00
  • 24d3bc3eb7 I uncommented the line "runtime compiler/tex.vim" in SetTexOptions(), reversing the change I made a few days ago. Benji Fisher 2002-11-08 18:02:11 +00:00
  • f3060e9c0b Use the g:Tex_EscapeChars variable (defined in texrc) to decide whether to escape \{} in 'makeprg'. Default: for win32, do not escape these characters; otherwise, do escape them. I believe the resulting value for 'makeprg' is very robust. Benji Fisher 2002-11-08 18:00:48 +00:00
  • 538e7c02e4 I added g:Tex_EscapeChars, used in compiler.vim . Benji Fisher 2002-11-08 17:37:26 +00:00
  • 997ddd7066 . missing space in &makeprg. (bug reported by Siegfried Bublitz). Srinath Avadhanula 2002-11-08 13:39:29 +00:00
  • af1ff808eb doing let s:up_path = substitute(s:path, "latex-suite", "", "") doesnt work because s:path could be of the form s:path = '~/latex-suite/vimfiles/ftplugin/latex-suite' so that the first latex-suite is removed instead of the second. doing let s:up_path = expand("<sfile>:p:h:h") is much more robust. Srinath Avadhanula 2002-11-08 03:02:13 +00:00
  • 1f8927280b . bug in ReadTemplate() function caused the TTemplate command not to function properly. was trying to read in files of the form: templates/report_twocolumn.tex.* which gives an error. Srinath Avadhanula 2002-11-08 02:04:28 +00:00
  • 5e177c20b3 texmenuconf.vim: fixed problem with "Edit texrc" menu entry now 1. it works 2. gives message if private texrc doesn't exist 3. command Ttexrc works in non-gui session Mikolaj Machowski 2002-11-07 22:25:05 +00:00
  • c90f691292 main.vim: 1. added to SmartDots inserting \ldots outside math mode 2. removed from "other miscellaneous stuff from imaps.vim" some redundant functions (secondary maps for sections and math symbols). Sometimes too much is just too much. Three letter system for sections and auctex shortcuts for math symbols seems more logical for me. Mikolaj Machowski 2002-11-07 11:21:12 +00:00
  • 4719e57da9 polski: add support for ~ Mikolaj Machowski 2002-11-07 11:20:56 +00:00
  • 066bcbdb38 . moved benji from contributors list to maintainers list. Srinath Avadhanula 2002-11-06 08:37:12 +00:00
  • 90d3add86d elementmacros.vim: To Various menu added \pageref and \cite Mikolaj Machowski 2002-11-05 17:10:28 +00:00
  • f09dd01027 Preben Randhol reports that imaps.vim adds some gratuitous general purpose maps, the potentially most annoying of which is the mapping for (). Remove the "example" mappings from imaps.vim and instead document a little more heavily. Srinath Avadhanula 2002-11-04 22:22:55 +00:00
  • 1b1f3b8ac2 dictionary: misspel emppty -> empty Mikolaj Machowski 2002-11-04 20:40:21 +00:00
  • e3e9b87668 envmacros.vim: 1. added environments quote i quotation 2. fixed bug with enumeration lists (\\item) Mikolaj Machowski 2002-11-04 20:39:43 +00:00
  • 0da7342fb2 elementmacros.vim: I've added ref, label and footnotes elemets to menu X-Elements.Various. Mikolaj Machowski 2002-11-04 20:39:03 +00:00
  • 63ef604e43 improved defaults for Mac OSX Benji Fisher 2002-11-04 16:32:37 +00:00
  • 2fa013c692 makefile: I fixed a little mistake I made main.vim: I commented out "runtime compiler/tex.vim". See further comments in the file. compiler.vim and texrc: 1. I added some support for Mac OSX, using if has('macunix') ... 2. Instead of "--interaction=nonstopmode" I use "\nonstopmode \input{$*}" as in compiler/tex.vim . Not all versions of tex support the --interaction option, so this is more robust. Then, the "\" and "{}" have to be escaped for the shell. I simplified "let &l:makeprg ..." with curly-brace variables. Benji Fisher 2002-11-04 15:39:25 +00:00
  • 33720769cf I added targets to the makefile: install, stallin (reverse install, for lack of a better name), and sync. These require rsync to be installed (but use it only locally, like cp with lots of options). The idea is that after a "cvs update" you can "make install" to put the files in your ~/.vim directory (or another directory, using "make install VIMFILES=..."). Then, you can edit and test the files, run "make stallin", and "cvs commit". If you have some changes in your local CVS directory and some in your vimfiles directory, you can use "make sync". Benji Fisher 2002-11-04 14:15:20 +00:00
  • b4254b48b4 . merged the zip2tar target into the main target. Dont see why the tar.gz file should not be created every time the .zip file is. Srinath Avadhanula 2002-11-02 09:41:38 +00:00
  • 812c01f3e0 adding Pter Heslins contribution Srinath Avadhanula 2002-11-02 03:45:24 +00:00
  • 817f727ce3 adding a zip2tar target for creating tar.gz files Srinath Avadhanula 2002-11-02 03:42:28 +00:00
  • f3f8a34a64 . adding explanations of how to add a syntax fold item. Srinath Avadhanula 2002-11-02 02:56:55 +00:00
  • f33cd74089 . also checking for g:Imap_Place... when choosing the beginning and end place holder characters. Srinath Avadhanula 2002-11-02 02:55:17 +00:00
  • 9851e345ff . rolled back a change which crept in during debugging. Srinath Avadhanula 2002-10-28 06:53:45 +00:00
  • d2aeeb44bc . use an option g:Tex_UseEditorSettingInDVIViewer to specify whether we want the command for the dvi viewer to also specify an external editor. defaults to 0 (i.e dont specify editor). Srinath Avadhanula 2002-10-28 06:41:51 +00:00
  • bde1fc8540 . allow an option to change the behavior of the dvi viewer command. By default, only do exec '!'.s:viewer.' '.mainfname.'.dvi &' when an option is present, use the extended version which specifies the editor. Srinath Avadhanula 2002-10-28 06:40:11 +00:00
  • 6edbc496ae . changed the definition of the section fold region from startpat = '^\s\\section\*\=' to startpat = '^\s\\section\W' so as to allow for things like: \section[short]{Loooong title} More bug fixes by Peter Heslin. . also allow %%fakesection to terminate \section. Srinath Avadhanula 2002-10-28 06:37:23 +00:00
  • 15a940b94e . changed the definition of \sections from \section to \section\*\={ in order to 1. account for things like \sectionstyle not munging up things. 2. to account fo things like \section{ and \section*{ . added a fold item called %%fakesection to allow for manual forcing of folds. Srinath Avadhanula 2002-10-27 10:28:13 +00:00
  • f36bb6403c . added some pretty extensive comments about how to add folding. hopefully, some future revision will have a way of specifying folds using the texrc. Srinath Avadhanula 2002-10-27 10:16:27 +00:00
  • db3f13e552 . removed the ff=unix setting from the modeline since this causes a spurious modified flag for cvs. Srinath Avadhanula 2002-10-27 10:15:10 +00:00
  • cb44f89985 Many of the wizard functions did not use IMAP_PutTextWithMovement() while putting text. This caused the g:IMAP_UsePlaceHolder setting as well as the settings for the placeholder characters to be ignored. Srinath Avadhanula 2002-10-27 09:18:04 +00:00
  • 5717e1d5fc . removing inclusion of vimlatex and adding ltags Srinath Avadhanula 2002-10-07 00:35:41 +00:00
  • 79af419444 *** empty log message *** Srinath Avadhanula 2002-10-06 22:35:12 +00:00
  • b01f246d4b . removing vimlatex Srinath Avadhanula 2002-10-06 22:34:59 +00:00
  • 0218e4f076 added folding item for footnotes. suggested by Peter Heslin <p.j.heslin@durham.ac.uk> Srinath Avadhanula 2002-10-06 15:29:06 +00:00
  • 3635f3fd80 Added has("gui_running") condition to the if clauses creating menus to prevent it if running not gui version. Mikolaj Machowski 2002-05-21 21:11:03 +00:00
  • f9ef453c89 Removed cvs marker Mikolaj Machowski 2002-05-21 16:41:27 +00:00
  • cf226cb1d7 Added section about package files Mikolaj Machowski 2002-05-19 18:47:27 +00:00
  • c326389eda Added instructions how to use :TSection and :TSectionAdvanced commands. Mikolaj Machowski 2002-05-11 15:53:53 +00:00
  • 124a3663d7 Added new commands: TSection, TSectionAdvanced. More info in updated latex-suite.txt. Mikolaj Machowski 2002-05-11 15:51:59 +00:00