Web lists-archives.com

Please enable cid-x.map in dvipdfmx.cfg when installing texlive-langjapanese




Hi!

I've just updated with the latest packages texlive-*-20170412-1,

Thank you for maintaining and updating TeX Live for cygwin.

When we use dvipdfmx with Japanese fonts, we might encounter warnings/fatal:

> dvipdfmx:warning: Could not locate a virtual/physical font for TFM "gbm".
> dvipdfmx:warning: >> There are no valid font mapping entry for this font.
> dvipdfmx:warning: >> Font file name "gbm" was assumed but failed to locate that font.
> dvipdfmx:fatal: Cannot proceed without .vf or "physical" font for PDF output...

To avoid them, we'd need this change: 

--- /usr/share/texmf-dist/dvipdfmx/dvipdfmx.cfg	2017-05-07
08:00:30.790411600 +0900
+++ /usr/share/texmf-dist/dvipdfmx/dvipdfmx.cfg	2017-05-05 06:03:31.000000000 +0900
@@ -215,7 +215,7 @@
 %f psfonts.map
 
 %% Put additional fontmap files here (usually for Type0 fonts)
-%f  cid-x.map
+f  cid-x.map
 
 % the following file is generated by updmap(-sys) from the 
 % KanjiMap entries in the updmap.cfg file.

But the file 'usr/share/texmf-dist/dvipdfmx/dvipdfmx.cfg' is packaged in
texlive-collection-basic-20170412-1.tar.xz


So please put some codes like this into
'etc/postinstall/texlive-collection-langjapanese.sh'
if it doesn't cause unwanted effects.


cp /usr/share/texmf-dist/dvipdfmx/dvipdfmx.cfg \
   /usr/share/texmf-dist/dvipdfmx/dvipdfmx.cfg.orig
sed -e 's/^\%f  cid-x\.map/f  cid-x\.map/' \
   /usr/share/texmf-dist/dvipdfmx/dvipdfmx.cfg.orig \
 > /usr/share/texmf-dist/dvipdfmx/dvipdfmx.cfg


And we might need a preremove script for reverting the change...


Regards,

==
Subject: [ANNOUNCEMENT] TeX Live 2016 collections
Date: Fri, 5 May 2017 20:32:36 -0400
From: Ken Brown <kbrown@xxxxxxxxxxx>

