Re: [SLUG] LaTeX and Linux question.

2002-01-16 Thread Grant Parnell

On Wed, 16 Jan 2002, Bill Bennett wrote:

> I have a LaTeX programme that uses a lot of .eps files.
> 
> So many that I keep them gzipped in a separate directory.
> 
> I've seen somewhere (now forgotten) of a command that says, in
> essence,
> 
> "go to the .eps directory
> gunzip filename.eps
> use the unzipped file in the epsfig command in the LaTeX programme
> gzip filename.eps"
> 
> Please excuse the primitive explanation. Does anyone know of this
> command?

It's hard to say, because of the primitive explanation, but maybe zcat 
will help. I.E. where you specify filename you could put
"zcat filename|"

I've used this trick in input boxes of a few applications with limited 
success. EG if it's a text editor you can't save back to the file.

-- 
-- 
Web: www.arcadia.au.com/gripz 
Phone/fax: 02 4950 1194   
Mobile: 0408 686 201

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] LaTeX and Linux question.

2002-01-15 Thread Michael Lake

Bill Bennett wrote:
> I have a LaTeX programme that uses a lot of .eps files.
> So many that I keep them gzipped in a separate directory.
> I've seen somewhere (now forgotten) of a command that says, in
> essence,
> 
> "go to the .eps directory
> gunzip filename.eps
> use the unzipped file in the epsfig command in the LaTeX programme
> gzip filename.eps"
> 
> Please excuse the primitive explanation. Does anyone know of this
> command?

LATEX@dd: Hints
http://www.dd.chalmers.se/latex/tips_e.html

It's the first hint. I have copied it here:
> Using compressed eps figures in a document
> If you have a large picture that takes up a lot of space on your account, 
> you can compress it using gzip and then include it in your document. 
> If you have a picture called pic.eps, you do like this:
> Copy the row in pic.eps that begins with %%BoundingBox to a new file 
> called pic.eps.bb. Then compess the picture using the gzip command:
> gzip pic.eps
> Include the picture in your LATEX document like this: 
> 
> \begin{figure}[!ht]
> \centering
> \includegraphics[width=10cm]{pic.eps.gz}
> \caption{A compressed picture.}
> \end{figure}

Best wishes
Mike
-- 

Michael Lake
University of Technology, Sydney
Email: mailto:[EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Linux enthusiast, active caver and interested in anything technical.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



[SLUG] LaTeX and Linux question.

2002-01-15 Thread Bill Bennett

I have a LaTeX programme that uses a lot of .eps files.

So many that I keep them gzipped in a separate directory.

I've seen somewhere (now forgotten) of a command that says, in
essence,

"go to the .eps directory
gunzip filename.eps
use the unzipped file in the epsfig command in the LaTeX programme
gzip filename.eps"

Please excuse the primitive explanation. Does anyone know of this
command?

Regards,

Bill Bennett.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug