summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/cont-ro.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/cont-ro.tex')
-rw-r--r--Master/texmf-dist/tex/context/base/cont-ro.tex14
1 files changed, 9 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/context/base/cont-ro.tex b/Master/texmf-dist/tex/context/base/cont-ro.tex
index ce718ab7be2..9be9b116252 100644
--- a/Master/texmf-dist/tex/context/base/cont-ro.tex
+++ b/Master/texmf-dist/tex/context/base/cont-ro.tex
@@ -25,10 +25,14 @@
\installlanguage [\s!de] [\c!state=\v!start]
\installlanguage [\s!ro] [\c!state=\v!start]
-% \setupbodyfont [cmr,ams,rm,12pt]
-%
-% \setupencoding[default=ec] \usetypescript[modern][\defaultencoding] \setupbodyfont[modern,rm,12pt]
-
-\setupencoding[default=ec] \usetypescript[fallback][\defaultencoding] \setupbodyfont[rm,12pt]
+\ifnum\texengine=\luatexengine
+ % will be runtime option: typeface
+ \appendtoks
+ \usetypescript[modern]
+ \setuptypeface[modern]
+ \to \everyjob
+\else
+ \setupencoding[default=ec] \usetypescript[fallback][\defaultencoding] \setupbodyfont[rm,12pt]
+\fi
\protect \errorstopmode \dump \endinput