summaryrefslogtreecommitdiff
path: root/macros/luatex/latex/luahttp
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/latex/luahttp')
-rw-r--r--macros/luatex/latex/luahttp/README.md2
-rw-r--r--macros/luatex/latex/luahttp/luahttp-display.lua (renamed from macros/luatex/latex/luahttp/display.lua)2
-rw-r--r--macros/luatex/latex/luahttp/luahttp-doc.pdfbin132528 -> 135232 bytes
-rw-r--r--macros/luatex/latex/luahttp/luahttp-doc.tex1
-rw-r--r--macros/luatex/latex/luahttp/luahttp-fetch.lua (renamed from macros/luatex/latex/luahttp/fetch.lua)0
-rw-r--r--macros/luatex/latex/luahttp/luahttp.sty4
6 files changed, 5 insertions, 4 deletions
diff --git a/macros/luatex/latex/luahttp/README.md b/macros/luatex/latex/luahttp/README.md
index 563992c77a..e1a144bccf 100644
--- a/macros/luatex/latex/luahttp/README.md
+++ b/macros/luatex/latex/luahttp/README.md
@@ -1,5 +1,5 @@
# README for LUAHTTP
-Version 1.0
+Version 1.0.1
## INTRODUCTION
This is a small package that provides five commands to make HTTP requests using Lua and LuaTeX. Functionalities include API calls, fetching RSS feeds and the possibility to include images using a link. These commands run during the compilation of the PDF-Document and may require user interaction.
diff --git a/macros/luatex/latex/luahttp/display.lua b/macros/luatex/latex/luahttp/luahttp-display.lua
index f7c25f7349..1a41cfb22c 100644
--- a/macros/luatex/latex/luahttp/display.lua
+++ b/macros/luatex/latex/luahttp/luahttp-display.lua
@@ -7,7 +7,7 @@ local moduleName = display
local M = {}
---------- Dependencies ------------------------
-local fetch = require("fetch")
+local fetch = require("luahttp-fetch")
---------- Local variables ---------------------
local tmp_image_counter = 0 -- Counter for image names
diff --git a/macros/luatex/latex/luahttp/luahttp-doc.pdf b/macros/luatex/latex/luahttp/luahttp-doc.pdf
index 99e690688a..1063d5b333 100644
--- a/macros/luatex/latex/luahttp/luahttp-doc.pdf
+++ b/macros/luatex/latex/luahttp/luahttp-doc.pdf
Binary files differ
diff --git a/macros/luatex/latex/luahttp/luahttp-doc.tex b/macros/luatex/latex/luahttp/luahttp-doc.tex
index fba575a478..210c12a26e 100644
--- a/macros/luatex/latex/luahttp/luahttp-doc.tex
+++ b/macros/luatex/latex/luahttp/luahttp-doc.tex
@@ -20,6 +20,7 @@
\title{The \textsf{LuaHTTP} package}
\author{Johannes Casaburi \\ \texttt{johannes.casaburi@protonmail.com}}
+\date{\today\\Version 1.0.1}
\maketitle
diff --git a/macros/luatex/latex/luahttp/fetch.lua b/macros/luatex/latex/luahttp/luahttp-fetch.lua
index c39997173d..c39997173d 100644
--- a/macros/luatex/latex/luahttp/fetch.lua
+++ b/macros/luatex/latex/luahttp/luahttp-fetch.lua
diff --git a/macros/luatex/latex/luahttp/luahttp.sty b/macros/luatex/latex/luahttp/luahttp.sty
index 226c234d0f..627687f3cb 100644
--- a/macros/luatex/latex/luahttp/luahttp.sty
+++ b/macros/luatex/latex/luahttp/luahttp.sty
@@ -16,7 +16,7 @@
% This work consists of the files luahttp.sty, display.lua and fetch.lua.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{luahttp}[LuaHTTP Package, Version 1.0]
+\ProvidesPackage{luahttp}[LuaHTTP Package, Version 1.0.1]
\RequirePackage{ifluatex}
\RequirePackage{url}
@@ -28,7 +28,7 @@
version = 5.3
package.path = 'lua_modules/share/lua/' .. version .. '/?.lua;lua_modules/share/lua/' .. version .. '/?/init.lua;' .. package.path
package.cpath = 'lua_modules/lib/lua/' .. version .. '/?.so;' .. package.cpath
- display = require("display")
+ display = require("luahttp-display")
}
% \fetchJson{URL}[optional: "key1,key2,.."]