This question is related to this Xelatex try lo load russian package if I use only ukrainian In the case of the text in Russian everything is working, but it is necessary to indicate the Ukrainian language:
\documentclass[a4paper, openright, 12pt]{extreport}
\usepackage[left=15mm,right=85mm,top=15mm,bottom=20mm]{geometry}
\usepackage[main=ukrainian,english]{babel} %% загружает пакет многоязыковой вёрстки
\usepackage{fontspec} %% подготавливает загрузку шрифтов Open Type, True Type и др.
\usepackage{indentfirst}
\usepackage{titlesec,titletoc}
\usepackage[final]{microtype}
% -------------- Настраваем шрифты -----------------------------
\setmainfont[StylisticSet=1]{Old Standard}% Основной шрифт текста
\defaultfontfeatures{Scale=MatchLowercase}
% ================ Настройка некоторых параметров =================|
\parindent=25pt %------------------------------Отступ первой строки|
% -----------------------------------------------------------------|
\clubpenalty=10000
\widowpenalty=10000
\tolerance=600
\hfuzz=0.2pt
%\makeatletter
%\renewcommand{\@chapapp}{Розділ}
%\makeatother
\overfullrule=1mm
\begin{document}
\author{Богдан Тертишний}
\title{Зимові розповіді}
\chapter{}
Але щоб ви з....
Але ми цураємось....
\end{document}
but it is necessary to set the Ukrainian language:
\usepackage[main=ukrainian,english]{babel}
I get an error
{\Ukrainian \CYRR \cyro \cyrz \cyrd \cyrii \cyrl } 1.
! LaTeX Error: Command \CYRR unavailable in encoding EU1.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.36 \chapter{}
But \chapter*{} instead \chapter{} works.
Babel-Ukrainian is installed.
