texlive[46432] Master: lccaps (24jan18)

commits+karl at tug.org commits+karl at tug.org
Wed Jan 24 22:51:00 CET 2018


Revision: 46432
          http://tug.org/svn/texlive?view=revision&revision=46432
Author:   karl
Date:     2018-01-24 22:50:59 +0100 (Wed, 24 Jan 2018)
Log Message:
-----------
lccaps (24jan18)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tlpkg-ctan-check
    trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/lccaps/
    trunk/Master/texmf-dist/doc/latex/lccaps/README.md
    trunk/Master/texmf-dist/doc/latex/lccaps/lccaps.pdf
    trunk/Master/texmf-dist/source/latex/lccaps/
    trunk/Master/texmf-dist/source/latex/lccaps/lccaps.dtx
    trunk/Master/texmf-dist/source/latex/lccaps/lccaps.ins
    trunk/Master/texmf-dist/tex/latex/lccaps/
    trunk/Master/texmf-dist/tex/latex/lccaps/lccaps.sty
    trunk/Master/tlpkg/tlpsrc/lccaps.tlpsrc

Added: trunk/Master/texmf-dist/doc/latex/lccaps/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lccaps/README.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/lccaps/README.md	2018-01-24 21:50:59 UTC (rev 46432)
@@ -0,0 +1,44 @@
+# The `lccaps` package
+
+This tiny package serves the mere purpose of
+providing a uniform method to use
+lowercased small capitals (and spaced lowercased small capitals).
+It relies on the `iftex`, `textcase` and `microtype` package
+and comes with four new user macros:
+  `\textlcc`,
+      the main feature: lowercased small capitals,
+  `\spacedcaps`,
+      a prefix to small capitals text commands
+      to slightly increase their spacing,
+  `\textslcc` and
+  `\textssc`,
+which are shortcuts for `\spacedcaps\textlcc`
+and `\spacedcaps\textsc` (accordingly).
+
+This is version 1.0 of the package.
+
+Copyright (C) 2018 by Ruben Giannotti
+
+---
+
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either
+version 1.3c of this license or (at your option) any
+later version. The latest version of this license is in
+  http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions
+of LaTeX version 2005/12/01 or later.
+
+This work has the LPPL maintenance status `maintained'.
+
+The Current Maintainer of this work is Ruben Giannotti.
+
+This work consists of the files
+   lccaps.dtx,
+   lccaps.ins
+and the derived file lccaps.sty.
+
+To install the package
+
+ 1. run `latex lccaps.ins`
+ 2. move 'lccaps.sty' to locations where LaTeX will find it


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

Index: trunk/Master/texmf-dist/doc/latex/lccaps/lccaps.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lccaps/lccaps.pdf	2018-01-24 21:50:28 UTC (rev 46431)
+++ trunk/Master/texmf-dist/doc/latex/lccaps/lccaps.pdf	2018-01-24 21:50:59 UTC (rev 46432)

Property changes on: trunk/Master/texmf-dist/doc/latex/lccaps/lccaps.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/source/latex/lccaps/lccaps.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/lccaps/lccaps.dtx	                        (rev 0)
+++ trunk/Master/texmf-dist/source/latex/lccaps/lccaps.dtx	2018-01-24 21:50:59 UTC (rev 46432)
@@ -0,0 +1,156 @@
+% \iffalse meta-comment
+%
+% Copyright (C) 2018 by Ruben Giannotti 
+% <ruben dot giannotti at gmx dot net>
+% -------------------------------------------------------
+% 
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any
+% later version. The latest version of this license is in
+%   http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+% 
+% The Current Maintainer of this work is Ruben Giannotti.
+%
+% This work consists of the files
+%   lccaps.dtx 
+%   lccaps.ins
+% and the derived file lccaps.sty.
+%
+% \fi
+%
+% \iffalse
+%<*driver>
+\ProvidesFile{lccaps.dtx}
+%</driver>
+%<package>\NeedsTeXFormat{LaTeX2e}
+%<package>\ProvidesPackage{lccaps}
+%<*package>
+  [2018/01/21 v1.0 Lowercased (spaced) small capitals (RG)]
+%</package>
+%
+%<*driver>
+\documentclass{ltxdoc}
+\usepackage{amssymb,parskip}
+\usepackage{lccaps}
+\providecommand*\pkg{\textsf}
+\providecommand*\option{\textit}
+\providecommand*\url{\texttt}
+\providecommand*\email{\texttt}
+\providecommand*\important{$\blacktriangleright$\space Important note:\space}
+\EnableCrossrefs
+\CodelineIndex
+\begin{document}
+  \DocInput{lccaps.dtx}
+\end{document}
+%</driver>
+% \fi
+%
+% \CheckSum{60}
+%
+% \CharacterTable
+%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%   Digits        \0\1\2\3\4\5\6\7\8\9
+%   Exclamation   \!     Double quote  \"     Hash (number) \#
+%   Dollar        \$     Percent       \%     Ampersand     \&
+%   Acute accent  \'     Left paren    \(     Right paren   \)
+%   Asterisk      \*     Plus          \+     Comma         \,
+%   Minus         \-     Point         \.     Solidus       \/
+%   Colon         \:     Semicolon     \;     Less than     \<
+%   Equals        \=     Greater than  \>     Question mark \?
+%   Commercial at \@     Left bracket  \[     Backslash     \\
+%   Right bracket \]     Circumflex    \^     Underscore    \_
+%   Grave accent  \`     Left brace    \{     Vertical bar  \|
+%   Right brace   \}     Tilde         \~}
+%
+%
+% \changes{v1.0}{2018/01/21}{Initial version}
+%
+% \GetFileInfo{lccaps.dtx}
+%
+% \DoNotIndex{\newcommand,\newenvironment,\!,\@empty,\@gobble,\@gobbletwo}
+% \DoNotIndex{\@ifpackageloaded,\@ifpackagewith,\@ifundefined,\@namedef}
+% \DoNotIndex{\@nil,\@onlypreamble,\@tempa,\@tempb,\@tempswafalse,\def}
+% \DoNotIndex{\@tempswatrue,\^,\-,\active,\begingroup,\catcode,\@car,\@cdr}
+% \DoNotIndex{\edef,\else,\endgroup,\endinput,\expandafter,\fi,\if}
+% \DoNotIndex{\if at tempswa,\ifcase,\ifnum,\ifx,\lccode,\let,\lowercase}
+% \DoNotIndex{\MessageBreak,\next,\number,\numexpr,\or,\PackageError}
+% \DoNotIndex{\PackageWarning,\PackageWarningNoLine,\strip at prefix,\@@end}
+% \DoNotIndex{\relax,\space,\string,\DeclareOption,\ProcessOptions}
+% \DoNotIndex{\meaning,\ifdefined,\csname,\chardef,\endcsname,\protect}
+% \DoNotIndex{\input,\RequirePackage,\global,\ifcsname,\makeatother}
+% \DoNotIndex{\@makeother,\the,\toks@}
+%
+% \title{The \pkg{lccaps} package\thanks{This document
+%   corresponds to \pkg{lccaps}~\fileversion, dated \filedate.}}
+% \author{Ruben Giannotti\thanks{\email{ruben dot giannotti at gmx dot net}}}
+%
+% \maketitle
+%
+% This tiny package serves the mere purpose of
+% providing a uniform method to use
+% lowercased small capitals (and spaced lowercased small capitals).
+% It relies on the \pkg{iftex}, \pkg{textcase} and \pkg{microtype} package
+% and comes with four new user macros.
+%
+% \DescribeMacro{\textlcc}
+% This is the main feature.
+% It produces forced lowercased \textlcc{small capitals}.
+%
+% \DescribeMacro{\spacedcaps}
+% This is more of an auxiliary macro.
+% But, it can be used at the user level of course.
+% It is meant to be used as a prefix to |\textlcc| or |\textsc|
+% which results in a slightly wider spacing between small capitals:
+%
+% \begin{center}
+%   |\spacedcaps\textlcc{Spaced capitals}| \(\leadsto\)
+%     \spacedcaps\textlcc{Spaced capitals}
+% \end{center}
+%
+% \DescribeMacro{\textslcc}
+% \DescribeMacro{\textssc}
+% Those two are just shorthands for the last mentioned.
+% Technically the very last one exceeds the scope of this package.
+% It is a simple byproduct that should not be harmful.
+%
+% \StopEventually{}
+%
+%    \begin{macrocode}
+\RequirePackage{iftex}
+\RequirePackage{textcase}
+\RequirePackage{microtype}
+\protected\def\lcc at warning{\PackageWarning{lccaps}}
+\DeclareRobustCommand\textlcc[1]{\textsc{\MakeTextLowercase{#1}}}
+\def\spacedcaps#1{%
+  \let\reserved at a=#1%
+  \ifnum
+    \ifx\reserved at a\textsc1\else
+    \ifx\reserved at a\textlcc1\else
+    0\fi\fi
+  =1
+    \expandafter\reserved at lcc
+  \else
+    \lcc at warning{The token preceeding \noexpand\spacedcaps
+      wasn't meant to typeset small capitals, so nothing happend.}%
+    \expandafter\reserved at a
+  \fi
+}
+\def\reserved at lcc#1{%
+  \expandafter\@spacedcaps\expandafter{\reserved at a{#1}}%
+}
+\ifXeTeX
+  \def\@spacedcaps#1{\bgroup\addfontfeature{LetterSpace=5.0}#1\egroup}
+\else
+  \def\@spacedcaps{\textls[50]}
+\fi
+\DeclareRobustCommand\textslcc{\spacedcaps\textlcc}
+\DeclareRobustCommand\textssc{\spacedcaps\textsc}
+%    \end{macrocode}
+%\Finale
+\endinput


Property changes on: trunk/Master/texmf-dist/source/latex/lccaps/lccaps.dtx
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/source/latex/lccaps/lccaps.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/lccaps/lccaps.ins	                        (rev 0)
+++ trunk/Master/texmf-dist/source/latex/lccaps/lccaps.ins	2018-01-24 21:50:59 UTC (rev 46432)
@@ -0,0 +1,74 @@
+% Copyright (C) 2018 by Ruben Giannotti
+% <ruben dot giannotti at gmx dot net>
+% -------------------------------------------------------
+% 
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any
+% later version. The latest version of this license is in
+%   http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+% 
+% The Current Maintainer of this work is Ruben Giannotti.
+%
+% This work consists of the files
+%   lccaps.dtx 
+%   lccaps.ins
+% and the derived file lccaps.sty.
+
+\input docstrip.tex
+\keepsilent
+
+\usedir{tex/latex/lccaps}
+
+\preamble
+
+This is a generated file.
+
+Copyright (C) 2018 by Ruben Giannotti
+<ruben dot giannotti at gmx dot net>
+-------------------------------------------------------
+
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either
+version 1.3c of this license or (at your option) any
+later version. The latest version of this license is in
+  http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions
+of LaTeX version 2005/12/01 or later.
+
+This work has the LPPL maintenance status `maintained'.
+
+The Current Maintainer of this work is Enrico Gregorio.
+
+This work consists of the files
+  lccaps.dtx 
+  lccaps.ins
+and the derived file lccaps.sty.
+
+\endpreamble
+
+\generate{\file{lccaps.sty}{\from{lccaps.dtx}{package}}}
+
+\def\tmpa{plain}
+\ifx\tmpa\fmtname\endgroup\expandafter\bye\fi
+
+\obeyspaces
+\Msg{*************************************************************}
+\Msg{*                                                           *}
+\Msg{* To finish the installation you have to move the following *}
+\Msg{* file into a directory searched by TeX:                    *}
+\Msg{*                                                           *}
+\Msg{*     lccaps.sty                                        *}
+\Msg{*                                                           *}
+\Msg{* To produce the documentation run the file                 *}
+\Msg{* lccaps.dtx through LaTeX.                             *}
+\Msg{*                                                           *}
+\Msg{* Happy TeXing!                                             *}
+\Msg{*                                                           *}
+\Msg{*************************************************************}
+
+\endbatchfile

