summaryrefslogtreecommitdiff
path: root/tex/context/base/symb-imp-cc.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2013-03-22 12:06:00 +0100
committerHans Hagen <pragma@wxs.nl>2013-03-22 12:06:00 +0100
commitf584f7999f7c6b44675a9071eb9a8f74babf001e (patch)
tree5546820a0e150bece11c29751e29da66aa94e7a3 /tex/context/base/symb-imp-cc.mkiv
parent55d8ac3ec0aeb67874f49c09746eab5b3668a908 (diff)
downloadcontext-f584f7999f7c6b44675a9071eb9a8f74babf001e.tar.gz
beta 2013.03.22 12:06
Diffstat (limited to 'tex/context/base/symb-imp-cc.mkiv')
-rw-r--r--tex/context/base/symb-imp-cc.mkiv52
1 files changed, 52 insertions, 0 deletions
diff --git a/tex/context/base/symb-imp-cc.mkiv b/tex/context/base/symb-imp-cc.mkiv
new file mode 100644
index 000000000..6d544289b
--- /dev/null
+++ b/tex/context/base/symb-imp-cc.mkiv
@@ -0,0 +1,52 @@
+%D \module
+%D [ file=symb-imp-cc,
+%D version=2013.03.22,
+%D title=\CONTEXT\ Symbol Libraries,
+%D subtitle=Creative Commons,
+%D author=Hans Hagen,
+%D date=\currentdate,
+%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
+%C
+%C This module is part of the \CONTEXT\ macro||package and is
+%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
+%C details.
+
+\definefontfeature
+ [cc-icons]
+ [mode=base,
+ goodies=cc-icons,
+ unicoding=yes]
+
+\definefontsynonym
+ [creativecommons]
+ [cc-icons*cc-icons]
+
+\startsymbolset[cc]
+ \definesymbol [sa] [\getnamedglyphdirect{creativecommons}{sa}]
+ \definesymbol [by] [\getnamedglyphdirect{creativecommons}{by}]
+ \definesymbol [cc] [\getnamedglyphdirect{creativecommons}{cc}]
+ \definesymbol [nd] [\getnamedglyphdirect{creativecommons}{nd}]
+ \definesymbol [nc] [\getnamedglyphdirect{creativecommons}{nc}]
+ \definesymbol [sampling] [\getnamedglyphdirect{creativecommons}{sampling}]
+ \definesymbol [share] [\getnamedglyphdirect{creativecommons}{share}]
+ \definesymbol [remix] [\getnamedglyphdirect{creativecommons}{remix}]
+ \definesymbol [logo] [\getnamedglyphdirect{creativecommons}{logo}]
+
+ \definesymbol [cc-by-sa-nc] [\dontleavehmode\lower.25ex\hbox\bgroup
+ \getnamedglyphdirect{creativecommons}{cc}\enspace
+ \getnamedglyphdirect{creativecommons}{by}\enspace
+ \getnamedglyphdirect{creativecommons}{sa}\enspace
+ \getnamedglyphdirect{creativecommons}{nc}%
+ \egroup]
+
+\stopsymbolset
+
+\continueifinputfile{symb-imp-cc.mkiv}
+
+\starttext
+
+ \showsymbolset[cc]
+
+ \symbol[cc][cc-by-sa-nc]
+
+\stoptext