[tex-live] hyphen -- nearly all languages added by default

Dr. Werner Fink werner at suse.de
Thu Jun 16 15:27:25 CEST 2016


On Thu, Jun 16, 2016 at 02:48:07PM +0200, Werner Fink wrote:
> On Thu, Jun 16, 2016 at 08:11:44PM +0900, Norbert Preining wrote:
> > Hi Werner,
> > 
> > > just get a report that language.dat nearly all hyphen are added by
> > > default (package  hyphen-base). What is the reason for this?
> > 
> > With the very unclear information it is hard to diagnose. Do
> > you speak about upstream TeX LIve (TUG) or the SuSE packaging?
> > 
> > I *can* imagine that you ship in the TL package the language.dat
> > that is included in TL - this is the one that containss *ALL*
> > patterns.
> > 
> > FOr an actual installation the AddHyphen directives need to be
> > evaluated. In TeX Live from TUG the installer/tlmgr doe that 
> > and generates a fitting language.dat.
> > 
> > In Debian every package ships a snippet for language.dat (.def,dat.lua)
> > adn those are combined at installation time.
> > 
> > So bottomline: without further information it is hard to 
> > give a good explanation.
> 
> Doing a
> 
>   tar Oxf archive/hyphen-base.tar.xz tex/generic/config/language.dat
> 
> shows that *all* hyphens had already been added.  The same for
> language.def and language.dat.lua.  And clearly this file has been
> packaged for openSUSE as I was not aware of this major change.
> Indeed thos caused a bug that all hyphens are required for generating
> the formats now.
> 
> Also the perl update of those files are a nightmare for rpm based
> distributions.  Using tlmgr is not an option ... I've looked at
> TeXLive/TL*.pm and with this I see, after some small changes, that
> without a local copy of the already installed hyphens the last
> installed hyphen does overwrite all others :(

Indeed using TeXLive::TLPDB creates via

  our $hyphen = "$texdir/tex/generic/config/language.dat";
  our $hlocal = "/var/lib/texmf/config/language.dat";
  TeXLive::TLUtils::create_language_dat($tlpdb, $hyphen, $hlocal);

the same content as already in archive/hyphen-base.tar.xz ...
beside the first two lines (Generated by / $Id:).
Hacking TeXLive/TLPOBJ.pm to have a method root and skipping the
usermode in TeXLive/TLUtils.pm does only write out one entry.

Do I miss something here?

Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-live/attachments/20160616/36f38212/attachment.bin>


More information about the tex-live mailing list