texlive[65832] Master/texmf-dist: scsnowman (14feb23)
commits+karl at tug.org
commits+karl at tug.org
Tue Feb 14 21:40:52 CET 2023
Revision: 65832
http://tug.org/svn/texlive?view=revision&revision=65832
Author: karl
Date: 2023-02-14 21:40:51 +0100 (Tue, 14 Feb 2023)
Log Message:
-----------
scsnowman (14feb23)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman.pdf
trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman.tex
trunk/Master/texmf-dist/tex/latex/scsnowman/scsnowman.sty
trunk/Master/texmf-dist/tex/latex/scsnowman/sctkzsym-base.sty
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/scsnowman/Makefile
trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-zrtest.pdf
trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-zrtest.tex
Deleted: trunk/Master/texmf-dist/doc/latex/scsnowman/Makefile
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scsnowman/Makefile 2023-02-14 13:14:50 UTC (rev 65831)
+++ trunk/Master/texmf-dist/doc/latex/scsnowman/Makefile 2023-02-14 20:40:51 UTC (rev 65832)
@@ -1,32 +0,0 @@
-KANJI = -kanji=utf8
-FONTMAP = -f ipaex.map -f ptex-ipaex.map
-TEXMF = $(shell kpsewhich -var-value=TEXMFHOME)
-
-all: scsnowman.pdf \
- scsnowman-sample.pdf scsnowman-zrtest.pdf
-
-scsnowman.pdf: scsnowman.sty scsnowman.tex
- lualatex scsnowman.tex
- lualatex scsnowman.tex
- lualatex scsnowman.tex
-scsnowman-sample.pdf: scsnowman.sty scsnowman-sample.tex
- platex scsnowman-sample.tex
- platex scsnowman-sample.tex
- dvipdfmx scsnowman-sample.dvi
-scsnowman-zrtest.pdf: scsnowman.sty scsnowman-zrtest.tex
- pdflatex scsnowman-zrtest.tex
- pdflatex scsnowman-zrtest.tex
-
-.PHONY: install clean
-install:
- mkdir -p ${TEXMF}/doc/latex/scsnowman
- cp ./Makefile ${TEXMF}/doc/latex/scsnowman/
- cp ./LICENSE ${TEXMF}/doc/latex/scsnowman/
- cp ./README.md ${TEXMF}/doc/latex/scsnowman/
- cp ./*.pdf ${TEXMF}/doc/latex/scsnowman/
- cp ./*.tex ${TEXMF}/doc/latex/scsnowman/
- mkdir -p ${TEXMF}/tex/latex/scsnowman
- cp ./*.sty ${TEXMF}/tex/latex/scsnowman/
- cp ./*.def ${TEXMF}/tex/latex/scsnowman/
-clean:
- rm -f *.dvi *.pdf
Deleted: trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-zrtest.pdf
===================================================================
(Binary files differ)
Deleted: trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-zrtest.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-zrtest.tex 2023-02-14 13:14:50 UTC (rev 65831)
+++ trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman-zrtest.tex 2023-02-14 20:40:51 UTC (rev 65832)
@@ -1,21 +0,0 @@
-\documentclass[a4paper]{article}
-\usepackage[unicode,hidelinks,bookmarksnumbered]{hyperref}
-\usepackage{scsnowman}
-\scsnowmandefault{hat,arms,snow,scale=1.2,adjustbaseline}
-\renewcommand{\thesection}{\enumsnowman[muffler=red]{section}}
-\pagenumbering{enumsnowman}
-\begin{document}
-\setcounter{page}{8}
-\setcounter{section}{86}
-
-\section{Foo}\label{sec:Foo}
-Foo \scsnowmannumeral[muffler=blue]{42}.
-
-\section{Bar}\label{sec:Bar}
-Bar \scsnowmannumeral[muffler=blue]{84}.
-
-\section{Gee}\label{sec:Gee}
-Gee \scsnowmannumeral[muffler=blue]{168}.
-See also Sections \ref{sec:Bar} and \ref{sec:Foo}.
-
-\end{document}
Modified: trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman.tex 2023-02-14 13:14:50 UTC (rev 65831)
+++ trunk/Master/texmf-dist/doc/latex/scsnowman/scsnowman.tex 2023-02-14 20:40:51 UTC (rev 65832)
@@ -1,10 +1,10 @@
%%
%% This is the documentation of scsnowman package.
-%% (Last Update: 2018/01/15)
+%% (Last Update: 2023/02/14)
%% Maintained on GitHub:
%% https://github.com/aminophen/scsnowman
%%
-%% Copyright (c) 2015-2018 Hironobu Yamashita
+%% Copyright (c) 2015-2023 Hironobu Yamashita
%% Email : h.y.acetaminophen[a t]gmail.com
%% GitHub : https://github.com/aminophen
%% Blog : http://acetaminophen.hatenablog.com/
@@ -452,6 +452,9 @@
Version 1.2c & 2018-01-15 & Add a new key \Lopt{broom} \\
Version 1.2d & 2018-06-07 & Add new keys \Lopt{nose}, \Lopt{note} \\
& & Add a new command \verb+\scsnowmannumeral+ \\
+Version 1.2e & 2019-08-12 & Fix a bug of possible infinite loop \\
+Version 1.3a & 2020-10-10 & Update for new \LaTeX \\
+Version 1.3b & 2023-02-14 & Fix a bug of up\TeX\ engine detection \\
\end{tabular}
\end{table}
Modified: trunk/Master/texmf-dist/tex/latex/scsnowman/scsnowman.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scsnowman/scsnowman.sty 2023-02-14 13:14:50 UTC (rev 65831)
+++ trunk/Master/texmf-dist/tex/latex/scsnowman/scsnowman.sty 2023-02-14 20:40:51 UTC (rev 65832)
@@ -3,7 +3,7 @@
%% Maintained on GitHub:
%% https://github.com/aminophen/scsnowman
%%
-%% Copyright (c) 2015-2018 Hironobu Yamashita
+%% Copyright (c) 2015-2023 Hironobu Yamashita
%% Email : h.y.acetaminophen[a t]gmail.com
%% GitHub : https://github.com/aminophen
%% Blog : http://acetaminophen.hatenablog.com/
@@ -10,7 +10,7 @@
%% Twitter : @aminophen
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{scsnowman}[2018/06/07 v1.2d Snowman variants using TikZ]
+\ProvidesPackage{scsnowman}[2023/02/14 v1.3b Snowman variants using TikZ]
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{sctkzsym-base}}
\ProcessOptions\relax
\RequirePackage{sctkzsym-base}[2017/08/08]
@@ -175,7 +175,8 @@
\DeclareTextCommand{\scsnowman at hy@eight}{PU}{\9046\003}% U+2603
\DeclareTextCommand{\scsnowman at hy@eight}{PD1}{8}%fallback
-\ifx\forcecjktoken\@undefined\else %upTeX
+
+\ifnum \ifx\ucs\@undefined\z@\else\ucs"3000 \fi ="3000 %upTeX
\begingroup
\kansujichar8="2603
\xdef\scsnowman at hy@eight{\kansuji8}
@@ -247,7 +248,8 @@
%
% check body; determine whether "black snowman" or "white snowman"
\sctkzsym at hndl@key at withbool{snowman}{body}%
- \ifsctkzsym at snowman@body % "black snowman"; black snow; white eyes/mouth/stroke
+ \ifsctkzsym at snowman@body
+ % "black snowman"; black snow; white eyes/mouth/stroke
\def\sctkzsym at snowman@bodystroke{\sctkzsym at snowman@body}%
\def\sctkzsym at snowman@bodyfill{\sctkzsym at snowman@body}%
\def\sctkzsym at snowman@bodypath{\path[draw=\sctkzsym at snowman@bodystroke,fill=\sctkzsym at snowman@bodyfill]}%
@@ -264,7 +266,8 @@
\def\sctkzsym at snowman@mufflerfill{\sctkzsym at snowman@muffler}%
\def\sctkzsym at snowman@buttonstroke{\sctkzsym at defaultanticolor}%
\def\sctkzsym at snowman@buttonfill{\sctkzsym at snowman@buttons}%
- \else % "white snowman"; white snow; black eyes/mouth/stroke; bodystroke should be there
+ \else
+ % "white snowman"; white snow; black eyes/mouth/stroke; bodystroke should be there
\def\sctkzsym at snowman@bodystroke{\sctkzsym at defaultcolor}%
\def\sctkzsym at snowman@bodyfill{}%
\def\sctkzsym at snowman@bodypath{\path[draw=\sctkzsym at snowman@bodystroke]}%
@@ -282,57 +285,70 @@
\def\sctkzsym at snowman@buttonstroke{\sctkzsym at snowman@buttons}%
\def\sctkzsym at snowman@buttonfill{\sctkzsym at snowman@buttons}%
\fi
- % check eyes (currently eyes=<color> not supported; falling back to default-(anti)color)
+ % check eyes (only fill)
+ % [TODO] eyes=<color> unsupported; falling back to default-(anti)color)
\sctkzsym at hndl@key at withbool{snowman}{eyes}%
- \def\sctkzsym at snowman@eyepath{\path[fill=\sctkzsym at snowman@eyefill]}%
+ \def\sctkzsym at snowman@eyepath
+ {\path[fill=\sctkzsym at snowman@eyefill]}%
% check nose
\sctkzsym at hndl@key at withbool{snowman}{nose}%
- \def\sctkzsym at snowman@nosepath{\path[draw=\sctkzsym at snowman@nosestroke,fill=\sctkzsym at snowman@nosefill]}%
- % check mouth (currently mouth=<color> not supported; falling back to default-(anti)color)
+ \def\sctkzsym at snowman@nosepath
+ {\path[draw=\sctkzsym at snowman@nosestroke,fill=\sctkzsym at snowman@nosefill]}%
+ % check mouth (only stroke)
+ % [TODO] mouth=<color> unsupported; falling back to default-(anti)color)
\sctkzsym at hndl@key at withword{snowman}{mouthshape}%
\sctkzsym at hndl@key at withbool{snowman}{mouth}%
- \def\sctkzsym at snowman@mouthpath{\path[draw=\sctkzsym at snowman@mouthstroke]}%
+ \def\sctkzsym at snowman@mouthpath
+ {\path[draw=\sctkzsym at snowman@mouthstroke]}%
% check sweat
\sctkzsym at hndl@key at withbool{snowman}{sweat}%
- \def\sctkzsym at snowman@sweatpath{\path[draw=\sctkzsym at snowman@sweatstroke,fill=\sctkzsym at snowman@sweatfill]}%
+ \def\sctkzsym at snowman@sweatpath
+ {\path[draw=\sctkzsym at snowman@sweatstroke,fill=\sctkzsym at snowman@sweatfill]}%
% check hat
\sctkzsym at hndl@key at withbool{snowman}{hat}%
\def\sctkzsym at snowman@hatstroke{\sctkzsym at snowman@hat}%
\def\sctkzsym at snowman@hatfill{\sctkzsym at snowman@hat}%
- \def\sctkzsym at snowman@hatpath{\path[draw=\sctkzsym at snowman@hatstroke,fill=\sctkzsym at snowman@hatfill]}%
+ \def\sctkzsym at snowman@hatpath
+ {\path[draw=\sctkzsym at snowman@hatstroke,fill=\sctkzsym at snowman@hatfill]}%
% check arms
\sctkzsym at hndl@key at withbool{snowman}{arms}%
\def\sctkzsym at snowman@armsstroke{\sctkzsym at snowman@arms}%
\def\sctkzsym at snowman@armsfill{\sctkzsym at snowman@arms}%
- \def\sctkzsym at snowman@armspath{\path[draw=\sctkzsym at snowman@armsstroke,fill=\sctkzsym at snowman@armsfill]}%
+ \def\sctkzsym at snowman@armspath
+ {\path[draw=\sctkzsym at snowman@armsstroke,fill=\sctkzsym at snowman@armsfill]}%
% check muffler
\sctkzsym at hndl@key at withbool{snowman}{muffler}%
- \def\sctkzsym at snowman@mufflerpath{\path[draw=\sctkzsym at snowman@mufflerstroke,fill=\sctkzsym at snowman@mufflerfill]}%
+ \def\sctkzsym at snowman@mufflerpath
+ {\path[draw=\sctkzsym at snowman@mufflerstroke,fill=\sctkzsym at snowman@mufflerfill]}%
% check buttons
\sctkzsym at hndl@key at withbool{snowman}{buttons}%
- \def\sctkzsym at snowman@buttonpath{\path[draw=\sctkzsym at snowman@buttonstroke,fill=\sctkzsym at snowman@buttonfill]}%
+ \def\sctkzsym at snowman@buttonpath
+ {\path[draw=\sctkzsym at snowman@buttonstroke,fill=\sctkzsym at snowman@buttonfill]}%
% check snow
\sctkzsym at hndl@key at withbool{snowman}{snow}%
- % check note
+ % check note (only fill)
\sctkzsym at hndl@key at withbool{snowman}{note}%
\def\sctkzsym at snowman@notefill{\sctkzsym at snowman@note}%
\def\sctkzsym at snowman@notepath{\path[fill=\sctkzsym at snowman@notefill]}%
- % check adjustbaseline
- \sctkzsym at hndl@key at onlybool{snowman}{adjustbaseline}%
% check mikan/leaf
\sctkzsym at hndl@key at withbool{snowman}{mikan}%
\sctkzsym at hndl@key at withbool{snowman}{leaf}%
\def\sctkzsym at snowman@mikanstroke{\sctkzsym at snowman@mikan}%
\def\sctkzsym at snowman@mikanfill{\sctkzsym at snowman@mikan}%
- \def\sctkzsym at snowman@mikanpath{\path[draw=\sctkzsym at snowman@mikanstroke,fill=\sctkzsym at snowman@mikanfill]}%
+ \def\sctkzsym at snowman@mikanpath
+ {\path[draw=\sctkzsym at snowman@mikanstroke,fill=\sctkzsym at snowman@mikanfill]}%
\def\sctkzsym at snowman@leafstroke{\sctkzsym at snowman@leaf}%
\def\sctkzsym at snowman@leaffill{\sctkzsym at snowman@leaf}%
- \def\sctkzsym at snowman@leafpath{\path[draw=\sctkzsym at snowman@leafstroke,fill=\sctkzsym at snowman@leaffill]}%
- % check broom
+ \def\sctkzsym at snowman@leafpath
+ {\path[draw=\sctkzsym at snowman@leafstroke,fill=\sctkzsym at snowman@leaffill]}%
+ % check broom (only stroke)
\sctkzsym at hndl@key at withbool{snowman}{broom}%
\def\sctkzsym at snowman@broomstroke{\sctkzsym at snowman@broom}%
\def\sctkzsym at snowman@broompath{\path[draw=\sctkzsym at snowman@broomstroke]}%
%
+ % check adjustbaseline
+ \sctkzsym at hndl@key at onlybool{snowman}{adjustbaseline}%
+ %
% drawing snowman
\set at sctkzsym@coord at scl{\sctkzsym at snowman@scale}%
\ifdim\sctkzsym at coord@scl<\z@\set at sctkzsym@coord at scl{-\sctkzsym at snowman@scale}\fi%
Modified: trunk/Master/texmf-dist/tex/latex/scsnowman/sctkzsym-base.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scsnowman/sctkzsym-base.sty 2023-02-14 13:14:50 UTC (rev 65831)
+++ trunk/Master/texmf-dist/tex/latex/scsnowman/sctkzsym-base.sty 2023-02-14 20:40:51 UTC (rev 65832)
@@ -3,7 +3,7 @@
%% Maintained on GitHub:
%% https://github.com/aminophen/scsnowman
%%
-%% Copyright (c) 2015-2018 Hironobu Yamashita
+%% Copyright (c) 2015-2020 Hironobu Yamashita
%% Email : h.y.acetaminophen[a t]gmail.com
%% GitHub : https://github.com/aminophen
%% Blog : http://acetaminophen.hatenablog.com/
@@ -10,12 +10,19 @@
%% Twitter : @aminophen
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{sctkzsym-base}[2018/01/15 v1.2c Base for emoji variants using TikZ]
-\RequirePackage{tikz}
+\ProvidesPackage{sctkzsym-base}
+ [2023/02/14 v1.3b Base for emoji variants using TikZ]
+\RequirePackage{tikz}% pgfutil-latex.def requires everyshi
\RequirePackage{keyval}
%
-\ifx\kanjiskip\@undefined\else
- \IfFileExists{pxeveryshi.sty}{\RequirePackage{pxeveryshi}}{}
+\ifx\pfmtversion\@undefined\else
+ \ifx\@EveryShipout at Output\@undefined
+ % LaTeX2e 2020-10-01: an emulation by ``everyshi-ltx.sty''
+ % => pLaTeX2e 2020-10-01 natively supports it
+ \else
+ % older: the real ``everyshi.sty'' is loaded
+ \IfFileExists{pxeveryshi.sty}{\RequirePackage{pxeveryshi}}{}
+ \fi
\fi
%
% prepare for options
@@ -116,7 +123,7 @@
\fi
\fi
}
-\newcommand{\sctkzsym at hndl@key at withword}[2]{%
+\newcommand{\sctkzsym at hndl@key at withword}[2]{{%
% initialize
\@tempcnta\@ne
\let\sctkzsym at status\relax
@@ -134,7 +141,7 @@
\ifx\sctkzsym at status\relax
\PackageError{sc#1}{Unsupported value `\csname sctkzsym@#1@#2\endcsname' for #2}\@ehc
\fi
-}
+}}
%
% setup for tikzpicture
\newlength{\sctkzsym at coord@baseline}
More information about the tex-live-commits
mailing list.