LaTeX-Workshop icon indicating copy to clipboard operation
LaTeX-Workshop copied to clipboard

Keyboard shortcuts of VS Code do not work on the internal PDF viewer on Windows

Open tapyu opened this issue 4 years ago • 20 comments

Preliminary questions

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

You still see this issue?: Yes

Make sure to visit the wiki FAQ before filling an issue.

You visited the wiki?: Yes

Describe the bug

I can't switch between the tab when I'm on .pdf tab using the keybinds alt+n, where n is a number that comes from 0 up to 9.

To Reproduce

  1. Switch to pdf. tab using the keibing using alt+n
  2. Now try to go back to your previous tab using keybing again
  3. It won't work.

Expected behavior

I expected to be able to go back to your previous tab using keybing again

Developer Tools Console [Required]

Not applicable.

Desktop [Required]

  • OS: Windows 10
  • VS Code version: 1.51.0
  • TeX distribution version: MiKTeX 4.0.1

Additional questions

Are you using VSCodium?

No

Are you using LaTeX Workshop with VS Code Remote?

No

tapyu avatar Oct 17 '20 22:10 tapyu

  • Please paste the whole log messages here, not parts of ones. It should start with Initializing LaTeX Workshop. It is very important to identify problems.

スクリーンショット 2020-02-14 20 41 25

When all of the above is done, we will reopen this issue.

tamuratak avatar Oct 17 '20 22:10 tamuratak

Latex compiler log

ogram Files\MiKTeX\tex/latex/base\latexsym.sty") ("C:\Program Files\MiKTeX\tex/latex/preprint\fullpage.sty") ("C:\Program Files\MiKTeX\tex/latex/titlesec\titlesec.sty") ("C:\Program Files\MiKTeX\tex/latex/marvosym\marvosym.sty") ("C:\Program Files\MiKTeX\tex/latex/graphics\color.sty" ("C:\Program Files\MiKTeX\tex/latex/graphics-cfg\color.cfg") ("C:\Program Files\MiKTeX\tex/latex/graphics-def\pdftex.def") ("C:\Program Files\MiKTeX\tex/latex/graphics\dvipsnam.def")) ("C:\Program Files\MiKTeX\tex/latex/tools\verbatim.sty") ("C:\Program Files\MiKTeX\tex/latex/enumitem\enumitem.sty") ("C:\Program Files\MiKTeX\tex/latex/hyperref\hyperref.sty" ("C:\Program Files\MiKTeX\tex/generic/ltxcmds\ltxcmds.sty") ("C:\Program Files\MiKTeX\tex/generic/iftex\iftex.sty") ("C:\Program Files\MiKTeX\tex/generic/pdftexcmds\pdftexcmds.sty" ("C:\Program Files\MiKTeX\tex/generic/infwarerr\infwarerr.sty")) ("C:\Program Files\MiKTeX\tex/latex/graphics\keyval.sty") ("C:\Program Files\MiKTeX\tex/generic/kvsetkeys\kvsetkeys.sty") ("C:\Program Files\MiKTeX\tex/generic/kvdefinekeys\kvdefinekeys.sty") ("C:\Program Files\MiKTeX\tex/generic/pdfescape\pdfescape.sty") ("C:\Program Files\MiKTeX\tex/latex/hycolor\hycolor.sty") ("C:\Program Files\MiKTeX\tex/latex/letltxmacro\letltxmacro.sty") ("C:\Program Files\MiKTeX\tex/latex/auxhook\auxhook.sty") ("C:\Program Files\MiKTeX\tex/latex/kvoptions\kvoptions.sty") ("C:\Program Files\MiKTeX\tex/latex/hyperref\pd1enc.def") ("C:\Program Files\MiKTeX\tex/generic/intcalc\intcalc.sty") ("C:\Program Files\MiKTeX\tex/generic/etexcmds\etexcmds.sty") ("C:\Program Files\MiKTeX\tex/latex/url\url.sty") ("C:\Program Files\MiKTeX\tex/generic/bitset\bitset.sty" ("C:\Program Files\MiKTeX\tex/generic/bigintcalc\bigintcalc.sty")) ("C:\Program Files\MiKTeX\tex/generic/atbegshi\atbegshi.sty")) ("C:\Program Files\MiKTeX\tex/latex/hyperref\hpdftex.def" ("C:\Program Files\MiKTeX\tex/latex/atveryend\atveryend.sty") ("C:\Program Files\MiKTeX\tex/latex/rerunfilecheck\rerunfilecheck.sty" ("C:\Program Files\MiKTeX\tex/generic/uniquecounter\uniquecounter.sty"))) ("C:\Program Files\MiKTeX\tex/latex/fancyhdr\fancyhdr.sty") ("C:\Program Files\MiKTeX\tex/generic/babel\babel.sty" ("C:\Program Files\MiKTeX\tex/generic/babel\babel.def" ("C:\Program Files\MiKTeX\tex/generic/babel\txtbabel.def"))
*************************************
* Local config file bblopts.cfg used
*
("C:\Program Files\MiKTeX\tex/latex/arabi\bblopts.cfg") ("C:\Program Files\MiKTeX\tex/latex/babel-english\english.ldf")) ("C:\Program Files\MiKTeX\tex/latex/tools\tabularx.sty" ("C:\Program Files\MiKTeX\tex/latex/tools\array.sty")) ("C:\Program Files\MiKTeX\tex/generic/pdftex\glyphtounicode.tex") ("C:\Program Files\MiKTeX\tex/latex/l3backend\l3backend-pdfmode.def") (c:/Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.aux) ("C:\Program Files\MiKTeX\tex/context/base/mkii\supp-pdf.mkii"
[Loading MPS to PDF converter (version 2006.09.02).]
) ("C:\Program Files\MiKTeX\tex/latex/hyperref\nameref.sty" ("C:\Program Files\MiKTeX\tex/latex/refcount\refcount.sty") ("C:\Program Files\MiKTeX\tex/generic/gettitlestring\gettitlestring.sty")) (c:/Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.out) (c:/Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.out) (c:/Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections/header.tex

LaTeX Font Warning: Font shape `OT1/cmr/bx/sc' undefined
(Font)              using `OT1/cmr/bx/n' instead on input line 2.

) (c:/Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections/general_info.tex ("C:\Program Files\MiKTeX\tex/latex/base\ulasy.fd")) (c:/Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections/summary.tex) (c:/Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections/education.tex) (c:/Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections/experience.tex) (c:/Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections/projects.tex) (c:/Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections/skills.tex

Package Fancyhdr Warning: \footskip is too small (0.0pt): 
Make it at least 4.08003pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.

[1{C:/Users/rubem/AppData/Local/MiKTeX/pdftex/config/pdftex.map}]) [2] (c:/Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.aux)

LaTeX Font Warning: Some font shapes were not available, defaults substituted.

 )<C:/Program Files/MiKTeX/fonts/type1/public/amsfonts/cm/cmbx10.pfb><C:/Program Files/MiKTeX/fonts/type1/public/amsfonts/cm/cmbx12.pfb><C:/Program Files/MiKTeX/fonts/type1/public/amsfonts/cm/cmcsc10.pfb><C:/Program Files/MiKTeX/fonts/type1/public/amsfonts/cm/cmr10.pfb><C:/Program Files/MiKTeX/fonts/type1/public/amsfonts/cm/cmsy10.pfb><C:/Program Files/MiKTeX/fonts/type1/public/amsfonts/cm/cmsy6.pfb><C:/Program Files/MiKTeX/fonts/type1/public/amsfonts/cm/cmti10.pfb>
Output written on c:/Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.pdf (2 pages, 111014 bytes).
SyncTeX written on c:/Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.synctex.gz.
Transcript written on c:/Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.log.
Latexmk: Log file says output to 'cv.pdf'
=== TeX engine is 'pdfTeX'
Latexmk: All targets (c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex/cv.pdf) are up-to-date

Latex Workshop extension Log

[19:50:33] Initializing LaTeX Workshop.
[19:50:33] Extension root: c:\Users\rubem\.vscode-insiders\extensions\james-yu.latex-workshop-8.13.2
[19:50:33] Creating PDF file watcher.
[19:50:33] pdflatex is provided by MiKTeX
[19:50:33] Creating LaTeX Workshop http and websocket server.
[19:50:33] LaTeX Workshop initialized.
[19:50:33] Current workspace folders: ["file:///c:/Users/rubem/Documents/GitHub/Tapyu"]
[19:50:33] Current workspaceRootDir: c:\Users\rubem\Documents\GitHub\Tapyu
[19:50:33] Found root file from active editor: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[19:50:33] Root file changed: from undefined to c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[19:50:33] Start to find all dependencies.
[19:50:33] Instantiating a new file watcher for c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[19:50:33] Creating Bib file watcher.
[19:50:33] Parsing a file and its subfiles: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[19:50:33] Parsing a file and its subfiles: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\header.tex
[19:50:33] Parse fls file.
[19:50:33] Cannot find fls file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\header.fls
[19:50:33] Parsing a file and its subfiles: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\general_info.tex
[19:50:33] Parse fls file.
[19:50:33] Cannot find fls file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\general_info.fls
[19:50:33] Parsing a file and its subfiles: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\summary.tex
[19:50:33] Parse fls file.
[19:50:33] Cannot find fls file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\summary.fls
[19:50:33] Parsing a file and its subfiles: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\education.tex
[19:50:33] Parse fls file.
[19:50:33] Cannot find fls file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\education.fls
[19:50:33] Parsing a file and its subfiles: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\experience.tex
[19:50:33] Parse fls file.
[19:50:33] Cannot find fls file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\experience.fls
[19:50:33] Parsing a file and its subfiles: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\projects.tex
[19:50:33] Parse fls file.
[19:50:33] Cannot find fls file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\projects.fls
[19:50:33] Parse fls file.
[19:50:33] Fls file found: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.fls
[19:50:33] Parse aux file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.aux
[19:50:33] Could not resolve included file undefined
[19:50:33] Server created on 127.0.0.1:63892
[19:50:33] Added to file watcher: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[19:50:33] Added to file watcher: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\header.tex
[19:50:33] Added to file watcher: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\general_info.tex
[19:50:33] Added to file watcher: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\summary.tex
[19:50:33] Added to file watcher: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\education.tex
[19:50:33] Added to file watcher: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\experience.tex
[19:50:33] Added to file watcher: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\projects.tex
[19:50:33] LaTeX Workshop version: 8.13.2
[19:50:33] Snippet data loaded.
[19:50:35] Restoring the PDF viewer at the column 1 from the state: {"type":"state","state":{"path":"c:\\Users\\rubem\\Documents\\GitHub\\Tapyu\\cv\\Latex\\cv.pdf","scale":"auto","scrollMode":0,"spreadMode":0,"scrollTop":423,"scrollLeft":0,"trim":0}}
[19:50:36] Preview PDF file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.pdf
[19:50:36] Handle data type: open
[19:50:36] Handle data type: request_params
[19:50:36] Sending the settings of the PDF viewer for initialization: {"type":"params","scale":"auto","trim":0,"scrollMode":0,"spreadMode":0,"hand":false,"invertMode":{"enabled":true,"brightness":1,"grayscale":0.6,"hueRotate":180,"invert":0.9,"sepia":0},"bgColor":"#ffffff","keybindings":{"synctex":"ctrl-click"}}
[19:50:36] Handle data type: loaded
[19:57:39] Handle data type: reverse_synctex
[19:57:39] SyncTeX to file c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\experience.tex
[19:57:39] Current workspace folders: ["file:///c:/Users/rubem/Documents/GitHub/Tapyu"]
[19:57:39] Current workspaceRootDir: c:\Users\rubem\Documents\GitHub\Tapyu
[19:57:39] Could not resolve included file undefined
[19:57:39] Current workspace folders: ["file:///c:/Users/rubem/Documents/GitHub/Tapyu"]
[19:57:39] Current workspaceRootDir: c:\Users\rubem\Documents\GitHub\Tapyu
[19:57:39] Keep using the same root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex.
[19:57:39] Found root file from parent: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[19:57:39] Keep using the same root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex.
[19:57:45] Current workspace folders: ["file:///c:/Users/rubem/Documents/GitHub/Tapyu"]
[19:57:45] Current workspaceRootDir: c:\Users\rubem\Documents\GitHub\Tapyu
[19:57:45] Found root file from active editor: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[19:57:45] Keep using the same root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex.
[19:57:59] Current workspace folders: ["file:///c:/Users/rubem/Documents/GitHub/Tapyu"]
[19:57:59] Current workspaceRootDir: c:\Users\rubem\Documents\GitHub\Tapyu
[19:57:59] Keep using the same root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex.
[19:58:02] Current workspace folders: ["file:///c:/Users/rubem/Documents/GitHub/Tapyu"]
[19:58:02] Current workspaceRootDir: c:\Users\rubem\Documents\GitHub\Tapyu
[19:58:02] Found root file from active editor: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[19:58:02] Keep using the same root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex.
[19:59:22] Current workspace folders: ["file:///c:/Users/rubem/Documents/GitHub/Tapyu"]
[19:59:22] Current workspaceRootDir: c:\Users\rubem\Documents\GitHub\Tapyu
[19:59:22] Found root file from active editor: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[19:59:22] Keep using the same root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex.
[19:59:40] Current workspace folders: ["file:///c:/Users/rubem/Documents/GitHub/Tapyu"]
[19:59:40] Current workspaceRootDir: c:\Users\rubem\Documents\GitHub\Tapyu
[19:59:40] Could not resolve included file undefined
[19:59:40] Current workspace folders: ["file:///c:/Users/rubem/Documents/GitHub/Tapyu"]
[19:59:40] Current workspaceRootDir: c:\Users\rubem\Documents\GitHub\Tapyu
[19:59:40] Keep using the same root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex.
[19:59:40] Keep using the same root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex.
[19:59:43] Current workspace folders: ["file:///c:/Users/rubem/Documents/GitHub/Tapyu"]
[19:59:43] Current workspaceRootDir: c:\Users\rubem\Documents\GitHub\Tapyu
[19:59:43] Found root file from active editor: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[19:59:43] Keep using the same root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex.
[19:59:49] Current workspace folders: ["file:///c:/Users/rubem/Documents/GitHub/Tapyu"]
[19:59:49] Current workspaceRootDir: c:\Users\rubem\Documents\GitHub\Tapyu
[19:59:49] Could not resolve included file undefined
[19:59:49] Found root file from active editor: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[19:59:49] Keep using the same root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex.
[19:59:52] Current workspace folders: ["file:///c:/Users/rubem/Documents/GitHub/Tapyu"]
[19:59:52] Current workspaceRootDir: c:\Users\rubem\Documents\GitHub\Tapyu
[19:59:52] Could not resolve included file undefined
[19:59:52] Found root file from active editor: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[19:59:52] Keep using the same root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex.
[19:59:53] Current workspace folders: ["file:///c:/Users/rubem/Documents/GitHub/Tapyu"]
[19:59:53] Current workspaceRootDir: c:\Users\rubem\Documents\GitHub\Tapyu
[19:59:53] Could not resolve included file undefined
[19:59:53] Found root file from active editor: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[19:59:53] Keep using the same root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex.
[20:00:14] Could not resolve included file undefined
[20:00:14] Could not resolve included file undefined
[20:00:14] File watcher - file changed: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:00:14] Parsing a file and its subfiles: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:00:14] Parse fls file.
[20:00:14] Fls file found: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.fls
[20:00:14] Parse aux file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.aux
[20:00:14] Auto build started detecting the change of a file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:00:14] BUILD command invoked.
[20:00:14] Building root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:00:14] Build root file c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:00:14] Recipe step 1: latexmk, --max-print-line=10000,-synctex=1,-interaction=nonstopmode,-file-line-error,-pdf,-outdir=c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex,c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex/cv
[20:00:14] cwd: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex
[20:00:14] LaTeX build process spawned. PID: 9708.
[20:00:15] LaTeX log parsed with 4 messages.
[20:00:16] Recipe returns with error: 12/null. PID: 9708. message: Rc files read:
  NONE
