summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/latex-tds/patch/utf8ienc.dtx.diff
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/latex-tds/patch/utf8ienc.dtx.diff')
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/patch/utf8ienc.dtx.diff13
1 files changed, 11 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/utf8ienc.dtx.diff b/Master/texmf-dist/source/latex/latex-tds/patch/utf8ienc.dtx.diff
index de3b3832938..dc48b5e72c5 100644
--- a/Master/texmf-dist/source/latex/latex-tds/patch/utf8ienc.dtx.diff
+++ b/Master/texmf-dist/source/latex/latex-tds/patch/utf8ienc.dtx.diff
@@ -2,11 +2,20 @@
--- utf8ienc.dtx 2008-09-10 16:16:45.000000000 +0200
***************
*** 30,35 ****
---- 30,36 ----
+--- 30,45 ----
% \iffalse
%<*driver>
\documentclass{ltxdoc}
-+ \usepackage[utf8]{inputenc}
++ \usepackage{ifluatex,ifxetex}
++ \ifluatex
++ \usepackage{fontspec}
++ \else
++ \ifxetex
++ \usepackage{fontspec}
++ \else
++ \usepackage[utf8]{inputenc}
++ \fi
++ \fi
\GetFileInfo{utf8.def}
\title{Providing some UTF-8 support via \texttt{inputenc}}
\date{\fileversion\space\filedate{} printed \today}