Discussion:
Adding a previously unknown language to TeX Live
Add Reply
Philip Taylor (RHUoL)
2018-03-31 09:03:31 UTC
Reply
Permalink
Raw Message
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>
</p>
<div class="moz-text-html" lang="x-unicode">
<p>Every time a new release of TeX Live comes out, I am faced with
the task of re-adding support for Hebrew.  This year, on my
local machine, I was able to accomplish that at the second or
third attempt, but when I tried to replicate the steps on a
colleague's machine, XeTeX continued to report "e-TeX error:
language hebrew undefined.." :</p>
<p> </p>
<blockquote type="cite">Errors: 8, Warnings: 0, Bad boxes: 1
<hr>
<table style=" margin-top:0px; margin-bottom:0px;
margin-left:0px; margin-right:0px;" cellspacing="0"
cellpadding="4" border="0">
<tbody>
<tr>
<td bgcolor="#f80000"><br>
</td>
<td style=" vertical-align:top;">
<p style=" margin-top:0px; margin-bottom:0px;
margin-left:0px; margin-right:0px; -qt-block-indent:0;
text-indent:0px;"><a
href="texworks:./XML/MSS/ms-1214.xml%20%5BMS.%201214%5D#39"><span
style=" text-decoration: underline;
color:#0000ff;">ms-1214.xml [MS. 1214]</span></a></p>
</td>
<td style=" vertical-align:top;">
<p style=" margin-top:0px; margin-bottom:0px;
margin-left:0px; margin-right:0px; -qt-block-indent:0;
text-indent:0px;">39</p>
</td>
<td style=" vertical-align:top;">
<p style=" margin-top:0px; margin-bottom:0px;
margin-left:0px; margin-right:0px; -qt-block-indent:0;
text-indent:0px;">e-TeX error: language hebrew
undefined..<br>
\***@xmsg ...lines =0 \errmessage {e-TeX error: #2}<br>
                                                  \else \message {\n !
e-TeX...<br>
...<br>
l.39 ...foreign direction="RTL" language="Hebrew"&gt;<br>
                                                  אחר&lt;/foreign&gt;≈”
for lection</p>
</td>
</tr>
</tbody>
</table>
</blockquote>
I have copied my S:\TeX\Live\TeXMF\Local\* to his
C:\TeX\Live\TeXMF\Local\*, invoked "tlmgr generate --rebuild-sys
language" on his system (as I did on mine), then used TLMGR-GUI to
(a) "Update filename database" and (b) "Rebuild all formats" (to
the best of my belief, the same steps that I used to resolve the
problem on my own system), yet my XeTeX now "knows" Hebrew while
his still does not.  <br>
<p>May I therefore ask :</p>
<ol>
<li>Is there a document that describes the necessary and
sufficient steps to add a previously unknown language to TeX
Live ?<br>
</li>
<li>Is anyone able to see from the above why Hebrew is now known
to my system but not to his ?</li>
</ol>
<p>Philip Taylor<br>
</p>
</div>
</body>
</html>
Norbert Preining
2018-03-31 14:05:12 UTC
Reply
Permalink
Raw Message
Hi Philip,

(I finally found the explanation:
Rhuol, a. roaring, loquacious
from the Welsh dictionary)
Post by Philip Taylor (RHUoL)
I have copied my S:\TeX\Live\TeXMF\Local\* to his
If thi sis what is used as TEXMFLOCAL, then that would be a good idea.
Post by Philip Taylor (RHUoL)
"tlmgr generate --rebuild-sys language" on his system (as I did on mine),
That should do what it says, if it finds language-local.dat/def/dat.lua.
Are these files available in your TEXMFLOCAL/tex/generic/config/ ?
Post by Philip Taylor (RHUoL)
"Update filename database" and (b) "Rebuild all formats" (to the best
Could simply use
mktexlsr
fmtutil-sys --all

That should do the trick.
Post by Philip Taylor (RHUoL)
1. Is there a document that describes the necessary and sufficient
steps to add a previously unknown language to TeX Live ?
Yes, tlmgr help, or man tlmgr, or any of the web pages that gives the
same, under "generate".
Post by Philip Taylor (RHUoL)
2. Is anyone able to see from the above why Hebrew is now known to my
system but not to his ?
No, because we cannot see the output of tlmgr generate and which files
are at the end actually loaded.

There might be language.dat/def/dat.lua files hanging around in some bad
places hiding the ones generated.

Best

Norbert

--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Philip Taylor
2018-03-31 14:13:41 UTC
Reply
Permalink
Raw Message
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Norbert Preining wrote:<br>
</div>
<blockquote type="cite"
cite="mid:***@burischnitzel.preining.info">
<pre wrap="">Hi Philip,

(I finally found the explanation:
Rhuol, a. roaring, loquacious
from the Welsh dictionary)</pre>
</blockquote>
I'm sure it means something much more pleasant in Kernowek
("Cornish") :)<br>
<br>
All answers noted with thanks -- I was indeed looking at the
"generate" documentation from "texdoc tlmgr" when your answer
arrived, but while it tells me how to <i>disable</i> an existing
language, it appears to offer scant guidance on adding a new one. 
Anyhow, I am also looking at the distribution versions of 
"language.def" and "language.dat", so I may be able to glean enough
from there.  I have a virgin TL 2018 pre-test in my office, so am
using that as my testbed.<br>
<br>
<blockquote type="cite"
cite="mid:***@burischnitzel.preining.info">
<pre wrap="">No, because we cannot see the output of tlmgr generate and which files
are at the end actually loaded.</pre>
</blockquote>
Unfortunately that is very voluminous, and I cannot see any easy way
to filter it for errors and warnings.
<blockquote type="cite"
cite="mid:***@burischnitzel.preining.info">
<pre wrap="">
There might be language.dat/def/dat.lua files hanging around in some bad
places hiding the ones generated.
</pre>
</blockquote>
That is unlikely, as my colleagues installation was as virgin as
mine is; anyhow, if I can get my office system to work, I can then
try the same thing on my colleague's<br>
** Phil.<br>
</body>
</html>
Norbert Preining
2018-03-31 15:08:33 UTC
Reply
Permalink
Raw Message
Hi,
scant guidance on adding a new one. Anyhow, I am also looking at the
distribution versions of "language.def" and "language.dat", so I may
be able to glean enough from there. I have a virgin TL 2018 pre-test
Well, I faintly remember that I documented the formats somewhere, but
cannot remember now where ;-) Comes from too much good Japanese whiskey.

Norbert

--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Loading...