texlive[49634] Master/texmf-dist: lua-visual-debug (7jan19)
commits+karl at tug.org
commits+karl at tug.org
Mon Jan 7 23:12:53 CET 2019
Revision: 49634
http://tug.org/svn/texlive?view=revision&revision=49634
Author: karl
Date: 2019-01-07 23:12:53 +0100 (Mon, 07 Jan 2019)
Log Message:
-----------
lua-visual-debug (7jan19)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/luatex/lua-visual-debug/README.md
trunk/Master/texmf-dist/doc/luatex/lua-visual-debug/lvdebug-doc.pdf
trunk/Master/texmf-dist/doc/luatex/lua-visual-debug/lvdebug-doc.tex
trunk/Master/texmf-dist/doc/luatex/lua-visual-debug/sample-plain.pdf
trunk/Master/texmf-dist/doc/luatex/lua-visual-debug/sample.pdf
trunk/Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.lua
trunk/Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.sty
Modified: trunk/Master/texmf-dist/doc/luatex/lua-visual-debug/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/lua-visual-debug/README.md 2019-01-07 22:12:39 UTC (rev 49633)
+++ trunk/Master/texmf-dist/doc/luatex/lua-visual-debug/README.md 2019-01-07 22:12:53 UTC (rev 49634)
@@ -22,7 +22,7 @@
Copyright 2012–2019 Patrick Gundlach (<patrick at gundla.ch>) and others (see Git information)
-Package version: 0.6
+Package version: 0.7
Public repository: <https://github.com/pgundlach/lvdebug>
Modified: trunk/Master/texmf-dist/doc/luatex/lua-visual-debug/lvdebug-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/luatex/lua-visual-debug/lvdebug-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/lua-visual-debug/lvdebug-doc.tex 2019-01-07 22:12:39 UTC (rev 49633)
+++ trunk/Master/texmf-dist/doc/luatex/lua-visual-debug/lvdebug-doc.tex 2019-01-07 22:12:53 UTC (rev 49634)
@@ -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 @@
\section{Copying}
-Copyright 2012–2016 Patrick Gundlach (patrick at 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 at gundla.ch) and other authors (see Git for information), licensed under the MIT license. See the Lua file for details.
\end{document}
Modified: trunk/Master/texmf-dist/doc/luatex/lua-visual-debug/sample-plain.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/luatex/lua-visual-debug/sample.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.lua 2019-01-07 22:12:39 UTC (rev 49633)
+++ trunk/Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.lua 2019-01-07 22:12:53 UTC (rev 49634)
@@ -1,6 +1,6 @@
--- Copyright 2012 Patrick Gundlach, patrick at gundla.ch
+-- Copyright 2012-2019 Patrick Gundlach, patrick at 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 @@
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)
Modified: trunk/Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.sty
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.sty 2019-01-07 22:12:39 UTC (rev 49633)
+++ trunk/Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.sty 2019-01-07 22:12:53 UTC (rev 49634)
@@ -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 at dothings
More information about the tex-live-commits
mailing list