[tex-live] Lua module 'socket.url' loading problem with getmap

Akira Kakuto kakuto at fuk.kindai.ac.jp
Mon Jul 2 16:29:11 CEST 2018


Dear Josef,

> Surprisingly, I just learned that it works if called from getmap.sty!

Thanks for the test.
I don't know lua, and I don't understand what is changed,
but I think that it is best and simplest at present to update getmapdl.lua
as follows, as stated by Ulrike:

--- getmapdl.lua.orig    Sun Oct 12 07:25:53 2014
+++ getmapdl.lua    Mon Jul 02 23:02:58 2018
@@ -10,7 +10,7 @@
--
local http = require("socket.http");
local ltn12 = require("ltn12")
-local url = require("socket.url")
+local url = socket.url or require("socket.url")

local OSMURL = "http://open.mapquestapi.com/staticmap/v4/getplacemap"
local GMURL = "http://maps.googleapis.com/maps/api/staticmap"


Thanks,
Akira



More information about the tex-live mailing list