Giter VIP home page Giter VIP logo

atom-latextools's People

Contributors

benjaminborn avatar edwinksl avatar ig0774 avatar jan-glx avatar maruta avatar msiniscalchi avatar yfwz100 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

atom-latextools's Issues

ERROR ENOENT when opening pdf with SumatraPDF on Windows

I get this error after building the PDF (correctly):

Executing SumatraPDF.exe -reuse-instance -forward-search F:\\Seafile\\Arbeit\\Papers\\TouchlessInteractionPaper\\touchlessgesturecontrol.tex 128 F:\\Seafile\\Arbeit\\Papers\\TouchlessInteractionPaper\\touchlessgesturecontrol.pdf
ERROR ENOENT

Seems to be an issue with the filepath notation with \ in Windows.
It worked for me until 0.7.7.

Debuging latex codes in Latextools is annoying. Please add separate command options for "pdflatex" and "bibtex".

I have used Latextools intensively. The "ctrl-alt-b" is working very nicely but is very hard to debug.

The current build command in Latextools "ctrl-alt-b" gives the "texify" command in MikTeX or "latexmk" in TeXlive or MacTeX. However this command (texify or latexmk) does not give good error analysis which is not clear enough to debug latex codes. I think it because `texify' combines many steps together, pdflatex + bibtex and so on.... Many times I had to go back to a command line to run pdflatex and bibtex one by one to debug the latex codes.

Could you please add choices to do "pdflatex" and "bibtex" separately so that the debug step is easier for us? This will be so wonderful.

Thanks very much in advance for any possible help.

Problems with sync on OSX

Hello, first of all thanks for the great extension. It has everything I was looking for.

However I can't get sync (forward or backwards) to work. While compiling the synctex compressed file is created but using the commands (C-l j for forward and double click on pdf-view) doesn't do anything (doesn't change page or anything).

Looked on both extensions and can't find a reason for this to happen.

Using MacTex and El Capitan, path to tex binaries specified in pdf-view (/Library/TeX/texbin)

Thanks for any insight.

Error ENOENT when opening files with SumatraPDF

Hello,
I recently upgraded to 0.8.0 and LatexTools no longer opens SumatraPDF. The compilation happens fine, so it seems the error is in opening SumatraPDF. The command is

'"C:\\Program Files\\SumatraPDF\\SumatraPDF.exe"' -reuse-instance -forward-search C:\\Users\\weber\\Dropbox\\Classes\\2016-Spring-ME-2234\\lectures\\chapter-12\\chapter-12-notes.tex 134 C:\\Users\\weber\\Dropbox\\Classes\\2016-Spring-ME-2234\\lectures\\chapter-12\\chapter-12-notes.pdf

If I copy this out to the command line, including the single quotes around the path to SumatraPDF produces an error: The filename, directory name, or volume label syntax is incorrect., while removing the single quotes opens the PDF no problem. As best I can tell, this error only started occurring with 0.8.0, so I think it might be related to the new option to use the pdf-view in Atom.
Thank you!

Citation autocompletion

Citation autocompletion does not work for me, maybe because I am not using the compilation interface of this package. When I type \cite{}, a search window (text input box) appears with no options. So far, no bug.
I hit and go on typing, and almost at every letter (depending on how fast I type), that same window steals focus again and again. Any text I type in that window is lost.
Suggested fixes:

  • workaround: implement the option to disable the autocompletion (seems not to have any effect now; no surprise, given the warning in the package description)
  • trigger the autocompletion only once (reset it when the cursor exits the \cite{} scope)
  • copy the text typed in the window into the \cite{} verbatim when it does not match anything

Enable -shell-escape within atom & atom-latextools

I am using minted and therefore require the use of the -shell-escape flag. How can I turn this on easily? It doesn't seem to work if I add -shell-escape to the "Builder Settings Options".

Is there an easy way to do this? I always add to introduce that option to the python scripts in Subl for having that to work, but I'm fairly new to Atom.

[CLOSED] Adding % !TEX option = -shell-escape to the main .tex document solved my issues.

Uncaught TypeError: Cannot read property 'getCursorBufferPosition' of undefined

[Enter steps to reproduce below:]

Just after atom was opened. I'm only reporting the issue. In those days I have no time to investigate further...

Atom Version: 1.4.0
System: "Arch Linux"
Thrown From: latextools package, v0.7.4

Stack Trace

Uncaught TypeError: Cannot read property 'getCursorBufferPosition' of undefined

At /home/nirvana1289/.atom/packages/latextools/lib/completion-manager.coffee:32

TypeError: Cannot read property 'getCursorBufferPosition' of undefined
    at CompletionManager.module.exports.CompletionManager.refCiteComplete (/home/nirvana1289/.atom/packages/latextools/lib/completion-manager.coffee:32:23)
    at /home/nirvana1289/.atom/packages/latextools/lib/latextools.coffee:216:28
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at /usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1321:25

Commands

Config

{
  "core": {
    "autoHideMenuBar": true,
    "disabledPackages": [
      "markdown-preview"
    ],
    "projectHome": "/home/nirvana1289/workspace",
    "themes": [
      "atom-material-ui",
      "atom-dark-syntax"
    ]
  },
  "latextools": {
    "builderSettings": {},
    "darwin": {},
    "linux": {
      "atomExecutable": "atom",
      "python2": "python2.7"
    },
    "win32": {}
  }
}

Installed Packages

# User
atom-material-ui, v1.0.5
emmet, v2.4.0
figlet, v0.5.3
file-icons, v1.6.14
language-arduino, v0.4.1
language-bison, v1.0.0
language-latex, v0.6.1
language-lex-flex, v0.1.0
latextools, v0.7.4
markdown-preview-plus, v2.2.2
mathjax-wrapper, v0.1.0
minimap, v4.19.0
minimap-find-and-replace, v4.4.0
minimap-git-diff, v4.1.8
minimap-selection, v4.3.1
pdf-view, v0.39.0
preview-inline, v0.5.1

# Dev
No dev packages

Uncaught Error: Command failed: osascript -e "POSIX path of (path to app id "net.sourceforge.skim...

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.6.0
System: Mac OS X 10.11.3
Thrown From: latextools package, v0.8.0

Stack Trace

Uncaught Error: Command failed: osascript -e "POSIX path of (path to app id "net.sourceforge.skim-app.skim")"
33:34: syntax error: Expected “,” but found unknown token. (-2741)

At child_process.js:496

Error: Command failed: osascript -e "POSIX path of (path to app id "net.sourceforge.skim-app.skim")"
33:34: syntax error: Expected “,” but found unknown token. (-2741)

    at checkExecSyncError (child_process.js:453:13)
    at execSync (child_process.js:493:13)
    at SkimViewer.module.exports.SkimViewer.forwardSync (/Users/colin/.atom/packages/latextools/lib/viewers/skim-viewer.coffee:18:17)
    at Viewer.module.exports.Viewer.jumpToPdf (/Users/colin/.atom/packages/latextools/lib/viewer.coffee:65:16)
    at /Users/colin/.atom/packages/latextools/lib/builder.coffee:220:17
    at ChildProcess.exithandler (child_process.js:206:7)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:817:16)
    at Socket.<anonymous> (internal/child_process.js:319:11)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)

Commands

     -1:51.8.0 core:move-right (atom-text-editor.editor.is-focused)
  7x -1:49.5.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:40.7.0 latextools:dollar-sign (atom-text-editor.editor.is-focused)
     -1:39.8.0 core:move-right (atom-text-editor.editor.is-focused)
  2x -1:36.2.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:10.5.0 core:move-left (atom-text-editor.editor.is-focused)
     -1:10.2.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:04.6.0 latextools:dollar-sign (atom-text-editor.editor.is-focused)
  2x -1:00.6.0 core:backspace (atom-text-editor.editor.is-focused)
  7x -0:54.7.0 core:move-left (atom-text-editor.editor.is-focused)
     -0:49.2.0 core:move-right (atom-text-editor.editor.is-focused)
     -0:44.8.0 fuzzy-finder:toggle-buffer-finder (atom-text-editor.editor.is-focused)
     -0:42.6.0 latextools:build (atom-text-editor.editor.is-focused)
     -0:15.9.0 editor:select-line (atom-text-editor.editor.is-focused)
     -0:15.9.0 tree-view:toggle (atom-text-editor.editor.is-focused)
     -0:02.8.0 latextools:build (atom-text-editor.editor.is-focused)

Config

{
  "core": {},
  "latextools": {
    "builderSettings": {},
    "darwin": {},
    "linux": {},
    "win32": {}
  }
}

Installed Packages

# User
autocomplete-bibtex, v0.6.2
autocomplete-php, v0.3.7
autocomplete-python, v1.7.0
autocomplete-ruby, v0.1.0
color-picker, v2.1.1
file-icons, v1.6.18
git-diff-details, v0.23.0
language-hdl, v0.1.4
language-latex, v0.6.1
language-r, v0.4.0
language-x86, v0.1.0
latex, v0.32.0
latextools, v0.8.0
linter, v1.11.3
linter-chktex, v1.2.5
linter-javac, v1.8.1
minimap, v4.21.0
minimap-autohide, v0.10.1
minimap-bookmarks, v0.3.0
minimap-codeglance, v0.4.5
minimap-cursorline, v0.1.0
minimap-find-and-replace, v4.5.0
minimap-git-diff, v4.2.0
minimap-highlight-selected, v4.4.0
minimap-linter, v1.1.1
minimap-pigments, v0.2.0
minimap-split-diff, v0.3.0
pdf-view, v0.50.0
pigments, v0.24.5
remote-edit, v1.8.24
travis-ci-status, v1.0.0

# Dev
No dev packages

\cite and \ref autocomplete indexing issues

There is an issue with the \cite, \ref and related commands. I'm not able to isolate it completely, but in my case it seems to relate to using Tikz figures inside floats. When triggering autocomplete using e.g. \cite or \ref, the following error gets thrown:
screen shot 2016-03-29 at 10 43 38

The related Tikz code is included like this:

\begin{figure}
    \centering
    \input{tikz/boxplotOverallWorkload.tikz}
    \caption{Work load}
    \label{fig:boxplotOverallWorkload}
\end{figure}

I should mention at this point that these Tikz files exist and that my document builds. This occurs when using autocomplete in the "main" file, as well as when being triggered from files that live inside an Include directory which are linked to the main file using %!TEX root comments.

There are two issues with this:

  1. I don't think an error should be reported since the files exist, and, in my opinion LatexTools shouldn't even be interested in the existence of the Tikz files. However, I do understand that files in \input commands in general should be checked.
  2. The alert pops up for every for every "missing" file every time autocomplete is triggered, blocking any other user interaction than clicking the OK button. As autocomplete still works, blocking UI seems an excessive manner of reporting this error.

Furthermore, after 7 files are reported not found, the package throws an error:
screen shot 2016-03-29 at 11 02 22

(see below for error details)

Lastly, on a related note, consider this piece of code:

\newcommand{\qres}[3]{%
    \begin{figure}[H]
        \centering
        \input{tikz/qresults#1.tikz}
        \caption{#2}
        \label{fig:#3}
    \end{figure}    
}

This will actually reported tikz/qresults#1.tikz as missing, showing that the file is being indexed. Anything inside command (re)definitions is not executed at that point and as a result should not be indexed, I suppose.

Error information

Atom Version: 1.7.0-beta0
System: Mac OS X 10.11
Thrown From: latextools package, v0.8.0

Stack Trace

Uncaught TypeError: Cannot read property 'split' of null

At /Volumes/--volumename--/Users/--username--/.atom/packages/latextools/lib/completion-manager.coffee:89

TypeError: Cannot read property 'split' of null
    at CompletionManager.module.exports.CompletionManager.citeComplete (/Volumes/Macbook HD/Users/--username--/.atom/packages/latextools/lib/completion-manager.coffee:111:27)
    at CompletionManager.module.exports.CompletionManager.refCiteComplete (/Volumes/Macbook HD/Users/--username--/.atom/packages/latextools/lib/completion-manager.coffee:49:8)
    at /Volumes/Macbook HD/Users/--username--/.atom/packages/latextools/lib/latextools.coffee:280:28
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom Beta.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom Beta.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at /Applications/Atom Beta.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1357:25

Commands

     -3:48.5.0 project-manager:list-projects (atom-text-editor.editor.is-focused)
     -3:47.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -3:43.9.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)
     -3:37.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)
  4x -3:22.2.0 core:undo (atom-text-editor.editor.is-focused)
  3x -3:21.3.0 core:redo (atom-text-editor.editor.is-focused)
     -2:47.7.0 settings-view:open (atom-text-editor.editor.is-focused)
     -2:42.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
  8x -2:12.4.0 editor:newline (atom-text-editor.editor.is-focused)
  8x -2:11.4.0 core:move-up (atom-text-editor.editor.is-focused)
  3x -2:10.3.0 editor:newline (atom-text-editor.editor.is-focused)
     -1:52 core:copy (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "markdown-writer",
      "latex",
      "atom-live-grammar-reload",
      "dev-live-reload",
      "livereload"
    ],
    "ignoredNames": [
      ".git",
      ".hg",
      ".svn",
      ".DS_Store",
      "._*",
      "Thumbs.db",
      "*.acn",
      "*.acr",
      "*.alg",
      "*.aux",
      "*.bbl",
      "*.blg",
      "*.cb",
      "*.cb2",
      "*.dvi",
      "*.fdb*",
      "*.fls",
      "*.glg",
      "*.glg",
      "*.glo",
      "*.gls",
      "*.gz",
      "*.gz(busy)",
      "*.ist",
      "*.log",
      "*.out",
      "*.sbl",
      "*.sym",
      "*.thm",
      "*.toc"
    ]
  }
}

Installed Packages

# User
git-log, v0.4.1
language-latex, v0.6.1
language-matlab, v0.2.1
latextools, v0.8.0
markdown-scroll-sync, v2.1.2
minimap, v4.21.0
project-manager, v2.7.6

# Dev
language-matlab, v0.2.0

fflush() failed broken pipe

When compiling a file with latextools on a Mac (El Capitan) I get the following error:
fflush() failed (Broken pipe)
==> Fatal error occurred, no output PDF file produced!
However, the file compiles perfectly well using the latexmk from the terminal, with exactly the same command and options, or using pdflatex directly.

The same issue seems to have come up with atom-latex, where a solution was also given:
thomasjo/atom-latex#88
Perhaps the same issue is affecting latex tools?

What's the point of cdot2cdots?

What's the point of:

  'cdot':
    'prefix': 'cd'
    'body': '\\\\cdot'
  'cdot2cdots':
    'prefix': 'cdot'
    'body': 'cdots'
  'cdots2cdot':
    'prefix': 'cdots'
    'body': 'cdot'

line 109-114 in snippets/latex.cson

All it seems to do (at least in my case) is autocomplete cd and cdot to cdots, which is quite annoying. :octocat:

Trigger happy autocomplete

It seems that autocomplete is a bit too trigger happy. The issue with this, besides being annoying, is that the undo history stack is not reachable anymore. The reason for this is that after editing a \cite command, undo will move the cursor back into the brackets, triggering the autocomplete pane.

Additionally, on my system (OS X El Capitan, Atom 1.7.0-beta0, LaTeXTools 0.8.0), autocomplete does not return keyboard focus to the editor window, which is mildly annoying.

Screen recording:
triggerhappy

texlive under windows

It seems to me that latextools is trying to use texify to build even trough I changed the win32 distro to texlive.
How can I change this?

CMD+L, E Cursor Behaviour

When I write CMD+l, e to create an environment, then the cursor will be inside the environment, but if I then press TAB to indent, it jumps after the environment. Small but very annoying. I hope this can be fixed.
Thanks.

Inverse search fails in Okular

Inverse search seems to fail in Okular (I have assumed that Ctrl + click inside Okular is the keybind for doing inverse search.). Forward search works fine though. This is in Atom 1.5.0-beta0 in Ubuntu 15.10.

Uncaught Reference Error

false

Uncaught Reference Error has occured. Please check the /latextools/lib/parseTexlog.coffee:200.
2016-01-08 10 18 22

At 200 line, you should modify "False" to "false".

latextools seem to ignoring my newer version of an .eps figure

I am on a mac os x yosemite and I am using graphicx. Latextools works ok with atom. However, when I replace one of my .eps files with a newer version and compile my .tex file it does not seem to be using the newer version. Why is that? TeXShop does it...

Latextools Console

I'd greatly prefer it if the Latextools Console default behaviour is to close after compiling + provide a hot-key for opening it. The popup message will tell me wether I should open it or not. Maybe if this is not universally preferred then it can be an option setting?

Uncaught Error: ENOENT: no such file or directory, open '/Users/michelmooij/TEX-bestanden/Templat...

[Enter steps to reproduce below:]

I try to compile a letter with pstricks signature. It works in TeXshop using xelatex

Atom Version: 1.4.1
System: Mac OS X 10.11.3
Thrown From: latextools package, v0.7.4

Stack Trace

Uncaught Error: ENOENT: no such file or directory, open '/Users/michelmooij/TEX-bestanden/Templates/Brief.log'

At fs.js:549

Error: ENOENT: no such file or directory, open '/Users/michelmooij/TEX-bestanden/Templates/Brief.log'
    at Error (native)
    at Object.fs.openSync (fs.js:549:18)
    at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:137:20)
    at Object.fs.readFileSync (fs.js:397:15)
    at Object.fs.readFileSync (ATOM_SHELL_ASAR.js:385:29)
    at /Users/michelmooij/.atom/packages/latextools/lib/builder.coffee:155:18
    at ChildProcess.exithandler (child_process.js:222:5)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:817:16)
    at Socket.<anonymous> (internal/child_process.js:319:11)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)

Commands

     -7:45.3.0 latextools:build (atom-text-editor.editor.is-focused)
     -4:02.8.0 latex:build (atom-text-editor.editor.is-focused)
     -3:29.2.0 application:add-project-folder (atom-text-editor.editor.is-focused)
     -2:46.8.0 latextools:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
  2x -2:40.2.0 latextools:build (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "themes": [
      "native-ui",
      "one-light-syntax"
    ]
  },
  "latextools": {
    "builder": "latex",
    "builderSettings": {
      "displayLog": true,
      "options": [
        "-f"
      ]
    },
    "commandCompletion": "always",
    "darwin": {
      "texpath": "/Library/TeX/texbin"
    },
    "linux": {},
    "win32": {}
  }
}

Installed Packages

# User
language-latex, v0.6.1
latex, v0.28.2
latexer, v0.2.7
latextools, v0.7.4
markdown-preview-opener, v0.1.1
markdown-table-formatter, v2.7.2
native-ui, v0.16.1

# Dev
No dev packages

Increase size of LaTeXTools console panel

Is there a way to increase the size of the LaTeXTools console panel? The information in the console, especially the list of errors and warnings, is extremely useful but I can see only 3 lines at at a time. Seeing more lines would be very helpful.

authors_short doesn't work as expected

authors_short is replaced with comma-separated list of surnames not with the expected format <first name> et al. After a lot of debugging I found out why that is the case.

The command authors = [a.split(", ")[0].trim() for a in authors.split(" and ")] results in an array with one child element that contains the array with the author names. Therefore the length of the first array is always 1, which means that 'et al.' is never appended. Since the authors variable is an array containing an array, the join command in the else clause doesn't do what is expected either.

After adding authors = authors[0] directly after the previously shown command, the behaviour is as expected.

Keybinding to \texttt listed wrongly in the manual

First of all thank you very much for this great tool. I have made the switch from WinEdt a couple of days ago and don't intend to go back.

One minor issue I found is that the manual mentions a keybinding C-l C-t that is supposed to be linked to \texttt{}. However, in 0.7.7 (at least in the Windows version), the actual keybinding is C-l C-m. While we are at it, it might be useful to also include a binding to \textit{}, possible with C-l C-i or C-l C-t.

Thanks again, Benjamin

Support multi-file documents without relying on inline flags

Please consider supporting multi-file documents without magic editor-specific inline flags inside the document itself. This mixes platform agnostic documents with platform specific build instructions. For good style, IMHO, this should be separated.

A straightforward solution would be to search for a special file, like main.tex.latextools going up the file hierarchy. This file would mark the main.tex file as the root document, that should be compiled.

Uncaught TypeError: Cannot read property 'scopeName' of undefined

[Enter steps to reproduce below:]

  1. This error arose when I opened the Changelog.md (preview) for latextools for version 0.8, after downloading version 0.8 from the master rather than going through the regular package update procedure. So it may not be a real error, as I have some kind of hybrid version on my Mac, but i report it anyway.
  2. ...

Atom Version: 1.5.4
System: Mac OS X 10.11.3
Thrown From: latextools package, v0.7.7

Stack Trace

Uncaught TypeError: Cannot read property 'scopeName' of undefined

At /Users/gkv/Dropbox/dotfiles/dot-atom/packages/latextools/lib/ltconsole.coffee:63

TypeError: Cannot read property 'scopeName' of undefined
    at /Users/gkv/Dropbox/dotfiles/dot-atom/packages/latextools/lib/ltconsole.coffee:63:52
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at stoppedChangingActivePaneItemCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/pane-container.js:337:36)

Commands

     -8:50.1.0 core:paste (atom-text-editor.editor.is-focused)
  5x -8:44.7.0 core:backspace (atom-text-editor.editor.is-focused)
     -8:32.5.0 core:save (atom-text-editor.editor.is-focused.autocomplete-active)
     -8:28.3.0 core:backspace (atom-text-editor.editor.is-focused)
     -8:26.4.0 core:move-right (atom-text-editor.editor.is-focused)
     -8:25 core:backspace (atom-text-editor.editor.is-focused)
  2x -8:21.6.0 core:delete (atom-text-editor.editor.is-focused)
     -8:12.9.0 core:save (atom-text-editor.editor.is-focused)
  2x -8:04.0 core:backspace (atom-text-editor.editor.is-focused)
     -7:58.3.0 latextools:jump-to-pdf (atom-text-editor.editor.is-focused)
  3x -7:39.8.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -7:23.9.0 core:save (atom-text-editor.editor.is-focused)
     -6:58.5.0 latextools:build (atom-text-editor.editor.is-focused)
  2x -6:00.2.0 core:backspace (atom-text-editor.editor.is-focused)
     -5:58.7.0 core:save (atom-text-editor.editor.is-focused)
     -5:09.9.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.theme-glatex-theme.theme-atom-light-ui)

Config

{
  "core": {
    "audioBeep": false,
    "destroyEmptyPanes": false,
    "disabledPackages": [
      "linter-python-pyflakes",
      "wrap-guide",
      "vim-mode"
    ],
    "themes": [
      "atom-light-ui",
      "glatex-theme"
    ]
  },
  "latextools": {
    "builderSettings": {},
    "darwin": {},
    "hideBuildPanel": "no_errors",
    "linux": {},
    "win32": {}
  }
}

Installed Packages

# User
atom-html-preview, v0.1.16
autocomplete-python, v1.7.0
glatex-theme, v0.0.0
language-latex, v0.6.1
latex, v0.30.0
latextools, v0.7.7
linter, v1.11.3
linter-flake8, v1.13.0
linter-pyflakes, v0.3.0
markdown-preview-plus, v2.2.2
pdf-view, v0.48.0
terminal-plus, v0.14.5

# Dev
No dev packages

Failed to load the latextools package

[Enter steps to reproduce below:]

  1. Install latextools

Atom Version: 1.4.0
System: "Arch Linux"
Thrown From: latextools package, v0.7.2

Stack Trace

Failed to load the latextools package

At Cannot find module './parsers/parseTeXLog'

Error: Cannot find module './parsers/parseTeXLog'
  at Module._resolveFilename (module.js:336:15)
  at Function.Module._resolveFilename (/usr/share/atom/resources/app.asar/src/module-cache.js:383:52)
  at Function.Module._load (module.js:286:25)
  at Module.require (module.js:365:17)
  at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
  at Object.<anonymous> (/home/nirvana1289/.atom/packages/latextools/lib/builder.coffee:5:19)
  at Object.<anonymous> (/home/nirvana1289/.atom/packages/latextools/lib/builder.coffee:1:1)
  at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
  at Object.defineProperty.value [as .coffee] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
  at Module.load (module.js:355:32)
  at Function.Module._load (module.js:310:12)
  at Module.require (module.js:365:17)
  at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
  at Object.<anonymous> (/home/nirvana1289/.atom/packages/latextools/lib/latextools.coffee:2:11)
  at Object.<anonymous> (/home/nirvana1289/.atom/packages/latextools/lib/latextools.coffee:1:1)
  at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
  at Object.defineProperty.value [as .coffee] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
  at Module.load (module.js:355:32)
  at Function.Module._load (module.js:310:12)
  at Module.require (module.js:365:17)
  at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
  at Package.module.exports.Package.requireMainModule (/usr/share/atom/resources/app.asar/src/package.js:721:27)
  at /usr/share/atom/resources/app.asar/src/package.js:117:28
  at Package.module.exports.Package.measure (/usr/share/atom/resources/app.asar/src/package.js:92:15)
  at Package.module.exports.Package.load (/usr/share/atom/resources/app.asar/src/package.js:106:12)
  at PackageManager.module.exports.PackageManager.loadPackage (/usr/share/atom/resources/app.asar/src/package-manager.js:443:14)
  at PackageManager.module.exports.PackageManager.loadPackages (/usr/share/atom/resources/app.asar/src/package-manager.js:393:14)
  at AtomEnvironment.module.exports.AtomEnvironment.startEditorWindow (/usr/share/atom/resources/app.asar/src/atom-environment.js:684:21)
  at module.exports (/usr/share/atom/resources/app.asar/src/initialize-application-window.js:28:10)
  at setupWindow (file:///usr/share/atom/resources/app.asar/static/index.js:86:5)
  at window.onload (file:///usr/share/atom/resources/app.asar/static/index.js:41:9)

Commands

Config

{
  "core": {
    "projectHome": "/home/nirvana1289/workspace",
    "themes": [
      "atom-material-ui",
      "atom-dark-syntax"
    ],
    "autoHideMenuBar": true,
    "disabledPackages": [
      "markdown-preview"
    ]
  }
}

Installed Packages

# User
atom-material-ui, v1.0.5
autocomplete-bibtex, v0.6.2
autocomplete-plus, v2.25.0
figlet, v0.5.3
latextools, v0.7.2
markdown-preview-plus, v2.2.2
mathjax-wrapper, v0.1.0
minimap, v4.19.0
minimap-find-and-replace, v4.4.0
minimap-git-diff, v4.1.8
minimap-selection, v4.3.1
pdf-view, v0.39.0
preview-inline, v0.5.1

# Dev
No dev packages

Suggestion: Hot-key for change environment

If I am inside a displaymath environment and then want to change it to equation, say, I'd like a hot-key that creates a two-cursor selection for the two enclosing displaymath so I can then easily make the replacement.

(there may be more efficient mechanisms, but this might be relatively straightforward? I have no idea to be honest)

Uncaught Error: ENOENT: no such file or directory, open '/Users/michelmooij/TEX-bestanden/TeX-bes...

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.4.0
System: Mac OS X 10.11.3
Thrown From: latextools package, v0.7.4

Stack Trace

Uncaught Error: ENOENT: no such file or directory, open '/Users/michelmooij/TEX-bestanden/TeX-bestanden/Brief Askamp/BriefAskamp.log'

At fs.js:549

Error: ENOENT: no such file or directory, open '/Users/michelmooij/TEX-bestanden/TeX-bestanden/Brief Askamp/BriefAskamp.log'
    at Error (native)
    at Object.fs.openSync (fs.js:549:18)
    at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:137:20)
    at Object.fs.readFileSync (fs.js:397:15)
    at Object.fs.readFileSync (ATOM_SHELL_ASAR.js:385:29)
    at /Users/michelmooij/.atom/packages/latextools/lib/builder.coffee:155:18
    at ChildProcess.exithandler (child_process.js:222:5)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:817:16)
    at Socket.<anonymous> (internal/child_process.js:319:11)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)

Commands

     -3:17.9.0 core:paste (atom-text-editor#latextools.darwin.texpath.editor.mini.is-focused)
     -0:56.4.0 latextools:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
  2x -0:15.5.0 editor:move-to-previous-subword-boundary (atom-text-editor.editor.is-focused)
     -0:01.2.0 latextools:build (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "markdown-writer",
      "markdown-preview-plus",
      "spell-check",
      "Zen",
      "autoflow",
      "latex-plus",
      "latex",
      "latex-completions",
      "latexer",
      "autocomplete-bibtex"
    ],
    "themes": [
      "native-ui",
      "one-light-syntax"
    ]
  },
  "latextools": {
    "builderSettings": {
      "program": "xelatex"
    },
    "commandCompletion": "always",
    "darwin": {
      "texpath": "/usr/local/texlive/2015/bin/x86_64-darwin/xelatex"
    },
    "linux": {},
    "win32": {}
  }
}

Installed Packages

# User
language-latex, v0.6.1
latextools, v0.7.4
markdown-preview-opener, v0.1.1
markdown-table-formatter, v2.7.2
native-ui, v0.15.1
pandoc-convert, v1.0.4

# Dev
No dev packages

Uncaught Error: ENOENT: no such file or directory, open '/Users/michelmooij/6.log'

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.4.1
System: Mac OS X 10.11.3
Thrown From: latextools package, v0.7.4

Stack Trace

Uncaught Error: ENOENT: no such file or directory, open '/Users/michelmooij/6.log'

At fs.js:549

Error: ENOENT: no such file or directory, open '/Users/michelmooij/6.log'
    at Error (native)
    at Object.fs.openSync (fs.js:549:18)
    at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:137:20)
    at Object.fs.readFileSync (fs.js:397:15)
    at Object.fs.readFileSync (ATOM_SHELL_ASAR.js:385:29)
    at /Users/michelmooij/.atom/packages/latextools/lib/builder.coffee:155:18
    at ChildProcess.exithandler (child_process.js:222:5)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:817:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

Commands

     -0:02.8.0 latextools:build (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "themes": [
      "native-ui",
      "one-light-syntax"
    ]
  },
  "latextools": {
    "builder": "latex",
    "builderSettings": {
      "displayLog": true,
      "options": [
        "-f"
      ]
    },
    "commandCompletion": "always",
    "darwin": {
      "texpath": "/Library/TeX/texbin"
    },
    "linux": {},
    "win32": {}
  }
}

Installed Packages

# User
language-latex, v0.6.1
latex, v0.28.2
latexer, v0.2.7
latextools, v0.7.4
markdown-preview-opener, v0.1.1
markdown-table-formatter, v2.7.2
native-ui, v0.16.1

# Dev
No dev packages

Uncaught TypeError: Path must be a string. Received undefined

[Enter steps to reproduce below:]

  1. Typesetting a (long, multi-file) document with latest (0.7.7) latextools package. The typesetting works okay with some other documents. It also works okay using latextools on sublime.
  2. (But the new latextools console is much improved!)

Atom Version: 1.5.3
System: Mac OS X 10.11.3
Thrown From: latextools package, v0.7.7

Stack Trace

Uncaught TypeError: Path must be a string. Received undefined

At path.js:8

TypeError: Path must be a string. Received undefined
    at assertPath (path.js:8:11)
    at Object.posix.isAbsolute (path.js:468:3)
    at _fn1 (/Users/gkv/Dropbox/dotfiles/dot-atom/packages/latextools/lib/builder.coffee:201:31)
    at /Users/gkv/Dropbox/dotfiles/dot-atom/packages/latextools/lib/builder.coffee:194:11
    at ChildProcess.exithandler (child_process.js:206:7)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:817:16)
    at Socket.<anonymous> (internal/child_process.js:319:11)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)

Commands

     -5:21.3.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)
     -5:00.5.0 find-and-replace:find-next (atom-text-editor.editor.is-focused)
     -4:55.9.0 go-to-line:toggle (atom-text-editor.editor.is-focused)
     -4:53.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
  8x -4:48.6.0 core:move-down (atom-text-editor.editor.is-focused)
  8x -4:45.9.0 core:move-up (atom-text-editor.editor.is-focused)
  5x -4:43 core:move-left (atom-text-editor.editor.is-focused)
 12x -4:41.4.0 core:move-right (atom-text-editor.editor.is-focused)
  7x -4:30.4.0 core:move-down (atom-text-editor.editor.is-focused)
  5x -4:25.5.0 core:move-left (atom-text-editor.editor.is-focused)
 22x -4:21.5.0 core:move-right (atom-text-editor.editor.is-focused)
     -3:38.6.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)
  4x -1:46.4.0 latextools:build (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "audioBeep": false,
    "destroyEmptyPanes": false,
    "disabledPackages": [
      "linter-python-pyflakes",
      "wrap-guide",
      "latexer",
      "vim-mode"
    ],
    "themes": [
      "atom-light-ui",
      "glatex-theme"
    ]
  },
  "latextools": {
    "builderSettings": {},
    "darwin": {},
    "hideBuildPanel": "no_errors",
    "linux": {},
    "win32": {}
  }
}

Installed Packages

# User
autocomplete-python, v1.6.1
glatex-theme, v0.0.0
language-fortran, v2.0.9
language-latex, v0.6.1
latex, v0.29.0
latex-plus, v0.8.4
latextools, v0.7.7
linter, v1.11.3
linter-pyflakes, v0.3.0
markdown-preview-plus, v2.2.2
pdf-view, v0.39.0
terminal-plus, v0.14.5

# Dev
No dev packages

Possible copy/paste error in snippet prefixes for math environments

The snippets for the math environments gather, align, alignat, flalign, and multiline in https://github.com/msiniscalchi/atom-latextools/blob/master/snippets/latex.cson all have prefix bga (or bgan for their starred versions). This seems to be a copy/paste mistake. I'm happy to open a pull request to fix this but I wasn't sure what the respective prefixes should be.

  1. Are there already agreed-upon prefixes for these environments? I couldn't find anything in the Sublime Text plugin.
  2. I would also propose to add an n to the name of the numbered version of an environment. This is already done for the prefix but for the names it is the other way around, e.g. right now it's gathern with prefix bga and gather with prefix bgan.

Absolute paths of bibfiles

Latextools does not seem to know about absolute paths for bibfiles. Thus:
\bibliography{../../bibfiles/myrefs} works properly, whereas
\bibliography{/Users/gkv/bibfiles/myrefs} does not. The autocomplete of \cite{ fails, and latexmk does not build properly.

However, latex and latexmk do know about the absolute paths, as compiling from the terminal with a command line works fine (and so does using the 'script' package for Atom).

Improved Drop-down box for References

Thank you for this wonderful package. I am keen to switch from Emacs to Atom, and a good latex environment has been holding me back; specifically this is the only piece missing for me now:

Here is reference-selection in Atom / latex tools:

screen shot 2016-05-17 at 07 52 05

And here in Auctex:

screen shot 2016-05-17 at 07 52 47

Auctex provides far more information: which section am I in, and also shows some of the content of what is being referenced. This is hugely helpful in selecting the labels. (In the same respect, for citation selection, latextools is essentially on par with Auctex for me, which is really great!)

Is there a possibility that reference selection could provide a similarly enhanced interface?

Option of using other PDF readers.

On Linux, would it be possible to use xdg-open instead of calling a PDF reader directly? It would allow users to choose what PDF reader they want to use. Or is there a particular feature that requires okular?

Uncaught TypeError: warnings is not a function

Line 629 in question should probably be warnings.push(...)?!

Atom Version: 1.4.0
System: Mac OS X 10.9.5
Thrown From: latextools package, v0.7.4

Stack Trace

Uncaught TypeError: warnings is not a function

At /Users/dpo/.atom/packages/latextools/lib/parsers/parse-tex-log.coffee:629

TypeError: warnings is not a function
    at module.exports.parse_tex_log (/Users/dpo/.atom/packages/latextools/lib/parsers/parse-tex-log.coffee:629:5)
    at /Users/dpo/.atom/packages/latextools/lib/builder.coffee:162:30
    at ChildProcess.exithandler (child_process.js:222:5)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:817:16)
    at Socket.<anonymous> (internal/child_process.js:319:11)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)

Commands

  3x -0:18 core:move-right (atom-text-editor.editor.is-focused)
  2x -0:17.3.0 core:backspace (atom-text-editor.editor.is-focused)
  4x -0:16.8.0 core:move-right (atom-text-editor.editor.is-focused)
  2x -0:16 core:backspace (atom-text-editor.editor.is-focused)
     -0:15.4.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
  2x -0:15.2.0 core:move-left (atom-text-editor.editor.is-focused)
  2x -0:14.7.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:14.3.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
     -0:13.2.0 core:save (atom-text-editor.editor.is-focused)
  4x -0:09.7.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:08.1.0 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)
  2x -0:07.9.0 core:move-right (atom-text-editor.editor.is-focused)
  2x -0:06.7.0 core:move-left (atom-text-editor.editor.is-focused)
     -0:06.3.0 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)
     -0:06.0 core:save (atom-text-editor.editor.is-focused)
     -0:02.5.0 latextools:build (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "audioBeep": false,
    "disabledPackages": [
      "language-ruby-on-rails",
      "atom-pair",
      "language-gfm",
      "latex"
    ],
    "themes": [
      "atom-solarized-dark-ui",
      "solarized-dark-syntax"
    ]
  },
  "latextools": {
    "builderSettings": {
      "displayLog": true
    },
    "darwin": {},
    "linux": {},
    "win32": {}
  }
}

Installed Packages

# User
antialiased, v0.1.0
atom-solarized-dark-ui, v0.25.0
autocomplete-bibtex, v0.6.2
floobits, v0.30.0
indent-detective, v0.1.0
ink, v0.2.0
language-ampl, v0.2.0
language-cython, v0.3.0
language-diff, v0.4.0
language-fortran, v2.0.9
language-hombrew-formula, v1.0.2
language-julia, v0.5.0
language-latex, v0.6.1
language-matlab, v0.2.0
language-openmp, v0.2.0
latex-completions, v0.3.1
latextools, v0.7.4
linter, v1.11.3
linter-chktex, v1.2.4
linter-matlab, v1.1.0
linter-pep8, v1.2.1
linter-python-pep257, v0.0.1
linter-rubocop, v0.4.7
linter-write-good, v0.6.1
minimap, v4.19.0
minimap-git-diff, v4.1.8
python-autopep8, v0.1.3
travis-ci-status, v1.0.0

# Dev
No dev packages

.bib stored in external folder does not read

Biblatex?:
example of external .bib storage:
\addbibresource{/Users/cbuschmann/Dropbox/Akademia/Bibliotek/Bibliotek.bib}
leads to:
Could not find bib files. Please check your \bibliography statements.

Only when moving the .bib to the root does latextools find it.

Disable viewer

What if I want to disable the viewer?

It would be pretty to have a "disabled" choice on the viewer dropdown.

Some keybindings prevent me to write some characters

Some keystrokes are blocked when I am writting document in Latex and nothing happens. For instance, when I type a ',' in latex with latextools installed, the comma is not added to my document. If I add the following code in my keymap.cson, then the comma works again with latextools. I can write those characters in other atom documents.

It is the case for ", $, `, and ' also. the { works well even if I do not override the keybinding.

