summaryrefslogtreecommitdiff
path: root/context/data
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-10-07 01:40:15 +0300
committerMarius <mariausol@gmail.com>2011-10-07 01:40:15 +0300
commit8867aebf22f20d09cbc1f9f80ba430de336de9b1 (patch)
tree1485aa1e6d590ce74e7dcb950dfe19f770a0226d /context/data
parentd81ec60866639455ef2dd726e340a4313b7e2c8a (diff)
downloadcontext-8867aebf22f20d09cbc1f9f80ba430de336de9b1.tar.gz
beta 2011.10.07 00:40
Diffstat (limited to 'context/data')
-rw-r--r--context/data/scite/scite-context-visual.pdfbin0 -> 19869 bytes
-rw-r--r--context/data/scite/scite-context-visual.pngbin0 -> 213032 bytes
-rw-r--r--context/data/scite/scite-context-visual.tex47
3 files changed, 47 insertions, 0 deletions
diff --git a/context/data/scite/scite-context-visual.pdf b/context/data/scite/scite-context-visual.pdf
new file mode 100644
index 000000000..e7fffdfb7
--- /dev/null
+++ b/context/data/scite/scite-context-visual.pdf
Binary files differ
diff --git a/context/data/scite/scite-context-visual.png b/context/data/scite/scite-context-visual.png
new file mode 100644
index 000000000..aaf35e5e2
--- /dev/null
+++ b/context/data/scite/scite-context-visual.png
Binary files differ
diff --git a/context/data/scite/scite-context-visual.tex b/context/data/scite/scite-context-visual.tex
new file mode 100644
index 000000000..e4f22ea36
--- /dev/null
+++ b/context/data/scite/scite-context-visual.tex
@@ -0,0 +1,47 @@
+% language=uk
+
+\defineframedtext
+ [entry]
+
+\starttext
+
+\startchapter[title=Some fancy title]
+
+ \startluacode
+ local entries = { -- there can be more
+ { text = "The third entry!" },
+ { text = "The fourth entry!" },
+ }
+
+ for i=1,#entries do
+ context.startentry()
+ context(entries[i].text)
+ context.stopentry()
+ end
+ \stopluacode
+
+ This is just some text to demonstrate the realtime spellchecker
+ in combination with the embedded lua and metapost lexers and
+ inline as well as display \ctxlua{context("lua code")}.
+
+ \startlinecorrection
+ \startMPcode
+ for i=1 upto 100 :
+ draw fullcircle scaled (i*mm) ;
+ endfor ;
+ \stopMPcode
+ \stoplinecorrection
+
+ \iftrue
+ \def\crap{some text} % who cares
+ \else
+ \def\crap{some crap} % about this
+ \fi
+
+ \blank[2*big]
+
+ \crap
+
+\stopchapter
+
+\stoptext