Latexmk: This is Latexmk, John Collins, 17 Apr. 2020, version: 4.69a.
Rule 'pdflatex': File changes, etc:
   Changed files, or newly in use since previous run(s):
      'c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex/cv.tex'
      'cv.tex'
------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex  --max-print-line=10000 -synctex=1 -interaction=nonstopmode -file-line-error -recorder -output-directory="c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex"  "c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex"'
------------
Latexmk: Missing input file: 'section/skills.tex' from line
  '! LaTeX Error: File `section/skills.tex' not found.'
Collected error summary (may duplicate other messages):
  pdflatex: Command for 'pdflatex' gave return code 1
      Refer to 'c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex/cv.log' for details
Latexmk: Use the -f option to force complete processing,
 unless error was exceeding maximum runs, or warnings treated as errors.
.
[20:00:16] Cleaning auxiliary files and retrying build after toolchain error.
[20:00:16] File cleaned: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.out
[20:00:16] File cleaned: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.log
[20:00:16] File cleaned: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.fls
[20:00:16] File cleaned: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.aux
[20:00:16] File cleaned: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.fdb_latexmk
[20:00:16] Recipe step 1: latexmk, --max-print-line=10000,-synctex=1,-interaction=nonstopmode,-file-line-error,-pdf,-outdir=c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex,c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex/cv
[20:00:16] cwd: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex
[20:00:16] LaTeX build process spawned. PID: 10356.
[20:00:17] LaTeX log parsed with 4 messages.
[20:00:17] Recipe returns with error: 12/null. PID: 10356. message: Rc files read:
  NONE
Latexmk: This is Latexmk, John Collins, 17 Apr. 2020, version: 4.69a.
Rule 'pdflatex': The following rules & subrules became out-of-date:
      'pdflatex'
------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex  --max-print-line=10000 -synctex=1 -interaction=nonstopmode -file-line-error -recorder -output-directory="c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex"  "c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex"'
------------
Latexmk: Missing input file: 'section/skills.tex' from line
  '! LaTeX Error: File `section/skills.tex' not found.'
Collected error summary (may duplicate other messages):
  pdflatex: Command for 'pdflatex' gave return code 1
      Refer to 'c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex/cv.log' for details
Latexmk: Use the -f option to force complete processing,
 unless error was exceeding maximum runs, or warnings treated as errors.
.
[20:00:51] Current workspace folders: ["file:///c:/Users/rubem/Documents/GitHub/Tapyu"]
[20:00:51] Current workspaceRootDir: c:\Users\rubem\Documents\GitHub\Tapyu
[20:00:51] Could not resolve included file undefined
[20:00:51] Could not resolve included file undefined
[20:00:51] Current workspace folders: ["file:///c:/Users/rubem/Documents/GitHub/Tapyu"]
[20:00:51] Current workspaceRootDir: c:\Users\rubem\Documents\GitHub\Tapyu
[20:00:52] Found files that might be root, choose the first one: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:00:52] Keep using the same root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex.
[20:00:52] Found files that might be root, choose the first one: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:00:52] Keep using the same root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex.
[20:00:55] Could not resolve included file undefined
[20:00:55] Could not resolve included file undefined
[20:01:01] Current workspace folders: ["file:///c:/Users/rubem/Documents/GitHub/Tapyu"]
[20:01:01] Current workspaceRootDir: c:\Users\rubem\Documents\GitHub\Tapyu
[20:01:01] Found root file from active editor: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:01:01] Keep using the same root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex.
[20:01:03] Could not resolve included file undefined
[20:01:03] Could not resolve included file undefined
[20:01:03] File watcher - file changed: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:01:03] Parsing a file and its subfiles: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:01:03] Parse fls file.
[20:01:03] Fls file found: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.fls
[20:01:04] Parse aux file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.aux
[20:01:04] Auto build started detecting the change of a file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:01:04] BUILD command invoked.
[20:01:04] Building root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:01:04] Build root file c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:01:04] Recipe step 1: latexmk, --max-print-line=10000,-synctex=1,-interaction=nonstopmode,-file-line-error,-pdf,-outdir=c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex,c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex/cv
[20:01:04] cwd: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex
[20:01:04] LaTeX build process spawned. PID: 16916.
[20:01:05] LaTeX log parsed with 4 messages.
[20:01:05] Recipe returns with error: 12/null. PID: 16916. message: Rc files read:
  NONE
Latexmk: This is Latexmk, John Collins, 17 Apr. 2020, version: 4.69a.
Rule 'pdflatex': File changes, etc:
   Changed files, or newly in use since previous run(s):
      'c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex/cv.aux'
------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex  --max-print-line=10000 -synctex=1 -interaction=nonstopmode -file-line-error -recorder -output-directory="c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex"  "c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex"'
------------
Latexmk: Missing input file: 'section/skills.tex' from line
  '! LaTeX Error: File `section/skills.tex' not found.'
Collected error summary (may duplicate other messages):
  pdflatex: Command for 'pdflatex' gave return code 1
      Refer to 'c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex/cv.log' for details
Latexmk: Use the -f option to force complete processing,
 unless error was exceeding maximum runs, or warnings treated as errors.
.
[20:01:05] Cleaning auxiliary files and retrying build after toolchain error.
[20:01:05] File cleaned: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.out
[20:01:05] File cleaned: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.aux
[20:01:05] File cleaned: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.fls
[20:01:05] File cleaned: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.log
[20:01:05] File cleaned: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.fdb_latexmk
[20:01:05] Recipe step 1: latexmk, --max-print-line=10000,-synctex=1,-interaction=nonstopmode,-file-line-error,-pdf,-outdir=c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex,c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex/cv
[20:01:05] cwd: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex
[20:01:05] LaTeX build process spawned. PID: 2180.
[20:01:06] LaTeX log parsed with 4 messages.
[20:01:06] Recipe returns with error: 12/null. PID: 2180. message: Rc files read:
  NONE
Latexmk: This is Latexmk, John Collins, 17 Apr. 2020, version: 4.69a.
Rule 'pdflatex': The following rules & subrules became out-of-date:
      'pdflatex'
------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex  --max-print-line=10000 -synctex=1 -interaction=nonstopmode -file-line-error -recorder -output-directory="c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex"  "c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex"'
------------
Latexmk: Missing input file: 'section/skills.tex' from line
  '! LaTeX Error: File `section/skills.tex' not found.'
Collected error summary (may duplicate other messages):
  pdflatex: Command for 'pdflatex' gave return code 1
      Refer to 'c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex/cv.log' for details
Latexmk: Use the -f option to force complete processing,
 unless error was exceeding maximum runs, or warnings treated as errors.
.
[20:01:16] Could not resolve included file undefined
[20:01:16] File watcher - file changed: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:01:16] Parsing a file and its subfiles: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:01:16] Parse fls file.
[20:01:16] Fls file found: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.fls
[20:01:16] Parse aux file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.aux
[20:01:16] Auto build started detecting the change of a file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:01:16] BUILD command invoked.
[20:01:16] Building root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:01:16] Build root file c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:01:16] Recipe step 1: latexmk, --max-print-line=10000,-synctex=1,-interaction=nonstopmode,-file-line-error,-pdf,-outdir=c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex,c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex/cv
[20:01:16] cwd: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex
[20:01:16] LaTeX build process spawned. PID: 5908.
[20:01:20] LaTeX log parsed with 3 messages.
[20:01:20] Recipe of length 1 finished. PID: 5908.
[20:01:20] Successfully built c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex.
[20:01:20] Refresh PDF viewer for c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.pdf
[20:01:20] Parse fls file.
[20:01:20] Fls file found: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.fls
[20:01:20] Parse aux file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.aux
[20:01:20] Preview PDF file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.pdf
[20:01:25] Could not resolve included file undefined
[20:01:25] File watcher - file changed: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:01:25] Parsing a file and its subfiles: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:01:25] Parse fls file.
[20:01:25] Fls file found: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.fls
[20:01:25] Parse aux file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.aux
[20:01:25] Auto build started detecting the change of a file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:01:25] BUILD command invoked.
[20:01:25] Building root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:01:25] Build root file c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:01:25] Recipe step 1: latexmk, --max-print-line=10000,-synctex=1,-interaction=nonstopmode,-file-line-error,-pdf,-outdir=c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex,c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex/cv
[20:01:25] cwd: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex
[20:01:25] LaTeX build process spawned. PID: 216.
[20:01:25] Recipe of length 1 finished. PID: 216.
[20:01:25] Successfully built c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex.
[20:01:42] Could not resolve included file undefined
[20:01:42] File watcher - file changed: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:01:42] Parsing a file and its subfiles: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:01:42] Parsing a file and its subfiles: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\skills.tex
[20:01:42] Parse fls file.
[20:01:42] Cannot find fls file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\skills.fls
[20:01:42] Parse fls file.
[20:01:42] Fls file found: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.fls
[20:01:42] Parse aux file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.aux
[20:01:42] Auto build started detecting the change of a file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:01:42] BUILD command invoked.
[20:01:42] Building root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:01:42] Build root file c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:01:42] Recipe step 1: latexmk, --max-print-line=10000,-synctex=1,-interaction=nonstopmode,-file-line-error,-pdf,-outdir=c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex,c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex/cv
[20:01:42] cwd: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex
[20:01:42] LaTeX build process spawned. PID: 3024.
[20:01:42] Added to file watcher: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\sections\skills.tex
[20:01:45] LaTeX log parsed with 3 messages.
[20:01:45] Recipe of length 1 finished. PID: 3024.
[20:01:45] Successfully built c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex.
[20:01:45] Refresh PDF viewer for c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.pdf
[20:01:45] Parse fls file.
[20:01:45] Fls file found: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.fls
[20:01:45] Parse aux file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.aux
[20:01:46] Preview PDF file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.pdf
[20:02:49] Could not resolve included file undefined
[20:02:49] File watcher - file changed: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:02:49] Parsing a file and its subfiles: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:02:49] Parse fls file.
[20:02:49] Fls file found: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.fls
[20:02:49] Parse aux file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.aux
[20:02:49] Auto build started detecting the change of a file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:02:49] BUILD command invoked.
[20:02:49] Building root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:02:49] Build root file c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:02:49] Recipe step 1: latexmk, --max-print-line=10000,-synctex=1,-interaction=nonstopmode,-file-line-error,-pdf,-outdir=c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex,c:/Users/rubem/Documents/GitHub/Tapyu/cv/Latex/cv
[20:02:49] cwd: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex
[20:02:49] LaTeX build process spawned. PID: 14192.
[20:02:50] Handle data type: loaded
[20:02:50] Handle data type: loaded
[20:02:51] LaTeX log parsed with 3 messages.
[20:02:51] Recipe of length 1 finished. PID: 14192.
[20:02:51] Successfully built c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex.
[20:02:51] Refresh PDF viewer for c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.pdf
[20:02:51] Parse fls file.
[20:02:51] Fls file found: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.fls
[20:02:51] Parse aux file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.aux
[20:02:52] Preview PDF file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.pdf
[20:02:52] Handle data type: loaded
[20:03:37] Current workspace folders: ["file:///c:/Users/rubem/Documents/GitHub/Tapyu"]
[20:03:37] Current workspaceRootDir: c:\Users\rubem\Documents\GitHub\Tapyu
[20:03:37] Keep using the same root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex.
[20:03:38] Current workspace folders: ["file:///c:/Users/rubem/Documents/GitHub/Tapyu"]
[20:03:38] Current workspaceRootDir: c:\Users\rubem\Documents\GitHub\Tapyu
[20:03:38] Found root file from active editor: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex
[20:03:38] Keep using the same root file: c:\Users\rubem\Documents\GitHub\Tapyu\cv\Latex\cv.tex.
[20:05:17] Could not resolve included file undefined
[20:05:24] LOG command invoked.
[20:05:30] LOG command invoked.
[20:05:30] LOG command invoked.
[20:06:42] LOG command invoked.
[20:06:42] LOG command invoked.

tapyu avatar Oct 17 '20 23:10 tapyu

  • Please paste the whole log messages here, not parts of ones. It should start with Initializing LaTeX Workshop. It is very important to identify problems.

スクリーンショット 2020-02-14 20 41 25

When all of the above is done, we will reopen this issue.

Done.

tapyu avatar Oct 17 '20 23:10 tapyu

Switch to pdf. tab using the keibing using alt+n

You are using inappropriate keyboard shortcuts. The PDF tab is on a different tab group. The shortcuts work for tabs on the same group.

You have to switch to the group of a document you want to edit.

tamuratak avatar Oct 18 '20 00:10 tamuratak

Thank you for your explanation.

If I have understood correctely what tab group means, PDF tab is on the same group of my other code file. When I type Ctrl+Alt+V (View PDF Latex File), it opens on a different group, as you can see here

image

Then I append manually the PDF tab to my previously tab group, like that

image

In this way, I can pass through all tabs with the keybing alt+n. However, when I go to PDF tab, this keybind doesn't work anymore...

tapyu avatar Oct 19 '20 01:10 tapyu

See Go > Switch Group on the menu.

This issue is not related to LaTeX Workshop. Please ask https://stackoverflow.com/ on the primary usage of VS Code.

tamuratak avatar Oct 19 '20 01:10 tamuratak

Are you saying that any keyboard shortcut does not work on the PDF viewer? Or, only alt+n does not work?

tamuratak avatar Oct 19 '20 01:10 tamuratak

See Go > Switch Group on the menu.

This issue is not related to LaTeX Workshop. Please ask https://stackoverflow.com/ on the primary usage of VS Code.

Thank you for the reference, but I think I don't have doubt about it. By default, closing the last editor of an editor group will also close the group itself. So, when I move my .pdf tab to other code tabs, I put all tabs on the same group (and the empty group is deleted automatically). Therefore, alt+n shortcuts should work...

tapyu avatar Oct 19 '20 01:10 tapyu

Are you saying that any keyboard shortcut does not work on the PDF viewer? Or, only alt+n does not work?

I didn't even realize it, but shortcuts such as ctrl+w or ctrl+q are not working as well...

tapyu avatar Oct 19 '20 01:10 tapyu

Related to microsoft/vscode/issues/108797

tamuratak avatar Oct 19 '20 03:10 tamuratak

Reported microsoft/vscode/issues/109147.

tamuratak avatar Oct 22 '20 09:10 tamuratak

I can replicate this on Linux as well.

hpr1999 avatar Jan 15 '21 23:01 hpr1999

I can replicate this on macOS, specifically to try to minimize the window by typing Cmd+m. It tells me (Command+M) was pressed. Waiting for a second key of chord... on the bottom blue bar (I forget what it's called).

hussein-esmail7 avatar Mar 02 '21 02:03 hussein-esmail7

Thank you @hpr1999 and @hussein-esmail7 for the reporting.

tapyu avatar Mar 02 '21 22:03 tapyu

I have the same problem on my local Linux machine. Oddly, if I'm working on a remote machine using the Remote - SSH extension, the shortcuts behaves as expected. The OS of both machines is Fedora 34.

natema avatar Oct 05 '21 07:10 natema

Same issue on arch linux

Version: 1.45.0 Commit: d69a79b73808559a91206d73d7717ff5f798f23c Date: 2020-05-07T16:10:24.511Z Electron: 7.2.4 Chrome: 78.0.3904.130 Node.js: 12.8.1 V8: 7.8.279.23-electron.0 OS: Linux x64 5.15.0-rc4-1-git-00271-g5d6ab0bb408f

tobiasweede avatar Oct 18 '21 14:10 tobiasweede

Other system-wide keyboard shortcuts like Command+A (to select all text within the search field) or Command+C (to copy the selected text) do also not work on macOS when the internal PDF viewer is used.

Sebastian-Maier avatar Dec 01 '21 16:12 Sebastian-Maier

I have edited the title in order to cover all the OS.

tapyu avatar Dec 01 '21 17:12 tapyu

It is a different issue. microsoft/vscode/issues/129178

tamuratak avatar Dec 01 '21 21:12 tamuratak

Please open a new issue if it is not related to keyboard shortcuts of VS Code on Windows. Please fill out all the required in the issue template

tamuratak avatar Dec 01 '21 21:12 tamuratak

I am closing this issue due to it's too dated and is an upstream vscode issue. Related problems should create new issues if can be fixed on the extension side (unlikely though).

James-Yu avatar Dec 08 '22 13:12 James-Yu