added the condition for new variables
This commit is contained in:
parent
94a66f843c
commit
4f0c692ba1
34
main.tex
34
main.tex
|
|
@ -101,24 +101,32 @@
|
|||
% فراخوانی فایلهای محتوای پروژه
|
||||
% ==========================================
|
||||
\input{Content/01_project_content.tex} % متن اصلی
|
||||
\input{Content/02_appendices.tex} % پیوستها
|
||||
\input{Content/03_glossary.tex} % واژهنامه تخصصی
|
||||
|
||||
\ifHasAppendices
|
||||
\input{Content/02_appendices.tex} % پیوستها
|
||||
\fi
|
||||
|
||||
\ifHasGlossary
|
||||
\input{Content/03_glossary.tex} % واژهنامه تخصصی
|
||||
\fi
|
||||
|
||||
% --- بخش مراجع خودکار ---
|
||||
\newpage
|
||||
\phantomsection
|
||||
\addcontentsline{toc}{section}{مراجع و منابع}
|
||||
\ifHasReferences
|
||||
\newpage
|
||||
\phantomsection
|
||||
\addcontentsline{toc}{section}{مراجع و منابع}
|
||||
|
||||
\nocite{*}
|
||||
\nocite{*}
|
||||
|
||||
% چاپ منابع فارسی (راستچین)
|
||||
\printbibliography[keyword=persian, title={منابع فارسی}]
|
||||
\vspace{1cm}
|
||||
% چاپ منابع فارسی (راستچین)
|
||||
\printbibliography[keyword=persian, title={منابع فارسی}]
|
||||
\vspace{1cm}
|
||||
|
||||
% چاپ منابع انگلیسی (چپچین)
|
||||
\begin{latin}
|
||||
\printbibliography[keyword=english, title={\lr{English References}}, resetnumbers=true]
|
||||
\end{latin}
|
||||
% چاپ منابع انگلیسی (چپچین)
|
||||
\begin{latin}
|
||||
\printbibliography[keyword=english, title={\lr{English References}}, resetnumbers=true]
|
||||
\end{latin}
|
||||
\fi
|
||||
|
||||
\clearpage
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue