GeneralTranslations package: Where in texfm to put trsl files

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
JustA_LaTeXusr
Posts: 42
Joined: Tue Jul 23, 2013 6:48 pm

Translations package: Where in texfm to put trsl files

Post by JustA_LaTeXusr »

I am installing the translations package, as it is required by the newest acro package. Where would I put the trsl files that come with translations? I don't think it matters, but I'm using TeXLive from Cygwin. I've posted this to http://tex.stackexchange.com/questions/ ... trsl-files and http://latex-community.org/forum/viewto ... 590#p91590

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Translations package: Where in texfm to put trsl files

Post by cgnieder »

The translations package is part of TeX-Live and should be installed when you've installed TeX-Live (except when you have an outdated or incomplete installation).

On my system the package can be found in

Code: Select all

/usr/local/texlive/2015/texmf-dist/tex/latex/translations/
In this directory both the sty and the trsl files are located.
site moderator & package author
JustA_LaTeXusr
Posts: 42
Joined: Tue Jul 23, 2013 6:48 pm

Translations package: Where in texfm to put trsl files

Post by JustA_LaTeXusr »

My TeXLive is part of a cygwin distribution from about 2 months ago. It's a work machine, so we can't upgrade at will. I'm use to having MiKTeK do all the package maintaining for me, but it got corrupted it in the process (might be related to recent changes to the computer that are beyond my control).

I haven't yet found my way around all aspects of TexLive, but I put the sty and trsl files into $TEXMFHOME/tex/latex/translations. I then make the pdflatex & bibtex calls as follows:

Code: Select all

TEXMFHOME=/The/personal/texmf/folder/path pdflatex myLaTeXfile.tex
TEXMFHOME=/The/personal/texmf/folder/path bibtex   myLaTeXfile
TEXMFHOME=/The/personal/texmf/folder/path pdflatex myLaTeXfile.tex
TEXMFHOME=/The/personal/texmf/folder/path pdflatex myLaTeXfile.tex
I'm getting "Control sequence \tl_mixed_case:n undefined" regardless of whether translations is present. Since I'm working against a very short timeline, I'm going to remove all personally installed packages (acro & translations) and manually finagle my way around the lack of advanced handling of plurality in acronyms in the older TexLive package versions that came with the 2-month old cygwin package files.

Thanks. I will revisit this in the near future.
Last edited by cgnieder on Fri Sep 11, 2015 3:34 pm, edited 1 time in total.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Translations package: Where in texfm to put trsl files

Post by cgnieder »

JustA_LaTeXusr wrote:Since I'm working against a very short timeline, I'm going to remove all personally installed packages (acro & translations)
That's what I would recommend, too, especially if you can't update as you want. acro needs translations (which should work fine without the trsl files by the way) but more importantly relies on the l3kernel and the closely related l3packages and l3experimental. Those get updated fairly often and acro adapts. So installing acro without matching versions of the l3 bundles is bound to give errors like the one you get.

Cases like this show why it is always dangerous to manually install or update packages.

Regards
site moderator & package author
JustA_LaTeXusr
Posts: 42
Joined: Tue Jul 23, 2013 6:48 pm

Re: Translations package: Where in texfm to put trsl files

Post by JustA_LaTeXusr »

Yes. Things were good when MiKTeK worked, but I fear that the end of (good) days have arrived. I mean, one can always update the packages manually, but chances are that things will break when you have the least time.
Post Reply