Fonts & Character SetsBickham font package installation: no such file or directory

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
fgyamauti
Posts: 6
Joined: Sun Dec 11, 2016 11:05 am

Bickham font package installation: no such file or directory

Post by fgyamauti »

Hi,

I'm having some issues regarding the installation of the package Bickham (https://www.ctan.org/pkg/bickham). I'm using the MacTeX-2016 distribution.

I also posted this question on tex.stackexchange (http://tex.stackexchange.com/questions/ ... stallation).

First of all, the installation of this font require (according to the package documentation, http://repositorios.cpai.unb.br/ctan/fo ... am-doc.pdf) the generation of pbf fonts by the commands:

cfftot1 BickhamScriptPro-Regular.otf -o BickhamScriptPro-Regular.pfb
cfftot1 BickhamScriptPro-Bold.otf -o BickhamScriptPro-Bold.pfb
cfftot1 BickhamScriptPro-Semibold.otf -o BickhamScriptPro-Semibold.pfb

However it gives me as output "No such file or directory".

Now, the second step is to make the usual installation procedure (as in http://tex.stackexchange.com/questions/ ... p-on-a-mac) . However the command:

sudo updmap-sys --enable Map=bickham.map

doesn't create any .map files. Maybe the second step depends on the first, which I could never conclude and this would explain the incorrect output.

Maybe a related question is http://tex.stackexchange.com/questions/ ... ng-bickham , however it just confused me more as the author of the answer have already warned in the beginning.

Thanks in advance.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
rais
Posts: 419
Joined: Sun Nov 16, 2014 8:51 pm

Bickham font package installation: no such file or directory

Post by rais »

fgyamauti wrote: First of all, the installation of this font require (according to the package documentation, http://repositorios.cpai.unb.br/ctan/fo ... am-doc.pdf) the generation of pbf fonts
Wrong.
The first thing you need is to acquire the actual font (those .otf files), see
bickham package README wrote: Nothing in this package is functional unless you acquire Bickham Script Pro-Regular, and, optionally, Bickham Script Pro-Semibold and Bickham Script Pro-Bold, and install them according to the documentation for this package.
Did you do that?

KR
Rainer
fgyamauti
Posts: 6
Joined: Sun Dec 11, 2016 11:05 am

Bickham installation

Post by fgyamauti »

Thanks for your reply.

I wasn't aware that .otf files where not included in the package.

I have, now, downloaded these .otf files. However I still get the same error : "No such file or directory"

I don't know in which folder I should put the .otf files in order to the the cfftot1 find them. I tried also putting these files inside Library/TeX/texbin/ and I've got the same error.

Regarding what I called the second step. After putting the bickham folder (the decompressed .zip file downloaded from CTAN) inside /usr/loca/texlive/texmf-local/, applying

sudo texhash

and

sudo updmap-sys --enable Map=bickham.map

, I've got:

updmap [WARNING]: resetting $HOME value (was /Users/fgyamauti) to root's actual home (/var/root).
updmap will read the following updmap.cfg files (in precedence order):
/usr/local/texlive/2016/texmf-config/web2c/updmap.cfg
/usr/local/texlive/2016/texmf-dist/web2c/updmap.cfg
updmap may write changes to the following updmap.cfg file:
/usr/local/texlive/2016/texmf-config/web2c/updmap.cfg
/usr/local/texlive/2016/texmf-config/web2c/updmap.cfg unchanged. Map files not recreated.
updmap: Updating ls-R files.

, which seems the incorrect output. However, as I understand, the second step shouldn't depend on the first (the .pbf files). So apparently there's something wrong.
rais
Posts: 419
Joined: Sun Nov 16, 2014 8:51 pm

Bickham font package installation: no such file or directory

Post by rais »

fgyamauti wrote: I don't know in which folder I should put the .otf files in order to the the cfftot1 find them.
cfftot1 looks in the current directory, AFAICS.
Say, your .otf files reside in /foo/bar/baz, but you're in /home/fgyamauti/blubb. Either copy those .otf files into /home/fgyamauti/blubb or change directory by using `cd /foo/bar/baz' prior attempting to run cfftot1.
fgyamauti wrote: Regarding what I called the second step.
Why go further at this stage? If I learned anything from working with LateX, it's to stop at the first error and (try to) fix it. Besides,
fgyamauti wrote: updmap [WARNING]: resetting $HOME value (was /Users/fgyamauti) to root's actual home (/var/root).
updmap will read the following updmap.cfg files (in precedence order):
/usr/local/texlive/2016/texmf-config/web2c/updmap.cfg
/usr/local/texlive/2016/texmf-dist/web2c/updmap.cfg
updmap may write changes to the following updmap.cfg file:
/usr/local/texlive/2016/texmf-config/web2c/updmap.cfg
/usr/local/texlive/2016/texmf-config/web2c/updmap.cfg unchanged. Map files not recreated.
updmap: Updating ls-R files.
may be the proper output: `unchanged. Map files not recreated.' may be the result because of your previous attempt to enable the same map file.

KR
Rainer
fgyamauti
Posts: 6
Joined: Sun Dec 11, 2016 11:05 am

Bickham font package installation: no such file or directory

Post by fgyamauti »

Thanks for the reply, I didn't know that the cfftot1 search inside the home folder. I could produce the .pbf files and I have renamed then according to the Berry scheme. After this I created the folders 'adobe' and 'bickham' and I have put everything inside /usr/local/texlive/texmf-local/fonts/type1/adobe/bickham .

Now, regarding the second step (the regular installation process that I described in my first reply), I could not produce any .map files again. I keep receiving the same output as I've already posted. You said that that `unchanged. Map files not recreated.' may be the correct output, however I could not use the bickham package. More precisely by running pdfLaTeX, I get the error "File 'bickham.sty' not found.".

Just to avoid trivial misunderstandings. When I download the package from CTAN, I get a folder and not a .zip file. I have put this folder (called "bickham") inside /urs/local/texlive/texmf-local/ and not the folders contained in 'bickham' itself. Is this the correct process?

Now, regarding the comment
may be the proper output: `unchanged. Map files not recreated.' may be the result because of your previous attempt to enable the same map file.
. Whenever I tried the process of installation, I always deleted the 'Is-R file' before and run 'sudo texhash' again (to produce another 'Is-R' file). I don't know if this changes anything, though.
fgyamauti
Posts: 6
Joined: Sun Dec 11, 2016 11:05 am

Bickham font package installation: no such file or directory

Post by fgyamauti »

Also to complement my last reply. I tried the full manual process of installation (instead of just adding a folder 'bickham' inside texmf-local as I've done before) as in http://tex.stackexchange.com/questions/ ... stallation . In this process, I made two tentatives: one including the .otf files (that are not inside the package downloaded from CTAN) and other not including them. Both resulted in the same output (the one I have already written in first reply) after trying to produce the .map file.

I also tried compiling a .tex document using the bickham package which resulted in a different error (probably because of the .map file):

Code: Select all

This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./bickham-doc.tex
LaTeX2e <2016/03/31> patch level 3
Babel <3.9r> and hyphenation patterns for 83 language(s) loaded.
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/size11.clo))
(/usr/local/texlive/2016/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/local/texlive/2016/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
(/usr/local/texlive/2016/texmf-dist/tex/latex/parskip/parskip.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-def/pdftex.def
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))
(/usr/local/texlive/texmf-local/tex/latex/bickham/bickham.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/local/texlive/2016/texmf-dist/tex/generic/xkeyval/xkvutils.tex))))
No file bickham-doc.aux.
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
(/usr/local/texlive/2016/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifluatex.sty))
(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/grfext.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))
(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/etexcmds.sty)))
(/usr/local/texlive/2016/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))

LaTeX Font Warning: Font shape `T1/pbq0/m/n' undefined
(Font)              using `T1/cmr/m/n' instead on input line 22.


LaTeX Font Warning: Font shape `T1/pbq0/m/n' in size <15> not available
(Font)              size <14.4> substituted on input line 22.

[1{/usr/local/texlive/2016/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/omscmr.fd)
Overfull \hbox (40.50981pt too wide) in paragraph at lines 77--77
 []\OT1/cmtt/m/n/10.95 rbickhamo-r BickhamScriptPro-Regular " -.4 SlantFont " <
BickhamScriptPro-Regular.pfb[] 

Overfull \hbox (6.01768pt too wide) in paragraph at lines 77--77
 []\OT1/cmtt/m/n/10.95 rbickhamo-b BickhamScriptPro-Bold " -.4 SlantFont " <Bic
khamScriptPro-Bold.pfb[] 

Overfull \hbox (52.00719pt too wide) in paragraph at lines 77--77
 []\OT1/cmtt/m/n/10.95 rbickhamo-s BickhamScriptPro-Semibold " -.4 SlantFont " 
<BickhamScriptPro-Semibold.pfb[] 
[2] (/usr/local/texlive/texmf-local/tex/latex/bickham/ubickham.fd) [3]
(./bickham-doc.aux)
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+437/600 --dpi 1037 rbickhamo-r
mktexpk: don't know how to create bitmap font for rbickhamo-r.
mktexpk: perhaps rbickhamo-r is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.


LaTeX Font Warning: Size substitutions with differences
(Font)              up to 0.6pt have occurred.


LaTeX Font Warning: Some font shapes were not available, defaults substituted.

 )
(see the transcript file for additional information)
!pdfTeX error: /Library/TeX/texbin/pdflatex (file rbickhamo-r): Font rbickhamo-
r at 1037 not found
 ==> Fatal error occurred, no output PDF file produced!
rais
Posts: 419
Joined: Sun Nov 16, 2014 8:51 pm

Bickham font package installation: no such file or directory

Post by rais »

fgyamauti wrote:I didn't know that the cfftot1 search inside the home folder.
only if you're currently in your home folder. Current directory isn't necessarily equal to $HOME...
fgyamauti wrote:I could produce the .pbf files
better call them .pfb files, not .pbf
fgyamauti wrote: and I have renamed then according to the Berry scheme.
Renamed? Not copied?
fgyamauti wrote: After this I created the folders 'adobe' and 'bickham' and I have put everything inside /usr/local/texlive/texmf-local/fonts/type1/adobe/bickham .
I don't know if it's handled the same way on a MAC, but I'd just say (from $TEXMFLOCAL)
mkdir -p fonts/type1/adobe/bickham
fgyamauti wrote: Now, regarding the second step (the regular installation process that I described in my first reply), I could not produce any .map files again.
Well, updmap-sys doesn't usually produce any new .map files, it's modifying existing ones.
fgyamauti wrote: I keep receiving the same output as I've already posted. You said that that `unchanged. Map files not recreated.' may be the correct output, however I could not use the bickham package.
Uhm, you could try to have a look into updmap's map file:

Code: Select all

grep bickham /usr/local/texlive/2016/texmf-var/fonts/map/pdftex/updmap/pdftex.map
If that produces any output, trying to enable the same map file again will give you the result described above.
fgyamauti wrote: Just to avoid trivial misunderstandings. When I download the package from CTAN, I get a folder and not a .zip file.
I don't understand. The bickham package is available as `bickham.tds.zip' from the first link you've given us to CTAN in the first post. If that's the package you downloaded, mayhap MAC does something for you here and decompresses it on the fly or something...
fgyamauti wrote: I have put this folder (called "bickham") inside /urs/local/texlive/texmf-local/ and not the folders contained in 'bickham' itself. Is this the correct process?
No, you need to keep everything TDS-compliant (.sty in ./tex/latex/<packagename>/, .afm in ./fonts/afm/[vendor/]<packagename>/ and so on and so forth)
fgyamauti wrote: Now, regarding the comment
may be the proper output: `unchanged. Map files not recreated.' may be the result because of your previous attempt to enable the same map file.
. Whenever I tried the process of installation, I always deleted the 'Is-R file' before and run 'sudo texhash' again (to produce another 'Is-R' file). I don't know if this changes anything, though.
It doesn't for those map files. You could try

Code: Select all

sudo updmap-sys --disable bickham.map
prior to (re)enabling it by

Code: Select all

sudo updmap-sys --enable Map=bickham.map
Perhaps it would be easier to just drop the .otf files in your .fonts folder, run fc-cache on it, and use xelatex or possibly lualatex from now on, instead of pdflatex.
However, should none of the above gives you a hint where you may have erred, here's what I did for testing bickham, I:
  • downloaded a free version of the bickham font---just the regular type---from fontzone
  • converted the .otf file to .pfb file with

    Code: Select all

    cfftot1 BickhamScriptPro-Regular.otf -o BickhamScriptPro-Regular.pfb
  • downloaded the bickham.tds.zip package
  • changed working/current directory to $TEXMFLOCAL by

    Code: Select all

    cd `kpsewhich -var-value TEXMFLOCAL`
    (this may not work if $TEXMFLOCAL contains more than one directory, but it looks like you've found it, already)
  • created a sub-folder fonts/type1/adobe/bickham by

    Code: Select all

    mkdir -p fonts/type1/adobe/bickham
  • copied the BickhamScriptPro-Bold.pfb file into this newly created folder
  • created a symlink called `pbqrw8a.pfb' in it, pointing to `BickhamScriptPro-Regular.pfb' in the same folder to satisfy anything using the Berry-scheme, so $TEXMFLOCAL/fonts/type1/adobe/bickham contains two files in my case: BickhamScriptPro-Regular.pfb and pbqrw8a.pfb, linked to the first
  • (back in $TEXMFLOCAL) unpacked the bickham.tds.zip file

    Code: Select all

    unzip ~/Downloads/bickham.tds.zip
  • updated the database

    Code: Select all

    texhash
  • ran

    Code: Select all

    updmap-sys --enable Map=bickham.map
  • and---finally---tried the outcome. To that end, I used a slightly modified version of cfr's answer, namely

    Code: Select all

    \documentclass{article}
    \usepackage[T1]{fontenc}
    \usepackage{bickham}
    \begin{document}
        abc $\mathcal{abc}$ abc
    \end{document}
What can I say? Worked like a charm :)

KR
Rainer
fgyamauti
Posts: 6
Joined: Sun Dec 11, 2016 11:05 am

Bickham font package installation: no such file or directory

Post by fgyamauti »

First of all, thanks for your patience. I was trying to avoid long replies, however since I think I may not be communicating properly, I will write everything with more details even if the text get longer.
better call them .pfb files, not .pbf
Whoops! I mistyped it.
Renamed? Not copied?
Let me restrict only to the file 'BickhamScriptPro-Regular.pfb' for now on (there are also another two .pfb files). I made a copy of this file using the name 'pbqrw8a.pfb' as described in http://repositorios.cpai.unb.br/ctan/fo ... am-doc.pdf . After this, I've put it inside

Code: Select all

/usr/local/texlive/texmf-local/fonts/type1/adobe/bickham
.
Well, updmap-sys doesn't usually produce any new .map files, it's modifying existing ones.
Sorry. No .map files were modified.
Uhm, you could try to have a look into updmap's map file:

Code: Select all

grep bickham /usr/local/texlive/2016/texmf-var/fonts/map/pdftex/updmap/pdftex.map
If that produces any output, trying to enable the same map file again will give you the result described above.
I tried this, however I've got no output.
don't understand. The bickham package is available as `bickham.tds.zip' from the first link you've given us to CTAN in the first post. If that's the package you downloaded, mayhap MAC does something for you here and decompresses it on the fly or something...
Yes, indeed, the MAC always decompress the file giving a folder called 'bickham' with subfolders 'fonts', 'tex' and 'doc'. However I've already installed everything manually as in http://tex.stackexchange.com/questions/ ... stallation . I should mention too that inside the folder fonts , i.e., in 'usr/local/texlive/texmf-local/fonts' , there are folders containing a subfolder called 'local'. For instance, the folder 'tfm' have a subfolder called 'local', however I have placed everything following the above cited answer (in tex.exchange) avoiding this folder 'local'. I don't know if this makes any difference, though.

I also placed the .otf files, 'pbqrw8a.otf' for instance, inside /usr/local/texlive/texmf-local/fonts/opentype/bickham/.

Furthermore, the file bickham was placed in /usr/local/texlive/texmf-local/fonts/map/dvips/bickham/. The 'dvips' folder is the unique one inside 'map'. Maybe this (the 'dvips') is not the correct engine (?).
It doesn't for those map files. You could try...
Ok, I tried disabling and I've got (after 'mktexlsr' or 'sudo texhash', I tried both)

Code: Select all

updmap [WARNING]: resetting $HOME value (was /Users/marceloyamauti) to root's actual home (/var/root).
updmap will read the following updmap.cfg files (in precedence order):
  /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg
  /usr/local/texlive/2016/texmf-dist/web2c/updmap.cfg
updmap may write changes to the following updmap.cfg file:
  /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg
dvips output dir: "/usr/local/texlive/2016/texmf-var/fonts/map/dvips/updmap"
pdftex output dir: "/usr/local/texlive/2016/texmf-var/fonts/map/pdftex/updmap"
dvipdfmx output dir: "/usr/local/texlive/2016/texmf-var/fonts/map/dvipdfmx/updmap"
updmap [ERROR]: The following map file(s) couldn't be found:
updmap [ERROR]: 	newfont.map (in /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg)
updmap [ERROR]: 	vicentino.map (in /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg)
updmap [ERROR]: Did you run mktexlsr?

	You can disable non-existent map entries using the option
	  --syncwithtrees.
These 'vicentino.map' and 'newfont'.map are other fonts that I tried installing. I suppose it records the previous error. However the vicentino font is now working properly.

I also tried enabling it again, which resulted in the same output that I have already posted.
Perhaps it would be easier to just drop the .otf files in your .fonts folder, run fc-cache on it, and use xelatex or possibly lualatex from now on, instead of pdflatex.
Sorry, I'm not familiar with xelatex or latex. I have already heard about the benefits, but I'm not sure if the syntax is too different from what the pdflatex reads. And also I have a lot of packages being used and, therefore, I'm afraid of changing at least for now.
and---finally---tried the outcome. To that end, I used a slightly modified version of cfr's answer, namely...
Well I also tried your file after trying to disable and enable again bickham.map . I've got as output from pdflatex

Code: Select all

This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./Untitled.tex
LaTeX2e <2016/03/31> patch level 3
Babel <3.9r> and hyphenation patterns for 83 language(s) loaded.
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/t1enc.def))
(/usr/local/texlive/texmf-local/tex/latex/bickham/bickham.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/local/texlive/2016/texmf-dist/tex/generic/xkeyval/xkvutils.tex
(/usr/local/texlive/2016/texmf-dist/tex/generic/xkeyval/keyval.tex)))))
No file Untitled.aux.
(/usr/local/texlive/texmf-local/tex/latex/bickham/ubickham.fd) [1{/usr/local/te
xlive/2016/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./Untitled.aux)
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+348/600 --dpi 948 rbickhamo-r
mktexpk: don't know how to create bitmap font for rbickhamo-r.
mktexpk: perhaps rbickhamo-r is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.
 )
