| 1 |
%% |
| 2 |
%% This is file `egarab.tex', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% ledarab.dtx (with options: `egarab') |
| 8 |
%% |
| 9 |
%% Author: Peter Wilson (Herries Press) herries dot press at earthlink dot net |
| 10 |
%% Copyright 2005 Peter R. Wilson |
| 11 |
%% |
| 12 |
%% This work may be distributed and/or modified under the |
| 13 |
%% conditions of the LaTeX Project Public License, either |
| 14 |
%% version 1.3 of this license or (at your option) any |
| 15 |
%% later version. |
| 16 |
%% The latest version of the license is in |
| 17 |
%% http://www.latex-project.org/lppl.txt |
| 18 |
%% and version 1.3 or later is part of all distributions of |
| 19 |
%% LaTeX version 2003/06/01 or later. |
| 20 |
%% |
| 21 |
%% This work has the LPPL maintenance status "unmaintened". |
| 22 |
%% |
| 23 |
%% This work consists of the files listed in the README file. |
| 24 |
%% |
| 25 |
%%% egarab.tex |
| 26 |
\documentclass[12pt]{article} |
| 27 |
\addtolength{\textheight}{-10\baselineskip} |
| 28 |
\usepackage{ledmac} |
| 29 |
\setcounter{firstlinenum}{1} \setcounter{linenumincrement}{1} |
| 30 |
\linenummargin{right} |
| 31 |
|
| 32 |
\usepackage{arabtex} |
| 33 |
\usepackage{ledarab} |
| 34 |
|
| 35 |
\begin{document} |
| 36 |
|
| 37 |
Can we have non-arabic text in \verb?\edtext? |
| 38 |
|
| 39 |
\beginnumbering |
| 40 |
\pstart |
| 41 |
\noindent |
| 42 |
In \edtext{roman}{\Afootnote{not arabic}} text you |
| 43 |
can have critical notes. \\ |
| 44 |
In \edtext{\RL{Arabic text}}{\Afootnote{not roman}} you |
| 45 |
can have critical notes. \\ |
| 46 |
In \edtext{latin}{\Afootnote{\RL{Arabic text --- footnote}}} you |
| 47 |
can have critical notes. \\ |
| 48 |
In \edtext{\RL{Arabic text}}{\Afootnote{\RL{Arabic text --- footnote}}} you |
| 49 |
can have critical notes. |
| 50 |
\pend |
| 51 |
\endnumbering |
| 52 |
|
| 53 |
Here the order is \verb?\beginnumbering \pstart \begin{arabtext} ...? |
| 54 |
|
| 55 |
\beginnumbering |
| 56 |
\pstart |
| 57 |
\begin{arabtext} |
| 58 |
ledmac is wonderful and so |
| 59 |
%%% arabic lemma, latin note |
| 60 |
\edtext{Arabic text}{\Bfootnote{Arabic text --- footnote}} is arabtex\\ |
| 61 |
%%% arabic lemma, arabic note |
| 62 |
and \edtext{Arabic text}{\Bfootnote{\RL{Arabic text --- footnote}}} you |
| 63 |
can do critical notes here. |
| 64 |
\end{arabtext} |
| 65 |
\pend |
| 66 |
\endnumbering |
| 67 |
|
| 68 |
Here the order is \verb?\beginnumbering \begin{arabtext} \pstart...? |
| 69 |
|
| 70 |
\arablnumrep |
| 71 |
\beginnumbering |
| 72 |
\begin{arabtext} |
| 73 |
\pstart |
| 74 |
ledmac is wonderful and so |
| 75 |
%%% arabic lemma, screwed up arabic note |
| 76 |
\edtext{Arabic text}{\Cfootnote{Arabic text --- footnote}} is arabtex\\ |
| 77 |
%%% arabic lemma, arabic note |
| 78 |
and \edtext{Arabic text}{\Cfootnote{\RL{Arabic text --- footnote}}} you |
| 79 |
can do critical notes here. |
| 80 |
\pend |
| 81 |
\end{arabtext} |
| 82 |
\endnumbering |
| 83 |
\restorelnumrep |
| 84 |
|
| 85 |
\end{document} |
| 86 |
\endinput |
| 87 |
%% |
| 88 |
%% End of file `egarab.tex'. |