summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-05-05 21:32:38 +0000
committerKarl Berry <karl@freefriends.org>2020-05-05 21:32:38 +0000
commit5033b0a46ad21995a992442c4ca73580ed7e0c58 (patch)
tree43fe9f2cdccbf13c5de6a73080429f3d79f3debc /Master/texmf-dist/doc
parent9299899dc8277cdf25748ef0f2320593441e0a71 (diff)
showexpl (5may20)
git-svn-id: svn://tug.org/texlive/trunk@55030 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-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