I am on ubuntu and I use a bepo layout (http://bepo.fr).

'atom-text-editor[data-grammar~=\'latex\']':
  '$': 'unset!',
  '"': 'unset!',
  '`': 'unset!',
  '\'':'unset!',
  ',': 'unset!'

Support for Evince

I saw that the LaTeXTools for Sublime Text 2 and 3 supports Evince, so I am wondering if its Atom counterpart would support Evince too.

Uncaught TypeError: atom.workspace.open(...).done is not a function

[Enter steps to reproduce below:]

  1. hit ctrl+alt+b to compile.

Atom Version: 1.6.2
System: "Manjaro Linux"
Thrown From: latextools package, v0.8.0

Stack Trace

Uncaught TypeError: atom.workspace.open(...).done is not a function

At /home/cars10/.atom/packages/latextools/lib/viewers/atom-pdf-viewer.coffee:32

TypeError: atom.workspace.open(...).done is not a function
    at module.exports._open (/home/cars10/.atom/packages/latextools/lib/viewers/atom-pdf-viewer.coffee:32:7)
    at AtomPdfViewer.module.exports.AtomPdfViewer.forwardSync (/home/cars10/.atom/packages/latextools/lib/viewers/atom-pdf-viewer.coffee:39:5)
    at Viewer.module.exports.Viewer.jumpToPdf (/home/cars10/.atom/packages/latextools/lib/viewer.coffee:65:16)
    at /home/cars10/.atom/packages/latextools/lib/builder.coffee:220:17
    at ChildProcess.exithandler (child_process.js:206:7)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:817:16)
    at Socket.<anonymous> (internal/child_process.js:319:11)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)

Commands

     -1:17.9.0 recent-projects:open (div.package-detail.panels-item)
     -1:09.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always.seti-ui-no-icons.theme-one-dark-syntax.theme-one-dark-ui)
     -1:06.6.0 command-palette:toggle (ul.list-inline.tab-bar.inset-panel)
     -1:05.2.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -1:05.2.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -1:04.6.0 recent-projects:open (ul.list-inline.tab-bar.inset-panel)
     -1:03.7.0 core:cancel (div.recent-projects-view.pane-item.padded)
     -0:46.5.0 fuzzy-finder:toggle-file-finder (atom-pane.pane.active)
     -0:39.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:37.7.0 core:close (div.pdf-view)
     -0:35.2.0 fuzzy-finder:toggle-file-finder (atom-workspace.workspace.scrollbars-visible-always.seti-ui-no-icons.theme-one-dark-syntax.theme-one-dark-ui)
     -0:34 core:confirm (atom-text-editor.editor.mini.is-focused)
  2x -0:31.8.0 latextools:build (atom-text-editor.editor.is-focused)
     -0:01.6.0 tree-view:toggle (atom-text-editor.editor.is-focused)
     -0:00.5.0 latextools:build (atom-text-editor.editor.is-focused)

Config

{
  "core": {},
  "latextools": {
    "builderSettings": {},
    "darwin": {},
    "linux": {},
    "viewer": "pdf-view",
    "win32": {}
  }
}

