You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the V2 CLI tectonic -X watch --exec compile on VSCode. Under three different contexts, the CLI gives out three different abnormalities:
If tectonic -X watch --exec compile is invoked in a seperate Powershell7 terminal running in Windows Terminal, it runs forever into a deadloop due to the change made to intermediate file filename.aux. Designating "compile src/filename.tex -o build/filename --hide build/filename/filename.aux" or "--keep-intermediates" gives the relief.
If tectonic -X watch --exec "compile ./src/${filename.tex}" is invoked by VSCode tasks, tectonic complaining about
error: unexpected argument './src/filename.tex' found
Usage: watch [OPTIONS]
For more information, try '--help'.
This is the most strange part. Either invoke the tectonic -X watch --exec compile without any arguments provided to compile by task or in VSCode terminal (with "terminal.integrated.persistentSessionReviveProcess": "never" configured), tectonic complain about
But if launch VSCode from Powershell in (1), the command works again magically, only when invoked in VSCode Terminal. Echoing the environment variables to a txt and compare them in VSCode tells no difference.
The text was updated successfully, but these errors were encountered:
KagaJiankui
changed the title
[FR&Bug] Support more subcommands and arguments in tectonic -X watch --exec especially on VSCode
Support more subcommands and arguments in tectonic -X watch --exec especially on VSCode
Mar 15, 2024
I'm trying to use the V2 CLI
tectonic -X watch --exec compile
on VSCode. Under three different contexts, the CLI gives out three different abnormalities:tectonic -X watch --exec compile
is invoked in a seperate Powershell7 terminal running in Windows Terminal, it runs forever into a deadloop due to the change made to intermediate filefilename.aux
. Designating"compile src/filename.tex -o build/filename --hide build/filename/filename.aux"
or "--keep-intermediates" gives the relief.tectonic -X watch --exec "compile ./src/${filename.tex}"
is invoked by VSCode tasks,tectonic
complaining abouttectonic -X watch --exec compile
without any arguments provided tocompile
by task or in VSCode terminal (with"terminal.integrated.persistentSessionReviveProcess": "never"
configured), tectonic complain aboutBut if launch VSCode from Powershell in (1), the command works again magically, only when invoked in VSCode Terminal. Echoing the environment variables to a txt and compare them in VSCode tells no difference.
Directory Structure
listingset.tex
and contents ofindex.assets
are dependencies required byfilename.tex
, which contains no\write18
.VSCode Tasks
Erroneous
Working
The text was updated successfully, but these errors were encountered: