texlive[72056] Master: gridset (17aug24)
commits+karl at tug.org
commits+karl at tug.org
Sat Aug 17 23:30:10 CEST 2024
Revision: 72056
https://tug.org/svn/texlive?view=revision&revision=72056
Author: karl
Date: 2024-08-17 23:30:10 +0200 (Sat, 17 Aug 2024)
Log Message:
-----------
gridset (17aug24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/gridset/LICENSE.md
trunk/Master/texmf-dist/doc/latex/gridset/README.md
trunk/Master/texmf-dist/doc/latex/gridset/gridset.pdf
trunk/Master/texmf-dist/source/latex/gridset/gridset.dtx
trunk/Master/texmf-dist/tex/latex/gridset/gridset.sty
trunk/Master/tlpkg/libexec/ctan2tds
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/gridset/gridsetexample.tex
trunk/Master/texmf-dist/source/latex/gridset/gridset.ins
Modified: trunk/Master/texmf-dist/doc/latex/gridset/LICENSE.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/gridset/LICENSE.md 2024-08-17 21:26:56 UTC (rev 72055)
+++ trunk/Master/texmf-dist/doc/latex/gridset/LICENSE.md 2024-08-17 21:30:10 UTC (rev 72056)
@@ -13,7 +13,7 @@
in der Version 1.3c, verteilt und/oder verändert werden. Die aktuelle
Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und
Version 1.3c oder später ist Teil aller Verteilungen von LaTeX 2005/12/01
-oder später. Dieses Werk hat den LPPL-Verwaltungs-Status „maintained”
+oder später. Dieses Werk hat den LPPL-Verwaltungs-Status „maintained”.
Der aktuelle Verwalter und Autor dieses Werks ist Markus Kohm.
----------------------------------------------------------------------------
Modified: trunk/Master/texmf-dist/doc/latex/gridset/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/gridset/README.md 2024-08-17 21:26:56 UTC (rev 72055)
+++ trunk/Master/texmf-dist/doc/latex/gridset/README.md 2024-08-17 21:30:10 UTC (rev 72056)
@@ -4,10 +4,14 @@
------------------------------------------------------------------------------
-LaTeX package `gridset`
-Copyright (c) 2008—2020 Markus Kohm
-Release: 2020-02-12 v0.3
-License: LPPL 1.3c (see LICENSE.md)
+LaTeX package `gridset`
+
+Copyright (c) 2008—2024 Markus Kohm
+
+Release: 2024-08-17 v0.4
+
+License: LPPL 1.3c (see LICENSE.md)
+
CTAN Location: https://ctan.org/pkg/gridset
------------------------------------------------------------------------------
@@ -32,11 +36,33 @@
also [MacTeX](https://tug.org/mactex)) and [MiKTeX](http://miktex.org). Users
should use the packages provided by their TeX distribution.
-However, manual extraction can be used to try out the developer version.
+------------------------------------------------------------------------------
-To extract the package use:
+For a semi-manual installation you can first create a local clone
+if the repository:
```bash
+git clone https://github.com/komascript/gridset.git
+```
+
+Then enter the directory created while cloning the repository:
+
+```bash
+cd gridset
+```
+
+Last, but not least use `l3build` to install it locally:
+
+```bash
+l3build install --full
+```
+
+------------------------------------------------------------------------------
+
+To do a completely manual installation, download `gridset.dtx`. Then extract
+it using:
+
+```bash
tex gridset.dtx
```
@@ -48,3 +74,16 @@
pdflatex gridset.dtx
pdflatex gridset.dtx
```
+
+Now, you can either install it in the proper directory or copy `gridset.sty`
+to your document directory.
+
+------------------------------------------------------------------------------
+
+# How to Say Thank You for my Work
+
+Hey, I'm doing this as a hobby. So no need to say thank you. But I'm a vain
+fop, so I'm certainly up for a quick thank you by email. On komascript.de you
+can find an [explanation of my wishes](https://komascript.de/wunschliste) if
+you want to give more. If you don't understand German, just click to links at
+that page.
Modified: trunk/Master/texmf-dist/doc/latex/gridset/gridset.pdf
===================================================================
(Binary files differ)
Added: trunk/Master/texmf-dist/doc/latex/gridset/gridsetexample.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/gridset/gridsetexample.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/gridset/gridsetexample.tex 2024-08-17 21:30:10 UTC (rev 72056)
@@ -0,0 +1,108 @@
+%%
+%% This is file `gridsetexample.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% gridset.dtx (with options: `example')
+%%
+%% IMPORTANT NOTE:
+%%
+%% This is a generated file and you are not allowed to distribute it
+%% without the source ot the work. See below about more informations
+%% about the files the work consists of.
+%%
+%% Copyright (C) 2008-2024 Markus Kohm
+%%
+%% 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.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% The author and current maintainer of this work is
+%% Markus Kohm <komascript at gmx.info>.
+%%
+%% This work consists of the files gridset.dtx and README.md.
+%%
+%% Important Recommendation:
+%% The LPPL requires that distributions of the Work contain all the files of
+%% the Work (see ``Important Recommendations'' at lppl.txt).
+%%
+\ProvidesFile{gridsetexample.tex}
+ [2024-08-17 v0.4 grid - a.k.a. in-register - setting]
+\documentclass[a4paper,12pt]{article}
+\usepackage{gridset}
+\usepackage{blindtext}
+\raggedbottom
+
+\pagestyle{myheadings}
+
+\begin{document}
+\markright{gridbase=\gridbase, gridinterval=\gridinterval\ without move down}%
+\newcounter{Zeile}%
+\makeatletter
+\@whilenum \value{Zeile}<40\do {%
+ \stepcounter{Zeile}%
+ \theZeile. Zeile:
+ \SavePos{\thepage.\theZeile}\thegridinfo{\thepage.\theZeile}\par
+}%
+\makeatother
+\clearpage
+\setcounter{Zeile}{0}
+\makeatletter
+\@whilenum \value{Zeile}<20\do {%
+ \stepcounter{Zeile}%
+ \theZeile. Zeile:
+ \SavePos{\thepage.\theZeile}\theposinfo{\thepage.\theZeile}\par
+}%
+\makeatother
+\clearpage
+\parskip=.5\baselineskip
+\setcounter{Zeile}{0}
+\makeatletter
+\@whilenum \value{Zeile}<20\do {%
+ \stepcounter{Zeile}%
+ \theZeile. Zeile:
+ \SavePos{\thepage.\theZeile}\theposinfo{\thepage.\theZeile}\par
+}%
+\makeatother
+\clearpage
+\markright{gridbase=\gridbase, gridinterval=\gridinterval\ with real move down
+at vmode}%
+\parskip=.5\baselineskip
+\setcounter{Zeile}{0}
+\makeatletter
+\@whilenum \value{Zeile}<25\do {%
+ \stepcounter{Zeile}%
+ \vskipnextgrid\theZeile. Zeile: \theposinfo{vp!\thegridcnt}\par
+}%
+\makeatother
+\clearpage
+\markright{gridbase=\gridbase, gridinterval=\gridinterval\ with real move down
+at hmode}%
+\parskip=.5\baselineskip
+\setcounter{Zeile}{0}
+\makeatletter
+\@whilenum \value{Zeile}<25\do {%
+ \stepcounter{Zeile}%
+ \theZeile. Zeile: \vskipnextgrid\theposinfo{vp!\thegridcnt}\par
+}%
+\makeatother
+\clearpage
+\parskip=0pt
+\blindtext
+\begin{itemize}
+\item Test
+\item Test
+\end{itemize}
+\vskipnextgrid\theposinfo{vp!\thegridcnt}\blindtext
+
+\end{document}
+\endinput
+%%
+%% End of file `gridsetexample.tex'.
Property changes on: trunk/Master/texmf-dist/doc/latex/gridset/gridsetexample.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/source/latex/gridset/gridset.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/gridset/gridset.dtx 2024-08-17 21:26:56 UTC (rev 72055)
+++ trunk/Master/texmf-dist/source/latex/gridset/gridset.dtx 2024-08-17 21:30:10 UTC (rev 72056)
@@ -2,7 +2,7 @@
%
% gridset.dtx
%
-%% Copyright (C) 2008-2020 Markus Kohm
+%% Copyright (C) 2008-2024 Markus Kohm
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
@@ -25,37 +25,17 @@
%%
%
%<*dtx>
-\def\FmtName{LaTeX2e}
-\ifx\FmtName\fmtname
- % Give me the package or the documentation
- \ifnum \catcode`\@=12\relax
- % Give me the documentation
- \ProvidesFile{gridset.dtx}
+\ifx\ProvidesFile\undfined\def\ProvidesFile#1[#2]{}\fi
+\ProvidesFile{gridset.dtx}
%</dtx>
%<*dtx|package|example>
%<package>\ProvidesPackage{gridset}
%<example>\ProvidesFile{gridsetexample.tex}
- [2020-02-12 v0.3 grid - a.k.a. in-register - setting]
+ [2024-08-17 v0.4 grid - a.k.a. in-register - setting]
%</dtx|package|example>
%<*dtx>
- \documentclass{ltxdoc}
- \begin{document}
- \RecordChanges
- \GetFileInfo{gridset.dtx}
- \DocInput{gridset.dtx}
-%</dtx>
-%<*dtx>
- \expandafter\expandafter\expandafter\enddocument
- \fi
-\else
- % Make the package
- \def\batchfile{gridset.dtx}
- \let\batchendinput\endinput
-%</dtx>
-%<*ins>
-%<ins>\def\batchfile{gridset.ins}
+\ifx\documentclass\undefined
\input docstrip.tex
-
\keepsilent
\askforoverwritefalse
\usedir{tex/latex/gridset}
@@ -98,12 +78,16 @@
\Msg{*}
\Msg{*********************************************************************}
}
-
-%</ins>
-%<*dtx>
+\else
+ \let\endbatchfile\relax
\fi
-\csname fi\endcsname
-\csname batchendinput\endcsname
+\endbatchfile
+\documentclass{ltxdoc}
+\begin{document}
+\RecordChanges
+\GetFileInfo{gridset.dtx}
+\DocInput{gridset.dtx}
+\end{document}
%</dtx>
% \fi ^^A meta-comment
%
@@ -313,6 +297,12 @@
% \item the x-coordinate of the absolute position,
% \item the y-coordinate of the absolute position.
% \end{itemize}
+% \begin{description}
+% \item[Todo:] Currently we use our own command \cs{newpos} to store the
+% position information in the \texttt{aux}-file. But with the extended
+% reference mechanism of \LaTeX{} since 2023-11-01 this should be replaced
+% by the new properties.
+% \end{description}
% \begin{macrocode}
\newcommand*{\SavePos}[1]{%
\begingroup
@@ -411,8 +401,17 @@
that won't be reported!}%
\fi
}
+% \end{macrocode}
+% \changes{0.4}{2024/08/17}{fix deactivation of
+% \cs{grid at unique@test}
+% (\href{https://github.com/komascript/gridset/issues/1}{Issue \#1})}
+% The test should be done only, when reading the \texttt{aux} file at
+% |\begin{document}|, but not later (e.g. at |\end{document}|). So we
+% deactivate the test after reading the \texttt{aux} file in
+% |\begin{document}|.
+% \begin{macrocode}
\AtBeginDocument{%
- \global\let\grid at unique@test\@gobble
+ \global\let\grid at unique@test\@gobbletwo
}
% \end{macrocode}
% \end{macro}
Added: trunk/Master/texmf-dist/source/latex/gridset/gridset.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/gridset/gridset.ins (rev 0)
+++ trunk/Master/texmf-dist/source/latex/gridset/gridset.ins 2024-08-17 21:30:10 UTC (rev 72056)
@@ -0,0 +1,38 @@
+%%
+%% This is file `gridset.ins',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% gridset.dtx (with options: `ins')
+%%
+%% IMPORTANT NOTE:
+%%
+%% This is a generated file and you are not allowed to distribute it
+%% without the source ot the work. See below about more informations
+%% about the files the work consists of.
+%%
+%% Copyright (C) 2008-2024 Markus Kohm
+%%
+%% 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.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% The author and current maintainer of this work is
+%% Markus Kohm <komascript at gmx.info>.
+%%
+%% This work consists of the files gridset.dtx and README.md.
+%%
+%% Important Recommendation:
+%% The LPPL requires that distributions of the Work contain all the files of
+%% the Work (see ``Important Recommendations'' at lppl.txt).
+%%
+\endinput
+%%
+%% End of file `gridset.ins'.
Modified: trunk/Master/texmf-dist/tex/latex/gridset/gridset.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/gridset/gridset.sty 2024-08-17 21:26:56 UTC (rev 72055)
+++ trunk/Master/texmf-dist/tex/latex/gridset/gridset.sty 2024-08-17 21:30:10 UTC (rev 72056)
@@ -12,7 +12,7 @@
%% without the source ot the work. See below about more informations
%% about the files the work consists of.
%%
-%% Copyright (C) 2008-2020 Markus Kohm
+%% Copyright (C) 2008-2024 Markus Kohm
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
@@ -34,7 +34,7 @@
%% the Work (see ``Important Recommendations'' at lppl.txt).
%%
\ProvidesPackage{gridset}
- [2020-02-12 v0.3 grid - a.k.a. in-register - setting]
+ [2024-08-17 v0.4 grid - a.k.a. in-register - setting]
\newcommand*{\gridset at luaorpdf}[1]{%
\expandafter\newcommand\csname gridset@#1\endcsname{}%
\ifcsname pdf#1\endcsname
@@ -137,7 +137,7 @@
\fi
}
\AtBeginDocument{%
- \global\let\grid at unique@test\@gobble
+ \global\let\grid at unique@test\@gobbletwo
}
\newcommand*\grid at ReRunMessage{}
\AtBeginDocument{%
Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds 2024-08-17 21:26:56 UTC (rev 72055)
+++ trunk/Master/tlpkg/libexec/ctan2tds 2024-08-17 21:30:10 UTC (rev 72056)
@@ -3317,7 +3317,7 @@
'grading-scheme' => 'etex-answer-y',
'graphics-pln' => "env TEXINPUTS=$Master/texmf-dist/source/latex/base: latex",
'grffile' => 'tex',
- 'gridset' => 'etex',
+ 'gridset' => 'tex',
'halloweenmath' => 'latex', # requires interaction
'hamnosys' => 'etex-answer-y',
'hanzibox' => 'etex',
@@ -4558,10 +4558,10 @@
&runjob ("$invoke_insrunner $_");
# bbold.dtx generates bbold.ins, and then does "low level hacks" to
- # run the .ins itself. mathfont.dtx generates mathfont.ins to no
- # purpose (and it doesn't work). We don't want to do anything in
- # either case.
- next if $package =~ /^(bbold|mathfont)$/;
+ # run the .ins itself. mathfont.dtx and gridset.dtx generate
+ # .ins files to no purpose (and they don't work). We don't want to
+ # do anything in these cases.
+ next if $package =~ /^(bbold|mathfont|gridset)$/;
# in the case of fullblck (et al.), the .dtx creates the .ins (so the
# .ins is not in @filenames), and the .ins creates the .sty.
More information about the tex-live-commits
mailing list.