Re: How can I instruct dvips to use outline fonts instead of theCM ones?
Or if you just want to do it for one file, not as the default for the full installation, just use the following flag to dvips: dvips -Ppdf myfile.dvi or maybe (depending on what fonts you use) dvips -Ppdf -G0 myfile.dvi /Mats Thomas Esser wrote: Could anybody tell me how to instruct dvips to use bluesky fonts instead of the standard Computer Modern fonts? The following works with standard teTeX-1.0. I don't know if this is different in RedHat's version... cd `kpsewhich -expand-var='$TEXMFMAIN'`/dvips/config vi updmap # or use a different editor # change type1_default=false -> type1_default=true ./updmap That's it. updmap is described in TETEXDOC, just texdoc TETEXDOC Thomas -- ===== Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =
Re: new dvips
Kalyan Mukherjea wrote: Hi Dmitri, Fromwhere did you download the files? Thomas had sent me the url: http://www.dbs.uni-hannover.de/~te/dvips5.92a/ On that page there are 3 links: to Thomas's web page (Parent directory) a dvips*.tar.gz file which contains the necessary run time files; and _dvips_ which is a binary compiled under SuSE linux 7.2. I downloaded the tar.gz file --- no hassle. But when I click on the link _dvips_ my netscape opens a new page which fills up with nonsense symbols typical of a binary file. I cannot get the binary file to download as a file. I am sure I am doing something very silly but what should I do? Maybe Dmitri could send me the url he went to. Apparently, the web server at that place doesn't realize that the file is a binary file and sets the incorrect MIME type text/plain. However, it should be possible to download it if you right click on the link and choose "Save link target as ...". /Mats
Re: A quick question
I'm not sure how much the answer below helped. Bey default, dvips is configured to send the resulting PS file directly to the printer using the command lpr. If you want a Postscript file, use 'dvips -o file.ps file.dvi'. If you always want this behaviour, you can run texconfig as root and change the default dvips output. /Mats Michael Hallgren wrote: Hi, Hi, dear: I am a fresh in tex, I had a problem with my dvips, when I try to run dvips it gave me this: This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com) ' TeX output 2002.10.04:1658' -> |lpr sh: lpr: not found . Means: can't find printer. You're attempting to print or save to file? Cheers mh Can you tell me what is wrong? Thanks. Regards, Shutian -- ===== Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~matsb =
Re: Bold in captions
Since this is a general LaTeX question, nothing specific for teTeX, you should not send it here but preferably to the news group comp.text.tex. Anyway, why not use an existing standard package to solve your problem: \usepackage[bf]{caption} To learn more about this package, run the command 'texdoc caption' /Mats > Hello tetex subscribers, > > I have modified standard class file to format the captions in bold. This is > fine and I can get it. But when the caption runs in two lines the > caption remains normal and the alignment also change to left can any > one solve the problem. Here i am giving the code: > > \long\def\@makecaption#1#2{% > \vskip\abovecaptionskip > \sbox\@tempboxa{{#1:} #2}% > \ifdim \wd\@tempboxa >\hsize > #1: #2\par > \else > \global \@minipagefalse > \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}% > \fi > \vskip\belowcaptionskip} > > > Janardhan > > > -- > Best regards, > Janardhan mailto:[EMAIL PROTECTED] >
Re: inverting ps/pdf
> ... or can one > convert ps to pdf? Xpdf has a pdftops utility but not vice-versa. Certainly, if you have Ghostscript installed on your computer you could use the ps2pdf program. If you want it to handle vector fonts (Type1 fonts) correctly, make sure you have a Ghostscript version not older than 6.0. /Mats
Re: Avoiding dvi files
> >To be truthful, I'd not even thought of pdf(la)tex. Yes, this may be a > >reasonable solution...expect that it produces pdf, not ps, files. I'm > >not sure, but I think that to print pdf files to my postscript printer > >they first would need to be converted to ps. I'm really not all that > > Have your sysadmin install something like magicfilter or apsfilter which > can automagically detect .dvi or .pdf and do the Right Thing(tm) to > generate postscript output. On my Debian installation at home, this works excellently out of the box. However, for .dvi files it doesn't work for documents with included graphics since the printer filter runs dvips in some tmp or spool directory where it doesn't find the .eps files. /Mats
Re: More texdoc requests
> On Fri, 8 Mar 2002, Mats Bengtsson wrote: > > > In addition to the feature requests for texdoc, > > I have one more request. Sometimes you want to > > printout some package documentation on paper. > > I'd like to see a texdoc option that invokes > > dvips on .dvi files to generate a postscript > > file, either storing it on file or sending it > > directly to a printer (or one option for each > > of these two possibilities). > [cut] > > I agree - this is useful, but we kind of have it already: > > > In the meantime, I'll have to live with an alias for > > dvips `kpsewhich --format='TeX system documentation' packagename.dvi` > > What about 'texdoc -l packagename'. You could make an alias > of the following form: > > dvips `texdoc -l packagename` -o It will fail on all packages where there are several matching files, for example 'multicol'. /Mats
More texdoc requests
In addition to the feature requests for texdoc, I have one more request. Sometimes you want to printout some package documentation on paper. I'd like to see a texdoc option that invokes dvips on .dvi files to generate a postscript file, either storing it on file or sending it directly to a printer (or one option for each of these two possibilities). Often, you may just want to print the first pages with the manual and the not the last pages with the annotated source code of the package. This can easily be handled by opening a postscript version of the document in gv/ghostview and selecting only the interesting pages. In the meantime, I'll have to live with an alias for dvips `kpsewhich --format='TeX system documentation' packagename.dvi` Regards /Mats
Re: Missing characters
> I have had better luck using pdftex than using tex and dvips. > AFAIK the only drawback is that if you want to include eps graphics, you > have to convert them to pdf or png first. And, you can't use psfrag or pstricks or ... /Mats
Re: pdf[la]tex problems with config
> Besides, "kpsewhich pdftex.cfg" yields nothing, while: Try "kpsewhich -progname=pdftex pdftex.cfg". In my teTeX 1.07 installation, kpsewhich won't find pdftex.cfg unless you specify the program name. Use the environment variable KPATHSEA_DEBUG to debug why pdftex doesn't find the file. Run info '(kpathsea)Debugging' to learn more. /Mats
Re: TeX/LaTeX Fonts
> David Lloyd <[EMAIL PROTECTED]> wrote: > > And the fonts are absolutely attrocious on screen. They're obviously > > bitmapped despite the fact that I have a default installation... > > This mailing list isn't for such questions... > Well, Your texmf/dvips/config/config.ps contains > %bsr.map > uncomment that line to use Type1 version of standard CM fonts. An alternative is to call dvips with the extra flag -Ppdf which, among other things, will give you Type1 versions of the cm fonts (if you used T1 encoding, you have to install CM-super or buy commercial fonts to get Type1). You can find this information in the teTeX documentation ('texdoc TETEXDOC'). I definitely find the question relevant on this list, the configuration of dvips is one of the aspects that differs between different TeX distributions, even though -Ppdf is common for several distributions. /Mats
Re: PS viewers.
> Hello, > > Thanks very much for all the feedback I got on PS viewers. > > In fact, only a week ago, I downloaded gv 3..5.8, managed to compile it and > it worked fine. I then had to upgrade my gs5.50 to gs6.50 to handle > computer modern type 1 fonts. Now, gv no longer works. It gives > "Postscript interpreter failed on main page". That's weird. I just tried the same gv 3.5.8 with both gs5.50 and gs6.50 and it works without any problems. Are you sure that you didn't compile in any full paths to gs in the gv binary? In State->Ghostscript options ..., it should just say Interpreter: gs /Mats
Re: forward/inverse search
> On Wed, May 02, 2001 at 10:11:20PM +0200, Joost Kremers wrote: > > hi all, > > > > i used to write my documents on win95 with miktex and winedt. miktex > > has the ability to put source specials in the dvi file, and yap > > (miktex's dvi previewer) and winedt are fully equipped to make use of > > this, so that you can perform forward and inverse searches on the > > latex and dvi files. > > I don't understand what you're saying. You seem to be talking about > editing, in which case has nothing to do with TeX/LaTeX or teTeX. The idea is that you could insert \special{...} commands that makes it possible to click in xdvi which points out the corresponding latex code line in emacs, via emacsclient. This seems to be supported in plain Xdvi version 22.36 or newer ftp://ftp.math.berkeley.edu/pub/Software/TeX/xdvi.tar.gz but not in xdvik which is the xdvi version included in teTeX. I've never used it myself and the only information I've been able to find is the instructions on how to enable this in combination with the music typesetting program Lilypond, http://lilypond.org/development/Documentation/user/out-www/lilypond/Point-and-click.html There's probably something in the source code distribution of xdvi as well. > > i always found this very useful, but i haven't been able to find out > > if teTeX provides the same functionality, and if so, whether i can use > > it from within emacs. so does it? and can i? /Mats
Re: pdflatex vs. latex | dvips | ps2pdf
> Thanks for the help on getting dvips to use type 1 fonts! > > It turns out that ps2pdf doesn't take advantage of those fonts. So I now use > Acrobat's Distiller, which does an excellent job in creating both small and > high quality pdf files. Which ghostscript version do you have installed (run 'gs -v')? As I said in an earlier mail, ps2pdf shipped with ghostscript 6.0 or later does a good job on Type1 fonts. /Mats
texdoc + Netscape
Hi, I just discovered that when texdoc finds an .html file, it tries to start a new Netscape, using the command 'netscape %s'. If you already have a netscape running, it would be better to load it in the already existing netscape session, using 'netscape -remote openURL\(%s\)'. However, this latter command doesn't start a new netscape if no one is running. Therefore, I suggest the following patch to texdoc, which first try to load the file in an existing netscape and otherwise starts a new one. I guess the similar problem exists also in xdvi. /Mats --- diff -u texdoc~ texdoc --- texdoc~Wed Sep 27 18:03:43 2000 +++ texdoc Mon Jan 22 18:52:55 2001 @@ -28,7 +28,7 @@ : ${TEXDOCVIEW_dvi='xdvi %s &'} : ${TEXDOCVIEW_pdf='acroread %s &'} : ${TEXDOCVIEW_ps='ghostview %s &'} -: ${TEXDOCVIEW_html='netscape %s &'} +: ${TEXDOCVIEW_html='netscape -remote openURL\(%s\) || netscape %s &'} : ${TEXDOCVIEW_txt="${PAGER-more} %s"} mode=viewer -
Re: biblist obsolete what else to use NonMember
> Hi texies! > > I was just at dante and found out that biblist is obsolete, but > what else should I use to produce a nice print of my whole database > without typing millions of times \nocite{mr.x:98}. Please send general TeX questions to the newsgroup comp.text.tex, this list is only intended for teTeX-specific questions. Anyway, try \nocite{*} /Mats
Installation on AFS
Hi, I'm trying to install teTeX 1.07 on our system which uses the AFS file system. The files seen by the users are mounted on a read-only volume /usr/local/vol/tetex/1.07 but when I install it, I have to access the read-write volume /afs/blabla//usr/local/vol/tetex/1.07 I remember that the solution was mentioned on this list some months ago but couldn't find it in the mailing list archives. I've managed to compile it with the correct read-only paths but when I try to install using make prefix=/afs/blabla//usr/local/vol/tetex/1.07 install strip it still tries to access the read-only directories Thanks in advance /Mats
Re: pdf - bounding box..
> > I am able to include images in pdf format (after some struggle). > Converting from postscript > to pdf messes up the bounding box; the pdf files have lots of white > space in them. How can > I get rid of this before including them for use in screen slides (I am > using pdfscreen). Please use this list only for teTeX specific questions. I think you will find the answer to your question in the pdfTeX FAQ, http://www.tug.org/applications/pdftex/pdfTeX-FAQ.pdf Otherwise, I recommend to send your question to the newsgroup comp.text.tex /Mats
Re: OT:Re: Powerpoint for tetex?
> - pstopdf keeps rotating the slides 90°, even if I used > dvips slide.dvi -o -t a4paper -t landscape > before and got normal orientation of the .ps (i.e. normal landscape with > ghostview, but upside-down with gv). Based on a search of old news group articles at Deja.com, I implemented the following small script, dvi2pdf which with the flag -landscape achieves what you want. You'll have to install the file landscape.ps somewhere below $TEXMF/dvips/. This solution does not work for files with a mixture of portrait and landscape pages, I don't know how/if that could be handled. Note that we run teTeX 0.9, so for teTeX 1.x, you should probably replace -Ptype1 with -Ppdf in the script. Unfortunately the Ghostscript 6.0 distribution includes a script dvipdf which will not give Type 1 fonts unless dvips is configured to always use them. Hope this helps /Mats #! /usr/bin/sh # # Convert a DVI file to PDF, using dvips and ps2pdf # # Mats Bengtsson, February 28, 2000 if [ $# -lt 1 -o $# -gt 3 ]; then echo "Usage: `basename $0` [-landscape] [.dvi] [.pdf]" exit 127 fi dvipsflag='' ps2pdfflag='' case $1 in -l*) dvipsflag="$dvipsflag -h landscape.ps" ps2pdfflag="$ps2pdfflag -g8420x5950" shift ;; -*) echo "Usage: `basename $0` [-landscape] [.dvi] [.pdf]" exit 127 ;; *) esac infile=$1; base=`basename ${infile} .dvi`; if [ $# -eq 1 ] then outfile=${base}.pdf else outfile=$2 fi tempfile=/tmp/dvipdf$$.ps trap 'rm -f "$tempfile" >/dev/null 2>&1' 0 trap "exit 2" 1 2 3 15 dvips $dvipsflag -Ptype1 -o $tempfile $infile ps2pdfwr $ps2pdfflag -dCompatibilityLevel=1.2 -sPAPERSIZE=a4 $tempfile $outfile # Warn if the PDF file contains bitmapped fonts if [ `grep -c Type3 $outfile` -gt 0 ]; then echo "\n\nWarning, PDF file contains bitmapped fonts," echo "remove '\usepackage[T1]{fontenc}', in your LaTeX file!\n" exit 127 fi landscape.ps