add vim conf files
[arrow.git] / conf_slk120 / vim / _vim / ftplugin / latex-suite / ChangeLog
blob07bfed47fda833eada0dfcf73981f659a3ff4193
1 After 6 Jun 2003
3 10 Aug 2003
4     Changes
5     * texrc, compiler.vim:
6         Make g:Tex_IgnoredWarnings use "\n" as the pattern seperator instead
7         of the inverted exclamation mark to avoid i18n issues. (Pan Shizhu,
8         SA)
9     * main.vim:
10         Use :runtime instead of :source in order to avoid problems when
11         latex-suite is installed in places other than ~/vimfiles or ~/.vim.
12         (Chris Greenwood, SA)
14     Bugfixes
15     * texproject.vim, main.vim:
16         Escape ' ' in a couple of places when defining filenames and dirnames
17         in order to avoid problems while issuing :cd etc. (Diego Carafini)
18     * texmenuconf.vim:
19         A couple of bug-fixes in the main latex-suite menu (SA)
20     * latex-suite.txt:
21         Fixed documentation about folding (SA)
23 17 Jul 2003
24     Features
25     * packages.vim:
26         Add custom completion to TPackage command.
27         It works only for Vim 6.2 or later. (MM)
29     Changes
30     * main.vim:
31         make Tex_GetMainFile() recursively search upwards for a *.latexmain
32         file. (SA)
33     * texmenuconf.vim:
34         Peter Heslin (maintaining the cream port of latex-suite says that the
35         Windows menu from cream appears in the middle of the latex-suite
36         menus). A new variable g:Tex_MainMenuLocation is used to find the
37         location of the latex-suite menus. (SA)
38     * packages/polski:
39         Update to cover version 1.3 of package. (MM)
41     Bugfixes
42     * main.vim:
43         Bug: If g:Tex_SmartQuoteOpen/Close contain the '~' character (french quotes
44              are "«~" and "~»", then we get an error in quotations (Mathieu
45              CLABAUT).
46         Solution: escape ~ in the search() function (Mathieu CLABAUT).
47     * compiler.vim:
48         Bug: Sometimes moving up and down in the error list window causes a regexp
49              error.
50         Solution: properly escape backslashes in the regexp. (SA)
52 28 Jun 2003
53     Features
54     * latex-suite.txt:
55         vastly improved the latex-suite documentation. Now all documentation
56         is first written in docbook xml and then converted into html and
57         vim-help using saxon and db2vim respectively.
58     * bib_latexSuite.vim:
59         A new ftplugin file to trigger the bibtex mappings. (SA)
61     Changes
62     * compiler.vim:
63         change the behavior of the part compilation and viewing as documented.
64         Remove the "part view" feature because it does not make sense. (SA)
65     * packages.vim:
66         change the behavior of finding custom packages. Use vim's native :find
67         command instead of some complicated parsing of $TEXINPUTS. Introduce a
68         new g:Tex_TEXINPUTS variable which should be set in the same format as
69         vim's 'path' setting. (SA)
70     * texviewer.vim:
71         Change the way <F9> works for \cite completion. Change the way
72         g:Tex_BIBINPUTS variable has to be set. The new \cite completion
73         method is described in detail in the manual.
74     * envmacros.vim:
75         changed ETR to insert a more complete template using Tex_SpecialMacros
76         (Mathieu CLABAUT)
78     Bugfixes
79     * packages.vim:
80         Bug: When a \usepackage{} line is inside a fold, then we go into an
81              infinite loop. (Lin-bo Zhang)
82         Solution: A temporary hack of first opening up all folds before scanning
83                   and then closing them. This needs to be robustified in the future
84                   using mkview.vim (SA)
85     * envmacros.vim:
86         Bug: <F5> did not work for inserting environments which latex-suite
87              does not recognize. (bug introduced in version 1.32)
88         Solution: make <F5> insert at least a minimal environment template if
89                   all other methods fail. (SA)
90     * texviewer.vim:
91         Bug: Pressing <F9> at the end of a line like
92              This is a \ref{eqn:something} and this is a comp
93              would cause errors.
94         Why: The substitute() command returns the original string if the pattern
95              does not match causing us to wrongly infer a match.
96         Fix: Therefore first check if there is a match.
98         Bug: Once we complete an equation, we can never complete a word.
99         Why: s:type is never unlet
100         Fix: unlet! s:type if there is no match on current line to any known
101              command.
103         Bug: Pressing <CR> during word completion does not take us to the location
104              of the match, as claimed.
105         Why: <CR> does "cc <num> | pclose! | cclose!". Because the preview window
106              with the match is open, therefore cc will take us to the match in
107              the preview window, after which pclose closes it up!
108         Fix: Do 'pclose! cc <num> | cclose' instead...
109     * compiler.vim:
110         Bug: If we used :TTarget ps, then the compiler would be called as:
111                 dvips -o file.tex.ps file.tex.dvi
112              instead of
113                 dvips -o file.ps file.dvi
114         Why: In a recent change, we made RunLaTeX() use filenames with extension.
115              However, some compilation rules might require filenames w/o extensions
116              (such as Tex_CompileRule_ps which is 'dvips -o $*.ps $*.dvi')
117         Fix: Try to guess if the &makeprg requires files w/o extensions by seeing
118              if it matches '\$\*\.\w\+'. If so, use file-name w/o extension.
119              Otherwise, retain extension in 'make '.fname
120     * imaps.vim:
121         Bug: IMAP_Jumpfunc() and VEnclose() do not work with &selection =
122              'exclusive' (Jannie Hofmeyr, Pierre Antoine Champin)
123         Fix: Select one more character in 'exclusive' mode. (suggested by Pierre
124              Antoine Champin).
125     * texviewer.vim:
126         Bug: On windows gvim +cygwin, \cite completion does not work when the bib
127              file is in a completeley different location.
128         Cause: gvim calls grep as "grep -nH @.*{ /path/to/file"
129                which does not work because grep thinks / corresponds to something
130                like c:/cygwin, so it looks for the file in the wrong place.
131         Fix: Always lcd to the current directory of the bib file being searched.
132              This avoids any path issues.
134 13 Jun 2003
135     Features
136     * remoteOpen.vim:
137         Add a command :RemoteOpen which is to be used in applications such as
138         YAP to make vim use the same session to open files. (SA)
140     Bugfixes
141     * texviewer.vim:
142         Problem: <F9> did not work in standard vim + cygwin combination.
143         Solution: Use single quotes instead of double-quotes when issuing
144                   shell commands. (SA)
145     * texviewer.vim:
146         Problem: <F9> did not work for \includegraphics[0.8\columnwidth]{}
147                  because it would confuse \columnwidth for a command instead
148                  of an option.
149         Solution: improve regexp for extracting command from a line. (SA)
150     * envmacros.vim:
151         Problem: the maps in envmacros.vim got applied only to the first file
152                  which latex-suite sees.
153         Solution: fix a typo in the autocommand line. (SA)
154     * compiler.vim,wizardfuncs.vim:
155         Problem: the log preview window did not appear during part
156                  compilation.
157         Solution: rearranged code in the files so the main filename was
158                   defined even for part compilation. (SA)
159     * texviewer.vim:
160         Problem: <F9> only works for the first file.
161         Solution: call the function to set the maps every time. (SA)
162     * compiler.vim:
163         Problem: sometimes, <F9> would try to search for completions in /*.tex
164                  and would therefore fail.
165         Solution: use expand('%:p:h') instead of expand('%;h') to calculate
166                   directory because the latter can sometimes evaluate to ''. (SA)
167     * texviewer.vim:
168         Problem: 'scrolloff' remains at 1000 even after <F9> returns (Jakub
169                  Turski)
170         Solution: reset 'scrolloff' before quitting any of the windows created
171                   during searching.
172     * packages.vim:
173         Problem: A spurious '{' is sometimes inserted into the search history.
174                  ... (A. S. Budden, Mpiktas)
175         Solution: call histdel once at the end of Tex_pack_all.
178 After 8 May 2003
180     Features
181     * texviewer.vim:
182         Look for bibfiles in $BIBINPUTS env variable (Soren Debois)
183     * envmacros.vim:
184         Check in package variables for templates for environments inserted
185         from line with <F5> (MM)
186     * packages/amsmath:
187         Templates for alignat and alignat* envs in amsmath package file (MM)
188     * compiler.vim:
189         Added support for regular viewing and forward searching for kdvi (KDE
190         viewer of .dvi files) (MM)
191     * compiler.vim:
192         Show default target enclosed in [] after calling :TTarget, :TCTarget
193         or :TVTarget. Allow no argument for :TTarget.
194     * mathmacros.vim, main.vim, texrc, latex-suite.txt:
195         Added utf-8 menus for math (MM)
196     * ChangeLog:
197         Add ChangeLog file in ftplugin/latex-suite directory (MM)
198     * wizardfuncs.vim, latex-suite.txt:
199         Tshortcuts - new command show various shortcuts (MM, SA)
200     * latex-suite.txt:
201         More cross-references with main Vim help, corrected mispells (MM)
202     * texmenuconf.vim:
203         Show value of <mapleader> in General menu instead of hardcoded \ (it
204         caused confusion) (MM, SA)
205     * texmenuconf.vim, mathmacros.vim:
206         Add accels for for Suite, Elements end Environments menus.
207         Changed accel in Math (Animesh Nerurkar)
209     Bugfixes
210     * compiler.vim:
211         Problem: Compile file with current file expansion, not always .tex
212             file (Animesh N Nerurkar)
213         Solution: When looking for file to compile don't remove extension (if
214             *.latexmain doesn't exist) (MM)
215     * texviewer.vim:
216         Problem: :TLook doesn't work (Animesh N Nerurkar)
217         Solution: Check if s:type exists in UpdateViewerWindow (MM)
218     * compiler.vim:
219         Problem: Text is messed after calling external command in terminal
220             version of Vim (Jess Thrysoee)
221         Solution: Add redraw! after calling compilers and viewers (partial
222             implementation of JT patch, MM)
223     * texrc:
224         Problem: Compiling pdf didn't succed because of double file extension,
225             eg. myfile.tex.tex (Animesh N Nerurkar)
226         Solution: Remove hardcoded .tex in CompilerRule_pdf. NOTE: Update of
227             personal texrc is required! (Animesh N Nerurkar)
229 vim: et:sts=4:tw=78