New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confused by naming & shortcuts of build commands #51

Closed
Gabriel-p opened this Issue Aug 11, 2014 · 6 comments

Comments

Projects
None yet
3 participants
@Gabriel-p

Gabriel-p commented Aug 11, 2014

I'm a bit confused by the naming used for the different types of builds and the shortcuts associated with them.

  1. If I hit ctrl+b, what build sequence will be executed? The option Tools/Build System is set on LaTeX but I'm not sure which specific commands are involved here.

  2. The Default (Linux).sublime.keymap file says:

    {
        "keys": ["ctrl+super+b"],
        "command": "build", "args": {"variant": "Quick Build"}
    },
    {
        "keys": ["shift+ctrl+b"],
        "command": "build", "args": {"variant": "Primary Quick Build"}
    }
    

    and the LaTeXing.sublime.settings file says:

      "quick_build": [
          {
              "name": "Default Build: latexmk",
              "primary": true,
              "cmds": ["pdflatex"]
          },
          {
              "name": "Quick Build 1: pdflatex + bibtex + pdflatex (2x)",
              "cmds": ["pdflatex", "bibtex", "pdflatex", "pdflatex"]
          },
          {
              "name": "Quick Build 2: pdflatex + biber + pdflatex (2x)",
              "cmds": ["pdflatex", "biber", "pdflatex", "pdflatex"]
          }
      ]
    

    so:

    1. does this mean the ctrl+super+b shortcut will issue the command stored in Default Build: latexmk (ie: pdflatex)?
    2. does this mean the shift+ctrl+b shortcut will issue the command stored in Quick Build 1: pdflatex + bibtex + pdflatex (2x)?
  3. Why does Default Build: latexmk show "cmds": "pdflatex" and not "cmds": "latexmk"?

  4. How can I add a custom shortcut to for example Quick Build 2 or re-assign a given shortcut to it?

@csch0

This comment has been minimized.

Show comment
Hide comment
@csch0

csch0 Aug 11, 2014

Contributor
  1. ctrl+b will use latexmk like usual
  2. ctrl+super+b ctrl+alt+b will open that dialog to choose the quick build, ctrl+shift+b the primary version
  3. latexmk will be called with ctrl+b, pdflatex is enough if you just changed some text, so the build will be faster. In case you change some references just call the normal ctrl+b and in the other cases just the "faster" simple pdflatex. Is this clear?
  4. There is no option for that right now, so you have to do ctrl+super+b and select Quick Build 2.
Contributor

csch0 commented Aug 11, 2014

  1. ctrl+b will use latexmk like usual
  2. ctrl+super+b ctrl+alt+b will open that dialog to choose the quick build, ctrl+shift+b the primary version
  3. latexmk will be called with ctrl+b, pdflatex is enough if you just changed some text, so the build will be faster. In case you change some references just call the normal ctrl+b and in the other cases just the "faster" simple pdflatex. Is this clear?
  4. There is no option for that right now, so you have to do ctrl+super+b and select Quick Build 2.
@Gabriel-p

This comment has been minimized.

Show comment
Hide comment
@Gabriel-p

Gabriel-p Aug 11, 2014

But ctrl+super+b does not open any dialog, ctrl+alt+b does.

Gabriel-p commented Aug 11, 2014

But ctrl+super+b does not open any dialog, ctrl+alt+b does.

@csch0

This comment has been minimized.

Show comment
Hide comment
@csch0

csch0 Aug 11, 2014

Contributor

ok then I need to check that, but the other is like I described.

Contributor

csch0 commented Aug 11, 2014

ok then I need to check that, but the other is like I described.

@chaoxu

This comment has been minimized.

Show comment
Hide comment
@chaoxu

chaoxu Aug 16, 2014

Still, shouldn't this

      {
          "name": "Default Build: latexmk",
          "primary": true,
          "cmds": ["pdflatex"]
      },

be something like

      {
          "name": "Primary Quick Build: pdflatex",
          "primary": true,
          "cmds": ["pdflatex"]
      },

chaoxu commented Aug 16, 2014

Still, shouldn't this

      {
          "name": "Default Build: latexmk",
          "primary": true,
          "cmds": ["pdflatex"]
      },

be something like

      {
          "name": "Primary Quick Build: pdflatex",
          "primary": true,
          "cmds": ["pdflatex"]
      },
@csch0

This comment has been minimized.

Show comment
Hide comment
@csch0

csch0 Aug 16, 2014

Contributor

You are absolutely right!!! Don't know how we could miss that. ;)

Contributor

csch0 commented Aug 16, 2014

You are absolutely right!!! Don't know how we could miss that. ;)

@csch0

This comment has been minimized.

Show comment
Hide comment
@csch0

csch0 Aug 19, 2014

Contributor

fixed in 1.2.3

Contributor

csch0 commented Aug 19, 2014

fixed in 1.2.3

@csch0 csch0 closed this Aug 19, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment