summaryrefslogtreecommitdiff
path: root/tex/context/modules/mkxl/m-openstreetmap.mkxl
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/modules/mkxl/m-openstreetmap.mkxl')
-rw-r--r--tex/context/modules/mkxl/m-openstreetmap.mkxl6
1 files changed, 6 insertions, 0 deletions
diff --git a/tex/context/modules/mkxl/m-openstreetmap.mkxl b/tex/context/modules/mkxl/m-openstreetmap.mkxl
index f663bfd36..29cf8eada 100644
--- a/tex/context/modules/mkxl/m-openstreetmap.mkxl
+++ b/tex/context/modules/mkxl/m-openstreetmap.mkxl
@@ -67,6 +67,8 @@
% We can define them global, in which case we can check for actually
% used colors.
+\startbuffer[osm:colors]
+
\definecolor[osm:aerialway:station] [osm:unknown]
\definecolor[osm:aeroway:runway] [osm:unknown]
@@ -306,6 +308,10 @@
\definecolor[osm:waterway:wadi] [osm:waterway]
\definecolor[osm:waterway:weir] [osm:waterway]
+\stopbuffer
+
+\getbuffer[osm:colors]
+
\registerctxluafile{m-openstreetmap}{autosuffix}
\startMPdefinitions