From 25f96cab83a80a2a62310c9dbee3cfce890a15bc Mon Sep 17 00:00:00 2001 From: erg Date: Tue, 15 Apr 2008 17:20:25 +0000 Subject: [PATCH] Add source for info pages to CVS --- doc/infosrc/brewer.awk | 14 ++++++++++++++ doc/infosrc/colorlist.dot | 3 +++ doc/infosrc/colors.1 | 16 ++++++++++++++++ doc/infosrc/colors.n | 39 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 72 insertions(+) create mode 100644 doc/infosrc/brewer.awk create mode 100644 doc/infosrc/colorlist.dot create mode 100644 doc/infosrc/colors.1 create mode 100644 doc/infosrc/colors.n diff --git a/doc/infosrc/brewer.awk b/doc/infosrc/brewer.awk new file mode 100644 index 000000000..f0df98d46 --- /dev/null +++ b/doc/infosrc/brewer.awk @@ -0,0 +1,14 @@ +# +# Convert Brewer data to same RGB format used in color_names. +# See brewer_colors for input format. +# +BEGIN { + FS = ","; +} +/^[^#]/{ + if ($1 != "") { + name = "colortmp/" $1 $2; + gsub ("\"","",name); + } + printf ("%s %s %s %s\n", $5, $7, $8, $9) > name; +} diff --git a/doc/infosrc/colorlist.dot b/doc/infosrc/colorlist.dot new file mode 100644 index 000000000..e4b8126bc --- /dev/null +++ b/doc/infosrc/colorlist.dot @@ -0,0 +1,3 @@ +digraph G { + a -> b [dir=both color="red:blue"] +} diff --git a/doc/infosrc/colors.1 b/doc/infosrc/colors.1 new file mode 100644 index 000000000..a397122b0 --- /dev/null +++ b/doc/infosrc/colors.1 @@ -0,0 +1,16 @@ + + + + +Color Names + + + +

Color Names

+Color names are case-insensitive. +

+Use of all color schemes below except X11 are covered by this +license. +


diff --git a/doc/infosrc/colors.n b/doc/infosrc/colors.n new file mode 100644 index 000000000..aaaf546c8 --- /dev/null +++ b/doc/infosrc/colors.n @@ -0,0 +1,39 @@ +
+Apache-Style Software License for ColorBrewer software and ColorBrewer +Color Schemes, Version 1.1 +

+Copyright (c) 2002 Cynthia Brewer, Mark Harrower, and The Pennsylvania +State University. All rights reserved. +

+Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: +

    +
  1. Redistributions as source code must retain the above copyright notice, +this list of conditions and the following disclaimer. +
  2. The end-user documentation included with the redistribution, if any, +must include the following acknowledgment: +

    +This product includes color specifications and designs developed +by Cynthia Brewer (http://colorbrewer.org/). +

    +Alternately, this acknowledgment may appear in the software itself, if and +wherever such third-party acknowledgments normally appear. +

  3. The name "ColorBrewer" must not be used to endorse or promote products +derived from this software without prior written permission. For written +permission, please contact Cynthia Brewer at cbrewer@psu.edu. +
  4. Products derived from this software may not be called "ColorBrewer", nor +may "ColorBrewer" appear in their name, without prior written permission +of Cynthia Brewer. +
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CYNTHIA +BREWER, MARK HARROWER, OR THE PENNSYLVANIA STATE UNIVERSITY BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + -- 2.50.1