当我尝试以下 Tex 文件时,我得到了“无法找到 Lohit Hindi 字体”的信息,尽管我安装了 Typeset Devanagari。如果我使用 sanskrit 字体或此类型集中的任何其他字体,情况也是如此。任何想法都将不胜感激。
\documentclass[10pt]{report}
\usepackage[letterpaper,top=2.0cm,bottom=2.0cm,left=0.5cm,right=1cm]{geometry}
\usepackage{booktabs}
\usepackage{array}
\usepackage{fancyhdr}
\usepackage[iso]{datetime}
\usepackage{lastpage}
\usepackage{polyglossia}
\setdefaultlanguage{english}
\setotherlanguage{Lohit Hindi}
\usepackage{fontspec}
\setmainfont{Times New Roman}
\newfontfamily\devanagarifont[Scale=MatchUppercase]{Sanskrit}
\newfontfamily\devtransl[Mapping=DevRom]{Times New Roman}
\pagestyle{fancy}
\fancyhf{}
\setlength\headheight{0.5pt}
\chead{\textbf{\huge{Inform}}}
\lhead{\textbf{Test1}}
\rhead{\textbf{\normalsize{Sets}}}
\rfoot{\today \hspace{0.5pt} \currenttime}
\cfoot{Page \thepage\ of \pageref{LastPage}}\lfoot{Some}
\renewcommand{\headrulewidth}{1pt}
\usepackage{supertabular}
\begin{document}
\fontsize{8}{10}\selectfont
\tablehead
{
\toprule
& \multicolumn{1}{p{24.5mm}}{\textbf{\foreignlanguage{sanskrit}{ग्रोस वोलयूम}}}
& \multicolumn{1}{p{21mm}}{\textbf{नेट वाल्यूम}}
& \multicolumn{1}{p{16mm}}{\textbf{लेवल}}
& \multicolumn{1}{p{21mm}}{\textbf{तापमान}}
& \multicolumn{1}{p{16mm}}{\centering{\textbf{ऊलाज}}}
& \multicolumn{1}{p{42mm}}{\centering{\textbf{लास्ट अपडेटड}}}\\
& \multicolumn{1}{p{24.5mm}}{\centering{\textbf{गैलन}}}
& \multicolumn{1}{p{21mm}}{\centering{\textbf{गैलन}}}
& \multicolumn{1}{p{16mm}}{\textbf{सेन्टीमीटर}}
& \multicolumn{1}{p{21mm}}{\centering{\textbf{सेन्टीग्रेड}}}
& \multicolumn{1}{p{16mm}}{\centering{\textbf{गैलन}}} & \\
\toprule
}
\begin{supertabular}{p{35mm}*{6}{r}}
\\ \multicolumn{7}{l}{\textbf {3001}}\\\\
\textbf{टेंक 2} & \multicolumn{6}{l}{SET1}\\
PROD 2& \multicolumn{6}{l}{(4,011 अधिकतम)}\\
\multicolumn{1}{r}{\textbf{प्रोडक्ट}} & 2,495.40 & 2,479.66 & 145.55 & 20.53 & 1,313.07 & 19/04/2012 15:00:23 \\
\multicolumn{1}{r}{\textbf{Water}} & 1.79 & & 1.00 & & & \\\\
\textbf{टेंक 3} & \multicolumn{6}{l}{SET2}\\
PROD 3& \multicolumn{6}{l}{(4,011 अधिकतम)}\\
\multicolumn{1}{r}{\textbf{प्रोडक्ट}} & 2,593.08 & 2,578.51 & 150.40 & 20.01 & 1,213.86 & 19/04/2012 15:00:23 \\
\multicolumn{1}{r}{\textbf{SET3}} & 3.32 & & 1.51 & & & \\\\
\toprule[2pt]\\
\end{supertabular}
\end{document}