From 13ca48a681961367f4d444c553e762d67315e93a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Migda=C5=82?= Date: Wed, 28 May 2014 16:49:45 +0200 Subject: [PATCH 1/2] comment/example for builder_setting/command --- LaTeXTools.default-settings | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/LaTeXTools.default-settings b/LaTeXTools.default-settings index 8c7f2ebc..660485ee 100644 --- a/LaTeXTools.default-settings +++ b/LaTeXTools.default-settings @@ -120,7 +120,11 @@ // See README or third-party documentation // (built-ins): true shows the log of each command in the output panel - "display_log" : false, + "display_log" : false, + + // Command: + // Below, standard command for the "traditional" builder + // "command": ["latexmk", "-cd", "-e", "$pdflatex = '%E -interaction=nonstopmode -synctex=1 %S %O'", "-f", "-pdf"], // Platform-specific settings: "osx" : { @@ -174,4 +178,4 @@ // Similarly, the formatting for the autocomplete panel: "cite_autocomplete_format": "{keyword}: {title}" -} \ No newline at end of file +} From 6a243b4a565f88cb6d60d3a3561c4872a8c3d097 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Migda=C5=82?= Date: Wed, 28 May 2014 17:02:00 +0200 Subject: [PATCH 2/2] builder_settings typo --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 78de4e82..6f5019aa 100755 --- a/README.markdown +++ b/README.markdown @@ -321,7 +321,7 @@ The following options are currently available (defaults in parentheses): NOTE: for the time being, you will need to refer to the `LaTeX.sublime-settings` file for detailed explanations. Also, since the new build system is meant to be fully customizable, if you use a third-party builder (which hopefully will become available!), you need to refer to its documentation. - `builder`: the builder you want to use. Leave blank (`""`) or set to `"default"` or `"traditional"` for the traditional (`latexmk`/`texify`) behavior. - `builder_path`: builders can reside anywhere Sublime Text can access. Specify a path *relative to the Sublime text Packages directory*. In particular, `User` is a good choice. If you use a third-party builder, specify the builder-provided directory. -- `builder-settings`: these are builder-specific settings. For the `default`/`traditional` builder, the following settings are useful: +- `builder_settings`: these are builder-specific settings. For the `default`/`traditional` builder, the following settings are useful: * `program`: one of `pdflatex` (the default), `xelatex` or `lualatex`. This selects the TeX engine. * `command`: the precise `latexmk` or `texify` command to be invoked. This is specified exactly as in the `cmd` entry of the old `LaTeX.sublime-build` file (which is no longer honored): it must be a list of strings. The defaults (hardcoded, not shown in the settings file) are `["latexmk", "-cd", "-e", "$pdflatex = '%E -interaction=nonstopmode -synctex=1 %S %O'", "-f", "-pdf"]` for TeXLive, and `["texify", "-b", "-p", "--tex-option=\"--synctex=1\""]` for MiKTeX. * In addition, there can be platform-specific settings. An important one for Windows is `distro`, which must be set to either `miktex` or `texlive`.