Added: trunk/Master/texmf-dist/tex/latex/lccaps/lccaps.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lccaps/lccaps.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/lccaps/lccaps.sty	2018-01-24 21:50:59 UTC (rev 46432)
@@ -0,0 +1,66 @@
+%%
+%% This is file `lccaps.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lccaps.dtx  (with options: `package')
+%% 
+%% This is a generated file.
+%% 
+%% Copyright (C) 2018 by Ruben Giannotti
+%% <ruben dot giannotti at gmx dot net>
+%% -------------------------------------------------------
+%% 
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3c of this license or (at your option) any
+%% later version. The latest version of this license is in
+%%   http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions
+%% of LaTeX version 2005/12/01 or later.
+%% 
+%% This work has the LPPL maintenance status `maintained'.
+%% 
+%% The Current Maintainer of this work is Enrico Gregorio.
+%% 
+%% This work consists of the files
+%%   lccaps.dtx
+%%   lccaps.ins
+%% and the derived file lccaps.sty.
+%% 
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{lccaps}
+  [2018/01/21 v1.0 Lowercased (spaced) small capitals (RG)]
+\RequirePackage{iftex}
+\RequirePackage{textcase}
+\RequirePackage{microtype}
+\protected\def\lcc at warning{\PackageWarning{lccaps}}
+\DeclareRobustCommand\textlcc[1]{\textsc{\MakeTextLowercase{#1}}}
+\def\spacedcaps#1{%
+  \let\reserved at a=#1%
+  \ifnum
+    \ifx\reserved at a\textsc1\else
+    \ifx\reserved at a\textlcc1\else
+    0\fi\fi
+  =1
+    \expandafter\reserved at lcc
+  \else
+    \lcc at warning{The token preceeding \noexpand\spacedcaps
+      wasn't meant to typeset small capitals, so nothing happend.}%
+    \expandafter\reserved at a
+  \fi
+}
+\def\reserved at lcc#1{%
+  \expandafter\@spacedcaps\expandafter{\reserved at a{#1}}%
+}
+\ifXeTeX
+  \def\@spacedcaps#1{\bgroup\addfontfeature{LetterSpace=5.0}#1\egroup}
+\else
+  \def\@spacedcaps{\textls[50]}
+\fi
+\DeclareRobustCommand\textslcc{\spacedcaps\textlcc}
+\DeclareRobustCommand\textssc{\spacedcaps\textsc}
+\endinput
+%%
+%% End of file `lccaps.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/lccaps/lccaps.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2018-01-24 21:50:28 UTC (rev 46431)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2018-01-24 21:50:59 UTC (rev 46432)
@@ -368,7 +368,7 @@
     latexgit latexindent
     latexmk latexmp latexpand
     lato layaureo layouts lazylist
-    lcd lcg lcyw leading leadsheets leaflet
+    lccaps lcd lcg lcyw leading leadsheets leaflet
     lecturer ledmac leftidx leipzig lengthconvert
     lettre lettrine levy lewis lexikon lexref lfb lgreek lh lhcyr lhelp
     libertine libertinegc libertinus libertinust1math

Modified: trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc	2018-01-24 21:50:28 UTC (rev 46431)
+++ trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc	2018-01-24 21:50:59 UTC (rev 46432)
@@ -591,6 +591,7 @@
 depend latexgit
 depend layouts
 depend lazylist
+depend lccaps
 depend lcd
 depend lcg
 depend leading

Added: trunk/Master/tlpkg/tlpsrc/lccaps.tlpsrc
===================================================================


More information about the tex-live-commits mailing list