[tex-live] Question about importing images into TeX/LaTeX documents...

Giuseppe Greco giuseppe.greco@bluewin.ch
22 Jan 2003 01:29:34 +0100


Hi Nelson,

I modified your script for generating PS/PDF output
using outline fonts... but it does not function.

Could you tell me what I'm missing (see the attached
file)?

Thanks,

-- 
Giuseppe Greco
Strada Regina 40
6928 Manno (TI)
Switzerland

Phone : +41 (0) 91 604 67 65
Mobile: +41 (0) 76 390 60 32
Email : giuseppe.greco@bluewin.ch


On Fri, 2003-01-03 at 17:03, Nelson H. F. Beebe wrote:
> >> Till now, I've bought the following two books:
> 
> I'll email you separately a response on that topic.
> 
> >> could you tell me how can I get my DVI driver to use outline
> >> fonts (e.g. Bluesky)?
> 
> I don't use TeXtures myself, or work on Macintosh or Windows
> platforms.
> 
> On UNIX, with dvips, or my own dvialw, the trick is to get the DVI
> driver to read a font mapping file that tells it that, e.g., cmr10 is
> a downloadable PostScript font file.  I don't use dvips very often,
> and its methods for doing this are somewhat version dependent.
> Locally, we supply two wrapper scripts that change environment
> variables to do the right thing.  Here they are:
> 
> % cat /usr/local/bin/dvips-type1
> #! /bin/sh
> # Run dvips using using Type 1 outline fonts, instead of bitmap fonts,
> # for each .dvi file listed on the command line.  Outline fonts make
> # the output PostScript file bigger, but have the advantage for some
> # PostScript previewers, and for distillation to PDF format, that the
> # quality is much better.
> #
> # Usage:
> #	dvips-type1 [-options] file(s)
> #
> # For details, try "man dvips".
> #
> # [05-Nov-1997]
> 
> # We want to use PostScript Type 1 outline fonts for the .ps (and
> # .pdf) files created in this directory.  The local file
> #	/usr/local/share/lib/tex/fonts/postscript/type1/psfonts.map
> # defines the mappings, and this prefix to DVIPSHEADERS= tells where
> # to find them.
> 
> DVIPSHEADERS=/usr/local/lib/tex/fonts/postscript/bluesky/pfb:/usr/local/lib/tex/fonts/mathtime:$DVIPSHEADERS
> DVIPSHEADERS=$DVIPSHEADERS:/usr/local/sys/Mathematica/Mathematica-3.0/SystemFiles/Fonts/Type1
> export DVIPSHEADERS
> 
> TEXCONFIG=.:/usr/local/share/lib/tex/fonts/postscript/type1:$TEXCONFIG
> export TEXCONFIG
> 
> TEXPKS=$TEXFONTS
> export TEXPKS
> 
> DVIPS=/usr/local/bin/dvips
> test -f $DVIPS || DVIPS=/usr/bin/dvips
> test -f $DVIPS || echo dvips not found
> test -f $DVIPS || exit 1
> 
> $DVIPS "$@"
> 
> 
> % cat /usr/local/bin/dvialw-type1
> #! /bin/sh
> # Run dvialw using using Type 1 outline fonts, instead of bitmap
> # fonts, for each .dvi file listed on the command line.  Outline fonts
> # make the output PostScript file bigger, but have the advantage for
> # some PostScript previewers, and for distillation to PDF format, that
> # the quality is much better.
> #
> # Usage:
> #	dvialw-type1 [-options] file(s)
> #
> # For details, try "man dvi".
> #
> # [05-Nov-1997]
> 
> # We want to use PostScript Type 1 outline fonts for the .ps (and
> # .pdf) files created in this directory.  The local file
> #	/usr/local/share/lib/tex/fonts/postscript/type1/psfonts.map
> # defines the mappings, and this prefix to TEXFONTS tells where to
> # find them.
> # 
> 
> TEXFONTS=/usr/local/lib/tex/fonts/postscript/bluesky/pfb:/usr/local/lib/tex/fonts/mathtime:$TEXFONTS
> export TEXFONTS
> # 
> TEXINPUTS=/usr/local/share/lib/tex/fonts/postscript/type1:$TEXINPUTS
> export TEXINPUTS
> 
> /usr/local/bin/dvialw "$@"
> 
> 
> 


--- StripMime Report -- processed MIME parts ---
multipart/mixed
  text/plain (text body -- kept)
  text/x-sh
---