Commit Graph

171 Commits

Author SHA1 Message Date
51a6028b65 Clarify :lang latex prerequisites 2020-04-10 16:06:51 +03:00
8a115642ab Merge pull request #2812 from yoavm448/tex-fold
Add +fold flag to lang/latex for TeX-fold
2020-04-07 17:37:47 -04:00
76097f84fa Merge pull request #2838 from patrl/remove-ivy-bibtex
Remove Ivy/helm-bibtex
2020-04-07 17:30:17 -04:00
e579a64e6e lang/latex: add basic prerequisites section to readme 2020-04-07 15:00:38 -04:00
a3a4ad3258 Modify readme to remove references to ivy/helm-bibtex 2020-04-07 13:16:48 -04:00
bee1a794a2 Remove redundant variable 2020-04-07 13:16:40 -04:00
854267905b Remove ivy/helm-bibtex packages 2020-04-07 13:16:22 -04:00
218c2da67c Remove redundant abstraction 2020-04-07 13:16:13 -04:00
5e35662b9f Add +fold flag to lang/latex for TeX-fold 2020-04-07 15:48:49 +03:00
169f9a6121 General, minor refactor & reformatting 2020-03-27 01:25:30 -04:00
4082003fd2 Fix evil keybinds in reftex-mode 2020-03-11 22:53:48 -04:00
120818b07e Bump :lang latex
cdominik/cdlatex@b7af5a9 -> cdominik/cdlatex@a5cb624
TheBB/company-reftex@33935e9 -> TheBB/company-reftex@275ef70
2020-03-06 15:42:35 -05:00
2f61c79a86 Pronunciation in a comment 2020-02-10 10:14:42 +02:00
afe819e2a1 Use map! for nilling out cdlatex's keymap
I previously thought this didn't work, but it seems to now...?
2020-02-08 00:37:13 +02:00
883a326e87 Add cdlatex support in latex: +cdlatex
cdlatex has 4 main functionalities:
+ Math and environments snippets: I've disabled these in favor of
  yasnippet when using :editor snippets by just unbinding the TAB in
  cdlatex's keymap
+ Auto insertion of closing delimiters: disabled in favor of smartparens
+ Fast insertion for some macros: `a becomes \alpha. Kept as-is
+ Fast accent insertion: a'~ becomes \tilde{a}. Kept as-is

I also updated the docs, and added a section explaining how to re-enable
cdlatex's snippets despite having yasnippet.
2020-02-07 13:06:14 +02:00
450eed7268 Bump to vspinu/company-math@a796053
From vspinu/company-math@600e494
2020-02-06 15:20:39 -05:00
06c604503a Don't auto-fill in latex math/markdonw code blocks
Fixes #2453
2020-02-03 13:28:05 -05:00
a9402cfb55 Fix #2373: bring back package pinning
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
4cc14389e8 PIN ALL THE PACKAGES 2020-01-14 22:32:11 -05:00
fb13b902b0 Minor comment/doc revision & refactors 2019-11-21 14:46:45 -05:00
e105c93b17 lang/latex: fix end-of-file syntax error 2019-11-21 14:04:55 -05:00
604cde933f Refactor Skim forward-search fix 2019-11-21 00:49:37 -05:00
34bc6650b1 lang/latex: Support forward search with Skim 2019-11-20 12:09:23 +01:00
a1f6f77ca0 Remove redundant flyspell-mode hook in latex
flyspell-mode is already on text-mode-hook
2019-10-24 13:39:03 -04:00
3140ab7337 lang/latex: fix advice name conflict #1849 2019-10-23 22:28:44 -04:00
237d2d3c3a lang/latex: fix fix for fill-paragraph in latex-mode #1849 2019-10-23 14:14:33 -04:00
da765bebda lang/latex: fix rainbow-delimiters-mode 2019-10-22 23:23:53 -04:00
1e90bc8c14 lang/latex: fix typo 2019-10-22 23:23:41 -04:00
d52be9de3e lang/latex: fix loading style files #1910. 2019-10-17 12:05:43 -04:00
b0c780b7dd lang/latex: fix setting variables #1910. 2019-10-16 15:43:05 -04:00
31c95042c3 lang/latex: fix autofill in \item's #1849 2019-10-03 20:49:04 -04:00
921e36decd Merge pull request #1850 from alexandergraul/fix-latex-documentation
lang/latex: update docs wrt latex viewers
2019-10-03 12:10:43 -04:00
db2901af71 Update documentation of recognized latex viewers
The user documentation of +latex-viewers did not keep up with changes to
the variable. This commit realigns its documentation.
2019-10-03 12:56:56 +02:00
a7e288c191 Merge pull request #1825 from UndeadKernel/fix_pdf-viewers
lang/latex: +pdf-viewers ordering and hook type-o
2019-09-26 14:31:00 -04:00
7ec6a32c30 lang/latex: associate .tex with LaTeX-mode 2019-09-26 14:26:47 -04:00
5385ee4f35 lang/latex: +pdf-viewers ordering and hook type-o
Previously, the last viewer set in `+latex-viewers` would take
precedence. The list is now reversed before applying changes so that the
first set has precedence.

The wrong hook variable was used to revert view buffers after compilation.
2019-09-26 14:35:44 +02:00
1c05773c39 General, minor refactors & comment revision 2019-09-11 23:41:08 -04:00
3fae411918 lang/latex: refactor default viewer resolution
And add evince to list of auto-detected viewers.

This should fix an issue where preview-pane was used regardless of what
viewer(s) were available.
2019-08-27 00:11:52 -04:00
76cacb5bfe 💥 Rename def-package! -> use-package!
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.

Also changes def-package-hook! -> use-package-hook!

The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
fbcb4e6973 Minor refactor across the board 2019-03-04 20:47:26 -05:00
3873ab3875 lang/latex: use +latex-bibtex-file 2019-03-03 02:18:02 -05:00
85b1983c89 Merge pull request #1195 from xhcoding/develop
Add: sumatrapdf as pdf viewer on Windows
2019-02-24 21:05:29 -05:00
7c5eefee3e General, minor refactoring 2019-02-24 13:58:56 -05:00
5da216a1c5 Add: sumatrapdf as pdf viewer on Windows 2019-02-24 17:44:06 +08:00
69ed1a4a99 feature/{syntax-checker,spellcheck} -> tools/fly{check,spell} 2019-02-22 00:25:30 -05:00
9f249de569 lang/latex: remove +latex-bibtex-file
An unnecessary layer of abstraction on top of two straight-forward
variables, reftex-default-bibliography and
bibtex-completion-bibliography.
2019-01-05 17:46:37 -05:00
c3c9c01bad lang/latex: rewrite README 2019-01-05 17:45:42 -05:00
de2e41774f latex fix: enable spell checking correctly
The varible `TeX-mode-local-vars-hook` is not called correctly as AucTeX
reports that the major mode in a LaTeX file is `latex-mode`. Instead,
let's use `latex-mode-local-vars-hook` to enable flyspell.

This change enables disabling the feature of flyspell of immediately
spellchecking a document with:

`(setq-hook! 'TeX-mode-hook +spellcheck-immediately nil)`
2019-01-03 13:49:00 +01:00
3f195614d9 Normalize :leader/:localleader keybinds
Evil states no longer apply to them. Also removes x-alt-keysym.
2018-12-23 23:54:27 -05:00
d6cb0ec5f5 General cleanup & minor refactoring 2018-12-22 04:25:15 -05:00