Installed Packages

# User
emmet, v2.4.3
file-icons, v1.7.1
keyboard-localization, v1.4.16
language-latex, v0.6.1
latexer, v0.3.0
latextools, v0.8.0
pdf-view, v0.50.0
recent-projects, v0.9.5

# Dev
No dev packages

Uncaught TypeError: CompletionManager is not a function

When I open a .tex file I receive the following uncaught exception. This has only been a problem since I updated to 0.8.1 today.

  1. Open *.tex file

Atom Version: 1.7.3
System: Mac OS X 10.11.4
Thrown From: latextools package, v0.8.1

Stack Trace

Uncaught TypeError: CompletionManager is not a function

At /Users/mlxd/.atom/packages/latextools/lib/latextools.coffee:315

TypeError: CompletionManager is not a function
    at Object.module.exports.Latextools.requireIfNeeded (/Users/mlxd/.atom/packages/latextools/lib/latextools.coffee:315:13)
    at /Users/mlxd/.atom/packages/latextools/lib/latextools.coffee:272:62
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1378:25

Commands

     -0:45.2.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)

Config

{
  "core": {
    "disabledPackages": [
      "latex-plus"
    ]
  }
}

Installed Packages

# User
language-latex, v0.6.1
latex, v0.32.0
latexer, v0.3.0
latextools, v0.8.1
pdf-view, v0.50.0

