Hello Andrea,

On 06.04.07, Andrea Valle wrote:
> I'm struggling with a classic problem, but I wasn't able to solve it  
> looking at mailing list archive nor faq.

This is really a classic problem. I think we should include a function
somewhere, like "testalltexissues" which automatically retrieves more
information about the TeX installation and would help users to give us
the necessary information what went wrong.

I attach a testfile. Please run it and send the output back to me. The
scripts tests, under which "format" your TeX installation tries to
find "psfonts.map"

Michael.

> andrea-valles-computer:~ andreavalle$ kpsewhich psfonts.map
> /usr/local/texlive/2007/texmf-var/fonts/map/dvips/updmap/psfonts.map

from pyx import pykpathsea

allformats = [
    pykpathsea.kpse_gf_format,
    pykpathsea.kpse_pk_format,
    pykpathsea.kpse_any_glyph_format,
    pykpathsea.kpse_tfm_format,
    pykpathsea.kpse_afm_format,
    pykpathsea.kpse_base_format,
    pykpathsea.kpse_bib_format,
    pykpathsea.kpse_bst_format,
    pykpathsea.kpse_cnf_format,
    pykpathsea.kpse_db_format,
    pykpathsea.kpse_fmt_format,
    pykpathsea.kpse_fontmap_format,
    pykpathsea.kpse_mem_format,
    pykpathsea.kpse_mf_format,
    pykpathsea.kpse_mfpool_format,
    pykpathsea.kpse_mft_format,
    pykpathsea.kpse_mp_format,
    pykpathsea.kpse_mppool_format,
    pykpathsea.kpse_mpsupport_format,
    pykpathsea.kpse_ocp_format,
    pykpathsea.kpse_ofm_format,
    pykpathsea.kpse_opl_format,
    pykpathsea.kpse_otp_format,
    pykpathsea.kpse_ovf_format,
    pykpathsea.kpse_ovp_format,
    pykpathsea.kpse_pict_format,
    pykpathsea.kpse_tex_format,
    pykpathsea.kpse_texdoc_format,
    pykpathsea.kpse_texpool_format,
    pykpathsea.kpse_texsource_format,
    pykpathsea.kpse_tex_ps_header_format,
    pykpathsea.kpse_troff_font_format,
    pykpathsea.kpse_type1_format,
    pykpathsea.kpse_vf_format,
    pykpathsea.kpse_dvips_config_format,
    pykpathsea.kpse_ist_format,
    pykpathsea.kpse_truetype_format,
    pykpathsea.kpse_type42_format,
    pykpathsea.kpse_web2c_format,
    pykpathsea.kpse_program_text_format,
    pykpathsea.kpse_program_binary_format,
    pykpathsea.kpse_miscfonts_format,
    pykpathsea.kpse_web_format,
    pykpathsea.kpse_cweb_format]

filename = "psfonts.map"
for format in allformats:
    mappath = pykpathsea.find_file(filename, format)
    if mappath:
        print "\"%24s\": %s" % (format, mappath)
    else:
        print "\"%24s\": ----" % format


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to