aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2018-09-07 12:10:25 +0200
committerRobert Alessi <alessi@robertalessi.net>2018-09-07 12:10:25 +0200
commite4fdd6dfe0623bf542fb152de29e006625231488 (patch)
tree0b6293f8f26ee4c0c38f6be803be55f608da5614
parent7d106024c6ec9b33f6592c987f4e34c43f7d1b43 (diff)
downloadarabluatex-e4fdd6dfe0623bf542fb152de29e006625231488.tar.gz
documentation: use \tcbset and package 'uri'
-rw-r--r--arabluatex.dtx27
1 files changed, 12 insertions, 15 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 8fadee2..0248d0f 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -165,6 +165,7 @@
165\usepackage{hyperxmp} 165\usepackage{hyperxmp}
166\PassOptionsToPackage{pdfa}{hyperref} 166\PassOptionsToPackage{pdfa}{hyperref}
167\usepackage{hypdoc} 167\usepackage{hypdoc}
168\usepackage{uri}
168\usepackage{bookmark} 169\usepackage{bookmark}
169\usepackage{authblk} 170\usepackage{authblk}
170\hypersetup{unicode=true, colorlinks, allcolors=blue, 171\hypersetup{unicode=true, colorlinks, allcolors=blue,
@@ -203,19 +204,16 @@
203\usepackage{needspace} 204\usepackage{needspace}
204\usepackage{tikz} 205\usepackage{tikz}
205\usepackage[breakable, skins, listings, xparse]{tcolorbox} 206\usepackage[breakable, skins, listings, xparse]{tcolorbox}
206\DeclareTCBListing{arabluacode}{s O{}}{colback=white, boxrule=.15mm, 207\tcbset{colback=white, boxrule=.15mm, colframe=red!50!white, left=6mm,
207 colframe=red!50!white, left=6mm, breakable, listing 208 breakable}
209\DeclareTCBListing{arabluacode}{s O{}}{listing
208 options={style=tcblatex, numbers=left, numberstyle=\tiny}, 210 options={style=tcblatex, numbers=left, numberstyle=\tiny},
209 IfBooleanTF={#1}{listing side text}{#2}} 211 IfBooleanTF={#1}{listing side text}{#2}}
210\DeclareTCBListing{arabluaverbatim}{}{colback=white, boxrule=.15mm, 212\DeclareTCBListing{arabluaverbatim}{}{listing options={style=tcblatex,
211 colframe=red!50!white, left=6mm, breakable, listing 213 numbers=left, numberstyle=\tiny}, listing only}
212 options={style=tcblatex, numbers=left, numberstyle=\tiny}, listing 214\DeclareTotalTCBox{\arabluaverb}{v}{verbatim}{#1}
213 only}
214\DeclareTotalTCBox{\arabluaverb}{v}{verbatim, colback=white,
215 boxrule=.15mm, colframe=red!50!white}{#1}
216\DeclareTotalTCBox{\arabluabox}{m}{left=0mm, right=0mm, top=0mm, 215\DeclareTotalTCBox{\arabluabox}{m}{left=0mm, right=0mm, top=0mm,
217 bottom=0mm, colback=white, boxrule=.15mm, 216 bottom=0mm}{#1}
218 colframe=red!50!white}{#1}
219\newcommand{\package}[1]{\textsf{#1}\index{#1=#1 (package)}} 217\newcommand{\package}[1]{\textsf{#1}\index{#1=#1 (package)}}
220\usepackage{csquotes} 218\usepackage{csquotes}
221\DeclareQuoteStyle{arabic} 219\DeclareQuoteStyle{arabic}
@@ -314,13 +312,13 @@
314% \hskip 1sp \marginpar{\small\sffamily\raggedright 312% \hskip 1sp \marginpar{\small\sffamily\raggedright
315% New feature\\#1}} 313% New feature\\#1}}
316% 314%
317% \title{\tcbox[enhanced, tikznode, drop lifted shadow, colback=white, 315% \title{\tcbox[colframe=black, enhanced, tikznode, drop lifted
318% boxrule=.25mm]% 316% shadow, colback=white, boxrule=.25mm]%
319% {The \textsf{arabluatex} package\\ 317% {The \textsf{arabluatex} package\\
320% \fileversion\ -- \filedate}} 318% \fileversion\ -- \filedate}}
321% 319%
322% \author{Robert Alessi \\ 320% \author{Robert Alessi \\
323% \href{mailto:alessi@robertalessi.net?Subject=arabluatex}% 321% \href{mailto:alessi@robertalessi.net?Subject=arabluatex package}%
324% {\texttt{alessi@robertalessi.net}}} 322% {\texttt{alessi@robertalessi.net}}}
325% \date{} 323% \date{}
326% 324%
@@ -358,8 +356,7 @@
358% Please send error reports and suggestions for improvements to Robert 356% Please send error reports and suggestions for improvements to Robert
359% Alessi: 357% Alessi:
360% \begin{itemize} 358% \begin{itemize}
361% \item email: <\href{mailto:alessi@robertalessi.net?Subject=arabluatex}% 359% \item email: \mailto[arabluatex package]{alessi@roberalessi.net}
362% {\texttt{alessi@robertalessi.net}}>
363% \item website: \url{http://www.robertalessi.net/arabluatex} 360% \item website: \url{http://www.robertalessi.net/arabluatex}
364% \item development: \url{http://git.robertalessi.net/arabluatex} 361% \item development: \url{http://git.robertalessi.net/arabluatex}
365% \item comments, feature requests, bug reports: 362% \item comments, feature requests, bug reports: