From 099def42994e734f58871e3d32c38e3c78eb8215 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 21 Jun 2022 20:21:13 +0000 Subject: rm showhyphens, replaced by showhyphenation git-svn-id: svn://tug.org/texlive/trunk@63682 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/lualatex/showhyphens/README | 11 --- .../doc/lualatex/showhyphens/showhyphens-doc.pdf | Bin 83289 -> 0 bytes .../doc/lualatex/showhyphens/showhyphens-doc.tex | 102 --------------------- .../lualatex/showhyphens/showhyphens-sample.pdf | Bin 17790 -> 0 bytes .../tex/lualatex/showhyphens/showhyphens.sty | 68 -------------- Master/tlpkg/bin/tlpkg-ctan-check | 2 +- Master/tlpkg/libexec/ctan2tds | 1 + Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc | 1 - Master/tlpkg/tlpsrc/showhyphens.tlpsrc | 0 9 files changed, 2 insertions(+), 183 deletions(-) delete mode 100644 Master/texmf-dist/doc/lualatex/showhyphens/README delete mode 100644 Master/texmf-dist/doc/lualatex/showhyphens/showhyphens-doc.pdf delete mode 100644 Master/texmf-dist/doc/lualatex/showhyphens/showhyphens-doc.tex delete mode 100644 Master/texmf-dist/doc/lualatex/showhyphens/showhyphens-sample.pdf delete mode 100644 Master/texmf-dist/tex/lualatex/showhyphens/showhyphens.sty delete mode 100644 Master/tlpkg/tlpsrc/showhyphens.tlpsrc (limited to 'Master') diff --git a/Master/texmf-dist/doc/lualatex/showhyphens/README b/Master/texmf-dist/doc/lualatex/showhyphens/README deleted file mode 100644 index cf245e5b752..00000000000 --- a/Master/texmf-dist/doc/lualatex/showhyphens/README +++ /dev/null @@ -1,11 +0,0 @@ -The LaTeX package 'showhyphens' shows all possible hyphenation points in -the PDF output. - -Usage: - -\usepackage{showhyphens} - -Requirements: The package only works with LuaLaTeX. - -Copyright 2011-2016 Patrick Gundlach (patrick@gundla.ch), -licensed under the MIT license. See the style for details. diff --git a/Master/texmf-dist/doc/lualatex/showhyphens/showhyphens-doc.pdf b/Master/texmf-dist/doc/lualatex/showhyphens/showhyphens-doc.pdf deleted file mode 100644 index 06a175f3255..00000000000 Binary files a/Master/texmf-dist/doc/lualatex/showhyphens/showhyphens-doc.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/lualatex/showhyphens/showhyphens-doc.tex b/Master/texmf-dist/doc/lualatex/showhyphens/showhyphens-doc.tex deleted file mode 100644 index 0ec28752900..00000000000 --- a/Master/texmf-dist/doc/lualatex/showhyphens/showhyphens-doc.tex +++ /dev/null @@ -1,102 +0,0 @@ -\documentclass{ltxdockit} -\usepackage{dtklogos,csquotes,graphicx} - -\newcommand\pkgversion{0.5c} - -\titlepage{% - title={The showhyphens package}, - subtitle={Show all possible hyphenation points}, - url={(none yet)}, - author={Patrick Gundlach}, - email={patrick@gundla.ch}, - revision={\pkgversion}, - date={\today}} - -\begin{document} -\printtitlepage -\tableofcontents - -\section{Documentation} - -When you load the package \texttt{showhyphens} in your Lua\LaTeX\ document, \LaTeX\ will show all possible hyphenation points. This -package requires you to process the document with Lua\LaTeX. - -\begin{verbatim} -\documentclass{article} -\usepackage{showhyphens} - -\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. I should be -incapable of drawing a single stroke at -the present moment; and yet I feel that -I never was a greater artist than now. -\end{document} -\end{verbatim} - -yields \vspace{5mm} - -\noindent \includegraphics{showhyphens-sample} - -\section{Bugs and limitations} - -% see http://tex.stackexchange.com/q/268884 -Hyphenation points within ligatures cannot be shown correctly. The package marks the ligature with a horizontal bar on top. The hyphenation point is somewhere within the ligature. -For example \enquote{office} gives the word \enquote{office} with a horizontal bar on top of \enquote{ffi} but should show of'fice instead. -While it is possible to look inside -the ffi ligature and find out where the original hyphen character was placed -(between the first f and the following component fi), it is very hard to draw -the line indicating the hyphenation point correctly. The ffi ligature is one -opaque rectangle to the package. Drawing a line at the correct position is -pure luck, and therefore out of the scope of the package. - -\section{Options} - -\begin{optionlist} -\legitem{blue}{Shows hyphenation marker in blue, instead of red.} -\end{optionlist} - - -\section{Changes} - -\begin{changelog} -\begin{release}{0.5c}{2016-02-19} - \item Remove viz-nodelist -\end{release} -\begin{release}{0.5b}{2016-02-05} - \item Fix version number -\end{release} -\begin{release}{0.5a}{2016-02-05} - \item Remove debug message -\end{release} -\begin{release}{0.5}{2016-02-05} - \item Mark ligatures -\end{release} -\begin{release}{0.4a}{2015-09-23} - \item Documentation update. -\end{release} -\begin{release}{0.4}{2015-09-22} - \item Document limitation on ligatures. -\end{release} -\begin{release}{0.3}{2014-07-30} - \item Internal changes (node structure corrected, node ids not hard coded) -\end{release} -\begin{release}{0.2}{2012-10-25} - \item New option \enquote{blue}, thanks go to Herbert Vo\ss. -\end{release} -\end{changelog} - -\section{Copying} - -Copyright 2011-2016 Patrick Gundlach (patrick@gundla.ch), licensed under the MIT license. See the style for details. - - -\end{document} diff --git a/Master/texmf-dist/doc/lualatex/showhyphens/showhyphens-sample.pdf b/Master/texmf-dist/doc/lualatex/showhyphens/showhyphens-sample.pdf deleted file mode 100644 index 1a961538abc..00000000000 Binary files a/Master/texmf-dist/doc/lualatex/showhyphens/showhyphens-sample.pdf and /dev/null differ diff --git a/Master/texmf-dist/tex/lualatex/showhyphens/showhyphens.sty b/Master/texmf-dist/tex/lualatex/showhyphens/showhyphens.sty deleted file mode 100644 index 38d1d2603af..00000000000 --- a/Master/texmf-dist/tex/lualatex/showhyphens/showhyphens.sty +++ /dev/null @@ -1,68 +0,0 @@ -\ProvidesPackage{showhyphens}[2016/02/19 v0.5c Show hyphenation points (PGU)] -\RequirePackage{ifluatex,luatexbase} -% License: MIT style license - -% Copyright (c) 2011-2016 Patrick Gundlach patrick@gundla.ch - -% 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, -% publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do -% so, subject to the following conditions: -% -% The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -% -% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -% MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE -% FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -% WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -\def\lua@SHcolor{1 0 0}% red -\DeclareOption{blue}{\def\lua@SHcolor{0 0 1 }}% must be a rgb color -\ProcessOptions - -\ifluatex -\directlua{ -local show_hyph -local hlist_node = node.id("hlist") -local vlist_node = node.id("vlist") -local disc_node = node.id("disc") -local glyph_node = node.id("glyph") - -local function round(num) - return math.floor(num * 10^3 + 0.5) / 10^3 -end - -show_hyph = function(head) - while head do - if head.id == hlist_node or head.id == vlist_node then - show_hyph(head.list) - elseif head.id == disc_node then - if head.replace and head.replace.id == glyph_node and head.replace.components then - local wd = round(head.replace.width / 65781) or 0 - local ht = round(head.replace.height / 65781) + 0.5 or 0 - local r = node.new("whatsit","pdf_literal") - r.data = "q 0.3 w 0 " .. tostring(ht) .. " m " .. tostring(-wd) .. " " .. tostring(ht) .. " l S Q" - node.insert_after(head.replace,head.replace,r) - else - local n = node.new("whatsit","pdf_literal") - n.mode = 0 - n.data = "q \lua@SHcolor RG 0.3 w 0 2 m 0 7 l S Q" - n.next = head.next - head.next.prev = n - n.prev = head - head.next = n - head = n - end - end - head = head.next - end - return true -end - - -luatexbase.add_to_callback("post_linebreak_filter",show_hyph,"show_hyph") -} -\else -\errhelp{Please use LuaLaTeX when you require the package 'showhyphens'} -\errmessage{Package showhyphens error: This works only with LuaLaTeX!} -\fi diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 34fb05bc3c5..f0de057f87c 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -718,7 +718,7 @@ my @TLP_working = qw( sf298 sffms sfg sfmath sgame shade shadethm shadow shadowtext shapepar shapes shdoc shipunov shobhika short-math-guide shortmathj shorttoc - show2e showcharinbox showdim showexpl showhyphenation showhyphens + show2e showcharinbox showdim showexpl showhyphenation showkerning showlabels showtags shtthesis shuffle sidecap sidenotes sidenotesplus sides signchart silence sillypage diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index c09eba82f72..067838f7ade 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1268,6 +1268,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`); 'shobhika', "&MAKEflatten", 'shortlst', "die 'skipping, nosell license'", 'showexpl', "&MAKEflatten", + 'showhyphens', "die 'skipping, replaced by showhyphenation'", 'siam', "die 'skipping, nonfree license'", 'siggraph', "die 'skipping, nonfree license'", 'sikumuna', "die 'skipping, lyx template'", diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc index 1dce4fc4daa..da0ef322784 100644 --- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc @@ -1160,7 +1160,6 @@ depend show2e depend showcharinbox depend showdim depend showexpl -depend showhyphens depend showlabels depend sidecap depend sidenotes diff --git a/Master/tlpkg/tlpsrc/showhyphens.tlpsrc b/Master/tlpkg/tlpsrc/showhyphens.tlpsrc deleted file mode 100644 index e69de29bb2d..00000000000 -- cgit v1.2.3