summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-01-07 22:12:53 +0000
committerKarl Berry <karl@freefriends.org>2019-01-07 22:12:53 +0000
commit0a0336d2291164dec0f697dc2941c1bfa06069e1 (patch)
treea4434b6f1a2e5e9d017127e0b2a96c4559b6f65a /Master/texmf-dist
parent03838df8a8d0cc947a09ecb93b1d1c81d55ba73e (diff)
lua-visual-debug (7jan19)
git-svn-id: svn://tug.org/texlive/trunk@49634 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/luatex/lua-visual-debug/README.md2
-rw-r--r--Master/texmf-dist/doc/luatex/lua-visual-debug/lvdebug-doc.pdfbin211678 -> 209760 bytes
-rw-r--r--Master/texmf-dist/doc/luatex/lua-visual-debug/lvdebug-doc.tex4
-rw-r--r--Master/texmf-dist/doc/luatex/lua-visual-debug/sample-plain.pdfbin51119 -> 49093 bytes
-rw-r--r--Master/texmf-dist/doc/luatex/lua-visual-debug/sample.pdfbin45255 -> 45257 bytes
-rw-r--r--Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.lua6
-rw-r--r--Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.sty8
7 files changed, 10 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/luatex/lua-visual-debug/README.md b/Master/texmf-dist/doc/luatex/lua-visual-debug/README.md
index ad82c5a9366..a45bbcb16e6 100644
--- a/Master/texmf-dist/doc/luatex/lua-visual-debug/README.md
+++ b/Master/texmf-dist/doc/luatex/lua-visual-debug/README.md
@@ -22,7 +22,7 @@ Requirements: The package has only been tested with LuaTeX and
Copyright 2012–2019 Patrick Gundlach (<patrick@gundla.ch>) and others (see Git information)
-Package version: 0.6
+Package version: 0.7
Public repository: <https://github.com/pgundlach/lvdebug>
diff --git a/Master/texmf-dist/doc/luatex/lua-visual-debug/lvdebug-doc.pdf b/Master/texmf-dist/doc/luatex/lua-visual-debug/lvdebug-doc.pdf
index 5fd0644ee5e..71b2936a293 100644
--- a/Master/texmf-dist/doc/luatex/lua-visual-debug/lvdebug-doc.pdf
+++ b/Master/texmf-dist/doc/luatex/lua-visual-debug/lvdebug-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/luatex/lua-visual-debug/lvdebug-doc.tex b/Master/texmf-dist/doc/luatex/lua-visual-debug/lvdebug-doc.tex
index 50ba8972794..c87c2b49a44 100644
--- a/Master/texmf-dist/doc/luatex/lua-visual-debug/lvdebug-doc.tex
+++ b/Master/texmf-dist/doc/luatex/lua-visual-debug/lvdebug-doc.tex
@@ -1,6 +1,6 @@
\documentclass{article}
\usepackage{graphicx,listings,lmodern,luatextra}
-\newcommand\pkgversion{0.6}
+\newcommand\pkgversion{0.7}
\newcommand*\pgsmall{\fontsize{8.5}{8.7}\selectfont\ttfamily}
\lstset{basicstyle=\pgsmall,
@@ -64,7 +64,7 @@ A strut box (zero width box) is marked with a red rule:
\section{Copying}
-Copyright 2012–2016 Patrick Gundlach (patrick@gundla.ch) and other authors (see Git for information), licensed under the MIT license. See the Lua file for details.
+Copyright 2012–2019 Patrick Gundlach (patrick@gundla.ch) and other authors (see Git for information), licensed under the MIT license. See the Lua file for details.
\end{document}
diff --git a/Master/texmf-dist/doc/luatex/lua-visual-debug/sample-plain.pdf b/Master/texmf-dist/doc/luatex/lua-visual-debug/sample-plain.pdf
index 817343c454b..2aaafad75f1 100644
--- a/Master/texmf-dist/doc/luatex/lua-visual-debug/sample-plain.pdf
+++ b/Master/texmf-dist/doc/luatex/lua-visual-debug/sample-plain.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/luatex/lua-visual-debug/sample.pdf b/Master/texmf-dist/doc/luatex/lua-visual-debug/sample.pdf
index 1029566cae9..81cf4fc2230 100644
--- a/Master/texmf-dist/doc/luatex/lua-visual-debug/sample.pdf
+++ b/Master/texmf-dist/doc/luatex/lua-visual-debug/sample.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.lua b/Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.lua
index a933706b3d1..b6fb5907c9a 100644
--- a/Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.lua
+++ b/Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.lua
@@ -1,6 +1,6 @@
--- Copyright 2012 Patrick Gundlach, patrick@gundla.ch
+-- Copyright 2012-2019 Patrick Gundlach, patrick@gundla.ch
-- Public repository: https://github.com/pgundlach/lvdebug (issues/pull requests,...)
--- Version: 0.6
+-- Version: 0.7
-- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the
-- "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge,
@@ -149,7 +149,7 @@ function show_page_elements(parent)
local color = "1 g"
local rectangle = node.new("whatsit","pdf_literal")
if head.penalty < 10000 then
- color = string.format("%d g", 1 - head.penalty / 10000)
+ color = string.format("%d g", 1 - math.floor(head.penalty / 10000))
end
rectangle.data = string.format("q %s 0 w 0 0 1 1 re B Q",color)
parent.list = node.insert_before(parent.list,head,rectangle)
diff --git a/Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.sty b/Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.sty
index 35cd17380e1..9d5b22337a3 100644
--- a/Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.sty
+++ b/Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.sty
@@ -1,9 +1,9 @@
% see lua file for copyright information (MIT License)
-\def\lvdebugpkgdate{2019/01/04}
-\def\lvdebugpkgversion{0.6}
+\def\lvdebugpkgdate{2019/01/07}
+\def\lvdebugpkgversion{0.7}
-\expandafter\ifx\csname ProvidesPackage\endcsname\relax
+\ifx\ProvidesPackage\undefined
\input ifluatex.sty\relax
\else
\NeedsTeXFormat{LaTeX2e}
@@ -16,7 +16,7 @@
\AtBeginShipout {\directlua{lvd.show_page_elements(tex.box["AtBeginShipoutBox"])}}%
}
-\expandafter\ifx\csname ProvidesPackage\endcsname\relax
+\ifx\ProvidesPackage\undefined
\ifluatex
\input atbegshi.sty\relax
\luavisualdebug@dothings