CTAN Comprehensive TeX Archive Network

New on CTAN: tex-locale

Date: August 27, 2018 9:48:44 PM CEST
Nicola Talbot submitted the tex-locale package. Version: 1.0 2018-08-26 License: lppl1.3 Summary description: Localisation support for TeX and LaTeX documents Announcement text:
This package uses both tracklang and texosquery to look up the locale information from the operating system and provide commands that can access locale-dependent infor- mation, such as the currency symbol and decimal separator. The file tex-locale.tex provides generic TeX code. The LaTeX package tex-locale.sty can additionally load babel or polyglossia with the locale's language setting, as well as various other packages such as fontspec (XeLaTeX/LuaLaTeX) or fontenc + inputenc (PDFLaTeX). LaTeX example: \documentclass{article} \usepackage{tex-locale} \begin{document} Today: \CurrentLocaleShortDate. Currency: \CurrentLocaleCurrency. \end{document} TeX example: \input tex-locale Today: \CurrentLocaleShortDate. Currency: \CurrentLocaleCurrency. \bye Note that texosquery requires the Java Runtime Environment. See the texosquery documentation for setup instructions. If you can't use TeX's piped shell escape, see the tex-locale documentation for an alternative method.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/tex-locale The package’s files themselves can be inspected at http://mirror.ctan.org/macros/generic/tex-locale/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
We are supported by the TeX users groups. Please join a users group; see https://www.tug.org/usergroups.html .

tex-locale – Localisation support for and documents

This package uses both tracklang and texosquery to look up the locale information from the operating system and provide commands that can access locale-dependent information, such as the currency symbol and decimal separator.

The file tex-locale.tex provides generic code. The package tex-locale.sty can additionally load babel or polyglossia with the locale’s language setting, as well as various other packages such as fontspec (XeLaTeX/Lua) or fontenc + inputenc (pdf).

Packagetex-locale
Version1.0 2018-08-26
Copyright2018 Nicola Talbot
MaintainerNicola Talbot

Announcements

more

Guest Book Sitemap Contact Contact Author