summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/bidi/bidicode.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/bidicode.sty')
-rw-r--r--Master/texmf-dist/tex/xelatex/bidi/bidicode.sty102
1 files changed, 74 insertions, 28 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidicode.sty b/Master/texmf-dist/tex/xelatex/bidi/bidicode.sty
index 94e91839977..2fde20e5196 100644
--- a/Master/texmf-dist/tex/xelatex/bidi/bidicode.sty
+++ b/Master/texmf-dist/tex/xelatex/bidi/bidicode.sty
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{54385}
+%% \CheckSum{55044}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -43,37 +43,83 @@
\RequirePackage{showexpl}
\definecolor{hellgelb}{rgb}{1,1,0.85}
\definecolor{colKeys}{rgb}{0,0,1}
+\definecolor{colCS}{rgb}{0,0,1}
\definecolor{colIdentifier}{rgb}{0,0,0}
\definecolor{colComments}{rgb}{1,0,0}
\definecolor{colString}{rgb}{0,0.5,0}
-\lstset{
- language=[LaTeX]TEX,
- float=hbp,
- basicstyle=\ttfamily\small,
- identifierstyle=\color{colIdentifier},
- keywordstyle=\color{colKeys},
- stringstyle=\color{colString},
- commentstyle=\color{colComments},
- backgroundcolor=\color{hellgelb},
- columns=flexible,
- tabsize=4,
- extendedchars=true,
- showspaces=false,
- showstringspaces=false,
- numbers=left,
- numbersep=0.9em,
- numberstyle=\tiny, %
- frame=single,
- captionpos=b,
- xleftmargin=1em,
- breaklines=true,
- breakautoindent=false,
- breakindent=0pt,
- escapeinside=**,
- pos=r,
+\lstset{%
+ language=TeX,%
+ float=hbp,%
+ basicstyle=\ttfamily\small,%
+ identifierstyle=\color{colIdentifier},%
+ keywordstyle=\color{colKeys},%
+ texcsstyle=*\color{colCS},%
+ stringstyle=\color{colString},%
+ commentstyle=\color{colComments},%
+ backgroundcolor=\color{hellgelb},%
+ columns=flexible,%
+ tabsize=4,%
+ extendedchars=true,%
+ showspaces=false,%
+ showstringspaces=false,%
+ numbers=left,%
+ numbersep=0.9em,%
+ numberstyle=\tiny,%
+ frame=single,%
+ captionpos=b,%
+ xleftmargin=1em,%
+ breaklines=true,%
+ breakautoindent=false,%
+ breakindent=0pt,%
+ escapeinside=**,%
+ pos=r,%
explpreset={%
- xleftmargin=1em,columns=flexible,language=[LaTeX]TEX},
- morekeywords={setLTR,setLR,setRTL,setRL,LRE,LR,RLE,RL,lr,bidiversion,bididate}
+ xleftmargin=1em,%
+ columns=flexible,%
+ language=TeX%
+ },%
+ moretexcs={%
+ bididate,%
+ bidiversion,%
+ deflatinfont,%
+ defpersianfont,%
+ ding,%
+ endLTR,%
+ endRTL,%
+ false,%
+ falsesymbol,%
+ junicode,%
+ lr,%
+ LR,%
+ LRE,%
+ LTR,%
+ maketitle,%
+ Nastaliq,%
+ newfontfamily,%
+ Parsifont,%
+ part,%
+ RL,%
+ RLE,%
+ RTL,%
+ RTLcases,%
+ SepMark,%
+ setLR,%
+ setLTR,%
+ setRL,%
+ setRTL,%
+ settextfont,%
+ subsection,%
+ subsubsection,%
+ tableofcontents,%
+ text,%
+ theequation,%
+ thesection,%
+ true,%
+ truesymbol,%
+ XePersian,%
+ xepersiandate,%
+ xepersianversion%
+ }%
}
\newcommand\HLON{%
\gdef\lst@alloverstyle##1{%