Re: lineno numbers not appearing after dvi->ps->pdf



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
.



Relevant Pages

  • Re: lineno numbers not appearing after dvi->ps->pdf
    ... dvips is much more peaky when the entries ... This will only help if the font map on CTAN is correct e.g. have ... If it doesn't work you will have to correct the font map manually. ... Then open the minion pro map and search for the entry of this pfb. ...
    (comp.text.tex)
  • Re: lineno numbers not appearing after dvi->ps->pdf
    ... with numbers on every 5th line in the dvi file, but none after the dvi is converted to ps and then pdf. ... sffamily paragraphs come out completely blank. ... I'm going to have to spend some time digesting the font map documentation before I understand enough to take another step. ...
    (comp.text.tex)
  • Re: Want to open internally-linked pdf files in separate browser w
    ... the author of the PDF files has to change the internal ... The bookmarks are variably expanded or collapsed. ... When such a map is opened, it is opened in the same window as the main ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Layering geocoded maps
    ... assortment of free PDF generators available) and Illustrator: ... First, set up the map views, ideally with contrasting representations of the ... Open the first PDF in Illustrator. ... In PowerPoint, Paste Special... ...
    (microsoft.public.powerpoint)
  • Re: The Sponsored Tube Map
    ... [Tower Gateway] ... Hehe, I agree that's good, but it wasn't in fitting with the way the ... rest of the map worked so I didn't seriously consider it. ... about 130KB larger than the PDF. ...
    (uk.transport.london)