Coder Social home page Coder Social logo

tecosaur / latex-utilities Goto Github PK

View Code? Open in Web Editor NEW
482.0 10.0 28.0 1.12 MB

An add-on to LaTeX Workshop that provides some features that go beyond the bare essentials

License: MIT License

TypeScript 97.91% Shell 0.49% AppleScript 0.61% PowerShell 0.93% Batchfile 0.06%
vscode vscode-extension latex zotero

latex-utilities's Introduction

LaTeX Utils logo

version downloads installs rating
CodeFactor GitHub issues GitHub last commit license

LaTeX Utilities

An add-on to the vscode extension LaTeX Workshop that provides some fancy features that are less vital to the basic experience editing a LaTeX document, but can be rather nice to have. The feature should continue to expand at a gradually decreasing rate.

Got an idea? Make a PR!


Features

  • Formatted Pastes
    • Unicode characters 🡒 LaTeX characters (e.g. “is this… a test” 🡒 ``is this\ldots a test'')
    • Paste table cells (from spreadsheet programs or similar) 🡒 tabular
    • Paste images, customisable template
    • Paste location of CSVs/images to have them included
  • Live Snippets (auto-activating, with regex) see here for documentation
  • Word count in status bar
  • Zotero citation management

Documentation

Requirements

  • A LaTeX installation in your path
  • The texcount script (only necessary for the word-count function). Configure using the latex-utilities.countWord.path and latex-utilities.countWord.args settings.
    • Alternatively, install the texcount package from your TeX package manager (e.g., tlmgr) if it doesn't come with your TeX distribution.
  • Zotero with the Better BibTeX extension (only necessary for Zotero functions).

Demos

Formatted Paste (image)

Live Snippets

Zotero Integration




Telemetry

Why

As a bunch of fancy, but non-essential features, it can be hard to know what features users actually derive value from. In adding telemetry to this extension I hope to get an idea of this, and inform future development efforts. It should also be possible to report errors in the background, and so I also hope this extension will be more stable as a result.

At the moment I'm just logging when one of the main features is used.

TLDR; I want to get around the 1% rule

I hate telemetry, go away!

You probably have disabled vscode's telemetry.enableTelemetry then, in which case no telemetry is done.

latex-utilities's People

Contributors

assignuser avatar bnavetta avatar chrisjsewell avatar dependabot-preview[bot] avatar dependabot[bot] avatar dest1n1s avatar hpdell avatar james-yu avatar koppor avatar leoleoasd avatar seragunn avatar tecosaur avatar thefabbiuscorp 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  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  avatar  avatar  avatar  avatar

latex-utilities's Issues

Live preview for equations

Feature Request

Is your feature request related to a problem? Please describe.

I remember that at some point you wanted to do something similar as For TikZ but for equations, is it still in the road map ?

Describe the solution you'd like

Showing live the equation, like in markdown for example.

Beamer frame preview

Feature Request

I would like to be able to preview one frame from a beamer presentation, similar to what's done with tikzpreview.

Is your feature request related to a problem? Please describe.

Nothing particular.

Describe the solution you'd like

I would like something similar to tikzpreview. The script should detect the \begin{frame}...\end{frame} tags.
It would then isolate the current frame and display it in a new tab.
As option, I think it would be great to have the choice to activate the "handout" option.

Describe alternatives you've considered

As alternative, I think a more general version of "preview" would be great. For example, when the cursor is in an environnement, he could activate the preview for this environnement. This would be usefull to create table, arrays and have the preview auto update after a a timeout.

Additional context

Nothing particular.

Local \tikzset are recognized as global

Consider the following MWE

\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
  \draw (0,0) -- (3,0);
  \fill (0,0) circle (1.5pt) node[left] {$A$};
  \fill (3,0) circle (1.5pt) node[right] {$B$};
\end{tikzpicture}

\begin{tikzpicture}
  \tikzset{every node/.style={fill=white,draw}}
  \draw (0,0) -- (0,-2) node[below,minimum size=1cm] {$m$};
\end{tikzpicture}
\end{document}

The second TikZ picture has a \tikzset, but it is only a local one, i.e. all other TikZ pictures are not affected by this \tikzset. To show it, this is the output of the above code

image

However, LaTeX Utilities recognizes the \tikzset as a global one, so the style in the second TikZ picture is also applied to the first. This is the preview of the first TikZ picture, which is obviously not right.

image

I think there should be a boolean checker to check whether a \tikzset should be included in tikzpicture-XXX.tex. This particular case is only a simple case. In some other cases, some options in different local \tikzsets conflict with each other, that may lead to the break of the complete TikZ preview system. Or a minimum size in a local \tikzset can cause weird preview for the other pictures.


Regarding in what case \tikzset should be included, in my personal experience,

  1. If \tikzset is before \begin{document}, always include it.
  2. Otherwise, \tikzset is only applied to TikZ elements in the same group AND after the \tikzset command AND before another \tikzset command of the same group.

(1) is obvious. (2) is almost obvious, but you should test the following case:

Code
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
  \node {1};
\end{tikzpicture}

\begingroup
  \begin{tikzpicture}
    \node {2};
  \end{tikzpicture}
  
  \tikzset{every node/.style={text=red}}

  \begin{tikzpicture}
    \node {3};
  \end{tikzpicture}

  \tikzset{every node/.style={text=blue}}

  \begin{tikzpicture}
    \node {4};
  \end{tikzpicture}
\endgroup

\begin{tikzpicture}
  \node {5};
\end{tikzpicture}
\end{document}

\begingroup can be replaced by \begin{any-environment} and so can \endgroup. Note that any-environment can be tikzpicture itself!

Output

image

Current (21 Aug) preview

image
image
image
image
image


  • Operating system: Windows 10
  • VS Code version: 1.37.1
  • LaTeX Workshop version: 8.0.4
  • LaTeX Utilities version: 0.2.1

texcount output parsing error

Bug Report

Describe the bug

When texcount encounters a \documentclass with arguments that are split over multiple lines like this:

\documentclass[
12pt,
oneside,
parskip=half,
headsepline=true,
]{scrartcl}

it will fail to find the correct class unless it is called with the -relaxed argument (as explained here). This results in a change in the texcount outputs first line to this:

!!! Could not identify document class. !!!
File: test.tex
Encoding: utf8
Words in text: 5689
Words in headers: 57
[...]

Which leads to an empty log output TeXCount output: due to a failure to parse during the call to parseTexcount:

Developer Tools Console ``` Error: String was not valid TexCount output at WordCounter.parseTexCount (c:\Users\User\.vscode-insiders\extensions\tecosaur.latex-utilities-0.3.4\out\src\components\wordCounter.js:119:19) ```

Desktop

  • OS: Windows 10
  • VS Code version: 1.40.0-insider
  • Extension version: 0.3.4

Wordcount is not working

Bug Report

Disable all the other extensions except for LaTeX Workshop and LaTeX Utilities, and check that you still see this issue.

You still see this issue?: Yes

Describe the bug

The version-8 changelog of latex-workshop extension mentions that word counting functionality has been moved to this extension.

But when I search for a command in latex-utilities, there is nothing related to word-count. For instance, the command-pallette does not show anything.
S - 2

The command present in the latex-explorer, also does not do anything when clicked
S - 3

Also there seems to be redundant word-count commands. When searched for word count command, I get the following command
S - 1

Executing this, gives command 'latex-workshop.wordcount' not found

Desktop

  • OS: Linux manjaro
  • VS Code version: 1.37.1
  • Extension version: 0.1.0
  • Latex-Workshop version: 8.0.3

How would one use sympy in snippets?

Assuming that the user has python3 and sympy package installed using the snippets provided by default shouldn't the text sympy 1+1 sympy return the replacemente 2 ?

In my case when I run sympy the text gets replaced by "SYMPY_CALCULATING" and then by an empty string, returning nothing.

Activate/Deactivate features

Feature Request

Is your feature request related to a problem? Please describe.

I read some of the history of moving some features from LW to LU, and it looks promising. The issue I see with LU though is that it will rapidly end up with a lot of new features that can be quite unrelated to one another (which is already the case I think).

Describe the solution you'd like

I do not know how (it is more a thought than a feature request...), but we should always be able to pick the features with want to activate. It is already the case for most of the features (expect formattedPaste from what I have seen), but may be it would be a good idea to organise the code as modularly as possible (which you may have already done, again, just a thought), because I guess it is better to organise the code like that from the start.

tikz preview not working for new files

Slightly difficult to explain as I'm not 100% sure what's going on.

I have my tikz files in a subfolder i.e.

\
    main.tex
    \images
        image1.tikz
        preample.tikz

I've set "files.associations": {"*.tikz" : "latex"}, and latex-utilities.tikzpreview.preambleContents = ./figures/preamble.tikz

Everthing works as expected, I can open image1.tikz and preview works.

But if I add a new file, i.e. image2.tikz, preview isn't applying the preample.tikz so I don't get the styles.

To fix, I have to include the new file in main.tex i.e.

\begin{figure}[ht]
\centering
\input{./figures/image2.tikz}
\end{figure}

As soon as I do this, it seems to register image2.tikz

I suspect it's probably something to do with the fact that latex-utilities.tikzpreview.preambleContents is relative to the main.tex file. I'm trying to get tickz preview to work both when I open the main.tex and when I open the tikz files in the ./figures folder - which I think complicates things?

Non delimited bibtex fields make the parser crash

This is reported in James-Yu/LaTeX-Workshop/issues/1803.

Consider

@reference{dictionary_of_contemporary_english,
    editor = "",
    edition = {Fourth edition},
    title = "Dictionary of Contemporary English",
    publisher = "Longman",
    year = 2003,
    ISBN = 1-405-80673-7
}

and you get

▶ [Extension Host]
rejected promise not handled within 1 second: SyntaxError: Expected "#", ",", "\r\n", "}", or [ \t\n] but "@" found.
  t.log @ console.ts:137
▶ [Extension Host] 
stack trace: SyntaxError: Expected "#", ",", "\r\n", "}", or [ \t\n] but "@" found.
    at peg$buildStructuredError (/home/nawordar/.vscode/extensions/james-yu.latex-workshop-8.4.2/node_modules/latex-utensils/out/src/bibtex/bibtex_parser_simple.js:366:12)
    at Object.peg$parse [as parse] (/home/nawordar/.vscode/extensions/james-yu.latex-workshop-8.4.2/node_modules/latex-utensils/out/src/bibtex/bibtex_parser_simple.js:2011:11)
    at Object.parse (/home/nawordar/.vscode/extensions/james-yu.latex-workshop-8.4.2/node_modules/latex-utensils/out/src/bibtex/bibtex_parser.js:21:30)
    at Function.parseBibtex (/home/nawordar/.vscode/extensions/james-yu.latex-workshop-8.4.2/out/src/components/parser/syntax_worker.js:12:42)
    at process.<anonymous> (/home/nawordar/.vscode/extensions/james-yu.latex-workshop-8.4.2/node_modules/workerpool/dist/workerpool.min.js:25:16221)
    at process.emit (events.js:200:13)
    at emit (internal/child_process.js:876:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:9)
  t.log @ console.ts:137

Slow texdef execution

For the "Go to definition" command is slower than it needs to be. We only need the first line of output. For some texdef commands the first line can be produced well before the command exits.

  • Time for specific command to finish ~3s
  • Time for first line ~1s
  • Time for child_process to get first data ~3s

Hence I suspect that the way this is currently working could benefit from a significant improvement.

Note: most texdef command execute significantly faster, this is just one particular case

Tikz preview does not work with pgfplot and reading data

Bug Report

Disable all the other extensions except for LaTeX Workshop and LaTeX Utilities, and check that you still see this issue.

You still see this issue?: Yes

Describe the bug

Reading data from external file with pgfplot does not work.

To Reproduce

Steps to reproduce the behaviour:

data.csv

1
3
5
5

plot.tex

\documentclass[tikz]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
    \begin{standalone}
        \begin{tikzpicture}
            \begin{axis}[grid]
                \addplot table[x expr= \coordindex, y index= 0] {data.csv};
            \end{axis}
        \end{tikzpicture}  
    \end{standalone}
\end{document}

Expected behaviour

We should see the plot

Screenshots

image

Desktop

  • OS: macOS 10.14.6
  • VS Code version: 1.37.1
  • Extension version: 0.2.1

command not found

Bug Report

Disable all the other extensions except for LaTeX Workshop and LaTeX Utilities, and check that you still see this issue.

You still see this issue?: Yes

Describe the bug

Can not run commands
image

Expected behaviour

A clear and concise description of what you expected to happen.

Logs

Please paste the whole log messages here, not parts of ones. It is very important to identify problems. If you think the logs are unrelated, please say so.

LaTeX Workshop Output
logs here
LaTeX Utilities Output
logs here

Developer Tools Console
logs here

Screenshots

image
image

Desktop

  • OS: [e.g. Windows 10]
  • VS Code version: [e.g. 1.39.2]
  • Extension version: [e.g. 0.3.3]

Additional context

Add any other context about the problem here.

List of triggers for livesnippets

Feature Request

Is your feature request related to a problem? Please describe.

It would be nice to have a list of triggers for the live snippet feature. I suppose that the idea is to mimic a little the workflow of https://castel.dev/post/lecture-notes-1/ but in vscode. For example, the superscript trigger is not clear for me at least.

Describe the solution you'd like

Just a list in the documentation or inside the extension where the user could learn how to trigger all the livesnippets.

Describe alternatives you've considered

Try to decipher the latexUtilsLiveSnippets.json file to learn the triggers.

Additional context

none

Linter for grammar

Feature Request

Is your feature request related to a problem? Please describe.

Since the issue has been closed in James-Yu/LaTeX-Workshop#881 (comment), I open an issue here in case you are interested in adding more linters.

Describe the solution you'd like

