输出 PDF 中未显示词汇表

输出 PDF 中未显示词汇表

我在输出 PDF 中获取词汇表文件时遇到问题。以下是我正在使用的 WME:

\documentclass[a4paper,12pt]{report}
\usepackage[extrafootnotefeatures]{xepersian}
\usepackage{lipsum}
\usepackage{setspace,xargs}
\usepackage{pifont}
\usepackage{extarrows} 
\usepackage{float}
\usepackage [pagebackref=true, colorlinks, linkcolor=blue, citecolor=magenta, urlcolor=cyan] {hyperref}
\usepackage{bm}
\usepackage[nottoc]{tocbibind}
\usepackage{titletoc}
\usepackage{amsthm,amssymb,amsmath}
\usepackage[square, numbers, comma, sort&compress]{natbib} 
% Glossaaires__________________________________________________ 

\usepackage[xindy={language=persian,codepage=utf8},toc]{glossaries}
%
\renewcommand\glsnamefont[1]{\rm #1}
%
\newglossarystyle{listdotpage}{%
    \glossarystyle{listgroup}
    \renewcommand*{\glossaryentryfield}[5]{%
      \item[\glstarget{##1}{##2}, ##5] \dotfill\space ##3}}
%
\newglossarystyle{listpagedot}{%
    \glossarystyle{list}
    \renewcommand*{\glossaryentryfield}[5]{%
      \item[\glstarget {##1}{##2}] \dotfill\space \rl{, ##5}##3}}
%
      \newglossarystyle{notation}{%
    \glossarystyle{list}
    \renewcommand*{\glossaryentryfield}[5]{%
     \item[\parbox{1.3cm}{\LTR{\glstarget{##1}{##2}}}] \hspace{5pt} ##3,\space ##5}}
%
\newcommand\bigZero{\mbox{\huge$0$}}
\newcommand\bigSigma{\mbox{\huge$\Sigma$}}
\renewcommand{\glossaryname}{واژه‌نامه فارسی به انگلیسی و نمایه}

\newglossary[epx]{dicep}{epi}{epd}{واژه‌نامه انگلیسی به فارسی}
\GlsSetXdyLanguage[dicep]{english}
\makeglossaries
\loadglsentries{dic.tex}
\renewcommand\glsdisplayfirst[4]{\textit{#1}}
\newcommand\gi[1]{\gls{#1}\glslink{ep#1}{}}
\newcommand\gn[1]{\glsentrytext{#1}}
\newcommand\gfirst[1]{\glsreset{#1}\gls{#1}\glslink{ep#1}{}}
\settextfont[Scale=1.2]{Arial}

%%%____________________________________

\begin{document}


\chapter{مقدمه}
\section{پیشگفتار}

در 
% Print Bibs & Glossaries _____________________________________________

\renewcommand{\glossarypreamble}{}
\renewcommand{\glossarypostamble}{}
\printglossary[style=listdotpage,type=main]
\renewcommand{\glsnamefont}[1]{\rm{\latinfont #1}}
\renewcommand{\glossarypreamble}{\setLTR\DefaultMathsDigits}
\renewcommand{\glossarypostamble}{\setRTL\AutoMathsDigits}
\printglossary[style=listpagedot,type=dicep]

\end{document}

以及词汇表文件(dic.tex):

\makeatletter
\newcommandx{\newgloss}[5][3, 5]{\@ifempty{#3}{\newglossaryentry{#1} {name={#2},description=\lr{#4}}} {\newglossaryentry{#1}{name={#2},description=\lr{#4},sort=#3}}
\@ifempty{#5}{\newglossaryentry{ep#1}{type=dicep,name={#4},description=\rl{#2}}} {\newglossaryentry{ep#1}{type=dicep,name={#4},description=\rl{#2},sort=#5}}}
%
\makeatother
%
\newgloss{g:wg}{گراف~وزن‌دار}{weighted graph}
\newgloss{trace}{اثر}{trace}
\newgloss{karonski}{کارنسکی}{Karo{\'n}ski}
\newgloss{thomason}{توماسن}{Thomason}
\newgloss{fariba}{فریبا}{Fariba}
\newgloss{accuracy}{دقت}{Accuracy}
\newgloss{adjacency}{ماتریس مجاورت}{Adjacency matrix}
\newgloss{affinity}{ماتریس نزدیکی}{Affinity matrix}
\newgloss{connected}{همبند}{Connected}
\newgloss{ccomponent}{مؤلفه همبندی}{Connected component}
\newgloss{geodesic}{ فاصله ژئودزیک}{Geodesic}
\newgloss{nn}{نزدیکترین همسایه k}{K-nearest neighbor}
\newgloss{sample}{نمونه}{Sample}
\newgloss{pca}{تجزیه مؤلفه های اساسی}{Principal Component Analysis}
\newgloss{sparse}{تنک}{Sparse}
\newgloss{supervised}{بانظارت}{Supervised}
\newgloss{unsupervised}{بدون‌نظارت}{Unsupervised}
\newgloss{undirected}{گراف بدون جهت}{undirected graph}
\newgloss{directed}{گراف جهت‌دار}{directed graph}
\newgloss{simplegraph}{گراف ساده}{simple graph}
\newgloss{laplacianmatrix}{ماتریس لاپلاسین}{Laplacian matrix}
\newgloss{positivesemi}{مثبت نیمه معین}{positive semidefinite}
\newgloss{weight}{ماتریس وزن}{weight matrix}
\newgloss{embedding}{فرونشاندن}{Embedding}
\newgloss{PCA}{تحلیل مؤلفه اصلی}{Principal component analysis (PCA)}
\newgloss{classification}{کلاس‌بندی}{Classification}
\newgloss{clustering}{خوشه‌بندی}{Clustering}
\newgloss{estimation}{تخمین}{Estimation}
\newgloss{prediction}{پیش‌بینی}{Prediction}
\newgloss{regression}{رگرسیون}{Regression}
\newgloss{MDS}{ مقیاس‌گذاری چندبعدی}{MultiDimensinal Scaling (MDS)}
\newgloss{lle}{نگاشت خطی محلّی}{Locally Linear Embedding (LLE)}
\newgloss{le}{نگاشت ویژه لاپلاسی}{Laplacian Eigenmap}
\newgloss{isomap}{نگاشت هم‌اندازه}{Isomap}
\newgloss{sle}{نگاشت ویژه لاپلاسی نظارت یافته}{Supervised Laplacian Eigenmap}
\newgloss{tail}{دُم}{tail}
\newgloss{head}{سر}{head}
\newgloss{sconnected}{قویاً همبند}{strongly connected}
\newgloss{semisupervised}{ نیمه نظارتی}{semi-supervised}
\newgloss{similarity}{ماتریس شباهت}{similarity matrix}
\newgloss{rank}{رتبه}{rank}
\newgloss{orthonormal}{متعامد~نرمال}{orthonormal}
\newgloss{overcomplete}{فراکامل}{overcomplete}

它有什么问题?

我读过一些关于这个问题(词汇表没有打印)的问题,但其中一些问题涉及使用\printglossary命令,而其他的则\makeglossaries对我不起作用。我尝试使用编译文档,MakeIndex但无济于事(出现错误无法找到输入索引文件 xxxxx 或 xxxxx.idx。)

相关内容