Skip to content

LaTeX Bundle (1.7.0)

Latest
Compare
Choose a tag to compare
@sanssecours sanssecours released this 01 Aug 06:45
· 127 commits to master since this release
65c99a3

Changes

Commands

🐛✨ Clean

  • Fixed: The command “Clean” will not remove files in hidden directories such as .git anymore. Before this change the command could possibly also remove important files, such as index files (.idx) in a Git repository.
  • Improved: The command will now also remove files that end with the extension vrb. Beamer produces these auxiliary files if you create a frame environment using the option fragile.
  • Improved: “Clean” now also removes files with the extension .mw. The minted package creates these files if you use the option escapeinside.

🐛 Completion Commands

  • Fixed: Completion commands such as “Label Based on Current Word…” could not properly locate files deep within the TeX folder structure. This meant that the bundle would properly locate a TeX file such as ~/Library/texmf/tex/macro.tex, but would fail if the file was located in the directory ~/Library/texmf/tex/latex.

  • Fixed: We now ignore bibliography items without keys. Before this change the command “Citation Based on Current Word” would fail, if a bibliography file contained a citation without a key such as

      @misc {   , title = "Missing Cite Key!" }

    . This was problematic, since some tools such as JabRef allow users to save such bibliography entries.

✨ Double Quotes

  • Improved: The command “Wrap Selection in” → “Double Quotes” now places the caret inside the double quotes (``'') if there is no selection.

🐛 Help

  • Fixed: Opening the Help document would not work, if the LateX bundle was stored on a case-sensitive file system.

🐛 Reformat Table

  • Fixed: “Tables” → “Reformat” now formats tables that contain numbers inside bracket characters correctly.

    For example: The command would transform the table code

    \begin{tabular}{ll}
              1 & [2]\\
    3 &     4\\
    \end{tabular}

    into the following code

    \begin{tabular}{ll}
    1
    3 & 4\\
    \end{tabular}

    . After the change the command now formats the table correctly:

    \begin{tabular}{ll}
    1 & [2]\\
    3 &   4\\
    \end{tabular}

    .

✨ Tidy

  • Improved: The command now adds two blank lines before each \section, and one blank line before each \subsection.
  • Improved “Tidy” now restores \labels adjacent to \begin, \end, \section and suchlike. This way appropriate \labels remain visible when code is folded.

🐛Typeset & View (PDF)

  • Fixed: “Typeset & View (PDF)” would translate a file using PDFLaTeX, if the document included the package pstricks. This was even the case, if we specified a different default engine in “LaTeX” → “Preferences”. Since nowadays the package pstricks should also work in other engines, such as XeLaTeX, we remove this automatic engine switch.

🐛Watch Document

  • Fixed: “Watch Document” now also removes the bundle cache file again (.filename.lb), after we close the preview program.

✨Grammar

  • Improved: The bundle now correctly recognizes textcite and Textcite as citation commands.

Requirements

Minimum OS: macOS 10.7

Tested With:

  • TextMate 2.0 (rc.4)
  • macOS 10.12.6