Skip to content

Latexmk: Need to specify exactly one filename for preview-continuous mode but 6 were specified #2084

@Th3Tr00p3r

Description

@Th3Tr00p3r

Hello,
I have this weird issue that has just popped out seemingly out of nowhere - I'm saying this since vimtex has worked for me in the past few days, compiling without issues using \ll. Now for some reason, when I do \ll a buffer opens showing the following:

latexmk: security risk: running with elevated privileges
Rc files read:
  NONE
Latexmk: This is Latexmk, John Collins, 29 May 2021, version: 4.74b.

Latexmk: Need to specify exactly one filename for preview-continuous mode
    but 6 were specified
Use
   latexmk -help
to get usage information
''' is not recognized as an internal or external command,
operable program or batch file.
''' is not recognized as an internal or external command,
operable program or batch file.

:VimtexInfo yields:

System info
  OS: Microsoft Windows 10 Home (10.0.19043 N/A Build 19043)
  Vim version: NVIM v0.4.4
  Has clientserver: true
  Servername: \\.\pipe\nvim-19252-0

VimTeX project: report
  base: report.tex
  root: path
  tex: path\report.tex
  out: 
  log: 
  aux: 
  fls: 
  main parser: current file verified
  compiler: latexmk
    configuration: 
      continuous: 1
      callback: 1
      latexmk options:
        -verbose
        -file-line-error
        -synctex=1
        -interaction=nonstopmode
      latexmk engine: -pdf
    job: 15
    pid: 0
    cmd: set max_print_line=2000 & latexmk -verbose -file-line-error -synctex=1 -interaction=nonstopmode -pdf -pvc -e "$pdf_previewer = 'SumatraPDF -reuse-instance'" -e "$success_cmd = ($success_cmd ? $success_cmd . ' & ' : '') . 'echo vimtex_compiler_callback_success'" -e "$failure_cmd = ($failure_cmd ? $failure_cmd . ' & ' : '') . 'echo vimtex_compiler_callback_failure'" "report.tex"
  viewer: General
  qf: LaTeX logfile
    addqflist: 345
    fix_paths: 346
    set_errorformat: 344
  document class: article
  packages:
    amsmath
    amssymb
    appendix
    babel
    bm
    caption
    color
    csquotes
    culmus
    epsfig
    epstopdf
    float
    gensymb
    graphicx
    hyperref
    ifpdf
    ifthen
    inputenc
    latexsym
    ragged2e
    sidecap
    textcomp

Any ideas I can test?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions