summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/fancyvrb
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-01-06 01:25:24 +0000
committerKarl Berry <karl@freefriends.org>2010-01-06 01:25:24 +0000
commit865b9db3ed46b4e04f3c42f1eb2a5875af9f61e7 (patch)
tree76e7d5fb39432be7c303c61dcd9cfb4487019396 /Master/texmf-dist/source/latex/fancyvrb
parentb87b8857ed65bd848247e01e07f2c335fbdef230 (diff)
use ^^ in fvrb-ex.dtx
git-svn-id: svn://tug.org/texlive/trunk@16609 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/fancyvrb')
-rw-r--r--Master/texmf-dist/source/latex/fancyvrb/fvrb-ex.dtx55
1 files changed, 28 insertions, 27 deletions
diff --git a/Master/texmf-dist/source/latex/fancyvrb/fvrb-ex.dtx b/Master/texmf-dist/source/latex/fancyvrb/fvrb-ex.dtx
index c50703b2b04..aeba5405e00 100644
--- a/Master/texmf-dist/source/latex/fancyvrb/fvrb-ex.dtx
+++ b/Master/texmf-dist/source/latex/fancyvrb/fvrb-ex.dtx
@@ -14,6 +14,7 @@
%%
% \fi
%
+% \changes{v1.8}{2010/01/04}{Use ^^ instead of eight-bits chars. [KB/ER]}
% \changes{v1.7}{1998/03/26}{First public release.}
% \changes{v0.1}{1995}{First personal version.}
%
@@ -507,11 +508,11 @@
\hbadness=7000 % Over and under full box warnings
\begin{document}
% To be able to use the letter "mu"
- \catcode`\µ=\active
- \defµ{$\mu$}
+ \catcode`\^^b5=\active
+ \def^^b5{$\mu$}
% To be able to use the letter "pound"
- \catcode`\£=\active
- \def£{$\pounds$}
+ \catcode`\^^a3=\active
+ \def^^a3{$\pounds$}
\DocInput{fvrb-ex.dtx}
\end{document}
%</driver>
@@ -746,8 +747,8 @@
\parindent=0pt
\multiply\topsep by 2
\VerbatimEnvironment
-\begin{VerbatimOut}[codes={\catcode`\£=12\catcode`\§=12\catcode`\µ=12%
- \catcode`\¶=12}]{\jobname.tmp}}
+\begin{VerbatimOut}[codes={\catcode`\^^a3=12\catcode`\^^a7=12\catcode`\^^b5=12%
+ \catcode`\^^b6=12}]{\jobname.tmp}}
% \end{macrocode}
% \end{macro}
%
@@ -758,9 +759,9 @@
% formatted part.
% \begin{macrocode}
\newcommand{\Below@Example}[1]{%
-\VerbatimInput[gobble=0,commentchar=£,commandchars=§µ¶,numbersep=3pt]%
+\VerbatimInput[gobble=0,commentchar=^^a3,commandchars=^^a7^^b5^^b6,numbersep=3pt]%
{\jobname.tmp}
-\catcode`\£=9\relax%
+\catcode`\^^a3=9\relax%
\NoHighlight@Attributes % To suppress possible highlighting
\ifFvrbEx@Grid\vspace{5pt}\fi
#1%
@@ -780,7 +781,7 @@
\advance\@tempdimb -5mm
\begin{minipage}[c]{\@tempdimb}
\fvset{xrightmargin=0pt}
- \catcode`\£=9\relax%
+ \catcode`\^^a3=9\relax%
\NoHighlight@Attributes % To suppress possible highlighting
#1
\end{minipage}%
@@ -788,7 +789,7 @@
\advance\@tempdimb -\FV@XRightMargin
\advance\@tempdimb 5mm
\begin{minipage}[c]{\@tempdimb}
- \VerbatimInput[gobble=0,commentchar=£,commandchars=§µ¶,numbersep=3pt,
+ \VerbatimInput[gobble=0,commentchar=^^a3,commandchars=^^a7^^b5^^b6,numbersep=3pt,
xleftmargin=5mm,xrightmargin=0pt]{\jobname.tmp}
\end{minipage}}
% \end{macrocode}
@@ -1070,9 +1071,9 @@
%
% First, we re-establish the active catcodes for the verbatim mode.
% \begin{macrocode}
-\catcode`\§=0\relax%
-\catcode`\µ=1\relax%
-\catcode`\¶=2\relax%
+\catcode`\^^a7=0\relax%
+\catcode`\^^b5=1\relax%
+\catcode`\^^b6=2\relax%
% \end{macrocode}
%
% Desactivation of the highlighting macros.
@@ -1308,9 +1309,9 @@ $\setbox\z@\hbox{\begingroup#3\endgroup}%
%
% First, we re-establish the active catcodes for the verbatim mode.
% \begin{macrocode}
-\catcode`\§=0\relax%
-\catcode`\µ=1\relax%
-\catcode`\¶=2\relax%
+\catcode`\^^a7=0\relax%
+\catcode`\^^b5=1\relax%
+\catcode`\^^b6=2\relax%
% \end{macrocode}
%
% Desactivation of the highlighting macros.
@@ -1387,7 +1388,7 @@ $\setbox\z@\hbox{\begingroup#3\endgroup}%
\maketitle
\RecustomVerbatimEnvironment{Verbatim}{Verbatim}
- {gobble=2,commentchar=£,numbers=left,numbersep=3pt,frame=single}
+ {gobble=2,commentchar=^^a3,numbers=left,numbersep=3pt,frame=single}
\section{\texttt{Example} environment}
@@ -1437,16 +1438,16 @@ $\setbox\z@\hbox{\begingroup#3\endgroup}%
\begin{Verbatim}
\begin{CenterExample}[frame=lines,numbers=left]
- §HLaµFirst¶ verbatim line.
- §HLbµSecond¶ verbatim line.
- §HLCBWzµThird¶ verbatim line.
+ ^^a7HLa^^b5First^^b6 verbatim line.
+ ^^a7HLb^^b5Second^^b6 verbatim line.
+ ^^a7HLCBWz^^b5Third^^b6 verbatim line.
\end{CenterExample}
\end{Verbatim}
\begin{CenterExample}[frame=lines,numbers=left]
- §HLaµFirst¶ verbatim line.
- §HLbµSecond¶ verbatim line.
- §HLCBWzµThird¶ verbatim line.
+ ^^a7HLa^^b5First^^b6 verbatim line.
+ ^^a7HLb^^b5Second^^b6 verbatim line.
+ ^^a7HLCBWz^^b5Third^^b6 verbatim line.
\end{CenterExample}
\section{\texttt{SideBySideExample} environment}
@@ -1524,19 +1525,19 @@ $\setbox\z@\hbox{\begingroup#3\endgroup}%
\begin{Verbatim}
\fvset{frame=single,xrightmargin=5cm}
\begin{PSideBySideExample}(-2,-1)(2,1)
- \psellipse[linestyle=§HLCBWeµdashed¶](2,1)
+ \psellipse[linestyle=^^a7HLCBWe^^b5dashed^^b6](2,1)
\end{PSideBySideExample}
\begin{PSideBySideExample}[numbers=right](-2,-1)(2,1)
- \psellipse[linestyle=§HLeµdotted¶](2,1)
+ \psellipse[linestyle=^^a7HLe^^b5dotted^^b6](2,1)
\end{PSideBySideExample}
\end{Verbatim}
{\fvset{frame=single,xrightmargin=5cm}
\begin{PSideBySideExample}(-2,-1)(2,1)
- \psellipse[linestyle=§HLCBWeµdashed¶](2,1)
+ \psellipse[linestyle=^^a7HLCBWe^^b5dashed^^b6](2,1)
\end{PSideBySideExample}
\begin{PSideBySideExample}[numbers=right](-2,-1)(2,1)
- \psellipse[linestyle=§HLeµdotted¶](2,1)
+ \psellipse[linestyle=^^a7HLe^^b5dotted^^b6](2,1)
\end{PSideBySideExample}