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
"Can be used multiple times - values will be passed in the order they appear in the command."+
60
+
"These must be specified using an '='."
61
+
});
62
+
63
+
['tlmgr-opt']=Option.Array('--tlmgr-opt',{
64
+
description: "Options passed to the tlmgr engine."+
65
+
"Can be used multiple times - values will be passed in the order they appear in the command."+
66
+
"These must be specified using an '='."
67
+
});
68
+
69
+
asyncexecute(){
70
+
constengineOpts: EngineOpts={
71
+
index: this['index-engine-opt'],
72
+
pdf: this['pdf-engine-opt'],
73
+
tlmgr: this['tlmgr-opt'],
74
+
};
75
+
constlatexmkOptions=mkOptions(
76
+
this.input,
77
+
this,
78
+
engineOpts,
79
+
);
80
+
awaitgeneratePdf(latexmkOptions);
57
81
}
58
-
return{ values, resultArgs };
59
82
}
60
83
61
-
exportasyncfunctionpdf(args: string[]){
62
-
// Parse any of the option flags
63
-
const[parsedArgs,engineOpts]=parseOpts(args);
64
-
65
-
constpdfCommand=newCommand()
66
-
.name(kExeName)
67
-
.arguments("<input:string>")
68
-
.version(kExeVersion+"\n")
69
-
.description(kExeDescription)
70
-
.option(
71
-
"--pdf-engine <engine>",
72
-
"The PDF engine to use",
73
-
)
74
-
.option(
75
-
"--pdf-engine-opt=<optionsfile:string>",
76
-
"Options passed to the pdf engine. Can be used multiple times - values will be passed in the order they appear in the command. These must be specified using an '='.",
77
-
)
78
-
.option(
79
-
"--index-engine <engine>",
80
-
"The index engine to use",
81
-
)
82
-
.option(
83
-
"--index-engine-opt=<optionsfile:string>",
84
-
"Options passed to the index engine. Can be used multiple times - values will be passed in the order they appear in the command. These must be specified using an '='.",
85
-
)
86
-
.option(
87
-
"--bib-engine <engine>",
88
-
"The bibliography engine to use",
89
-
)
90
-
.option(
91
-
"--no-auto-install",
92
-
"Disable automatic package installation",
93
-
)
94
-
.option(
95
-
"--tlmgr-opt=<optionsfile:string>",
96
-
"Options passed to the tlmgr engine. Can be used multiple times - values will be passed in the order they appear in the command. These must be specified using an '='.",
0 commit comments