!pdfTeX error: /Library/TeX/texbin/pdflatex (file rbickhamo-r): Font rbickhamo-
r at 948 not found
 ==> Fatal error occurred, no output PDF file produced!
Maybe I should try modifying 'pdftex.map' manually, however, by the amount of text, it seems kind of impossible.
rais
Posts: 419
Joined: Sun Nov 16, 2014 8:51 pm

Bickham font package installation: no such file or directory

Post by rais »

fgyamauti wrote: Let me restrict only to the file 'BickhamScriptPro-Regular.pfb' for now on (there are also another two .pfb files). I made a copy of this file using the name 'pbqrw8a.pfb' as described in http://repositorios.cpai.unb.br/ctan/fo ... am-doc.pdf . After this, I've put it inside

Code: Select all

/usr/local/texlive/texmf-local/fonts/type1/adobe/bickham
.
`it'? You mean just the copy? I've put both files (BickhamScriptPro-Regular.pfb and pbqrw8a.pfb) there.
fgyamauti wrote: Sorry. No .map files were modified.
Sorry, my bad. It just sounded like you expected some .map file to appear in the directory you were in. Come to think of it, the console output from updmap-sys itself calls it creating/generating.
fgyamauti wrote: Furthermore, the file bickham was placed in /usr/local/texlive/texmf-local/fonts/map/dvips/bickham/. The 'dvips' folder is the unique one inside 'map'. Maybe this (the 'dvips') is not the correct engine (?).
That's the only place in .../fonts/map I have the bickham.map file, too.
fgyamauti wrote: Ok, I tried disabling and I've got (after 'mktexlsr' or 'sudo texhash', I tried both)

Code: Select all

updmap [WARNING]: resetting $HOME value (was /Users/marceloyamauti) to root's actual home (/var/root).
updmap will read the following updmap.cfg files (in precedence order):
  /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg
  /usr/local/texlive/2016/texmf-dist/web2c/updmap.cfg
updmap may write changes to the following updmap.cfg file:
  /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg
dvips output dir: "/usr/local/texlive/2016/texmf-var/fonts/map/dvips/updmap"
pdftex output dir: "/usr/local/texlive/2016/texmf-var/fonts/map/pdftex/updmap"
dvipdfmx output dir: "/usr/local/texlive/2016/texmf-var/fonts/map/dvipdfmx/updmap"
updmap [ERROR]: The following map file(s) couldn't be found:
updmap [ERROR]: 	newfont.map (in /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg)
updmap [ERROR]: 	vicentino.map (in /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg)
updmap [ERROR]: Did you run mktexlsr?
Ok, stop right there. As long as updmap-sys complains about something with [ERROR], it won't continue.
Try disabling every .map file not found by updmap-sys (or try the --syncwithtrees option as suggested by updmap-sys).
fgyamauti wrote: These 'vicentino.map' and 'newfont'.map are other fonts that I tried installing. I suppose it records the previous error. However the vicentino font is now working properly.
What, you get a message from updmap-sys that vicentino.map couldn't be found, yet the font is working properly? That sounds hard to believe...
fgyamauti wrote: Maybe I should try modifying 'pdftex.map' manually, however, by the amount of text, it seems kind of impossible.
No, but you could try to modify /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg directly: delete all lines with offending entries (where updmap-sys was complaining about) and add
Map bickham.map
to it, if not already present. Then run (sudo) updmap-sys without further parameters.
If its output ends with

Code: Select all

Transcript written on "/usr/local/texlive/2016/texmf-var/web2c/updmap.log".
updmap: Updating ls-R files.
(or similar), there's a good chance your bickham font works from now on.

KR
Rainer
fgyamauti
Posts: 6
Joined: Sun Dec 11, 2016 11:05 am

Bickham font package installation: no such file or directory

Post by fgyamauti »

Thank you! Now it's working :D

If you're interested in the problem by itself, let me just describe what happened.

I cleaned everything with

Code: Select all

updmap-sys --syncwithtrees
, however updmap wasn't enabling 'bickham.map'. More precisely, 'updmap' was complaining in line 1547:

Code: Select all

updmap will read the following updmap.cfg files (in precedence order):
  /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg
  /usr/local/texlive/2016/texmf-dist/web2c/updmap.cfg
updmap may write changes to the following updmap.cfg file:
  /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg
updmap: can't write to /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg: Permission denied at /Library/TeX/texbin/updmap line 1547.
Then I tried

Code: Select all

sudo updmap-sys


which gave me a long output:

Code: Select all

updmap [WARNING]: resetting $HOME value (was /Users/marceloyamauti) to root's actual home (/var/root).
updmap will read the following updmap.cfg files (in precedence order):
  /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg
  /usr/local/texlive/2016/texmf-dist/web2c/updmap.cfg
updmap may write changes to the following updmap.cfg file:
  /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg
dvips output dir: "/usr/local/texlive/2016/texmf-var/fonts/map/dvips/updmap"
pdftex output dir: "/usr/local/texlive/2016/texmf-var/fonts/map/pdftex/updmap"
dvipdfmx output dir: "/usr/local/texlive/2016/texmf-var/fonts/map/dvipdfmx/updmap"

updmap is creating new map files
using the following configuration:
  LW35 font names                  : URWkb (/usr/local/texlive/2016/texmf-dist/web2c/updmap.cfg)
  prefer outlines                  : true (/usr/local/texlive/2016/texmf-dist/web2c/updmap.cfg)
  texhash enabled                  : true
  download standard fonts (dvips)  : true (/usr/local/texlive/2016/texmf-dist/web2c/updmap.cfg)
  download standard fonts (pdftex) : true (/usr/local/texlive/2016/texmf-dist/web2c/updmap.cfg)
  kanjiEmbed replacement string    : ipaex (/usr/local/texlive/2016/texmf-dist/web2c/updmap.cfg)
  kanjiVariant replacement string  :  (default)
  create a mapfile for pxdvi       : false (default)

Scanning for LW35 support files  [  3 files]
Scanning for MixedMap entries    [ 44 files]
Scanning for KanjiMap entries    [  6 files]
Scanning for Map entries         [261 files]

Generating output for dvipdfmx...
Generating output for ps2pk...
Generating output for dvips...
Generating output for pdftex...

Files generated:
  /usr/local/texlive/2016/texmf-var/fonts/map/dvips/updmap:
       15796 2016-12-17 06:58:59 builtin35.map
       21269 2016-12-17 06:58:59 download35.map
     1759677 2016-12-17 06:59:00 psfonts_pk.map
     2020572 2016-12-17 06:58:59 psfonts_t1.map
     2015951 2016-12-17 06:58:59 ps2pk.map
          14 2016-12-17 06:59:00 psfonts.map -> psfonts_t1.map
  /usr/local/texlive/2016/texmf-var/fonts/map/pdftex/updmap:
     2015958 2016-12-17 06:59:00 pdftex_dl14.map
     2014293 2016-12-17 06:59:00 pdftex_ndl14.map
          15 2016-12-17 06:59:00 pdftex.map -> pdftex_dl14.map
  /usr/local/texlive/2016/texmf-var/fonts/map/dvipdfmx/updmap:
        7275 2016-12-17 06:58:59 kanjix.map

Transcript written on "/usr/local/texlive/2016/texmf-var/web2c/updmap.log".
updmap: Updating ls-R files.
Then, mysteriously, after this, I could enable 'bickham.map'.

Indeed, as you have said in
rais wrote:`it'? You mean just the copy? I've put both files (BickhamScriptPro-Regular.pfb and pbqrw8a.pfb) there.
,

I have only put the file 'pqrw8a.pfb', which lead to pdflatex not being able to read the .tex file. However after dropping the file 'BickhamScriptPro-Regular.pfb' (and other two) in the same folder as the former one, everything started working properly.

I'm not sure if the .otf files are needed ('BickhamScriptPro-Regular.otf', for instance, inside /usr/local/texlive/texmf-local/fonts/opentype/bickham ) since removing them is not changing the output after running pdflatex.

About the other fonts ('newfont.map' and 'vicentino.map'), they were working properly because they don't use a .map file. I tried recreating the .map in these cases by mistake.

Thanks for your patience until now. I've learnt a lot in this process :D
Post Reply