mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
fixed a unicode bug
This commit is contained in:
@@ -23,7 +23,7 @@ if (!fs.existsSync(inputFile)) {
|
|||||||
console.log(`Converting ${path.basename(inputFile)} → ${path.basename(outputFile)} ...`);
|
console.log(`Converting ${path.basename(inputFile)} → ${path.basename(outputFile)} ...`);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const cmd = `pandoc "${inputFile}" -o "${outputFile}"`;
|
const cmd = `pandoc "${inputFile}" --pdf-engine=xelatex -o "${outputFile}"`;
|
||||||
execSync(cmd, { stdio: 'inherit' });
|
execSync(cmd, { stdio: 'inherit' });
|
||||||
console.log(`Successfully saved: ${outputFile}`);
|
console.log(`Successfully saved: ${outputFile}`);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|||||||
Reference in New Issue
Block a user