From 56ca78224fc5998bdbafd36c1861af1323d7715d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 22 Feb 2012 23:35:00 +0000 Subject: new lualatex package lua-visual-debug (22feb12) git-svn-id: svn://tug.org/texlive/trunk@25475 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/lualatex/lua-visual-debug/README | 15 +++++++ .../doc/lualatex/lua-visual-debug/lvdebug-doc.pdf | Bin 0 -> 99300 bytes .../doc/lualatex/lua-visual-debug/lvdebug-doc.tex | 48 +++++++++++++++++++++ .../lualatex/lua-visual-debug/lvdebug-sample.pdf | Bin 0 -> 46233 bytes .../doc/lualatex/lua-visual-debug/sample.tex | 26 +++++++++++ 5 files changed, 89 insertions(+) create mode 100644 Master/texmf-dist/doc/lualatex/lua-visual-debug/README create mode 100644 Master/texmf-dist/doc/lualatex/lua-visual-debug/lvdebug-doc.pdf create mode 100644 Master/texmf-dist/doc/lualatex/lua-visual-debug/lvdebug-doc.tex create mode 100644 Master/texmf-dist/doc/lualatex/lua-visual-debug/lvdebug-sample.pdf create mode 100644 Master/texmf-dist/doc/lualatex/lua-visual-debug/sample.tex (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/lualatex/lua-visual-debug/README b/Master/texmf-dist/doc/lualatex/lua-visual-debug/README new file mode 100644 index 00000000000..ffec4835ed8 --- /dev/null +++ b/Master/texmf-dist/doc/lualatex/lua-visual-debug/README @@ -0,0 +1,15 @@ +The LaTeX package 'lua-visual-debug' shows boxes, glues, kerns and +penalties in the PDF output. + +Usage: + +\usepackage{lua-visual-debug} + +Requirements: The package only works with LuaLaTeX. + With other engines, a warning message will be shown. + +Copyright 2012 Patrick Gundlach (patrick@gundla.ch) +Public repository: https://github.com/pgundlach/lvdebug +Licensed under the MIT license. See the Lua file for details. +The idea is heavily inspired by Hans Hagen's http://pragma-ade.com/articles/art-visi.pdf + diff --git a/Master/texmf-dist/doc/lualatex/lua-visual-debug/lvdebug-doc.pdf b/Master/texmf-dist/doc/lualatex/lua-visual-debug/lvdebug-doc.pdf new file mode 100644 index 00000000000..8991337eb24 Binary files /dev/null and b/Master/texmf-dist/doc/lualatex/lua-visual-debug/lvdebug-doc.pdf differ diff --git a/Master/texmf-dist/doc/lualatex/lua-visual-debug/lvdebug-doc.tex b/Master/texmf-dist/doc/lualatex/lua-visual-debug/lvdebug-doc.tex new file mode 100644 index 00000000000..f57fb7c539d --- /dev/null +++ b/Master/texmf-dist/doc/lualatex/lua-visual-debug/lvdebug-doc.tex @@ -0,0 +1,48 @@ +\documentclass{article} +\usepackage{graphics} +\newcommand\LuaLaTeX{Lua\LaTeX} + +\begin{document} +\section{Documentation} + +When you load the package \texttt{lua-visual-debug} in your \LuaLaTeX\ document, \LaTeX\ will highlight boxes, penalties, glues and kerns in the PDF. This package requires you to process the document with \LuaLaTeX. + +\begin{verbatim} +\documentclass{article} +\usepackage{lua-visual-debug} + +\listfiles +\setlength\textwidth{300pt} +\setlength\textheight{10cm} + +\begin{document} + +A wonderful serenity has taken possession of my entire soul, like these sweet +mornings of spring which I enjoy with my whole heart. I am alone, and feel the +charm of existence in this spot, which was created for the bliss of souls like +mine. I am so happy, my dear friend, so absorbed in the exquisite sense of mere +tranquil existence, that I neglect my talents. + + +\bgroup\fontsize{30}{34}\selectfont +\centerline{\TeX} +\egroup + +\vbox{\strut Hello}\kern .5cm\vbox{\strut World} + +\[ e=mc^2 \] + +\includegraphics[width=4cm]{cow} +\end{document} +\end{verbatim} + +yields \vspace{5mm} + +\noindent \includegraphics{lvdebug-sample.pdf} + +\section{Copying} + +Copyright 2012 Patrick Gundlach (patrick@gundla.ch), licensed under the MIT license. See the Lua file for details. + + +\end{document} diff --git a/Master/texmf-dist/doc/lualatex/lua-visual-debug/lvdebug-sample.pdf b/Master/texmf-dist/doc/lualatex/lua-visual-debug/lvdebug-sample.pdf new file mode 100644 index 00000000000..3c011d86e48 Binary files /dev/null and b/Master/texmf-dist/doc/lualatex/lua-visual-debug/lvdebug-sample.pdf differ diff --git a/Master/texmf-dist/doc/lualatex/lua-visual-debug/sample.tex b/Master/texmf-dist/doc/lualatex/lua-visual-debug/sample.tex new file mode 100644 index 00000000000..44be4b744ad --- /dev/null +++ b/Master/texmf-dist/doc/lualatex/lua-visual-debug/sample.tex @@ -0,0 +1,26 @@ +\documentclass{article} +\usepackage{lua-visual-debug} + +\listfiles +\setlength\textwidth{300pt} +\setlength\textheight{10cm} + +\begin{document} + +A wonderful serenity has taken possession of my entire soul, like these sweet +mornings of spring which I enjoy with my whole heart. I am alone, and feel the +charm of existence in this spot, which was created for the bliss of souls like +mine. I am so happy, my dear friend, so absorbed in the exquisite sense of mere +tranquil existence, that I neglect my talents. + + +\bgroup\fontsize{30}{34}\selectfont +\centerline{\TeX} +\egroup + +\vbox{\strut Hello}\kern .5cm\vbox{\strut World} + +\[ e=mc^2 \] + +%\includegraphics[width=4cm]{cow} +\end{document} -- cgit v1.2.3