1021 Commits

Author SHA1 Message Date
Tilman Blumenbach 08821de4f1 Package "polski": Use let instead of TexLet for setting smart quotes.
TexLet doesn't seem to work, probably because the variable already
exists.
2025-01-11 13:41:25 +01:00
Tilman Blumenbach 96e8fc6a2b Package detection: Fix setting of smart quotes.
There was a typo. Also, make the variables buffer-local, just like for
other packages.
2025-01-11 13:41:25 +01:00
Stefan Ecklebe f2a149f396 Fix syntax warning for python 3.12 and newer
As the backslash in the file path is interpreted as an invalid escape
sequence, one could mark the docstring as raw string or rather just
remove the line altogehter, what was done here.

This resolves issue #225.
2024-11-27 22:37:30 +01:00
Quickmarble f108868ae9 Docstring -> raw docstring
The docstring for Bibliography.__init__ has unescaped backslashes.
2024-05-13 07:42:46 +02:00
Gerd Wachsmuth 5987380b4f Escape filename and use system()
Fix vim-latex/vim-latex#221
2023-02-14 12:56:13 +01:00
thedoctar 069a26a096 Add nestable environments
If you have something like
\begin{align}
maths
\begin{aligned}
more maths
\end{aligned}
yet more maths
\end{align}

the folding will be wrong as there is nested align* environments. Same thing for gathered.
2022-05-19 20:02:49 +02:00
Albin Ahlbäck dc44e6a8a2 Make cite-completion accept dashes 2022-03-09 16:48:38 +01:00
Gerd Wachsmuth 0760891c71 Let g:tex_items respect word boundaries 2021-08-18 09:30:26 +02:00
Gerd Wachsmuth 8a5e77add6 Use normal! instead of normal 2021-08-11 22:01:46 +02:00
Gerd Wachsmuth bea577d88a Use zv instead of :foldopen 2021-08-11 21:58:57 +02:00
Gerd Wachsmuth e97a371af8 Fix problems with multiple envs on single line 2021-08-09 23:13:37 +02:00
Gerd Wachsmuth 3669e9bc3e Fix bug when changing environments
During <S-F5>, if the cursor is behind the '\end{' , but before the '}'
of the environment, a wrong environment was changed.
2021-07-20 22:16:31 +02:00
Gerd Wachsmuth 84c9868346 More robust folding of preamble
Fix vim-latex/vim-latex#182
2021-05-13 11:14:20 +02:00
Gerd Wachsmuth f9c694dc01 Try to decode bibfile with latin1 if utf-8 fails 2021-05-02 20:50:03 +02:00
master ninja c04c32f467 Bugfixes for custommacros.vim 2021-03-23 08:42:54 +01:00
Alexander Zhang 686c7ccaba Add quotes to file names in compile rules 2020-12-05 21:42:31 +01:00
Gerd Wachsmuth 935a0fae8d Add comment concerning command folding
Fix vim-latex/vim-latex#189
2020-11-23 20:55:26 +01:00
Gerd Wachsmuth d6fae26fe1 Initialize foundCiteFile
Fix vim-latex/vim-latex#186
2020-11-23 20:34:41 +01:00
Gerd Wachsmuth dc3c937bdb Remove '<<<' as fold-section-end-marker
Fix vim-latex/vim-latex#188
2020-11-23 20:29:26 +01:00
Gerd Wachsmuth d97bbf3334 Escape some spaces
Fix vim-latex/vim-latex#181
2020-06-30 22:48:48 +02:00
Gerd Wachsmuth 46de6e2787 Look for bib-files in included files 2020-02-12 09:16:12 +01:00
Gerd Wachsmuth e0720f0148 Modelines are evil.
Fixes vim-latex/vim-latex#167
2020-02-03 14:30:11 +01:00
Gerd Wachsmuth 00f344033d Catch some exceptions 2019-09-17 11:29:20 +02:00
rdmol 007aaa7304 Fixed s:viewer undefined bug for macosx
This commit implements a solution to the bug reported in issue #159.
2019-06-05 09:12:19 +02:00
Gerd Wachsmuth bcf8aba7a5 Infect bib-files with IMAPs
Fix vim-latex/vim-latex#154
2019-02-04 10:48:28 +01:00
Gerd Wachsmuth 6d61aa2eb1 Remove <unique> from mapping command.
Fix #151
2018-12-18 08:41:08 +01:00
Gerd Wachsmuth ae0ecabcf9 Use 1 instead of v:true
Fix vim-latex/vim-latex#149
2018-11-13 09:14:40 +01:00
Huang Zonghao dcd06f8a6c Set alias to environment keyword (#148)
Aliases for environments and commands

* Fix xml for b523d67

* Add g:Tex_Env_name_aliasto macro for environment aliases

This feature enables user to set alias to the environment keywords to be
expanded, so that user could save keystrokes by setting shorter keywords

* Add g:Tex_Com_name_aliasto macro for command aliases
2018-10-03 20:15:29 +02:00
Gerd Wachsmuth c3ffaa8bc9 All python strings as raw strings
Fix vim-latex/vim-latex#143
2018-09-07 15:15:08 +02:00
Gerd Wachsmuth d384eb3510 Do not set tex options on bib files 2018-09-07 14:12:10 +02:00
Filipe Brandenburger 8c4386bb2e Fix expansion of abbreviations in the middle of a line 2018-09-07 14:08:26 +02:00
Gerd Wachsmuth dc2053cd45 Try to improve performance of ParseSectionTitle 2018-03-30 09:08:34 +02:00
Gerd Wachsmuth f58ba25225 Fix: Detect fold text for indented sections
See vim-latex/vim-latex#129
2018-03-30 08:45:10 +02:00
Christian Ebert 5d5e27756e Fix logic to re-open folds if Tex_AutoFolding is disabled (#130)
As per comment MakeTexFolds was not called manually in this case.
2018-03-16 15:38:05 +01:00
HuangZonghao b523d676be Update the docs to reflect the changes made to expand all the Capital Greek Letters 2018-02-26 16:04:03 +01:00
HuangZonghao ec10d539eb Expand all Capital Greek Letters as well, disregarding the availability in LaTex.
Now all the capital greeks letters can be expanded. But user need to
manually define the unsupported commands by themselves.
2018-02-26 16:04:03 +01:00
HuangZonghao 843d7ad5b6 Update the documents to refelct the changes of mapping `w to \omega
Changes in documentation have been made in observance of mapping
`w back to \omega and mapping `o to \omicron
2018-02-26 16:04:03 +01:00
HuangZonghao ab12f1e901 Map "w" to "\omega" and "o" to "\omicron"
* The setting in the main.vim that mapped "`w " to "\wedge" is deleted
  since we already have "`&" mapped for that. Having two keys mapping
  to the same thing while `\omega` has no key-mapping is a waste and
  also very likely to be an accidental mistake.

* Also added a new mapping that would expand "`o" to "\omicron". While the
  letters may seem similar in use but this change helps to make the
  behavior of the plugin consistant with the description on the manual.
  Besides "`o" has no mapping before.
2018-02-26 16:04:03 +01:00
Gerd Wachsmuth 08571c2678 Set makeprg if Makefile is present
Fix vim-latex/vim-latex#125
2018-02-19 12:31:32 +01:00
Gerd Wachsmuth 732263e106 Fix bug with s:viewer being empty
Fix vim-latex/vim-latex#122
2018-01-31 09:00:00 +01:00
Gerd Wachsmuth 7395a051a3 Clarify documentation of \cite completion
Fix vim-latex/vim-latex#120
2018-01-16 22:36:23 +01:00
Till Maas 0074749585 Prepare for next release 2018-01-12 19:53:43 +01:00
Till Maas 279c560077 Bump version to 1.10.0 v1.10.0 2018-01-12 18:37:33 +01:00
Ricardo Fabbri 042f2476a6 ignoring wildignore when looking for .latexmain
Without this, if the user put .latexmain in the wildignore, then
viewing will not work from a file other than main
2018-01-11 19:22:05 +01:00
Gerd Wachsmuth e6972ac989 Fix documentation of two options.
Fix vim-latex/vim-latex#97
2017-12-09 20:17:00 +01:00
Gerd Wachsmuth df743aaf16 Update quickstart guide 2017-12-08 23:17:25 +01:00
Gerd Wachsmuth f6e9340af3 Improve documentation 2017-12-08 23:00:21 +01:00
Gerd Wachsmuth 09536a1c42 Fix bug (comp. of \includegraphics) 2017-12-08 23:00:06 +01:00
Gerd Wachsmuth ef64a0ad81 grepprg is not used anymore
We use :vimgrep and not :grep.
2017-12-08 20:42:25 +01:00
Gerd Wachsmuth e26ae60703 Small fixes in texviewer.vim 2017-12-08 20:39:11 +01:00