# Dev
No dev packages

Cannot compile after atom 1.7.x update

My platform is windows 10 with atom 1.7.2.

Platform: win32; texpath:
Processing file foo.tex (foo) in directory E:\documents\foo
texify builder
texify -b -p --engine=pdftex --tex-option="--synctex=1" "foo.tex"
Parsing E:\documents\foo\foo.log
Could not read log file!
The problem is that no 'foo.log' is generated. If I compile this tex file outside atom with miktex, I can get the foo.log file and build with latextools in atom will not complain about the log file. However, building with latextools will not update the log file even if the tex file is modified. Thus, no change for the corresponding pdf file.

Everything works fine in previous atom 1.6.2 or in miktex.

Strange sync behavior with Skim on OS X El Capitan in fullscreen

This is a pretty narrow bug so I hope someone can reproduce it outside of myself.
I use Atom 1.5.3 (I think the last one) and atom-latextools 0.7.7, on OS X El Capitan. As you might know, El Capitan introduced a new feature where you can snap side-by-side two apps in fullscreen, and it comes really useful when working with LaTeX to snap the editor and the PDF viewer together.

In this setup, the problem comes when I try to do a backwards search from the PDF to the editor. Clicking on Skim makes the Atom buffer scroll to the right position, but the screen changes away from the fullscreen apps back to the main desktop and focuses on whatever app is found on that desktop (e.g., the Finder). This happens only in fullscreen, while in other contexts the Atom editor gains focus correctly.

I don't know who this bug belongs to. Probably the latextools package is not the responsible component and the bug should be filed to the Atom editor itself, but I filed it here first because it greatly affects the use of the package. Moreover, it could be a problem in Skim, but the same thing with Sublime Text did not happen.

Citation autocompletion for .bib files in TEXMF tree

In #14 it is mentioned that only relative-path .bib files are supported, thus .bib files in the TEXMF tree are not yet supported on Atom (they are on Sublime Text). The functionality would be nice to have - it seems that Sublime LaTeXTools uses kpsewhich to do this.

Currently such files are not found and a message is displayed informing about this.

Uncaught TypeError: Cannot read property 'build' of null

[Enter steps to reproduce below:]

  1. Open .tex file.
  2. Press Command+Option+B to build.

Atom Version: 1.6.0
System: Mac OS X 10.11.3
Thrown From: latextools package, v0.8.0

Stack Trace

Uncaught TypeError: Cannot read property 'build' of null

At /Users/colin/.atom/packages/latextools/lib/latextools.coffee:213

TypeError: Cannot read property 'build' of null
    at atom-text-editor.subscriptions.add.atom.commands.add.latextools:build (/Users/colin/.atom/packages/latextools/lib/latextools.coffee:213:15)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:570:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:378:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:97:36)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)

