texlive[50188] Master/texmf-dist: tabto-ltx (1mar19)

commits+karl at tug.org commits+karl at tug.org
Fri Mar 1 23:26:10 CET 2019


Revision: 50188
          http://tug.org/svn/texlive?view=revision&revision=50188
Author:   karl
Date:     2019-03-01 23:26:09 +0100 (Fri, 01 Mar 2019)
Log Message:
-----------
tabto-ltx (1mar19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/tabto-ltx/tabto-doc.pdf
    trunk/Master/texmf-dist/doc/latex/tabto-ltx/tabto-doc.tex
    trunk/Master/texmf-dist/tex/latex/tabto-ltx/tabto.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/tabto-ltx/README

Added: trunk/Master/texmf-dist/doc/latex/tabto-ltx/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tabto-ltx/README	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tabto-ltx/README	2019-03-01 22:26:09 UTC (rev 50188)
@@ -0,0 +1,23 @@
+tabto.sty
+version 1.4  (Dec 2018)
+
+Tabbing to fixed positions in a paragraph.
+
+Copyright 2006,2009,2012,2013,2018 by 
+Donald Arseneau,   Vancouver, Canada (asnd at triumf.ca)
+License: LPPL ver 1.3 or later
+LPPL maintenance status `maintained' (by author).
+
+Two new text positioning commands are defined: \tabto and \tab.
+ 
+\tabto{<length>} and \tabto*{<length>}
+Tab to a specified position relative to the left margin in a paragraph
+They differ when the text on the line already goes past the desired
+position: \tabto gives a line break whereas \tabto* backspaces.
+
+\tab
+Tab to the next tab-stop chosen from a list of tab positions, in
+the traditional style of typewriters. The tab-stop positions are 
+declared using either \TabPositions{<length>, <length>,...<length>}
+or \NumTabs{<number>}.
+


Property changes on: trunk/Master/texmf-dist/doc/latex/tabto-ltx/README
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/tabto-ltx/tabto-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/tabto-ltx/tabto-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tabto-ltx/tabto-doc.tex	2019-03-01 22:25:46 UTC (rev 50187)
+++ trunk/Master/texmf-dist/doc/latex/tabto-ltx/tabto-doc.tex	2019-03-01 22:26:09 UTC (rev 50188)
@@ -19,9 +19,9 @@
 
 \begin{document}
 \title{The \Package{tabto} package}
-\author{Donald Arseneau\thanks{Documentation file assembled by Robin
-    Fairbairns}}
-\date{Mar 2013, version 1.3}
+\author{Donald Arseneau\thanks{Thanks to Robin
+    Fairbairns for making typeset documentation.}}
+\date{Dec 2018, version 1.4}
 \maketitle
 
 \section*{Tabbing to fixed positions in a paragraph}
@@ -48,8 +48,10 @@
 of the existing text on the line, and it may be used in the
 \meta{length} argument (using calc.sty, for example). Also, there
 is \cs{TabPrevPos} which stores the \cs{CurrentLineWidth} from the
-previous tab command, and can be used to return to that position
-if no line breaks have occurred in between.
+previous tab command (the position where the tab command occurred,
+not where it went to), and can be used to return to that position
+if no line breaks have occurred in between, or directly below it,
+if there were line breaks.
 
 \prototype{\cs{tab}}
 

Modified: trunk/Master/texmf-dist/tex/latex/tabto-ltx/tabto.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tabto-ltx/tabto.sty	2019-03-01 22:25:46 UTC (rev 50187)
+++ trunk/Master/texmf-dist/tex/latex/tabto-ltx/tabto.sty	2019-03-01 22:26:09 UTC (rev 50188)
@@ -1,10 +1,10 @@
 % tabto.sty
 %
-% version 1.3  (Mar 2013)
+% version 1.4  (Dec 2018)
 %
 % Tabbing to fixed positions in a paragraph.
 %
-% Copyright 2006,2009,2012,2013 by 
+% Copyright 2006,2009,2012,2013,2018 by 
 % Donald Arseneau,   Vancouver, Canada (asnd at triumf.ca)
 % Permission to use, distribute and modify this software is granted
 % under the conditions of the LaTeX Project Public License, either 
@@ -33,8 +33,10 @@
 % of the existing text on the line, and it may be used in the
 % <length> argument (using calc.sty, for example). Also, there
 % is "\TabPrevPos" which gives the "\CurrentLineWidth" from the
-% previous tab command, and can be used to return to that position
-% if no line breaks have occurred in between.
+% previous tab command (the position where the tab command occurred,
+% not where it went to), and can be used to return to that position
+% if no line breaks have occurred in between, or directly below it,
+% if there were line breaks.
 %
 % \tab
 % Tab to the next tab-stop chosen from a list of tab positions, in
@@ -74,11 +76,11 @@
 % Tall objects after a tab stop may overlap the line above, rather
 % than forcing a greater separation between lines.
 
-\ProvidesPackage{tabto}[2013/03/25 \space v 1.3 \space 
+\ProvidesPackage{tabto}[2018/12/28 \space v 1.4 \space 
   Another tabbing mechanism]\relax
 
 \newdimen\CurrentLineWidth
-\let\TabPrevPos\z@
+\newdimen\TabPrevPos
 
 \newcommand\tabto[1]{%
  \leavevmode
@@ -120,10 +122,10 @@
         \fi\fi
         \ifdim\CurrentLineWidth<\z@ \CurrentLineWidth\z@\fi
         % Enshrine the tab-to position; #1 might reference \CurrentLineWidth
-        \@tempdimb=#1\relax
+        \setlength\@tempdimb{#1}% allow calc.sty
         %\message{*** Tab to \the\@tempdimb, previous width is \the\CurrentLineWidth. ***}%
         % Save width for possible return use
-        \xdef\TabPrevPos{\the\CurrentLineWidth}%
+        \global\TabPrevPos\CurrentLineWidth
         % Build the action to perform
         \protected at xdef\TTo at action{%
            \vrule\@width\z@\@depth\the\prevdepth



More information about the tex-live-commits mailing list