forked from SublimeText/LaTeXTools
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LaTeX.sublime-commands
39 lines (38 loc) · 2.5 KB
/
LaTeX.sublime-commands
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[
{ "caption": "LaTeXTools: Check system", "command": "latextools_system_check"},
{ "caption": "LaTeXTools: Delete temporary files", "command": "delete_temp_files"},
{ "caption": "LaTeXTools: Clear cache", "command": "latextools_clear_cache"},
{ "caption": "LaTeXTools: Clear document cache", "command": "clear_local_latex_cache"},
{ "caption": "LaTeXTools: Clear current bibliography cache", "command": "clear_bibliography_cache"},
{ "caption": "LaTeXTools: Fill All Helper", "command": "latex_fill_all"},
{ "caption": "LaTeXTools: View PDF", "command": "view_pdf"},
{ "caption": "LaTeXTools: Jump to PDF", "command": "jump_to_pdf"},
{ "caption": "LaTeXTools: Reveal Aux Directory", "command": "latextools_reveal_aux_directory"},
{ "caption": "LaTeXTools: Reveal Output Directory", "command": "latextools_reveal_output_directory"},
{ "caption": "LaTeXTools: Reveal TeX Root Directory", "command": "latextools_reveal_tex_root_directory"},
{ "caption": "LaTeXTools: Show word count", "command": "texcount"},
{ "caption": "LaTeXTools: Show toggles", "command": "toggle_show"},
{ "caption": "LaTeXTools: Search for commands in document", "command": "latex_search_command_input"},
{ "caption": "LaTeXTools: Reset user settings to default", "command": "latextools_migrate"},
{ "caption": "LaTeXTools: Create mousemap in user folder", "command": "latextools_create_mousemap"},
{ "caption": "LaTeXTools: Open Detexify", "command": "latextools_open_detexify"},
{ "caption": "LaTeXTools: View TeX package documentation", "command": "latex_pkg_doc"},
{ "caption": "LaTeXTools: Build cache of LaTeX packages", "command": "latex_gen_pkg_cache"},
{ "caption": "LaTeXTools: Update document analysis cache", "command": "latextools_analysis_update"},
{ "caption": "LaTeXTools: Update bibliography cache", "command": "latextools_bib_update"},
{ "caption": "LaTeXTools: Paste Image from Clipboard", "command": "latextools_smart_paste"},
// Ability to insert project already existent images command by a quick panel
// https://github.com/SublimeText/LaTeXTools/issues/1156
//
// This command requires the packages LaTeXTools and Chain of Command.
{
"caption": "LaTeXTools: Insert Image",
"command": "chain",
"args": {
"commands": [
["insert_snippet", {"contents": "\\begin{figure}[H]\n\\centering\n\\includegraphics[width=1.0\\textwidth]{$TM_SELECTED_TEXT$1}\n\\caption{$1}\n\\label{fig:$1}\n\\end{figure}"}],
["latex_fill_all", {"completion_type": "input", "force": true, "single_selection" : 1} ]
]
},
},
]