summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-07-07 12:01:40 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-07-07 12:01:40 +0000
commitdf946872d1fa4e2eabbb7552f1d477bc46432038 (patch)
treeed96c920b7593c73efe523868a8f8c3ed74cf7d0 /Master
parent3ffc2442bf77aa6073cfc5223cc1ad7911ae7c83 (diff)
psfragx update
git-svn-id: svn://tug.org/texlive/trunk@9329 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/psfragx/example.eps274
-rw-r--r--Master/texmf-dist/doc/latex/psfragx/example.ovp17
-rw-r--r--Master/texmf-dist/doc/latex/psfragx/example.pfx20
-rw-r--r--Master/texmf-dist/doc/latex/psfragx/example.tex73
-rw-r--r--Master/texmf-dist/doc/latex/psfragx/psfragx.m13
-rw-r--r--Master/texmf-dist/doc/latex/psfragx/readme.txt9
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
7 files changed, 23 insertions, 385 deletions
diff --git a/Master/texmf-dist/doc/latex/psfragx/example.eps b/Master/texmf-dist/doc/latex/psfragx/example.eps
deleted file mode 100644
index 007e349b89d..00000000000
--- a/Master/texmf-dist/doc/latex/psfragx/example.eps
+++ /dev/null
@@ -1,274 +0,0 @@
-%!PS-Adobe-3.0 EPSF-3.0
-%%Creator: MATLAB, The Mathworks, Inc.
-%%Title: example.eps
-%%CreationDate: 08/02/2003 20:21:32
-%%DocumentNeededFonts: Helvetica
-%%DocumentProcessColors: Cyan Magenta Yellow Black
-%%LanguageLevel: 2
-%%Pages: 1
-%%BoundingBox: 35 453 340 684
-
-%<pfx>%% This is just a comment line
-%<*pfx>
-
-%%% Default legends
-
-%\psfrag{A}{$A_{\mbox{en}}$}
-%\psfrag{B}[][][1][180]{B}
-
-%%% French variations of the legends
-
-%\onlylanguage{french}
-%\psfrag{A}{$A_{\mbox{fr}}$}
-%\psfrag{B}[][][1][180]{\textcolor{red}{B}}
-%\endonlylanguage
-
-%%% Alternative syntax.
-
-%\iflanguage{french}
-% {\psfrag{W}{Titre}}
-% {\psfrag{W}{Title}}
-%</pfx>
-%<*ovp>
-%\onlylanguage{english}
-%\put(0,0){(0,0)}
-%\put(20,20){(20,20)}
-%\put(30,30){(30,30)}
-%\put(100,0){(100,0)}
-%\endonlylanguage
-%\iflanguage{french}{\put(0,70){(0;70)}}{\put(0,70){(0,70)}}
-
-%%% French variations of the legends
-
-%\onlylanguage{french}
-%\put(0,0){(0;0)}
-%\put(20,20){(20;20)}
-%\put(30,30){(30;30)}
-%\put(100,0){(100;0)}
-%\endonlylanguage
-%</ovp>
-%\endinput
-
-
-%%EndComments
-%%BeginProlog
-% MathWorks dictionary
-/MathWorks 160 dict begin
-% definition operators
-/bdef {bind def} bind def /ldef {load def} bind def /xdef {exch
-def} bdef /xstore {exch store} bdef
-% operator abbreviations
-/c /clip ldef /cc /concat ldef /cp /closepath ldef /gr /grestore
-ldef /gs /gsave ldef /mt /moveto ldef /np /newpath ldef /cm
-/currentmatrix ldef /sm /setmatrix ldef /rm /rmoveto ldef /rl
-/rlineto ldef /s /show ldef /sc {setcmykcolor} bdef /sr
-/setrgbcolor ldef /sg /setgray ldef /w /setlinewidth ldef /j
-/setlinejoin ldef /cap /setlinecap ldef /rc {rectclip} bdef /rf
-{rectfill} bdef
-% page state control
-/pgsv () def /bpage {/pgsv save def} bdef /epage {pgsv restore}
-bdef /bplot /gsave ldef /eplot {stroke grestore} bdef
-% orientation switch
-/portraitMode 0 def /landscapeMode 1 def /rotateMode 2 def
-% coordinate system mappings
-/dpi2point 0 def
-% font control
-/FontSize 0 def /FMS {/FontSize xstore findfont [FontSize 0 0
-FontSize neg 0 0]
- makefont setfont} bdef
-/ISOLatin1Encoding where {pop /WindowsLatin1Encoding 256 array
-bdef ISOLatin1Encoding WindowsLatin1Encoding copy pop
-/.notdef/.notdef/quotesinglbase/florin/quotedblbase/ellipsis/dagger
-/daggerdbl/circumflex/perthousand/Scaron/guilsinglleft/OE/.notdef/.notdef
-/.notdef/.notdef/quoteleft/quoteright/quotedblleft/quotedblright/bullet
-/endash/emdash/tilde/trademark/scaron/guilsinglright/oe/.notdef/.notdef
-/Ydieresis WindowsLatin1Encoding 128 32 getinterval astore pop}
-{/WindowsLatin1Encoding StandardEncoding bdef} ifelse /reencode
-{exch dup where {pop load} {pop StandardEncoding} ifelse
- exch dup 3 1 roll findfont dup length dict begin
- { 1 index /FID ne {def}{pop pop} ifelse } forall
- /Encoding exch def currentdict end definefont pop} bdef
-/isroman {findfont /CharStrings get /Agrave known} bdef /FMSR {3 1
-roll 1 index dup isroman {reencode} {pop pop} ifelse
- exch FMS} bdef
-/csm {1 dpi2point div -1 dpi2point div scale neg translate
- dup landscapeMode eq {pop -90 rotate}
- {rotateMode eq {90 rotate} if} ifelse} bdef
-% line types: solid, dotted, dashed, dotdash
-/SO { [] 0 setdash } bdef /DO { [.5 dpi2point mul 4 dpi2point mul]
-0 setdash } bdef /DA { [6 dpi2point mul] 0 setdash } bdef /DD {
-[.5 dpi2point mul 4 dpi2point mul 6 dpi2point mul 4
- dpi2point mul] 0 setdash } bdef
-% macros for lines and objects
-/L {lineto stroke} bdef /MP {3 1 roll moveto 1 sub {rlineto}
-repeat} bdef /AP {{rlineto} repeat} bdef /PDlw -1 def /W {/PDlw
-currentlinewidth def setlinewidth} def /PP {closepath eofill} bdef
-/DP {closepath stroke} bdef /MR {4 -2 roll moveto dup 0 exch
-rlineto exch 0 rlineto
- neg 0 exch rlineto closepath} bdef
-/FR {MR stroke} bdef /PR {MR fill} bdef /L1i {{currentfile picstr
-readhexstring pop} image} bdef /tMatrix matrix def /MakeOval
-{newpath tMatrix currentmatrix pop translate scale 0 0 1 0 360 arc
-tMatrix setmatrix} bdef /FO {MakeOval stroke} bdef /PO {MakeOval
-fill} bdef /PD {currentlinecap 1 cap 3 1 roll 2 copy mt lineto
-stroke
- cap PDlw -1 eq not {PDlw w /PDlw -1 def} if} def
-/FA {newpath tMatrix currentmatrix pop translate scale
- 0 0 1 5 -2 roll arc tMatrix setmatrix stroke} bdef
-/PA {newpath tMatrix currentmatrix pop translate 0 0 moveto
-scale
- 0 0 1 5 -2 roll arc closepath tMatrix setmatrix fill} bdef
-/FAn {newpath tMatrix currentmatrix pop translate scale
- 0 0 1 5 -2 roll arcn tMatrix setmatrix stroke} bdef
-/PAn {newpath tMatrix currentmatrix pop translate 0 0 moveto scale
- 0 0 1 5 -2 roll arcn closepath tMatrix setmatrix fill} bdef
-/vradius 0 def /hradius 0 def /lry 0 def /lrx 0 def /uly 0 def
-/ulx 0 def /rad 0 def /MRR {/vradius xdef /hradius xdef /lry xdef
-/lrx xdef /uly xdef
- /ulx xdef newpath tMatrix currentmatrix pop ulx hradius add uly
- vradius add translate hradius vradius scale 0 0 1 180 270 arc
- tMatrix setmatrix lrx hradius sub uly vradius add translate
- hradius vradius scale 0 0 1 270 360 arc tMatrix setmatrix
- lrx hradius sub lry vradius sub translate hradius vradius scale
- 0 0 1 0 90 arc tMatrix setmatrix ulx hradius add lry vradius sub
- translate hradius vradius scale 0 0 1 90 180 arc tMatrix setmatrix
- closepath} bdef
-/FRR {MRR stroke } bdef /PRR {MRR fill } bdef /MlrRR {/lry xdef
-/lrx xdef /uly xdef /ulx xdef /rad lry uly sub 2 div def
- newpath tMatrix currentmatrix pop ulx rad add uly rad add translate
- rad rad scale 0 0 1 90 270 arc tMatrix setmatrix lrx rad sub lry rad
- sub translate rad rad scale 0 0 1 270 90 arc tMatrix setmatrix
- closepath} bdef
-/FlrRR {MlrRR stroke } bdef /PlrRR {MlrRR fill } bdef /MtbRR {/lry
-xdef /lrx xdef /uly xdef /ulx xdef /rad lrx ulx sub 2 div def
- newpath tMatrix currentmatrix pop ulx rad add uly rad add translate
- rad rad scale 0 0 1 180 360 arc tMatrix setmatrix lrx rad sub lry rad
- sub translate rad rad scale 0 0 1 0 180 arc tMatrix setmatrix
- closepath} bdef
-/FtbRR {MtbRR stroke } bdef /PtbRR {MtbRR fill } bdef /stri 6
-array def /dtri 6 array def /smat 6 array def /dmat 6 array def
-/tmat1 6 array def /tmat2 6 array def /dif 3 array def /asub
-{/ind2 exch def /ind1 exch def dup dup
- ind1 get exch ind2 get sub exch } bdef
-/tri_to_matrix {
- 2 0 asub 3 1 asub 4 0 asub 5 1 asub
- dup 0 get exch 1 get 7 -1 roll astore } bdef
-/compute_transform {
- dmat dtri tri_to_matrix tmat1 invertmatrix
- smat stri tri_to_matrix tmat2 concatmatrix } bdef
-/ds {stri astore pop} bdef /dt {dtri astore pop} bdef /db {2 copy
-/cols xdef /rows xdef mul dup 3 mul string
- currentfile
- 3 index 0 eq {/ASCIIHexDecode filter}
- {/ASCII85Decode filter 3 index 2 eq {/RunLengthDecode filter} if }
- ifelse exch readstring pop
- dup 0 3 index getinterval /rbmap xdef
- dup 2 index dup getinterval /gbmap xdef
- 1 index dup 2 mul exch getinterval /bbmap xdef pop pop}bdef
-/it {gs np dtri aload pop moveto lineto lineto cp c
- cols rows 8 compute_transform
- rbmap gbmap bbmap true 3 colorimage gr}bdef
-/il {newpath moveto lineto stroke}bdef currentdict end def
-%%EndProlog
-
-%%BeginSetup
-MathWorks begin
-
-0 cap
-
-end
-%%EndSetup
-
-%%Page: 1 1
-%%BeginPageSetup
-%%PageBoundingBox: 35 453 340 684
-MathWorks begin bpage
-%%EndPageSetup
-
-%%BeginObject: obj1
-bplot
-
-/dpi2point 12 def portraitMode 0336 8160 csm
-
- 89 -48 3658 2771 rc
-85 dict begin %Colortable dictionary
-/c0 { 0 0 0 sr} bdef /c1 { 1 1 1 sr} bdef /c2 { 1 0 0 sr} bdef /c3
-{ 0 1 0 sr} bdef /c4 { 0 0 1 sr} bdef /c5 { 1 1 0 sr} bdef /c6 { 1
-0 1 sr} bdef /c7 { 0 1 1 sr} bdef c0 1 j 1 sg
- 0 0 4086 2724 rf
-6 w 0 2219 3166 0 0 -2219 531 2423 4 MP PP -3166 0 0 2219 3166 0 0
--2219 531 2423 5 MP stroke 4 w DO SO 6 w 0 sg
- 531 204 mt 3697 204 L
- 531 2423 mt 3697 2423 L
-3697 2423 mt 3697 204 L
- 531 2423 mt 531 204 L
- 531 2423 mt 3697 2423 L
- 531 2423 mt 531 204 L
- 531 2423 mt 531 2391 L
- 531 204 mt 531 235 L
-%%IncludeResource: font Helvetica
-/Helvetica /WindowsLatin1Encoding 120 FMSR
-
- 498 2568 mt
-(0) s 1034 2423 mt 1034 2391 L 1034 204 mt 1034 235 L 1001 2568
-mt (1) s 1538 2423 mt 1538 2391 L 1538 204 mt 1538 235 L 1505
-2568 mt (2) s 2042 2423 mt 2042 2391 L 2042 204 mt 2042 235 L
-2009 2568 mt (3) s 2546 2423 mt 2546 2391 L 2546 204 mt 2546 235
-L 2513 2568 mt (4) s 3050 2423 mt 3050 2391 L 3050 204 mt 3050
-235 L 3017 2568 mt (5) s 3554 2423 mt 3554 2391 L 3554 204 mt
-3554 235 L 3521 2568 mt (6) s
- 531 2423 mt 562 2423 L
-3697 2423 mt 3665 2423 L
- 360 2467 mt
-(-1) s
- 531 1868 mt 562 1868 L
-3697 1868 mt 3665 1868 L
- 260 1912 mt
-(-0.5) s
- 531 1313 mt 562 1313 L
-3697 1313 mt 3665 1313 L
- 430 1357 mt
-(0) s
- 531 758 mt 562 758 L
-3697 758 mt 3665 758 L
- 330 802 mt
-(0.5) s
- 531 204 mt 562 204 L
-3697 204 mt 3665 204 L
- 430 248 mt
-(1) s
- 531 204 mt 3697 204 L
- 531 2423 mt 3697 2423 L
-3697 2423 mt 3697 204 L
- 531 2423 mt 531 204 L
-gs 531 204 3167 2220 rc /c8 { 0.000000 0.000000 1.000000 sr} bdef
-c8 57 -125 51 -110 51 -108 50 -104 26 -50 50 -97 26 -47 25 -45 25
--42 26 -42 25 -39 25 -37 26 -35 25 -33 25 -30 26 -28 25 -26 25 -23
-26 -21 25 -17 25 -16 26 -12 25 -10 25 -7 26 -4 25 -2 25 2 26 4 25
-7 25 10 26 12 25 16 25 17 26 21 25 23 25 26 26 28 25 30 25 33 26
-35 25 37 25 39 26 42 25 42 25 45 26 47 25 47 25 50 26 50 50 104 26
-54 50 109 101 222 51 111 51 109 25 54 25 53 26 52 25 51 25 50 26
-49 25 47 25 45 26 44 25 42 25 40 26 39 25 36 25 34 13 16 25 30 13
-15 25 26 13 13 25 23 13 11 25 19 13 8 25 16 13 6 25 11 13 5 25 7
-13 2 25 3 13 0 25 -1 13 -2 25 -5 13 -4 25 -10 13 -6 25 -14 13 -8
-25 -17 13 -10 25 -22 13 -12 25 -26 13 -13 25 -30 13 -15 25 -33 13
--17 25 -36 13 -19 25 -39 13 -21 25 -42 13 -21 25 -45 13 -23 25 -47
-13 -24 25 -50 13 -25 25 -51 13 -26 25 -52 13 -27 25 -54 13 -27 25
--55 13 -27 13 -28 12 -28 13 -27 13 -28 12 -28 6 -14 531 1313 131
-MP stroke gr
-
-c8 0 sg 2073 2711 mt (A) s
- 205 1354 mt -90 rotate
-(B) s 90 rotate 2056 109 mt (W) s
-
-end
-
-eplot
-%%EndObject
-
-epage end
-
-showpage
-
-%%Trailer
-%%EOF
diff --git a/Master/texmf-dist/doc/latex/psfragx/example.ovp b/Master/texmf-dist/doc/latex/psfragx/example.ovp
deleted file mode 100644
index a5ada8c3992..00000000000
--- a/Master/texmf-dist/doc/latex/psfragx/example.ovp
+++ /dev/null
@@ -1,17 +0,0 @@
-\ignorespaces
-\onlylanguage{english}
-\put(0,0){(0,0)}
-\put(20,20){(20,20)}
-\put(30,30){(30,30)}
-\put(100,0){(100,0)}
-\endonlylanguage
-\iflanguage{french}{\put(0,70){(0;70)}}{\put(0,70){(0,70)}}
-
-%%% French variations of the legends
-
-\onlylanguage{french}
-\put(0,0){(0;0)}
-\put(20,20){(20;20)}
-\put(30,30){(30;30)}
-\put(100,0){(100;0)}
-\endonlylanguage
diff --git a/Master/texmf-dist/doc/latex/psfragx/example.pfx b/Master/texmf-dist/doc/latex/psfragx/example.pfx
deleted file mode 100644
index 312eaf750f3..00000000000
--- a/Master/texmf-dist/doc/latex/psfragx/example.pfx
+++ /dev/null
@@ -1,20 +0,0 @@
-\ignorespaces
-%% This is just a comment line
-
-%%% Default legends
-
-\psfrag{A}{$A_{\mbox{en}}$}
-\psfrag{B}[][][1][180]{B}
-
-%%% French variations of the legends
-
-\onlylanguage{french}
-\psfrag{A}{$A_{\mbox{fr}}$}
-\psfrag{B}[][][1][180]{\textcolor{red}{B}}
-\endonlylanguage
-
-%%% Alternative syntax.
-
-\iflanguage{french}
- {\psfrag{W}{Titre}}
- {\psfrag{W}{Title}}
diff --git a/Master/texmf-dist/doc/latex/psfragx/example.tex b/Master/texmf-dist/doc/latex/psfragx/example.tex
deleted file mode 100644
index aaf7fa7f56a..00000000000
--- a/Master/texmf-dist/doc/latex/psfragx/example.tex
+++ /dev/null
@@ -1,73 +0,0 @@
-%% LaTeX2e file `example.tex'
-%% generated by the `filecontents' environment
-%% from source `psfragx_example' on 2005/02/14.
-%%
-\documentclass[a4paper,10pt]{article}
-\usepackage[T1]{fontenc}
-\usepackage[ansinew]{inputenc}
-\usepackage[sub,ovp]{psfragx}
-\usepackage{overpic,color}
-\usepackage{verbatim}
-\usepackage[francais,english]{babel}
-
-\pagestyle{empty}
-
-\begin{document}
-\section*{Test of psfragx}
-
-\includegraphicx[width=0.4\linewidth,overwritepfx,overwriteovp]{example.eps}
-\hfill
-\includegraphicx[width=0.4\linewidth,pfx=false,ovp=false]{example.eps}
-
-\section*{We switch to french...}
-\selectlanguage{french}
-
-\vspace{\stretch{1}}\par
-
-\begin{overpic}[height=0.35\textheight]{example.eps}
-\put(10,10){(10,10)}
-\put(25,25){(25,25)}
-\end{overpic}
-
-\vspace{\stretch{1}}\par
-
-Entre les deux graphiques qui suivent, nous revenons à
-l'anglais.\\ [2cm]
-
-
-
-\noindent
-\includegraphics[width=0.4\linewidth]%
- (\psfrag{W}[][][1][60]{\textcolor{red}{W}})
- <\put(40,40){\fcolorbox{red}{red}{\textcolor{white}{Avant}}}
- \put(50,50){\fcolorbox{red}{red}{\textcolor{white}{Avant}}}
- \put(25,20){\fcolorbox{red}{red}{\textcolor{white}{Avant}}}>
- [\put(40,45){\fcolorbox{blue}{blue}{\textcolor{yellow}{Fond}}}
- \put(25,30){\fcolorbox{blue}{blue}{\textcolor{yellow}{Fond}}}
- \put(60,50){\fcolorbox{blue}{blue}{\textcolor{yellow}{Fond}}}
- \put(50,10){\resizebox{3cm}{3cm}{\includegraphicx[ovp=false]{example.eps}}}
- \put(65,45){\resizebox{2cm}{2cm}{\includegraphicx[ovp=true]{example.eps}}}]
- {example.eps}%
-\hfill \selectlanguage{english}%
-\mbox{%
-\begin{overpix}[width=0.4\linewidth]%
- <\put(40,40){\fcolorbox{red}{red}{\textcolor{white}{Avant}}}
- \put(50,50){\fcolorbox{red}{red}{\textcolor{white}{Avant}}}
- \put(25,20){\fcolorbox{red}{red}{\textcolor{white}{Avant}}}>
- [\put(40,45){\fcolorbox{blue}{blue}{\textcolor{yellow}{Fond}}}
- \put(25,30){\fcolorbox{blue}{blue}{\textcolor{yellow}{Fond}}}
- \put(60,50){\fcolorbox{blue}{blue}{\textcolor{yellow}{Fond}}}]
- {example.eps}
- \put(50,55){\fcolorbox{green}{green}{\textcolor{white}{Milieu}}}
-\end{overpix}
-}
-
-You can notice that automatic inclusion of picture elements is
-possible even when the graphic is itself embedded into another
-overpic environment.
-
-\section*{Source code}
-\footnotesize
-\verbatiminput{example.tex}
-
-\end{document}
diff --git a/Master/texmf-dist/doc/latex/psfragx/psfragx.m b/Master/texmf-dist/doc/latex/psfragx/psfragx.m
index c61488279a2..25b3a51ba38 100644
--- a/Master/texmf-dist/doc/latex/psfragx/psfragx.m
+++ b/Master/texmf-dist/doc/latex/psfragx/psfragx.m
@@ -1,3 +1,16 @@
+% psfragx.m %%% [-*- Matlab -*-]
+%
+% function psfragx(NomTeX,NomEPS)
+% nargin=1 -> NomTeX=NomEPS
+%
+% Copy lines of NomTeX.tex
+% starting with
+% \psfrag
+% and
+% %<pfx>
+% to the file NomEPS.eps, as a comment following the
+% %%BoundigBox
+% line.
function psfragx(TeXname,EPSname,Outname)
TMPname='psfragx_tmp';
diff --git a/Master/texmf-dist/doc/latex/psfragx/readme.txt b/Master/texmf-dist/doc/latex/psfragx/readme.txt
new file mode 100644
index 00000000000..e0d4c6c2c5c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/psfragx/readme.txt
@@ -0,0 +1,9 @@
+To install psfragx, you only need psfragx.dtx.
+More instructions can be found at the beginning of psfragx.dtx.
+
+Examples are provided into the Example directory.
+
+The documentation, package file, configuration file and output of the example
+can be found into the Pre-Compiled-Files directory. Some of these files are
+compressed using gzip.
+
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 8418b4fbc99..7b7f6128c78 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -146,7 +146,7 @@ my @WorkingTLP = qw(
poemscol polski polynom polynomial polytable powerdot ppr-prv
pracjourn preprint
prettyref preview proba probsoln procIAGssymp program protex protocol
- pseudocode psfrag psfrag-italian psnfss pspicture
+ pseudocode psfrag psfragx psfrag-italian psnfss pspicture
pst-2dplot pst-3d pst-3dplot pst-asr pst-bar
pst-barcode pst-blur pst-circ pst-cox pst-dbicons pst-diffraction
pst-eps pst-eucl pst-fill