
나는 컴파일 중이다
\documentclass{article}
\begin{document}
\immediate\write18{pdfcrop PT1-matlab.pdf}
\end{document}
~와 함께
lualatex.exe -synctex=1 -interaction=nonstopmode --shell-escape %.tex
Windows에서는 자동으로 실패하고 PT1-matlab-crop.pdf가 생성되지 않습니다.
pdfcrop PT1-matlab.pdf (./document.aux))
Here is how much of LuaTeX's memory you used:
TeX Live 2015와 함께 작동하고 실행 중이었습니다.
pdfcrop PT1-matlab.pdf
TeX Live 명령줄에서 PDF가 잘립니다.
답변1
새로운 luatex에서는 \write18은 더 이상 특별하지 않습니다. 기능을 다시 얻으려면: 패키지를 로드 shellesc
하고 해당 설명서를 읽어보세요.