summaryrefslogtreecommitdiff
path: root/tex/context/base/m-ipsum.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/m-ipsum.mkiv')
-rw-r--r--tex/context/base/m-ipsum.mkiv14
1 files changed, 9 insertions, 5 deletions
diff --git a/tex/context/base/m-ipsum.mkiv b/tex/context/base/m-ipsum.mkiv
index 1fb482c43..1c5901d86 100644
--- a/tex/context/base/m-ipsum.mkiv
+++ b/tex/context/base/m-ipsum.mkiv
@@ -112,6 +112,9 @@ end
\setupipsum
[\c!file=lorem,
\c!alternative=\v!paragraph,
+ %\c!language=,
+ %\c!styl=,
+ %\c!color=,
\c!n=0,
\c!left=,
\c!right=,
@@ -124,6 +127,7 @@ end
\startsetups[handler:action:ipsum]
\useipsumstyleandcolor\c!style\c!color
+ \uselanguageparameter\ipsumparameter
\ctxlua{moduledata.ipsum.typeset {
alternative = "\ipsumparameter\c!alternative",
filename = "\ipsumparameter\c!file",
@@ -153,15 +157,15 @@ end
\starttext
- \ipsum[alternative=paragraph,before=\blank,after=\blank]
+ \ipsum[alternative=paragraph,before=\blank,after=\blank,language=la]
- \ipsum[alternative=lines,n=2,right=\par,before=\blank,after=\blank]
+ \ipsum[alternative=lines,n=2,right=\par,before=\blank,after=\blank,language=la]
- \ipsum[alternative=lines,n=random,before=\blank,after=\blank]
+ \ipsum[alternative=lines,n=random,before=\blank,after=\blank,language=la]
- \ipsum[alternative=lines,before=\startitemize,after=\stopitemize,left=\startitem,right=\stopitem]
+ \ipsum[alternative=lines,before=\startitemize,after=\stopitemize,left=\startitem,right=\stopitem,language=la]
- \ipsum[alternative=words,left=(,right=),inbetween=\space]
+ \ipsum[alternative=words,left=(,right=),inbetween=\space,language=la]
\page