diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/psfragx/psfragx.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/psfragx/psfragx.dtx | 54 |
1 files changed, 36 insertions, 18 deletions
diff --git a/Master/texmf-dist/source/latex/psfragx/psfragx.dtx b/Master/texmf-dist/source/latex/psfragx/psfragx.dtx index 3a01ae353b8..ba44e145652 100644 --- a/Master/texmf-dist/source/latex/psfragx/psfragx.dtx +++ b/Master/texmf-dist/source/latex/psfragx/psfragx.dtx @@ -9,7 +9,7 @@ % % % -% Copyright 2003, Pascal Kockaert +% Copyright 2003-2012, Pascal Kockaert % This file is distributed under the LPPL license. % (see http://www.latex-project.org/lppl.txt for details) % @@ -53,7 +53,7 @@ This file describes how to install the package. All you need is the file psfragx.dtx. If the file psfragx.ins does not exist, run LaTeX on the file psfragx.dtx. This should -generated the file psfragx.ins. +generate the file psfragx.ins. Run LaTeX on the file psfragx.ins. This generates all the files of the package. The documentation will be generated if you run LaTeX @@ -92,7 +92,7 @@ Pascal Kockaert % driver files from the doc files in this package when run through % LaTeX or TeX. % -% Copyright (C) 2003,2004 Pascal Kockaert +% Copyright (C) 2003-2012 Pascal Kockaert % Pascal.Kockaert ad ulb.ac.be % Note that ''ad´´ is often replaced by the ligature: ''@´´. % ---------------------------------------------------------- @@ -118,7 +118,7 @@ Pascal Kockaert This is a generated file. -Copyright (C) 2003, 2004 Pascal Kockaert +Copyright (C) 2003-2012 Pascal Kockaert Pascal.Kockaert ad ulb.ac.be Note that ''ad´´ is often replaced by the ''@´´ sign. ---------------------------------------------------------- @@ -171,7 +171,7 @@ version 1999/12/01 or later. %<*version> % %\fi % \ProvidesFile{psfragx.dtx} - [2004/12/10 v1.0 psfragx (Pascal Kockaert)] + [2012/05/02 v1.1 psfragx (Pascal Kockaert)] % % \iffalse %</version> %<*gobble> @@ -1450,19 +1450,31 @@ version 1999/12/01 or later. % % \begin{macrocode} %<*matlab> -% 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. +%% psfragx.m [2012/05/02 v0.4 Pascal Kockaert] +%% +%% function psfragx(TeXname,EPSname,Outname) +%% nargin=1 -> EPSname=TeXname +%% nargin=2 -> Outname=EPSname +%% +%% Interleaves lines of TeXname.tex and EPSname.eps +%% so that all the lines of EPSname.eps are copied in Outname.tex and +%% lines from TeXname.tex starting with +%% \psfrag +%% and +%% %<pfx> +%% are written in Outname.eps, as a comment following the +%% %%BoundigBox +%% line. + +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This file is currently maintained by Pascal Kockaert function psfragx(TeXname,EPSname,Outname) TMPname='psfragx_tmp'; @@ -1477,6 +1489,12 @@ TeXName=([TeXname,'.tex']); EPSName=([EPSname,'.eps']); OutName=([Outname,'.eps']); +%% Uncomment for debugging purposes +%% eval(['ls ',TeXName]) +%% eval(['ls ',EPSName]) +%% eval(['ls ',OutName]) + + BeginInput ='%%BoundingBox:'; BeginPSFRAG='%<pfx>\pfxbegin[1.0]{laprint}%'; EndPSFRAG ='%<pfx>\pfxend'; |