
Sublime Text 3에서 LatexTools를 사용하여 포함된 파일이 포함된 라텍스 프로젝트를 만들려고 합니다. 하위 파일에서 PDF를 만들 수 없습니다. ctrl+b
하위 tex 파일에서 편집기를 여는 동안 을 사용하여 PDF 작성을 가능하게 하는 숭고한 프로젝트를 설정하는 방법을 알려주십시오 .
다음은 최소한의 예입니다.
qsar_catalogue.tex:
\documentclass{article}
\title{Exploratory review of QSARs in Toxicology}
\begin{document}
\include{sections/3_methods}
\end{document}
섹션/3_방법:
\section{Methods}
test
이것스택 교환 질문.sublime-project 파일에 아래 내용을 넣어 루트 tex 파일을 생성할 수 있다고 언급합니다.
{ "settings": { "TEXroot": "./yourfilename.tex" } }
이렇게 하면 명령을 통해 포함된 tex 파일에서 tex 빌드를 활성화해야 합니다 \include
. 나는 이 일을 올바르게 했다고 믿습니다. 실행하면 check system
아래 키/필드를 얻습니다.
TeX Root
--------
/home/my_user/path/to/qsar_catalogue.tex
그러나 빌드하려고 하면 다음을 /home/my_user/path/to/sections/3_methods.tex
얻습니다.
entering extended mode
(/home/my_user/path/to/sections/methods.tex
LaTeX2e <2016/02/01>
Babel <3.9q> and hyphenation patterns for 81 language(s) loaded.
! Undefined control sequence.
l.1 \section
{Methods}
?
다음에서 더 많은 지침을 찾았습니다.latextools 문서하지만 몇 시간 동안 다양한 설정을 변경한 후에는 운이 없었습니다.