summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r--Master/texmf-dist/doc/latex/showexpl/README16
-rw-r--r--Master/texmf-dist/doc/latex/showexpl/README.md24
-rw-r--r--Master/texmf-dist/doc/latex/showexpl/showexpl-test.pdfbin332458 -> 350530 bytes
-rw-r--r--Master/texmf-dist/doc/latex/showexpl/showexpl-test.tex39
-rw-r--r--Master/texmf-dist/doc/latex/showexpl/showexpl.pdfbin243219 -> 250331 bytes
5 files changed, 42 insertions, 37 deletions
diff --git a/Master/texmf-dist/doc/latex/showexpl/README b/Master/texmf-dist/doc/latex/showexpl/README
deleted file mode 100644
index f16e1bc655f..00000000000
--- a/Master/texmf-dist/doc/latex/showexpl/README
+++ /dev/null
@@ -1,16 +0,0 @@
-showexpl
-========
-
-The LaTeX package 'showexpl' provides a way to typeset LaTeX source code and
-the related result in the same document. The `listings' package is required.
-See 'doc/showexpl-test.tex' for the details.
-
-Recommended TDS locations:
-
- showexpl.sty: tex/latex/showexpl
- README, showexpl.pdf, showexpl-test.pdf,
- showexpl-test.tex, result-picture.pdf: doc/latex/showexpl
-
-For general installation advice, see
-http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages
-
diff --git a/Master/texmf-dist/doc/latex/showexpl/README.md b/Master/texmf-dist/doc/latex/showexpl/README.md
new file mode 100644
index 00000000000..0c2fb4d52fe
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/showexpl/README.md
@@ -0,0 +1,24 @@
+showexpl
+========
+
+The LaTeX package `showexpl` provides a way to typeset LaTeX source code and
+the related result in the same document. The `listings` package is required.
+See `doc/showexpl-test.tex` for the details.
+
+Recommended TDS locations:
+
+```text
+ showexpl.sty: tex/latex/showexpl
+ README, showexpl.pdf, showexpl-test.pdf,
+ showexpl-test.tex, result-picture.pdf: doc/latex/showexpl
+```
+
+For general installation advice, see
+<http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages>
+
+The showexpl package is also on
+CTAN:[macros/latex/contrib/showexpl](http://www.ctan.org/tex-archive/macros/latex/contrib/showexpl)
+
+Rolf Niepraschk,
+email: Rolf.Niepraschk@gmx.de,
+2020-05-03
diff --git a/Master/texmf-dist/doc/latex/showexpl/showexpl-test.pdf b/Master/texmf-dist/doc/latex/showexpl/showexpl-test.pdf
index ed08ca09e95..a645e087aeb 100644
--- a/Master/texmf-dist/doc/latex/showexpl/showexpl-test.pdf
+++ b/Master/texmf-dist/doc/latex/showexpl/showexpl-test.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/showexpl/showexpl-test.tex b/Master/texmf-dist/doc/latex/showexpl/showexpl-test.tex
index 316049f555f..75b4664a5b4 100644
--- a/Master/texmf-dist/doc/latex/showexpl/showexpl-test.tex
+++ b/Master/texmf-dist/doc/latex/showexpl/showexpl-test.tex
@@ -1,36 +1,33 @@
-% Rolf Niepraschk, 2005-07-16, Rolf.Niepraschk@ptb.de
+% Rolf Niepraschk, 2020-05-03, Rolf.Niepraschk@gmx.de
\listfiles\errorcontextlines=100
\documentclass[a4paper,draft,twoside]{article}
\usepackage[dvipsnames]{xcolor}
\usepackage[textwidth=12cm,marginparwidth=4cm]{geometry}
-
\usepackage[final]{showexpl}
-\usepackage[T1]{fontenc}
+\usepackage{iftex}
-\IfFileExists{luximono.sty}%
-{%
- \usepackage[scaled]{luximono}%
-}
-{%
- \IfFileExists{beramono.sty}%
- {%
- \usepackage[scaled]{beramono}%
- }{}
-}
+\iftutex % LuaTeX, XeTeX
+ \usepackage{fontspec}
+ \setmonofont{DejaVuSansMono}[Scale=MatchUppercase]
+\else % old engines
+ \usepackage[T1]{fontenc}
+ \usepackage{lmodern}
+ \usepackage[scaled]{DejaVuSansMono}
+\fi
\lstset{%
- basicstyle=\ttfamily\small,
- commentstyle=\itshape\ttfamily\small,
- showspaces=false,
- showstringspaces=false,
- breaklines=true,
- backgroundcolor=\color{lightgray},
- breakautoindent=true,
- captionpos=t
+ basicstyle=\ttfamily\small,
+ commentstyle=\itshape\ttfamily\small,
+ showspaces=false,
+ showstringspaces=false,
+ breaklines=true,
+ backgroundcolor=\color{lightgray},
+ breakautoindent=true,
+ captionpos=t
}
\iftrue
diff --git a/Master/texmf-dist/doc/latex/showexpl/showexpl.pdf b/Master/texmf-dist/doc/latex/showexpl/showexpl.pdf
index 31c82aad6d3..31c0ffac2e6 100644
--- a/Master/texmf-dist/doc/latex/showexpl/showexpl.pdf
+++ b/Master/texmf-dist/doc/latex/showexpl/showexpl.pdf
Binary files differ