[tex-live] hyphen -- nearly all languages added by default
Dr. Werner Fink
werner at suse.de
Thu Jun 16 15:32:24 CEST 2016
On Thu, Jun 16, 2016 at 10:07:45PM +0900, Norbert Preining wrote:
> Dear Werner
> Only quick from the mobile
> On June 16, 2016 9:48:07 PM GMT+09:00, "Dr. Werner Fink" <werner at suse.de> wrote:
> > tar Oxf archive/hyphen-base.tar.xz tex/generic/config/language.dat
> >shows that *all* hyphens had already been added. The same for
> Yes, but it has been like this since long. A distribution (including TeX Live itself) that allows for partial install may not use this file, by either generating a fitting copy and optionally not even including this file.
> How did you do this till 2015? You still had to activate patterns on demand at package installation time, right? (Same with font maps and format definitions!)
For 2015 the spec file post scriptlets had worked well. And indeed
I generate those scriptlets from the texlive.tlpdb.xz during
generating the spec files (in perl).
> If you don't like the Perl modules, at package (rpm) creation date you can parse the tlpdb trivially in shell (enough examples are floating around) to pull out the AddHyphen lines used in the packages to be built, and adjust the post-install routine to activate the hyphens (and deactivate on uninstall) in the system language.*
> If you can use Perl, just load the TL modules, in particular TLPDB to parse, and TLUtils to generate the language.* files.
That is what I've tried but the TLPDB does include all AddHyphen lines
found in texlive.tlpdb but do not skip the not installed packages.
Also it would be a great win if TLPDB could read xz-zipped texlive.tlpdb ;)
"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...
Size: 819 bytes
Desc: not available
More information about the tex-live