As I said in the previous link, we could add TeXtidote which uses LanguageTools in latex documents. It just strips out latex from your document, calls LanguageTools which then checks spell and grammar for a lot of languages. TeXtidote then computes where are the locations of the errors/warning in your document.

There was an issue (solved now) to have an easy-to-parse output (see here), so I guess it would not be too difficult to use.

It main be expensive to run it at every save for example, but having a command to call it would be nice.

How to configure latex-utilities.countWord.args?

Hi there, I am a beginner with LatTeX via VSCode, I was able to set up all everything I needed to start a document and build/display it correctly, however I am unable to see the wordCount currently.

I have the following settings:

{
    "workbench.iconTheme": "vscode-icons",
    "latex-workshop.view.pdf.viewer": "tab",
    "workbench.startupEditor": "newUntitledFile",
    "latex-utilities.countWord.path": "/.config/TeXcount/texcount.pl",
    "latex-utilities.countWord.args": ["-merge %DOC%"]
}

And currently set WordCount shortcut as ctrl+alt+w but still nothing happens, I tried Googling around but was not able to find a solution. Any help on this would be appreciated!

Thanks

Image paste: sub-folder tex files not working

Feature Request

Is your feature request related to a problem? Please describe.

I am using a project structure where chapters have sub-folders which are then \input from the root folder. I also set graphicspath and would like to use the image paste feature.

However, when using graphicspath, the paste feature will place the image relative to the current .tex file, while graphicspath will only search the root/ directory, leading to the resulting .tex file not compiling, because either paste should include the relative path to the current tex file in the path to the image or place the image in the root/ directory, as expected by pdftex.

Bildschirmfoto 2019-11-05 um 12 47 10

In the screenshot you can see the result of configuring graphicspath as diag and pasting a diag.png into intro.tex. pdftex can't find the file because it's in a sub-folder.

When not using graphicspath the paste command will use no parent-path, leading to the same issue: the image is dropped into the folder of the tex file (which is not the tex-root, so pdftex doesn't see the image)

Describe the solution you'd like

Pasting the file should use the texpath / texroot path instead of the current directory of the file being edited

Describe alternatives you've considered

alternatively, pasting the file should append the current directory for the imagePath variable (or add another variable to use for this case)

Could not find definition for (tex command name)

Bug

When I press Ctrl and hover mouse over a command, an error pops up. It doesn't matter whether it's a custom command defined in the document, or a standard LaTeX command.
Could not find definition for \pagebreak

LaTeX Utilities Output

[11:27:46] Running command texdef --source --Find --tex latex --class [10pt,a4paper]article \pagebreak
[11:27:46] Could not find definition for \pagebreak

System info

  • OS: elementary 5.1 Hera (based on Ubuntu 18.04.3)
  • VS Code version: 1.41.1
  • Extension version: 0.3.6

Documentation lacking

Greetings,
I've been searching, unsuccessfully, for documentation on how to customize the image paste feature. It is unclear which file needs to be modified and what needs to be put there to get the functionality shown in the "demo" of this feature.

There doesn't seem to be any clear documentation of this package.

0.3.5 breaks "cite from zotero"

I just received the update to 0.3.5 an hour ago and noticed that it breaks citing from zotero. Returning to 0.3.4 fixes the issue.

To Reproduce

  1. start citing from zotero
  2. type anything
  3. nothing happens

output log:

[15:14:14] Searching Zotero for "d"
[15:14:14] Searching Zotero failed: The `body`, `json` and `form` options are mutually exclusive
  • OS: Windows 10
  • VS Code version: 1.41.1
  • Extension version: 0.3.5

Incorrect folder path separator at image paste

Bug Report

Disable all the other extensions except for LaTeX Workshop and LaTeX Utilities, and check that you still see this issue.

You still see this issue?: Yes

Describe the bug

OS: Windows 10

  1. When I paste an image from clipboard, I add folder to path "img/image2020.png", but in code it becomes "img\image2020.png" (slash in changed) and LaTeX can'r find image file.

  2. It would be great, if in extension settings I could set default subfolder of project to save images. It would be useful also because now extension don't increment filename, if I save them in subfolder

To Reproduce

Steps to reproduce the behaviour:

  1. Copy some image to clipboard
  2. Go to LaTeX file
  3. Go to LaTeX Utilities: Paste formatted content
  4. Add subfolder to name (e.g. "img/image2020.png")
  5. Try to build pdf

Expected behaviour

To get the same path, as I set: "img/image2020.png"

Logs

Please paste the whole log messages here, not parts of ones. It is very important to identify problems. If you think the logs are unrelated, please say so.

I think, logs are not necessary.

Screenshots

image

Desktop

  • OS: Windows 10
  • VS Code version: 1.37.1
  • Extension version: 8.1.0/0.2.2 (LaTeX Workshop / LaTeX Utilities)

No image in clipboard

Bug Report

Disable all the other extensions except for LaTeX Workshop and LaTeX Utilities, and check that you still see this issue.

You still see this issue?: Yes

Describe the bug

When I use formated past to paste an image, firstly I copy the image and then, when I paste it in the vscode, the message show that 'No image in clipboard'.

Logs

No image in clipboard

Desktop

Version: 1.38.1 (user setup)
Commit: b37e54c98e1a74ba89e03073e5a3761284e3ffb0
Date: 2019-09-11T13:35:15.005Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.18362

Tikz preview not working

Bug Report

Disable all the other extensions except for LaTeX Workshop and LaTeX Utilities, and check that you still see this issue.

You still see this issue?: Yes

Describe the bug

The following Tikz picture does not work, there is an issue with the size of the picture.

% !TeX encoding =UTF-8 Unicode
\documentclass[tikz]{standalone}
\usepackage{tikz-qtree}
\tikzset{grow'=down}

\begin{document}
    \begin{standalone}
        \begin{tikzpicture}[level distance=30pt,
                            sibling distance=10pt,
                            every tree node/.style={draw,circle,inner sep=0pt,minimum size=3pt},
                            edge from parent path={(\tikzparentnode) -- (\tikzchildnode)},
                            ]
            \Tree   [. \node[label=above:1] {}; 
                        \edge node[auto=left,pos=.6] {$B$};
                            [. \node[fill=black,label=below:{3,3}] {}; ]
                        \edge node[auto=right,pos=.6] {$A$};
                            [.\node[fill=black,label=above left:2] {}; 
                                \edge node[auto=left,pos=.6] {$D$};
                                    [.\node[fill=black,label=below:{1,1}] {}; ]
                                \edge node[auto=right,pos=.6] {$C$};
                                [.\node[fill=black,label=above left:1] {}; 
                                \edge node[auto=left,pos=.6] {$F$};
                                    [.\node[fill=black,label=below:{2,2}] {}; ]
                                \edge node[auto=right,pos=.6] {$E$};
                                    [.\node[fill=black,label=above left:2] {}; ] 
                                ]
                            ]
                    ]     
        \end{tikzpicture}   
    \end{standalone}
\end{document}

To Reproduce

Steps to reproduce the behaviour:

  1. Take the previous example.

Expected behaviour

A clear and concise description of what you expected to happen.

Screenshots

image

Desktop

  • OS: 10.14.6
  • VS Code version: 1.37.1
  • Extension version: 0.2.1

Live Snippets inside dollars delimiter `$$` did not perform well

Bug Report

Disable all the other extensions except for LaTeX Workshop and LaTeX Utilities, and check that you still see this issue.

You still see this issue?: Yes

Describe the bug

When I use $$ $$ and $ $ as math text delimiters instead of \[ \] and \( \) and input some text, Live Snippets did not perform. But weirdly, if I input something in \[\] beforehand and move cursor into an empty area (which must be below the \[\]) surrounded by the dollars sign and input there, live snippet performed normally.

To Reproduce

Steps to reproduce the behaviour:

  1. input $$$$.
  2. input between dollars sign, like a1. Live snippet will not perform.
  3. input \[\] in next line and input a1 between them. It will perform well.
  4. input $$$$ in next line and input a1 between them. It will not perform.
  5. delete the a1 just inputted. move cursor to \[a_1\] and do some edit, like delete 1.
  6. move cursor back to $$$$ and input a1. It performed well.
  7. but if you do the same thing to the $$$$ above, it will still not perform.

Expected behaviour

live snippets inside $$$$ perform normally.

Logs

I think the logs are unrelated, but I'll still paste here.

LaTeX Workshop Output
[18:44:34] Initializing LaTeX Workshop.
[18:44:35] Creating LaTeX Workshop http and websocket server.
[18:44:35] LaTeX Workshop initialized.
[18:44:35] Server created on 127.0.0.1:4891
[18:44:35] LaTeX Workshop version: 8.4.1
[18:44:35] Snippet data loaded.
LaTeX Utilities Output
[18:44:35] Initializing LaTeX Utilities.
[18:44:35] Live Snippets Loaded
[18:44:35] Completion Watcher Initialised
[18:44:35] LaTeX Utilities Started
[18:44:36] TeXCount output: 0+0+0 (0/0/0/2) File: test.tex
[18:44:40] TeXCount output: 0+0+0 (0/0/0/0) File: test.tex
[18:44:43] TeXCount output: 0+0+0 (0/0/0/1) File: test.tex

There's still many lines of texcount output below, but I think they are irrelevant.

Developer Tools Console

None

Screenshots

Desktop

  • OS: Windows 10
  • VS Code version: 1.40.1
  • Extension version: 0.3.4

latex-utilities.tikzpreview.delay does not seem to be respected

Bug Report

Disable all the other extensions except for LaTeX Workshop and LaTeX Utilities, and check that you still see this issue.

You still see this issue?: Yes

Describe the bug

Setting the option "latex-utilities.tikzpreview.delay" does not seem to have an effect. TikZ previews are recompiled as soon as a key is pressed. This can lead to huge lags while typing for more complex pictures, rendering it nearly impossible to edit the text.

To Reproduce

Create new file and paste any TikZ code, for example

\begin{tikzpicture}
    \foreach \i in {1,2,...,100} {
        \fill[fill=red] (1.5*\i, 0) circle[radius=0.5];
    }
    \fill[fill=black] (0,0) rectangle (1,2);
\end{tikzpicture}

and press 'View TikZ Picture'. Change something, the color or whatever. It immediatly starts the recompile at every keystroke.

Expected behaviour

Start the recompile and refresh the viewer after the delay milliseconds after the last keystroke. Reset the timer at every keystroke.

Logs

Please paste the whole log messages here, not parts of ones. It is very important to identify problems. If you think the logs are unrelated, please say so.

LaTeX Workshop Output
[10:29:07] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:07] Handle data type: position
[10:29:07] Parsing /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex
[10:29:07] File watcher: responding to change in /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex
[10:29:07] /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex changed. Auto build project.
[10:29:07] BUILD command invoked.
[10:29:07] Building root file: /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex
[10:29:07] Build root file /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex
[10:29:07] Recipe step 1: latexmk, -synctex=1,-interaction=nonstopmode,-file-line-error,-pdf,-outdir=/tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY,/tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029
[10:29:07] LaTeX build process spawned. PID: 10125.
[10:29:07] Preview PDF file: /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:08] Handle data type: loaded
[10:29:08] LaTeX log parsed with 0 messages.
[10:29:08] Recipe of length 1 finished. PID: 10125.
[10:29:08] Successfully built /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex.
[10:29:08] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:08] Handle data type: position
[10:29:09] Preview PDF file: /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:09] Handle data type: loaded
[10:29:27] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:27] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:27] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:28] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:29] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:29] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:29] Parsing /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex
[10:29:29] File watcher: responding to change in /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex
[10:29:29] /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex changed. Auto build project.
[10:29:29] BUILD command invoked.
[10:29:29] Building root file: /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex
[10:29:29] Handle data type: position
[10:29:29] Handle data type: position
[10:29:29] Handle data type: position
[10:29:29] Handle data type: position
[10:29:29] Handle data type: position
[10:29:29] Handle data type: position
[10:29:29] Build root file /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex
[10:29:29] Recipe step 1: latexmk, -synctex=1,-interaction=nonstopmode,-file-line-error,-pdf,-outdir=/tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY,/tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029
[10:29:29] LaTeX build process spawned. PID: 10154.
[10:29:31] LaTeX log parsed with 0 messages.
[10:29:31] Recipe of length 1 finished. PID: 10154.
[10:29:31] Successfully built /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex.
[10:29:31] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:31] Preview PDF file: /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:31] Handle data type: position
[10:29:31] Preview PDF file: /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:31] Handle data type: loaded
[10:29:37] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:37] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:37] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:38] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:39] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:39] Handle data type: position
[10:29:39] Handle data type: position
[10:29:39] Handle data type: position
[10:29:39] Handle data type: position
[10:29:39] Handle data type: position
[10:29:39] Parsing /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex
[10:29:39] File watcher: responding to change in /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex
[10:29:39] /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex changed. Auto build project.
[10:29:39] BUILD command invoked.
[10:29:39] Building root file: /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex
[10:29:39] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:40] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:41] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:41] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:42] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:42] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:42] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:43] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:43] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:44] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:44] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:45] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:45] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:45] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:46] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:46] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:46] Build root file /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex
[10:29:46] Recipe step 1: latexmk, -synctex=1,-interaction=nonstopmode,-file-line-error,-pdf,-outdir=/tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY,/tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029
[10:29:46] LaTeX build process spawned. PID: 10228.
[10:29:46] Parsing /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex
[10:29:46] File watcher: responding to change in /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex
[10:29:46] Auto Build Run is temporarily disabled during a second.
[10:29:46] Handle data type: position
[10:29:46] Handle data type: position
[10:29:46] Handle data type: position
[10:29:46] Handle data type: position
[10:29:46] Handle data type: position
[10:29:46] Handle data type: position
[10:29:46] Handle data type: position
[10:29:46] Handle data type: position
[10:29:46] Handle data type: position
[10:29:46] Handle data type: position
[10:29:46] Handle data type: position
[10:29:46] Handle data type: position
[10:29:46] Handle data type: position
[10:29:46] Handle data type: position
[10:29:46] Handle data type: position
[10:29:46] Handle data type: position
[10:29:46] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:47] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:48] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:48] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:48] Parsing /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex
[10:29:48] File watcher: responding to change in /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex
[10:29:48] /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex changed. Auto build project.
[10:29:48] BUILD command invoked.
[10:29:48] Building root file: /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex
[10:29:48] Handle data type: position
[10:29:48] Handle data type: position
[10:29:48] Handle data type: position
[10:29:48] Handle data type: position
[10:29:48] LaTeX log parsed with 5 messages.
[10:29:48] Recipe returns with error: 12/null. PID: 10228. message: Latexmk: This is Latexmk, John Collins, 18 June 2019, version: 4.65.
Latexmk: In reading rule 'pdflatex' in '/tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.fdb_latexmk',
  destination has different name than configured...
Rule 'pdflatex': File changes, etc:
   Changed files, or newly in use since previous run(s):
      'tikzpicture-18719029.tex'
------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex  -synctex=1 -interaction=nonstopmode -file-line-error -recorder -output-directory="/tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY"  "/tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex"'
------------
Collected error summary (may duplicate other messages):
  pdflatex: Command for 'pdflatex' gave return code 1
      Refer to '/tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.log' for details
Latexmk: Use the -f option to force complete processing,
 unless error was exceeding maximum runs, or warnings treated as errors.
.
[10:29:48] Cleaning auxillary files and retrying build after toolchain error.
[10:29:48] File cleaned: /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.aux
[10:29:48] File cleaned: /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.fdb_latexmk
[10:29:48] File cleaned: /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.fls
[10:29:48] File cleaned: /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.log
[10:29:48] Recipe step 1: latexmk, -synctex=1,-interaction=nonstopmode,-file-line-error,-pdf,-outdir=/tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY,/tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029
[10:29:48] LaTeX build process spawned. PID: 10243.
[10:29:50] LaTeX log parsed with 0 messages.
[10:29:50] Recipe of length 1 finished. PID: 10243.
[10:29:50] Successfully built /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex.
[10:29:50] Refresh PDF viewer for /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:50] Build root file /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex
[10:29:50] Recipe step 1: latexmk, -synctex=1,-interaction=nonstopmode,-file-line-error,-pdf,-outdir=/tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY,/tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029
[10:29:50] LaTeX build process spawned. PID: 10263.
[10:29:51] Handle data type: position
[10:29:51] Recipe of length 1 finished. PID: 10263.
[10:29:51] Successfully built /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.tex.
[10:29:52] Preview PDF file: /tmp/vscode-latexutils/tikzpreview-code_test-e1gLrY/tikzpicture-18719029.pdf
[10:29:52] Handle data type: loaded

LaTeX Utilities Output
[10:16:46] Initializing LaTeX Utilities.
[10:16:46] Live Snippets Loaded
[10:16:46] Completion Watcher Initialised
[10:16:46] LaTeX Utilities Started
[10:16:46] TeXCount output: 
[10:17:14] TeXCount output: 
[10:17:16] Viewing TikZ Picture starting on line 2
[10:17:17] TeXCount output: 
[10:18:00] TeXCount output: 
[10:18:08] TeXCount output: 
[10:18:10] TeXCount output: 
[10:18:39] Viewing TikZ Picture starting on line 2
[10:18:39] TeXCount output: 
[10:18:47] TeXCount output: 
[10:18:48] TeXCount output: 
[10:19:01] TeXCount output: 
[10:19:20] TeXCount output: 
[10:19:25] TeXCount output: 
[10:19:31] TeXCount output: 
[10:20:55] TeXCount output: 
[10:20:56] TeXCount output: 
[10:27:49] TeXCount output: 
[10:28:18] TeXCount output: 
[10:28:24] TeXCount output: 
[10:28:53] TeXCount output: 
[10:29:07] TeXCount output: 
[10:29:30] TeXCount output: 
[10:29:46] TeXCount output: 
[10:29:49] TeXCount output: 
[10:33:24] TeXCount output: 

Developer Tools Console
console.ts:137 [Extension Host] Error when JSON.parse theme files.
console.ts:137 [Extension Host] Unexpected token ] in JSON at position 3948
console.ts:137 [Extension Host] Error when JSON.parse theme files.
console.ts:137 [Extension Host] Unexpected token ] in JSON at position 3948
console.ts:137 [Extension Host] Took 373ms to recompile tikzpicture
mainThreadExtensionService.ts:65 [[object Object]]String was not valid TexCount output
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: String was not valid TexCount output
	at WordCounter.parseTexCount (/tmp/code_tmp_profile_extensions/tecosaur.latex-utilities-0.3.3/out/src/components/wordCounter.js:115)
	at ChildProcess.proc.on.exitCode (/tmp/code_tmp_profile_extensions/tecosaur.latex-utilities-0.3.3/out/src/components/wordCounter.js:65)
	at ChildProcess.emit (events.js:182)
	at Process.ChildProcess._handle.onexit (internal/child_process.js:240)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
webviewElement.ts:303 [Embedded Page] PDF f8f29820bac788e65878d60b2b00c8cd [1.5 pdfTeX-1.40.20 / TeX] (PDF.js: 2.1.266)
webviewElement.ts:303 [Embedded Page] PDF a8418e746afc4b19eb202b3103caf734 [1.5 pdfTeX-1.40.20 / TeX] (PDF.js: 2.1.266)
console.ts:137 [Extension Host] Error when JSON.parse theme files.
console.ts:137 [Extension Host] Unexpected token ] in JSON at position 3948
console.ts:137 [Extension Host] Error when JSON.parse theme files.
console.ts:137 [Extension Host] Unexpected token ] in JSON at position 3948
console.ts:137 [Extension Host] Error when JSON.parse theme files.
console.ts:137 [Extension Host] Unexpected token ] in JSON at position 3948
console.ts:137 [Extension Host] latexmk failed to compile standalone tikzpicture
console.ts:137 [Extension Host] latexmk failed to compile standalone tikzpicture
console.ts:137 [Extension Host] latexmk failed to compile standalone tikzpicture
console.ts:137 [Extension Host] latexmk failed to compile standalone tikzpicture
console.ts:137 [Extension Host] latexmk failed to compile standalone tikzpicture
console.ts:137 [Extension Host] Took 619ms to recompile tikzpicture
mainThreadExtensionService.ts:65 [[object Object]]String was not valid TexCount output
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: String was not valid TexCount output
	at WordCounter.parseTexCount (/tmp/code_tmp_profile_extensions/tecosaur.latex-utilities-0.3.3/out/src/components/wordCounter.js:115)
	at ChildProcess.proc.on.exitCode (/tmp/code_tmp_profile_extensions/tecosaur.latex-utilities-0.3.3/out/src/components/wordCounter.js:65)
	at ChildProcess.emit (events.js:182)
	at Process.ChildProcess._handle.onexit (internal/child_process.js:240)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
