summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pygmentex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-12-21 22:09:04 +0000
committerKarl Berry <karl@freefriends.org>2020-12-21 22:09:04 +0000
commit55de2da667a45a8269b59b299be7b44cb11906f7 (patch)
tree543dc9d1c39dfc71f77c397dca453fc5dc29db19 /Master/texmf-dist/doc/latex/pygmentex
parentc95edccc8198456a8a1a43c7b2c70a02ca8d84ac (diff)
pygmentex (21dec20)
git-svn-id: svn://tug.org/texlive/trunk@57190 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/pygmentex')
-rw-r--r--Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.c (renamed from Master/texmf-dist/doc/latex/pygmentex/demo.c)0
-rw-r--r--Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.delphi (renamed from Master/texmf-dist/doc/latex/pygmentex/demo.delphi)0
-rw-r--r--Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.hs (renamed from Master/texmf-dist/doc/latex/pygmentex/demo.hs)0
-rw-r--r--Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.java (renamed from Master/texmf-dist/doc/latex/pygmentex/demo.java)0
-rw-r--r--Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.pas (renamed from Master/texmf-dist/doc/latex/pygmentex/demo.pas)0
-rw-r--r--Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.pdf (renamed from Master/texmf-dist/doc/latex/pygmentex/demo.pdf)bin592365 -> 585220 bytes
-rw-r--r--Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.py (renamed from Master/texmf-dist/doc/latex/pygmentex/demo.py)0
-rw-r--r--Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.tex (renamed from Master/texmf-dist/doc/latex/pygmentex/demo.tex)21
8 files changed, 15 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/pygmentex/demo.c b/Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.c
index 1d739f5edf3..1d739f5edf3 100644
--- a/Master/texmf-dist/doc/latex/pygmentex/demo.c
+++ b/Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.c
diff --git a/Master/texmf-dist/doc/latex/pygmentex/demo.delphi b/Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.delphi
index 71e38129746..71e38129746 100644
--- a/Master/texmf-dist/doc/latex/pygmentex/demo.delphi
+++ b/Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.delphi
diff --git a/Master/texmf-dist/doc/latex/pygmentex/demo.hs b/Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.hs
index b784c890a5c..b784c890a5c 100644
--- a/Master/texmf-dist/doc/latex/pygmentex/demo.hs
+++ b/Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.hs
diff --git a/Master/texmf-dist/doc/latex/pygmentex/demo.java b/Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.java
index bda5bb322f6..bda5bb322f6 100644
--- a/Master/texmf-dist/doc/latex/pygmentex/demo.java
+++ b/Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.java
diff --git a/Master/texmf-dist/doc/latex/pygmentex/demo.pas b/Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.pas
index 5d63cc6e2d2..5d63cc6e2d2 100644
--- a/Master/texmf-dist/doc/latex/pygmentex/demo.pas
+++ b/Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.pas
diff --git a/Master/texmf-dist/doc/latex/pygmentex/demo.pdf b/Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.pdf
index ccebf5004ad..a444bffd44d 100644
--- a/Master/texmf-dist/doc/latex/pygmentex/demo.pdf
+++ b/Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/pygmentex/demo.py b/Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.py
index a5fa60eed43..a5fa60eed43 100644
--- a/Master/texmf-dist/doc/latex/pygmentex/demo.py
+++ b/Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.py
diff --git a/Master/texmf-dist/doc/latex/pygmentex/demo.tex b/Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.tex
index 03fe3ac0a1b..5a07f49bedf 100644
--- a/Master/texmf-dist/doc/latex/pygmentex/demo.tex
+++ b/Master/texmf-dist/doc/latex/pygmentex/pygmentex_demo.tex
@@ -8,7 +8,7 @@
\usepackage{hyperref}
\usepackage[framemethod=tikz]{mdframed}
\usepackage{tcolorbox}
-\usepackage{fvrb-ex}
+\usepackage{fancyvrb-ex}
\usepackage{tikz}
\usepackage{calc}
\usepackage{pygmentex}
@@ -85,6 +85,15 @@ $ pygmentize -L lexers
\section{First examples}
+A simple verbatim text is the first example.
+
+\begin{Example}
+\begin{pygmented}[]
+Hello world!
+ This is a simple demonstration text.
+\end{pygmented}
+\end{Example}
+
The followig C program reads two integers and calculates their sum.
\begin{Example}
@@ -539,7 +548,7 @@ and showing a greeting message to the user.
colback=shadecolor,
caption=A haskell interactive program,
label=lst:haskell,
- ]{demo.hs}
+ ]{pygmentex_demo.hs}
This is a rule:
@@ -552,9 +561,9 @@ Now a Pascal procedure:
linewidth=1.5pt,
font=\ttfamily\sffamily\large,
colback=yellow
- ]{demo.delphi}
+ ]{pygmentex_demo.delphi}
and a Pascal program
-\inputpygmented[lang=pascal,linenos,linenostart=5801]{demo.pas}
+\inputpygmented[lang=pascal,linenos,linenostart=5801]{pygmentex_demo.pas}
A Python code snippet:
@@ -565,7 +574,7 @@ A Python code snippet:
linenostep=3,
linewidth=1pt,
colback=lightgreen
- ]{demo.py}
+ ]{pygmentex_demo.py}
\section{Using code snippets in environments}
@@ -604,7 +613,7 @@ Here you can read the source code for a hand written lexical analyser
for the \emph{straight-line} programming language that I have developed
in Java.
-\inputpygmented[boxing method=mdframed,lang=java,sty=autumn,colback=red!8,font=\ttfamily\small,tabsize=2,frametitle=\emph{Ad hoc} lexical analyser]{demo.java}
+\inputpygmented[boxing method=mdframed,lang=java,sty=autumn,colback=red!8,font=\ttfamily\small,tabsize=2,frametitle=\emph{Ad hoc} lexical analyser]{pygmentex_demo.java}
\section{Some fancy examples using \texttt{tcolorbox}}