[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#147628: tetex-src: graphics should be able to include combined postscript/LaTeX files



Package: tetex-src
Version: 1.0.2+20011202-1
Severity: wishlist

Hi,

  I'm using intensively the combined postscript/LaTeX format of xfig and I
like the options (scale, rotate, width,...) of graphics. Being able to write
\includegraphics[width=3cm]{graph.pstex_t} is really much more convenient
than having to write \resizebox{3cm}{!}{\input{graph.pstex_t}}.
At first, I had written a crappy and rather long package using keyval to
define a command \includepstex close to \includegraphics but the following
"patch" seems to be much more efficient.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{color} % Required by most pstex_t files
\def\Ginclude@rawtex#1{%
 \message{<#1>}%
 \bgroup%
 \scalebox{\Gin@scalex}{\input{#1}}%
 \egroup}
\DeclareGraphicsRule{.pstex}{eps}{*}{}
\DeclareGraphicsRule{.pstex_t}{rawtex}{.pstex}{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Could you include this patch (or something that enable the inclusion of
.pstex_t files) in the graphics package (in the dvips driver by example) ?

Thanks in advance.

       Arnaud Legrand

-- System Information
Debian Release: 3.0
Kernel Version: Linux moby 2.4.18-accelerated #1 mer mar 20 11:58:35 CET 2002 i686 unknown



-- 
To UNSUBSCRIBE, email to debian-tetex-maint-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: