aboutsummaryrefslogtreecommitdiff
path: root/arabluatex.dtx
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2018-06-13 12:14:31 +0200
committerRobert Alessi <alessi@robertalessi.net>2018-06-13 12:14:31 +0200
commit603ca0448badb758df030fdbc953992ab5990ac3 (patch)
tree9e2af1e8dd7cc76848b87950f0c34324bbf47858 /arabluatex.dtx
parentaf5d2d05a04a6b9ef0ab3f9f2e6ad2efae125dcb (diff)
downloadarabluatex-603ca0448badb758df030fdbc953992ab5990ac3.tar.gz
added errors and warnings
Diffstat (limited to 'arabluatex.dtx')
-rw-r--r--arabluatex.dtx13
1 files changed, 13 insertions, 0 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index e4ecaa0..128a78f 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -4180,6 +4180,19 @@ wa-ya.sIru ta.hta 'l-jild-i
4180 \AtBeginDocument{\deffootnote{2em}{1.6em}{\LR{\thefootnotemark}.\enskip}}}} 4180 \AtBeginDocument{\deffootnote{2em}{1.6em}{\LR{\thefootnotemark}.\enskip}}}}
4181% \end{macrocode} 4181% \end{macrocode}
4182% \end{macro} 4182% \end{macro}
4183% \subsection*{Errors and Warnings}
4184% \begin{macrocode}
4185\newcommand{\al@warning}[1]{\PackageWarning{arabluatex}{#1}}
4186\newcommand{\al@error}[2]{\PackageError{arabluatex}{#1}{#2}}
4187\newcommand{\al@wrong@nesting}{\al@error{%
4188 (RL/LR)\string\footnote\space is not allowed\MessageBreak inside
4189 \string\RL{} and \string\RL{} commands}{%
4190 Get rid of the surrounding \string\RL{} or \string\LR{} command.}}
4191\newcommand{\al@wrong@mark}{\al@warning{%
4192 Unknown Arabic mark in \string\arbmark{}. Replaced
4193 with\MessageBreak <??>. Please check your code}}
4194% \end{macrocode}
4195%
4183% That is it. Say goodbye before leaving. 4196% That is it. Say goodbye before leaving.
4184% 4197%
4185% \iffalse 4198% \iffalse