> Cygwin's TeX Live collections have been updated to the latest upstream release of TeX Live 2016.  The latter was frozen as of 2017-04-12 in preparation for the pretest of TeX Live 2017.
> 
> TeX Live provides a comprehensive, cross-platform TeX system.  It includes all the major TeX-related programs, macro packages, and fonts that are free software, including support for many languages around the world.  For more information, see
> 
>    http://www.tug.org/texlive/
> 
> Upstream TeX Live provides thousands of "packages", grouped into "collections". There is a Cygwin package for each upstream collection; there are also Cygwin packages containing documentation for some of the collections.
> 
> * texlive-collection-basic-20170412-1
> * texlive-collection-basic-doc-20170412-1
> * texlive-collection-bibtexextra-20170412-1 (TEST)
> * texlive-collection-bibtexextra-doc-20170412-1 (TEST)
> * texlive-collection-binextra-20170412-1
> * texlive-collection-binextra-doc-20170412-1
> * texlive-collection-context-20170412-1
> * texlive-collection-context-doc-20170412-1
> * texlive-collection-fontsextra-20170412-1
> * texlive-collection-fontsextra-doc-20170412-1
> * texlive-collection-fontsrecommended-20170412-1
> * texlive-collection-fontsrecommended-doc-20170412-1
> * texlive-collection-fontutils-20170412-1
> * texlive-collection-fontutils-doc-20170412-1
> * texlive-collection-formatsextra-20170412-1
> * texlive-collection-games-20170412-1
> * texlive-collection-genericextra-20170412-1
> * texlive-collection-genericextra-doc-20170412-1
> * texlive-collection-genericrecommended-20170412-1
> * texlive-collection-genericrecommended-doc-20170412-1
> * texlive-collection-htmlxml-20170412-1
> * texlive-collection-humanities-20170412-1
> * texlive-collection-humanities-doc-20170412-1
> * texlive-collection-langafrican-20170412-1
> * texlive-collection-langarabic-20170412-1
> * texlive-collection-langchinese-20170412-1
> * texlive-collection-langcjk-20170412-1
> * texlive-collection-langcyrillic-20170412-1
> * texlive-collection-langczechslovak-20170412-1
> * texlive-collection-langenglish-20170412-1
> * texlive-collection-langeuropean-20170412-1
> * texlive-collection-langfrench-20170412-1
> * texlive-collection-langgerman-20170412-1
> * texlive-collection-langgreek-20170412-1
> * texlive-collection-langindic-20170412-1
> * texlive-collection-langitalian-20170412-1
> * texlive-collection-langjapanese-20170412-1
> * texlive-collection-langkorean-20170412-1
> * texlive-collection-langother-20170412-1
> * texlive-collection-langpolish-20170412-1
> * texlive-collection-langportuguese-20170412-1
> * texlive-collection-langspanish-20170412-1
> * texlive-collection-latex-20170412-1
> * texlive-collection-latex-doc-20170412-1
> * texlive-collection-latexextra-20170412-1
> * texlive-collection-latexextra-doc-20170412-1
> * texlive-collection-latexrecommended-20170412-1
> * texlive-collection-latexrecommended-doc-20170412-1
> * texlive-collection-luatex-20170412-1
> * texlive-collection-luatex-doc-20170412-1
> * texlive-collection-mathscience-20170412-1
> * texlive-collection-mathscience-doc-20170412-1
> * texlive-collection-metapost-20170412-1
> * texlive-collection-metapost-doc-20170412-1
> * texlive-collection-music-20170412-1
> * texlive-collection-music-doc-20170412-1
> * texlive-collection-omega-20170412-1
> * texlive-collection-pictures-20170412-1
> * texlive-collection-pictures-doc-20170412-1
> * texlive-collection-plainextra-20170412-1
> * texlive-collection-pstricks-20170412-1
> * texlive-collection-pstricks-doc-20170412-1
> * texlive-collection-publishers-20170412-1
> * texlive-collection-publishers-doc-20170412-1
> * texlive-collection-xetex-20170412-1
> * texlive-collection-xetex-doc-20170412-1
> 
> The mathscience collection is new; it is a combination of the old mathextra and science collections.
> 
> The bibtexextra collection is marked as a test release because it includes biblatex-3.7, which is designed to work with biber-2.7.  In order to use it, you will have to install the test release of perl-5.24 and then build biber-2.7 yourself.  I can provide instructions if anyone wants to do this.
> 
> Recommendations
> ===============
> Most people do not need the full TeX Live installation, which is huge and can take a long time to install.  If you're not sure what you need, here are some possible ways to start:
> 
> Minimal: Install texlive and its dependencies.  This provides plain TeX but not LaTeX.
> 
> Small: Install texlive-collection-latex and its dependencies.  This is a minimal installation with LaTeX.
> 
> Standard: Install texlive-collection-latexrecommended and its dependencies. This provides the most commonly used non-graphics LaTeX packages.  Install texlive-collection-pictures if you want the standard graphics packages too.
> 
> If you want or need more, consider installing some of the following:
> 
> * texlive-collection-binextra
> * texlive-collection-context
> * texlive-collection-fontsrecommended
> * texlive-collection-fontutils
> * texlive-collection-genericrecommended
> * texlive-collection-luatex
> * texlive-collection-mathscience
> * texlive-collection-metapost
> * texlive-collection-plainextra
> * texlive-collection-xetex
> 
> Fontconfig
> ==========
> There is a script /usr/bin/texlive-enable-fontconfig that you can run if you want the fonts distributed with TeX Live to be available to applications that rely on fontconfig.  See /usr/share/doc/texlive/README.Cygwin for more details. (The script can take a few minutes to run, so be patient.)
> 
> tlmgr
> =====
> texlive-collection-basic includes a restricted version of the tlmgr (TeX Live Manager) utility.  See /usr/share/doc/texlive-collection-basic/README.Cygwin for more details.
> 
> Ken Brown
> Cygwin's TeX Live maintainer
> 
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple