diff options
author | Robert Alessi <alessi@robertalessi.net> | 2020-11-08 11:15:33 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2020-11-08 11:15:33 +0100 |
commit | cfa490f2f0ec6ffd35af24a948e7c1c304928083 (patch) | |
tree | 53eb3e37ee119920e08ce6031f6aa44c502178f9 /arabluatex.dtx | |
parent | f25eea6af4f41ef7529e1488d2c2e6777f1dca7a (diff) | |
download | arabluatex-cfa490f2f0ec6ffd35af24a948e7c1c304928083.tar.gz |
use geometry in the documentation. minted needs a temporary patch because of a bug in the current luatex hyphenation mechanism
Diffstat (limited to 'arabluatex.dtx')
-rw-r--r-- | arabluatex.dtx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx index 01ceabc..610181b 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx | |||
@@ -157,6 +157,7 @@ | |||
157 | location = {London -- Edinburgh} | 157 | location = {London -- Edinburgh} |
158 | } | 158 | } |
159 | \end{filecontents} | 159 | \end{filecontents} |
160 | \usepackage[letterpaper,margin=1.25in,left=50mm,nohead]{geometry} | ||
160 | \usepackage{fontspec} | 161 | \usepackage{fontspec} |
161 | \usepackage[english]{babel} | 162 | \usepackage[english]{babel} |
162 | \usepackage{dox} | 163 | \usepackage{dox} |
@@ -216,6 +217,13 @@ | |||
216 | \usepackage{relsize} | 217 | \usepackage{relsize} |
217 | \usepackage{tikz} | 218 | \usepackage{tikz} |
218 | \usepackage[breakable, skins, xparse, minted]{tcolorbox} | 219 | \usepackage[breakable, skins, xparse, minted]{tcolorbox} |
220 | \makeatletter | ||
221 | \patchcmd{\minted@checkstyle}{\minted@input{% | ||
222 | \minted@outputdir\minted@cachedir/\ifstrempty{#1}{default-pyg-prefix}{#1}.pygstyle}% | ||
223 | }{\minted@input{% | ||
224 | \minted@outputdir\minted@cachedir/\ifstrempty{#1}{default-pyg-prefix}{#1}.pygstyle}% | ||
225 | \def\PYGZhy{\mbox{\char`\-}}}{}{} | ||
226 | \makeatother | ||
219 | \tcbset{colback=white, boxrule=.15mm, colframe=cinnamon, | 227 | \tcbset{colback=white, boxrule=.15mm, colframe=cinnamon, |
220 | breakable} | 228 | breakable} |
221 | \newtcbox{\arabluabox}{boxrule=.3mm, left=0mm, right=0mm, top=0mm, | 229 | \newtcbox{\arabluabox}{boxrule=.3mm, left=0mm, right=0mm, top=0mm, |