added the condition for new variables

This commit is contained in:
Master 2026-06-06 20:53:13 +03:30
parent 94a66f843c
commit 4f0c692ba1
1 changed files with 24 additions and 16 deletions

View File

@ -101,24 +101,32 @@
% فراخوانی فایل‌های محتوای پروژه % فراخوانی فایل‌های محتوای پروژه
% ========================================== % ==========================================
\input{Content/01_project_content.tex} % متن اصلی \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 \ifHasReferences
\phantomsection \newpage
\addcontentsline{toc}{section}{مراجع و منابع} \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] \begin{latin}
\end{latin} \printbibliography[keyword=english, title={\lr{English References}}, resetnumbers=true]
\end{latin}
\fi
\clearpage \clearpage