texlive[64331] Master/texmf-dist: pst-bar (10sep22)

commits+karl at tug.org commits+karl at tug.org
Sat Sep 10 22:09:33 CEST 2022


Revision: 64331
          http://tug.org/svn/texlive?view=revision&revision=64331
Author:   karl
Date:     2022-09-10 22:09:32 +0200 (Sat, 10 Sep 2022)
Log Message:
-----------
pst-bar (10sep22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/pst-bar/README
    trunk/Master/texmf-dist/doc/generic/pst-bar/pst-bar-doc.bib
    trunk/Master/texmf-dist/doc/generic/pst-bar/pst-bar-doc.pdf
    trunk/Master/texmf-dist/doc/generic/pst-bar/pst-bar-doc.tex
    trunk/Master/texmf-dist/tex/generic/pst-bar/pst-bar.tex
    trunk/Master/texmf-dist/tex/latex/pst-bar/pst-bar.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/generic/pst-bar/Changes

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/generic/pst-bar/pst-bar-docDE.pdf
    trunk/Master/texmf-dist/doc/generic/pst-bar/pst-bar-docDE.tex
    trunk/Master/texmf-dist/doc/generic/pst-bar/pst-bar.orig
    trunk/Master/texmf-dist/source/generic/pst-bar/

Added: trunk/Master/texmf-dist/doc/generic/pst-bar/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-bar/Changes	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/generic/pst-bar/Changes	2022-09-10 20:09:32 UTC (rev 64331)
@@ -0,0 +1,57 @@
+pst-bar.tex -------------------
+ v 0.93   2022/09/10
+    fix for catcode setting in the tex file (hv)
+
+ v 0.92   2008/11/26
+    some more improvements to the code (hv)
+    
+ v 0.91   2008/04/16
+    Bar labels now set within parboxes to keep them from becoming too
+    long or overlapping with neighboring labels. New keys
+    ``labelalign'' and ``labelwidth'' added to control this behavior.
+    WARNING: These new features are not yet fully tested!
+
+ v 0.9    2005/10/07
+    Code now uses pst-xkey instead of pst-keyval for managing keys.
+
+ v 0.8    2005/02/13
+    Adjusted the code for stacked bar styles so the Postscript code argument to
+    \psbarscale so the Postscript code is only applied to the bottom bar.
+
+ v 0.7a   2004/09/24
+    Removed some debugging code that was accidentally left in the last release.
+    The removed code was harmless, but caused confusion for some users.
+
+ v 0.7    2004/09/15
+    Made a minor change to \psbarscale so its functionality would be more
+    closely analogous to the \pstScale command from the pstricks-add pacakge.
+    Improved documentation. Set default barstyle to list of all available
+    barstyles. First release to CTAN.
+
+ v 0.6    2004/09/09
+    Added orientation parameter and horizontal bar-drawing capability. Removed
+    erroneous correction factor for linewidth from stacked bar chart.
+
+ v 0.5    2004/09/02
+    Added header parameter for \readpsbardata. Improved handling of headers in
+    the data file -- spaces may now be included in a header item, though commas
+    still may not.
+
+ v 0.4    2004/08/29
+    Added "block" chartstyle. Updated \readpsbardata to use .csv for both
+    header and data. Introduced \psbarscale command. First release to pstricks
+    mailing list, 2004/09/01.
+
+ v 0.3    2004/08/26
+    Added command \readpsbardata to read data for bar chart directly from a
+    .csv file with the first row containing the column labels.
+
+ v 0.2a   2004/08/23
+    Changed colsep parameter name to barcolsep to avoid clash with psmatrix.
+
+ v 0.2    2004/08/22
+    Added stacked bar chart, chartstyle parameter, and introduced pst-bar.pro
+    prologue with transpose command.
+
+ v 0.1    2004/08/21
+    Clustered bar chart.

Modified: trunk/Master/texmf-dist/doc/generic/pst-bar/README
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-bar/README	2022-09-10 20:09:07 UTC (rev 64330)
+++ trunk/Master/texmf-dist/doc/generic/pst-bar/README	2022-09-10 20:09:32 UTC (rev 64331)
@@ -14,4 +14,7 @@
 
 DOCUMENTATION:
 
-See pst-bar-doc.ps or pst-bar-doc.pdf for details on using pst-bar.
+See pst-bar-doc.pdf for details on using pst-bar.
+
+BUGS:
+hvoss at tug.org

Modified: trunk/Master/texmf-dist/doc/generic/pst-bar/pst-bar-doc.bib
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-bar/pst-bar-doc.bib	2022-09-10 20:09:07 UTC (rev 64330)
+++ trunk/Master/texmf-dist/doc/generic/pst-bar/pst-bar-doc.bib	2022-09-10 20:09:32 UTC (rev 64331)
@@ -1,3 +1,145 @@
+ at STRING{tugboat	= {TUGboat} }
+ at STRING{beiprogramm	= {{\TeX}-Beiprogramm} }
+ at STRING{bretter	= {Bretter, die die Welt bedeuten} }
+ at STRING{dtk		= {{D}ie {\TeX}nische {K}om{\"o}die} }
+ at STRING{editorial	= {Editorial} }
+ at STRING{fremdebuehne	= {Von fremden B{\"u}hnen} }
+ at STRING{fundus		= {Aus dem Fundus} }
+ at STRING{hinterbuehne	= {Hinter der B{\"u}hne} }
+ at STRING{leserbrief	= {Leserbrief(e)} }
+ at STRING{magazin	= {Magazin} }
+ at STRING{rezension	= {Rezensionen} }
+ at STRING{schonimmer	= {Was Sie schon immer {\"u}ber {\TeX} wissen wollten \dots} }
+ at STRING{theaterkasse	= {Von der Theaterkasse} }
+ at STRING{theatertage	= {{\TeX}-Theatertage} }
+
+ at manual{PostScript95,
+author= {Adobe Systems~Incorporated},
+title = {PostScript Language Reference Manual}, 
+publisher = {Addison-Wesley},
+edition=2,
+date ={1995}
+}
+
+ at article{Bolek98,
+author={Piotr Bolek}, 
+title={\MP{} and patterns}, 
+journal = tugboat, 
+volume=19,
+number=3, 
+pages= {276--283}, 
+date = {1998-09},
+}
+%
+%
+ at article{Girou94,
+  author	= {Denis Girou},
+  title		= {Pr\'esentation de {PST}ricks},
+  journal	= {Cahier {GUT}enberg},
+  year		= 1994,
+  volume	= {16},
+  month		= apr,
+  pages		= {21-70},
+}
+
+ at book{LGC97,
+author	= {Michel Goosens and Frank Mittelbach and Sebastian Rahtz and Dennis Roegel and Herbert Vo\ss},
+  title		= {The {\LaTeX} {G}raphics {C}ompanion},
+  publisher	= {{Addison-Wesley Publishing Company}},
+  edition	= {2},
+  year		= {2007},
+  location	= {Boston, Mass.}
+}
+
+ at book{GS87,
+author={Branko Grünbaum and Geoffrey Shephard},
+title= {Tilings and Patterns}, 
+publisher={Freeman and Company},
+date={1987},
+}
+ at book{Hoenig97,
+author= {Alan Hoenig}, 
+title= {\TeX{} Unbound: \LaTeX{} \& \TeX{}},
+subtitle={Strategies, Fonts, Graphics, and More}, 
+publisher={Oxford University Press}, 
+date={1997},
+}
+%
+ at ctan{XYpic,
+title = {The Xypic package},
+subtitle = {Flexible diagramming macros},
+author = {Rose, Kristoffer H. and Moore, Ross},
+url = {https://ctan.org/pkg/xypic},
+urldate = {2021-09-30}, 
+date = {},
+version = {3.8.9},
+}
+%
+ at article{LAAN96,
+author= {Kees van der Laan},
+title= {Paradigms: Just a little bit of PostScript},
+journal={MAPS}, 
+volume =17, 
+pages = {137--150}, 
+date = {1996},
+}
+%
+ at article{LAAN97,
+author= {Kees van der Laan},
+title= {Tiling in PostScript and \MF{} -- Escher's
+wink},
+journal={MAPS}, 
+volume =19,
+number=2, 
+pages = {39--67}, 
+date = {1997},
+}
+
+ at ctan{vanzandt:93,
+  Title          = {PSTricks -- {\PS} macros for {G}eneric \TeX},
+  author         = {Timothy Van Zandt and Herbert Voß} ,
+  date           = 2016,
+  url	= {http://PSTricks.tug.org/},
+  urldate={2016-04-18},
+}
+%
+ at article{vanZandtGirou94,
+  author	= {Timothy Van Zandt and Denis Girou},
+  title		= {Inside PSTricks},
+  journal	= {TUGboat},
+  year		= {1994},
+  volume	= {15},
+  month		= sep,
+  pages		= {239--246}
+}
+
+%
+ at Book{voss07,
+  author	= {Herbert Vo\ss{}},
+  title		= {\texttt{PSTricks} -- {G}rafik f\"ur \TeX{} und \LaTeX},
+  edition	= {7},
+  publisher	= {DANTE and Lehmanns Media},
+  year		= {2016},
+  location	= {Heidelberg and Berlin}
+}
+
+ at Book{PSTricksE,
+  author	= {Herbert Vo\ss{}},
+  title		= {\texttt{PSTricks} -- {G}raphics and {P}ost{S}cript for \LaTeX},
+  edition	= {1},
+  publisher	= {UIT},
+  year		= {2011},
+  location	= {Cambridge -- UK}
+}
+%
+ at jornal{Wang65,
+author= {Hao Wang}, 
+title={Games, Logic and Computers}, 
+jpurnal={Scientific American}, 
+pages={98--106}, 
+date ={1965-11},
+}
+
 @STRING{dtk	= {{D}ie {\TeX}nische {K}om{\"o}die} }
 
 @Book{PostScript,
@@ -38,24 +180,6 @@
 }
 
 
- at Book{companion,
-  author	= {Michel Goosens and Frank Mittelbach and Sebastian Rahtz and Denis Roegel and Herbert Vo{\ss}},
-  title		= {The {\LaTeX} {G}raphics {C}ompanion},
-  publisher	= {{Addison-Wesley Publishing Company}},
-  edition	= second,
-  year		= {2007},
-  address	= {Reading, Mass.}
-}
-
- at Book{PSTricks2,
-  author	= {Herbert Vo\ss},
-  title		= {\texttt{PSTricks} -- {G}rafik f\"ur \TeX{} und \LaTeX},
-  edition	= {5.},
-  publisher	= {DANTE -- Lehmanns},
-  year		= {2008},
-  address	= {Heidelberg/Hamburg}
-}
-
 @Book{LaTeXRef,
   author	= {Herbert Vo\ss},
   title		= {\LaTeX\ Referenz},
@@ -64,3 +188,54 @@
   year		= {2007},
   address	= {Heidelberg/Hamburg}
 }
+
+ at ctan{histogr,
+title = {The Histogr package},
+subtitle = {Draw histograms with the LaTeX picture environment},
+author = {Schöpf, Rainer},
+url = {/macros/latex/contrib/histogr},
+urldate = {2022-09-10}, 
+date = {},
+version = {1.01},
+}
+
+ at ctan{bar,
+title = {The Bar package},
+subtitle = {A patched version of bar.sty},
+author = {Lang, Edmund and Bleser, Joachim},
+url = {/macros/latex209/contrib/misc/bar.sty},
+urldate = {2022-09-10}, 
+date = {},
+version = {1.0},
+}
+
+ at ctan{bardiag,
+title = {The Bardiag package},
+subtitle = {LaTeX package for drawing bar diagrams},
+author = {Stepanyan, R.},
+url = {/graphics/bardiag},
+urldate = {2022-09-10}, 
+date = {},
+version = {0.4a},
+}
+
+
+ at online{linnemann:04,
+author = {Arno Linnemann},
+date =  {2022-09-10},
+title = {LaPrint -- MATLAB Central File Exchange},
+url =  {https://www.mathworks.com/matlabcentral/fileexchange/4638-laprint}, 
+%. Retrieved September 10, 2022. 
+}
+
+
+ at ctan{pstricks-add,
+title = {The Pstricks-add package},
+subtitle = {A collection of add-ons and bugfixes for PSTricks},
+author = {Voß, Herbert and Rodriguez, Dominique},
+url = {/graphics/pstricks/contrib/pstricks-add},
+urldate = {2022-09-10}, 
+date = {2021-12-25},
+version = {3.92},
+}
+

Modified: trunk/Master/texmf-dist/doc/generic/pst-bar/pst-bar-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/generic/pst-bar/pst-bar-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-bar/pst-bar-doc.tex	2022-09-10 20:09:07 UTC (rev 64330)
+++ trunk/Master/texmf-dist/doc/generic/pst-bar/pst-bar-doc.tex	2022-09-10 20:09:32 UTC (rev 64331)
@@ -1,12 +1,15 @@
-%% $Id: pst-bar-doc.tex 63 2008-11-26 18:00:46Z herbert $
-\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
-    headexclude,footexclude,oneside]{pst-doc}
+%% $Id: pst-bar-doc.tex 603 2022-09-10 07:53:35Z herbert $
+\RequirePackage{pdfmanagement-testphase}
+\DeclareDocumentMetadata{}
+\documentclass[11pt,english,BCOR=10mm,DIV=14,bibliography=totoc,parskip=false,headings=small,
+    headinclude=false,footinclude=false,twoside]{pst-doc}
 \listfiles
 \usepackage{pst-bar}%
 \let\pstBarVersion\fileversion
-\usepackage{booktabs}%
+\usepackage{booktabs,hvlogos}%
 \usepackage{filecontents}%
 \usepackage{verbatim}%
+%\let\MP\MetaPost
 \makeatletter
 \def\kernhack#1#2{%
     \begingroup
@@ -52,7 +55,7 @@
 \endgroup
 \makeatother
 
-\usepackage[T1]{fontenc}%
+%\usepackage[T1]{fontenc}%
 
 \begin{filecontents*}{example1.csv}
     Set 1, Set 2, Set 3
@@ -93,6 +96,10 @@
     1.2, 2.7, 1.4
 \end{filecontents*}
 
+
+\addbibresource{\jobname.bib}
+
+
 \begin{document}
 \title{\texttt{pst-bar}\\ Bar charts for \texttt{pstricks}\\
     {\small v.\pstBarVersion}}
@@ -111,7 +118,7 @@
 
 \section{Introduction}
     \LPack{pst-bar} uses the power and flexibility of
-    \LPack{pstricks}~\cite{vanzandt:93} to draw bar charts from data stored in a
+    \LPack{pstricks}~\cite{pstricks} to draw bar charts from data stored in a
     comma-delimited file. Several solutions exist for drawing bar charts for
     \TeX\ and \LaTeX\ documents. The obvious solution is to use an external
     program, such as \Index{gnuplot} or \Index{Matlab}, that can save bar charts in a format
@@ -121,15 +128,15 @@
     cases the text in the chart can be typeset by \LaTeX\ with the aid of the
     \LPack{psfrag} or \verb|psfragx| packages (for diagrams created with Matlab,
     this process can be accelerated by \Index{LaPrint}, a Matlab program written
-    specifically for this purpose~\cite{linneman:04}). However, some programs
+    specifically for this purpose~\cite{linnemann:04}). However, some programs
     write the text elements in Encapsulated Postscript files in such a way that
     the \LPack{psfrag}-based options cannot work.
 
     Bar charts may also be drawn using the built-in drawing tools provided by
     \TeX\ and \LaTeX. This is the approach used by the \LPack{histogr}
-    package~\cite{schopf:97}, which is intended to draw histograms, but can be
+    package~\cite{histogr}, which is intended to draw histograms, but can be
     used to draw very simple bar charts. It also appears to be the approach
-    used by the \LPack{bar} package~\cite{bleser:94} for \LaTeX\ 2.09, which
+    used by the \LPack{bar} package~\cite{bar} for \LaTeX\ 2.09, which
     defines an environment for drawing bar charts. However, the built-in
     drawing tools are quite limited and work on the \LPack{bar} package appears
     to have ceased after 1994.
@@ -147,10 +154,10 @@
     There are currently two existing solutions for producing bar charts using
     \verb|pstricks|. One is the aforementioned brute force method in which a
     series of \Lcs{psframe}s are drawn with suitable heights, widths, and
-    colors to produce the desired chart~\cite{voss:barcharts}. While this
+    colors to produce the desired chart~\cite{PSTricksE}. While this
     method works admirably and provides maximum flexibility, it is tedious and
     labor-intensive. The other option is the \LPack{bardiag} package, which
-    essentially automates this approach~\cite{stepanyan:03}. While effective,
+    essentially automates this approach~\cite{bardiag}. While effective,
     \LPack{bardiag} requires a number of external packages to function, uses
     \LaTeX\ to perform its mathematical operations, and is not compatible with
     plain \TeX.
@@ -367,7 +374,7 @@
 \Lcs{psbarscale}\Largr{<scale>}\Largb{<Postscript code>}
 \end{BDef}
       inspired by Herbert Vo\ss' \verb|\pstScale| from
-      \LPack{pstricks-add}~\cite{voss:04}. The data are scaled by the value in
+      \LPack{pstricks-add}~\cite{pstricks-add}. The data are scaled by the value in
       parentheses and may be further manipulated with Postscript code. For
       example, to plot the logarithm of the input data one would use
       \Lcs{psbarscale}\Largr{1}\Largb{log}. The Postscript code is applied to the data
@@ -728,9 +735,8 @@
       \item Improve documentation.
     \end{itemize}
 
-\nocite*
-\bibliographystyle{plain}%
-\bibliography{pst-bar-doc}%
+\nocite{*}
+\printbibliography
 
 \printindex
 

Deleted: trunk/Master/texmf-dist/doc/generic/pst-bar/pst-bar-docDE.pdf
===================================================================
(Binary files differ)

Deleted: trunk/Master/texmf-dist/doc/generic/pst-bar/pst-bar-docDE.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-bar/pst-bar-docDE.tex	2022-09-10 20:09:07 UTC (rev 64330)
+++ trunk/Master/texmf-dist/doc/generic/pst-bar/pst-bar-docDE.tex	2022-09-10 20:09:32 UTC (rev 64331)
@@ -1,736 +0,0 @@
-%% $Id: pst-bar-doc.tex 63 2008-11-26 18:00:46Z herbert $
-%% geaendert am 7.2.09 ch. roemer
-\documentclass[11pt,ngerman,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
-    headexclude,footexclude,oneside]{pst-doc}
-\listfiles
-
-\usepackage[T1]{fontenc}
-\usepackage[ansinew]{inputenc}
-\usepackage{babel}
-
-\usepackage{pst-bar}%
-\let\pstBarVersion\fileversion
-\usepackage{booktabs}%
-\usepackage{filecontents}%
-\usepackage{verbatim}%
-\makeatletter
-\def\kernhack#1#2{%
-    \begingroup
-	\setbox\z@\hbox{#1#2}%
-	\dimen@\wd\z@
-	\setbox\z@\hbox{#1{}#2}\advance\dimen at -\wd\z@
-	\ifdim\dimen@=\z@\else\kern\dimen@\fi
-    \endgroup
-}
-\def\switch#1#2{%
-    \begingroup
-	\def\@switch##1#1##2\@nil#1##3\@stop{%
-	    \def\reserved at a{##3}%
-	    \ifx\reserved at a\@empty#2\else
-		\setbox\z@\hbox{##1#1}%
-		\setbox\tw@\hbox{\kernhack{#1}{##2}\switch{#1}{##2}}%
-		\dimen@\wd\tw@\advance\dimen@\wd\z@%
-		\wd\z@\dimen@%
-		\rlap{\hb at xt@\dimen@{\hfil\unhbox\tw@}}%
-		\box\z@
-	    \fi
-	}%
-	\@switch#2\@nil#1\@nil#1\@stop
-    \endgroup
-}
-% Given an e-mail address of the form abc at def.ghi.jkl, reverses it to be jkl
-% ghi. def. abc@
-\def\switchemail#1{\expandafter\@switchemail#1\@stop}
-% Helper function for \switchemail. Note the \copy, because \kernhack will
-% destroy the box otherwise. Need to do some funky stuff because of catcodes.
-\begingroup
-\makeatother
-\def\tmp#1#2#3{%
-    \gdef#1##1@##2#2{%
-	\begingroup
-	\setbox#3\hbox{\switch{.}{##2}}%
-	\switch{@}{##1@\copy#3}%
-	\endgroup
-    }%
-}
-\makeatletter
-\tmp\@switchemail\@stop\@tempboxa
-\endgroup
-\makeatother
-
-\usepackage[T1]{fontenc}%
-
-\begin{filecontents*}{example1.csv}
-    Set 1, Set 2, Set 3
-    1, 2, 3
-    1, 2, 3
-\end{filecontents*}
-
-\begin{filecontents*}{example2.csv}
-    Set 1, Set 2, Set 3
-    1, 2, 3
-    0.5, 1.5, 1
-\end{filecontents*}
-
-\begin{filecontents*}{example3.csv}
-    Set 1, Set 2, Set 3
-    1, 2, 3
-    0.5, 1.5, 1
-    0.75, 1.6, 0.9
-    0.9, 2.2, 2.5
-\end{filecontents*}
-
-\begin{filecontents*}{example4.csv}
-    Set 1, Set 2, Set 3
-    1, 0, 3
-\end{filecontents*}
-
-\begin{filecontents*}{example5.csv}
-    0, 2, 0
-\end{filecontents*}
-
-\begin{filecontents*}{example6.csv}
-    Set 1, Set 2, Set 3
-    1.3, 2.5, 0.9
-\end{filecontents*}
-
-\begin{filecontents*}{example7.csv}
-    0.7, 1.9, 0.4
-    1.2, 2.7, 1.4
-\end{filecontents*}
-
-\begin{document}
-\title{\texttt{pst-bar}\\ Balken- und S\xE4ulendiagramme mit \texttt{pstricks}\\
-    {\small v.\pstBarVersion}}
-\author{Alan Ristow}
-\docauthor{Alan Ristow\\Herbert Vo\ss\\Juliane Horn (\"Ubersetzung)}
-\date{\today}
-\maketitle
-
-  \begin{abstract}
-    Mithilfe von \LPack{pst-bar} kann man \LPack{pstricks} verwenden, um Balkendiagramme 
-    direkt aus einer Daten-Datei zu erzeugen. Dieses Paket befindet sich allerdings noch im 
-    Beta-Stadium -- die \xFCblichen Warnungen bez\xFCglich Beta-Software treffen 
-    daher zu. Es wird zus\xE4tzliche Merkmale und verbesserte Dokumentationen (den Inhalt 
-    sowie die Ausstattung betreffend) geben, wenn sich der Code stabilisiert.
-  \end{abstract}
-
-\section{Einf\xFChrung}
- Aufgrund der Leistung und Flexibilit\xE4t von \LPack{pstricks} [1] ist es m\xF6glich, mit 
- \LPack{pst-bar} Balkendiagramme zu erstellen, deren Einzelheiten in einer
- mit Komma abgetrennten Datei gespeichert sind. 
- Es gibt mehrere L\xF6sungen, um S\xE4ulendiagramme in \TeX\ und \LaTeX\ -
- Dokumenten zu "`zeichnen"'. 
- Die offensichtliche L\xF6sung ist, ein externes Programm wie \Index{gnuplot}
- oder \Index{Matlab} zu verwenden, das Balkendiagramme in einem Format speichert, welches 
- direkt von \TeX\ oder \LaTeX\ gelesen werden kann. Diese Methode hat den Nachteil, dass 
- zus\xE4tzlicher Aufwand n\xF6tig ist, um den Diagrammen ein einheitliches Erscheinungsbild zu 
- geben, welches zu anderen Grafiken im Dokument passt. In vielen F\xE4llen kann der Diagrammtext 
- von \LaTeX\ mithilfe der Pakete \LPack{psfrag} oder \verb|psfragx| eingef\xFCgt werden 
- (das Matlab-Programm \Index{LaPrint} kann diesen Prozess bei Matlab-Diagrammen 
- beschleunigen, da es speziell f\xFCr diesen Zweck entwickelt wurde [2]). Jedoch schreiben 
- einige Programme die Textelemente in EPS (Encapsulated Postscript)-Dateien, sodass die 
- Optionen von \LPack{psfrag} nicht funktionieren.
-
-Balkendiagramme k\xF6nnen aber auch mit den eingebauten Zeichenwerkzeugen in 
-\TeX\ und \LaTeX\ gezeichnet werden. Daf\xFCr wird das \LPack{histogr} Paket [3] verwendet,
-welches neben Histogrammen auch sehr einfache Balkendiagramme erstellen kann. Es scheint eine 
-Ann\xE4herung an das \LPack{bar} Paket [4] f\xFCr \LaTeX\ 2.09 zu sein, da es eine neue Umgebung 
-f\xFCr das Zeichnen von S\xE4ulendiagrammen definiert. Allerdings sind die eingebauten 
-Zeichenwerkzeuge begrenzt und die Arbeit am \LPack{bar} Paket wurde wohl nach 1994 beendet.
-
-Es wurden technisch verfeinerte Zeichenwerkzeuge f\xFCr \TeX\ und
-\LaTeX\ entwickelt; die bekanntesten sind \verb|eepic|, \verb|texdraw| und \verb|latexdraw|,
-\verb|LaTeXPiX|, MetaPost, \LPack{mfpic}, und \LPack{pstricks}. Mit jedem dieser Mittel 
-k\xF6nnen Balkendiagramme gesetzt werden; jedoch besitzt keines eine eingebaute Unterst\xFCtzung 
-f\xFCr diese, sodass die Diagramme mit der "`Brachialgewalt"'--Methode angefertigt werden 
-m\xFCssen, das 
-bedeutet ein manuelles Einzeichnen von K\xE4sten, welche die Balken im Diagramm 
-darstellen. Je nach Werkzeug kann es sein, dass auch die Achsen manuell eingezeichnet
-werden m\xFCssen. Das \LPack{pst-bar} Paket soll den Prozess des Zeichnens von Balken- und 
-S\xE4ulendiagrammen unter Verwendung von \LPack{pstricks} automatisieren.
-
-Derzeit gibt es zwei M\xF6glichkeiten f\xFCr die Erstellung von Balkendiagrammen mit 
-\verb|pstricks|. Die Erste ist die oben genannte Brachialgewalt-Methode, bei der eine Reihe 
-von 
-\Lcs{psframe}s mit passenden H\xF6hen, Breiten und Farben gezeichnet werden, um zum gew\xFCnschten 
-Ergebnis zu gelangen [5]. Zwar ist diese M\xF6glichkeit vortrefflich und bietet den gr\xF6\xDFten 
-Spielraum, allerdings ist sie m\xFChsam und arbeitsintensiv. Die zweite Option ist das 
-\LPack{bardiag} Paket; es automatisiert im Wesentlichen [6] die Vorgehensweise mit brachialer 
-Gewalt im.
-Dieser Ansatz ist wirkungsvoll, jedoch ben\xF6tigt \LPack{bardiag} zahlreiche externe Pakete. 
-Weiterhin verwendet es \LaTeX\ , um mathematische Befehle durchzuf\xFChren und es ist nicht 
-kompatibel mit dem normalen \TeX.
-
-Durch \LPack{pst-bar} werden diese Probleme vermieden. Es beruft sich ausschlie\xDFlich auf 
-Pakete der \verb|pstricks|-Familie, stellt umfassende Anpassungsfunktionen zur Verf\xFCgung, 
-baut auf Postscript f\xFCr fast alle mathematischen Operationen und sollte mit dem einfachen 
-\TeX\ kompatibel sein (bisher ungetestet). Damit Balkendiagramme angefertigt und beschriftet 
-werden k\xF6nnen, benutzt \verb|pst-bar| Befehle, um die Angaben der durch Komma 
-abgegrenzten Datei zu lesen. Vielfache Datenreihen k\xF6nnen dabei entweder gesammelt oder 
-gestapelt grafisch dargestellt werden; die Balken k\xF6nnen horizontal oder vertikal 
-eingezeichnet werden. Eine zus\xE4tzliche Option erm\xF6glicht es, Blockdiagramme zu erzeugen, 
-welche die Unterschiede zwischen den nachfolgenden Reihen von Daten in der Datendatei zeigen 
-(siehe auch Kapitel ~\ref{sec:block}).
-
-Zu diesem Zeitpunkt sollte \verb|pst-bar| noch als Beta-Software betrachtet werden. Es wird 
-nicht garantiert, dass die \xC4nderungen am Code, welche zwischen dieser Ausgabe und der ersten 
-dauerhaften Ausgabe auftreten, auch r\xFCckw\xE4rts kompatibel sind.
-
-\section{Erstellen von Balken- und S\xE4ulendiagrammen}
-Das Zeichnen von Balkendiagrammen mit \verb|pst-bar| erfolgt in drei Schritten: 
-(i) Lesen der Datendatei, (ii) Zeichnen der Balken und (iii) Einzeichnen der Achsen. Die 
-ersten beiden Schritte erfolgen direkt durch \verb|pst-bar|. F\xFCr den dritten ist das 
-\LPack{pst-plot} Paket notwendig, das fester Bestandteil von \verb|pstricks| ist.
-
-Die folgenden Abschnitte befassen sich mit dem Format der Datendatei, mit dem Laden von Daten 
-aus der Datei und mit dem Erstellen eines Balkendiagramms mithilfe dieser Daten.
-
-\subsection{Format der Datendatei}
-Die Datei mit den Daten muss durch Komma begrenzt sein und jede Reihe muss die gleiche Anzahl 
-an Eintr\xE4gen enthalten. Eine Kopfzeile ist erlaubt, aber kein Eintrag in dieser Zeile darf 
-Kommas oder \Lcs{par} Befehle beinhalten (gilt ebenso f\xFCr \verb|\\|). Eine der Dateien, 
-welche f\xFCr diese Dokumentation benutzt werden, sieht so aus: \verbatiminput{example1.csv}%
-In diesem Fall sind \verb|Set 1|, \verb|Set 2|, und \verb|Set 3| die Kopfzeilen. Die 
-nachfolgenden Reihen, sp\xE4ter als \emph{data rows} gekennzeichnet, umfassen die Daten, die mit
-den \xDCberschriften verkn\xFCpft werden. Die Datei wird in einem s\xE4ulen\xE4hnlichen Stil angeordnet, 
-sodass man mit \verb|Set 1| die Daten \verb|1| und \verb|1| verbindet, mit \verb|Set 2| die 
-Daten \verb|2| und \verb|2| und so weiter. Zuerst werden die Daten grafisch dargestellt und 
-anschlie\xDFend mit dem Text der Kopfzeile beschriftet.
-
-\emph{Achtung!} Es gibt zwei sehr wichtige Bedingungen f\xFCr die Daten innerhalb der Datei:
-\begin{itemize}
-  \item Alle Daten au\xDFerhalb der Kopfzeile m\xFCssen numerisch sein. Falls keine Kopfzeile 
-  vorhanden ist, m\xFCssen alle Daten der Datei numerisch sein.
-  \item Jede Zeile muss dieselbe Anzahl von Eintr\xE4gen haben.
-\end{itemize}
-Werden diese Bedingungen nicht eingehalten, k\xF6nnen Postscript-Fehler oder (seltener) falsch 
-beschriftete oder gezeichnete Balkendiagramme die Folge sein.
-      
-Wie diese Dateien grafisch dargestellt werden, h\xE4ngt von der Art des gew\xFCnschten Diagramms 
-ab. Siehe dazu Kapitel ~\ref{sec:cluster} -- \ref{sec:block} und die Beispiele in 
-Kapitel~\ref{sec:examples}.
-
-\subsection{Lesen der Datendatei}
-Der Befehl \verb|\readpsbardata| liest die Datei:
-\begin{verbatim}
-    \readpsbardata[<options>]{<data>}{<filename>}
-\end{verbatim}
-Geben Sie f\xFCr die Daten einen Makro-Namen an, den Sie noch nicht benutzen. 
-
-Die verf\xFCgbaren Optionen sind:
-\begin{center}
-\begin{tabular}{ll}
-\toprule
-Parameter & Definition\\
-\midrule
-\Lkeyword{header} & \verb|true|, wenn die erste Zeile der Datei eine Kopfzeile ist\\
-                  & \verb|false|, wenn \verb|true| nicht zutrifft\\
-                  & Standard: \verb|true|\\
-\bottomrule
-\end{tabular}
-\end{center}
-      
-Setzt man \verb|header| auf \verb|false|, so geht \verb|pst-bar| davon aus, dass kein 
-header (Kopfzeile) existiert und die erste Zeile wird als Daten-Zeile angesehen. 
-
-\subsection{Einzeichnen der Balken}
-\label{sec:drawing_bars}%
-Der Befehl \verb|\psbarchart| zeichnet die Balken f\xFCr das Diagramm.
-\begin{verbatim}
-    \psbarchart[<options>]{<data>}
-\end{verbatim}
-F\xFCr \verb|<data>| verwenden Sie bitte den Makro-Namen, den Sie bei \Lcs{readpsbardata} 
-ausgew\xE4hlt hatten.
-Die S\xE4ulen werden in Spalten eingeteilt, die eine \Lcs{psxunit} breit sind. Die Anzahl der 
-S\xE4ulen in einer Spalte entspricht dabei der Zahl der Datenreihen in einer Datei. Die 
-Unterseite jeder Spalte wird mit den \xDCberschriften (header) der Datei beschriftet, wenn man 
-bei \Lcs{readpsbardata} f\xFCr \Lkeyword{header} \verb|true| angegeben hat. Allerdings 
-wird nur die Balken- und S\xE4ulenbeschriftung erstellt -- der Rahmen und die Achsen m\xFCssen extra 
-bestimmt werden.
-
-Die verf\xFCgbaren Optionen sind:
-\begin{center}
-\begin{tabular}{ll}
-\toprule
-Parameter           & Definition\\
-\midrule
-\Lkeyword{chartstyle}   & \Lkeyval{cluster} erzeugt eine Gruppe von Balken\\
-                        & \Lkeyval{stack} sammelt die Gruppen in einer Einzelspalte\\
-                   & \Lkeyval{block} erstellt einen schwebenden Balken (Minimum ist nicht 0)\\
-                                & Standard: \Lkeyval{cluster}\\
-            \Lkeyword{barstyle}     & Name(n) des Balken-Stils f\xFCr jeden Balken\\
-                    & Standard: \verb|{black,darkgray,gray,lightgray,white,red,green,blue}|\\
-            \Lkeyword{barcolsep}    & beeinflusst den Zwischenraum zwischen den Spalten\\
-                                & Standard: \verb|0.4|\\
-            \Lkeyword{barsep}       & beeinflusst den Zwischenraum zwischen den Balken \\
-                                & (\Lkeyval{cluster} und \Lkeyval{block} Diagramme)\\
-                                & Standard: \verb|0.0|\\
-            \Lkeyword{barlabelrot}  & Drehwinkel der Spaltenbeschriftung\\
-                                & Standard: \verb|0|\\
-            \Lkeyword{orientation}  & \Lkeyval{vertical} f\xFCr vertikal gezeichnete Balken\\
-                                & \Lkeyval{horizontal} f\xFCr horizontal gezeichnete Balken\\
-                                & Standard: \Lkeyval{vertical}\\
-\bottomrule%
-\end{tabular}
-\end{center}
-
-Die Anzahl der angegebenen \verb|barstyle|s muss der Anzahl von Balken in jeder Spalte 
-entsprechen oder gr\xF6\xDFer als diese sein. Andernfalls entsteht ein Postcript-Fehler. Bei den 
-\Lkeyval{cluster} und \Lkeyval{stack} \verb|chartstyle|s entspricht dies den Datenreihen in 
-der Datei; beim \Lkeyval{block} \verb|chartstyle| entspricht es der halben Anzahl 
-der Datenreihen. Au\xDFerdem ist bei der Angabe der \verb|barstyle|s darauf zu achten, dass die 
-Stile in geschweiften Klammern angegeben werden, wie z.\,B.:
-\begin{BDef}
-\Lcs{psbarchart}\OptArgs\Largb{\ldots}
-\end{BDef}
-
-Die verf\xFCgbaren \Lkeyword{barstyle}s sind standardm\xE4\xDFig \Lkeyval{red}, \Lkeyval{green},
-\Lkeyval{blue}, \Lkeyval{black}, \Lkeyval{white}, \Lkeyval{gray}, \Lkeyval{lightgray},
-und \Lkeyval{darkgray}. Jeder davon erzeugt einen Balken in der angegebenen Farbe mit 
-rechtwinkligen Ecken und schwarzem Umriss. Mit dem Befehl \Lcs{newpsbarstyle} k\xF6nnen 
-zus\xE4tzlich neue \Lkeyword{barstyle}s definiert werden, siehe dazu 
-Kapitel ~\ref{sec:customizing}.
-
-Abbildung ~\ref{fig:bar_layout} zeigt, wie \Lcs{psbarchart} die Balken im 
-Standard-\Lkeyword{chartstyle}, \Lkeyval{cluster}, anlegt. Beim \Lkeyval{stack} 
-\Lkeyword{chartstyle} wird die \Lkeyword{barsep} Option nicht ber\xFCcksichtigt.
-
-\begin{figure}[t]
-        \centering%
-        \begin{pspicture}(0,0)(4in,2in)%
-          \psframe[linestyle=dashed](0,0)(4in,2in)%
-          \psframe[linestyle=none,fillstyle=hlines,hatchangle=45,%
-            hatchcolor=lightgray,hatchwidth=0.4pt,hatchsep=8pt](0,0)(1in,2in)%
-          \psframe[fillcolor=darkgray,fillstyle=solid](0.2in,0in)(0.45in,0.8in)%
-          \psframe[fillcolor=lightgray,fillstyle=solid](0.55in,0in)(0.8in,1.1in)%
-          \psline[linestyle=dotted](1in,0in)(1in,2in)%
-          \psframe[fillcolor=darkgray,fillstyle=solid](1.2in,0in)(1.45in,0.6in)%
-          \psframe[fillcolor=lightgray,fillstyle=solid](1.55in,0in)(1.8in,0.4in)%
-          \psline[linestyle=dotted](2in,0in)(2in,2in)%
-          \psframe[fillcolor=darkgray,fillstyle=solid](2.2in,0in)(2.45in,0.4in)%
-          \psframe[fillcolor=lightgray,fillstyle=solid](2.55in,0in)(2.8in,0.3in)%
-          \psline[linestyle=dotted](3in,0in)(3in,2in)%
-          \psframe[fillcolor=darkgray,fillstyle=solid](3.2in,0in)(3.45in,1.1in)%
-          \psframe[fillcolor=lightgray,fillstyle=solid](3.55in,0in)(3.8in,0.9in)%
-          \rput[b](0.5in,1.8in){\small$\mathtt{\backslash psxunit}$}%
-          \psline{->}(0.2in,1.87in)(0in,1.87in)%
-          \psline{->}(0.8in,1.87in)(1in,1.87in)%
-          \psline(0.45in,0.85in)(0.45in,1.3in)%
-          \psline(0.55in,1.15in)(0.55in,1.3in)%
-          \rput[l](0.8in,1.25in){\small$\mathtt{barsep} \times
-            \mathtt{\backslash psxunit}$}%
-          \psline{->}(0.75in,1.25in)(0.55in,1.25in)%
-          \psline{->}(0.25in,1.25in)(0.45in,1.25in)%
-          \psline{->}(0.6in,0.9in)(0.8in,0.9in)%
-          \psline{->}(1.2in,0.9in)(1in,0.9in)%
-          \rput[l](1.25in,0.9in){\small$0.5 \times \mathtt{barcolsep} \times
-            \mathtt{\backslash psxunit}$}%
-        \end{pspicture}
-        \caption{\label{fig:bar_layout}%
-Schematische Darstellung f\xFCr das Layout des Balkendiagramms. Die schraffierte Fl\xE4che markiert 
-den Bereich, in dem die Daten der ersten Spalte der Datei dargestellt sind. Die Breite der 
-Balken entspricht $[(1 - \mathtt{barsep} - 0.5 \times \mathtt{barcolsep}) \times 
-\mathtt{\backslash psxunit}] / N$, wobei $N$ f\xFCr die Anzahl der Balken in einer Spalte 
-steht.}%
-\end{figure}
-
-\subsection{Anpassung des Diagramms}\label{sec:customizing}%
-Um einen angefertigten Balkentyp hinzuzuf\xFCgen, ist der Befehl \Lcs{newpsbarstyle} zu 
-verwenden:
-\begin{BDef}
-\Lcs{newpsbarstyle}\Largb{<name>}\Largb{<definition>}
-\end{BDef}
-Diese Bezeichnung ist eine Textfolge, die derzeitig von keinem anderen \Lkeyword{barstyle} 
-verwendet wird. Die Definition kann sich aus jedem \LPack{pstricks} Schl\xFCssel bzw. aus jeder 
-Gruppe von Schl\xFCsseln ergeben, die mit \Lcs{psframe} anwendbar sind. Zum Beispiel wird 
-\Lkeyval{red} \Lkeyword{barstyle} wie folgt definiert:
-\begin{BDef}
-\Lcs{newpsbarstyle}\Largb{red}\Largb{\Lkeyset{fillcolor=red},\Lkeyset{fillstyle=solid},
-\Lkeyword{framearc}=0}
-\end{BDef}
-
-Um den Typ, mit dem die Spaltenbezeichnungen festgelegt werden, anzupassen, wird 
-\Lcs{psbarlabel} neu definiert. Wenn die Beschriftung aus kleinen Kursivbuchstaben bestehen 
-soll, sieht diese so aus:
-\begin{BDef}
-\LcsStar{renewcommand}\Lcs{psbarlabel}\Largb{\small\itshape}
-\end{BDef}
-\xDCblicherweise erstellt \Lcs{psbarlabel} die Spaltenbeschriftung in der aktuellen Schriftart.
-      
-Um den Abstand zwischen den S\xE4ulen und der Spaltenbeschriftung zu regulieren, wird 
-\Lcs{psbarlabelsep} neu definiert. Dabei ist es als Befehl, nicht als Umfang, definiert und
-muss daher mit \Lcs{renewcommand*} wiederdefiniert werden. Als Standard benutzt man \verb|0pt|.
-
-Am Ende ist es m\xF6glich, die Daten der Datei mit \Lcs{psbarscale} anzupassen und zu 
-manipulieren, wie z.\,B.
-\begin{BDef}
-\Lcs{psbarscale}\Largr{<scale>}\Largb{<Postscript code>}
-\end{BDef}
-welches von Herbert Vo\ss' \verb|\pstScale| aus \LPack{pstricks-add} beeinflusst wurde [7]. 
-Die Daten werden durch den Wert in Klammern eingestuft und k\xF6nnen im Weiteren mit dem 
-Postscript Code gesteuert werden. F\xFCr den Fall, dass man den Logarithmus der eingegebenen 
-Daten grafisch darstellen will, w\xFCrde man \Lcs{psbarscale}\Largr{1}\Largb{log} benutzen. 
-Der Postscript Code bezieht sich auf die Daten vor der Skalierung. 
-
-\section{Die Arten von Diagrammen}
-Wie bereits in ~\ref{sec:drawing_bars} beschrieben, gibt es drei verschiedene M\xF6glichkeiten 
-f\xFCr den Parameter \Lkeyword{chartstyle}. Der Standard-Typ \Lkeyval{cluster} ist ein 
-allgemeines Balkendiagramm, bei dem die Balken aufgrund \xE4hnlicher Daten gruppiert werden. Die 
-zweite Option, \Lkeyval{stack}, zeichnet eine Reihe von S\xE4ulen aufeinander gestapelt, statt 
-sie nebeneinander in einer Gruppe anzuordnen. Benutzt man \Lkeyval{block}, die dritte 
-Alternative, so werden angeh\xE4ufte Balken zwischen zwei Datenpunkten eingezeichnet und somit 
-eine Spanne von Werten anstelle eines einzelnen Wertes veranschaulicht. 
-
-Die folgenden Abschnitte beschreiben jeden \Lkeyword{chartstyle} im Detail und erkl\xE4ren, wie 
-die Eingabedaten verwendet werden. Zus\xE4tzlich werden f\xFCr jeden Fall Muster
-gezeigt. Im Kapitel ~\ref{sec:examples} sind vollst\xE4ndige Beispiele einschlie\xDFlich der Achsen 
-aufgezeigt.
-
-\subsection{\texttt{cluster}}\label{sec:cluster}%
-In einem \Lkeyval{cluster} Diagramm wird jede Variable in einer Reihe, die durch Kommas 
-getrennt ist, als ein Balken in einer einzelnen Spalte dargestellt. Jede Reihe steht daher 
-f\xFCr eine neue Balkeneinheit. Die Datei
-\verbatiminput{example1.csv}%
-erzeugt nachstehendes Diagramm: 
-
-      \hfill%
-      \begin{minipage}[b]{1.5in}%
-        \psset{unit=0.5in}%
-        \begin{pspicture}(0,-0.5)(3,3)%
-          \readpsbardata{\data}{example1.csv}%
-          \psbarchart[barstyle={red,blue}]{\data}%
-        \end{pspicture}
-      \end{minipage}%
-      \hfill%
-      \begin{minipage}[b][1.75in][c]{3.5in}%
-        \begin{verbatim}
-\psset{unit=0.5in}%
-\begin{pspicture}(0,-0.5)(3,3)%
-  \readpsbardata{\data}{example1.csv}%
-  \psbarchart[barstyle={red,blue}]{\data}%
-\end{pspicture}\end{verbatim}
-      \end{minipage}%
-      \hfill%
-
-\subsection{\texttt{stack}}
-Bei einem \Lkeyval{stack} Diagramm befindet sich in jeder Spalte lediglich ein Balken. Dieser 
-eine Balken besteht aus so vielen Abschnitten, wie die Datendatei Reihen hat. Jede Reihe wird 
-auf die Oberkante der Vorigen "`gestapelt"'. Die Datei
-\verbatiminput{example2.csv}%
-erzeugt folgendes Diagramm:\\
-\vspace*{.5cm}\\
-      \hfill%
-      \begin{minipage}[b]{1.5in}%
-        \psset{unit=0.5in}%
-        \begin{pspicture}(0,-0.5)(3,4)%
-          \readpsbardata{\data}{example2.csv}%
-          \psbarchart[barstyle={red,blue},chartstyle=stack]{\data}%
-        \end{pspicture}
-      \end{minipage}
-      \hfill%
-      \begin{minipage}[b][2.25in][c]{3.5in}%
-        \begin{verbatim}
-\psset{unit=0.5in}%
-\begin{pspicture}(0,-0.5)(3,4)%
-  \readpsbardata{\data}{example2.csv}%
-  \psbarchart[barstyle={red,blue},%
-    chartstyle=stack]{\data}%
-\end{pspicture}\end{verbatim}
-      \end{minipage}
-      \hfill%
-
-Beachten Sie, dass diese S\xE4ulen hier breiter sind als bei 
-\Lkeyset{chartstyle=cluster}, da sie bei \Lkeyval{stack} vertikal aufeinander gestapelt 
-werden, bei \Lkeyval{cluster} allerdings horizontal nebeneinander auf der x-Achse angeordnet 
-sind. Um eine \xE4hnliche Balkenbreite wie im \Lkeyval{cluster} - Diagramm zu erhalten, stellt 
-man \Lkeyword{xunit}\verb|=0.25in| ein.
-
-\subsection{\texttt{block}}\label{sec:block}%
-In einem \verb|block| Diagramm kann an jedem Balken eine Reihe von Werten abgelesen werden. 
-Daher ben\xF6tigt jede S\xE4ule zwei Datenlinien aus der Datei, eine f\xFCr die Markierung der oberen 
-und eine f\xFCr die Markierung der unteren Grenze. Gibt es mehrere Paare von Datenlinien, werden 
-sie gesammelt dargestellt. Existiert eine ungerade Anzahl von Datenreihen, so wird die letzte 
-nicht beachtet. 
-\vspace*{.5cm}
-
-Aus: \verbatiminput{example3.csv}%
-entsteht dieses Diagramm:
-
-      \hfill%
-      \begin{minipage}[b]{1.5in}%
-        \psset{unit=0.5in}%
-        \begin{pspicture}(0,-0.5)(3,3.5)%
-          \readpsbardata{\data}{example3.csv}%
-          \psbarchart[barstyle={red,blue},chartstyle=block]{\data}%
-        \end{pspicture}
-      \end{minipage}%
-      \hfill%
-      \begin{minipage}[b][1.5in][c]{3.5in}%
-        \begin{verbatim}
-\psset{unit=0.5in}%
-\begin{pspicture}(0,-0.5)(3,3.5)%
-  \readpsbardata{\data}{example3.csv}%
-  \psbarchart[barstyle={red,blue},%
-    chartstyle=block]{\data}%
-\end{pspicture}\end{verbatim}
-      \end{minipage}
-
-\section{Beispiele}\label{sec:examples}%
-Grundlegende Beispiele f\xFCr jeden Typ einschlie\xDFlich Achsen und Gitternetzlinien:
-
-    \begin{verbatim}
-\begin{filecontents*}{example2.csv}
-  Set 1, Set 2, Set 3
-  1, 2, 3
-  0.5, 1.5, 1
-\end{filecontents*}\end{verbatim}
-
-    \hfill%
-    \begin{minipage}[b]{1.5in}%
-      \psset{unit=0.5in}%
-      \begin{pspicture}(0,-0.5)(3,4.5)%
-        \psgrid[xunit=1.5in,gridlabels=0,subgriddiv=0,griddots=30](0,0)(1,4)%
-        \psaxes[axesstyle=frame,Ox=0,Dx=1,labels=y,ticks=y](0,0)(3,4)%
-        \readpsbardata{\data}{example2.csv}%
-        \psbarchart[barstyle={red,blue}]{\data}%
-      \end{pspicture}
-    \end{minipage}%
-    \hfill%
-    \begin{minipage}[b][2.25in][c]{3.5in}%
-      \begin{verbatim}
-\psset{unit=0.5in}%
-\begin{pspicture}(0,-0.5)(3,4.5)%
-  \psgrid[xunit=1.5in,gridlabels=0,%
-    subgriddiv=0,griddots=30](0,0)(1,4)%
-  \psaxes[axesstyle=frame,Ox=0,Dx=1,labels=y,%
-    ticks=y](0,0)(3,4)%
-  \readpsbardata{\data}{example2.csv}%
-  \psbarchart[barstyle={red,blue}]{\data}%
-\end{pspicture}\end{verbatim}
-    \end{minipage}
-
-    \hfill%
-    \begin{minipage}[b]{1.5in}%
-      \psset{unit=0.5in}%
-      \begin{pspicture}(0,-0.5)(3,4.5)%
-        \psgrid[xunit=1.5in,gridlabels=0,subgriddiv=0,griddots=30](0,0)(1,4)%
-        \psaxes[axesstyle=frame,Ox=0,Dx=1,labels=y,ticks=y](0,0)(3,4)%
-        \readpsbardata{\data}{example2.csv}%
-        \psbarchart[barstyle={red,blue},chartstyle=stack]{\data}%
-      \end{pspicture}
-    \end{minipage}%
-    \hfill%
-    \begin{minipage}[b][2.25in][c]{3.5in}%
-      \begin{verbatim}
-\psset{unit=0.5in}%
-\begin{pspicture}(0,-0.5)(3,4.5)%
-  \psgrid[xunit=1.5in,gridlabels=0,%
-    subgriddiv=0,griddots=30](0,0)(1,4)%
-  \psaxes[axesstyle=frame,Ox=0,Dx=1,labels=y,%
-    ticks=y](0,0)(3,4)%
-  \readpsbardata{\data}{example2.csv}%
-  \psbarchart[barstyle={red,blue},%
-    chartstyle=stack]{\data}%
-\end{pspicture}\end{verbatim}
-    \end{minipage}
-
-    \hfill%
-    \begin{minipage}[b]{1.5in}%
-      \psset{unit=0.5in}%
-      \begin{pspicture}(0,-0.5)(3,4.5)%
-        \psgrid[xunit=1.5in,gridlabels=0,subgriddiv=0,griddots=30](0,0)(1,4)%
-        \psaxes[axesstyle=frame,Ox=0,Dx=1,labels=y,ticks=y](0,0)(3,4)%
-        \readpsbardata{\data}{example2.csv}%
-        \psbarchart[barstyle={red,blue},chartstyle=block]{\data}%
-      \end{pspicture}
-    \end{minipage}%
-    \hfill%
-    \begin{minipage}[b][2.25in][c]{3.5in}%
-      \begin{verbatim}
-\psset{unit=0.5in}%
-\begin{pspicture}(0,-0.5)(3,4.5)%
-  \psgrid[xunit=1.5in,gridlabels=0,%
-    subgriddiv=0,griddots=30](0,0)(1,4)%
-  \psaxes[axesstyle=frame,Ox=0,Dx=1,labels=y,%
-    ticks=y](0,0)(3,4)%
-  \readpsbardata{\data}{example2.csv}%
-  \psbarchart[barstyle={red,blue},%
-    chartstyle=block]{\data}%
-\end{pspicture}\end{verbatim}
-    \end{minipage}
-
-Verwendung von \verb|\newpsbarstyle|:
-
-    \hfill%
-    \begin{minipage}[b]{1.5in}%
-      \psset{unit=0.5in}%
-      \newpsbarstyle{yellowhatch}{framearc=0.5,fillstyle=hlines*,rot=45,fillcolor=yellow}%
-      \newpsbarstyle{redoutline}{framearc=0.5,fillcolor=black,linecolor=red,linewidth=1.5pt}%
-      \begin{pspicture}(0,-0.5)(3,4.5)%
-        \psgrid[xunit=1.5in,gridlabels=0,subgriddiv=0,griddots=30](0,0)(1,4)%
-        \psaxes[axesstyle=frame,Ox=0,Dx=1,labels=y,ticks=y](0,0)(3,4)%
-        \readpsbardata{\data}{example2.csv}%
-        \psbarchart[barstyle={yellowhatch,redoutline}]{\data}%
-      \end{pspicture}
-    \end{minipage}%
-    \hfill%
-    \begin{minipage}[b][2.75in][c]{3.5in}%
-      \begin{verbatim}
-\psset{unit=0.5in}%
-\newpsbarstyle{yellowhatch}{framearc=0.5,%
-  fillstyle=hlines*,rot=45,fillcolor=yellow}%
-\newpsbarstyle{redoutline}{framearc=0.5,%
-  fillcolor=black,linecolor=red,%
-  linewidth=1.5pt}%
-\begin{pspicture}(0,-0.5)(3,4.5)%
-  \psgrid[xunit=1.5in,gridlabels=0,%
-    subgriddiv=0,griddots=30](0,0)(1,4)%
-  \psaxes[axesstyle=frame,Ox=0,Dx=1,labels=y,%
-    ticks=y](0,0)(3,4)%
-  \readpsbardata{\data}{example2.csv}%
-  \psbarchart[barstyle={yellowhatch,%
-    redoutline}]{\data}%
-\end{pspicture}\end{verbatim}
-    \end{minipage}
-    
-\vspace*{2cm}
-
-Verwendung von \verb|[orientation=horizontal]|:\\
-    
-    \hfill%
-    \begin{minipage}[b]{2in}%
-      \psset{unit=0.5in}%
-      \newpsbarstyle{yellowhatch}{framearc=0.5,fillstyle=hlines*,rot=45,fillcolor=yellow}%
-      \newpsbarstyle{redoutline}{framearc=0.5,fillcolor=black,linecolor=red,linewidth=1.5pt}%
-      \begin{pspicture}(0,-0.5)(4,3.5)%
-        \psgrid[yunit=1.5in,gridlabels=0,subgriddiv=0,griddots=30](0,0)(3,1)%
-        \psaxes[axesstyle=frame,Ox=0,Dx=1,labels=x,ticks=x](0,0)(3,3)%
-        \readpsbardata{\data}{example2.csv}%
-        \psbarchart[barstyle={yellowhatch,redoutline},orientation=horizontal]{\data}%
-      \end{pspicture}
-    \end{minipage}%
-    \hfill%
-    \begin{minipage}[b][2.75in][c]{3.5in}%
-      \begin{verbatim}
-\psset{unit=0.5in}%
-\newpsbarstyle{yellowhatch}{framearc=0.5,%
-  fillstyle=hlines*,rot=45,fillcolor=yellow}%
-\newpsbarstyle{redoutline}{framearc=0.5,%
-  fillcolor=black,linecolor=red,%
-  linewidth=1.5pt}%
-\begin{pspicture}(0,-0.5)(3,4.5)%
-  \psgrid[xunit=1.5in,gridlabels=0,%
-    subgriddiv=0,griddots=30](0,0)(1,4)%
-  \psaxes[axesstyle=frame,Ox=0,Dx=1,labels=y,%
-    ticks=y](0,0)(3,4)%
-  \readpsbardata{\data}{example2.csv}%
-  \psbarchart[barstyle={yellowhatch,%
-    redoutline}]{\data}%
-\end{pspicture}\end{verbatim}
-    \end{minipage}\\
-
-Komplexe Effekte sind unter mehrfacher Benennung von \Lcs{psbarchart} in einem einzelnen 
-Diagramm m\xF6glich. Zum Beispiel kann ein besonders wichtiger Balken in gr\xFCn hervorgehoben 
-werden, indem man die Daten in zwei Dateien aufgespaltet. Eine 	enth\xE4lt eine Null f\xFCr den 
-Datenwert, der hervorgehoben werden soll und die andere enth\xE4lt Nullen f\xFCr alle anderen 
-Daten \emph{au\xDFer} der Hervorzuhebenden.
-    
-\vspace*{2ex}%
-
-Datei 1 (\verb|example4.csv|): \verbatiminput{example4.csv}%
-
-Datei 2 (\verb|example5.csv|): \verbatiminput{example5.csv}%
-Beachten Sie, dass die zweite Datei keine Kopfzeile hat, damit die Balkenbeschriftung nicht 
-doppelt erfolgt.
-
-    \hfill%
-    \begin{minipage}[b]{1.5in}%
-      \psset{unit=0.5in}%
-      \begin{pspicture}(0,-0.5)(3,4.5)%
-        \psgrid[xunit=1.5in,gridlabels=0,subgriddiv=0,griddots=30](0,0)(1,4)%
-        \psaxes[axesstyle=frame,Ox=0,Dx=1,labels=y,ticks=y](0,0)(3,4)%
-        \readpsbardata{\data}{example4.csv}%
-        \psbarchart[barstyle={blue}]{\data}%
-        \readpsbardata[header=false]{\data}{example5.csv}%
-        \psbarchart[barstyle={green}]{\data}%
-      \end{pspicture}
-    \end{minipage}%
-    \hfill%
-    \begin{minipage}[b][2.25in][c]{3.5in}%
-      \begin{verbatim}
-\psset{unit=0.5in}%
-\begin{pspicture}(0,-0.5)(3,4.5)%
-  \psgrid[xunit=1.5in,gridlabels=0,%
-    subgriddiv=0,griddots=30](0,0)(1,4)%
-  \psaxes[axesstyle=frame,Ox=0,Dx=1,labels=y,%
-    ticks=y](0,0)(3,4)%
-  \readpsbardata{\data}{example4.csv}%
-  \psbarchart[barstyle={blue}]{\data}%
-  \readpsbardata[header=false]{\data}%
-    {example5.csv}%
-  \psbarchart[barstyle={green}]{\data}%
-\end{pspicture}\end{verbatim}
-    \end{minipage}
-
-Verschiedene Diagrammarten k\xF6nnen auch in einem Balkendiagramm kombiniert werden.
-
-\vspace*{.5cm}%
-
-Datei 1 (\verb|example6.csv|): \verbatiminput{example6.csv}%
-
-Datei 2 (\verb|example7.csv|): \verbatiminput{example7.csv}%
-
-    \hfill%
-    \begin{minipage}[b]{1.5in}%
-      \psset{unit=0.5in}%
-      \begin{pspicture}(0,-0.5)(3,4.5)%
-        \psgrid[xunit=1.5in,gridlabels=0,subgriddiv=0,griddots=30](0,0)(1,4)%
-        \psaxes[axesstyle=frame,Ox=0,Dx=1,labels=y,ticks=y](0,0)(3,4)%
-        \readpsbardata{\data}{example6.csv}%
-        \psbarchart[barstyle={black}]{\data}%
-        \readpsbardata[header=false]{\data}{example7.csv}%
-        \psbarchart[barstyle={red},chartstyle=block,barcolsep=0.8]{\data}%
-      \end{pspicture}
-    \end{minipage}%
-    \hfill%
-    \begin{minipage}[b][2.25in][c]{3.5in}%
-      \begin{verbatim}
-\psset{unit=0.5in}%
-\begin{pspicture}(0,-0.5)(3,4.5)%
-  \psgrid[xunit=1.5in,gridlabels=0,%
-    subgriddiv=0,griddots=30](0,0)(1,4)%
-  \psaxes[axesstyle=frame,Ox=0,Dx=1,labels=y,%
-    ticks=y](0,0)(3,4)%
-  \readpsbardata{\data}{example6.csv}%
-  \psbarchart[barstyle={black}]{\data}%
-  \readpsbardata[header=false]{\data}%
-    {example7.csv}%
-  \psbarchart[barstyle={red},chartstyle=block,%
-    barcolsep=0.8]{\data}%
-\end{pspicture}
-\end{pspicture}\end{verbatim}
-    \end{minipage}
-
-\section{Tipps}
-\begin{itemize}
-   \item Informieren Sie sich \xFCber Befehle, um die Erstellung und Platzierung der 
-   Beschriftung zu erleichtern.
-   \item Erlauben Sie die automatische Beschriftung der Balken mit den Werten der Datendatei.
-   \item Erlauben Sie die automatische Beschriftung der Balken nach Ihrer Wahl.
-   \item Verbessern Sie die Syntaxanalyse der \xDCberschrift, um Kommas zwischen den Eintr\xE4gen 
-   der Kopfzeile zu erlauben.
-   \item F\xFCgen Sie eine Fehler-\xDCberpr\xFCfung hinzu, um sicherzustellen, dass jede Reihe der 
-   Datei dieselbe Anzahl an Eintr\xE4gen enth\xE4lt; falls nicht, wird der Fehler in \TeX\ 
-   oder \LaTeX\ \xFCbertragen.
-   \item Verbessern Sie die Dokumentation.
-\end{itemize}
-
-\nocite*
-\bibliographystyle{plain}%
-\bibliography{pst-bar-doc}%
-
-\printindex
-
-
-\end{document}

Deleted: trunk/Master/texmf-dist/doc/generic/pst-bar/pst-bar.orig
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-bar/pst-bar.orig	2022-09-10 20:09:07 UTC (rev 64330)
+++ trunk/Master/texmf-dist/doc/generic/pst-bar/pst-bar.orig	2022-09-10 20:09:32 UTC (rev 64331)
@@ -1,420 +0,0 @@
-\csname PSTBarLoaded\endcsname%
-\let\PSTBarLoaded\endinput%
-\ifx\PSTplotLoaded\endinput\else\input pst-plot.tex\fi%
-\pstheader{pst-bar.pro}%
-\input pst-key.tex%
-
-\def\fileversion{0.7a}
-\def\filedate{2004/09/24}
-\message{`pst-bar' v\fileversion, \filedate\space (Alan Ristow)}%
-
-\define at key{psset}{barsep}{\edef\psk at barsep{#1}}%
-\define at key{psset}{barcolsep}{\edef\psk at barcolsep{#1}}%
-\define at key{psset}{barstyle}{\edef\psk at barstyle{#1}}%
-\define at key{psset}{barlabelrot}{\edef\psk at barlabelrot{#1}}%
-\setkeys{psset}{barsep=0.0,barcolsep=0.4,barstyle=\@empty,barlabelrot=0}%
-%
-% chartstyle=cluster|stack|block  (0,1,2)
-\def\psset at chartstyle#1{\pst at expandafter\psset@@chartstyle{#1}\@nil\psk at chartstyle}
-\def\psset@@chartstyle#1#2\@nil#3{%
-  \ifx#1c\let#3\z@\else
-    \ifx#1s\let#3\@ne\else
-      \ifx#1b\let#3\tw@\else
-        \@pstrickserr{Bad argument: `#1#2'}\@ehpa
-      \fi
-    \fi
-  \fi
-}%
-\psset at chartstyle{cluster}%
-%
-% orientation=vertical|horizontal (0,1)
-\def\psset at orientation#1{\pst at expandafter\psset@@orientation{#1}\@nil\psk at orientation}
-\def\psset@@orientation#1#2\@nil#3{%
-  \ifx#1h\let#3\p@\else
-    \ifx#1v\let#3\z@\else
-      \@pstrickserr{Bad argument: `#1#2'}\@ehpa
-    \fi
-  \fi
-}%
-\psset at orientation{vertical}%
-
-\def\psset at header#1{%
-  \pst at expandafter\psset@@header{#1}\@nil\psk at header
-}%
-\def\psset@@header#1#2\@nil#3{%
-  \ifx#1t\let#3\z@\else
-    \ifx#1f\let#3\@ne\else
-      \@pstrickserr{Bad argument: `#1#2'}\@ehpa
-    \fi
-  \fi
-}%
-\psset at header{true}%
-
-\def\psbarchart{\def\pst at par{}\pst at object{psbarchart}}%
-\def\pstbar at header{\@empty}%
-\def\psbarlabel#1{#1}%
-\def\psbarlabelsep{0pt}%
-\def\psbarscale(#1)#2{%
-  \def\psbar at mul{#1\space}%
-  \def\psbar at psop{#2\space}%
-}
-\def\psbar at mul{1\space}%
-\def\psbar at psop{\@empty}%
-
-\newread\pstbar at file%
-
-% Define bar chart styles
-
-\def\psset at barstyle#1{\def\@barstylelist{#1}}%
-\def\newpsbarstyle#1#2{\@namedef{psbarcs@#1}{\psset{#2}}}%
-
-\def\begin at barstyle{\def\pst at tempd{/barstyles [ }}%
-\def\add at barstyle{%
-  \def\pst at code{}%
-  \ifpsshadow%
-    \pst at closedshadow%
-  \fi%
-  \ifdim\psk at border\p@>\z@%
-    \pst at addborder%
-  \fi%
-  \psk at fillstyle%
-  \pst at stroke%
-  \ifpsdoubleline%
-    \pst at doublestroke%
-  \fi%
-  \def\pst at tempa{\strip at pt\psk at orientation}%
-  \edef\pst at tempd{ \pst at tempd (%
-    \pst at tempc \psk at cornersize%
-    xbar1 ybar1 xbar2 ybar2 4 -\pst at tempa\space roll
-    \psk at dimen%
-    \tx at Frame%
-    \pst at code )%
-  }%
-}
-\def\end at barstyle{\edef\pst at tempd{ \pst at tempd ] def }}%
-
-\def\setbarstyle{%
-  \begin at barstyle%
-  \expandafter\@setbarstyle\@barstylelist,\@nil\ignorespaces%
-  \end at barstyle%
-}%
-\def\@setbarstyle#1,{%
-  \@@setbarstyle{#1}%
-  \@ifnextchar\@nil{\@gobble}{\@setbarstyle}%
-}%
-\def\@@setbarstyle#1{%
-  \@ifundefined{psbarcs@#1}%
-  {\@pstrickserr{Custom bar chart style `#1' undefined}\@ehpa}%
-  {\@nameuse{psbarcs@#1}\add at barstyle}%
-}%
-
-% Default bar chart styles
-
-\newpsbarstyle{red}{fillcolor=red,fillstyle=solid,framearc=0}%
-\newpsbarstyle{green}{fillcolor=green,fillstyle=solid,framearc=0}%
-\newpsbarstyle{blue}{fillcolor=blue,fillstyle=solid,framearc=0}%
-\newpsbarstyle{black}{fillcolor=black,fillstyle=solid,framearc=0}%
-\newpsbarstyle{white}{fillcolor=white,fillstyle=solid,framearc=0}%
-\newpsbarstyle{gray}{fillcolor=gray,fillstyle=solid,framearc=0}%
-\newpsbarstyle{lightgray}{fillcolor=lightgray,fillstyle=solid,framearc=0}%
-\newpsbarstyle{darkgray}{fillcolor=darkgray,fillstyle=solid,framearc=0}%
-
-\psset at barstyle{black,darkgray,gray,lightgray,white,red,green,blue}%
-
-\def\readpsbardata{\@ifnextchar[{\readpsbardata at i}{\readpsbardata at i[]}}
-
-\def\readpsbardata at i[#1]#2#3{%
-  \def\pst at tempa{#1}%
-  \ifx\pst at tempa\@empty\else\psset{#1}\fi
-  \openin\pstbar at file=#3\relax%
-  \ifeof\pstbar at file%
-    \@pstrickserr{Data file `#3' not found.}\@ehpa
-  \else
-    \def\pst at tempb{\@empty}%
-    \ifx\psk at header\z@%
-      \@readpsbarheader%
-    \fi
-    \readpsbardata at ii%
-    \edef\pst at tempb{[\pst at tempb]}%
-    \let#2\pst at tempb%
-  \fi
-  \closein\pstbar at file%
-}%
-
-\def\readpsbardata at ii{%
-  \read\pstbar at file to \pst at tempa
-  \ifeof\pstbar at file
-    \relax
-  \else
-    \edef\pst at tempb{\pst at tempb [}%
-    \expandafter\readpsbardata at iii\pst at tempa,\@nil\ignorespaces%
-    \edef\pst at tempb{\pst at tempb ]}%
-    \readpsbardata at ii%
-  \fi
-}%
-
-\def\readpsbardata at iii#1,{%
-  \edef\pst at tempb{\pst at tempb #1\space}%
-  \@ifnextchar\@nil{\@gobble}{\readpsbardata at iii}%
-}%
-
-\def\@readpsbarheader{%
-  \read\pstbar at file to \pst at tempa
-  \ifeof\pstbar at file
-    \relax
-  \else
-    \let\pstbar at header\pst at tempa
-  \fi
-}%
-
-% Apply labels from file header to bar chart columns.
-% TODO: Deal with column headings that contain commas.
-
-% The trimspaces command is (c) Michael Downes 1994
-% (http://www.tug.org/tex-archive/info/aro-bend/answer.015).
-\catcode`\Q=3
-\def\psbar at trimspaces#1{%
-  \begingroup
-  \aftergroup\toks\aftergroup0\aftergroup{%
-  \expandafter\trimb\expandafter\noexpand#1Q Q}%
-  \edef#1{\the\toks0}%
-}
-\def\trimb#1 Q{\trimc#1Q}
-\def\trimc#1Q#2{\afterassignment\endgroup \vfuzz\the\vfuzz#1}
-\catcode`\Q=11
-
-\def\pstbar at xlabels{%
-  \pst at dima=-0.5pt\relax%
-  \expandafter\pstbar at xlabels@i\pstbar at header,\@nil\ignorespaces%
-}%
-
-\def\pstbar at xlabels@i#1,{%
-  \def\pst at tempa{#1}%
-  \psbar at trimspaces\pst at tempa%
-  \advance\pst at dima by 1pt%
-  \def\pst at tempb{\strip at pt\pst at dima}%
-  \uput[-90]{\psk at barlabelrot}(\pst at tempb,-\psbarlabelsep){\psbarlabel{\pst at tempa}}%
-  \@ifnextchar\@nil{\@gobble}{\pstbar at xlabels@i}%
-}%
-
-\def\pstbar at labelcount#1{%
-  \pst at dima=0pt\relax%
-  \expandafter\pstbar at labelcount@i\pstbar at header,\@nil\ignorespaces%
-  \let#1\pst at dima%
-}%
-
-\def\pstbar at labelcount@i#1,{%
-  \advance\pst at dima by 1pt%
-  \@ifnextchar\@nil{\@gobble}{\pstbar at labelcount@i}%
-}%
-
-\def\pstbar at ylabels{%
-  \pstbar at labelcount{\pst at dima}%
-  \advance\pst at dima by 0.5pt%
-  \expandafter\pstbar at ylabels@i\pstbar at header,\@nil\ignorespaces%
-}%
-
-\def\pstbar at ylabels@i#1,{%
-  \def\pst at tempa{#1}%
-  \psbar at trimspaces\pst at tempa%
-  \advance\pst at dima by -1pt%
-  \def\pst at tempb{\strip at pt\pst at dima}%
-  \uput[180]{\psk at barlabelrot}(-\psbarlabelsep,\pst at tempb){\psbarlabel{\pst at tempa}}%
-  \@ifnextchar\@nil{\@gobble}{\pstbar at ylabels@i}%
-}%
-
-\def\psbarchart at i#1{%
-  \pst at killglue%
-  \begingroup%
-    \use at par%
-    \psbarchart at ii{#1}%
-  \endgroup%
-  \ignorespaces%
-}%
-
-\def\psbarchart at ii#1{%
-  \begin at SpecialObj%
-
-    % Save contents of \pst at code and load start-of-path code
-    % into \pst at tempc
-
-    \let\pst at tempb\pst at code%
-    \def\pst at code{}%
-    \solid at star%
-    \let\pst at tempc\pst at code%
-
-    % Load end-of-path code into \pst at tempd and restore original
-    % contents of \pst at code
-
-    \begin at barstyle%
-    \expandafter\@setbarstyle\@barstylelist,\@nil\ignorespaces%
-    \end at barstyle%
-    \let\pst at code\pst at tempb%
-
-    % Draw bar chart
-
-    \pst at checknum\psk at barcolsep\pst at tempa%
-    \pst at checknum\psk at barsep\pst at tempb%
-    \ifx\psk at orientation\z@             % vertical
-      \pst at dima=\psxunit%
-      \pst at dimb=\psyunit%
-      \def\pst at tempc{true}%
-    \else\ifx\psk at orientation\p@        % horizontal
-      \pst at dima=\psyunit%
-      \pst at dimb=\psxunit%
-      \def\pst at tempc{false}%
-    \else
-      \@pstrickserr{Bad orientation specification}\@ehpa
-    \fi\fi
-    \ifcase\psk at chartstyle% chartstyle=cluster
-      \addto at pscode{%
-        \pst at tempd%
-        /BARDATA #1 def
-        /nbars BARDATA length def
-        /ncols BARDATA 0 get length def
-        /colwidth \pst at number\pst at dima def
-        /barcolsep \pst at tempa \pst at number\pst at dima mul def
-        /barsep \pst at tempb \pst at number\pst at dima mul def
-        /barwidth colwidth barcolsep sub nbars 1 sub barsep mul sub nbars div def
-        /bXoffset 0.5 barcolsep mul def
-        /colcount \pst at tempc\space {0}{ncols 1 sub} ifelse def
-        /barcount 0 def
-        /ybar1 0 def
-        BARDATA {
-          /DATAVECTOR exch def
-          DATAVECTOR {
-            /ybar2 exch \psbar at psop \psbar at mul mul \pst at number\pst at dimb mul def
-            /xoffset barwidth barsep add barcount mul bXoffset add def
-            /xbar1 colcount colwidth mul xoffset add def
-            /xbar2 xbar1 barwidth add def
-            ybar1 ybar2 ne {  % if ybar1 == ybar2, don't stroke a path
-              newpath
-              barstyles barcount get cvx exec
-            } if
-            /colcount \pst at tempc\space {colcount 1 add}{colcount 1 sub} ifelse def
-          } forall
-          /colcount \pst at tempc\space {0}{ncols 1 sub} ifelse def
-          /barcount barcount 1 add def
-        } forall
-      }%
-    \or%  chartstyle=stack
-      \addto at pscode{%
-        \pst at tempd%
-        tx at BarDict begin
-        /BARDATA #1 transpose def
-        /ncols BARDATA length def
-        /colwidth \pst at number\pst at dima def
-        /barcolsep \pst at tempa \pst at number\pst at dima mul def
-        /barwidth colwidth barcolsep sub def
-        /bXoffset 0.5 barcolsep mul def
-        /colcount \pst at tempc\space {0}{ncols 1 sub} ifelse def
-        /barcount 0 def
-        /ybar1 0 def
-        BARDATA {
-          /DATAVECTOR exch def
-          /xbar1 colcount colwidth mul bXoffset add def
-          /xbar2 xbar1 barwidth add def
-          DATAVECTOR {
-            /ybar2 exch \psbar at psop \psbar at mul mul \pst at number\pst at dimb mul ybar1 add def
-            ybar1 ybar2 ne {  % if ybar1 == ybar2, don't stroke a path
-              newpath
-              barstyles barcount get cvx exec
-              closepath
-            } if
-            /ybar1 ybar2 def
-            /barcount barcount 1 add def
-          } forall
-          /barcount 0 def
-          /ybar1 0 def
-          /colcount \pst at tempc\space {colcount 1 add}{colcount 1 sub} ifelse def
-        } forall
-        end
-      }%
-    \or% chartstyle=block
-      \addto at pscode{%
-        \pst at tempd%
-        tx at BarDict begin
-        /BARDATA #1 transpose def
-        /ncols BARDATA length def
-        /nbars BARDATA 0 get length 2 idiv def
-        /colwidth \pst at number\pst at dima def
-        /barcolsep \pst at tempa \pst at number\pst at dima mul def
-        /barsep \pst at tempb \pst at number\pst at dima mul def
-        /barwidth colwidth barcolsep sub nbars 1 sub barsep mul sub nbars div def
-        /bXoffset 0.5 barcolsep mul def
-        /colcount \pst at tempc\space {0}{ncols 1 sub} ifelse def
-        /barcount 0 def
-        /ybar1 0 def
-        BARDATA {
-          /DATAVECTOR exch def
-          0 1 nbars 1 sub {
-            dup
-            /ybar1 exch 2 mul DATAVECTOR exch get \psbar at psop \psbar at mul mul \pst at number\pst at dimb mul def
-            /ybar2 exch 2 mul 1 add DATAVECTOR exch get \psbar at psop \psbar at mul mul \pst at number\pst at dimb mul def
-            /xoffset barwidth barsep add barcount mul bXoffset add def
-            /xbar1 colcount colwidth mul xoffset add def
-            /xbar2 xbar1 barwidth add def
-            ybar1 ybar2 ne {  % if ybar1 == ybar2, don't stroke a path
-              newpath
-              barstyles barcount get cvx exec
-            } if
-            /barcount barcount 1 add def
-          } for
-          /barcount 0 def
-          /colcount \pst at tempc\space {colcount 1 add}{colcount 1 sub} ifelse def
-        } forall
-        end
-      }%
-    \else%
-      \@pstrickserr{Unknown chart style.}\@ehpa%
-    \fi%
-    \ifx\psk at orientation\z@%
-      \pstbar at xlabels%
-    \else
-      \pstbar at ylabels%
-    \fi
-  \end at SpecialObj%
-}%
-
-\endinput
-
-\iffalse
-%% CHANGE-LOG
- v 0.7a   2004/09/24
-    Removed some debugging code that was accidentally left in the last release.
-    The removed code was harmless, but caused confusion for some users.
-
- v 0.7    2004/09/15
-    Made a minor change to \psbarscale so its functionality would be more
-    closely analogous to the \pstScale command from the pstricks-add pacakge.
-    Improved documentation. Set default barstyle to list of all available
-    barstyles. First release to CTAN.
-
- v 0.6    2004/09/09
-    Added orientation parameter and horizontal bar-drawing capability. Removed
-    erroneous correction factor for linewidth from stacked bar chart.
-
- v 0.5    2004/09/02
-    Added header parameter for \readpsbardata. Improved handling of headers in
-    the data file -- spaces may now be included in a header item, though commas
-    still may not.
-
- v 0.4    2004/08/29
-    Added "block" chartstyle. Updated \readpsbardata to use .csv for both
-    header and data. Introduced \psbarscale command. First release to pstricks
-    mailing list, 2004/09/01.
-
- v 0.3    2004/08/26
-    Added command \readpsbardata to read data for bar chart directly from a
-    .csv file with the first row containing the column labels.
-
- v 0.2a   2004/08/23
-    Changed colsep parameter name to barcolsep to avoid clash with psmatrix.
-
- v 0.2    2004/08/22
-    Added stacked bar chart, chartstyle parameter, and introduced pst-bar.pro
-    prologue with transpose command.
-
- v 0.1    2004/08/21
-    Clustered bar chart.
-\fi

Modified: trunk/Master/texmf-dist/tex/generic/pst-bar/pst-bar.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pst-bar/pst-bar.tex	2022-09-10 20:09:07 UTC (rev 64330)
+++ trunk/Master/texmf-dist/tex/generic/pst-bar/pst-bar.tex	2022-09-10 20:09:32 UTC (rev 64331)
@@ -1,4 +1,4 @@
-%% $Id: pst-bar.tex 63 2008-11-26 18:00:46Z herbert $
+%% $Id: pst-bar.tex 603 2022-09-10 07:53:35Z herbert $
 %%
 %%
 %% This is file `pst-bar.tex',
@@ -25,10 +25,12 @@
 \ifx\PSTXKeyLoaded\endinput\else\input pst-xkey \fi
 
 
-\def\fileversion{0.92}
-\def\filedate{2008/11/26}
-\message{`pst-bar' v\fileversion, \filedate\space (Alan Ristow)}%
+\def\fileversion{0.93}
+\def\filedate{2022/09/10}
+\message{`pst-bar' v\fileversion, \filedate\space (Alan Ristow, hv)}%
 
+\edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax
+
 \pstheader{pst-bar.pro}%
 \pst at addfams{pst-bar}
 
@@ -291,6 +293,8 @@
     \fi\fi
     \ifcase\psk at chartstyle% chartstyle=cluster
       \addto at pscode{%
+        /scx { \pst at number\psxunit mul } def 
+        /scy { \pst at number\psyunit mul } def
         \pst at tempd%
         /BARDATA #1 def
         /nbars BARDATA length def
@@ -405,5 +409,6 @@
   \end at SpecialObj%
 }%
 
+\catcode`\@=\PstAtCode\relax
 \endinput
 

Modified: trunk/Master/texmf-dist/tex/latex/pst-bar/pst-bar.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pst-bar/pst-bar.sty	2022-09-10 20:09:07 UTC (rev 64330)
+++ trunk/Master/texmf-dist/tex/latex/pst-bar/pst-bar.sty	2022-09-10 20:09:32 UTC (rev 64331)
@@ -1,5 +1,5 @@
 \RequirePackage{pstricks}%
-\ProvidesPackage{pst-bar}[2004/08/22 package wrapper for pst-bar.tex (ahr)]
+\ProvidesPackage{pst-bar}[2022/09/10 package wrapper for pst-bar.tex (ahr)]
 \input{pst-bar.tex}
 \IfFileExists{pst-bar.pro}{%
   \ProvidesFile{pst-bar.pro}



More information about the tex-live-commits mailing list.