diff --git a/example/mu/Makefile b/example/mu/Makefile index f64a72d9a2d5a26e38ce40c1a4aff6f6b7d9c9bf..4e78e982c4f157fb3410a509467232d601d10fd0 100644 --- a/example/mu/Makefile +++ b/example/mu/Makefile @@ -24,21 +24,11 @@ all: $(OUTPUT) clean # This target typesets a pdfLaTeX example. %-pdflatex.pdf: %-pdflatex.tex example.bib example-terms-abbrs.tex - $(PDFLATEX) $< # The initial typesetting. - biber $(basename $<).bcf - $(PDFLATEX) $< # Update the index after the bibliography insertion. - texindy -I latex -C utf8 -L english $(basename $<).idx - $(PDFLATEX) $< # The final typesetting, now also with index. - $(PDFLATEX) $< + latexmk -pdf -Werror $< # This target typesets a LuaLaTeX example. %-lualatex.pdf: %-lualatex.tex example.bib example-terms-abbrs.tex - $(LUALATEX) $< # The initial typesetting. - biber $(basename $<).bcf - $(LUALATEX) $< # Update the index after the bibliography insertion. - texindy -I latex -C utf8 -L english $(basename $<).idx - $(LUALATEX) $< # The final typesetting, now also with index. - $(LUALATEX) $< + latexmk -lualatex -Werror $< # This target removes any auxiliary files. clean: diff --git a/example/mu/example.dtx b/example/mu/example.dtx index 9ba741c80ec9b7a57f99bd606dfc4fc2e4793793..43a08b814a5fc0977caaa37d7b1eec2d4f6d06fe 100644 --- a/example/mu/example.dtx +++ b/example/mu/example.dtx @@ -49,34 +49,25 @@ main=english, %% By using `czech` or `slovak` as the main locale %% instead of `english`, you can typeset the thesis %% in either Czech or Slovak, respectively. - english, german, russian, czech, slovak %% The additional keys allow + english, german, czech, slovak %% The additional keys allow ]{babel} %% foreign texts to be typeset as follows: %% %% \begin{otherlanguage}{german} ... \end{otherlanguage} -%% \begin{otherlanguage}{russian} ... \end{otherlanguage} %% \begin{otherlanguage}{czech} ... \end{otherlanguage} %% \begin{otherlanguage}{slovak} ... \end{otherlanguage} %% -%% For non-Latin scripts, it may be necessary to load additional -%% fonts: -\usepackage{paratype} -\def\textrussian#1{{\usefont{T2A}{PTSerif-TLF}{m}{rm}#1}} %</pdftex> %<*luatex> \usepackage{polyglossia} %% By using `czech` or `slovak` as the \setmainlanguage{english} %% main locale instead of `english`, you %% can typeset the thesis in either Czech or Slovak, respectively. -\setotherlanguages{german, russian, czech, slovak} %% The -%% additional keys allow foreign texts to be typeset as follows: +\setotherlanguages{german, czech, slovak} %% The additional keys +%% allow foreign texts to be typeset as follows: %% %% \begin{otherlanguage}{german} ... \end{otherlanguage} -%% \begin{otherlanguage}{russian} ... \end{otherlanguage} %% \begin{otherlanguage}{czech} ... \end{otherlanguage} %% \begin{otherlanguage}{slovak} ... \end{otherlanguage} %% -%% For non-Latin scripts, it may be necessary to load additional -%% fonts: -\newfontfamily\russianfont[Script=Cyrillic,Ligatures=TeX]{PT Serif} %</luatex> %% %% The following section sets up the metadata of the thesis. @@ -600,22 +591,6 @@ zu schreiben. Wenn alles gut geht, bekomme ich bald ein Diplom. WĂĽnsch mir GlĂĽck! \end{otherlanguage} -%<*luatex> -\begin{otherlanguage}{russian} -%</luatex> -%<*pdftex> -\begin{otherlanguage}{russian}\textrussian{% -%</pdftex> -Говорят, что Ń‚ĐµĐ·Đ¸Ń -- ŃŤŃ‚Đľ \enquote{ĐşŃльминация обŃчения}. ĐźĐľŃŤŃ‚ĐľĐĽŃ -ŃŹ и реŃил напиŃĐ°Ń‚ŃŚ ŃобŃтвенный тезиŃ. Đ•Ńли вŃŃ‘ Ńработает по планŃ, -ŃŹ Ńкоро полŃŃ‡Ń Đ´Đ¸ĐżĐ»ĐľĐĽ. Желайте мне Ńдачи! -%<*luatex> -\end{otherlanguage} -%</luatex> -%<*pdftex> -}\end{otherlanguage} -%</pdftex> - \chapter{Using lightweight markup} %<*pdftex> \shorthandoff{-} diff --git a/style/mu/base.dtx b/style/mu/base.dtx index d9cf5a35b59944e1a237cf7be2de6b96f25d5640..cf0045f41fdc75742e238ddf1838e7c657941f88 100644 --- a/style/mu/base.dtx +++ b/style/mu/base.dtx @@ -275,7 +275,7 @@ % \textsf{microtype} package gets loaded. % \begin{macrocode} \ifthesis@microtype@ - \thesis@require[final,babel]{microtype} + \thesis@require[final,babel,nopatch=item]{microtype} \fi % \end{macrocode} % Using the |\ifxetex| and |\ifluatex| conditionals, a compound