From 5033b0a46ad21995a992442c4ca73580ed7e0c58 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 5 May 2020 21:32:38 +0000 Subject: showexpl (5may20) git-svn-id: svn://tug.org/texlive/trunk@55030 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/showexpl/README | 16 --------- Master/texmf-dist/doc/latex/showexpl/README.md | 24 +++++++++++++ .../doc/latex/showexpl/showexpl-test.pdf | Bin 332458 -> 350530 bytes .../doc/latex/showexpl/showexpl-test.tex | 39 ++++++++++----------- Master/texmf-dist/doc/latex/showexpl/showexpl.pdf | Bin 243219 -> 250331 bytes 5 files changed, 42 insertions(+), 37 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/showexpl/README create mode 100644 Master/texmf-dist/doc/latex/showexpl/README.md (limited to 'Master/texmf-dist/doc/latex/showexpl') 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 + + +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 Binary files a/Master/texmf-dist/doc/latex/showexpl/showexpl-test.pdf and b/Master/texmf-dist/doc/latex/showexpl/showexpl-test.pdf 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 Binary files a/Master/texmf-dist/doc/latex/showexpl/showexpl.pdf and b/Master/texmf-dist/doc/latex/showexpl/showexpl.pdf differ -- cgit v1.2.3