webviewElement.ts:303 [Embedded Page] PDF 9c6da5dbd2f3a5a9cf79baa2b578d294 [1.5 pdfTeX-1.40.20 / TeX] (PDF.js: 2.1.266)
webviewElement.ts:303 [Embedded Page] PDFViewer._setScale: "null" is an unknown zoom value.
console.ts:137 [Extension Host] Error when JSON.parse theme files.
console.ts:137 [Extension Host] Unexpected token ] in JSON at position 3948
console.ts:137 [Extension Host] Error when JSON.parse theme files.
console.ts:137 [Extension Host] Unexpected token ] in JSON at position 3948
console.ts:137 [Extension Host] latexmk failed to compile standalone tikzpicture
console.ts:137 [Extension Host] latexmk failed to compile standalone tikzpicture
console.ts:137 [Extension Host] latexmk failed to compile standalone tikzpicture
console.ts:137 [Extension Host] latexmk failed to compile standalone tikzpicture
console.ts:137 [Extension Host] Took 458ms to recompile tikzpicture
log.ts:190  WARN Aborted onWillSaveTextDocument-event after 1750ms
console.ts:137 [Extension Host] latexmk failed to compile standalone tikzpicture
console.ts:137 [Extension Host] Took 1013ms to recompile tikzpicture
console.ts:137 [Extension Host] latexmk failed to compile standalone tikzpicture
console.ts:137 [Extension Host] Took 355ms to recompile tikzpicture
console.ts:137 [Extension Host] latexmk failed to compile standalone tikzpicture
console.ts:137 [Extension Host] Took 358ms to recompile tikzpicture
console.ts:137 [Extension Host] latexmk failed to compile standalone tikzpicture
console.ts:137 [Extension Host] Took 411ms to recompile tikzpicture
console.ts:137 [Extension Host] latexmk failed to compile standalone tikzpicture
console.ts:137 [Extension Host] Took 810ms to recompile tikzpicture
console.ts:137 [Extension Host] latexmk failed to compile standalone tikzpicture
console.ts:137 [Extension Host] Took 315ms to recompile tikzpicture
console.ts:137 [Extension Host] latexmk failed to compile standalone tikzpicture
console.ts:137 [Extension Host] Took 278ms to recompile tikzpicture
console.ts:137 [Extension Host] latexmk failed to compile standalone tikzpicture
console.ts:137 [Extension Host] Took 282ms to recompile tikzpicture
mainThreadExtensionService.ts:65 [[object Object]]String was not valid TexCount output
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: String was not valid TexCount output
	at WordCounter.parseTexCount (/tmp/code_tmp_profile_extensions/tecosaur.latex-utilities-0.3.3/out/src/components/wordCounter.js:115)
	at ChildProcess.proc.on.exitCode (/tmp/code_tmp_profile_extensions/tecosaur.latex-utilities-0.3.3/out/src/components/wordCounter.js:65)
	at ChildProcess.emit (events.js:182)
	at Process.ChildProcess._handle.onexit (internal/child_process.js:240)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
console.ts:137 [Extension Host] latexmk failed to compile standalone tikzpicture
console.ts:137 [Extension Host] Took 354ms to recompile tikzpicture
console.ts:137 [Extension Host] latexmk failed to compile standalone tikzpicture
console.ts:137 [Extension Host] Took 294ms to recompile tikzpicture
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]String was not valid TexCount output
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: String was not valid TexCount output
	at WordCounter.parseTexCount (/tmp/code_tmp_profile_extensions/tecosaur.latex-utilities-0.3.3/out/src/components/wordCounter.js:115)
	at ChildProcess.proc.on.exitCode (/tmp/code_tmp_profile_extensions/tecosaur.latex-utilities-0.3.3/out/src/components/wordCounter.js:65)
	at ChildProcess.emit (events.js:182)
	at Process.ChildProcess._handle.onexit (internal/child_process.js:240)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:65 [[object Object]]Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
mainThreadExtensionService.ts:66 Error: Can't Display Progress for non-Started build - see BuildInfo.buildStarted()
	at BuildInfo.newStdoutLine (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/buildinfo.js:56)
	at Socket.currentProcess.stdout.on.newStdout (/tmp/code_tmp_profile_extensions/james-yu.latex-workshop-8.2.0/out/src/components/builder.js:223)
	at Socket.emit (events.js:182)
	at addChunk (_stream_readable.js:283)
	at readableAddChunk (_stream_readable.js:264)
	at Socket.Readable.push (_stream_readable.js:219)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:66
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
_socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
_register._socket.onData.e @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
webviewElement.ts:303 [Embedded Page] PDF 0e7fd100cf2b6ae9047c414ab3c93f15 [1.5 pdfTeX-1.40.20 / TeX] (PDF.js: 2.1.266)
webviewElement.ts:303 [Embedded Page] PDFViewer._setScale: "null" is an unknown zoom value.

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop

  • OS: Arch Linux
  • VS Code version: 1.39.2
  • Extension version: 0.3.3 (LaTeX Workshop 8.2.0)

Additional context

OT: Would also be happy, about a manual recompile option without closing the viewer.

Default Values in tabstops not working

Bug Report

Disable all the other extensions except for LaTeX Workshop and LaTeX Utilities, and check that you still see this issue.

You still see this issue?: Yes

Describe the bug

Can't use default values in tabstops in live snippets

To Reproduce

Steps to reproduce the behaviour:

Use this snippet:
{
"prefix": "\bdint$",
"body": "\int_{$${1:-\infty}}^{$${2:\infty}} ",
"mode": "maths",
"triggerWhenComplete": true
}

Will yield:
\int_{${1:-\infty}}^{${2:\infty}}

Expected behaviour

Should've yielded \int_{-\infty}^{\infty} with two tabstops at each argument of the integral.

Desktop

  • OS: Windows 10
  • VS Code version: 1.38.1
  • Extension version: 0.3.0

Off-topic: Sorry for bothering you so much today. ☹️

Pasting tables larger than 2xN doesn't auto-format

Bug Report

Disable all the other extensions except for LaTeX Workshop and LaTeX Utilities, and check that you still see this issue.

You still see this issue?: Yes

Describe the bug

Copying and pasting matrices/tables form Excel into a .tex file doesn't automatically get formatted for matrix dimensions greater than 2 x N. It seems to work well for an arbitrary number of columns, but it doesn't work for more than two rows.

Instead of a nicely formatted table, the rows just get pasted as a single line of numbers.

To Reproduce

Steps to reproduce the behaviour:

Open fresh Excel document. Type in random numbers in a 3 x 2 matrix. Copy the numbers and paste them into a .tex file in VS Code using ctrl + shift + V. See that the result is not as expected.

Expected behaviour

Pasting using ctrl + shift + V should result in a LaTeX-formatted table for matri

Logs

