[tlbuild] Custom-built xdvipdfmx cannot find pdftex.map on a basic-scheme TDS

Vadim Kantorov vadimkantorov at gmail.com
Fri Nov 13 08:48:26 CET 2020


Paul,

What is the contents of your “texmf.cnf” (especially TEXFONTMAPS value)?
Did you create it yourself?

I think my problem is that the default “texmf.cnf”’s TEXFONTMAPS does not
contain the “updmap” directory suffix for some reason.

Thanks,
Vadim

Le ven. 13 nov. 2020 à 09:56, Paul Vojta <vojta at math.berkeley.edu> a écrit :

> I too build my own custom texlive installation, with my own quirky
> settings.
>
> When I run KPATHSEA_DEBUG=32 xdvipdfmx -o example.pdf example.xdv
> the output relevant to kanjix.map is:
>
>    kdebug:kpse_find_file: searching for kanjix.map of type map (from
> texmf.cnf)
>    kdebug:start generic search(files=[kanjix.map], must_exist=0,
> find_all=0,
> path=.:/home/vojta/texmf/fonts/map/dvipdfmx//:!!/usr/local/texmf/fonts/map/dvipdfmx//:/home/vojta/texmf/fonts/map/pdftex//:!!/usr/local/texmf/fonts/map/pdftex//:/home/vojta/texmf/fonts/map/dvips//:!!/usr/local/texmf/fonts/map/dvips//:/home/vojta/texmf/fonts/map///:!!/usr/local/texmf/fonts/map///)
>    kdebug:  dir_list_search_list(files=[kanjix.map], find_all=0,
> casefold=no)
>    kdebug:  dir_list_search_list(files=[kanjix.map], find_all=0,
> casefold=yes)
>    kdebug:   casefold_readable_file(kanjix.map) in . => (nil)
>
>  kdebug:db:match(/usr/local/texmf/fonts/map/dvipdfmx/updmap/kanjix.map,/usr/local/texmf/fonts/map/dvipdfmx//)
> = 1
>    kdebug:returning from generic search([kanjix.map]) =>
> /usr/local/texmf/fonts/map/dvipdfmx/updmap/kanjix.map
>
> The search path it's using looks like it's coming from TEXFONTMAPS in
> texmf.cnf.
>
> Paul Vojta
>
>
> On Wed, Nov 11, 2020 at 04:50:45PM +0100, Vadim Kantorov wrote:
> > I built custom xetex and xdvipdfmx (texlive.sh) into "./build" and
> > installed a basic-scheme TexLive distro into "./texlive" with
> > install-tl (latex.sh). My machine does not have a system-wide TexLive
> > installation.
> >
> > Compiling (bug.sh) a dummy tex file produces warnings from xdvipdfmx:
> > xdvipdfmx:warning: Couldn't open font map file "pdftex.map".
> > xdvipdfmx:warning: Couldn't open font map file "kanjix.map".
> >
> > I am using "./texlive/texmf-dist/web2c/texmf.cnf" as my CNF file.
> >
> > It seems that the */updmap/*.map files
> > ("./texlive/texmf-var/fonts/map/pdftex/updmap/pdftex.map" and
> > "./texlive/texmf-var/fonts/map/dvipdfmx/updmap/kanjix.map") are not
> > referred to by this CNF file and thus are not found by xdvipdfmx or
> > kpsewhich.
> >
> > I would be very grateful if you could advise if this is my error or a
> > TexLive installer issue.
> >
> > A full repro of all installation scripts (texlive.sh, latex.sh,
> > bug.sh) and error messages:
> > https://gist.github.com/vadimkantorov/cb638c61afc2fb4526d05e6c4c3b48b6
> >
> > (This exercice is part of my yet-another-latex-in-browser attempt. A
> > Chrome-working version of xetex+bibtex8+xdvipdfmx is available at
> > https://vadimkantorov.github.io/busytext/busytex.html)
> >
> > Thank you!
> > --
> > Vadim Kantorov
>
-- 
Vadim Kantorov
+33 6 03 29 27 69
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tlbuild/attachments/20201113/a98410ad/attachment.html>


More information about the tlbuild mailing list.