首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >VSCODE Latex,安全风险:以提升的权限运行

VSCODE Latex,安全风险:以提升的权限运行
EN

Stack Overflow用户
提问于 2022-08-31 03:53:38
回答 1查看 339关注 0票数 0

环境:

LaTeX language support

  • Latex:MiKTeX 21.12.10 Portable

  • The

  • OS: Window 10,x64

  • VSCode : 1.69.1已安装的与

  • 相关的VSCode插件:LaTeXLaTeX WorkshopLaTeX Utilities

  • VSCode配置在H 215F 216下面

代码语言:javascript
运行
复制
    "latex-workshop.latex.recipes": [
        {
            "name": "pdflatex -> bibtex -> pdflatex*2",
            "tools": ["pdflatex", "bibtex", "pdflatex","pdflatex"]
        },
        {
            "name": "xelatex",
            "tools": ["xelatex"]
        }, 
        {
            "name": "latexmk",
            "tools": ["latexmk"]
        },
    ],
    
    "latex-workshop.latex.tools": [
        {
            "name": "latexmk",
            "command": "latexmk",
            "args": ["-synctex=1","-interaction=nonstopmode","-file-line-error","-pdf","-outdir=./output","%DOCFILE%"]
        }, 
        {
            "name": "xelatex",
            "command": "xelatex",
            "args": [ "-synctex=1","-interaction=nonstopmode","-file-line-error","-output-directory=./output","%DOCFILE%"]
        }, 
        {
            "name": "pdflatex",
            "command": "pdflatex",  
            "args": [ "-synctex=1","-interaction=nonstopmode","-file-line-error","-output-directory=./output","%DOCFILE%"]
        }, 
        {
            "name": "bibtex",
            "command": "bibtex",
            "args": [ "./output/%DOCFILE%"]  
        },
    ],
    
    "latex-workshop.view.pdf.viewer": "tab",   
    "latex-workshop.latex.clean.fileTypes": [  
      "*.aux", 
      "*.bbl",
      "*.blg",
      "*.idx",
      "*.ind",
      "*.lof",
      "*.lot",
      "*.out",
      "*.toc",
      "*.acn",
      "*.acr",
      "*.alg",
      "*.glg",
      "*.glo",
      "*.gls",
      "*.ist",
      "*.fls",
      "*.log",
      "*.fdb_latexmk"
    ],
    "latex-workshop.latex.autoClean.run": "never",
    "latex-workshop.latex.recipe.default": "first",
    "latex-workshop.view.pdf.external.viewer.args": [
        "./output/%PDF%"
    ],
    "latex-workshop.latex.outDir": "./output",

我用VSCode写胶乳。它会发生以下错误:

  • chktex: security risk: running with elevated privileges
  • Cannot count words, code: 4294967295, texcount: security risk: running with elevated privileges

如何解决?

我尝试过与管理员一起运行VSCode,但是没有帮助。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-09-13 13:02:10

我解决了。

只需要插件LaTeX Workshop。其他插件(LaTeXLaTeX UtilitiesLaTeX language support)可以卸载。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73550697

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档