Please paste the whole log messages here, not parts of ones. It is very important to identify problems. If you think the logs are unrelated, please say so.

LaTeX Workshop Output
Logs unrelated, I think. 
LaTeX Utilities Output
[19:52:41] Performing formatted paste
[19:52:41] Pasting: Table
[19:52:41] No table found
Developer Tools Console
Not sure about suspicious things here. 

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop

  • OS: Windows 10
  • VS Code version: 1.40.0
  • Extension version: 0.3.4

Additional context

Add any other context about the problem here.

Request for feedback: is localisation a good idea?

Now that there's some light telemetry going on, I have noticed that the majority of the users are from non-english speaking countries.

image

This has me wondering whether it could be worth providing localisation for the few messages/prompts that this extension produces.

To all non-english users: what do you think?

Edit Live Snippets File fails on OSS

Description

Running the "Edit Live Snippets File" command produces an error "Running the contributed command: 'latex-utilities.editLiveSnippetsFile' failed."

Logs

The developer tools console logs show something of interest, but the LaTeX Workshop and LaTeX Utilities logs show nothing out of the ordinary.

Developer Tools Console
notificationsAlerts.ts:38 Error: Running the contributed command: 'latex-utilities.editLiveSnippetsFile' failed.
	at v._executeContributedCommand (/usr/lib/code/out/vs/workbench/services/extensions/node/extensionHostProcess.js:539)
	at v.$executeContributedCommand (/usr/lib/code/out/vs/workbench/services/extensions/node/extensionHostProcess.js:539)
	at p._doInvokeHandler (/usr/lib/code/out/vs/workbench/services/extensions/node/extensionHostProcess.js:663)
	at p._invokeHandler (/usr/lib/code/out/vs/workbench/services/extensions/node/extensionHostProcess.js:662)
	at p._receiveRequest (/usr/lib/code/out/vs/workbench/services/extensions/node/extensionHostProcess.js:661)
	at p._receiveOneMessage (/usr/lib/code/out/vs/workbench/services/extensions/node/extensionHostProcess.js:660)
	at /usr/lib/code/out/vs/workbench/services/extensions/node/extensionHostProcess.js:658
	at l.fire (/usr/lib/code/out/vs/workbench/services/extensions/node/extensionHostProcess.js:46)
	at _.fire (/usr/lib/code/out/vs/workbench/services/extensions/node/extensionHostProcess.js:189)
	at /usr/lib/code/out/vs/workbench/services/extensions/node/extensionHostProcess.js:820
	at l.fire (/usr/lib/code/out/vs/workbench/services/extensions/node/extensionHostProcess.js:46)
	at _.fire (/usr/lib/code/out/vs/workbench/services/extensions/node/extensionHostProcess.js:189)
	at t.PersistentProtocol._receiveMessage (/usr/lib/code/out/vs/workbench/services/extensions/node/extensionHostProcess.js:193)
	at /usr/lib/code/out/vs/workbench/services/extensions/node/extensionHostProcess.js:190
	at l.fire (/usr/lib/code/out/vs/workbench/services/extensions/node/extensionHostProcess.js:46)
	at p.acceptChunk (/usr/lib/code/out/vs/workbench/services/extensions/node/extensionHostProcess.js:186)
	at /usr/lib/code/out/vs/workbench/services/extensions/node/extensionHostProcess.js:186
	at Socket.t (/usr/lib/code/out/vs/workbench/services/extensions/node/extensionHostProcess.js:195)
	at Socket.emit (events.js:200)
	at addChunk (_stream_readable.js:294)
	at readableAddChunk (_stream_readable.js:275)
	at Socket.Readable.push (_stream_readable.js:210)
	at Pipe.onStreamRead (internal/stream_base_commons.js:166)

Desktop

  • OS: Manjaro Linux
  • VS Code version: 1.41.1
  • Extension version: 0.3.4

Additional context

I suspect that this issue is due to an incorrect codeFolder set here. I am running Code - OSS, not Visual Studio Code (info about the difference), so my user config is at ~/.config/Code - OSS/User/ instead of ~/.config/Code/User/.

Thanks for the great work!

Add Telemetry

As a bunch of fancy, but non-essential features, it can be hard to know what features users actually derive value from. Adding telemetry to this extension would help get an idea of this, and inform future development efforts. It should also be possible to report errors in the background, and so may also improve the stability of this extension.

So, it may be worth incorporating https://github.com/microsoft/vscode-extension-telemetry into this extension.

Count word in LaTeX document leads to ENOENT error (possibly my configuration)

Bug Report

Disable all the other extensions except for LaTeX Workshop and LaTeX Utilities, and check that you still see this issue.

You still see this issue?: Yes

Describe the bug

When running the Count words in LaTeX docuement no output is returned, the logs indicate the document path is perhaps not being correctly passed to the script (I think?) Cannot count words: spawn C:\Users\rlhil\Documents\TeXcount_3_1_1\texcount ENOENT,. The count works fine when I manually provide the path to the script and .tex file using perl in PowerShell. Possibly a repeat of #47

To Reproduce

test.tex

\documentclass[10pt]{article}
\begin{document}
\title{A Test doc}
\author{Me}
\date{\today}
\maketitle
\thispagestyle{empty}
\begin{abstract}
Test
\end{abstract}
\clearpage
\section{Test} % (fold)
Test
\end{document}

settings.json (tried both with/without using xelatex):

{
    "latex-workshop.view.pdf.viewer": "tab",
    "latex-workshop.latex.tools": [
        {
            "name": "latexmk",
            "command": "latexmk",
            "args": [
                "-xelatex",
                "-synctex=1",
                "-interaction=nonstopmode",
                "-file-line-error",
                "%DOC%"
            ]
        }
    ],
    "latex-utilities.countWord.path": "C:\\Users\\rlhil\\Documents\\TeXcount_3_1_1\\texcount",
    "kite.showWelcomeNotificationOnStartup": false
}

Expected behaviour

Whatever the count output should be (I believe an info bar box?)

Logs

LaTeX Workshop Output
Cannot count words: spawn C:\Users\rlhil\Documents\TeXcount_3_1_1\texcount ENOENT, 

Desktop

  • OS: Windows 10
  • VS Code version: 1.41.1
  • Extension version: 0.3.4

Add a Wiki

The feature set is small right now, so I'm thinking either one large page or one page per feature.

Make Live Snippet working with multiple cursors

Feature Request

It would be nice to have snippet triggers also when using multi cursors.

Is your feature request related to a problem? Please describe.

No.

Describe the solution you'd like

Create multiple cursor.
When writing, for example xhat , all cursors should trigger the snippet.

Describe alternatives you've considered

No alternative... except copy paste afterwards.

Support circuitikz

circuitikz is a tikz derivative package for typesetting electrical circuits (https://www.overleaf.com/learn/latex/CircuiTikz_package). Is there a way of configuring Latex-Utilities to display circuitikz images? If not could it be added? I assume you need to recognise the \begin{circuitikz} / \end{circuitikz} environment and load the circuitikz package and hopefully that's enough?

i.e.
\usepackage{circuitikz}

    \begin{circuitikz}[american voltages, american currents]
        \draw
        % rotor circuit
        (0,0) to [short] (4,0)
        node[label={$T_z$}] {}
        (4,0) to [R, l=$R_b$] (6,0)
        node[label={$T_b$}] {}
        (6,0) to [R, l=$R_e$] (8,0)
        (0,-3) to [I, l_=$\dot{Q}_{c}$] (0,0) % cooling
        (2,-3) to [I, l_=$\dot{Q}_{o}$] (2,0) % occupancy
        (4,-3) to [C, l_=$C_z$, -*] (4,0) % zone capacitance
        (6,-3) to [C, l_=$C_b$, -*] (6,0) % building capacitance
        (8,0) to [V, v=$T_e$, *-] (8,-3) % external temp
        (8,-3) to [short] (0,-3)
        ;
    \end{circuitikz}

Prevent Autocomplete when deleting characters (\hat etc.)

Feature Request

Is your feature request related to a problem? Please describe.

When using some of the default live snippets it happens that for example when writing:
"hat" it switches to "\hat{}" with the cursor inside the brackets as it should. However if one tries now to delete the text after removing the { character the engine will match "hat" again and we get "\\hat{}" being unable to delete the text unless one selects the word.

Describe the solution you'd like

A workaround this is if there is some way of disabling the live snippet engine when we delete characters instead of inserting. Or is there a workaround that I'm not seeing?

Edit: I should probably add the regex im using

{
    "prefix": "\\bhat$",
    "body": "\\hat{$$1} $$0",
    "mode": "maths",
    "triggerWhenComplete": true,
    "description": "hat",
    "priority": 10
}

Change name and description of `latex-utilities.tikzpreview.parseTeXFile`

Enable important tikz code in the current TeX file to be included in tikzpreview standalone file

This is not really a good description of what this variable actually does in the code. It controls whether the content read from the preamble file (not the current TeX file) is filtered for only tikz specific commands.

See:

if (!configuration.get('parseTeXFile') as boolean) {

I suggest changing the name to latex-utilities.tikzpreview.filterPreamble (then reversing the conditional in the code), and the description to something like:

Filter the preamble file for tikz related commands only, before adding to the tikzpreview standalone file.

Question: How do I save images to a subfolder of the edited documents folder?

Greetings,

Is it possible to save images to a subfolder of the documents folder? For example, if the document being edited is in the folder

/home/gary/documents/latex_files/

I would like images stored in

/home/gary/documents/latex_files/img/

Here's what I currently have in settings.json:

{
"latex-workshop.view.pdf.viewer": "tab",
"workbench.colorTheme": "Monokai",
"atomKeymap.promptV3Features": true,
"editor.multiCursorModifier": "ctrlCmd",
"editor.formatOnPaste": true,
"window.titleBarStyle": "custom",
"python.jediEnabled": false,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"julia.enableTelemetry": true,
"window.zoomLevel": 1,
"latex-workshop.intellisense.package.enabled": true,
"editor.wordWrap": "on",
"latex-utilities.formattedPaste.image.template": [
"\begin{figure}[!htb]",
"\t\centering",
"\t\includegraphics[$1]{${imageFilePath}}",
"\t\caption{${imageFileNameWithoutExt/[-]/ /}}",
"\t\label{fig:${imageFileNameWithoutExt}}",
"\end{figure}",
""
],
"kite.showWelcomeNotificationOnStartup": false
}

Thanks for any help you can provide me.

Support tikz fragments

is it possible to configure LaTeX Utils such that it treats *.tikz files as LaTeZ files?

I have a figures folder under my document root which contains my tikz preamble and tikz images as fragments. In my main document I use \input to import them into the document i.e.

\input{./figures/preamble.tikz}

\begin{document}
\begin{figure}[ht]
\input{./figures/controller.tikz}
\end{figure}
\end{document}

I know I can set the Tikzpreview: Preamble Contents to point to the ./preamble.tikz file but because controller.tikz isn't treated as a tex file the preview doesn't work. Changing the file to controller.tex works.

Naming them as *.tex is ok, but the issue is each time I save them LaTeX workshop tried to build them as if they were standalone documents rather than fragments.

Discrepancy in word count

Bug Report

Disable all the other extensions except for LaTeX Workshop and LaTeX Utilities, and check that you still see this issue.

You still see this issue?: Yes

Describe the bug

At present there are two ways to get the word-count of tex files:

  1. The status-bar
  2. The command in the pallette

However, when I was working on a tex file, I realised that these two commands end up showing different word-counts. The first one was showing 9746 and the second one 8743. (This discrepancy turned out to be a real road blocker for the submission of the paper I was working on because the journal had a specific word-limit and I was basing the length of the paper only on option (2).

Since I cannot share the actual paper I am working on, I am sharing a minimum working example to highlight the differences. See the screenshot.

test-2

I observed that option (1) includes the words in the title too. Contrast to that, option (2) shows (as the notification shows) only the count from the main-text: random-text and the cite-command \autocite{author}.

In this small working example itself there is a difference. However, when we are working on real papers which includes lot of commented texts, preamble, etc., the discrepancy can escalate. Given this, I would request you to look into this.

Desktop

  • OS: Linux
  • VS Code version: 1.42.1
  • Extension version: 0.3.6

LU causes paste shortcut (cmd + v) to break in integrated terminal and search bar

Bug Report

With LaTeX Utilities enabled in VS Code 1.39.2 on macOS, cmd + v stops working in the integrated terminal and in both the editor and project-wide search bars.

Took me a while to find the culprit but I presume it's due to the shortcut

{
  "key": "cmd+v",
  "command": "latex-utilities.formattedPaste",
  "when": "config.latex-utilities.formattedPaste.useAsDefault && editorTextFocus && editorLangId == 'latex'"
}

The issue persists if I disable all extensions except LW & LU.

Graphicspath not being determined

Feature Request

Is your feature request related to a problem? Please describe.

It could be useful to define folder to save pictures from clipboard by default, Instead of current folder.

Describe alternatives you've considered

Now you can specify folder path, but it wouldn't increment name of image.

Add table cell delimiter as a variable setting

Feature Request

As the title says, it would be helpful to be able to use different delimiters for table cells, rather than having it hard coded as "\t", e.g. "," for pasting CSVs and " " for pasting from excel.

At a minimum this would be a global setting, e.g. latex-utilities.formattedPaste.tableHeaderDelimiter or, for a more fancy solution, a question box could pop up during the conversion, asking the user which delimiter to use (pre-populated with the default).

(apart from this, it's a very helpful extension thanks :))

Zotero API Support

Feature Request

Is your feature request related to a problem? Please describe.

Importing references in a Zotero library into a .bib file and keeping that up to date is quite the hassle.

Describe the solution you'd like

Zotero offers an API which would allow circumventing the manual .bib file creation entirely and could make references citable as soon as they are added to the Zotero library.

Related issues

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.