texlive pretest: updmap under Windows in an auxtree doesn't work

Reinhard Kotucha reinhard.kotucha at web.de
Thu Apr 18 22:48:19 CEST 2019


On 2019-04-18 at 18:22:04 +0200, Keks Dose wrote:

 > Hi!
 >
 > texlive 2019 pretest, Windows 8.1.
 >
 > I added an auxtree.
 >
 > ==================
 >
 > C:\Windows\system32>tlmgr conf auxtrees show
 > List of auxiliary texmf trees:
 >   C:/Users/aw/TEXMF-TREES/libertinetree
 >
 > ==================
 >
 > Auxtree contains the old libertine-legacy package.
 >
 > Now, I'd like to add the map file, path:
 >
 > C:/Users/aw/TEXMF-TREES/libertinetree/fonts/map/dvips/libertine-legacy/libertine.map
 >
 > Doesn't work:
 >
 > ==================
 >
 > Microsoft Windows [Version 6.3.9600]
 > (c) 2013 Microsoft Corporation. Alle Rechte vorbehalten.
 >
 > C:\Windows\system32>updmap-sys --enable Map="C:\Users\aw\TEXMF-TREES\libertinetr
 > ee\fonts\map\dvips\libertine-legacy\libertine.map"
 > updmap will read the following updmap.cfg files (in precedence order):
 >   c:/texlive/2019/texmf-config/web2c/updmap.cfg
 >   c:/texlive/2019/texmf-dist/web2c/updmap.cfg
 > updmap may write changes to the following updmap.cfg file:
 >   c:/texlive/2019/texmf-config/web2c/updmap.cfg
 > dvips output dir: "c:/texlive/2019/texmf-var/fonts/map/dvips/updmap"
 > pdftex output dir: "c:/texlive/2019/texmf-var/fonts/map/pdftex/updmap"
 > dvipdfmx output dir: "c:/texlive/2019/texmf-var/fonts/map/dvipdfmx/updmap"
 > Unrecognized escape \U passed through in regex; marked by <-- HERE in m//C:\U <-
 > - HERE sers\aw\TEXMF-TREES\libertinetree\fonts\map\dvips\libertine-legacy\libert
 > ine.map(\.map)?$/ at c:\texlive\2019\texmf-dist\scripts\texlive\updmap.pl line 2
 > 078.
 > Unrecognized escape \T passed through in regex; marked by <-- HERE in m//C:\User
 > s\aw\T <-- HERE EXMF-TREES\libertinetree\fonts\map\dvips\libertine-legacy\libert
 > ine.map(\.map)?$/ at c:\texlive\2019\texmf-dist\scripts\texlive\updmap.pl line 2
 > 078.
 > Unrecognized escape \l passed through in regex; marked by <-- HERE in m//C:\User
 > s\aw\TEXMF-TREES\l <-- HERE ibertinetree\fonts\map\dvips\libertine-legacy\libert
 > ine.map(\.map)?$/ at c:\texlive\2019\texmf-dist\scripts\texlive\updmap.pl line 2
 > 078.
 > Unrecognized escape \m passed through in regex; marked by <-- HERE in m//C:\User
 > s\aw\TEXMF-TREES\libertinetree\fonts\m <-- HERE ap\dvips\libertine-legacy\libert
 > ine.map(\.map)?$/ at c:\texlive\2019\texmf-dist\scripts\texlive\updmap.pl line 2
 > 078.
 > Unrecognized escape \l passed through in regex; marked by <-- HERE in m//C:\User
 > s\aw\TEXMF-TREES\libertinetree\fonts\map\dvips\l <-- HERE ibertine-legacy\libert
 > ine.map(\.map)?$/ at c:\texlive\2019\texmf-dist\scripts\texlive\updmap.pl line 2
 > 078.
 > Unrecognized escape \l passed through in regex; marked by <-- HERE in m//C:\User
 > s\aw\TEXMF-TREES\libertinetree\fonts\map\dvips\libertine-legacy\l <-- HERE ibert
 > ine.map(\.map)?$/ at c:\texlive\2019\texmf-dist\scripts\texlive\updmap.pl line 2
 > 078.
 > Unrecognized escape \U passed through in regex; marked by <-- HERE in m//c:\U <-
 > - HERE sers\aw\TEXMF-TREES\libertinetree\fonts\map\dvips\libertine-legacy\libert
 > ine.map(\.map)?$/ at c:\texlive\2019\texmf-dist\scripts\texlive\updmap.pl line 2
 > 078.
 > Unrecognized escape \T passed through in regex; marked by <-- HERE in m//c:\User
 > s\aw\T <-- HERE EXMF-TREES\libertinetree\fonts\map\dvips\libertine-legacy\libert
 > ine.map(\.map)?$/ at c:\texlive\2019\texmf-dist\scripts\texlive\updmap.pl line 2
 > 078.
 > Unrecognized escape \l passed through in regex; marked by <-- HERE in m//c:\User
 > s\aw\TEXMF-TREES\l <-- HERE ibertinetree\fonts\map\dvips\libertine-legacy\libert
 > ine.map(\.map)?$/ at c:\texlive\2019\texmf-dist\scripts\texlive\updmap.pl line 2
 > 078.
 > Unrecognized escape \m passed through in regex; marked by <-- HERE in m//c:\User
 > s\aw\TEXMF-TREES\libertinetree\fonts\m <-- HERE ap\dvips\libertine-legacy\libert
 > ine.map(\.map)?$/ at c:\texlive\2019\texmf-dist\scripts\texlive\updmap.pl line 2
 > 078.
 > Unrecognized escape \l passed through in regex; marked by <-- HERE in m//c:\User
 > s\aw\TEXMF-TREES\libertinetree\fonts\map\dvips\l <-- HERE ibertine-legacy\libert
 > ine.map(\.map)?$/ at c:\texlive\2019\texmf-dist\scripts\texlive\updmap.pl line 2
 > 078.
 > Unrecognized escape \l passed through in regex; marked by <-- HERE in m//c:\User
 > s\aw\TEXMF-TREES\libertinetree\fonts\map\dvips\libertine-legacy\l <-- HERE ibert
 > ine.map(\.map)?$/ at c:\texlive\2019\texmf-dist\scripts\texlive\updmap.pl line 2
 > 078.
 > updmap [ERROR]: The following map file(s) couldn't be found:
 > updmap [ERROR]:         C:\Users\aw\TEXMF-TREES\libertinetree\fonts\map\dvips\li
 > bertine-legacy\libertine.map (in c:/texlive/2019/texmf-config/web2c/updmap.cfg)
 > updmap [ERROR]:         c:\Users\aw\TEXMF-TREES\libertinetree\fonts\map\dvips\li
 > bertine-legacy\libertine.map (in c:/texlive/2019/texmf-config/web2c/updmap.cfg)
 > updmap [ERROR]: Did you run mktexlsr?
 >
 >         You can disable non-existent map entries using the option
 >           --syncwithtrees.
 >
 > C:\texlive\2019\bin\win32\runscript.tlu:902: command failed with exit code 1:
 > perl.exe c:\texlive\2019\texmf-dist\scripts\texlive\updmap.pl  --sys --enable Ma
 > p="C:\Users\aw\TEXMF-TREES\libertinetree\fonts\map\dvips\libertine-legacy\libert
 > ine.map"
 >
 > ===============================
 >
 > If I change directory to be in C:/Users/aw/TEXMF-TREES/libertinetree/fonts/map/dvips/libertine-legacy/
 > I get the same error after "updmap-sys --enable Map=libertine.map"
 >
 > And if I swap the "\" in the path for a "/", I get a different error:

Hi Alex,
first of all, it looks strange that C:\Windows\system32 is your
current working directory immediately after staring a command shell.
It should be C:\Users\aw by default.

There is no need to move to a particular directory in order to run
updmap-sys.  Unless you really need a non-standard directory for your
fonts, TeX Live will find all the files automatically.

So I suggest to install the fonts in c:\texlive\texmf-local, run
mktexlsr and then updmap-sys.

If you really need a separate tree for the fonts, this tree has to be
registered in c:\texlive\2019\texmf.cnf, what I don't recommend unless
there is a very good reason.

Also, the directory structure of texmf trees must be TDS compliant, so
omit the directory "libertinetree".  For most fonts on CTAN the .zip
files can be extracted directly in the root of a texmf tree.

Regards,
  Reinhard

--
------------------------------------------------------------------
Reinhard Kotucha                            Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                    mailto:reinhard.kotucha at web.de
------------------------------------------------------------------



More information about the tex-live mailing list