[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[asymptote] 06/16: Fix typo detected by lintian (hexidecimal).



This is an automated email from the git hooks/post-receive script.

preining pushed a commit to branch master
in repository asymptote.

commit 4a2260b0c3caa188cbd953f333e317c016c2fb4f
Author: Nicolas Boulenguez <nicolas@debian.org>
Date:   Tue Oct 31 01:49:35 2017 +0100

    Fix typo detected by lintian (hexidecimal).
---
 debian/patches/series     |   1 +
 debian/patches/typos.diff | 123 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 124 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 2a7f8bb..5d85c57 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@
 #upstream-fix-mips-build-failure
 honour-source-date-epoch
 #upstream-2f209f9e-fix-for-tl2016
+typos.diff
diff --git a/debian/patches/typos.diff b/debian/patches/typos.diff
new file mode 100644
index 0000000..40148e0
--- /dev/null
+++ b/debian/patches/typos.diff
@@ -0,0 +1,123 @@
+Description: fix various typos detected by lintian.
+Author: Nicolas Boulenguez <nicolas@debian.org>
+
+--- a/ChangeLog
++++ b/ChangeLog
+@@ -13243,7 +13243,7 @@
+ Date:   Mon Feb 9 00:00:12 2009 -0600
+ 
+     Implement a pen rgb(string s) routine that returns a pen corresponding to a
+-    given 6-character RGB hexidecimal string.
++    given 6-character RGB hexadecimal string.
+ 
+ commit a68637e6c82f5ce5171931a5c1a5359bb329e86d
+ Author: John Bowman <bowman@ualberta.ca>
+@@ -13273,7 +13273,7 @@
+ Author: John Bowman <bowman@ualberta.ca>
+ Date:   Sat Feb 7 00:41:46 2009 -0600
+ 
+-    Implement int hex(string s) function that casts a hexidecimal string to an
++    Implement int hex(string s) function that casts a hexadecimal string to an
+     integer.
+ 
+ commit 77595bbb56fc7489ccfa2123c3d33b19a43de9a3
+--- a/ReleaseNotes
++++ b/ReleaseNotes
+@@ -812,9 +812,9 @@
+ Release Notes for Version 1.62
+ 
+ Outputting PDF format to other directories was fixed. An int hex(string)
+-function that casts a hexidecimal string to an integer and a 
++function that casts a hexadecimal string to an integer and a 
+ pen rgb(string) routine that returns a pen corresponding to a given
+-6-character RGB hexidecimal string were added. In the dot routines, Label
++6-character RGB hexadecimal string were added. In the dot routines, Label
+ arguments were added and minor bugs were fixed. A parametric version of
+ markuniform was added.
+ 
+--- a/base/plain_pens.asy
++++ b/base/plain_pens.asy
+@@ -321,7 +321,7 @@
+   return rgb(a[0],a[1],a[2])+opacity(a[3]);
+ }
+ 
+-// Return a pen corresponding to a given 6-character RGB hexidecimal string.
++// Return a pen corresponding to a given 6-character RGB hexadecimal string.
+ pen rgb(string s) 
+ {
+   real value(string s, int i) {return hex(substr(s,2i,2))/255;}
+--- a/doc/asyRefCard.tex
++++ b/doc/asyRefCard.tex
+@@ -534,7 +534,7 @@
+ \key{string {\tt s} translated via {\tt \{\{before,after\},\dots\}}}{replace({\tt
+ s},string [][] table)}
+ \key{format {\tt x} using C-style format string {\tt s} }{format({\tt s},x)}
+-\key{casts hexidecimal string to an integer}{hex(s)}
++\key{casts hexadecimal string to an integer}{hex(s)}
+ \key{casts {\tt x} to string using precision {\tt digits}}{string(x,digits=realDigits)}
+ \key{current time formatted by {\tt format}}{time(format="\%a \%b \%d \%T \%Z \%Y")}
+ \key{time in seconds of string {\tt t} using {\tt format}}{seconds(t,format)}
+--- a/doc/asymptote.texi
++++ b/doc/asymptote.texi
+@@ -2176,9 +2176,9 @@
+ scientific notation using the @code{defaultseparator="\!\times\!";};
+ 
+ @cindex @code{hex}
+-@cindex @code{hexidecimal}
++@cindex @code{hexadecimal}
+ @item int hex(string s);
+-casts a hexidecimal string @code{s} to an integer;
++casts a hexadecimal string @code{s} to an integer;
+ 
+ @cindex @code{ascii}
+ @cindex @code{ascii}
+@@ -2839,15 +2839,15 @@
+ The function @code{colorless(pen=currentpen)} returns a copy of its argument
+ with the color attributes stripped (to avoid color mixing).
+ 
+-A 6-character RGB hexidecimal string can be converted to a pen with
++A 6-character RGB hexadecimal string can be converted to a pen with
+ the routine
+ @cindex @code{rgb}
+-@cindex @code{hexidecimal}
++@cindex @code{hexadecimal}
+ @verbatim
+ pen rgb(string s);
+ @end verbatim
+ @noindent
+-A pen can be converted to a hexidecimal string with
++A pen can be converted to a hexadecimal string with
+ @cindex @code{hex}
+ @item string hex(pen p);
+ 
+@@ -9862,7 +9862,7 @@
+ @c  LocalWords:  multisampling autogen multisample coloredpath relstep flowdir
+ @c  LocalWords:  colortype coloredSegments coloredNodes trefoilknot scaledgraph
+ @c  LocalWords:  minblockwidth minblockheight mincirclediameter nonassociative
+-@c  LocalWords:  nonintegral gettriple enablerepo hexidecimal XeLaTeX xelatex
++@c  LocalWords:  nonintegral gettriple enablerepo hexadecimal XeLaTeX xelatex
+ @c  LocalWords:  dvipdfmx autoadjust viewportsize viewportwidth viewportheight
+ @c  LocalWords:  subregions nonsimply functionshade shader floatingdisk TopView
+ @c  LocalWords:  functionshading maxlength LeftView odetest RadialShadeDraw CLZ
+--- a/runstring.cc
++++ b/runstring.cc
+@@ -519,7 +519,7 @@
+   Int value;
+   if(is && is >> value && ((is >> std::ws).eof())) {Stack->push<Int>(value); return;}
+   ostringstream buf;
+-  buf << "invalid hexidecimal cast from string \"" << s << "\"";
++  buf << "invalid hexadecimal cast from string \"" << s << "\"";
+   error(buf);
+ }
+ 
+--- a/runstring.in
++++ b/runstring.in
+@@ -390,7 +390,7 @@
+   Int value;
+   if(is && is >> value && ((is >> std::ws).eof())) return value;
+   ostringstream buf;
+-  buf << "invalid hexidecimal cast from string \"" << s << "\"";
++  buf << "invalid hexadecimal cast from string \"" << s << "\"";
+   error(buf);
+ }
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/asymptote.git


Reply to: