Re: lineno numbers not appearing after dvi->ps->pdf
- From: Alan Ristow <ristow@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 01 May 2007 18:55:48 -0400
anon k wrote:
Ulrike Fischer wrote:Am Tue, 01 May 2007 17:17:48 GMT schrieb anon k:
The example below contains enough text to get up to about 25 lines, with numbers on every 5th line in the dvi file, but none after the dvi is converted to ps and then pdf.
> Do you see the same with direct PDF generation?
PDFLaTeX gets it right but, because there's lots of PSTricks material code in the document, my understanding is that it's best to stick with dvips-Distiller route.
When a font works with pdflatex but not with dvips this is in most
case due to a faulty map. dvips is much more peaky when the entries
are wrong. As far as I can see (I don't have minion pro) the line
numbers use sans serif. Do you have problems with \sffamily in the
text?
Well spotted! That does replicate the problem. sffamily paragraphs come out completely blank.
I guess that I should try downloading the font maps again from CTAN.
This leads me to ask, though, how does one go about generating a font map? Does "initexmf --mkmaps" suffice with MikTeX?
That's part of it. First you have to put the font map in the right place (e.g., \localtexmf\fonts\map\dvips\foo.map). Then you have to add the map to updmap.cfg, which you can do by typing "initexmf --edit-config-file updmap" on the command line. In the window that pops open, type "Map" followed by the name of your map file (e.g., "Map foo.map"). Once you've done all that, THEN you run "initexmf --mkmaps".
I don't think I missed anything, but if it gives you trouble then refer to the MiKTeX docs, specifically a section called something like "Managing Font Maps".
Alan
.
- References:
- Re: lineno numbers not appearing after dvi->ps->pdf
- From: anon k
- Re: lineno numbers not appearing after dvi->ps->pdf
- From: Ulrike Fischer
- Re: lineno numbers not appearing after dvi->ps->pdf
- From: anon k
- Re: lineno numbers not appearing after dvi->ps->pdf
- Prev by Date: Re: lineno numbers not appearing after dvi->ps->pdf
- Next by Date: Re: hardcopy/bound latex sources
- Previous by thread: Re: lineno numbers not appearing after dvi->ps->pdf
- Next by thread: Re: lineno numbers not appearing after dvi->ps->pdf
- Index(es):
Relevant Pages
|