aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arabluatex.dtx12
-rw-r--r--makefile10
2 files changed, 12 insertions, 10 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 6222e5d..eea454d 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -202,15 +202,17 @@
202\usepackage{booktabs} 202\usepackage{booktabs}
203\usepackage[defaultlines=3,all]{nowidow} 203\usepackage[defaultlines=3,all]{nowidow}
204\usepackage{needspace} 204\usepackage{needspace}
205\usepackage{relsize}
205\usepackage{tikz} 206\usepackage{tikz}
206\usepackage[breakable, skins, listings, xparse]{tcolorbox} 207\usepackage[breakable, skins, xparse, minted]{tcolorbox}
207\tcbset{colback=white, boxrule=.15mm, colframe=red!50!white, left=6mm, 208\tcbset{colback=white, boxrule=.15mm, colframe=red!50!white, left=6mm,
208 breakable} 209 breakable}
209\DeclareTCBListing{arabluacode}{s O{}}{listing 210\DeclareTCBListing{arabluacode}{s O{}}{listing engine=minted, minted
210 options={style=tcblatex, numbers=left, numberstyle=\tiny}, 211 language=latex, minted options={linenos, fontsize=\relsize{-0.5}},
211 IfBooleanTF={#1}{listing side text}{#2}} 212 IfBooleanTF={#1}{listing side text}{#2}}
212\DeclareTCBListing{arabluaverbatim}{}{listing options={style=tcblatex, 213\DeclareTCBListing{arabluaverbatim}{}{listing engine=minted, minted
213 numbers=left, numberstyle=\tiny}, listing only} 214 language=latex, minted options={linenos, fontsize=\relsize{-0.5}},
215 listing only}
214\DeclareTotalTCBox{\arabluaverb}{v}{verbatim}{#1} 216\DeclareTotalTCBox{\arabluaverb}{v}{verbatim}{#1}
215\DeclareTotalTCBox{\arabluabox}{m}{left=0mm, right=0mm, top=0mm, 217\DeclareTotalTCBox{\arabluabox}{m}{left=0mm, right=0mm, top=0mm,
216 bottom=0mm}{#1} 218 bottom=0mm}{#1}
diff --git a/makefile b/makefile
index 4a786b5..466b1b9 100644
--- a/makefile
+++ b/makefile
@@ -6,13 +6,13 @@ sty: clean
6 lualatex $(pkg).ins 6 lualatex $(pkg).ins
7 7
8doc: clean sty 8doc: clean sty
9 lualatex $(pkg).dtx 9 lualatex --shell-escape $(pkg).dtx
10 biber arabluatex 10 biber arabluatex
11 lualatex $(pkg).dtx 11 lualatex --shell-escape $(pkg).dtx
12 makeindex -s gind.ist -o $(pkg).ind $(pkg).idx 12 makeindex -s gind.ist -o $(pkg).ind $(pkg).idx
13 makeindex -s gglo.ist -o $(pkg).gls $(pkg).glo 13 makeindex -s gglo.ist -o $(pkg).gls $(pkg).glo
14 lualatex $(pkg).dtx 14 lualatex --shell-escape $(pkg).dtx
15 lualatex $(pkg).dtx 15 lualatex --shell-escape $(pkg).dtx
16 for i in samples/*.tex; \ 16 for i in samples/*.tex; \
17 do latexmk -outdir=TMP -lualatex -e '$$lualatex=q/lualatex %O --shell-escape %S/' $$i; \ 17 do latexmk -outdir=TMP -lualatex -e '$$lualatex=q/lualatex %O --shell-escape %S/' $$i; \
18 done 18 done
@@ -55,7 +55,7 @@ clean:
55 rm -rf $(HOMEDIR)/.emacs.d/auctex/auto/arabluatex*.el 55 rm -rf $(HOMEDIR)/.emacs.d/auctex/auto/arabluatex*.el
56 rm -rf tex/ doc/ source/ auto/ 56 rm -rf tex/ doc/ source/ auto/
57 rm -rf arabluatex/ 57 rm -rf arabluatex/
58 rm -rf saved/ TMP/ 58 rm -rf saved/ TMP/ _minted-arabluatex/
59 find ./samples/ | grep -v "\./samples/$$" | grep -v ".*tex$$" | xargs rm -rf 59 find ./samples/ | grep -v "\./samples/$$" | grep -v ".*tex$$" | xargs rm -rf
60 mkdir saved 60 mkdir saved
61 cp *.{lua,ins,dtx,tex,el} makefile saved # .bib is in dtx 61 cp *.{lua,ins,dtx,tex,el} makefile saved # .bib is in dtx