Commands

     -9:17.2.0 core:move-right (atom-text-editor.editor.is-focused)
  4x -9:11 core:backspace (atom-text-editor.editor.is-focused)
     -8:55.8.0 latextools:dollar-sign (atom-text-editor.editor.is-focused)
     -8:54 core:move-right (atom-text-editor.editor.is-focused)
     -8:53 latextools:dollar-sign (atom-text-editor.editor.is-focused)
     -8:50.4.0 core:move-right (atom-text-editor.editor.is-focused)
 16x -8:49.6.0 core:backspace (atom-text-editor.editor.is-focused)
     -6:38.2.0 core:copy (atom-text-editor.editor.is-focused)
     -6:36.7.0 core:paste (atom-text-editor.editor.is-focused)
  2x -6:31.2.0 core:move-right (atom-text-editor.editor.is-focused)
     -6:18.7.0 core:save (atom-text-editor.editor.is-focused)
     -6:16.6.0 settings-view:open (atom-text-editor.editor.is-focused)
     -6:13.1.0 core:select-all (atom-text-editor.editor.mini.is-focused)
     -1:17.1.0 latextools:build (atom-text-editor.editor.is-focused)
     -1:07.8.0 settings-view:open (atom-text-editor.editor.is-focused)
     -0:02.6.0 latextools:build (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "wrap-guide"
    ]
  },
  "latextools": {
    "builderSettings": {},
    "darwin": {},
    "linux": {},
    "viewer": "pdf-view",
    "win32": {}
  }
}

Installed Packages

# User
autocomplete-bibtex, v0.6.2
autocomplete-php, v0.3.7
autocomplete-python, v1.7.0
autocomplete-ruby, v0.1.0
color-picker, v2.1.1
file-icons, v1.6.18
git-diff-details, v0.23.0
language-hdl, v0.1.4
language-latex, v0.6.1
language-r, v0.4.0
language-x86, v0.1.0
latex, v0.32.0
latextools, v0.8.0
linter, v1.11.3
linter-chktex, v1.2.5
linter-javac, v1.8.1
minimap, v4.21.0
minimap-autohide, v0.10.1
minimap-bookmarks, v0.3.0
minimap-codeglance, v0.4.5
minimap-cursorline, v0.1.0
minimap-find-and-replace, v4.5.0
minimap-git-diff, v4.2.0
minimap-highlight-selected, v4.4.0
minimap-linter, v1.1.1
minimap-pigments, v0.2.0
minimap-split-diff, v0.3.0
pdf-view, v0.50.0
pigments, v0.24.5
remote-edit, v1.8.24
travis-ci-status, v1.0.0

# Dev
No dev packages

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.