diff options
-rw-r--r-- | arabluatex.dtx | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx index 128a78f..790b13c 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx | |||
@@ -178,7 +178,7 @@ | |||
178 | pdfmetalang={en-US}, pdftype={Text}, pdfkeywords={Arabic language, | 178 | pdfmetalang={en-US}, pdftype={Text}, pdfkeywords={Arabic language, |
179 | arabtex, luatex}} | 179 | arabtex, luatex}} |
180 | \usepackage[scale=1.5]{ccicons} | 180 | \usepackage[scale=1.5]{ccicons} |
181 | \usepackage[toc,lot]{multitoc} | 181 | \usepackage[lot]{multitoc} |
182 | \usepackage{enumitem} | 182 | \usepackage{enumitem} |
183 | \setlist{nosep} | 183 | \setlist{nosep} |
184 | \setlist[itemize]{label=\textendash} | 184 | \setlist[itemize]{label=\textendash} |
@@ -220,6 +220,26 @@ | |||
220 | \usepackage[style=authoryear, indexing=cite]{biblatex} | 220 | \usepackage[style=authoryear, indexing=cite]{biblatex} |
221 | \DeclareIndexFieldFormat{indextitle}{\index{#1=\emph{#1}}} | 221 | \DeclareIndexFieldFormat{indextitle}{\index{#1=\emph{#1}}} |
222 | \addbibresource{arabluatex.bib} | 222 | \addbibresource{arabluatex.bib} |
223 | \usepackage{etoc} | ||
224 | \etocsettocdepth{paragraph} | ||
225 | \newcommand{\altableofcontents}{% | ||
226 | \begingroup | ||
227 | \etocsetstyle{section}{}{} | ||
228 | {\etocsavedsectiontocline{% | ||
229 | \numberline{\etocnumber}\etocname}{\etocpage}}{} | ||
230 | \etocsetstyle{subsection}{}{} | ||
231 | {\etocsavedsubsectiontocline{% | ||
232 | \numberline{\etocnumber}\etocname}{\etocpage}}{}% | ||
233 | \etocsetstyle{subsubsection}{}{} | ||
234 | {\etocsavedsubsubsectiontocline{% | ||
235 | \numberline{\etocnumber}\etocname}{\etocpage}}{}% | ||
236 | \etocsetstyle{paragraph}{}{\leftskip2cm\rightskip 2.2em \parfillskip | ||
237 | 0pt plus 1fil\relax \nobreak} | ||
238 | {\noindent\etocname{} \etocpage{} }{\par}% | ||
239 | \etocmulticolstyle[2]{\section*{Contents}} | ||
240 | \pdfbookmark[1]{Contents}{toc} | ||
241 | \tableofcontents | ||
242 | \endgroup} | ||
223 | \EnableCrossrefs | 243 | \EnableCrossrefs |
224 | \RecordChanges | 244 | \RecordChanges |
225 | \CodelineIndex | 245 | \CodelineIndex |
@@ -305,8 +325,7 @@ | |||
305 | % | 325 | % |
306 | % \maketitle | 326 | % \maketitle |
307 | % \footnotesize | 327 | % \footnotesize |
308 | % \tableofcontents | 328 | % \altableofcontents |
309 | % \pagebreak | ||
310 | % \listoftables | 329 | % \listoftables |
311 | % \normalsize | 330 | % \normalsize |
312 | % | 331 | % |
@@ -3497,7 +3516,7 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a... | |||
3497 | % \fi | 3516 | % \fi |
3498 | \begin{arabluacode} | 3517 | \begin{arabluacode} |
3499 | \begin{arab} | 3518 | \begin{arab} |
3500 | \arbcolor[red]{\uc{m}uha_d_dabu \uc{'l-d}Ini \uc{`a}bdu | 3519 | \textcolor{red}{\uc{m}uha_d_dabu \uc{'l-d}Ini \uc{`a}bdu |
3501 | \uc{'l-r}a.hImi bnu \uc{`a}liyyiN} huwa ^say_hu-nA 'l-'imAmu | 3520 | \uc{'l-r}a.hImi bnu \uc{`a}liyyiN} huwa ^say_hu-nA 'l-'imAmu |
3502 | 'l-.sadru 'l-kabIru 'l-`Alimu 'l-fA.dilu \uc{m}uha_d_dabu | 3521 | 'l-.sadru 'l-kabIru 'l-`Alimu 'l-fA.dilu \uc{m}uha_d_dabu |
3503 | \uc{'l-d}Ini \uc{'a}bU \uc{m}u.hammadiN \uc{`a}bdu | 3522 | \uc{'l-d}Ini \uc{'a}bU \uc{m}u.hammadiN \uc{`a}bdu |
@@ -3505,7 +3524,7 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a... | |||
3505 | bi-\uc{'l-d}a_hwari. | 3524 | bi-\uc{'l-d}a_hwari. |
3506 | \end{arab} | 3525 | \end{arab} |
3507 | \begin{arab}[trans] | 3526 | \begin{arab}[trans] |
3508 | \arbcolor[red]{\uc{m}uha_d_dabu \uc{'l-d}Ini \uc{`a}bdu | 3527 | \textcolor{red}{\uc{m}uha_d_dabu \uc{'l-d}Ini \uc{`a}bdu |
3509 | \uc{'l-r}a.hImi bnu \uc{`a}liyyiN} huwa ^say_hu-nA 'l-'imAmu | 3528 | \uc{'l-r}a.hImi bnu \uc{`a}liyyiN} huwa ^say_hu-nA 'l-'imAmu |
3510 | 'l-.sadru 'l-kabIru 'l-`Alimu 'l-fA.dilu \uc{m}uha_d_dabu | 3529 | 'l-.sadru 'l-kabIru 'l-`Alimu 'l-fA.dilu \uc{m}uha_d_dabu |
3511 | \uc{'l-d}Ini \uc{'a}bU \uc{m}u.hammadiN \uc{`a}bdu | 3530 | \uc{'l-d}Ini \uc{'a}bU \uc{m}u.hammadiN \uc{`a}bdu |