texlive[42764] Master/texmf-dist: xellipsis (21dec16)

commits+karl at tug.org commits+karl at tug.org
Wed Dec 21 23:12:56 CET 2016


Revision: 42764
          http://tug.org/svn/texlive?view=revision&revision=42764
Author:   karl
Date:     2016-12-21 23:12:56 +0100 (Wed, 21 Dec 2016)
Log Message:
-----------
xellipsis (21dec16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/xellipsis/CHANGES
    trunk/Master/texmf-dist/doc/latex/xellipsis/xellipsis.pdf
    trunk/Master/texmf-dist/source/latex/xellipsis/xellipsis.dtx
    trunk/Master/texmf-dist/tex/latex/xellipsis/xellipsis.sty

Modified: trunk/Master/texmf-dist/doc/latex/xellipsis/CHANGES
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xellipsis/CHANGES	2016-12-21 21:46:47 UTC (rev 42763)
+++ trunk/Master/texmf-dist/doc/latex/xellipsis/CHANGES	2016-12-21 22:12:56 UTC (rev 42764)
@@ -1,3 +1,9 @@
+18 December 1200 (20 December 2016):  Ellipses were able to
+start lines, which shouldn't happen; fixed that.  Added
+command \xelipend, which eliminates closing spaces for the
+situation in which the ellipsis is immediately followed by
+punctuation.  Version 1.2.
+
 12 November 1200 (14 November 2016):  Fixed a bug in how
 \xelip behaved at the beginning of an environment.
 Specifically, it was set before paragraph mode began.  A

Modified: trunk/Master/texmf-dist/doc/latex/xellipsis/xellipsis.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/xellipsis/xellipsis.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/xellipsis/xellipsis.dtx	2016-12-21 21:46:47 UTC (rev 42763)
+++ trunk/Master/texmf-dist/source/latex/xellipsis/xellipsis.dtx	2016-12-21 22:12:56 UTC (rev 42764)
@@ -26,7 +26,7 @@
 
 % \iffalse
 %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-%<package>\ProvidesPackage{xellipsis}[2015/11/01 v1.1 support for highly configurable ellipses of arbitrary symbol, number, and distance]
+%<package>\ProvidesPackage{xellipsis}[2015/11/01 v1.2 support for highly configurable ellipses of arbitrary symbol, number, and distance]
 %<*driver>
 \documentclass{ltxdoc}
 
@@ -38,7 +38,8 @@
 	\renewcommand{\LettrineFontHook}{\color{red}}
 \usepackage{url}
 \usepackage{spverbatim}
-\usepackage[nocounters]{dozenal}
+\usepackage[typeone]{dozenal}
+\usepackage{lmodern}
 \usepackage[]{xellipsis}
 \usepackage[colorlinks]{hyperref}
 \usepackage{makeidx}
@@ -66,7 +67,7 @@
 \end{document}
 %</driver> \fi
 %
-% \title{The |xellipsis| Package, v1.1} \author{Donald P.\
+% \title{The |xellipsis| Package, v1.2} \author{Donald P.\
 % Goodman III} \date{\today}
 %
 % \maketitle
@@ -214,6 +215,21 @@
 %		}
 %	\end{quote}
 %
+% Finally, there is a special command
+% \DescribeMacro{\xelipend}|\xelipend|.  This is identical
+% to |\xelip| except that the closing space is omitted.
+%
+%	\begin{quote}
+% 		``This is pretty neat\xelipend'' (|\xelipend|)
+%
+% 		``This is pretty neat\xelip'' (|\xelip|)
+%	\end{quote}
+%
+% |\xelipend| is primarily useful immediately preceding some
+% quoting character; some people prefer there to be no or
+% much more limited spacing in this location.  Use
+% |\xelipend| if you prefer this type of behavior.
+%
 % \section{The Nitty-Gritty:  Configuration}
 % \label{sect:nittygritty}
 %
@@ -384,7 +400,7 @@
 % }
 % \bigskip
 %
-% Please be aware that these |\xelippreaft| \emph{stacks}
+% Please be aware that |\xelippreaft| \emph{stacks}
 % with |\xelipbef|, and |\xelippostbef| stacks with
 % |\xelipaft|; so their sum should be the spacing you want.
 % Often this means simply leaving the two of them alone, as
@@ -458,7 +474,7 @@
 % way we can be sure that it won't break across lines.
 %    \begin{macrocode}
 \def\xelip{%
-	\hskip0pt\hbox{%
+	\nobreak\hskip0pt\hbox{%
 %    \end{macrocode}
 % Put it the code for the |\xelipprechar| and its spacing:
 %    \begin{macrocode}
@@ -489,6 +505,17 @@
 	}%
 }%
 %    \end{macrocode}
+% Set up a special command, |\xelipend|, which omits the
+% spacing at the end and can be used immediately before
+% quotations or the like.
+%    \begin{macrocode}
+\def\xelipend{%
+	\begingroup%
+	\xelipaft=0pt
+	\xelip%
+	\endgroup%
+}%
+% 
 % Set up the |latex| option.
 %    \begin{macrocode}
 \ifxel at latex

Modified: trunk/Master/texmf-dist/tex/latex/xellipsis/xellipsis.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/xellipsis/xellipsis.sty	2016-12-21 21:46:47 UTC (rev 42763)
+++ trunk/Master/texmf-dist/tex/latex/xellipsis/xellipsis.sty	2016-12-21 22:12:56 UTC (rev 42764)
@@ -26,7 +26,7 @@
 %% derived files xellipsis.sty and xellipsis.pdf.
 
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
-\ProvidesPackage{xellipsis}[2015/11/01 v1.1 support for highly configurable ellipses of arbitrary symbol, number, and distance]
+\ProvidesPackage{xellipsis}[2015/11/01 v1.2 support for highly configurable ellipses of arbitrary symbol, number, and distance]
 \newif\ifxel at latex\xel at latexfalse
 \newif\ifxel at chicago\xel at chicagofalse
 \newif\ifxel at oldmla\xel at oldmlafalse
@@ -51,7 +51,7 @@
 \def\xelippostchar{}
 \newcount\xel at loopi\xel at loopi = 0%
 \def\xelip{%
-\hskip0pt\hbox{%
+\nobreak\hskip0pt\hbox{%
 \hskip\xelipprebef\xelipprechar\hskip\xelippreaft%
 \hskip\xelipbef\xelipchar%
 \xel at loopi = 1%
@@ -64,6 +64,12 @@
 \hskip\xelippostbef\xelippostchar\hskip\xelippostaft%
 }%
 }%
+\def\xelipend{%
+\begingroup%
+\xelipaft=0pt
+\xelip%
+\endgroup%
+}%
 \ifxel at latex
 \xelipbef=0pt%
 \xelipaft=\fontdimen3\font%



More information about the tex-live-commits mailing list