diff options
-rw-r--r-- | makefile | 10 | ||||
-rw-r--r-- | samples/al-Jahiz.tex | 12 |
2 files changed, 14 insertions, 8 deletions
@@ -11,8 +11,7 @@ doc: clean sty | |||
11 | makeindex -s gglo.ist -o $(pkg).gls $(pkg).glo | 11 | makeindex -s gglo.ist -o $(pkg).gls $(pkg).glo |
12 | lualatex $(pkg).dtx | 12 | lualatex $(pkg).dtx |
13 | lualatex $(pkg).dtx | 13 | lualatex $(pkg).dtx |
14 | echo "now building the sample documents..." | 14 | latexmk -outdir=TMP -lualatex -e '$$lualatex=q/lualatex %O --shell-escape %S/' samples/al-Jahiz |
15 | latexmk -lualatex -e '$$lualatex=q/lualatex %O --shell-escape %S/' -outdir=TMP samples/al-Jahiz | ||
16 | mv TMP/*.pdf samples/ | 15 | mv TMP/*.pdf samples/ |
17 | 16 | ||
18 | all: clean sty doc | 17 | all: clean sty doc |
@@ -34,8 +33,9 @@ auctex: clean | |||
34 | cp $(pkg)*.el ~/.emacs.d/auctex/auto | 33 | cp $(pkg)*.el ~/.emacs.d/auctex/auto |
35 | 34 | ||
36 | package: clean all | 35 | package: clean all |
37 | mkdir arabluatex | 36 | mkdir -p arabluatex/samples/ |
38 | cp *.lua *.ins *.dtx *.md *.pdf arabluatex/ # .bib is in dtx | 37 | cp *.lua *.ins *.dtx *.md *.pdf arabluatex/ # .bib is in dtx |
38 | cp samples/*.{tex,pdf} arabluatex/samples/ | ||
39 | mkdir -p tex/lualatex/arabluatex/ | 39 | mkdir -p tex/lualatex/arabluatex/ |
40 | cp *.lua *.sty tex/lualatex/arabluatex/ | 40 | cp *.lua *.sty tex/lualatex/arabluatex/ |
41 | mkdir -p doc/lualatex/arabluatex/samples | 41 | mkdir -p doc/lualatex/arabluatex/samples |
@@ -49,10 +49,10 @@ package: clean all | |||
49 | clean: | 49 | clean: |
50 | rm -rf ~/texmf/tex/lualatex/arabluatex/ | 50 | rm -rf ~/texmf/tex/lualatex/arabluatex/ |
51 | rm -rf ~/.emacs.d/auctex/auto/arabluatex*.el | 51 | rm -rf ~/.emacs.d/auctex/auto/arabluatex*.el |
52 | rm -rf tex/ doc/ source/ auto/ _minted*/ | 52 | rm -rf tex/ doc/ source/ auto/ |
53 | rm -rf arabluatex/ | 53 | rm -rf arabluatex/ |
54 | rm -rf saved/ TMP/ | 54 | rm -rf saved/ TMP/ |
55 | find ./samples/ -type f | grep -v ".*tex$$" | xargs /usr/bin/rm -f | 55 | find ./samples/ | grep -v samples | grep -v ".*tex$$" | xargs rm -rf |
56 | mkdir saved | 56 | mkdir saved |
57 | cp *.{lua,ins,dtx,tex,el} makefile saved # .bib is in dtx | 57 | cp *.{lua,ins,dtx,tex,el} makefile saved # .bib is in dtx |
58 | rm *.* | 58 | rm *.* |
diff --git a/samples/al-Jahiz.tex b/samples/al-Jahiz.tex index 6186a45..6ff9ed5 100644 --- a/samples/al-Jahiz.tex +++ b/samples/al-Jahiz.tex | |||
@@ -1,3 +1,5 @@ | |||
1 | % | ||
2 | % This file is public domain | ||
1 | % To compile this document, do: | 3 | % To compile this document, do: |
2 | % 'lualatex --shell-escape al-Jahiz' | 4 | % 'lualatex --shell-escape al-Jahiz' |
3 | % | 5 | % |
@@ -7,12 +9,13 @@ | |||
7 | \usepackage{filecontents} | 9 | \usepackage{filecontents} |
8 | 10 | ||
9 | \usepackage{xcolor} | 11 | \usepackage{xcolor} |
10 | \usepackage{minted} | 12 | \usepackage[outputdir=TMP]{minted} |
11 | \definecolor{bg}{rgb}{0.95,0.95,0.95} | 13 | \definecolor{bg}{rgb}{0.95,0.95,0.95} |
14 | \usepackage{ccicons} | ||
12 | 15 | ||
13 | \usepackage{lineno} | 16 | \usepackage{lineno} |
14 | \usepackage{setspace} | 17 | \usepackage{setspace} |
15 | \doublespacing | 18 | \onehalfspacing |
16 | 19 | ||
17 | \usepackage{csquotes} | 20 | \usepackage{csquotes} |
18 | \DeclareQuoteStyle{arabic} | 21 | \DeclareQuoteStyle{arabic} |
@@ -79,7 +82,9 @@ | |||
79 | \author{} | 82 | \author{} |
80 | \date{} | 83 | \date{} |
81 | 84 | ||
82 | \titlehead{\textsf{arabluatex} mode: \texttt{fullvoc} with | 85 | \titlehead{\textbf{\textsf{arabluatex sample file}} --- \cczero\ This |
86 | file is public domain.\\ | ||
87 | \textsf{arabluatex} mode: \texttt{fullvoc} with | ||
83 | \texttt{\textbackslash SetArbEasy}\\ | 88 | \texttt{\textbackslash SetArbEasy}\\ |
84 | Full vocalization, the \arb[trans]{sukUn} and the | 89 | Full vocalization, the \arb[trans]{sukUn} and the |
85 | \arb[trans]{wa.slaT} are expressed, the \arb[trans]{ta^sdId} is | 90 | \arb[trans]{wa.slaT} are expressed, the \arb[trans]{ta^sdId} is |
@@ -87,6 +92,7 @@ | |||
87 | discarded (see source code on p.~\pageref{source}).} | 92 | discarded (see source code on p.~\pageref{source}).} |
88 | \maketitle | 93 | \maketitle |
89 | \vspace{-1in} | 94 | \vspace{-1in} |
95 | \doublespacing | ||
90 | \setquotestyle{arabic} | 96 | \setquotestyle{arabic} |
91 | \input{dajaja} | 97 | \input{dajaja} |
92 | 98 | ||