diff options
author | Karl Berry <karl@freefriends.org> | 2008-10-26 16:15:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-10-26 16:15:15 +0000 |
commit | b4c2d1a32de5fd823fc5793ac152717d23212095 (patch) | |
tree | 55b92831c0b4c68ba496cbb99073bd01884ba8b4 /Master | |
parent | 719665eeaf4a9ad3504b931721d905f82c530bb2 (diff) |
install latex fragments (20oct08)
git-svn-id: svn://tug.org/texlive/trunk@11068 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/fragments/README | 7 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/fragments/checklab.tex | 41 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/fragments/overrightarrow.sty | 14 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/fragments/removefr.tex | 13 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/fragments/subscript.sty | 18 | ||||
-rwxr-xr-x | Master/tlpkg/bin/ctan2tds | 2 | ||||
-rwxr-xr-x | Master/tlpkg/bin/tlpkg-ctan-check | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc | 1 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/fragments.tlpsrc | 2 |
9 files changed, 98 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/fragments/README b/Master/texmf-dist/doc/latex/fragments/README new file mode 100644 index 00000000000..18b6e0083a3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fragments/README @@ -0,0 +1,7 @@ +This directory contains fragments of TeX code designed to work in the +environment of LaTeX. They are made available for the benefit of +those writing LaTeX classes or packages. + +Robin Fairbairns + +8th December 1994 diff --git a/Master/texmf-dist/tex/latex/fragments/checklab.tex b/Master/texmf-dist/tex/latex/fragments/checklab.tex new file mode 100644 index 00000000000..9799a485b86 --- /dev/null +++ b/Master/texmf-dist/tex/latex/fragments/checklab.tex @@ -0,0 +1,41 @@ + % Making those `Label(s) have changed\dots' messages more explicit +% +% The \LaTeX{} kernel produces the messages when something, while the +% |.aux| file is being scanned (after the \cs{AtEndDocument} tokens +% have been executed), sets the \cs{if@tempswa} switch with the +% command \cs{@tempswatrue}. +% +% (This fact can be used by packages, such as my |footmisc.sty|, to +% piggy-back on the message; but it's nice in that circumstance and +% others to be sure where the message is coming from.) +% +% This is a jiffy patch to the kernel so that it produces a +% (\cs{typeout}) message for each label \emph{it} thinks has changed. +% +% Usage: Incorporate this code into a package or class file, or +% \input this file from a package or class file, or +% \makeatletter \input{checklab} \makeatother in your document +% preamble +% +% This software jiffy is placed in the public domain. Do with it as +% you wish, though I have to say I would prefer you not to claim it +% as your own (otoh, it's the product of a twisted mind, so probably +% not an attractive thing to claim). +% +% Robin Fairbairns (rf10@cl.cam.ac.uk) +% Produced in this form 1999/01/15 +% +\def\@testdef #1#2#3{% + \def\reserved@a{#3}% + \expandafter \ifx \csname #1@#2\endcsname \reserved@a + \else + \@tempswatrue + \typeout{label change: #1@#2 was + \expandafter \ifx \csname #1@#2\endcsname \relax + unset + \else + \csname#1@#2\endcsname\space + \fi + now #3}% + \fi +} diff --git a/Master/texmf-dist/tex/latex/fragments/overrightarrow.sty b/Master/texmf-dist/tex/latex/fragments/overrightarrow.sty new file mode 100644 index 00000000000..59d89ad0e9a --- /dev/null +++ b/Master/texmf-dist/tex/latex/fragments/overrightarrow.sty @@ -0,0 +1,14 @@ +% This is overrightarrow.sty, It provides for a command: +% \Overrightarrow which is somewhat like \overrightarrow and somewhat +% like \Rightarrow. Also a couple of helper commands. +% This file is public domain. +% James Kilfiger mapdn@csv.warwick.ac.uk +% +\newcommand\reldoublebar{\mathrel{\smash=}} +\newcommand{\Rightarrowfill@}[1]{% +\m@th \setboxz@h {$#1\reldoublebar $}\ht \z@ \z@ +$#1\copy \z@ +\mkern -6mu\cleaders \hbox {$#1\mkern -2mu\box \z@ \mkern -2mu$}\hfill +\mkern -6mu +\mathord \Rightarrow $} +\newcommand{\Overrightarrow}{\mathpalette{\overarrow@\Rightarrowfill@}} diff --git a/Master/texmf-dist/tex/latex/fragments/removefr.tex b/Master/texmf-dist/tex/latex/fragments/removefr.tex new file mode 100644 index 00000000000..2a58ebf2d7a --- /dev/null +++ b/Master/texmf-dist/tex/latex/fragments/removefr.tex @@ -0,0 +1,13 @@ +%Date: Sat, 30 Jul 1994 17:58:55 PST +%From: Donald Arseneau <asnd@erich.triumf.ca> +% +% \@removefromreset{FOO}{BAR} : Removes counter FOO from the list of +% counters \cl@BAR to be reset when counter BAR +% is stepped. The opposite of \@addtoreset. + +\def\@removefromreset#1#2{\let\@tempb\@elt + \expandafter\let\expandafter\@tempa\csname c@#1\endcsname + \def\@elt##1{\expandafter\ifx\csname c@##1\endcsname\@tempa\else + \noexpand\@elt{##1}\fi}% + \expandafter\edef\csname cl@#2\endcsname{\csname cl@#2\endcsname}% + \let\@elt\@tempb} diff --git a/Master/texmf-dist/tex/latex/fragments/subscript.sty b/Master/texmf-dist/tex/latex/fragments/subscript.sty new file mode 100644 index 00000000000..fc9f6e34f4c --- /dev/null +++ b/Master/texmf-dist/tex/latex/fragments/subscript.sty @@ -0,0 +1,18 @@ +% subscript.sty +% +% Copyright 1999 Robin Fairbairns +% +% this fragment is distributed under the conditions of the LaTeX +% Project Public Licence -- see lppl.txt in the LaTeX distribution +% +% this fragment provides a command \textsubscript, which is +% shamelessly copied from the command \textsuperscript that's part of +% LaTeX +% +% the fragment may be used as a package in its own right, if so +% needed. + +\DeclareRobustCommand*\textsubscript[1]{% + \@textsubscript{\selectfont#1}} +\def\@textsubscript#1{% + {\m@th\ensuremath{_{\mbox{\fontsize\sf@size\z@#1}}}}} diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds index 6bb861e3e15..21db046e0a0 100755 --- a/Master/tlpkg/bin/ctan2tds +++ b/Master/tlpkg/bin/ctan2tds @@ -187,7 +187,6 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw 'fouriernc', "&MAKEflatten", 'fp', "&MAKEfp", 'fpl', "&MAKEflatten", - 'fragments', "die 'skipping, not a package'", 'frcursive', "&MAKEflatten", 'futhark', "die 'skipping, nonfree license'", 'futurans', "die 'skipping, requires nonfree font'", @@ -936,6 +935,7 @@ $standardtex='\.(cfg|sty|clo|ldf|cls|def|fd|cmap|4ht)$'; 'fltpoint', '\.sty|\.tex', 'fontch', '\.tex', 'footnpag', 'footnpag\.sty', + 'fragments', '\.tex|' . $standardtex, 'frankenstein','\.(sto|stq)|' . $standardtex, 'genmisc', '\.sty|\.tex', 'geometry', '\.sty|\.clo|\.ldf|\.cls|\.def|\.fd$', # not cfg diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 41c7aba136a..7c66435d2d8 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -97,7 +97,7 @@ my @WorkingTLP = qw( fncychap foekfont fontch fontinst fontspec fonttable fontwrap footbib footmisc footnpag forarray forloop formular fouridx fourier fouriernc - fp fpl frankenstein free-math-font-survey + fp fpl fragments frankenstein free-math-font-survey frenchle fribrief frletter frontespizio fullblck fullpict functan gaceta galois gastex gatech-thesis gb4e gcard gcite gene-logic genmisc genmpage gentle germbib diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc index c597a597bb5..49263a3b64c 100644 --- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc @@ -201,6 +201,7 @@ depend forarray depend forloop depend formlett depend formular +depend fragments depend frankenstein depend fribrief depend fullblck diff --git a/Master/tlpkg/tlpsrc/fragments.tlpsrc b/Master/tlpkg/tlpsrc/fragments.tlpsrc new file mode 100644 index 00000000000..4269fc2fa67 --- /dev/null +++ b/Master/tlpkg/tlpsrc/fragments.tlpsrc @@ -0,0 +1,2 @@ +name fragments +category Package |