Comments (4)
I found that replacing texify
with latexmk
is great
from miktex.
Thank you, as a workaround you could pass --output-directory
via the --tex-options
option.
from miktex.
The option is --tex-option
not --tex-options
But, there still is some issue.
Test1
Test command : texify --synctex --pdf --tex-option="-output-directory=./output/" WeeklyReport.tex
The command's output:
TeX option "--output-directory" is not supported.
Sorry, but texify did not succeed.
Test2
Test command : texify --synctex --pdf --tex-option="--output-directory=./output/" WeeklyReport.tex
The command's output:
TeX option "--output-directory" is not supported.
Sorry, but texify did not succeed.
Test3
Test command : `texify --synctex --pdf --tex-option="-out-directory=./output/" WeeklyReport.tex
The command's output:
Sorry, but pdflatex did not succeed.
The log file hopefully contains the information to get MiKTeX going again:
C:\Users\Tanzi\scoop\apps\latex\current\texmfs\data\miktex\log\pdflatex.log
Sorry, but "MiKTeX Compiler Driver" did not succeed.
The log file hopefully contains the information to get MiKTeX going again:
C:\Users\Tanzi\scoop\apps\latex\current\texmfs\data\miktex\log\texify.log
texify.log
:
2024-02-21 17:55:11,970+0800 INFO texify - this process (16316) started by cmd in directory D:\Desktop\Research\Latex.WeeklyReport\2022.11.20 with command line: texify --synctex --pdf --tex-option=-out-directory=./output/ WeeklyReport.tex
2024-02-21 17:55:11,971+0800 INFO texify - running on Windows 10.0.19045
2024-02-21 17:55:11,983+0800 INFO texify.core - start process: pdflatex --synctex=1 -out-directory=./output/ D:/Desktop/Research/Latex.WeeklyReport/2022.11.20\WeeklyReport.tex
2024-02-21 17:55:12,358+0800 FATAL texify.core - TeX engine failed for some reason (see log file).
2024-02-21 17:55:12,358+0800 FATAL texify.core - Data:
2024-02-21 17:55:12,358+0800 FATAL texify.core - Source: Programs\MiKTeX\texify\mcd.cpp:1564
2024-02-21 17:55:12,360+0800 FATAL texify - TeX engine failed for some reason (see log file).
2024-02-21 17:55:12,360+0800 FATAL texify - Info:
2024-02-21 17:55:12,360+0800 FATAL texify - Source: Programs\MiKTeX\texify\mcd.cpp
2024-02-21 17:55:12,360+0800 FATAL texify - Line: 1564
pdflatex.log
:
2024-02-21 17:55:12,282+0800 INFO pdflatex - this process (16504) started by texify in directory D:\Desktop\Research\Latex.WeeklyReport\2022.11.20 with command line: pdflatex --synctex=1 -out-directory=./output/ D:/Desktop/Research/Latex.WeeklyReport/2022.11.20\WeeklyReport.tex
2024-02-21 17:55:12,282+0800 INFO pdflatex - running on Windows 10.0.19045
2024-02-21 17:55:12,284+0800 INFO pdflatex - this is MiKTeX-PDFTEX 4.18.0 (1.40.25) (MiKTeX 24.1 Portable)
2024-02-21 17:55:12,286+0800 INFO pdflatex - allowing known shell commands
2024-02-21 17:55:12,293+0800 FATAL pdflatex.core - The command line options could not be processed.
2024-02-21 17:55:12,293+0800 FATAL pdflatex.core - Data: optionError="unknown option"
2024-02-21 17:55:12,293+0800 FATAL pdflatex.core - Source: Libraries\MiKTeX\TeXAndFriends\webapp.cpp:356
2024-02-21 17:55:12,293+0800 FATAL pdflatex - The command line options could not be processed.
2024-02-21 17:55:12,293+0800 FATAL pdflatex - Info: optionError="unknown option"
2024-02-21 17:55:12,293+0800 FATAL pdflatex - Source: Libraries\MiKTeX\TeXAndFriends\webapp.cpp
2024-02-21 17:55:12,293+0800 FATAL pdflatex - Line: 356
2024-02-21 17:55:12,297+0800 INFO pdflatex - this process (16504) finishes with exit code 1
Test4
Command pdflatex --synctex=1 -interaction=nonstopmode -file-line-error -output-directory=./output/ WeeklyReport.tex
works
Conclusion
pdflatex
needs option -output-directory
, but it cannot be passed to texify
texify
accepts option -out-directory
, but pdflatex
does not.
So, I think it's a bug
from miktex.
You are right, -output-directory
is a forbidden option because it would interfere with the -clean
option. I think, -output-directory
should be allowed when -clean
is not specified.
I think it is possible to work around the missing --output-directory
option:
- change into the output directory
- invoke
texify
with a fully-qualified input file name
from miktex.
Related Issues (20)
- Update TeXworks to 0.6.9 HOT 1
- [BUG] polyglossia / \setmainlanguage broken in latest MiKTeX HOT 1
- Why did I set cmake -B... /tex CMAKE_INSTALL_PREFIX='opt/miktex' WITH_UI_QT=ON, but there is still no graphical interface, so what does QT do? HOT 2
- Compile error regarding '/miktex-luatex' HOT 2
- MikTex command line installer mirror option is too strict
- Updated MiKTeX (2024-03-12), lua debug function not working HOT 1
- Error: "FATAL pdflatex.core - Function: fread" HOT 1
- Issue with function fread HOT 1
- spell checker is missing HOT 1
- spell checker is missing (re #1466) HOT 1
- MiKTeX Console has closed unexpectedly in Ubuntu HOT 3
- miktex-console cannot be launched due to Qt platform plugin issue HOT 10
- Missing `qt6-wayland` dependency on Ubuntu for v24.3 after moving to Qt6 (22.04) HOT 2
- Cannot compile files with "~" in the path name HOT 1
- l3sys-query HOT 1
- Bug in pdflatex.exe (as opposed to miktex-pdftex -undump=pdflatex): missing line in PDF HOT 2
- Memory leak or user fault? HOT 1
- Cannot download Miktex in Windows
- MiKTeX support for Fedora 40 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from miktex.