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

latex and memory related



Hi,
	I drew a simple box in xfig and used it to generated a latex file.

	The file looks like this:

	\documentclass{article}
	\begin{document}

	\setlength{\unitlength}{4144sp}%
	%
	\begingroup\makeatletter\ifx\SetFigFont\undefined%
	\gdef\SetFigFont#1#2#3#4#5{%
	  \reset@font\fontsize{#1}{#2pt}%
	    \fontfamily{#3}\fontseries{#4}\fontshape{#5}%
	      \selectfont}%
	      \fi\endgroup%
	      \begin{picture}(3804,2679)(2104,-5338)
	      \thinlines
	      \special{ps: gsave 0 0 0 setrgbcolor}\put(2116,-5326){\framebox(3780,2655){}}
	      \special{ps: gsave 0 0 0 setrgbcolor}\put(3331,-4786){\framebox(1395,1620){}}
	      \end{picture}

	\end{document}

	But, the latex command used about 70MB ram when it process the file, and the dvips used just about the same ram. See below:
	3916 shao      10   0 85788  83M   580 R       0 93.3 66.7   3:13 dvips

	Is this normal?? What is the recommanded way to export the stuff from xfig to latex??

	Thanks.
Shao.

-- 
____________________________________________________________________________
Shao Zhang - Running Debian 2.1  ___ _               _____
Department of Communications    / __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia               |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: shao@cia.com.au                                                  |___/ 
_____________________________________________________________________________


Reply to: