Why don't you set up 2 format files, and put 1 hyphenation table in the first, Hyphenation table 2 in the second. Then you pick the format file that is most appropriate.
Paul A. Thompson On Mon, Jun 15, 2020 at 1:40 PM Igor Ya. Spectorsky <i.spector...@gmail.com> wrote: > Hello, > > I have a lot of LaTeX papers in Ukrainian, some of them prepared in DOS > code page, other ones prepared in Unicode. For DOS code page the > following encodings are used: > > \usepackage[LCY]{fontenc} > \usepackage[cp866nav]{inputenc} > \usepackage[ukrainian]{babel} > > For Uncicode, the following ones are used: > > \usepackage[T2A]{fontenc} > \usepackage[utf8]{inputenc} > \usepackage[ukrainian]{babel} > > It works well, but I need to slightly modify hyphenation file > ukrhyphen.tex and rebuild formats anytime when switch to work with paper > with another codepage. Surprisingly: babel allows to choose language > with hyphenation table and even to switch to other language inside > paper, but I cannot find the feature to have several hyphenation tables > within one language (and choose one of them) . > > So, the question: is it possible to include several (2 in my case) > hyphenation tables in the format file, and choose one of them in the > preamble of paper? > > Thanks in advance, > > Igor Spectorsky, > Kyiv, Ukraine > > > > _______________________________________________ > Q: How can I leave the mailing list? > A: See https://miktex.org/faq/how-can-i-leave-the-mailing-list > _______________________________________________ Q: How can I leave the mailing list? A: See https://miktex.org/faq/how-can-i-leave-the-mailing-list