Commit Graph

  • b0c51aa951 *** empty log message *** Srinath Avadhanula 2004-07-22 00:44:59 +00:00
  • 2927d0b688 New: Updated documentation of the Tex_ViewRuleComplete_format variable. Srinath Avadhanula 2004-07-22 00:41:18 +00:00
  • 9882eed46c *** empty log message *** Srinath Avadhanula 2004-07-22 00:38:07 +00:00
  • 168d9dd123 Bug: The bracketing maps <M-[bcl]> only worked on the first buffer which triggers latex-suite. Why: Initially brackets.vim resided in ftplugin/tex/, where it got sourced every time, but when it was moved to ftplugin/latex-suite, where it gets sourced only once. Fix: Catch the LatexSuiteFileType event Srinath Avadhanula 2004-07-21 19:01:03 +00:00
  • 9a5ba0cf22 Bug: On windows, viewing doesn't work because we have changed the way the program is called (basically the extension is not used) (Luc Hermitte) Fix: revert back to the original way of calling the external program Srinath Avadhanula 2004-06-19 20:15:42 +00:00
  • f11fe8d382 Bug: The trick of let &mp = Tex_ViewRuleComplete_{format} silent! make doesn't work for many windows programs which try to interpret the trailing redirection string and therefore choke saying that the file is not found. Fix: Therefore following Luc Hermitte's advice, come up with an imitation of Vim's 'makeprg' which just executes the string. For now, this code is in Tex_ViewLaTeX, but in the future, it could be a seperate helper function. Srinath Avadhanula 2004-06-19 00:50:32 +00:00
  • ec7b189ef3 Bug: Entering a template via the :TMacro command doesn't work. Why: We use Tex_FindInRtp(fname, 'macro') which returns only the last part of the full path name. Fix: Use Tex_FindInRtp(fname, 'macro', ':p') instead. Srinath Avadhanula 2004-06-19 00:15:59 +00:00
  • e320c8f244 New: A new setting Tex_ShowErrorContext which if set to 0, will not show the preview window beneath the list of errors. Srinath Avadhanula 2004-06-18 23:59:48 +00:00
  • 75d4f01544 New: An option Tex_ViewRuleComplete_{format} which allows more complete control for the user to customize the viewer program. Tex_ViewRule_{format} only worked if the program accepted the file to be viewed as the last argument. Srinath Avadhanula 2004-06-18 23:13:23 +00:00
  • 3f9d3ec5eb Bug: In windows, searching from a file which is included into the main file but lies in a subdirectory under the main file doesn't work. i.e, if you have Srinath Avadhanula 2004-06-17 03:32:34 +00:00
  • 3d8a5b2d43 Bug: Typing a <bs> in insert mode triggers the error: >>Error detected while processing >>function <SNR> 25_SmartBS: >> >>line 2: >> >>E55: Unmatched \\) (Alp ATICI) Why: A faulty move of code from main.vim to texrc. Srinath Avadhanula 2004-06-13 18:12:40 +00:00
  • abbdbb5478 *** empty log message *** Srinath Avadhanula 2004-06-09 21:00:54 +00:00
  • 8a07918ade New: A global versioning system for Latex-suite which will be helpful in making sure users have the correct version etc. Srinath Avadhanula 2004-06-09 20:47:16 +00:00
  • 543515d7e4 Bug: Get an error E117: Unknown function: Tex_GetVarValue Why: We use Tex_GetVarValue before it is defined. Fix: Move the smart key functions below the "helper" functions. The helper functions should always be defined before any other function which might use them. Srinath Avadhanula 2004-06-09 17:02:11 +00:00
  • 3bf5ad667e *** empty log message *** Srinath Avadhanula 2004-06-06 23:27:37 +00:00
  • e8c1cd330f New: Make the program for creating the .ind file customizable via the Tex_MakeIndexFlavor. (requested by Berta Milan) Srinath Avadhanula 2004-06-06 23:21:25 +00:00
  • 2de1a71275 Bug: Typing >>> \begin{array} >>> \end{} results in >>> \begin{array} >>> \end{<++>} with the cursor at the end (Berta Milan) Why: When the indentation of a line changes while typing the text returned by IMAP_PutTextWithMovement, then IMAP_Mark('go') does not go to the same location as set by IMAP_Mark('set'). This causes the cursor to be located not before the first placeholder causing the first placeholder to be "missed". Fix: Check to see if the indentation of the line remembered by IMAP_Mark('set') has changed and if so, move a little to the left or right to adjust for the indentation changing. Srinath Avadhanula 2004-05-30 07:35:40 +00:00
  • 2ad9b035b1 Bug: <F7> for inserting commands doesn't work in Insert mode and works buggily in Normal mode. Why: Used <cword> to extract the word under the cursor which doesn't work if the cursor is just past the end of a word. This is a common occurence when <F7> is pressed just after typing a word. Also in normal mode, just used the part of the word which is before the cursor. Fix: Use matchstr(getline('.'), '\w\+$') to extract the word before the cursor. This works even after the end of a word in insert mode. Srinath Avadhanula 2004-05-25 18:51:10 +00:00
  • 693f9d1b66 *** empty log message *** Srinath Avadhanula 2004-05-25 01:38:35 +00:00
  • 0951813422 Bug: Error in viewing dvi documents using kdvi (Vaidotas Zemlys) Srinath Avadhanula 2004-05-24 23:55:17 +00:00
  • bdf6c39d89 *** empty log message *** Srinath Avadhanula 2004-05-22 01:31:34 +00:00
  • 596bcada93 New: Factory defaults for a few more variables which were introduced recently. Srinath Avadhanula 2004-05-22 01:25:23 +00:00
  • a2cd04c734 New: Tex_GetVarValue now doesn't accept a second argument as the default but just returns '' if no variable with the name exists. This means that factory defaults for all variables _have_ to be provided in texrc henceforth. Srinath Avadhanula 2004-05-22 01:24:14 +00:00
  • ebe9f4362d Bug: The .latexmain file is only sourced on the first file which is opened. Why: We did not catch the LatexSuiteFileType event Fix: Catch the LatexSuiteFileType event and source the master file for every file opened. Basically, the .latexmain file acts like a project specific ftplugin file. Srinath Avadhanula 2004-05-22 01:21:19 +00:00
  • 0b05ba4b2a New: A refactoring of code to use Tex_GetVarValue instead of using g:Tex_* variables. Basically, this makes it possible for the user to more finely tune the behavior of latex-suite on a per-project basis. As of now, most settings of latex-suite are handled by setting global variables like g:Tex_UseMakeFile. In the future, we should set "factory defaults" in texrc by setting g:Tex_* variables. After that, we should always use Tex_GetVarValue to query the value of the variable. This allows the user to over-ride the factory default at a variety of levels, for example: 1. If the user defines g:Tex_* in ~/.vim/ftplugin/tex.vim, then he will over-ride the setting for all files. 2. If he defines b:Tex_* in a project master file, for instance, if he sets let b:Tex_UseMakeFile = 0 in one .latexmain file, then only .tex files which source that .latexmain file will not use the makefile. Other files will continue to use the makefile. Srinath Avadhanula 2004-05-22 00:26:40 +00:00
  • 79bc01bd5a New: Instead of always using the complex logic of searching for \\label's in the main file and all \input'ed file, provide a setting which enables the user to simply search all the .tex files in the current directory as before. Srinath Avadhanula 2004-05-20 01:09:33 +00:00
  • be53735eb3 Bug: When the format dependency chain is interrupted in the middle, then the default target format is changed the next time we compile, i.e, if g:Tex_DefaultTargetFormat = 'ps' g:Tex_FormatDependency_ps = 'dvi,ps' and there is an error in the ->dvi step, then the next time, if the error is removed, Tex_RunLaTeX stops after the ->dvi step. Why: s:target is changed when Tex_RunLaTeX interrupts the build process. Fix: When there are errors and the build process needs to be interrupted, then reset the default target format. Srinath Avadhanula 2004-05-18 22:23:14 +00:00
  • 37f35d3ecf *** empty log message *** Srinath Avadhanula 2004-05-17 00:48:59 +00:00
  • 5b6280eae2 *** empty log message *** Srinath Avadhanula 2004-05-16 21:35:51 +00:00
  • 1f4319e081 *** empty log message *** Srinath Avadhanula 2004-05-16 18:42:48 +00:00
  • 06aa42e15f New: documentation for the new functionality of completing \ref's. Srinath Avadhanula 2004-05-16 18:42:26 +00:00
  • 5c5c7876c7 *** empty log message *** Srinath Avadhanula 2004-05-16 17:43:11 +00:00
  • 7edec34266 Bug: Part compilation doesn't work because the temporary file created does not include the preamble of the original main file. Why: We used Tex_GetMainFileName(':p:r') from before the time Tex_GetMainFileName was changed. Fix: Use Tex_GetMainFileName(':p') instead. Srinath Avadhanula 2004-05-16 17:41:49 +00:00
  • 14f0a5f4d5 New: Instead of searching for \\label's in all the .tex files in the present directory, only search in the mainfile and all the included files. Srinath Avadhanula 2004-05-16 17:38:41 +00:00
  • 52267bc145 Bug: Sometimes, even if there are errors in compiling the .tex file, Tex_RunLaTeX proceeds to convert to ps, etc. Why: The pattern used to check whether there is an error lin the :clist is very restrictive. If there are errors which do not have an associated line number, then the pattern doesn't match and we fail to detect that there is an error. Fix: Just use very simple patterns. Srinath Avadhanula 2004-05-14 17:37:29 +00:00
  • 8bad763adc Bug: If an error is of the form >> ! Missing $ inserted. >> <inserted text> >> $ >> l.9 >> >> I've inserted a begin-math/end-math symbol since I think >> you left one out. Proceed, with fingers crossed. (there's a single <space> after l.9), then the line number is not recognized. Why: The 'efm' setting contains only '%+Cl.%l\ %m', which means that the line number is recognized only when the "l.<number><space>" is followed by a message. Fix: Append '%+Cl.%l\ ' to the 'efm'. Srinath Avadhanula 2004-05-14 17:33:20 +00:00
  • ff1f3717d6 Bug: The <F9> mapping only works on the first .tex file which triggers latex-suite. (Julien) Why: When we were moving texviewer.vim from ../tex/texviewer.vim to here, we didn't bother to catch the LatexSuiteFileTypeEvent which is the mechanism to ensure the maps get set for every .tex file opened. Fix: Catch the LatexSuiteFileTypeEvent event (SA) Srinath Avadhanula 2004-05-09 22:43:00 +00:00
  • 8b6fd4dd11 New: Description of the <M-i> mapping to insert \item commands. Srinath Avadhanula 2004-05-09 22:11:49 +00:00
  • 88d15e913d Bug: when 'ignorecase' is set, then typing 'etB' triggers an error. Why: With 'ignorecase' set, 'etB' matches 'ETB', therefore, LookupCharacter assumes that a map exists for 'etB' and tries to find the value of s:Map_Tex_etB which doesn't exist. Fix: Force matching case with the \C pattern. Srinath Avadhanula 2004-05-04 20:50:11 +00:00
  • 549cf8c3e9 New: A more precise behavior of the Tex_InsertItem function to account for the fact that the previous \\begin might not be the environment in which the cursor is enclosed. (Alan Schmitt) Srinath Avadhanula 2004-03-15 19:40:48 +00:00
  • dceabf2b35 Bug: RemoteOpen does not work with file names with spaces. Why: The following vim command :drop File Name with spaces opens up multiple files. Fix: escape() the file name before issuing the drop command. NOTE: There is a vim bug where exec "drop ".escape(filename, '\ ') hangs GVIM. Srinath Avadhanula 2004-03-14 19:39:29 +00:00
  • 87018761f7 Bug: <M-i> is mapped to <Plug>Tex_InsertItemOnThisLine even when there is some other key sequence which is mapped to <Plug>Tex_InsertItemOnThisLine. Why: hasmapto() uses "nvo" as the default. Therefore, checking for the existence of an insert mode mapping without supplying the mode argument is faulty. Fix: Supply "i" as the mode argument. Srinath Avadhanula 2004-03-14 06:25:44 +00:00
  • dca49edb1a placeholder brackets.vim file Srinath Avadhanula 2004-03-11 06:41:05 +00:00
  • 98d6029893 placeholder texviewer.vim file Srinath Avadhanula 2004-03-11 06:38:18 +00:00
  • 310f0215fa Fix: removing outdated comments. Srinath Avadhanula 2004-03-04 06:15:25 +00:00
  • 036597dd6d Bug: Viewing .dvi files with spaces in names doesn't work. (Panagiotis Louridas) Why: We don't enclose the file name in double-quotes. Fix: Enclose file-name in double-quotes. As of now, only bother with spaces in win32. Srinath Avadhanula 2004-03-03 00:32:43 +00:00
  • 63938286ba Bug: <F9> completion for \cite does not work Why: Tex_GrepForBibItems uses the mainfile name without extension. Fix: get the whole file name including extension. Srinath Avadhanula 2004-03-03 00:19:29 +00:00
  • 39556cfeb3 New: Some additions to the thebibliography environment and item descriptions and the description item. (Dave Murray-Rust) Srinath Avadhanula 2004-02-29 17:19:11 +00:00
  • c1ee594281 Bug: Opening a file via the :RemoteOpen command does not work (Xin Yin) Why: Vim eats up all but the last remote_send call when multiple invokations to this function are made (Vim bug) Fix: Collapse the entire set of keys into a single string and make a single remote_send call. Srinath Avadhanula 2004-02-29 07:26:22 +00:00
  • 3967689aec Give LaTeX dictionaries priority by adding them to the dict option with ^ not + Mikolaj Machowski 2004-02-11 10:04:06 +00:00
  • b257f949c5 Bug: when using a latex masterfile with included files (also in subdirectories), forward searches in dvi files do not work correctly because the name of the masterfile is used in the source-specials-call instead of the current file. (Volker Gaibler) Fix: Use expand('%') instead of mainfname (Volker Gaibler) Mikolaj Machowski 2004-02-01 21:54:13 +00:00
  • 12a0b0e108 Add sourcing of texviewer.vim Mikolaj Machowski 2004-01-26 12:58:15 +00:00
  • c0fe2e5fe0 Move texviewer.vim into latex-suite directory. It will end cleaning of tex dir Mikolaj Machowski 2004-01-26 12:56:49 +00:00
  • ee092de07a Misnamed package file, remove moreverbatim Mikolaj Machowski 2004-01-25 21:50:32 +00:00
  • 583202b229 Sourcing and configuration of brackets.vim and smartspace.vim Mikolaj Machowski 2004-01-25 21:49:00 +00:00
  • 10298b260c Move smartspace.vim and brackets.vim to ftplugin/latex-suite. I will make easier to switch them off through texrc and to disable <M-> mappings which conflicts with some European encodings Mikolaj Machowski 2004-01-25 21:48:17 +00:00
  • b6ddfc0c72 *** empty log message *** Srinath Avadhanula 2003-12-23 21:30:54 +00:00
  • f1cdf65a33 Bug: EEA inserted something different than "eqnarray<F5>". Why: Tex_EnvMacros() used its own logic for forming the environment string. Fix: make Tex_EnvMacros() call Tex_PutEnvironment() instead. Srinath Avadhanula 2003-12-23 21:26:50 +00:00
  • 9a4aecca8c Bug: When some text is visually selected, then <F7> surrounds the selection in an environment created from the last word of the selection instead of prompting for an environment. Why: Tex_DoCommand ignores the value of s:isvisual. Fix: Make Tex_DoCommand honor s:isvisual. Srinath Avadhanula 2003-12-23 21:08:42 +00:00
  • e6ca72bad7 Bug: When the user's 'fo' setting had 'ro' included in it, then inserting templates would result in strange leading indentation (it would be doubled etc). Why: IMAP_PutTextWithMovement simulates key-presses. Therefore if 2 successive lines in the template begin with `% and 'fo' has ro, then the second line will have an extra % character. Fix: Set 'fo'` temporarily to an empty string. Srinath Avadhanula 2003-12-19 03:06:26 +00:00
  • 27b76e8385 Bug: A very restrictive RE sometimes did not match the bib-key which was being completed. Srinath Avadhanula 2003-12-17 06:24:19 +00:00
  • 4414e335b6 Bug: loading templates no longer works. Why: Apparently if one is editing a file, say file.tex which is modified, then one cannot do ":split file.tex" Fix: Only split a window if the main file name is not the current file. TODO: What happens if the main file is being opened in a seperate window and is modified? Srinath Avadhanula 2003-12-17 03:12:31 +00:00
  • 9d3b3d23eb Bug: \cite completion did not work. The prefix was not honored and therefore all the matches would be shown and moreover the text would not be inserted properly. Cause: We had used the pattern:: let s:prefix = matchstr(s:prefix, '\([^,]\+,\)\+\zs\([^,]\+\)\ze$') to modify the prefix. However, this only succeeds when there are more than 1 items in the \cite. i.e, \cite{key1,pre. s:prefix becomes empty if we do try to complete just \cite{pre Fix: Change the prefix to:: let s:prefix = matchstr(s:prefix, '\([^,]\+,\)*\zs\([^,]\+\)\ze$') Srinath Avadhanula 2003-12-16 23:41:10 +00:00
  • 6465921b3a Bug: IEEEtran.tex template inserted needless indentation. There was also an extra `\begin{document}` and some mismatched curly braces. Srinath Avadhanula 2003-12-16 21:27:20 +00:00
  • 3e5a197479 Bug: When g:Imap_PlaceHolderStart and/or g:Imap_PlaceHolderEnd settings were not ascii and encoding=utf8, then reading in a template did not work as advertised (placeholders are shown as <ab><bb> etc) Why: templates.vim still used simple pattern substitution to replace the placeholder characters, which does not work in the above setting. Fix: Use IMAP_PutTextWithMovement which handles the above situation. Srinath Avadhanula 2003-12-16 20:29:25 +00:00
  • b8fd354ded Recently, I had to fix a bug in packages.vim which made vim quit as soon as it was open. Since I couldn't use the Tex_PrintDebug() function, I made a little change which created a log file in the /tmp directory. This might be a useful thing to have in the future, but ofcourse, it should definitely be off by default. Srinath Avadhanula 2003-12-16 19:43:22 +00:00
  • 71f7adefd7 *** empty log message *** Srinath Avadhanula 2003-12-16 04:40:38 +00:00
  • 24167cf43c Replacing sum() with a reduce() to make things compatible with python 2.2 (which didn't have a global sum or a sum in the math module!) Srinath Avadhanula 2003-12-16 04:21:21 +00:00
  • b2fa1e95f9 adding quick-start tutorial files Srinath Avadhanula 2003-12-16 04:04:45 +00:00
  • 3023399012 Yet more changes in the effort to make latex-suite support file names with spaces. A new function `Tex_EscapeSpaces` which escapes spaces *only if necessary*. This function should henceforth be used whenever we want to split a new file, save a file etc etc. Example:: Srinath Avadhanula 2003-12-15 03:33:52 +00:00
  • f6a145284f modifications to account for the changes in Tex_EscapeForGrep(). Srinath Avadhanula 2003-12-15 00:55:26 +00:00
  • 830b562caa Change: Initially, Tex_EscapeForGrep would always double backslashes at least once to account for the fact that the user means the external grep command to see the string `\\label when he passes \label to this function. But making such guesses is bad for cases when we want to pass a single \ to the external grep command (for instance when we want to pass \<word\>` to the external grep command). Therefore, stop this function from making any guesses about what the user might have wanted the external command to see. This function now expects the user to pass the exact string which he wants the external grep command to see. Srinath Avadhanula 2003-12-15 00:53:27 +00:00
  • c26f6616aa Change: Making Tex_EscapeForGrep more cross-platform. Use this henceforth whenever a :grep command needs to be issued. Srinath Avadhanula 2003-12-14 23:31:10 +00:00
  • ab0a9336cd *** empty log message *** Srinath Avadhanula 2003-12-14 22:08:48 +00:00
  • 7a0b99aed8 *** empty log message *** Srinath Avadhanula 2003-12-14 07:25:04 +00:00
  • ea36a2f348 Changes to account for the changes in Tex_GetMainFileName() Srinath Avadhanula 2003-12-14 07:23:55 +00:00
  • 42e53edfe3 A few small updates to account for the change in Tex_GetMainFileName() Srinath Avadhanula 2003-12-14 07:22:16 +00:00
  • 017e11e928 New: The fold text is now also "indented". in other words, the fold text is now prepended with the whitespace of the current line so that nested-ness is more apparent. Srinath Avadhanula 2003-12-14 07:20:26 +00:00
  • 52075691b1 *** empty log message *** Srinath Avadhanula 2003-12-14 07:17:58 +00:00
  • 77a995a340 Attempting to fix the filenames with spaces problem. Also since Tex_GetMainFileName() _always_ returns a file name now, (even if a .latexmain file does not exist), lots of redundant logic is now removed. Srinath Avadhanula 2003-12-14 07:17:16 +00:00
  • cd61de86a9 A serious attempt at fixing the file names with spaces problems across various platforms. Srinath Avadhanula 2003-12-14 07:13:44 +00:00
  • d5c9656cf6 typo in latexhelp.txt caused some broken links (Alex Jakushev) Srinath Avadhanula 2003-12-14 07:05:15 +00:00
  • df36fe7477 Bug: Tex_FoldedSections no longer contains slide (Zhang Linbo) Srinath Avadhanula 2003-12-06 02:45:57 +00:00
  • c0b78d43f9 Fix: Patch to restrict runaway folding with commands... (Zhang Linbo) Srinath Avadhanula 2003-12-04 00:10:18 +00:00
  • 8911aa61ca Meta-bug! A bug in the debugging function. Srinath Avadhanula 2003-12-04 00:06:06 +00:00
  • 6e225dfb5f *** empty log message *** Srinath Avadhanula 2003-12-02 12:00:22 +00:00
  • 3521187d57 *** empty log message *** Srinath Avadhanula 2003-12-02 11:42:41 +00:00
  • 818a82f3d3 Bug: Yet another place where string concatentation was not using dots. Srinath Avadhanula 2003-12-02 11:38:19 +00:00
  • a6244389f1 Bug: Viewing did not work on certain platforms because string concatenation wthout using a dot does not work on all platforms. (Alex Jakushev) Srinath Avadhanula 2003-12-02 11:36:14 +00:00
  • 500846f92e Change: By default do not fold any commands at all. This is because the start pattern for a command requires a regexp which will match unbalanced parentheses of arbitrary depth. Apparently it can be proved that this cannot be done with regexps. Srinath Avadhanula 2003-12-02 11:16:04 +00:00
  • 2fe081ec4d Bug: \ls does not trigger search Why: tried to create the \ls mapping for the 'ls' mode. It should ofcourse be the normal ('n') mode. (Alex Jakushev) Srinath Avadhanula 2003-12-02 11:04:17 +00:00
  • cab4e077f8 Change: remove slide from the section setting. (Zhang Lin-bo) Srinath Avadhanula 2003-12-02 10:56:20 +00:00
  • f6a8b30a4e Change: rename FoldSections to Tex_FoldSections Srinath Avadhanula 2003-12-02 10:50:54 +00:00
  • 88fe4c8790 New: Describe the various new settings for customizing the folding scheme. Srinath Avadhanula 2003-12-01 08:36:59 +00:00
  • 402400cc49 Bug: calculateColumnWidthsDoublePass treated maxwidths as a list rather than dictionary leading to a faulty check. Srinath Avadhanula 2003-12-01 06:42:43 +00:00
  • 7bbab5b892 Bug: a small bug in initializing g:Tex_FoldedCommands, and adds a few lines to setup g:Tex_FoldedMisc (Zhang Linbo) Srinath Avadhanula 2003-12-01 05:17:32 +00:00
  • a937461c9f Change: Fold \item's first. They are usually nested within environments. (Zhang Linbo) Srinath Avadhanula 2003-11-30 12:05:19 +00:00
  • 20284be379 Change: Remove the comment folding from the default folding scheme. Srinath Avadhanula 2003-11-30 10:36:57 +00:00
  • b18408929f The new changelog: target which utilizes cvs2cl to automatically generate the Changelog. Srinath Avadhanula 2003-11-30 10:05:35 +00:00
  • 956b65d32c The first Changelog generated automatically via cvs2cl. Simply use the changelog target in the makefile to generate it again. Srinath Avadhanula 2003-11-30 10:02:38 +00:00