diff options
author | Robert Alessi <alessi@robertalessi.net> | 2019-03-24 10:37:35 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2019-03-24 14:06:28 +0100 |
commit | ba909ece91cce594fb99e5c5d8358630dc6cc9a7 (patch) | |
tree | b7c89582bd12ddf03671a47344fd69cdc6ac5944 | |
parent | f871c8d0f3f5aeba9375c273294327a6d40f64c1 (diff) | |
download | arabluatex-ba909ece91cce594fb99e5c5d8358630dc6cc9a7.tar.gz |
improved syntax highlighting, tidied up the code
-rw-r--r-- | arabluatex.dtx | 655 |
1 files changed, 333 insertions, 322 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx index 7eb5ce7..8c1d7f6 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx | |||
@@ -204,20 +204,19 @@ | |||
204 | \usepackage{booktabs} | 204 | \usepackage{booktabs} |
205 | \usepackage[defaultlines=3,all]{nowidow} | 205 | \usepackage[defaultlines=3,all]{nowidow} |
206 | \usepackage{needspace} | 206 | \usepackage{needspace} |
207 | \usepackage{addlines} | ||
207 | \usepackage{relsize} | 208 | \usepackage{relsize} |
208 | \usepackage{tikz} | 209 | \usepackage{tikz} |
209 | \usepackage[breakable, skins, xparse, minted]{tcolorbox} | 210 | \usepackage[breakable, skins, xparse, minted]{tcolorbox} |
210 | \tcbset{colback=white, boxrule=.15mm, colframe=red!50!white, left=6mm, | 211 | \tcbset{colback=white, boxrule=.15mm, colframe=red!50!white, |
211 | breakable} | 212 | breakable} |
212 | \DeclareTCBListing{arabluacode}{s O{}}{listing engine=minted, minted | 213 | \newtcbox{\arabluabox}{boxrule=.3mm, left=0mm, right=0mm, top=0mm, |
213 | language=latex, minted options={linenos, fontsize=\relsize{-0.5}}, | 214 | bottom=0mm} |
214 | IfBooleanTF={#1}{listing side text}{#2}} | 215 | \newtcblisting{example}{minted options={linenos, numbersep=0mm, |
215 | \DeclareTCBListing{arabluaverbatim}{}{listing engine=minted, minted | 216 | fontsize=\smaller}} |
216 | language=latex, minted options={linenos, fontsize=\relsize{-0.5}}, | 217 | \newtcblisting{code}{minted options={linenos, numbersep=0mm, |
217 | listing only} | 218 | fontsize=\smaller}, listing |
218 | \DeclareTotalTCBox{\arabluaverb}{v}{verbatim}{#1} | 219 | only} |
219 | \DeclareTotalTCBox{\arabluabox}{m}{left=0mm, right=0mm, top=0mm, | ||
220 | bottom=0mm}{#1} | ||
221 | \newcommand{\package}[1]{\textsf{#1}\index{#1=#1 (package)}} | 220 | \newcommand{\package}[1]{\textsf{#1}\index{#1=#1 (package)}} |
222 | \usepackage[contents]{colordoc} | 221 | \usepackage[contents]{colordoc} |
223 | \usepackage{csquotes} | 222 | \usepackage{csquotes} |
@@ -506,7 +505,7 @@ | |||
506 | % \section{The basics of \package{arabluatex}} | 505 | % \section{The basics of \package{arabluatex}} |
507 | % \subsection{Activating \package{arabluatex}} | 506 | % \subsection{Activating \package{arabluatex}} |
508 | % \package{arabluatex} is loaded the usual way:\\ | 507 | % \package{arabluatex} is loaded the usual way:\\ |
509 | % \arabluaverb{\usepackage{arabluatex}}\\ | 508 | % \tcboxverb{\usepackage{arabluatex}}\\ |
510 | % The only requirement of \package{arabluatex} is {\LuaLaTeX}; | 509 | % The only requirement of \package{arabluatex} is {\LuaLaTeX}; |
511 | % it will complain if the document is compiled with another | 510 | % it will complain if the document is compiled with another |
512 | % engine. That aside, \package{arabluatex} does not load packages such | 511 | % engine. That aside, \package{arabluatex} does not load packages such |
@@ -525,7 +524,7 @@ | |||
525 | % By default, if no Arabic font is selected, \package{arabluatex} will | 524 | % By default, if no Arabic font is selected, \package{arabluatex} will |
526 | % issue a warning message and attempt to load the Amiri | 525 | % issue a warning message and attempt to load the Amiri |
527 | % font\footnote{\textcite{pkg:amiri}.} like so:---\\ | 526 | % font\footnote{\textcite{pkg:amiri}.} like so:---\\ |
528 | % \arabluaverb{\newfontfamily\arabicfont{Amiri}[Script=Arabic]} | 527 | % \tcboxverb{\newfontfamily\arabicfont{Amiri}[Script=Arabic]} |
529 | % \begin{quoting} | 528 | % \begin{quoting} |
530 | % \textsc{Rem.} By default Amiri places the \arb[trans]{kasraT} in | 529 | % \textsc{Rem.} By default Amiri places the \arb[trans]{kasraT} in |
531 | % combination with the \arb[trans]{ta^sdId} below the consonant, | 530 | % combination with the \arb[trans]{ta^sdId} below the consonant, |
@@ -537,7 +536,7 @@ | |||
537 | % selecting the |ss05| feature of the Amiri font, like | 536 | % selecting the |ss05| feature of the Amiri font, like |
538 | % so:---\footnote{See the documentation of \package{amiri}, | 537 | % so:---\footnote{See the documentation of \package{amiri}, |
539 | % \textcite[6]{pkg:amiri}.}\\ | 538 | % \textcite[6]{pkg:amiri}.}\\ |
540 | % \arabluaverb{\newfontfamily\arabicfont{Amiri}[Script=Arabic,RawFeature={+ss05}]} | 539 | % \tcboxverb{\newfontfamily\arabicfont{Amiri}[Script=Arabic,RawFeature={+ss05}]} |
541 | % | 540 | % |
542 | % Other Arabic fonts may behave differently. | 541 | % Other Arabic fonts may behave differently. |
543 | % \end{quoting} | 542 | % \end{quoting} |
@@ -548,7 +547,7 @@ | |||
548 | % first four of which are mutually exclusive and may be overriden at | 547 | % first four of which are mutually exclusive and may be overriden at |
549 | % any point of the document (see below \vref{sec:local-options}): | 548 | % any point of the document (see below \vref{sec:local-options}): |
550 | % | 549 | % |
551 | % \DescribeOption{voc}\hfill\arabluaverb{Default}\\ In this mode, | 550 | % \DescribeOption{voc}\hfill\tcboxverb{Default}\\ In this mode, |
552 | % which is the one selected by default, every short vowel written | 551 | % which is the one selected by default, every short vowel written |
553 | % generates its corresponding diacritical mark: \arb[trans]{.dammaT} | 552 | % generates its corresponding diacritical mark: \arb[trans]{.dammaT} |
554 | % (\arb{Bu}), \arb[trans]{fat.haT} (\arb{Ba}) and \arb[trans]{kasraT} | 553 | % (\arb{Bu}), \arb[trans]{fat.haT} (\arb{Ba}) and \arb[trans]{kasraT} |
@@ -584,7 +583,7 @@ | |||
584 | % | 583 | % |
585 | % \label{ref:export-global-opt} | 584 | % \label{ref:export-global-opt} |
586 | % \DescribeOption{export} |export|$=$|true|\verb+|+|false| | 585 | % \DescribeOption{export} |export|$=$|true|\verb+|+|false| |
587 | % \hfill\arabluaverb{Default: false}\\ \label{export-mode} | 586 | % \hfill\tcboxverb{Default: false}\\ \label{export-mode} |
588 | % \NEWfeature{v.1.13} This option acts as a named argument and does | 587 | % \NEWfeature{v.1.13} This option acts as a named argument and does |
589 | % not need a value as it defaults to |true| if it is used. It enables | 588 | % not need a value as it defaults to |true| if it is used. It enables |
590 | % \package{arabluatex} to produce a duplicate of the original |.tex| | 589 | % \package{arabluatex} to produce a duplicate of the original |.tex| |
@@ -623,11 +622,11 @@ | |||
623 | % \iffalse | 622 | % \iffalse |
624 | %<*example> | 623 | %<*example> |
625 | % \fi | 624 | % \fi |
626 | \begin{arabluacode}[text only] | 625 | \begin{tcblisting}{text only} |
627 | Please note that only few Arabic fonts provide such contrivances. In | 626 | Please note that only few Arabic fonts provide such contrivances. In |
628 | case this feature is not supported by some Arabic font, it is | 627 | case this feature is not supported by some Arabic font, it is |
629 | advisable to use \cs{SetArbEasy}. | 628 | advisable to use \cs{SetArbEasy}. |
630 | \end{arabluacode} | 629 | \end{tcblisting} |
631 | % \iffalse | 630 | % \iffalse |
632 | %</example> | 631 | %</example> |
633 | % \fi | 632 | % \fi |
@@ -690,9 +689,10 @@ advisable to use \cs{SetArbEasy}. | |||
690 | % \iffalse | 689 | % \iffalse |
691 | %<*example> | 690 | %<*example> |
692 | % \fi | 691 | % \fi |
693 | \begin{arabluacode}[text only] | 692 | \begin{tcblisting}{text only} |
694 | Please note that this document is typeset with \cs{SetArbDflt} throughout. | 693 | Please note that this document is typeset with \cs{SetArbDflt} |
695 | \end{arabluacode} | 694 | throughout. |
695 | \end{tcblisting} | ||
696 | % \iffalse | 696 | % \iffalse |
697 | %</example> | 697 | %</example> |
698 | % \fi | 698 | % \fi |
@@ -704,15 +704,15 @@ Please note that this document is typeset with \cs{SetArbDflt} throughout. | |||
704 | % \iffalse | 704 | % \iffalse |
705 | %<*example> | 705 | %<*example> |
706 | % \fi | 706 | % \fi |
707 | \begin{arabluacode} | 707 | \begin{example} |
708 | From \textcite[i. 1 A]{Wright}:--- Arabic, like Hebrew and | 708 | From \textcite[i. 1 A]{Wright}:--- Arabic, like Hebrew and |
709 | Syriac, is written and read from right to left. The letters | 709 | Syriac, is written and read from right to left. The letters |
710 | of the alphabet (\arb{.hurUf-u 'l-hijA'-i}, \arb{.hurUf-u | 710 | of the alphabet (\arb{.hurUf-u 'l-hijA'-i}, \arb{.hurUf-u |
711 | 'l-tahajjI}, \arb{al-.hurUf-u 'l-hijA'iyyaT-u}, or | 711 | 'l-tahajjI}, \arb{al-.hurUf-u 'l-hijA'iyyaT-u}, or |
712 | \arb{.hurUf-u 'l-mu`jam-i}) are twenty-eight in number and | 712 | \arb{.hurUf-u 'l-mu`jam-i}) are twenty-eight in number and |
713 | are all consonants, though three of them are also used as | 713 | are all consonants, though three of them are also used as |
714 | vowels (see §~3). | 714 | vowels (see §~3). |
715 | \end{arabluacode} | 715 | \end{example} |
716 | % \iffalse | 716 | % \iffalse |
717 | %</example> | 717 | %</example> |
718 | % \fi | 718 | % \fi |
@@ -731,7 +731,7 @@ vowels (see §~3). | |||
731 | % \iffalse | 731 | % \iffalse |
732 | %<*example> | 732 | %<*example> |
733 | % \fi | 733 | % \fi |
734 | \begin{arabluacode} | 734 | \begin{example} |
735 | \begin{enumerate}[label=\Roman*., start=16] | 735 | \begin{enumerate}[label=\Roman*., start=16] |
736 | \item \indent\arb{fawA`ilu}*. | 736 | \item \indent\arb{fawA`ilu}*. |
737 | \begin{enumerate}[label=\arabic*.] | 737 | \begin{enumerate}[label=\arabic*.] |
@@ -739,7 +739,7 @@ vowels (see §~3). | |||
739 | signet-ring}, ... | 739 | signet-ring}, ... |
740 | \end{enumerate} | 740 | \end{enumerate} |
741 | \end{enumerate} | 741 | \end{enumerate} |
742 | \end{arabluacode} | 742 | \end{example} |
743 | % \iffalse | 743 | % \iffalse |
744 | %</example> | 744 | %</example> |
745 | % \fi | 745 | % \fi |
@@ -750,11 +750,11 @@ vowels (see §~3). | |||
750 | % \iffalse | 750 | % \iffalse |
751 | %<*example> | 751 | %<*example> |
752 | % \fi | 752 | % \fi |
753 | \begin{arabluaverbatim} | 753 | \begin{code} |
754 | \begin{arab} | 754 | \begin{arab} |
755 | [...] | 755 | [...] |
756 | \end{arab} | 756 | \end{arab} |
757 | \end{arabluaverbatim} | 757 | \end{code} |
758 | % \iffalse | 758 | % \iffalse |
759 | %</example> | 759 | %</example> |
760 | % \fi | 760 | % \fi |
@@ -763,7 +763,7 @@ vowels (see §~3). | |||
763 | % \iffalse | 763 | % \iffalse |
764 | %<*example> | 764 | %<*example> |
765 | % \fi | 765 | % \fi |
766 | \begin{arabluacode} | 766 | \begin{example} |
767 | \begin{arab} | 767 | \begin{arab} |
768 | 'at_A .sadIquN 'il_A ju.hA ya.tlubu min-hu .himAra-hu | 768 | 'at_A .sadIquN 'il_A ju.hA ya.tlubu min-hu .himAra-hu |
769 | li-yarkaba-hu fI safraTiN qa.sIraTiN fa-qAla la-hu: | 769 | li-yarkaba-hu fI safraTiN qa.sIraTiN fa-qAla la-hu: |
@@ -778,7 +778,7 @@ vowels (see §~3). | |||
778 | 'amru-ka yA .sadIqI 'a-tu.saddiqu 'l-.himAr-a | 778 | 'amru-ka yA .sadIqI 'a-tu.saddiqu 'l-.himAr-a |
779 | wa-tuka_d_diba-nI?} | 779 | wa-tuka_d_diba-nI?} |
780 | \end{arab} | 780 | \end{arab} |
781 | \end{arabluacode} | 781 | \end{example} |
782 | % \iffalse | 782 | % \iffalse |
783 | %</example> | 783 | %</example> |
784 | % \fi | 784 | % \fi |
@@ -810,7 +810,7 @@ vowels (see §~3). | |||
810 | % \Cref{tab:arabtex-consonants} gives the Arab\TeX\ equivalents for | 810 | % \Cref{tab:arabtex-consonants} gives the Arab\TeX\ equivalents for |
811 | % all of the Arabic consonants. | 811 | % all of the Arabic consonants. |
812 | % | 812 | % |
813 | % \needspace{7\baselineskip} | 813 | % \addlines[2] |
814 | % \newcommand{\dmg}[1]{% | 814 | % \newcommand{\dmg}[1]{% |
815 | % \SetTranslitConvention{dmg}% | 815 | % \SetTranslitConvention{dmg}% |
816 | % \arb[trans]{#1}} | 816 | % \arb[trans]{#1}} |
@@ -844,7 +844,6 @@ vowels (see §~3). | |||
844 | % \vref{ref:hamza}.} & \dmg{'u 'a 'i} & | 844 | % \vref{ref:hamza}.} & \dmg{'u 'a 'i} & |
845 | % \loc{|'u, |'a, |'i} & \brill{|'u, |'a, |'i} & |'u| or |'a| or |'i| \\ | 845 | % \loc{|'u, |'a, |'i} & \brill{|'u, |'a, |'i} & |'u| or |'a| or |'i| \\ |
846 | % \arb[novoc]{b} & \dmg{b} & \loc{b} & \brill{b} & |b| \\ | 846 | % \arb[novoc]{b} & \dmg{b} & \loc{b} & \brill{b} & |b| \\ |
847 | % \pagebreak[1] | ||
848 | % \arb[novoc]{t} & \dmg{t} & \loc{t} & \brill{t} & |t| \\ | 847 | % \arb[novoc]{t} & \dmg{t} & \loc{t} & \brill{t} & |t| \\ |
849 | % \arb[novoc]{_t} & \dmg{_t} & \loc{_t} & \brill{_t} & |_t| \\ | 848 | % \arb[novoc]{_t} & \dmg{_t} & \loc{_t} & \brill{_t} & |_t| \\ |
850 | % \arb[novoc]{j} & \dmg{j} & \loc{j} & \brill{j} & |^g| or |j| \\ | 849 | % \arb[novoc]{j} & \dmg{j} & \loc{j} & \brill{j} & |^g| or |j| \\ |
@@ -959,7 +958,6 @@ vowels (see §~3). | |||
959 | % \Cref{tab:arabtex-long-vowels} gives the Arab\TeX\ equivalents for | 958 | % \Cref{tab:arabtex-long-vowels} gives the Arab\TeX\ equivalents for |
960 | % the Arabic long vowels. | 959 | % the Arabic long vowels. |
961 | % | 960 | % |
962 | % \needspace{8\baselineskip} | ||
963 | % \begin{longtable}{lllll} | 961 | % \begin{longtable}{lllll} |
964 | % \bottomrule | 962 | % \bottomrule |
965 | % \caption*{\Cref*{tab:arabtex-long-vowels}: Standard Arab\TeX\ (long | 963 | % \caption*{\Cref*{tab:arabtex-long-vowels}: Standard Arab\TeX\ (long |
@@ -1057,11 +1055,11 @@ vowels (see §~3). | |||
1057 | % \iffalse | 1055 | % \iffalse |
1058 | %<*example> | 1056 | %<*example> |
1059 | % \fi | 1057 | % \fi |
1060 | \begin{arabluacode}[text only] | 1058 | \begin{tcblisting}{text only} |
1061 | However, it may be wise to always write the vowels, leaving to the | 1059 | However, it may be wise to always write the vowels, leaving to the |
1062 | various modes provided by \package{arabluatex} to take care of | 1060 | various modes provided by \package{arabluatex} to take care of |
1063 | showing or not showing the vowels. | 1061 | showing or not showing the vowels. |
1064 | \end{arabluacode} | 1062 | \end{tcblisting} |
1065 | % \iffalse | 1063 | % \iffalse |
1066 | %</example> | 1064 | %</example> |
1067 | % \fi | 1065 | % \fi |
@@ -1363,11 +1361,11 @@ vowels (see §~3). | |||
1363 | % \iffalse | 1361 | % \iffalse |
1364 | %<*example> | 1362 | %<*example> |
1365 | % \fi | 1363 | % \fi |
1366 | \begin{arabluacode}[text only] | 1364 | \begin{tcblisting}{text only} |
1367 | Hence one should keep to this distinction and encode |'a'kulu| | 1365 | Hence one should keep to this distinction and encode |'a'kulu| |
1368 | \arb[voc]{'a'kulu} \arb[trans]{'a'kulu} and |'AkiluN| | 1366 | \arb[voc]{'a'kulu} \arb[trans]{'a'kulu} and |'AkiluN| |
1369 | \arb[voc]{'AkiluN} \arb[trans]{'AkiluN} respectively. | 1367 | \arb[voc]{'AkiluN} \arb[trans]{'AkiluN} respectively. |
1370 | \end{arabluacode} | 1368 | \end{tcblisting} |
1371 | % \iffalse | 1369 | % \iffalse |
1372 | %</example> | 1370 | %</example> |
1373 | % \fi | 1371 | % \fi |
@@ -1415,7 +1413,7 @@ vowels (see §~3). | |||
1415 | % \iffalse | 1413 | % \iffalse |
1416 | %<*example> | 1414 | %<*example> |
1417 | % \fi | 1415 | % \fi |
1418 | \begin{arabluacode}[text only] | 1416 | \begin{tcblisting}{text only} |
1419 | Unlike \package{arabtex} and \package{arabxetex}, | 1417 | Unlike \package{arabtex} and \package{arabxetex}, |
1420 | \package{arabluatex} \emph{never requires the solar letter to be | 1418 | \package{arabluatex} \emph{never requires the solar letter to be |
1421 | written twice}, as it automatically generates the euphonic | 1419 | written twice}, as it automatically generates the euphonic |
@@ -1423,7 +1421,7 @@ vowels (see §~3). | |||
1423 | article be written in the assimilated form or not, e.g. |al-^sams-u| | 1421 | article be written in the assimilated form or not, e.g. |al-^sams-u| |
1424 | \arb[voc]{al-^sams-u} \arb[trans]{al-^sams-u}, or |a^s-^sams-u| | 1422 | \arb[voc]{al-^sams-u} \arb[trans]{al-^sams-u}, or |a^s-^sams-u| |
1425 | \arb[voc]{a^s-^sams-u} \arb[trans]{a^s-^sams-u}. | 1423 | \arb[voc]{a^s-^sams-u} \arb[trans]{a^s-^sams-u}. |
1426 | \end{arabluacode} | 1424 | \end{tcblisting} |
1427 | % \iffalse | 1425 | % \iffalse |
1428 | %</example> | 1426 | %</example> |
1429 | % \fi | 1427 | % \fi |
@@ -1452,14 +1450,14 @@ vowels (see §~3). | |||
1452 | % \iffalse | 1450 | % \iffalse |
1453 | %<*example> | 1451 | %<*example> |
1454 | % \fi | 1452 | % \fi |
1455 | \begin{arabluacode}[text only] | 1453 | \begin{tcblisting}{text only} |
1456 | \textsc{Rem.} This particular feature must be put into operation by | 1454 | \textsc{Rem.} This particular feature must be put into operation by |
1457 | the \cs{SetArbDflt*} command explicitly. See above | 1455 | the \cs{SetArbDflt*} command explicitly. See above |
1458 | \vref{sec:classic-modern-typesetting} for further details. Other | 1456 | \vref{sec:classic-modern-typesetting} for further details. Other |
1459 | kinds of assimilations, including the various cases of | 1457 | kinds of assimilations, including the various cases of |
1460 | \arb[trans]{'id.gAm}, will be included in \package{arabluatex} | 1458 | \arb[trans]{'id.gAm}, will be included in \package{arabluatex} |
1461 | gradually. | 1459 | gradually. |
1462 | \end{arabluacode} | 1460 | \end{tcblisting} |
1463 | % \iffalse | 1461 | % \iffalse |
1464 | %</example> | 1462 | %</example> |
1465 | % \fi | 1463 | % \fi |
@@ -1493,11 +1491,11 @@ vowels (see §~3). | |||
1493 | % encoded, like so:--- | 1491 | % encoded, like so:--- |
1494 | % \begin{enumerate} | 1492 | % \begin{enumerate} |
1495 | % \item Definite article at the beginning of a sentence is encoded\\ | 1493 | % \item Definite article at the beginning of a sentence is encoded\\ |
1496 | % \arabluaverb{al-}, or \arabluaverb{a<solar letter>-}\\ if one | 1494 | % \tcboxverb{al-}, or \tcboxverb{a<solar letter>-}\\ if one |
1497 | % wishes to mark the assimilation---which is in no way required, as | 1495 | % wishes to mark the assimilation---which is in no way required, as |
1498 | % \package{arabulatex} will detect all cases of assimilation. | 1496 | % \package{arabulatex} will detect all cases of assimilation. |
1499 | % \item Definite article inside sentences is encoded\\ \arabluaverb{'l-} | 1497 | % \item Definite article inside sentences is encoded\\ \tcboxverb{'l-} |
1500 | % or \arabluaverb{'<solar letter>-}. | 1498 | % or \tcboxverb{'<solar letter>-}. |
1501 | % \item In all remaining cases of elision, the \arb[trans]{'alifu | 1499 | % \item In all remaining cases of elision, the \arb[trans]{'alifu |
1502 | % 'l-wa.sli} is expressed by the vowel that accompanies the omitted | 1500 | % 'l-wa.sli} is expressed by the vowel that accompanies the omitted |
1503 | % \arb[trans]{hamzaT}: \meta{u, a, i}. | 1501 | % \arb[trans]{hamzaT}: \meta{u, a, i}. |
@@ -1941,13 +1939,13 @@ vowels (see §~3). | |||
1941 | % \iffalse | 1939 | % \iffalse |
1942 | %<*example> | 1940 | %<*example> |
1943 | % \fi | 1941 | % \fi |
1944 | \begin{arabluacode} | 1942 | \begin{example} |
1945 | This is wrong: | 1943 | This is wrong: |
1946 | \begin{arab}[fullvoc] | 1944 | \begin{arab}[fullvoc] |
1947 | fa-lammA ra'aW\LRfootnote{A footnote which interferes with the | 1945 | fa-lammA ra'aW\LRfootnote{A footnote which interferes with |
1948 | contextual analysis.} 'l-na^gma... | 1946 | the contextual analysis.} 'l-na^gma... |
1949 | \end{arab} | 1947 | \end{arab} |
1950 | \end{arabluacode} | 1948 | \end{example} |
1951 | % \iffalse | 1949 | % \iffalse |
1952 | %</example> | 1950 | %</example> |
1953 | % \fi% | 1951 | % \fi% |
@@ -1965,10 +1963,10 @@ vowels (see §~3). | |||
1965 | % \iffalse | 1963 | % \iffalse |
1966 | %<*example> | 1964 | %<*example> |
1967 | % \fi | 1965 | % \fi |
1968 | \begin{arabluacode}[text only] | 1966 | \begin{tcblisting}{text only} |
1969 | In any case, \emph{no space must be left} after or before the Arabic | 1967 | In any case, \emph{no space must be left} after or before the Arabic |
1970 | word that \cs{arbnull} is applied to. | 1968 | word that \cs{arbnull} is applied to. |
1971 | \end{arabluacode} | 1969 | \end{tcblisting} |
1972 | % \iffalse | 1970 | % \iffalse |
1973 | %</example> | 1971 | %</example> |
1974 | % \fi% | 1972 | % \fi% |
@@ -1978,13 +1976,14 @@ word that \cs{arbnull} is applied to. | |||
1978 | % \iffalse | 1976 | % \iffalse |
1979 | %<*example> | 1977 | %<*example> |
1980 | % \fi | 1978 | % \fi |
1981 | \begin{arabluacode} | 1979 | \begin{example} |
1982 | \begin{arab}[fullvoc] | 1980 | \begin{arab}[fullvoc] |
1983 | fa-lammA ra'aW\arbnull{'l-na^gma}\LRfootnote{A footnote which | 1981 | fa-lammA ra'aW\arbnull{'l-na^gma}\LRfootnote{A footnote |
1984 | interferes with the contextual analysis.} 'l-na^gma... | 1982 | which interferes with the contextual analysis.} |
1983 | 'l-na^gma... | ||
1985 | 1984 | ||
1986 | qAla\LRfootnote{A footnote which interferes with the contextual | 1985 | qAla\LRfootnote{A footnote which interferes with the |
1987 | analysis.} \arbnull{qAla}uhrub fa-lan tuqtala. | 1986 | contextual analysis.} \arbnull{qAla}uhrub fa-lan tuqtala. |
1988 | 1987 | ||
1989 | \uc{z}ayduN\arbnull{ibnu}\LRfootnote{A footnote which | 1988 | \uc{z}ayduN\arbnull{ibnu}\LRfootnote{A footnote which |
1990 | interferes with the contextual analysis.} | 1989 | interferes with the contextual analysis.} |
@@ -1998,7 +1997,7 @@ word that \cs{arbnull} is applied to. | |||
1998 | \arbnull{zayduN}ibn-u \uc{`a}mriNU.\LRfootnote{See | 1997 | \arbnull{zayduN}ibn-u \uc{`a}mriNU.\LRfootnote{See |
1999 | \vref{fn:zayd-is-son}.} | 1998 | \vref{fn:zayd-is-son}.} |
2000 | \end{arab} | 1999 | \end{arab} |
2001 | \end{arabluacode} | 2000 | \end{example} |
2002 | % \iffalse | 2001 | % \iffalse |
2003 | %</example> | 2002 | %</example> |
2004 | % \fi% | 2003 | % \fi% |
@@ -2080,10 +2079,10 @@ word that \cs{arbnull} is applied to. | |||
2080 | % \iffalse | 2079 | % \iffalse |
2081 | %<*example> | 2080 | %<*example> |
2082 | % \fi | 2081 | % \fi |
2083 | \begin{arabluacode} | 2082 | \begin{example} |
2084 | The \arb[trans]{'ab^gad} number for the current page (\thepage) is | 2083 | The \arb[trans]{'ab^gad} number for the current page (\thepage) is |
2085 | \abjad{\thepage}. | 2084 | \abjad{\thepage}. |
2086 | \end{arabluacode} | 2085 | \end{example} |
2087 | % \iffalse | 2086 | % \iffalse |
2088 | %</example> | 2087 | %</example> |
2089 | % \fi% | 2088 | % \fi% |
@@ -2093,8 +2092,8 @@ word that \cs{arbnull} is applied to. | |||
2093 | % | 2092 | % |
2094 | % \subsection{Additional characters} | 2093 | % \subsection{Additional characters} |
2095 | % \label{sec:additional-characters} | 2094 | % \label{sec:additional-characters} |
2096 | % In the manuscripts, the unpointed letters, \arb[trans]{al-.hurUfu | 2095 | % In the manuscripts, the unpointed letters, \arb[trans]{al-.hurUf-u |
2097 | % 'l-muhmalaTu}, are sometimes further distinguished from the pointed | 2096 | % 'l-muhmalaT-u}, are sometimes further distinguished from the pointed |
2098 | % by various contrivances, as explained in \textcite[i. 4 | 2097 | % by various contrivances, as explained in \textcite[i. 4 |
2099 | % B--C]{Wright}. One may find these letters written in a smaller size | 2098 | % B--C]{Wright}. One may find these letters written in a smaller size |
2100 | % below the line, or with a dot or another mark below. As representing | 2099 | % below the line, or with a dot or another mark below. As representing |
@@ -2125,9 +2124,9 @@ word that \cs{arbnull} is applied to. | |||
2125 | % \arb[novoc]{.f} & \dmg{.f} & \loc{.f} & \brill{.f} & |.f| \\ | 2124 | % \arb[novoc]{.f} & \dmg{.f} & \loc{.f} & \brill{.f} & |.f| \\ |
2126 | % \arb[novoc]{.q} & \dmg{.q} & \loc{.q} & \brill{.q} & |.q| \\ | 2125 | % \arb[novoc]{.q} & \dmg{.q} & \loc{.q} & \brill{.q} & |.q| \\ |
2127 | % \arb[novoc]{.k} & \dmg{.k} & \loc{.k} & \brill{.k} & |.k| \\ | 2126 | % \arb[novoc]{.k} & \dmg{.k} & \loc{.k} & \brill{.k} & |.k| \\ |
2127 | % \pagebreak[1] | ||
2128 | % \arb[novoc]{.n} & \dmg{.n} & \loc{.n} & \brill{.n} & |.n| \\ | 2128 | % \arb[novoc]{.n} & \dmg{.n} & \loc{.n} & \brill{.n} & |.n| \\ |
2129 | % \arb[novoc]{((} & \dmg{((} & \loc{((} & \brill{((} & |((| \\ | 2129 | % \arb[novoc]{((} & \dmg{((} & \loc{((} & \brill{((} & |((| \\ |
2130 | % \pagebreak[1] | ||
2131 | % \arb[novoc]{))} & \dmg{))} & \loc{))} & \brill{))} & |))| \\ | 2130 | % \arb[novoc]{))} & \dmg{))} & \loc{))} & \brill{))} & |))| \\ |
2132 | % \end{longtable} | 2131 | % \end{longtable} |
2133 | % | 2132 | % |
@@ -2178,11 +2177,11 @@ word that \cs{arbnull} is applied to. | |||
2178 | % \iffalse | 2177 | % \iffalse |
2179 | %<*example> | 2178 | %<*example> |
2180 | % \fi | 2179 | % \fi |
2181 | \begin{arabluaverbatim} | 2180 | \begin{code} |
2182 | \begin{arabverse}[key1=value1, key2=value2, ...] | 2181 | \begin{arabverse}[key1=value1, key2=value2, ...] |
2183 | <verses> | 2182 | <verses> |
2184 | \end{arabverse} | 2183 | \end{arabverse} |
2185 | \end{arabluaverbatim} | 2184 | \end{code} |
2186 | % \iffalse | 2185 | % \iffalse |
2187 | %</example> | 2186 | %</example> |
2188 | % \fi | 2187 | % \fi |
@@ -2194,7 +2193,7 @@ word that \cs{arbnull} is applied to. | |||
2194 | % time as already seen \vref{sec:options}. | 2193 | % time as already seen \vref{sec:options}. |
2195 | % | 2194 | % |
2196 | % \DescribeOption{width} |width|$=$\meta{length} | 2195 | % \DescribeOption{width} |width|$=$\meta{length} |
2197 | % \hfill\arabluaverb{Default: 0.3\linewidth}\\ The default width of | 2196 | % \hfill\tcboxverb{Default: 0.3\linewidth}\\ The default width of |
2198 | % each hemistich that the verse consists of. It may be expressed in | 2197 | % each hemistich that the verse consists of. It may be expressed in |
2199 | % any accepted unit of measurement, such as |4cm| or |2in|. However, | 2198 | % any accepted unit of measurement, such as |4cm| or |2in|. However, |
2200 | % one must keep in mind that the total length of the two hemistichs | 2199 | % one must keep in mind that the total length of the two hemistichs |
@@ -2203,18 +2202,18 @@ word that \cs{arbnull} is applied to. | |||
2203 | % hemistichs distributed on subsequent lines. | 2202 | % hemistichs distributed on subsequent lines. |
2204 | % | 2203 | % |
2205 | % \DescribeOption{gutter} |gutter|$=$\meta{width} | 2204 | % \DescribeOption{gutter} |gutter|$=$\meta{width} |
2206 | % \hfill\arabluaverb{Default: 0.15 x (hemistich width)}\\ The gutter | 2205 | % \hfill\tcboxverb{Default: 0.15 x (hemistich width)}\\ The gutter |
2207 | % consists of the blank space that is between the two hemistichs. By | 2206 | % consists of the blank space that is between the two hemistichs. By |
2208 | % default, it is commensurate with the width of the hemistich, but it | 2207 | % default, it is commensurate with the width of the hemistich, but it |
2209 | % may be expressed in any accepted unit of measurement as well. | 2208 | % may be expressed in any accepted unit of measurement as well. |
2210 | % | 2209 | % |
2211 | % \DescribeOption{metre} |metre|$=$\meta{name} | 2210 | % \DescribeOption{metre} |metre|$=$\meta{name} |
2212 | % \hfill\arabluaverb{Default: none}\\ If the name of the metre is | 2211 | % \hfill\tcboxverb{Default: none}\\ If the name of the metre is |
2213 | % expressed, it is printed after the lines and set flush left in | 2212 | % expressed, it is printed after the lines and set flush left in |
2214 | % |voc|, |fullvoc| and |novoc| modes or flush right in |trans| mode. | 2213 | % |voc|, |fullvoc| and |novoc| modes or flush right in |trans| mode. |
2215 | % | 2214 | % |
2216 | % \DescribeOption{delim} |delim|$=$|true|\verb+|+|false| | 2215 | % \DescribeOption{delim} |delim|$=$|true|\verb+|+|false| |
2217 | % \hfill\arabluaverb{Default: false}\\ This named argument does not | 2216 | % \hfill\tcboxverb{Default: false}\\ This named argument does not |
2218 | % need a value as it defaults to |true| if it is used. If so, a | 2217 | % need a value as it defaults to |true| if it is used. If so, a |
2219 | % delimiter is printed between each of the hemistichs. By default, it | 2218 | % delimiter is printed between each of the hemistichs. By default, it |
2220 | % is set to the \enquote*{star} character \enquote*{*}. The | 2219 | % is set to the \enquote*{star} character \enquote*{*}. The |
@@ -2223,20 +2222,20 @@ word that \cs{arbnull} is applied to. | |||
2223 | % default setting. | 2222 | % default setting. |
2224 | % | 2223 | % |
2225 | % \DescribeOption{utf} |utf|$=$|true|\verb+|+|false| | 2224 | % \DescribeOption{utf} |utf|$=$|true|\verb+|+|false| |
2226 | % \hfill\arabluaverb{Default: false}\\ As the preceding one, this | 2225 | % \hfill\tcboxverb{Default: false}\\ As the preceding one, this |
2227 | % named argument does not need a value as it defaults to |true| if it | 2226 | % named argument does not need a value as it defaults to |true| if it |
2228 | % is used. If so, Unicode Arabic input is expected in the |arabverse| | 2227 | % is used. If so, Unicode Arabic input is expected in the |arabverse| |
2229 | % environment instead of \textsc{ascii} Arab\TeX\ or Buckwalter input | 2228 | % environment instead of \textsc{ascii} Arab\TeX\ or Buckwalter input |
2230 | % schemes. See \vref{sec:unicode-input} for more details. | 2229 | % schemes. See \vref{sec:unicode-input} for more details. |
2231 | % | 2230 | % |
2232 | % \DescribeOption{color} |color|$=$\meta{color name} | 2231 | % \DescribeOption{color} |color|$=$\meta{color name} |
2233 | % \hfill\arabluaverb{Default: not set}\\ | 2232 | % \hfill\tcboxverb{Default: not set}\\ |
2234 | % \NEWfeature{v1.13} The color in which lines of poetry are to be | 2233 | % \NEWfeature{v1.13} The color in which lines of poetry are to be |
2235 | % rendered. | 2234 | % rendered. |
2236 | % | 2235 | % |
2237 | % \label{ref:poetry-export} | 2236 | % \label{ref:poetry-export} |
2238 | % \DescribeOption{export} |export|$=$|true|\verb+|+|false| | 2237 | % \DescribeOption{export} |export|$=$|true|\verb+|+|false| |
2239 | % \hfill\arabluaverb{Default: false}\\ | 2238 | % \hfill\tcboxverb{Default: false}\\ |
2240 | % \NEWfeature{v.1.13} This named argument does not need a value as it | 2239 | % \NEWfeature{v.1.13} This named argument does not need a value as it |
2241 | % defaults to |true| if it is used. If |export| is set as a global | 2240 | % defaults to |true| if it is used. If |export| is set as a global |
2242 | % option as well (see above \vpageref{export-mode}), all the lines | 2241 | % option as well (see above \vpageref{export-mode}), all the lines |
@@ -2256,10 +2255,10 @@ word that \cs{arbnull} is applied to. | |||
2256 | % \iffalse | 2255 | % \iffalse |
2257 | %<*example> | 2256 | %<*example> |
2258 | % \fi | 2257 | % \fi |
2259 | \begin{arabluacode}[text only] | 2258 | \begin{tcblisting}{text only} |
2260 | \cs{bayt}\marg{\arb[trans]{.sadr}}\oarg{\arb[trans]{tadwIr}}% | 2259 | \cs{bayt}\marg{\arb[trans]{.sadr}}\oarg{\arb[trans]{tadwIr}}% |
2261 | \marg{\arb[trans]{`ajuz}}|\\| | 2260 | \marg{\arb[trans]{`ajuz}}|\\| |
2262 | \end{arabluacode} | 2261 | \end{tcblisting} |
2263 | % \iffalse | 2262 | % \iffalse |
2264 | %</example> | 2263 | %</example> |
2265 | % \fi | 2264 | % \fi |
@@ -2282,12 +2281,12 @@ word that \cs{arbnull} is applied to. | |||
2282 | % \iffalse | 2281 | % \iffalse |
2283 | %<*example> | 2282 | %<*example> |
2284 | % \fi | 2283 | % \fi |
2285 | \begin{arabluacode} | 2284 | \begin{example} |
2286 | \begin{arabverse}[mode=fullvoc, width=.3\linewidth] | 2285 | \begin{arabverse}[mode=fullvoc, width=.3\linewidth] |
2287 | \bayt{lA 'ar_A man `ahidtu fI-hA fa-'abkI 'l---}[--]{---yawma | 2286 | \bayt{lA 'ar_A man `ahidtu fI-hA fa-'abkI 'l---}[--]{---yawma |
2288 | dalhaN wa-mA yaruddu 'l-bukA'u}\\ | 2287 | dalhaN wa-mA yaruddu 'l-bukA'u}\\ |
2289 | \end{arabverse} | 2288 | \end{arabverse} |
2290 | \end{arabluacode} | 2289 | \end{example} |
2291 | % \iffalse | 2290 | % \iffalse |
2292 | %</example> | 2291 | %</example> |
2293 | % \fi% | 2292 | % \fi% |
@@ -2304,12 +2303,12 @@ word that \cs{arbnull} is applied to. | |||
2304 | % \iffalse | 2303 | % \iffalse |
2305 | %<*example> | 2304 | %<*example> |
2306 | % \fi | 2305 | % \fi |
2307 | \begin{arabluacode} | 2306 | \begin{example} |
2308 | \begin{arabverse}[mode=trans, width=.4\linewidth] | 2307 | \begin{arabverse}[mode=trans, width=.4\linewidth] |
2309 | \bayt{lA 'ar_A man `ahidtu fI-hA fa-'abkI 'l---}[--]{---yawma | 2308 | \bayt{lA 'ar_A man `ahidtu fI-hA fa-'abkI 'l---}[--]{---yawma |
2310 | dalhaN wa-mA yaruddu 'l-bukA'u}\\ | 2309 | dalhaN wa-mA yaruddu 'l-bukA'u}\\ |
2311 | \end{arabverse} | 2310 | \end{arabverse} |
2312 | \end{arabluacode} | 2311 | \end{example} |
2313 | % \iffalse | 2312 | % \iffalse |
2314 | %</example> | 2313 | %</example> |
2315 | % \fi% | 2314 | % \fi% |
@@ -2320,14 +2319,15 @@ word that \cs{arbnull} is applied to. | |||
2320 | % \iffalse | 2319 | % \iffalse |
2321 | %<*example> | 2320 | %<*example> |
2322 | % \fi | 2321 | % \fi |
2323 | \begin{arabluacode} | 2322 | \begin{example} |
2324 | \begin{arabverse}[mode=fullvoc, width=.25\linewidth, gutter=1cm] | 2323 | \begin{arabverse}[mode=fullvoc, width=.25\linewidth, |
2325 | \bayt{.gayra 'annI qad 'asta`Inu `al_A 'l-ha--}[--mmi ]{'i_dA | 2324 | gutter=1cm] |
2326 | _haffa bi-'l-_tawiyyi 'l-na^gA'u}\\ | 2325 | \bayt{.gayra 'annI qad 'asta`Inu `al_A 'l-ha--}[--mmi ]{'i_dA |
2327 | \bayt{bi-zaf--UfiN ka-'anna-hA hiq--laTuN}[ 'ummu ]{ri'AliN | 2326 | _haffa bi-'l-_tawiyyi 'l-na^gA'u}\\ |
2328 | dawwiyyaTuN saqfA'u}\\ | 2327 | \bayt{bi-zaf--UfiN ka-'anna-hA hiq--laTuN}[ 'ummu ]{ri'AliN |
2329 | \end{arabverse} | 2328 | dawwiyyaTuN saqfA'u}\\ |
2330 | \end{arabluacode} | 2329 | \end{arabverse} |
2330 | \end{example} | ||
2331 | % \iffalse | 2331 | % \iffalse |
2332 | %</example> | 2332 | %</example> |
2333 | % \fi% | 2333 | % \fi% |
@@ -2394,30 +2394,30 @@ word that \cs{arbnull} is applied to. | |||
2394 | % \iffalse | 2394 | % \iffalse |
2395 | %<*example> | 2395 | %<*example> |
2396 | % \fi | 2396 | % \fi |
2397 | \begin{arabluaverbatim} | 2397 | \begin{code} |
2398 | \begin{arab}[fullvoc] | 2398 | \begin{arab}[fullvoc] |
2399 | qAla imru'u 'l-\uc{q}aysi fI mu`allaqati-hi: | 2399 | qAla imru'u 'l-\uc{q}aysi fI mu`allaqati-hi: |
2400 | \end{arab} | 2400 | \end{arab} |
2401 | 2401 | ||
2402 | \begin{arabverse}[mode=fullvoc, metre={(al-.darbu 'l-_tAnI mina | 2402 | \begin{arabverse}[mode=fullvoc, metre={(al-.darbu 'l-_tAnI mina |
2403 | 'l-`arU.di 'l-'_Ul_A mina 'l-.tawIli)}] | 2403 | 'l-`arU.di 'l-'_Ul_A mina 'l-.tawIli)}] |
2404 | \SetArbDflt* | 2404 | \SetArbDflt* |
2405 | \begin{linenumbers*} | 2405 | \begin{linenumbers*} |
2406 | \bayt{qifA nabki min _dikr_A .habIbiN wa-manzili}{bi-saq.ti | 2406 | \bayt{qifA nabki min _dikr_A .habIbiN wa-manzili}{bi-saq.ti |
2407 | 'l-liw_A bayna \uc{'l-d}a_hUli fa-\uc{.h}awmali}\\ | 2407 | 'l-liw_A bayna \uc{'l-d}a_hUli fa-\uc{.h}awmali}\\ |
2408 | \bayt{fa-\uc{t}U.di.ha fa-'l-\uc{m}iqrATi lam ya`fu | 2408 | \bayt{fa-\uc{t}U.di.ha fa-'l-\uc{m}iqrATi lam ya`fu |
2409 | rasmu-hA}{limA nasa^gat-hA min ^ganUbiN wa-^sam'ali}\\ | 2409 | rasmu-hA}{limA nasa^gat-hA min ^ganUbiN wa-^sam'ali}\\ |
2410 | \bayt{tar_A ba`ara 'l-'ar'Ami fI `ara.sAti-hA}{wa-qI`Ani-hA | 2410 | \bayt{tar_A ba`ara 'l-'ar'Ami fI `ara.sAti-hA}{wa-qI`Ani-hA |
2411 | ka-'anna-hu .habbu fulfuli}\\ | 2411 | ka-'anna-hu .habbu fulfuli}\\ |
2412 | \bayt{ka-'annI .gadATa 'l-bayni yawma ta.hammalUA}{lad_A | 2412 | \bayt{ka-'annI .gadATa 'l-bayni yawma ta.hammalUA}{lad_A |
2413 | samurAti 'l-.hayyi nAqifu .han.zali}\\ | 2413 | samurAti 'l-.hayyi nAqifu .han.zali}\\ |
2414 | \bayt{wuqUfaN bi-hA .sa.hbI `alayya ma.tiyya-hum}{yaqUlUna lA | 2414 | \bayt{wuqUfaN bi-hA .sa.hbI `alayya ma.tiyya-hum}{yaqUlUna |
2415 | tahlik 'asaN_A wa-ta^gammali}\\ | 2415 | lA tahlik 'asaN_A wa-ta^gammali}\\ |
2416 | \bayt{wa-'inna ^sifA'I `abraTuN muharAqaTuN}{fa-hal `inda rasmiN | 2416 | \bayt{wa-'inna ^sifA'I `abraTuN muharAqaTuN}{fa-hal `inda |
2417 | dAsiriN min mu`awwali}\\ | 2417 | rasmiN dAsiriN min mu`awwali}\\ |
2418 | \end{linenumbers*} | 2418 | \end{linenumbers*} |
2419 | \end{arabverse} | 2419 | \end{arabverse} |
2420 | \end{arabluaverbatim} | 2420 | \end{code} |
2421 | % \iffalse | 2421 | % \iffalse |
2422 | %</example> | 2422 | %</example> |
2423 | % \fi% | 2423 | % \fi% |
@@ -2508,12 +2508,12 @@ word that \cs{arbnull} is applied to. | |||
2508 | % \iffalse | 2508 | % \iffalse |
2509 | %<*example> | 2509 | %<*example> |
2510 | % \fi | 2510 | % \fi |
2511 | \begin{arabluacode} | 2511 | \begin{example} |
2512 | \begin{arab} | 2512 | \begin{arab} |
2513 | \abraces{wa-qAla} 'inna 'abI kAna mina 'l-muqAtilaTi | 2513 | \abraces{wa-qAla} 'inna 'abI kAna mina 'l-muqAtilaTi |
2514 | wa-kAna--<--t> 'ummI min `u.zamA'i buyUti 'l-zamAzimaTi. | 2514 | wa-kAna--<--t> 'ummI min `u.zamA'i buyUti 'l-zamAzimaTi. |
2515 | \end{arab} | 2515 | \end{arab} |
2516 | \end{arabluacode} | 2516 | \end{example} |
2517 | % \iffalse | 2517 | % \iffalse |
2518 | %</example> | 2518 | %</example> |
2519 | % \fi | 2519 | % \fi |
@@ -2563,12 +2563,12 @@ word that \cs{arbnull} is applied to. | |||
2563 | % | 2563 | % |
2564 | % As regards the right-to-left codepoint, it may be either typed in | 2564 | % As regards the right-to-left codepoint, it may be either typed in |
2565 | % Unicode or selected as Unicode codepoint. To that end, the \LaTeX\ | 2565 | % Unicode or selected as Unicode codepoint. To that end, the \LaTeX\ |
2566 | % command \arabluaverb{\symbol{"XYZT}} or its plain \TeX\ variant | 2566 | % command \tcboxverb{\symbol{"XYZT}} or its plain \TeX\ variant |
2567 | % \arabluaverb{\char"XYZT\relax} may be used, where |XYZT| are | 2567 | % \tcboxverb{\char"XYZT\relax} may be used, where |XYZT| are |
2568 | % uppercase hex digits (|0| to |9| or |A| to |F|). | 2568 | % uppercase hex digits (|0| to |9| or |A| to |F|). |
2569 | % | 2569 | % |
2570 | % It is also possible to use the so-called `|^^^^| notation' like so: | 2570 | % It is also possible to use the so-called `|^^^^| notation' like so: |
2571 | % \arabluaverb{^^^^xyzt}, where |xyzt| are lowercase hex digits (|0| | 2571 | % \tcboxverb{^^^^xyzt}, where |xyzt| are lowercase hex digits (|0| |
2572 | % to |9| or |a| to |f|). | 2572 | % to |9| or |a| to |f|). |
2573 | % | 2573 | % |
2574 | % As regards the third argument (left-to-right rendition), it may be | 2574 | % As regards the third argument (left-to-right rendition), it may be |
@@ -2578,11 +2578,11 @@ word that \cs{arbnull} is applied to. | |||
2578 | % \iffalse | 2578 | % \iffalse |
2579 | %<*example> | 2579 | %<*example> |
2580 | % \fi | 2580 | % \fi |
2581 | \begin{arabluacode}[text only] | 2581 | \begin{tcblisting}{text only} |
2582 | It must be noted that \cs{newarbmark} expects Arab\TeX\ input scheme | 2582 | It must be noted that \cs{newarbmark} expects Arab\TeX\ input scheme |
2583 | inside \cs{arb}|[trans]{}| to the exclusion of \textsf{buckwalter} | 2583 | inside \cs{arb}|[trans]{}| to the exclusion of \textsf{buckwalter} |
2584 | input scheme. | 2584 | input scheme. |
2585 | \end{arabluacode} | 2585 | \end{tcblisting} |
2586 | % \iffalse | 2586 | % \iffalse |
2587 | %</example> | 2587 | %</example> |
2588 | % \fi% | 2588 | % \fi% |
@@ -2593,7 +2593,7 @@ word that \cs{arbnull} is applied to. | |||
2593 | % \iffalse | 2593 | % \iffalse |
2594 | %<*example> | 2594 | %<*example> |
2595 | % \fi | 2595 | % \fi |
2596 | \begin{arabluacode} | 2596 | \begin{example} |
2597 | \SetArbDflt* | 2597 | \SetArbDflt* |
2598 | \newarbmark{sly}{\arbcolor[red]{^^^^06d6}}{} | 2598 | \newarbmark{sly}{\arbcolor[red]{^^^^06d6}}{} |
2599 | \newarbmark{jim}{\arbcolor[red]{^^^^06da}}{} | 2599 | \newarbmark{jim}{\arbcolor[red]{^^^^06da}}{} |
@@ -2614,7 +2614,7 @@ word that \cs{arbnull} is applied to. | |||
2614 | 'an takrahUA ^say'aN wa-ya^g`ala 'l-l_ahu fI-hi _hayraN | 2614 | 'an takrahUA ^say'aN wa-ya^g`ala 'l-l_ahu fI-hi _hayraN |
2615 | ka_tIraN ((19)) | 2615 | ka_tIraN ((19)) |
2616 | \end{arab} | 2616 | \end{arab} |
2617 | \end{arabluacode} | 2617 | \end{example} |
2618 | % \iffalse | 2618 | % \iffalse |
2619 | %</example> | 2619 | %</example> |
2620 | % \fi | 2620 | % \fi |
@@ -2640,7 +2640,7 @@ word that \cs{arbnull} is applied to. | |||
2640 | % \iffalse | 2640 | % \iffalse |
2641 | %<*example> | 2641 | %<*example> |
2642 | % \fi | 2642 | % \fi |
2643 | \begin{arabluacode} | 2643 | \begin{example} |
2644 | \SetArbDflt* | 2644 | \SetArbDflt* |
2645 | \newarbmark{alifsp}{^^^^0627}{\arb[trans]{'alif} } | 2645 | \newarbmark{alifsp}{^^^^0627}{\arb[trans]{'alif} } |
2646 | \newarbmark{lamsp}{^^^^0644^^^^0653}{\arb[trans]{lAm} } | 2646 | \newarbmark{lamsp}{^^^^0644^^^^0653}{\arb[trans]{lAm} } |
@@ -2655,8 +2655,8 @@ word that \cs{arbnull} is applied to. | |||
2655 | wa-yuqImUna 'l-.sal_aUTa wa-mimmA razaqn_a-hum | 2655 | wa-yuqImUna 'l-.sal_aUTa wa-mimmA razaqn_a-hum |
2656 | yunfiqUna~\ayah{3} | 2656 | yunfiqUna~\ayah{3} |
2657 | \end{arab} | 2657 | \end{arab} |
2658 | \end{arabluacode} | 2658 | \end{example} |
2659 | \begin{arabluacode}[text only] | 2659 | \begin{tcblisting}{text only} |
2660 | \SetArbDflt* | 2660 | \SetArbDflt* |
2661 | \begin{arab}[trans] | 2661 | \begin{arab}[trans] |
2662 | min ((sUraTi \uc{'l-b}aqaraTi)): | 2662 | min ((sUraTi \uc{'l-b}aqaraTi)): |
@@ -2668,7 +2668,7 @@ word that \cs{arbnull} is applied to. | |||
2668 | wa-yuqImUna 'l-.sal_aUTa wa-mimmA razaqn_a-hum | 2668 | wa-yuqImUna 'l-.sal_aUTa wa-mimmA razaqn_a-hum |
2669 | yunfiqUna~\ayah{3} | 2669 | yunfiqUna~\ayah{3} |
2670 | \end{arab} | 2670 | \end{arab} |
2671 | \end{arabluacode} | 2671 | \end{tcblisting} |
2672 | % \iffalse | 2672 | % \iffalse |
2673 | %</example> | 2673 | %</example> |
2674 | % \fi | 2674 | % \fi |
@@ -2707,7 +2707,7 @@ word that \cs{arbnull} is applied to. | |||
2707 | % \iffalse | 2707 | % \iffalse |
2708 | %<*example> | 2708 | %<*example> |
2709 | % \fi | 2709 | % \fi |
2710 | \begin{arabluacode} | 2710 | \begin{example} |
2711 | \begin{arab} | 2711 | \begin{arab} |
2712 | \arbcolor[red]{al-bAbu 'l-_hAmisu} fI .tabaqAti 'l-'a.tibbA'i | 2712 | \arbcolor[red]{al-bAbu 'l-_hAmisu} fI .tabaqAti 'l-'a.tibbA'i |
2713 | 'lla_dIna kAnUA mun_du zamAni \uc{^gAlInUsa} wa-qarIbaN | 2713 | 'lla_dIna kAnUA mun_du zamAni \uc{^gAlInUsa} wa-qarIbaN |
@@ -2722,7 +2722,7 @@ word that \cs{arbnull} is applied to. | |||
2722 | kalAmaN kulliyyaN fI 'a_hbAri \uc{^gAlInUsa} wa-mA kAna | 2722 | kalAmaN kulliyyaN fI 'a_hbAri \uc{^gAlInUsa} wa-mA kAna |
2723 | `alay-hi... | 2723 | `alay-hi... |
2724 | \end{arab} | 2724 | \end{arab} |
2725 | \end{arabluacode} | 2725 | \end{example} |
2726 | % \iffalse | 2726 | % \iffalse |
2727 | %</example> | 2727 | %</example> |
2728 | % \fi | 2728 | % \fi |
@@ -2891,11 +2891,11 @@ word that \cs{arbnull} is applied to. | |||
2891 | % \iffalse | 2891 | % \iffalse |
2892 | %<*example> | 2892 | %<*example> |
2893 | % \fi | 2893 | % \fi |
2894 | \begin{arabluacode} | 2894 | \begin{example} |
2895 | \newarbmark{Y}{^^^^0649}{} | 2895 | \newarbmark{Y}{^^^^0649}{} |
2896 | \arb{hud\arbcolor[red]{aN\arbnull{_A}}\arbmark{Y}} | 2896 | \arb{hud\arbcolor[red]{aN\arbnull{_A}}\arbmark{Y}} |
2897 | \arb[trans]{hud\arbcolor[red]{aN\arbnull{_A}}\arbmark{Y}} | 2897 | \arb[trans]{hud\arbcolor[red]{aN\arbnull{_A}}\arbmark{Y}} |
2898 | \end{arabluacode} | 2898 | \end{example} |
2899 | % \iffalse | 2899 | % \iffalse |
2900 | %</example> | 2900 | %</example> |
2901 | % \fi% | 2901 | % \fi% |
@@ -2928,12 +2928,12 @@ word that \cs{arbnull} is applied to. | |||
2928 | % \iffalse | 2928 | % \iffalse |
2929 | %<*example> | 2929 | %<*example> |
2930 | % \fi | 2930 | % \fi |
2931 | \begin{arabluacode} | 2931 | \begin{example} |
2932 | \newarbmark{alifmaddahred}{^^^^0627\arbcolor[red]{^^^^0653}}% | 2932 | \newarbmark{alifmaddahred}{^^^^0627\arbcolor[red]{^^^^0653}}% |
2933 | {\arb[trans]{\arbcolor[red]{'a'\arbnull{k}}}} | 2933 | {\arb[trans]{\arbcolor[red]{'a'\arbnull{k}}}} |
2934 | \arb{\arbmark{alifmaddahred}kulu} | 2934 | \arb{\arbmark{alifmaddahred}kulu} |
2935 | \arb[trans]{\arbmark{alifmaddahred}kulu}. | 2935 | \arb[trans]{\arbmark{alifmaddahred}kulu}. |
2936 | \end{arabluacode} | 2936 | \end{example} |
2937 | % \iffalse | 2937 | % \iffalse |
2938 | %</example> | 2938 | %</example> |
2939 | % \fi% | 2939 | % \fi% |
@@ -2954,11 +2954,11 @@ word that \cs{arbnull} is applied to. | |||
2954 | %\iffalse | 2954 | %\iffalse |
2955 | %<*example> | 2955 | %<*example> |
2956 | % \fi | 2956 | % \fi |
2957 | \begin{arabluacode} | 2957 | \begin{example} |
2958 | \newarbmark{lamshaddah}{^^^^0651}{l} | 2958 | \newarbmark{lamshaddah}{^^^^0651}{l} |
2959 | \arb[fullvoc]{al-mu`al"\arbcolor[red]{\arbmark{lamshaddah}}.imUna} | 2959 | \arb[fullvoc]{al-mu`al"\arbcolor[red]{\arbmark{lamshaddah}}.imUna} |
2960 | \arb[trans]{al-mu`al"\arbcolor[red]{\arbmark{lamshaddah}}.imUna}. | 2960 | \arb[trans]{al-mu`al"\arbcolor[red]{\arbmark{lamshaddah}}.imUna}. |
2961 | \end{arabluacode} | 2961 | \end{example} |
2962 | % \iffalse | 2962 | % \iffalse |
2963 | %</example> | 2963 | %</example> |
2964 | % \fi% | 2964 | % \fi% |
@@ -2981,13 +2981,13 @@ word that \cs{arbnull} is applied to. | |||
2981 | % \iffalse | 2981 | % \iffalse |
2982 | %<*example> | 2982 | %<*example> |
2983 | % \fi | 2983 | % \fi |
2984 | \begin{arabluacode} | 2984 | \begin{example} |
2985 | \newarbmark{lnn}{^^^^0644^^^^0646^^^^0651}{n-n} | 2985 | \newarbmark{lnn}{^^^^0644^^^^0646^^^^0651}{n-n} |
2986 | \arb[fullvoc]{fI\arbnull{al-} | 2986 | \arb[fullvoc]{fI\arbnull{al-} |
2987 | \arbcolor[red]{\arbnull{al-}a}\arbmark{lnn}Asi} | 2987 | \arbcolor[red]{\arbnull{al-}a}\arbmark{lnn}Asi} |
2988 | \arb[trans]{fI\arbnull{al-} | 2988 | \arb[trans]{fI\arbnull{al-} |
2989 | \arbcolor[red]{\arbnull{al-}a}\arbmark{lnn}Asi}. | 2989 | \arbcolor[red]{\arbnull{al-}a}\arbmark{lnn}Asi}. |
2990 | \end{arabluacode} | 2990 | \end{example} |
2991 | % \iffalse | 2991 | % \iffalse |
2992 | %</example> | 2992 | %</example> |
2993 | % \fi% | 2993 | % \fi% |
@@ -3055,10 +3055,10 @@ word that \cs{arbnull} is applied to. | |||
3055 | % \iffalse | 3055 | % \iffalse |
3056 | %<*example> | 3056 | %<*example> |
3057 | % \fi | 3057 | % \fi |
3058 | \begin{arabluaverbatim} | 3058 | \begin{code} |
3059 | \usepackage{arabluatex} | 3059 | \usepackage{arabluatex} |
3060 | \SetTranslitConvention{loc} | 3060 | \SetTranslitConvention{loc} |
3061 | \end{arabluaverbatim} | 3061 | \end{code} |
3062 | % \iffalse | 3062 | % \iffalse |
3063 | %</example> | 3063 | %</example> |
3064 | % \fi | 3064 | % \fi |
@@ -3080,10 +3080,10 @@ word that \cs{arbnull} is applied to. | |||
3080 | % \iffalse | 3080 | % \iffalse |
3081 | %<*example> | 3081 | %<*example> |
3082 | % \fi | 3082 | % \fi |
3083 | \begin{arabluaverbatim} | 3083 | \begin{code} |
3084 | \newfontfamily\translitfont{Gentium Plus}[Ligatures=TeX] | 3084 | \newfontfamily\translitfont{Gentium Plus}[Ligatures=TeX] |
3085 | \SetTranslitFont{\translitfont} | 3085 | \SetTranslitFont{\translitfont} |
3086 | \end{arabluaverbatim} | 3086 | \end{code} |
3087 | % \iffalse | 3087 | % \iffalse |
3088 | %</example> | 3088 | %</example> |
3089 | % \fi | 3089 | % \fi |
@@ -3160,14 +3160,14 @@ word that \cs{arbnull} is applied to. | |||
3160 | %\iffalse | 3160 | %\iffalse |
3161 | %<*example> | 3161 | %<*example> |
3162 | % \fi | 3162 | % \fi |
3163 | \begin{arabluacode} | 3163 | \begin{example} |
3164 | From \textcite[i. 23 C]{Wright}:--- If the name following | 3164 | From \textcite[i. 23 C]{Wright}:--- If the name following |
3165 | \arb[fullvoc]{ibnuN} be that of the mother or the grandfather, the | 3165 | \arb[fullvoc]{ibnuN} be that of the mother or the grandfather, the |
3166 | \arb[fullvoc]{"a} is retained; as \arb[fullvoc]{`Is_A ibnu maryama}, | 3166 | \arb[fullvoc]{"a} is retained; as \arb[fullvoc]{`Is_A ibnu maryama}, |
3167 | \enquote{Jesus the son of Mary}; \arb[fullvoc]{`ammAru ibnu | 3167 | \enquote{Jesus the son of Mary}; \arb[fullvoc]{`ammAru ibnu |
3168 | man.sUriN}, \enquote{\prname{`ammAr} the (grand)son of | 3168 | man.sUriN}, \enquote{\prname{`ammAr} the (grand)son of |
3169 | \prname{man.sUr}}. | 3169 | \prname{man.sUr}}. |
3170 | \end{arabluacode} | 3170 | \end{example} |
3171 | % \iffalse | 3171 | % \iffalse |
3172 | %</example> | 3172 | %</example> |
3173 | % \fi | 3173 | % \fi |
@@ -3180,17 +3180,17 @@ From \textcite[i. 23 C]{Wright}:--- If the name following | |||
3180 | %\iffalse | 3180 | %\iffalse |
3181 | %<*example> | 3181 | %<*example> |
3182 | % \fi | 3182 | % \fi |
3183 | \begin{arabluacode} | 3183 | \begin{example} |
3184 | \begin{nameauth} | 3184 | \begin{nameauth} |
3185 | \< Hunayn & \prname{'abU zayd} & \prname{.hunayn}, \prname{{i}bn | 3185 | \< Hunayn & \prname{'abU zayd} & \prname{.hunayn}, \prname{{i}bn |
3186 | 'is.h_aq al-`ibAdiyy} & > % | 3186 | 'is.h_aq al-`ibAdiyy} & > % |
3187 | \< Razi & \prname{'abU bakr mu.hammad ibn zakariyyA'} & | 3187 | \< Razi & \prname{'abU bakr mu.hammad ibn zakariyyA'} & |
3188 | \prname{al-rAziyy} & > % | 3188 | \prname{al-rAziyy} & > % |
3189 | \end{nameauth} | 3189 | \end{nameauth} |
3190 | 3190 | ||
3191 | On first occurrence, proper names are printed as \Hunayn, \Razi. | 3191 | On first occurrence, proper names are printed as \Hunayn, \Razi. |
3192 | Then as \Hunayn, \Razi. | 3192 | Then as \Hunayn, \Razi. |
3193 | \end{arabluacode} | 3193 | \end{example} |
3194 | % \iffalse | 3194 | % \iffalse |
3195 | %</example> | 3195 | %</example> |
3196 | % \fi | 3196 | % \fi |
@@ -3234,12 +3234,12 @@ Then as \Hunayn, \Razi. | |||
3234 | % \iffalse | 3234 | % \iffalse |
3235 | %<*example> | 3235 | %<*example> |
3236 | % \fi | 3236 | % \fi |
3237 | \begin{arabluacode} | 3237 | \begin{example} |
3238 | \SetArbUp{\textsubscript{#1}} | 3238 | \SetArbUp{\textsubscript{#1}} |
3239 | Arabic |dmg| transliteration for \arb{ra'aytu ^gAmi`aN | 3239 | Arabic |dmg| transliteration for \arb{ra'aytu ^gAmi`aN |
3240 | muhaddamaTaN mi'_danatu-hu}: \arb[trans]{ra'aytu | 3240 | muhaddamaTaN mi'_danatu-hu}: \arb[trans]{ra'aytu |
3241 | ^gAmi`aN muhaddamaTaN mi'_danatu-hu.} | 3241 | ^gAmi`aN muhaddamaTaN mi'_danatu-hu.} |
3242 | \end{arabluacode} | 3242 | \end{example} |
3243 | % \iffalse | 3243 | % \iffalse |
3244 | %</example> | 3244 | %</example> |
3245 | % \fi | 3245 | % \fi |
@@ -3409,10 +3409,10 @@ muhaddamaTaN mi'_danatu-hu}: \arb[trans]{ra'aytu | |||
3409 | % \iffalse | 3409 | % \iffalse |
3410 | %<*example> | 3410 | %<*example> |
3411 | % \fi | 3411 | % \fi |
3412 | \begin{arabluaverbatim} | 3412 | \begin{code} |
3413 | \usepackage{arabluatex} | 3413 | \usepackage{arabluatex} |
3414 | \SetInputScheme{buckwalter} | 3414 | \SetInputScheme{buckwalter} |
3415 | \end{arabluaverbatim} | 3415 | \end{code} |
3416 | % \iffalse | 3416 | % \iffalse |
3417 | %</example> | 3417 | %</example> |
3418 | % \fi | 3418 | % \fi |
@@ -3436,7 +3436,8 @@ muhaddamaTaN mi'_danatu-hu}: \arb[trans]{ra'aytu | |||
3436 | % are currently used by \package{arabluatex}. The additional | 3436 | % are currently used by \package{arabluatex}. The additional |
3437 | % characters that are defined in \vref{tab:additional-arabic-codings} | 3437 | % characters that are defined in \vref{tab:additional-arabic-codings} |
3438 | % are also available. | 3438 | % are also available. |
3439 | % | 3439 | % |
3440 | % \enlargethispage{\baselineskip} | ||
3440 | % \begin{longtable}{llllll} | 3441 | % \begin{longtable}{llllll} |
3441 | % \bottomrule | 3442 | % \bottomrule |
3442 | % \caption*{\Cref*{tab:buckwalter-scheme}: Buckwalter scheme} | 3443 | % \caption*{\Cref*{tab:buckwalter-scheme}: Buckwalter scheme} |
@@ -3456,6 +3457,7 @@ muhaddamaTaN mi'_danatu-hu}: \arb[trans]{ra'aytu | |||
3456 | % \endhead \footnotetext{See \vref{sec:transliteration}.} | 3457 | % \endhead \footnotetext{See \vref{sec:transliteration}.} |
3457 | % \label{tab:buckwalter-scheme} | 3458 | % \label{tab:buckwalter-scheme} |
3458 | % \arb[novoc]{a} & \dmg{a} & \loc{a} & \brill{a} & |A| & |A| \\ | 3459 | % \arb[novoc]{a} & \dmg{a} & \loc{a} & \brill{a} & |A| & |A| \\ |
3460 | % \pagebreak[1] | ||
3459 | % \arb[novoc]{b} & \dmg{b} & \loc{b} & \brill{b} & |b| & |b| \\ | 3461 | % \arb[novoc]{b} & \dmg{b} & \loc{b} & \brill{b} & |b| & |b| \\ |
3460 | % \arb[novoc]{t} & \dmg{t} & \loc{t} & \brill{t} & |t| & |t| \\ | 3462 | % \arb[novoc]{t} & \dmg{t} & \loc{t} & \brill{t} & |t| & |t| \\ |
3461 | % \arb[novoc]{_t} & \dmg{_t} & \loc{_t} & \brill{_t} & |v| & |v| \\ | 3463 | % \arb[novoc]{_t} & \dmg{_t} & \loc{_t} & \brill{_t} & |v| & |v| \\ |
@@ -3483,7 +3485,6 @@ muhaddamaTaN mi'_danatu-hu}: \arb[trans]{ra'aytu | |||
3483 | % \arb[novoc]{h} & \dmg{h} & \loc{h} & \brill{h} & |h| & |h| \\ | 3485 | % \arb[novoc]{h} & \dmg{h} & \loc{h} & \brill{h} & |h| & |h| \\ |
3484 | % \arb[novoc]{w} & \dmg{w} & \loc{w} & \brill{w} & |w| & |w| \\ | 3486 | % \arb[novoc]{w} & \dmg{w} & \loc{w} & \brill{w} & |w| & |w| \\ |
3485 | % \arb[novoc]{y} & \dmg{y} & \loc{y} & \brill{y} & |y| & |y| \\ | 3487 | % \arb[novoc]{y} & \dmg{y} & \loc{y} & \brill{y} & |y| & |y| \\ |
3486 | % \pagebreak | ||
3487 | % \arb[novoc]{Y} & \dmg{Y} & \loc{Y} & \brill{Y} & |Y| & |Y| \\ | 3488 | % \arb[novoc]{Y} & \dmg{Y} & \loc{Y} & \brill{Y} & |Y| & |Y| \\ |
3488 | % \arb[novoc]{T} & \dmg{aT} & \loc{aT} & \brill{aT} & |p| & |p| \\ | 3489 | % \arb[novoc]{T} & \dmg{aT} & \loc{aT} & \brill{aT} & |p| & |p| \\ |
3489 | % \midrule | 3490 | % \midrule |
@@ -3566,11 +3567,11 @@ muhaddamaTaN mi'_danatu-hu}: \arb[trans]{ra'aytu | |||
3566 | % \iffalse | 3567 | % \iffalse |
3567 | %<*example> | 3568 | %<*example> |
3568 | % \fi | 3569 | % \fi |
3569 | \begin{arabluaverbatim} | 3570 | \begin{code} |
3570 | \begin{txarab} | 3571 | \begin{txarab} |
3571 | <Unicode Arabic text> | 3572 | <Unicode Arabic text> |
3572 | \end{txarab} | 3573 | \end{txarab} |
3573 | \end{arabluaverbatim} | 3574 | \end{code} |
3574 | % \iffalse | 3575 | % \iffalse |
3575 | %</example> | 3576 | %</example> |
3576 | % \fi | 3577 | % \fi |
@@ -3608,16 +3609,16 @@ muhaddamaTaN mi'_danatu-hu}: \arb[trans]{ra'aytu | |||
3608 | % \iffalse | 3609 | % \iffalse |
3609 | %<*example> | 3610 | %<*example> |
3610 | % \fi | 3611 | % \fi |
3611 | \begin{arabluacode} | 3612 | \begin{example} |
3612 | \renewcommand{\footnoterule}% | 3613 | \renewcommand{\footnoterule}% |
3613 | {\hfill\noindent\rule[1mm]{.4\textwidth}{.15mm}} | 3614 | {\hfill\noindent\rule[1mm]{.4\textwidth}{.15mm}} |
3614 | \begin{arab} | 3615 | \begin{arab} |
3615 | 'inna 'abI kAna mina 'l-muqAtilaT-i\footnote{al-muqAtilaT-i: | 3616 | 'inna 'abI kAna mina 'l-muqAtilaT-i\footnote{al-muqAtilaT-i: |
3616 | al-muqAtil-Ina.}, wa-kAnat 'ummI min `u.zamA'-i buyUt-i | 3617 | al-muqAtil-Ina.}, wa-kAnat 'ummI min `u.zamA'-i buyUt-i |
3617 | 'l-zamAzimaT-i\footnote{al-zamAzimaT-u: .tA'ifaT-u mina | 3618 | 'l-zamAzimaT-i\footnote{al-zamAzimaT-u: .tA'ifaT-u mina |
3618 | 'l-furs-i.}. | 3619 | 'l-furs-i.}. |
3619 | \end{arab} | 3620 | \end{arab} |
3620 | \end{arabluacode} | 3621 | \end{example} |
3621 | % \iffalse | 3622 | % \iffalse |
3622 | %</example> | 3623 | %</example> |
3623 | % \fi | 3624 | % \fi |
@@ -3650,7 +3651,7 @@ al-muqAtil-Ina.}, wa-kAnat 'ummI min `u.zamA'-i buyUt-i | |||
3650 | % \iffalse | 3651 | % \iffalse |
3651 | %<*example> | 3652 | %<*example> |
3652 | % \fi | 3653 | % \fi |
3653 | \begin{arabluacode} | 3654 | \begin{example} |
3654 | \begin{arab}[fullvoc] | 3655 | \begin{arab}[fullvoc] |
3655 | \uc{z}ayd-uN\arbnull{ibnu}\LRfootnote{% | 3656 | \uc{z}ayd-uN\arbnull{ibnu}\LRfootnote{% |
3656 | \enquote{\arb[trans]{\uc{z}ayd} is the son of | 3657 | \enquote{\arb[trans]{\uc{z}ayd} is the son of |
@@ -3658,7 +3659,7 @@ al-muqAtil-Ina.}, wa-kAnat 'ummI min `u.zamA'-i buyUt-i | |||
3658 | apposition to the first, but forms part of the | 3659 | apposition to the first, but forms part of the |
3659 | predicate\ldots} \arbnull{zayduN}ibn-u \uc{`a}mr-iNU | 3660 | predicate\ldots} \arbnull{zayduN}ibn-u \uc{`a}mr-iNU |
3660 | \end{arab} | 3661 | \end{arab} |
3661 | \end{arabluacode} | 3662 | \end{example} |
3662 | % \iffalse | 3663 | % \iffalse |
3663 | %</example> | 3664 | %</example> |
3664 | % \fi | 3665 | % \fi |
@@ -3669,7 +3670,7 @@ al-muqAtil-Ina.}, wa-kAnat 'ummI min `u.zamA'-i buyUt-i | |||
3669 | % number 18, one may get 81. \package{arabluatex} is not responsible | 3670 | % number 18, one may get 81. \package{arabluatex} is not responsible |
3670 | % for that, but should it happen, it may be necessary to redefine in | 3671 | % for that, but should it happen, it may be necessary to redefine in |
3671 | % the preamble the \LaTeX\ macro \cs{thefootnote} like so:---\\ | 3672 | % the preamble the \LaTeX\ macro \cs{thefootnote} like so:---\\ |
3672 | % \arabluaverb{\renewcommand*{\thefootnote}{\textsuperscript{\LR{\arabic{footnote}}}}} | 3673 | % \tcboxverb{\renewcommand*{\thefootnote}{\textsuperscript{\LR{\arabic{footnote}}}}} |
3673 | % \DescribeMacro{\FixArbFtnmk} Another solution is to put in the | 3674 | % \DescribeMacro{\FixArbFtnmk} Another solution is to put in the |
3674 | % preamble, below the line that loads \package{arabluatex}, the | 3675 | % preamble, below the line that loads \package{arabluatex}, the |
3675 | % \cs{FixArbFtnmk} command. However, for more control over the layout | 3676 | % \cs{FixArbFtnmk} command. However, for more control over the layout |
@@ -3694,14 +3695,14 @@ al-muqAtil-Ina.}, wa-kAnat 'ummI min `u.zamA'-i buyUt-i | |||
3694 | % \iffalse | 3695 | % \iffalse |
3695 | %<*example> | 3696 | %<*example> |
3696 | % \fi | 3697 | % \fi |
3697 | \begin{arabluacode} | 3698 | \begin{example} |
3698 | \setRL | 3699 | \setRL |
3699 | \section*{\arb{barzawayhi li-buzurjumihra bn-i 'l-buxtikAni}} | 3700 | \section*{\arb{barzawayhi li-buzurjumihra bn-i 'l-buxtikAni}} |
3700 | \setLR | 3701 | \setLR |
3701 | \begin{arab} | 3702 | \begin{arab} |
3702 | qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a... | 3703 | qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a... |
3703 | \end{arab} | 3704 | \end{arab} |
3704 | \end{arabluacode} | 3705 | \end{example} |
3705 | % \iffalse | 3706 | % \iffalse |
3706 | %</example> | 3707 | %</example> |
3707 | % \fi | 3708 | % \fi |
@@ -3716,7 +3717,7 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a... | |||
3716 | % in its argument which \package{arabluatex} will process as such | 3717 | % in its argument which \package{arabluatex} will process as such |
3717 | % before passing it on to the command itself for any further | 3718 | % before passing it on to the command itself for any further |
3718 | % processing. As a result of this feature, such a command as:\\ | 3719 | % processing. As a result of this feature, such a command as:\\ |
3719 | % \arabluaverb{\newcommand{\fvarabic}[1]{\arb[fullvoc]{#1}}}\\ | 3720 | % \tcboxverb{\newcommand{\fvarabic}[1]{\arb[fullvoc]{#1}}}\\ |
3720 | % will work as expected, but will always output non-vocalized Arabic | 3721 | % will work as expected, but will always output non-vocalized Arabic |
3721 | % if it is inserted in a |novoc| Arabic environment because its | 3722 | % if it is inserted in a |novoc| Arabic environment because its |
3722 | % argument will have been processed by the |novoc| rules before the | 3723 | % argument will have been processed by the |novoc| rules before the |
@@ -3729,7 +3730,7 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a... | |||
3729 | % argument a comma-separated list of commands each of which must be | 3730 | % argument a comma-separated list of commands each of which must be |
3730 | % stripped of its leading character | 3731 | % stripped of its leading character |
3731 | % |\|, like so:---\\ | 3732 | % |\|, like so:---\\ |
3732 | % \arabluaverb{\MkArbBreak{onecmd, anothercmd, yetanothercmd, ...}} | 3733 | % \tcboxverb{\MkArbBreak{onecmd, anothercmd, yetanothercmd, ...}} |
3733 | % | 3734 | % |
3734 | % For example, here follows a way to define a new command |\fvred| to | 3735 | % For example, here follows a way to define a new command |\fvred| to |
3735 | % distinguish words with a different color and always print them in | 3736 | % distinguish words with a different color and always print them in |
@@ -3737,15 +3738,15 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a... | |||
3737 | % \iffalse | 3738 | % \iffalse |
3738 | %<*example> | 3739 | %<*example> |
3739 | % \fi | 3740 | % \fi |
3740 | \begin{arabluacode} | 3741 | \begin{example} |
3741 | \MkArbBreak{fvred} | 3742 | \MkArbBreak{fvred} |
3742 | \newcommand{\fvred}[1]{\arbcolor[red]{\arb[fullvoc]{#1}}} | 3743 | \newcommand{\fvred}[1]{\arbcolor[red]{\arb[fullvoc]{#1}}} |
3743 | \begin{arab}[voc] | 3744 | \begin{arab}[voc] |
3744 | _tumma "intalaqa _dU 'l-qarn-ayni 'il_A 'ummaT-iN 'u_hr_A fI | 3745 | _tumma "intalaqa _dU 'l-qarn-ayni 'il_A 'ummaT-iN 'u_hr_A fI |
3745 | \fvred{((ma.tli`-i 'l-^sams-i))} wa-lA binA'-a la-hum | 3746 | \fvred{((ma.tli`-i 'l-^sams-i))} wa-lA binA'-a la-hum |
3746 | yu'amminu-hum mina 'l-^sams-i. | 3747 | yu'amminu-hum mina 'l-^sams-i. |
3747 | \end{arab} | 3748 | \end{arab} |
3748 | \end{arabluacode} | 3749 | \end{example} |
3749 | % \iffalse | 3750 | % \iffalse |
3750 | %</example> | 3751 | %</example> |
3751 | % \fi | 3752 | % \fi |
@@ -3783,35 +3784,34 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a... | |||
3783 | % \iffalse | 3784 | % \iffalse |
3784 | %<*example> | 3785 | %<*example> |
3785 | % \fi | 3786 | % \fi |
3786 | \begin{arabluacode}[text only] | 3787 | \begin{tcblisting}{text only} |
3787 | It must be noted that \cs{MkArbBreak*} must be used with the utmost | 3788 | It must be noted that \cs{MkArbBreak*} must be used with the utmost |
3788 | care and \emph{should never be used} if \cs{MkArbBreak} gives | 3789 | care and \emph{should never be used} if \cs{MkArbBreak} gives |
3789 | satisfaction. At any rate, the latter must always be tested before | 3790 | satisfaction. At any rate, the latter must always be tested before |
3790 | the former. | 3791 | the former. |
3791 | \end{arabluacode} | 3792 | \end{tcblisting} |
3792 | % \iffalse | 3793 | % \iffalse |
3793 | %</example> | 3794 | %</example> |
3794 | % \fi% | 3795 | % \fi% |
3795 | % | ||
3796 | % | 3796 | % |
3797 | % \subsection{Environments} | 3797 | % \subsection{Environments} |
3798 | % \label{sec:environments} | 3798 | % \label{sec:environments} |
3799 | % \changes{v1.5}{2016/11/14}{Environments may be nested inside the | 3799 | % \changes{v1.5}{2016/11/14}{Environments may be nested inside the |
3800 | % \texttt{arab} environment} | 3800 | % \texttt{arab} environment} |
3801 | % \NEWfeature{v1.5} Environments such as | 3801 | % \NEWfeature{v1.5} Environments such as |
3802 | % \arabluaverb{\begin{quote}... \end{quote}} may be nested inside the | 3802 | % \tcboxverb{\begin{quote} ... \end{quote}} may be nested inside the |
3803 | % |arab| environment. Up to one optional argument may be passed to | 3803 | % |arab| environment. Up to one optional argument may be passed to |
3804 | % each nested environment, like so:--- | 3804 | % each nested environment, like so:--- |
3805 | % \iffalse | 3805 | % \iffalse |
3806 | %<*example> | 3806 | %<*example> |
3807 | % \fi | 3807 | % \fi |
3808 | \begin{arabluaverbatim} | 3808 | \begin{code} |
3809 | \begin{arab} | 3809 | \begin{arab} |
3810 | \begin{<environment>}[<options>] | 3810 | \begin{<environment>}[<options>] |
3811 | <Arabic text> | 3811 | <Arabic text> |
3812 | \end{<environment>} | 3812 | \end{<environment>} |
3813 | \end{arab} | 3813 | \end{arab} |
3814 | \end{arabluaverbatim} | 3814 | \end{code} |
3815 | % \iffalse | 3815 | % \iffalse |
3816 | %</example> | 3816 | %</example> |
3817 | % \fi | 3817 | % \fi |
@@ -3820,7 +3820,7 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a... | |||
3820 | % \iffalse | 3820 | % \iffalse |
3821 | %<*example> | 3821 | %<*example> |
3822 | % \fi | 3822 | % \fi |
3823 | \begin{arabluacode} | 3823 | \begin{example} |
3824 | \setquotestyle{arabic} | 3824 | \setquotestyle{arabic} |
3825 | \begin{arab}[fullvoc] | 3825 | \begin{arab}[fullvoc] |
3826 | kAna \uc{'abU} \uc{'l-hu_dayli} 'ahd_A 'il_A \uc{muwaysiN} | 3826 | kAna \uc{'abU} \uc{'l-hu_dayli} 'ahd_A 'il_A \uc{muwaysiN} |
@@ -3841,7 +3841,7 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a... | |||
3841 | fa-lA yazAlu fI h_a_dA wa-'l-'A_haru ya.d.haku .da.hkaN | 3841 | fa-lA yazAlu fI h_a_dA wa-'l-'A_haru ya.d.haku .da.hkaN |
3842 | na`rifu-hu na.hnu wa-lA ya`rifu-hu \uc{'abU} \uc{'l-hu_dayli}. | 3842 | na`rifu-hu na.hnu wa-lA ya`rifu-hu \uc{'abU} \uc{'l-hu_dayli}. |
3843 | \end{arab} | 3843 | \end{arab} |
3844 | \end{arabluacode} | 3844 | \end{example} |
3845 | % \iffalse | 3845 | % \iffalse |
3846 | %</example> | 3846 | %</example> |
3847 | % \fi | 3847 | % \fi |
@@ -3859,18 +3859,18 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a... | |||
3859 | % \iffalse | 3859 | % \iffalse |
3860 | %<*example> | 3860 | %<*example> |
3861 | % \fi | 3861 | % \fi |
3862 | \begin{arabluacode} | 3862 | \begin{example} |
3863 | \setRL\paragraph{\arb[novoc]{rumUzi 'l-kitAbi}}\setLR | 3863 | \setRL\paragraph{\arb[novoc]{rumUzi 'l-kitAbi}}\setLR |
3864 | \begin{arab}[novoc] | 3864 | \begin{arab}[novoc] |
3865 | \begin{description} | 3865 | \begin{description} |
3866 | \item[b] max.tU.tu 'l-maktabaTi 'l-'ahliyyaTi bi-\uc{bArIs} 2860 | 3866 | \item[b] max.tU.tu 'l-maktabaTi 'l-'ahliyyaTi bi-\uc{bArIs} 2860 |
3867 | `arabiyyuN. | 3867 | `arabiyyuN. |
3868 | \item[s] max.tU.tu 'l-maktabaTi 'l-'ahliyyaTi bi-\uc{bArIs} 2859 | 3868 | \item[s] max.tU.tu 'l-maktabaTi 'l-'ahliyyaTi bi-\uc{bArIs} 2859 |
3869 | `arabiyyuN. | 3869 | `arabiyyuN. |
3870 | \item[m] max.tU.tu majlisi \arb[novoc]{^sUrAY malY} .tahrAna 521. | 3870 | \item[m] max.tU.tu majlisi \arb[novoc]{^sUrAY malY} .tahrAna 521. |
3871 | \end{description} | 3871 | \end{description} |
3872 | \end{arab} | 3872 | \end{arab} |
3873 | \end{arabluacode} | 3873 | \end{example} |
3874 | % \iffalse | 3874 | % \iffalse |
3875 | %</example> | 3875 | %</example> |
3876 | % \fi | 3876 | % \fi |
@@ -3880,7 +3880,7 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a... | |||
3880 | % \iffalse | 3880 | % \iffalse |
3881 | %<*example> | 3881 | %<*example> |
3882 | % \fi | 3882 | % \fi |
3883 | \begin{arabluacode} | 3883 | \begin{example} |
3884 | \setRL\centerline{\arb{\textbf{al-qAnUnu fI 'l-.tibbi}}}\setLR | 3884 | \setRL\centerline{\arb{\textbf{al-qAnUnu fI 'l-.tibbi}}}\setLR |
3885 | \begin{arab} | 3885 | \begin{arab} |
3886 | \begin{itemize} | 3886 | \begin{itemize} |
@@ -3895,7 +3895,7 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a... | |||
3895 | \end{itemize} | 3895 | \end{itemize} |
3896 | \end{itemize} | 3896 | \end{itemize} |
3897 | \end{arab} | 3897 | \end{arab} |
3898 | \end{arabluacode} | 3898 | \end{example} |
3899 | % \iffalse | 3899 | % \iffalse |
3900 | %</example> | 3900 | %</example> |
3901 | % \fi | 3901 | % \fi |
@@ -3908,14 +3908,14 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a... | |||
3908 | % \iffalse | 3908 | % \iffalse |
3909 | %<*example> | 3909 | %<*example> |
3910 | % \fi | 3910 | % \fi |
3911 | \begin{arabluaverbatim} | 3911 | \begin{code} |
3912 | % preamble:--- | 3912 | % preamble:--- |
3913 | \usepackage{enumitem} | 3913 | \usepackage{enumitem} |
3914 | \newlist{enumabjad}{enumerate}{10} | 3914 | \newlist{enumabjad}{enumerate}{10} |
3915 | \setlist[enumabjad]{nosep, label={\abjad{\arabic*}}} | 3915 | \setlist[enumabjad]{nosep, label={\abjad{\arabic*}}} |
3916 | \usepackage{multicol} | 3916 | \usepackage{multicol} |
3917 | \end{arabluaverbatim} | 3917 | \end{code} |
3918 | \begin{arabluacode} | 3918 | \begin{example} |
3919 | From \textcite[i. 29 B--C]{Wright}:--- The derived forms of the | 3919 | From \textcite[i. 29 B--C]{Wright}:--- The derived forms of the |
3920 | triliteral verb are usually reckoned fifteen in number, but the | 3920 | triliteral verb are usually reckoned fifteen in number, but the |
3921 | learner may pass over the last four, because (with the exception | 3921 | learner may pass over the last four, because (with the exception |
@@ -3942,7 +3942,7 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a... | |||
3942 | \end{enumabjad} | 3942 | \end{enumabjad} |
3943 | \end{arab} | 3943 | \end{arab} |
3944 | \end{multicols} | 3944 | \end{multicols} |
3945 | \end{arabluacode} | 3945 | \end{example} |
3946 | % \iffalse | 3946 | % \iffalse |
3947 | %</example> | 3947 | %</example> |
3948 | % \fi | 3948 | % \fi |
@@ -3957,10 +3957,10 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a... | |||
3957 | % \iffalse | 3957 | % \iffalse |
3958 | %<*example> | 3958 | %<*example> |
3959 | % \fi | 3959 | % \fi |
3960 | \begin{arabluaverbatim} | 3960 | \begin{code} |
3961 | \usepackage[french]{babel} | 3961 | \usepackage[french]{babel} |
3962 | \frenchsetup{StandardLists=true} | 3962 | \frenchsetup{StandardLists=true} |
3963 | \end{arabluaverbatim} | 3963 | \end{code} |
3964 | % \iffalse | 3964 | % \iffalse |
3965 | %</example> | 3965 | %</example> |
3966 | % \fi% | 3966 | % \fi% |
@@ -3978,12 +3978,12 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a... | |||
3978 | % \iffalse | 3978 | % \iffalse |
3979 | %<*example> | 3979 | %<*example> |
3980 | % \fi | 3980 | % \fi |
3981 | \begin{arabluaverbatim} | 3981 | \begin{code} |
3982 | \usepackage{csquotes} | 3982 | \usepackage{csquotes} |
3983 | \DeclareQuoteStyle{arabic} | 3983 | \DeclareQuoteStyle{arabic} |
3984 | {\textquotedblright}{\textquotedblleft} | 3984 | {\textquotedblright}{\textquotedblleft} |
3985 | {\textquoteright}{\textquoteleft} | 3985 | {\textquoteright}{\textquoteleft} |
3986 | \end{arabluaverbatim} | 3986 | \end{code} |
3987 | % \iffalse | 3987 | % \iffalse |
3988 | %</example> | 3988 | %</example> |
3989 | % \fi | 3989 | % \fi |
@@ -3991,14 +3991,14 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a... | |||
3991 | % \iffalse | 3991 | % \iffalse |
3992 | %<*example> | 3992 | %<*example> |
3993 | % \fi | 3993 | % \fi |
3994 | \begin{arabluacode} | 3994 | \begin{example} |
3995 | \setquotestyle{arabic} | 3995 | \setquotestyle{arabic} |
3996 | \begin{arab} | 3996 | \begin{arab} |
3997 | fa-qAla la-hu ju.hA: \enquote{.garIb-uN 'amru-ka yA .sadIqI | 3997 | fa-qAla la-hu ju.hA: \enquote{.garIb-uN 'amru-ka yA .sadIqI |
3998 | 'a-tu.saddiqu 'l-.himAr-a wa-tuka_d_diba-nI?} | 3998 | 'a-tu.saddiqu 'l-.himAr-a wa-tuka_d_diba-nI?} |
3999 | \end{arab} | 3999 | \end{arab} |
4000 | \setquotestyle{english} | 4000 | \setquotestyle{english} |
4001 | \end{arabluacode} | 4001 | \end{example} |
4002 | % \iffalse | 4002 | % \iffalse |
4003 | %</example> | 4003 | %</example> |
4004 | % \fi | 4004 | % \fi |
@@ -4022,24 +4022,24 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a... | |||
4022 | % \iffalse | 4022 | % \iffalse |
4023 | %<*example> | 4023 | %<*example> |
4024 | % \fi | 4024 | % \fi |
4025 | \begin{arabluacode} | 4025 | \begin{example} |
4026 | \begin{arab} | 4026 | \begin{arab} |
4027 | \textcolor{red}{\uc{m}uha_d_dabu \uc{'l-d}Ini \uc{`a}bdu | 4027 | \textcolor{red}{\uc{m}uha_d_dabu \uc{'l-d}Ini \uc{`a}bdu |
4028 | \uc{'l-r}a.hImi bnu \uc{`a}liyyiN} huwa ^say_hu-nA 'l-'imAmu | 4028 | \uc{'l-r}a.hImi bnu \uc{`a}liyyiN} huwa ^say_hu-nA 'l-'imAmu |
4029 | 'l-.sadru 'l-kabIru 'l-`Alimu 'l-fA.dilu \uc{m}uha_d_dabu | 4029 | 'l-.sadru 'l-kabIru 'l-`Alimu 'l-fA.dilu \uc{m}uha_d_dabu |
4030 | \uc{'l-d}Ini \uc{'a}bU \uc{m}u.hammadiN \uc{`a}bdu | 4030 | \uc{'l-d}Ini \uc{'a}bU \uc{m}u.hammadiN \uc{`a}bdu |
4031 | \uc{'l-r}a.hImi bnu \uc{`a}liyyi bni \uc{.h}AmidiN wa-yu`rafu | 4031 | \uc{'l-r}a.hImi bnu \uc{`a}liyyi bni \uc{.h}AmidiN wa-yu`rafu |
4032 | bi-\uc{'l-d}a_hwari. | 4032 | bi-\uc{'l-d}a_hwari. |
4033 | \end{arab} | 4033 | \end{arab} |
4034 | \begin{arab}[trans] | 4034 | \begin{arab}[trans] |
4035 | \textcolor{red}{\uc{m}uha_d_dabu \uc{'l-d}Ini \uc{`a}bdu | 4035 | \textcolor{red}{\uc{m}uha_d_dabu \uc{'l-d}Ini \uc{`a}bdu |
4036 | \uc{'l-r}a.hImi bnu \uc{`a}liyyiN} huwa ^say_hu-nA 'l-'imAmu | 4036 | \uc{'l-r}a.hImi bnu \uc{`a}liyyiN} huwa ^say_hu-nA 'l-'imAmu |
4037 | 'l-.sadru 'l-kabIru 'l-`Alimu 'l-fA.dilu \uc{m}uha_d_dabu | 4037 | 'l-.sadru 'l-kabIru 'l-`Alimu 'l-fA.dilu \uc{m}uha_d_dabu |
4038 | \uc{'l-d}Ini \uc{'a}bU \uc{m}u.hammadiN \uc{`a}bdu | 4038 | \uc{'l-d}Ini \uc{'a}bU \uc{m}u.hammadiN \uc{`a}bdu |
4039 | \uc{'l-r}a.hImi bnu \uc{`a}liyyi bni \uc{.h}AmidiN wa-yu`rafu | 4039 | \uc{'l-r}a.hImi bnu \uc{`a}liyyi bni \uc{.h}AmidiN wa-yu`rafu |
4040 | bi-\uc{'l-d}a_hwari. | 4040 | bi-\uc{'l-d}a_hwari. |
4041 | \end{arab} | 4041 | \end{arab} |
4042 | \end{arabluacode} | 4042 | \end{example} |
4043 | % \iffalse | 4043 | % \iffalse |
4044 | %</example> | 4044 | %</example> |
4045 | % \fi | 4045 | % \fi |
@@ -4055,16 +4055,16 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a... | |||
4055 | % \iffalse | 4055 | % \iffalse |
4056 | %<*example> | 4056 | %<*example> |
4057 | % \fi | 4057 | % \fi |
4058 | \begin{arabluaverbatim} | 4058 | \begin{code} |
4059 | \beginnumbering | 4059 | \beginnumbering |
4060 | \pstart | 4060 | \pstart |
4061 | \begin{arab} | 4061 | \begin{arab} |
4062 | wa-ya.sIru ta.hta 'l-jild-i | 4062 | wa-ya.sIru ta.hta 'l-jild-i |
4063 | \edtext{\arb{.sadId-uN}}{\Afootnote{M: \arb{.sadId-aN} E1}} | 4063 | \edtext{\arb{.sadId-uN}}{\Afootnote{M: \arb{.sadId-aN} E1}} |
4064 | \end{arab} | 4064 | \end{arab} |
4065 | \pend | 4065 | \pend |
4066 | \endnumbering | 4066 | \endnumbering |
4067 | \end{arabluaverbatim} | 4067 | \end{code} |
4068 | % \iffalse | 4068 | % \iffalse |
4069 | %</example> | 4069 | %</example> |
4070 | % \fi | 4070 | % \fi |
@@ -4089,10 +4089,10 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4089 | % \iffalse | 4089 | % \iffalse |
4090 | %<*example> | 4090 | %<*example> |
4091 | % \fi | 4091 | % \fi |
4092 | \begin{arabluaverbatim} | 4092 | \begin{code} |
4093 | \usepackage{arabluatex} | 4093 | \usepackage{arabluatex} |
4094 | \usepackage[nopar]{quran} | 4094 | \usepackage[nopar]{quran} |
4095 | \end{arabluaverbatim} | 4095 | \end{code} |
4096 | % \iffalse | 4096 | % \iffalse |
4097 | %</example> | 4097 | %</example> |
4098 | % \fi | 4098 | % \fi |
@@ -4102,11 +4102,11 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4102 | % \iffalse | 4102 | % \iffalse |
4103 | %<*example> | 4103 | %<*example> |
4104 | % \fi | 4104 | % \fi |
4105 | \begin{arabluacode} | 4105 | \begin{example} |
4106 | \begin{txarab} | 4106 | \begin{txarab} |
4107 | \quransurah[1] | 4107 | \quransurah[1] |
4108 | \end{txarab} | 4108 | \end{txarab} |
4109 | \end{arabluacode} | 4109 | \end{example} |
4110 | % \iffalse | 4110 | % \iffalse |
4111 | %</example> | 4111 | %</example> |
4112 | % \fi | 4112 | % \fi |
@@ -4131,12 +4131,12 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4131 | % \iffalse | 4131 | % \iffalse |
4132 | %<*example> | 4132 | %<*example> |
4133 | % \fi | 4133 | % \fi |
4134 | \begin{arabluaverbatim} | 4134 | \begin{code} |
4135 | % preamble | 4135 | % preamble |
4136 | \usepackage[export]{arabluatex} | 4136 | \usepackage[export]{arabluatex} |
4137 | % or: | 4137 | % or: |
4138 | \usepackage[export=true]{arabluatex} | 4138 | \usepackage[export=true]{arabluatex} |
4139 | \end{arabluaverbatim} | 4139 | \end{code} |
4140 | % \iffalse | 4140 | % \iffalse |
4141 | %</example> | 4141 | %</example> |
4142 | % \fi | 4142 | % \fi |
@@ -4156,11 +4156,11 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4156 | % \iffalse | 4156 | % \iffalse |
4157 | %<*example> | 4157 | %<*example> |
4158 | % \fi | 4158 | % \fi |
4159 | \begin{arabluaverbatim} | 4159 | \begin{code} |
4160 | \begin{arabexport} | 4160 | \begin{arabexport} |
4161 | <Running paragraphs of either Arabic or non-Arabic text> | 4161 | <Running paragraphs of either Arabic or non-Arabic text> |
4162 | \end{arabexport} | 4162 | \end{arabexport} |
4163 | \end{arabluaverbatim} | 4163 | \end{code} |
4164 | % \iffalse | 4164 | % \iffalse |
4165 | %</example> | 4165 | %</example> |
4166 | % \fi | 4166 | % \fi |
@@ -4218,11 +4218,11 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4218 | % \iffalse | 4218 | % \iffalse |
4219 | %<*example> | 4219 | %<*example> |
4220 | % \fi | 4220 | % \fi |
4221 | \begin{arabluaverbatim} | 4221 | \begin{code} |
4222 | Package arabluatex Warning: There are still 'arabtex' strings | 4222 | Package arabluatex Warning: There are still 'arabtex' strings |
4223 | to be converted. Please open <jobname><suffix>.tex and compile | 4223 | to be converted. Please open <jobname><suffix>.tex and compile |
4224 | it one more time. | 4224 | it one more time. |
4225 | \end{arabluaverbatim} | 4225 | \end{code} |
4226 | % \iffalse | 4226 | % \iffalse |
4227 | %</example> | 4227 | %</example> |
4228 | % \fi | 4228 | % \fi |
@@ -4240,9 +4240,9 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4240 | % \iffalse | 4240 | % \iffalse |
4241 | %<*example> | 4241 | %<*example> |
4242 | % \fi | 4242 | % \fi |
4243 | \begin{arabluaverbatim} | 4243 | \begin{code} |
4244 | pandoc file_out.tex -s -o file_out.odt | 4244 | pandoc file_out.tex -s -o file_out.odt |
4245 | \end{arabluaverbatim} | 4245 | \end{code} |
4246 | % \iffalse | 4246 | % \iffalse |
4247 | %</example> | 4247 | %</example> |
4248 | % \fi | 4248 | % \fi |
@@ -4254,7 +4254,7 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4254 | % \iffalse | 4254 | % \iffalse |
4255 | %<*example> | 4255 | %<*example> |
4256 | % \fi | 4256 | % \fi |
4257 | \begin{arabluaverbatim} | 4257 | \begin{code} |
4258 | % preamble: | 4258 | % preamble: |
4259 | \usepackage{arabluatex} % note that 'export' has been removed | 4259 | \usepackage{arabluatex} % note that 'export' has been removed |
4260 | \renewcommand{\txarb}[1]{#1} | 4260 | \renewcommand{\txarb}[1]{#1} |
@@ -4264,7 +4264,7 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4264 | % be safe to say: | 4264 | % be safe to say: |
4265 | \renewcommand{\prname}[2]{#2} | 4265 | \renewcommand{\prname}[2]{#2} |
4266 | % &c | 4266 | % &c |
4267 | \end{arabluaverbatim} | 4267 | \end{code} |
4268 | % \iffalse | 4268 | % \iffalse |
4269 | %</example> | 4269 | %</example> |
4270 | % \fi | 4270 | % \fi |
@@ -4347,7 +4347,6 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4347 | \RequirePackage{fontspec} | 4347 | \RequirePackage{fontspec} |
4348 | \RequirePackage{luacode} | 4348 | \RequirePackage{luacode} |
4349 | \RequirePackage{xparse} | 4349 | \RequirePackage{xparse} |
4350 | \RequirePackage{environ} | ||
4351 | \RequirePackage{adjustbox} | 4350 | \RequirePackage{adjustbox} |
4352 | \RequirePackage{xstring} | 4351 | \RequirePackage{xstring} |
4353 | \PassOptionsToPackage{normalem}{ulem} | 4352 | \PassOptionsToPackage{normalem}{ulem} |
@@ -4372,13 +4371,15 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4372 | % \begin{macro}{\setRL} | 4371 | % \begin{macro}{\setRL} |
4373 | % This neutralizes what may be defined by other packages: | 4372 | % This neutralizes what may be defined by other packages: |
4374 | % \begin{macrocode} | 4373 | % \begin{macrocode} |
4375 | \AtBeginDocument{\def\setRL{\booltrue{al@rlmode}\pardir TRT\textdir TRT}} | 4374 | \AtBeginDocument{\def\setRL{\booltrue{al@rlmode}\pardir TRT% |
4375 | \textdir TRT}} | ||
4376 | % \end{macrocode} | 4376 | % \end{macrocode} |
4377 | % \end{macro} | 4377 | % \end{macro} |
4378 | % \begin{macro}{\setLR} | 4378 | % \begin{macro}{\setLR} |
4379 | % The same applies to \cs{setLR}: | 4379 | % The same applies to \cs{setLR}: |
4380 | % \begin{macrocode} | 4380 | % \begin{macrocode} |
4381 | \AtBeginDocument{\def\setLR{\boolfalse{al@rlmode}\pardir TLT\textdir TLT}} | 4381 | \AtBeginDocument{\def\setLR{\boolfalse{al@rlmode}\pardir TLT% |
4382 | \textdir TLT}} | ||
4382 | % \end{macrocode} | 4383 | % \end{macrocode} |
4383 | % \end{macro} | 4384 | % \end{macro} |
4384 | % \begin{macro}{\LR} This command typesets its argument from left to | 4385 | % \begin{macro}{\LR} This command typesets its argument from left to |
@@ -4437,12 +4438,16 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4437 | \AtBeginDocument{\ifdef{\aemph}% | 4438 | \AtBeginDocument{\ifdef{\aemph}% |
4438 | {\RenewDocumentCommand{\aemph}{s m}{% | 4439 | {\RenewDocumentCommand{\aemph}{s m}{% |
4439 | \IfBooleanTF{#1}{% | 4440 | \IfBooleanTF{#1}{% |
4440 | \luadirect{tex.sprint(arabluatex.aemph(\luastringN{#2}, "over"))}} | 4441 | \luadirect{tex.sprint(arabluatex.aemph(\luastringN{#2}, |
4441 | {\luadirect{tex.sprint(arabluatex.aemph(\luastringN{#2}, "dflt"))}}}} | 4442 | "over"))}} |
4443 | {\luadirect{tex.sprint(arabluatex.aemph(\luastringN{#2}, | ||
4444 | "dflt"))}}}} | ||
4442 | {\NewDocumentCommand{\aemph}{s m}{% | 4445 | {\NewDocumentCommand{\aemph}{s m}{% |
4443 | \IfBooleanTF{#1}{% | 4446 | \IfBooleanTF{#1}{% |
4444 | \luadirect{tex.sprint(arabluatex.aemph(\luastringN{#2}, "over"))}} | 4447 | \luadirect{tex.sprint(arabluatex.aemph(\luastringN{#2}, |
4445 | {\luadirect{tex.sprint(arabluatex.aemph(\luastringN{#2}, "dflt"))}}}}} | 4448 | "over"))}} |
4449 | {\luadirect{tex.sprint(arabluatex.aemph(\luastringN{#2}, | ||
4450 | "dflt"))}}}}} | ||
4446 | % \end{macrocode} | 4451 | % \end{macrocode} |
4447 | % \end{macro} | 4452 | % \end{macro} |
4448 | % \end{macro} | 4453 | % \end{macro} |
@@ -4531,7 +4536,8 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4531 | % the transliteration convention, which is |dmg| by default: | 4536 | % the transliteration convention, which is |dmg| by default: |
4532 | % \begin{macrocode} | 4537 | % \begin{macrocode} |
4533 | \def\al@trans@convention{dmg} | 4538 | \def\al@trans@convention{dmg} |
4534 | \NewDocumentCommand{\SetTranslitConvention}{m}{\def\al@trans@convention{#1}} | 4539 | \NewDocumentCommand{\SetTranslitConvention}{m}{% |
4540 | \def\al@trans@convention{#1}} | ||
4535 | % \end{macrocode} | 4541 | % \end{macrocode} |
4536 | % \end{macro} | 4542 | % \end{macro} |
4537 | % \begin{macro}{\arbup} | 4543 | % \begin{macro}{\arbup} |
@@ -4556,7 +4562,8 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4556 | \NewDocumentCommand{\arbup}{m}{\al@arbup{#1}} | 4562 | \NewDocumentCommand{\arbup}{m}{\al@arbup{#1}} |
4557 | \NewDocumentCommand{\ArbUpDflt}{}{\let\al@arbup=\al@arbup@dflt} | 4563 | \NewDocumentCommand{\ArbUpDflt}{}{\let\al@arbup=\al@arbup@dflt} |
4558 | \NewDocumentCommand{\NoArbUp}{}{\RenewDocumentCommand{\al@arbup}{m}{##1}} | 4564 | \NewDocumentCommand{\NoArbUp}{}{\RenewDocumentCommand{\al@arbup}{m}{##1}} |
4559 | \NewDocumentCommand{\SetArbUp}{m}{\RenewDocumentCommand{\al@arbup}{m}{#1}} | 4565 | \NewDocumentCommand{\SetArbUp}{m}{% |
4566 | \RenewDocumentCommand{\al@arbup}{m}{#1}} | ||
4560 | % \end{macrocode} | 4567 | % \end{macrocode} |
4561 | % \end{macro} | 4568 | % \end{macro} |
4562 | % \end{macro} | 4569 | % \end{macro} |
@@ -4853,12 +4860,14 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4853 | \ifdefined\abjad% | 4860 | \ifdefined\abjad% |
4854 | \RenewDocumentCommand{\abjad}{m}% | 4861 | \RenewDocumentCommand{\abjad}{m}% |
4855 | {\ifbool{al@rlmode}% | 4862 | {\ifbool{al@rlmode}% |
4856 | {\oline*{\luadirect{tex.sprint(arabluatex.abjadify(\luastring{#1}))}}} | 4863 | {\oline*{% |
4864 | \luadirect{tex.sprint(arabluatex.abjadify(\luastring{#1}))}}} | ||
4857 | {\luadirect{tex.sprint(arabluatex.abjadify(\luastring{#1}))}}} | 4865 | {\luadirect{tex.sprint(arabluatex.abjadify(\luastring{#1}))}}} |
4858 | \else% | 4866 | \else% |
4859 | \NewDocumentCommand{\abjad}{m}% | 4867 | \NewDocumentCommand{\abjad}{m}% |
4860 | {\ifbool{al@rlmode}% | 4868 | {\ifbool{al@rlmode}% |
4861 | {\oline*{\luadirect{tex.sprint(arabluatex.abjadify(\luastring{#1}))}}} | 4869 | {\oline*{% |
4870 | \luadirect{tex.sprint(arabluatex.abjadify(\luastring{#1}))}}} | ||
4862 | {\luadirect{tex.sprint(arabluatex.abjadify(\luastring{#1}))}}} | 4871 | {\luadirect{tex.sprint(arabluatex.abjadify(\luastring{#1}))}}} |
4863 | \fi} | 4872 | \fi} |
4864 | % \end{macrocode} | 4873 | % \end{macrocode} |
@@ -4925,9 +4934,11 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4925 | % \begin{macrocode} | 4934 | % \begin{macrocode} |
4926 | \NewDocumentCommand{\FixArbFtnmk}{}{% | 4935 | \NewDocumentCommand{\FixArbFtnmk}{}{% |
4927 | \@ifpackageloaded{scrextend}% | 4936 | \@ifpackageloaded{scrextend}% |
4928 | {\AtBeginDocument{\deffootnote{2em}{1.6em}{\LR{\thefootnotemark}.\enskip}}}% | 4937 | {\AtBeginDocument{% |
4938 | \deffootnote{2em}{1.6em}{\LR{\thefootnotemark}.\enskip}}}% | ||
4929 | {\RequirePackage{scrextend} | 4939 | {\RequirePackage{scrextend} |
4930 | \AtBeginDocument{\deffootnote{2em}{1.6em}{\LR{\thefootnotemark}.\enskip}}}} | 4940 | \AtBeginDocument{% |
4941 | \deffootnote{2em}{1.6em}{\LR{\thefootnotemark}.\enskip}}}} | ||
4931 | % \end{macrocode} | 4942 | % \end{macrocode} |
4932 | % \end{macro} | 4943 | % \end{macro} |
4933 | % | 4944 | % |