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/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}{مراجع و منابع}
\nocite{*}
% چاپ منابع فارسی (راست‌چین)
\printbibliography[keyword=persian, title={منابع فارسی}]
\vspace{1cm}
% چاپ منابع انگلیسی (چپ‌چین)
\begin{latin}
\printbibliography[keyword=english, title={\lr{English References}}, resetnumbers=true]
\end{latin}
\ifHasReferences
\newpage
\phantomsection
\addcontentsline{toc}{section}{مراجع و منابع}
\nocite{*}
% چاپ منابع فارسی (راست‌چین)
\printbibliography[keyword=persian, title={منابع فارسی}]
\vspace{1cm}
% چاپ منابع انگلیسی (چپ‌چین)
\begin{latin}
\printbibliography[keyword=english, title={\lr{English References}}, resetnumbers=true]
\end{latin}
\fi
\clearpage