Merge PostScript files

Include a bash function in your .bashrc as

psjoin()
{
gs -dNOPAUSE -sDEVICE=pswrite -sOutputFile=out.ps $@ -c quit

echo Output saved as out.ps
}

To use in bash:
> psjoin myFigs*.eps myPS*.ps

Also, I’ve just discovered a latex() function in MATLAB which returns latex code for any symbolic expression.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: