texlive[46311] Master/texmf-dist: gfsdidot

commits+karl at tug.org commits+karl at tug.org
Sun Jan 14 23:56:38 CET 2018


Revision: 46311
          http://tug.org/svn/texlive?view=revision&revision=46311
Author:   karl
Date:     2018-01-14 23:56:37 +0100 (Sun, 14 Jan 2018)
Log Message:
-----------
gfsdidot

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/pixelart/CHANGELOG.md
    trunk/Master/texmf-dist/doc/latex/pixelart/README.md
    trunk/Master/texmf-dist/doc/latex/pixelart/pixelart.pdf
    trunk/Master/texmf-dist/source/latex/pixelart/pixelart.dtx
    trunk/Master/texmf-dist/tex/latex/pixelart/pixelart.sty

Modified: trunk/Master/texmf-dist/doc/latex/pixelart/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pixelart/CHANGELOG.md	2018-01-14 22:55:55 UTC (rev 46310)
+++ trunk/Master/texmf-dist/doc/latex/pixelart/CHANGELOG.md	2018-01-14 22:56:37 UTC (rev 46311)
@@ -1,3 +1,10 @@
+* pixelart 0.1.2 (2018-01-13)
+
+    * Fix bug: First line-break is now automatically ignored.
+    * Minor documentation fixes and improvements.
+
+    -- Louis Paternault <spalax+ctan at gresille.org>
+
 * pixelart 0.1.1 (2017-12-08)
 
     * Fix CTAN URLs.

Modified: trunk/Master/texmf-dist/doc/latex/pixelart/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pixelart/README.md	2018-01-14 22:55:55 UTC (rev 46310)
+++ trunk/Master/texmf-dist/doc/latex/pixelart/README.md	2018-01-14 22:56:37 UTC (rev 46311)
@@ -16,17 +16,16 @@
 - Example: The picture above was produced using the following code.
 
 ```latex
-\bwpixelart{
-    111111110011001110000011111111
-    110110110011000110000011000011
-    100110010000000110000010000110
-    000110000111000110011000001100
-    000110000011000110110000011000
-    000110000011000111100000110000
-    000110000011000111100001100000
-    000110000011000110110011000001
-    000110000011000110011011000011
-    001111000111100110011011111111
+\bwpixelart[color=red]{
+  0011001100
+  0111111110
+  1111111111
+  1111111111
+  1111111111
+  0111111110
+  0011111100
+  0001111000
+  0000110000
 }
 ```
 
@@ -33,7 +32,7 @@
 License
 -------
 
-*Copyright 2017 Louis Paternault*
+*Copyright 2018 Louis Paternault*
 
 This work may be distributed and/or modified under the conditions of the LaTeX
 Project Public License, either version 1.3 of this license or (at your option)

Modified: trunk/Master/texmf-dist/doc/latex/pixelart/pixelart.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/pixelart/pixelart.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pixelart/pixelart.dtx	2018-01-14 22:55:55 UTC (rev 46310)
+++ trunk/Master/texmf-dist/source/latex/pixelart/pixelart.dtx	2018-01-14 22:56:37 UTC (rev 46311)
@@ -1,5 +1,5 @@
 % \iffalse meta-comment
-% Copyright 2017 Louis Paternault
+% Copyright 2017-2018 Louis Paternault
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either version 1.3
@@ -25,7 +25,7 @@
 %<package>\NeedsTeXFormat{LaTeX2e}
 %<package>\ProvidesPackage{pixelart}
 %<*package>
-    [2017/12/08 v0.1.1 A package to draw pixel-art pictures]
+    [2018/01/13 v0.1.2 A package to draw pixel-art pictures]
 %</package>
 %
 %<*driver>
@@ -148,6 +148,18 @@
 % \section{Download and Install}
 % \label{sec:install}
 %
+% \subsection{\textsc{Gnu}/Linux Distribution}
+%
+% If applicable, the easiest way to get |pixelart| working is by installing it by your distribution package. In Debian (and Ubuntu, and surely other distributions that inherit from Debian) it is packaged in |texlive-pictures| since version \texttt{2017.20180103-1}. So you can install it by running:
+%
+% \begin{quote}
+% |sudo apt install texlive-pictures|
+% \end{quote}
+%
+% \subsection{LaTeX distribution}
+%
+% This package is included both in \TeX{}Live and MiK\TeX{}. It can be installed using their respective package managers.
+%
 % \subsection{Manual installation}
 %
 % \begin{itemize}
@@ -170,7 +182,7 @@
 %
 % \subsection{Macros}
 %
-% This package defines two macros : |\bwpixelart|, used to insert a pixel-art picture, and |\tikzbwpixelart|, which has the same purpose, excepted that it is called from within a |tikzpicture| environment.
+% This package defines two macros : |\bwpixelart|\footnote{\texttt{$\backslash{}$bwpixelart} stands for \emph{b}lack and \emph{w}hite \emph{pixel art}, although \emph{color and transparent pixel art} would be more accurate.}, used to insert a pixel-art picture, and |\tikzbwpixelart|, which has the same purpose, excepted that it is called from within a |tikzpicture| environment.
 %
 % \subsubsection{\textbackslash\texttt{bwpixelart}}
 % \DescribeMacro{\bwpixelart}
@@ -229,7 +241,7 @@
 % \fi
 % \begin{lstlisting}
 \begin{tikzpicture}
-  \tikzbwpixelart{0101}
+  \tikzbwpixelart{(0, 0)}{0101}
 \end{tikzpicture}
 \end{lstlisting}
 % \iffalse
@@ -246,7 +258,7 @@
 %
 % For instance, this heart
 %\begin{tikzpicture}[scale=.05, baseline=-1em]
-%  \fill[red] (5, -5) circle (6.5);
+%  \fill[red] (5, -4) circle (6.5);
 %  \tikzbwpixelart{(0, 0)}{%
 %  0011001100
 %  0111111110
@@ -266,7 +278,7 @@
 % \fi
 % \begin{lstlisting}
 \begin{tikzpicture}[scale=.05, baseline=-1em]
-  \fill[red] (5, -5) circle (6.5);
+  \fill[red] (5, -4) circle (6.5);
   \tikzbwpixelart{(0, 0)}{%
   0011001100
   0111111110
@@ -458,48 +470,6 @@
 %
 % This will work (right now), but is an undefined behaviour, and might change in a later version without prior notice.
 %
-% \subsection{Leading space}
-%
-% As described in the previous section, spaces are considered as line breaks. A problem is that the \emph{first} space(s) is considered as a line breaks as well. Thus, the first space should be commented out (using \%), to avoid the case described in the following picture, where the cross marks the location of the upper left corner of the picture, as intended (but not as produced).
-%
-% \begin{center}
-%\begin{tikzpicture}[scale=.2]
-%  \tikzbwpixelart{(0, 0)}{
-%    10
-%    01
-%  }
-%  \draw (0, 0) node{$\times$} node[above left]{$(0, 0)$};
-%\end{tikzpicture}
-% \end{center}
-%
-% \iffalse
-%<*example>
-% \fi
-% \begin{lstlisting}
-\begin{tikzpicture}[scale=.2]
-  \tikzbwpixelart{(0, 0)}{
-    10
-    01
-  }
-  \draw (0, 0) node{$\times$} node[above left]{$(0, 0)$};
-\end{tikzpicture}
-\end{lstlisting}
-% \iffalse
-%</example>
-% \fi
-%
-% To circumvent this bug, line 2 should have been written as (note the trailing percent character):
-%
-% \iffalse
-%<*example>
-% \fi
-% \begin{lstlisting}[firstnumber=2]
-  \tikzbwpixelart{(0, 0)}{%
-\end{lstlisting}
-% \iffalse
-%</example>
-% \fi
-%
 % \subsection{Uneven lines}
 %
 % Right now, lines do not \emph{have} to have the same number of characters. For instance, the following heart
@@ -638,10 +608,11 @@
   \pgfkeys{/PIXELART/TIKZBWPIXELART, #1}
   \begin{scope}[shift={#2}]
     \begin{scope}[#1]
-      \coordinate (@pixelart) at (0, 0);
+      \coordinate (@pixelart) at (0, 1);
       \coordinate (@pixelart at startline) at (@pixelart);
 
-      \pgfparserparse{@bwpixelart} #3 @
+      \pgfparserparse{@bwpixelart}
+      #3 @
     \end{scope}
   \end{scope}
 }

Modified: trunk/Master/texmf-dist/tex/latex/pixelart/pixelart.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pixelart/pixelart.sty	2018-01-14 22:55:55 UTC (rev 46310)
+++ trunk/Master/texmf-dist/tex/latex/pixelart/pixelart.sty	2018-01-14 22:56:37 UTC (rev 46311)
@@ -23,7 +23,7 @@
 %% and the derived file pixelart.sty.
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{pixelart}
-    [2017/12/08 v0.1.1 A package to draw pixel-art pictures]
+    [2018/01/13 v0.1.2 A package to draw pixel-art pictures]
 
 \RequirePackage{pgf}
 \usepgfmodule{parser}
@@ -95,10 +95,11 @@
   \pgfkeys{/PIXELART/TIKZBWPIXELART, #1}
   \begin{scope}[shift={#2}]
     \begin{scope}[#1]
-      \coordinate (@pixelart) at (0, 0);
+      \coordinate (@pixelart) at (0, 1);
       \coordinate (@pixelart at startline) at (@pixelart);
 
-      \pgfparserparse{@bwpixelart} #3 @
+      \pgfparserparse{@bwpixelart}
+      #3 @
     \end{scope}
   \end{scope}
 }



More information about the tex-live-commits mailing list