LaTeX forum ⇒ Fonts & Character SetsBickham font package installation: no such file or directory Topic is solved

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

Bickham font package installation: no such file or directory

Postby fgyamauti » Sun Dec 11, 2016 11:13 am

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.

rais
Posts: 149
Joined: Sun Nov 16, 2014 8:51 pm

Postby rais » Sun Dec 11, 2016 6:32 pm

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

Postby fgyamauti » Sun Dec 11, 2016 7:45 pm

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: 149
Joined: Sun Nov 16, 2014 8:51 pm

Postby rais » Sun Dec 11, 2016 11:39 pm

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

Postby fgyamauti » Tue Dec 13, 2016 5:49 am

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

Postby fgyamauti » Tue Dec 13, 2016 12:22 pm

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):

  1. This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex)
  2. restricted \write18 enabled.
  3. entering extended mode
  4. (./bickham-doc.tex
  5. LaTeX2e <2016/03/31> patch level 3
  6. Babel <3.9r> and hyphenation patterns for 83 language(s) loaded.
  7. (/usr/local/texlive/2016/texmf-dist/tex/latex/base/article.cls
  8. Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
  9. (/usr/local/texlive/2016/texmf-dist/tex/latex/base/size11.clo))
  10. (/usr/local/texlive/2016/texmf-dist/tex/latex/geometry/geometry.sty
  11. (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty)
  12. (/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
  13. (/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
  14. (/usr/local/texlive/2016/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
  15. (/usr/local/texlive/2016/texmf-dist/tex/latex/parskip/parskip.sty)
  16. (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphicx.sty
  17. (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphics.sty
  18. (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/trig.sty)
  19. (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
  20. (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-def/pdftex.def
  21. (/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
  22. (/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))
  23. (/usr/local/texlive/texmf-local/tex/latex/bickham/bickham.sty
  24. (/usr/local/texlive/2016/texmf-dist/tex/latex/xkeyval/xkeyval.sty
  25. (/usr/local/texlive/2016/texmf-dist/tex/generic/xkeyval/xkeyval.tex
  26. (/usr/local/texlive/2016/texmf-dist/tex/generic/xkeyval/xkvutils.tex))))
  27. No file bickham-doc.aux.
  28. *geometry* driver: auto-detecting
  29. *geometry* detected driver: pdftex
  30. (/usr/local/texlive/2016/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
  31. [Loading MPS to PDF converter (version 2006.09.02).]
  32. ) (/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
  33. (/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifluatex.sty))
  34. (/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
  35. (/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/grfext.sty
  36. (/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))
  37. (/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/kvoptions.sty
  38. (/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
  39. (/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/etexcmds.sty)))
  40. (/usr/local/texlive/2016/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
  41.  
  42. LaTeX Font Warning: Font shape `T1/pbq0/m/n' undefined
  43. (Font) using `T1/cmr/m/n' instead on input line 22.
  44.  
  45.  
  46. LaTeX Font Warning: Font shape `T1/pbq0/m/n' in size <15> not available
  47. (Font) size <14.4> substituted on input line 22.
  48.  
  49. [1{/usr/local/texlive/2016/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
  50. (/usr/local/texlive/2016/texmf-dist/tex/latex/base/omscmr.fd)
  51. Overfull \hbox (40.50981pt too wide) in paragraph at lines 77--77
  52. []\OT1/cmtt/m/n/10.95 rbickhamo-r BickhamScriptPro-Regular " -.4 SlantFont " <
  53. BickhamScriptPro-Regular.pfb[]
  54.  
  55. Overfull \hbox (6.01768pt too wide) in paragraph at lines 77--77
  56. []\OT1/cmtt/m/n/10.95 rbickhamo-b BickhamScriptPro-Bold " -.4 SlantFont " <Bic
  57. khamScriptPro-Bold.pfb[]
  58.  
  59. Overfull \hbox (52.00719pt too wide) in paragraph at lines 77--77
  60. []\OT1/cmtt/m/n/10.95 rbickhamo-s BickhamScriptPro-Semibold " -.4 SlantFont "
  61. <BickhamScriptPro-Semibold.pfb[]
  62. [2] (/usr/local/texlive/texmf-local/tex/latex/bickham/ubickham.fd) [3]
  63. (./bickham-doc.aux)
  64. kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+437/600 --dpi 1037 rbickhamo-r
  65. mktexpk: don't know how to create bitmap font for rbickhamo-r.
  66. mktexpk: perhaps rbickhamo-r is missing from the map file.
  67. kpathsea: Appending font creation commands to missfont.log.
  68.  
  69.  
  70. LaTeX Font Warning: Size substitutions with differences
  71. (Font) up to 0.6pt have occurred.
  72.  
  73.  
  74. LaTeX Font Warning: Some font shapes were not available, defaults substituted.
  75.  
  76. )
  77. (see the transcript file for additional information)
  78. !pdfTeX error: /Library/TeX/texbin/pdflatex (file rbickhamo-r): Font rbickhamo-
  79. r at 1037 not found
  80. ==> Fatal error occurred, no output PDF file produced!

rais
Posts: 149
Joined: Sun Nov 16, 2014 8:51 pm

Postby rais » Wed Dec 14, 2016 10:50 am

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:
  1. 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
  1. sudo updmap-sys --disable bickham.map

prior to (re)enabling it by
  1. 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:
What can I say? Worked like a charm :)

KR
Rainer

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

Postby fgyamauti » Thu Dec 15, 2016 10:42 am

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
  1. /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:
  1. 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)
  1. updmap [WARNING]: resetting $HOME value (was /Users/marceloyamauti) to root's actual home (/var/root).
  2. updmap will read the following updmap.cfg files (in precedence order):
  3. /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg
  4. /usr/local/texlive/2016/texmf-dist/web2c/updmap.cfg
  5. updmap may write changes to the following updmap.cfg file:
  6. /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg
  7. dvips output dir: "/usr/local/texlive/2016/texmf-var/fonts/map/dvips/updmap"
  8. pdftex output dir: "/usr/local/texlive/2016/texmf-var/fonts/map/pdftex/updmap"
  9. dvipdfmx output dir: "/usr/local/texlive/2016/texmf-var/fonts/map/dvipdfmx/updmap"
  10. updmap [ERROR]: The following map file(s) couldn't be found:
  11. updmap [ERROR]: newfont.map (in /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg)
  12. updmap [ERROR]: vicentino.map (in /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg)
  13. updmap [ERROR]: Did you run mktexlsr?
  14.  
  15. You can disable non-existent map entries using the option
  16. --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

  1. This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex)
  2. restricted \write18 enabled.
  3. entering extended mode
  4. (./Untitled.tex
  5. LaTeX2e <2016/03/31> patch level 3
  6. Babel <3.9r> and hyphenation patterns for 83 language(s) loaded.
  7. (/usr/local/texlive/2016/texmf-dist/tex/latex/base/article.cls
  8. Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
  9. (/usr/local/texlive/2016/texmf-dist/tex/latex/base/size10.clo))
  10. (/usr/local/texlive/2016/texmf-dist/tex/latex/base/fontenc.sty
  11. (/usr/local/texlive/2016/texmf-dist/tex/latex/base/t1enc.def))
  12. (/usr/local/texlive/texmf-local/tex/latex/bickham/bickham.sty
  13. (/usr/local/texlive/2016/texmf-dist/tex/latex/xkeyval/xkeyval.sty
  14. (/usr/local/texlive/2016/texmf-dist/tex/generic/xkeyval/xkeyval.tex
  15. (/usr/local/texlive/2016/texmf-dist/tex/generic/xkeyval/xkvutils.tex
  16. (/usr/local/texlive/2016/texmf-dist/tex/generic/xkeyval/keyval.tex)))))
  17. No file Untitled.aux.
  18. (/usr/local/texlive/texmf-local/tex/latex/bickham/ubickham.fd) [1{/usr/local/te
  19. xlive/2016/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./Untitled.aux)
  20. kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+348/600 --dpi 948 rbickhamo-r
  21. mktexpk: don't know how to create bitmap font for rbickhamo-r.
  22. mktexpk: perhaps rbickhamo-r is missing from the map file.
  23. kpathsea: Appending font creation commands to missfont.log.
  24. )
  25. !pdfTeX error: /Library/TeX/texbin/pdflatex (file rbickhamo-r): Font rbickhamo-
  26. r at 948 not found
  27. ==> 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: 149
Joined: Sun Nov 16, 2014 8:51 pm

Postby rais » Fri Dec 16, 2016 8:01 pm

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
  1. /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)
  1. updmap [WARNING]: resetting $HOME value (was /Users/marceloyamauti) to root's actual home (/var/root).
  2. updmap will read the following updmap.cfg files (in precedence order):
  3. /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg
  4. /usr/local/texlive/2016/texmf-dist/web2c/updmap.cfg
  5. updmap may write changes to the following updmap.cfg file:
  6. /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg
  7. dvips output dir: "/usr/local/texlive/2016/texmf-var/fonts/map/dvips/updmap"
  8. pdftex output dir: "/usr/local/texlive/2016/texmf-var/fonts/map/pdftex/updmap"
  9. dvipdfmx output dir: "/usr/local/texlive/2016/texmf-var/fonts/map/dvipdfmx/updmap"
  10. updmap [ERROR]: The following map file(s) couldn't be found:
  11. updmap [ERROR]: newfont.map (in /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg)
  12. updmap [ERROR]: vicentino.map (in /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg)
  13. 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
  1. Transcript written on "/usr/local/texlive/2016/texmf-var/web2c/updmap.log".
  2. 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

Postby fgyamauti » Sat Dec 17, 2016 11:43 am

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

  1. updmap-sys --syncwithtrees


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

  1. updmap will read the following updmap.cfg files (in precedence order):
  2. /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg
  3. /usr/local/texlive/2016/texmf-dist/web2c/updmap.cfg
  4. updmap may write changes to the following updmap.cfg file:
  5. /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg
  6. 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

  1. sudo updmap-sys


which gave me a long output:

  1. updmap [WARNING]: resetting $HOME value (was /Users/marceloyamauti) to root's actual home (/var/root).
  2. updmap will read the following updmap.cfg files (in precedence order):
  3. /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg
  4. /usr/local/texlive/2016/texmf-dist/web2c/updmap.cfg
  5. updmap may write changes to the following updmap.cfg file:
  6. /usr/local/texlive/2016/texmf-config/web2c/updmap.cfg
  7. dvips output dir: "/usr/local/texlive/2016/texmf-var/fonts/map/dvips/updmap"
  8. pdftex output dir: "/usr/local/texlive/2016/texmf-var/fonts/map/pdftex/updmap"
  9. dvipdfmx output dir: "/usr/local/texlive/2016/texmf-var/fonts/map/dvipdfmx/updmap"
  10.  
  11. updmap is creating new map files
  12. using the following configuration:
  13. LW35 font names : URWkb (/usr/local/texlive/2016/texmf-dist/web2c/updmap.cfg)
  14. prefer outlines : true (/usr/local/texlive/2016/texmf-dist/web2c/updmap.cfg)
  15. texhash enabled : true
  16. download standard fonts (dvips) : true (/usr/local/texlive/2016/texmf-dist/web2c/updmap.cfg)
  17. download standard fonts (pdftex) : true (/usr/local/texlive/2016/texmf-dist/web2c/updmap.cfg)
  18. kanjiEmbed replacement string : ipaex (/usr/local/texlive/2016/texmf-dist/web2c/updmap.cfg)
  19. kanjiVariant replacement string : (default)
  20. create a mapfile for pxdvi : false (default)
  21.  
  22. Scanning for LW35 support files [ 3 files]
  23. Scanning for MixedMap entries [ 44 files]
  24. Scanning for KanjiMap entries [ 6 files]
  25. Scanning for Map entries [261 files]
  26.  
  27. Generating output for dvipdfmx...
  28. Generating output for ps2pk...
  29. Generating output for dvips...
  30. Generating output for pdftex...
  31.  
  32. Files generated:
  33. /usr/local/texlive/2016/texmf-var/fonts/map/dvips/updmap:
  34. 15796 2016-12-17 06:58:59 builtin35.map
  35. 21269 2016-12-17 06:58:59 download35.map
  36. 1759677 2016-12-17 06:59:00 psfonts_pk.map
  37. 2020572 2016-12-17 06:58:59 psfonts_t1.map
  38. 2015951 2016-12-17 06:58:59 ps2pk.map
  39. 14 2016-12-17 06:59:00 psfonts.map -> psfonts_t1.map
  40. /usr/local/texlive/2016/texmf-var/fonts/map/pdftex/updmap:
  41. 2015958 2016-12-17 06:59:00 pdftex_dl14.map
  42. 2014293 2016-12-17 06:59:00 pdftex_ndl14.map
  43. 15 2016-12-17 06:59:00 pdftex.map -> pdftex_dl14.map
  44. /usr/local/texlive/2016/texmf-var/fonts/map/dvipdfmx/updmap:
  45. 7275 2016-12-17 06:58:59 kanjix.map
  46.  
  47. Transcript written on "/usr/local/texlive/2016/texmf-var/web2c/updmap.log".
  48. 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


Return to “Fonts & Character Sets”

Who is online

Users browsing this forum: No registered users and 3 guests