diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/listings/listings-rexx.prf')
-rw-r--r-- | Master/texmf-dist/tex/latex/listings/listings-rexx.prf | 34 |
1 files changed, 14 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/listings/listings-rexx.prf b/Master/texmf-dist/tex/latex/listings/listings-rexx.prf index d29a0751c01..0548072e97e 100644 --- a/Master/texmf-dist/tex/latex/listings/listings-rexx.prf +++ b/Master/texmf-dist/tex/latex/listings/listings-rexx.prf @@ -22,27 +22,21 @@ %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% \ProvidesFile{listings-rexx.prf} - [2024/03/11 1.10a listings language file] -\usepackage{xcolor} -\usepackage{textcomp} + [2024/05/25 1.10b listings language file] +\usepackage{xcolor} % needed for colors like yellow!10 +\usepackage{textcomp} % needed for upquote -%% Actual colors from idlelib/config-highlight.def -%% --> corrected to ``web-safe'' -%% strings = #00aa00 / 0,170,0 (a darker green) -%% builtins = #900090 / 144,0,144 (purple-ish) -%% keywords = #FF7700 / 255,119,0 (quite close to plain `orange') -%% Corrected to ``web-safe'' -\definecolor{purple2}{RGB}{153,0,153} % there's actually no standard purple -\definecolor{green2}{RGB}{0,153,0} % a darker green - -\lstdefinestyle{python-idle-code}{% - language=Python, % the language - basicstyle=\normalsize\ttfamily, % size of the fonts for the code - % Color settings to match IDLE style - keywordstyle=\color{orange}, % core keywords - keywordstyle={[2]\color{purple2}}, % built-ins - stringstyle=\color{green2},% - commentstyle=\color{red},% +\lstdefinestyle{rexx-colored}{% + language=oorexx, % the language + backgroundcolor=\color{yellow!10}, + basicstyle=\normalsize\ttfamily, % size of the fonts for + % the code + % Color settings to match JHf's preferred style + keywordstyle=\color{blue}, % core keywords + keywordstyle={[2]\color{cyan}}, % built-ins + keywordstyle={[3]\color{olive}}, % special keywords + stringstyle=\color{teal},% + commentstyle=\color{orange},% upquote=true, % requires textcomp } \endinput |