context-2020-svg.tex /size: 2473 b    last modification: 2021-10-28 13:50
1% language=us
2
3\usemodule[present-boring,abbreviations-logos]
4
5\startdocument
6  [title={SVG GRAPHICS},
7   banner={some demos and discussion},
8   location={context\enspace {\bf 2020}\enspace meeting}]
9
10\starttitle[title=Wrapup]
11
12\startitemize
13
14\startitem
15    It expands to for Scalable Vector Graphics.
16\stopitem
17\startitem
18    It is an example of application \XML\ turned standard.
19\stopitem
20\startitem
21    It started out simple, kind of expanded \POSTSCRIPT\ in \XML\ format.
22\stopitem
23\startitem
24    It took a while to be picked up as output format.
25\stopitem
26
27\blank[2*line]
28
29\startitem
30    In practice you get the same messy build-up as in other vector formats.
31\stopitem
32
33\startitem
34    This is a side effect of often unstructured editing. \footnote {Afterwards
35    Hraban gave a demonstration of editing in InkScape and there was some
36    discussion about this aspect}.
37\stopitem
38
39\stopitemize
40
41\stoptitle
42
43\starttitle[title=Properties]
44
45\startitemize
46
47\startitem
48    Properties can be set as attributes to an element (key/values).
49\stopitem
50\startitem
51    Properties can be set in the \type {style} attribute (semicolon separated key/values).
52\stopitem
53\startitem
54    Properties can be set via one or more \type {class} assignments.
55\stopitem
56\startitem
57    Properties can be bound to a specific element
58\stopitem
59\startitem
60    Properties can be inherited from an ancestor (somewhat vague).
61\stopitem
62\startitem
63    Properties can be redundant (nested), overloaded (parent, style), editors can
64    add their own. etc.\ \unknown\ it's kind of a mess.
65\stopitem
66
67\stopitemize
68
69\stoptitle
70
71\starttitle[title=Side effects]
72
73\startbuffer
74\usemodule[gnuplot]
75
76\externalfigure
77  [context-2020-gpdemo.gp]
78  [conversion=svg,width=4cm,
79   background=color,backgroundcolor=white]
80
81\externalfigure
82  [context-2020-gpdemo.gp]
83  [conversion=svg,width=6cm,
84   background=color,backgroundcolor=white]
85
86\scale
87  [height=4cm]
88  {\framed
89     [background=color,backgroundcolor=white]
90     {\includegnuplotsvgfile[context-2020-sin.svg]}}
91
92\stopbuffer
93
94\typebuffer
95
96\getbuffer
97
98\stoptitle
99
100\starttitle[title=Simple examples]
101
102Some examples were shown (they can be found in manuals):
103
104\starttyping
105svg-lmtx-context.lua
106svg-lmtx-microsoft.lua
107svg-lmtx-mozilla.lua
108svg-lmtx-xahlee.lua
109\stoptyping
110
111Also some examples were shown from the Math4All project.
112
113\stoptitle
114
115% \starttitle[title=Complex examples]
116%
117% \starttyping
118% temporary/svg/test*
119% \stoptyping
120%
121% \stoptitle
122
123\stopdocument
124