From 5897e215448e1c54324a6f4e3b99f743de047dbf Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Fri, 12 Oct 2018 11:01:17 +0200
Subject: documentation: switched to minted

---
 arabluatex.dtx | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

(limited to 'arabluatex.dtx')

diff --git a/arabluatex.dtx b/arabluatex.dtx
index 6222e5d..eea454d 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -202,15 +202,17 @@
 \usepackage{booktabs}
 \usepackage[defaultlines=3,all]{nowidow}
 \usepackage{needspace}
+\usepackage{relsize}
 \usepackage{tikz}
-\usepackage[breakable, skins, listings, xparse]{tcolorbox}
+\usepackage[breakable, skins, xparse, minted]{tcolorbox}
 \tcbset{colback=white, boxrule=.15mm, colframe=red!50!white, left=6mm,
   breakable}
-\DeclareTCBListing{arabluacode}{s O{}}{listing
-  options={style=tcblatex, numbers=left, numberstyle=\tiny},
+\DeclareTCBListing{arabluacode}{s O{}}{listing engine=minted, minted
+  language=latex, minted options={linenos, fontsize=\relsize{-0.5}},
   IfBooleanTF={#1}{listing side text}{#2}}
-\DeclareTCBListing{arabluaverbatim}{}{listing options={style=tcblatex,
-    numbers=left, numberstyle=\tiny}, listing only}
+\DeclareTCBListing{arabluaverbatim}{}{listing engine=minted, minted
+  language=latex, minted options={linenos, fontsize=\relsize{-0.5}},
+  listing only}
 \DeclareTotalTCBox{\arabluaverb}{v}{verbatim}{#1}
 \DeclareTotalTCBox{\arabluabox}{m}{left=0mm, right=0mm, top=0mm,
   bottom=0mm}{#1}
-- 
cgit v1.2.3

