Re: Another newbie

Laurent Jacques <[email protected]>
Newsgroups gmane.comp.tex.latex.prosper.user
Organization UCL/FYMA
Message-ID <[email protected]>
On Monday 05 January 2004 22:34, James Frye wrote:
| But I don't understand this one.  These are vector images now, not
| bitmaps.  They're ink on paper, so there is no background color - or
| rather, the "background color" would be whatever the color was of the
| paper in the printer, if I was actually printing hard copies.  What I need
| is something that would clear the box that the includegraphics command
| makes for the image, then put the graphic on top of it.

If I remember correctly, you have to change some lines by editing manually the 
eps file. In fact, there is somewhere an instruction which says "white" is 
the background to delete.

OK. With some search, I found this
from http://www.mit.bme.hu/~markus/latex/prosper/demo.pdf or
http://wikiprosper.tuxfamily.org/index.php?pagename=ProsperDemonstration
<snip>
1°) Open the printed eps-file in a text editor;
2°) Search for the following line:
	12 dict begin %Colortable dictionary
(or part of it, like Colortable);
3°) under 8 lines of color definitions, you can see the
following two or three lines:
c0  ->   this selects black color;

something  ->  if your background color is not black,
                   this line sets up the background color;
                  
-1 -1 n1 n2 rf  -> where n1 and n2 are (usually
three-digit) numbers. 

4°) The last line (rf=rectfill) creates the box to be filled. If you uncomment 
this line using the %character, it results a nice transparent figure.
</snip>

Let me know if it works (cause I never tried this solution)

Laurent.





-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.