aboutsummaryrefslogtreecommitdiff
path: root/arabluatex.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'arabluatex.dtx')
-rw-r--r--arabluatex.dtx23
1 files changed, 13 insertions, 10 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 2972c0d..08f9be2 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -240,7 +240,6 @@
240\usepackage{bookmark} 240\usepackage{bookmark}
241\usepackage{authblk} 241\usepackage{authblk}
242\usepackage[scale=1.5]{ccicons} 242\usepackage[scale=1.5]{ccicons}
243\usepackage[lot]{multitoc}
244\usepackage{enumitem} 243\usepackage{enumitem}
245\setlist{nosep} 244\setlist{nosep}
246\setlist[itemize]{label=\textendash} 245\setlist[itemize]{label=\textendash}
@@ -287,6 +286,11 @@
287 {\marginpar{\hfill\emph{New feature} #1}}% 286 {\marginpar{\hfill\emph{New feature} #1}}%
288 \ignorespaces 287 \ignorespaces
289} 288}
289\usepackage{multicol}
290\usepackage{tocloft}
291\renewcommand\cftlotprehook{\begin{multicols}{2}}
292\renewcommand\cftlotposthook{\end{multicols}}
293\renewcommand\cftlottitlefont{\Large\bfseries}
290\usepackage{etoc} 294\usepackage{etoc}
291\etocsettocdepth{paragraph} 295\etocsettocdepth{paragraph}
292\newcommand{\altableofcontents}{% 296\newcommand{\altableofcontents}{%
@@ -307,18 +311,17 @@
307 \pdfbookmark[1]{Contents}{toc} 311 \pdfbookmark[1]{Contents}{toc}
308 \tableofcontents 312 \tableofcontents
309 \endgroup} 313 \endgroup}
314\setlength\IndexMin{100pt}
310\EnableCrossrefs 315\EnableCrossrefs
311\RecordChanges 316\RecordChanges
312\CodelineIndex 317\CodelineIndex
313\begin{document} 318\begin{document}
314 \DocInput{arabluatex.dtx} 319 \DocInput{arabluatex.dtx}
315 \printbibliography[heading=bibintoc] 320 \printbibliography[heading=bibnumbered]
316 \phantomsection 321 \phantomsection
317 \addcontentsline{toc}{section}{Change History}
318 \PrintChanges 322 \PrintChanges
319 \phantomsection 323 \phantomsection
320 \addcontentsline{toc}{section}{Index} 324 \PrintIndex
321 \PrintIndex
322\end{document} 325\end{document}
323%</driver> 326%</driver>
324% \fi 327% \fi
@@ -5095,16 +5098,16 @@
5095% it to suit our purpose: 5098% it to suit our purpose:
5096% \begin{macrocode} 5099% \begin{macrocode}
5097\AtBeginDocument{\ifdef{\LR}% 5100\AtBeginDocument{\ifdef{\LR}%
5098 {\RenewDocumentCommand{\LR}{m}{\bgroup\textdir TLT\normalfont#1\egroup}} 5101 {\RenewDocumentCommand{\LR}{m}{\bgroup\textdir TLT\rmfamily#1\egroup}}
5099 {\NewDocumentCommand{\LR}{m}{\bgroup\textdir TLT\normalfont#1\egroup}}} 5102 {\NewDocumentCommand{\LR}{m}{\bgroup\textdir TLT\rmfamily#1\egroup}}}
5100% \end{macrocode} 5103% \end{macrocode}
5101% \end{macro} 5104% \end{macro}
5102% \begin{macro}{\RL} This one typesets its argument from right to 5105% \begin{macro}{\RL} This one typesets its argument from right to
5103% left. Same remark as above regarding the need of redefinition. 5106% left. Same remark as above regarding the need of redefinition.
5104% \begin{macrocode} 5107% \begin{macrocode}
5105\AtBeginDocument{\ifdef{\RL}% 5108\AtBeginDocument{\ifdef{\RL}%
5106 {\RenewDocumentCommand{\RL}{m}{\bgroup\textdir TRT\normalfont#1\egroup}} 5109 {\RenewDocumentCommand{\RL}{m}{\bgroup\textdir TRT\rmfamily#1\egroup}}
5107 {\NewDocumentCommand{\RL}{m}{\bgroup\textdir TRT#1\normalfont\egroup}}} 5110 {\NewDocumentCommand{\RL}{m}{\bgroup\textdir TRT#1\rmfamily\egroup}}}
5108% \end{macrocode} 5111% \end{macrocode}
5109% \end{macro} 5112% \end{macro}
5110% \begin{macro}{\MkArbBreak} 5113% \begin{macro}{\MkArbBreak}
@@ -5242,7 +5245,7 @@
5242% font may also be selected with the font-selecting commands of the 5245% font may also be selected with the font-selecting commands of the
5243% \package{fontspec} package. 5246% \package{fontspec} package.
5244% \begin{macrocode} 5247% \begin{macrocode}
5245\def\al@trans@font{\normalfont}% 5248\def\al@trans@font{\rmfamily}%
5246\NewDocumentCommand{\SetTranslitFont}{m}{\def\al@trans@font{#1}} 5249\NewDocumentCommand{\SetTranslitFont}{m}{\def\al@trans@font{#1}}
5247% \end{macrocode} 5250% \end{macrocode}
5248% \end{macro} 5251% \end{macro}