summaryrefslogtreecommitdiff
path: root/tex/context/modules/mkxl/m-openstreetmap.mkxl
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-10-13 17:23:54 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-10-13 17:23:54 +0200
commitcc7fcf11d31b2db23ba3adca896507f9faf128cc (patch)
treee77d461cccb9ab50aa4f83f73f1e57ece4bd732d /tex/context/modules/mkxl/m-openstreetmap.mkxl
parentb2db36adbd89b2dba9591da5fc13b4eba57d581e (diff)
downloadcontext-cc7fcf11d31b2db23ba3adca896507f9faf128cc.tar.gz
2021-10-13 16:58:00
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