summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-04-27 22:38:18 +0000
committerKarl Berry <karl@freefriends.org>2014-04-27 22:38:18 +0000
commit55e45a0d588de0392d2198753e45d75cd58f9e4d (patch)
tree358fbf59150b403df32a1cdce8203a6a430df110 /Build/source/utils/asymptote/doc
parent7aca5de4dcd646af709f86123599cdcb45d6445f (diff)
asy 2.26 sources
git-svn-id: svn://tug.org/texlive/trunk@33703 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/doc')
-rw-r--r--Build/source/utils/asymptote/doc/CAD.pdfbin68052 -> 67509 bytes
-rw-r--r--Build/source/utils/asymptote/doc/FAQ/asy-faq.info2
-rwxr-xr-xBuild/source/utils/asymptote/doc/FAQ/install-sh385
-rw-r--r--Build/source/utils/asymptote/doc/Makefile.in2
-rw-r--r--Build/source/utils/asymptote/doc/TeXShopAndAsymptote.pdfbin31594 -> 31514 bytes
-rw-r--r--Build/source/utils/asymptote/doc/asy-latex.pdfbin194499 -> 194507 bytes
-rw-r--r--Build/source/utils/asymptote/doc/asyRefCard.pdfbin53907 -> 53467 bytes
-rw-r--r--Build/source/utils/asymptote/doc/asymptote.pdfbin1272144 -> 1260519 bytes
-rw-r--r--Build/source/utils/asymptote/doc/asymptote.texi56
-rw-r--r--Build/source/utils/asymptote/doc/extra/intro.asy9
-rwxr-xr-xBuild/source/utils/asymptote/doc/install-sh385
-rw-r--r--Build/source/utils/asymptote/doc/png/asymptote.info302
12 files changed, 598 insertions, 543 deletions
diff --git a/Build/source/utils/asymptote/doc/CAD.pdf b/Build/source/utils/asymptote/doc/CAD.pdf
index 2eeebe293a4..3f428a5d92e 100644
--- a/Build/source/utils/asymptote/doc/CAD.pdf
+++ b/Build/source/utils/asymptote/doc/CAD.pdf
Binary files differ
diff --git a/Build/source/utils/asymptote/doc/FAQ/asy-faq.info b/Build/source/utils/asymptote/doc/FAQ/asy-faq.info
index 30134dc77d7..7740180eaf4 100644
--- a/Build/source/utils/asymptote/doc/FAQ/asy-faq.info
+++ b/Build/source/utils/asymptote/doc/FAQ/asy-faq.info
@@ -10,7 +10,7 @@ END-INFO-DIR-ENTRY
File: asy-faq.info, Node: Top, Next: Question 1.1, Up: (dir)
ASYMPTOTE FREQUENTLY ASKED QUESTIONS
- 20 Apr 2014
+ 26 Apr 2014
This is the list of Frequently Asked Questions about Asymptote (asy).
diff --git a/Build/source/utils/asymptote/doc/FAQ/install-sh b/Build/source/utils/asymptote/doc/FAQ/install-sh
index 0b0fdcbba69..6781b987bdb 100755
--- a/Build/source/utils/asymptote/doc/FAQ/install-sh
+++ b/Build/source/utils/asymptote/doc/FAQ/install-sh
@@ -1,7 +1,7 @@
#!/bin/sh
# install - install a program, script, or datafile
-scriptversion=2013-12-25.23; # UTC
+scriptversion=2009-04-28.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
@@ -35,21 +35,25 @@ scriptversion=2013-12-25.23; # UTC
# FSF changes to this file are in the public domain.
#
# Calling this script install-sh is preferred over install.sh, to prevent
-# 'make' implicit rules from creating a file called install from it
+# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
# from scratch.
-tab=' '
nl='
'
-IFS=" $tab$nl"
+IFS=" "" $nl"
-# Set DOITPROG to "echo" to test this script.
+# set DOITPROG to echo to test this script
+# Don't use :- since 4.3BSD and earlier shells don't like it.
doit=${DOITPROG-}
-doit_exec=${doit:-exec}
+if test -z "$doit"; then
+ doit_exec=exec
+else
+ doit_exec=$doit
+fi
# Put in absolute file names if you don't have them in your path;
# or use environment vars.
@@ -64,6 +68,17 @@ mvprog=${MVPROG-mv}
rmprog=${RMPROG-rm}
stripprog=${STRIPPROG-strip}
+posix_glob='?'
+initialize_posix_glob='
+ test "$posix_glob" != "?" || {
+ if (set -f) 2>/dev/null; then
+ posix_glob=
+ else
+ posix_glob=:
+ fi
+ }
+'
+
posix_mkdir=
# Desired mode of installed file.
@@ -82,7 +97,7 @@ dir_arg=
dst_arg=
copy_on_change=false
-is_target_a_directory=possibly
+no_target_directory=
usage="\
Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
@@ -122,57 +137,42 @@ while test $# -ne 0; do
-d) dir_arg=true;;
-g) chgrpcmd="$chgrpprog $2"
- shift;;
+ shift;;
--help) echo "$usage"; exit $?;;
-m) mode=$2
- case $mode in
- *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
- echo "$0: invalid mode: $mode" >&2
- exit 1;;
- esac
- shift;;
+ case $mode in
+ *' '* | *' '* | *'
+'* | *'*'* | *'?'* | *'['*)
+ echo "$0: invalid mode: $mode" >&2
+ exit 1;;
+ esac
+ shift;;
-o) chowncmd="$chownprog $2"
- shift;;
+ shift;;
-s) stripcmd=$stripprog;;
- -t)
- is_target_a_directory=always
- dst_arg=$2
- # Protect names problematic for 'test' and other utilities.
- case $dst_arg in
- -* | [=\(\)!]) dst_arg=./$dst_arg;;
- esac
- shift;;
+ -t) dst_arg=$2
+ shift;;
- -T) is_target_a_directory=never;;
+ -T) no_target_directory=true;;
--version) echo "$0 $scriptversion"; exit $?;;
- --) shift
- break;;
+ --) shift
+ break;;
- -*) echo "$0: invalid option: $1" >&2
- exit 1;;
+ -*) echo "$0: invalid option: $1" >&2
+ exit 1;;
*) break;;
esac
shift
done
-# We allow the use of options -d and -T together, by making -d
-# take the precedence; this is for compatibility with GNU install.
-
-if test -n "$dir_arg"; then
- if test -n "$dst_arg"; then
- echo "$0: target directory not allowed when installing a directory." >&2
- exit 1
- fi
-fi
-
if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
# When -d is used, all remaining arguments are directories to create.
# When -t is used, the destination is already specified.
@@ -186,10 +186,6 @@ if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
fi
shift # arg
dst_arg=$arg
- # Protect names problematic for 'test' and other utilities.
- case $dst_arg in
- -* | [=\(\)!]) dst_arg=./$dst_arg;;
- esac
done
fi
@@ -198,26 +194,13 @@ if test $# -eq 0; then
echo "$0: no input file specified." >&2
exit 1
fi
- # It's OK to call 'install-sh -d' without argument.
+ # It's OK to call `install-sh -d' without argument.
# This can happen when creating conditional directories.
exit 0
fi
if test -z "$dir_arg"; then
- if test $# -gt 1 || test "$is_target_a_directory" = always; then
- if test ! -d "$dst_arg"; then
- echo "$0: $dst_arg: Is not a directory." >&2
- exit 1
- fi
- fi
-fi
-
-if test -z "$dir_arg"; then
- do_exit='(exit $ret); exit $ret'
- trap "ret=129; $do_exit" 1
- trap "ret=130; $do_exit" 2
- trap "ret=141; $do_exit" 13
- trap "ret=143; $do_exit" 15
+ trap '(exit $?); exit' 1 2 13 15
# Set umask so as not to create temps with too-generous modes.
# However, 'strip' requires both read and write access to temps.
@@ -228,16 +211,16 @@ if test -z "$dir_arg"; then
*[0-7])
if test -z "$stripcmd"; then
- u_plus_rw=
+ u_plus_rw=
else
- u_plus_rw='% 200'
+ u_plus_rw='% 200'
fi
cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
*)
if test -z "$stripcmd"; then
- u_plus_rw=
+ u_plus_rw=
else
- u_plus_rw=,u+rw
+ u_plus_rw=,u+rw
fi
cp_umask=$mode$u_plus_rw;;
esac
@@ -245,9 +228,9 @@ fi
for src
do
- # Protect names problematic for 'test' and other utilities.
+ # Protect names starting with `-'.
case $src in
- -* | [=\(\)!]) src=./$src;;
+ -*) src=./$src;;
esac
if test -n "$dir_arg"; then
@@ -269,20 +252,51 @@ do
echo "$0: no destination specified." >&2
exit 1
fi
+
dst=$dst_arg
+ # Protect names starting with `-'.
+ case $dst in
+ -*) dst=./$dst;;
+ esac
# If destination is a directory, append the input filename; won't work
# if double slashes aren't ignored.
if test -d "$dst"; then
- if test "$is_target_a_directory" = never; then
- echo "$0: $dst_arg: Is a directory" >&2
- exit 1
+ if test -n "$no_target_directory"; then
+ echo "$0: $dst_arg: Is a directory" >&2
+ exit 1
fi
dstdir=$dst
dst=$dstdir/`basename "$src"`
dstdir_status=0
else
- dstdir=`dirname "$dst"`
+ # Prefer dirname, but fall back on a substitute if dirname fails.
+ dstdir=`
+ (dirname "$dst") 2>/dev/null ||
+ expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$dst" : 'X\(//\)[^/]' \| \
+ X"$dst" : 'X\(//\)$' \| \
+ X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
+ echo X"$dst" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'
+ `
+
test -d "$dstdir"
dstdir_status=$?
fi
@@ -293,74 +307,74 @@ do
if test $dstdir_status != 0; then
case $posix_mkdir in
'')
- # Create intermediate dirs using mode 755 as modified by the umask.
- # This is like FreeBSD 'install' as of 1997-10-28.
- umask=`umask`
- case $stripcmd.$umask in
- # Optimize common cases.
- *[2367][2367]) mkdir_umask=$umask;;
- .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
-
- *[0-7])
- mkdir_umask=`expr $umask + 22 \
- - $umask % 100 % 40 + $umask % 20 \
- - $umask % 10 % 4 + $umask % 2
- `;;
- *) mkdir_umask=$umask,go-w;;
- esac
-
- # With -d, create the new directory with the user-specified mode.
- # Otherwise, rely on $mkdir_umask.
- if test -n "$dir_arg"; then
- mkdir_mode=-m$mode
- else
- mkdir_mode=
- fi
-
- posix_mkdir=false
- case $umask in
- *[123567][0-7][0-7])
- # POSIX mkdir -p sets u+wx bits regardless of umask, which
- # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
- ;;
- *)
- tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
- trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
-
- if (umask $mkdir_umask &&
- exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
- then
- if test -z "$dir_arg" || {
- # Check for POSIX incompatibilities with -m.
- # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
- # other-writable bit of parent directory when it shouldn't.
- # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
- ls_ld_tmpdir=`ls -ld "$tmpdir"`
- case $ls_ld_tmpdir in
- d????-?r-*) different_mode=700;;
- d????-?--*) different_mode=755;;
- *) false;;
- esac &&
- $mkdirprog -m$different_mode -p -- "$tmpdir" && {
- ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
- test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
- }
- }
- then posix_mkdir=:
- fi
- rmdir "$tmpdir/d" "$tmpdir"
- else
- # Remove any dirs left behind by ancient mkdir implementations.
- rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
- fi
- trap '' 0;;
- esac;;
+ # Create intermediate dirs using mode 755 as modified by the umask.
+ # This is like FreeBSD 'install' as of 1997-10-28.
+ umask=`umask`
+ case $stripcmd.$umask in
+ # Optimize common cases.
+ *[2367][2367]) mkdir_umask=$umask;;
+ .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
+
+ *[0-7])
+ mkdir_umask=`expr $umask + 22 \
+ - $umask % 100 % 40 + $umask % 20 \
+ - $umask % 10 % 4 + $umask % 2
+ `;;
+ *) mkdir_umask=$umask,go-w;;
+ esac
+
+ # With -d, create the new directory with the user-specified mode.
+ # Otherwise, rely on $mkdir_umask.
+ if test -n "$dir_arg"; then
+ mkdir_mode=-m$mode
+ else
+ mkdir_mode=
+ fi
+
+ posix_mkdir=false
+ case $umask in
+ *[123567][0-7][0-7])
+ # POSIX mkdir -p sets u+wx bits regardless of umask, which
+ # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
+ ;;
+ *)
+ tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
+ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
+
+ if (umask $mkdir_umask &&
+ exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
+ then
+ if test -z "$dir_arg" || {
+ # Check for POSIX incompatibilities with -m.
+ # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
+ # other-writeable bit of parent directory when it shouldn't.
+ # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
+ ls_ld_tmpdir=`ls -ld "$tmpdir"`
+ case $ls_ld_tmpdir in
+ d????-?r-*) different_mode=700;;
+ d????-?--*) different_mode=755;;
+ *) false;;
+ esac &&
+ $mkdirprog -m$different_mode -p -- "$tmpdir" && {
+ ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
+ test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
+ }
+ }
+ then posix_mkdir=:
+ fi
+ rmdir "$tmpdir/d" "$tmpdir"
+ else
+ # Remove any dirs left behind by ancient mkdir implementations.
+ rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
+ fi
+ trap '' 0;;
+ esac;;
esac
if
$posix_mkdir && (
- umask $mkdir_umask &&
- $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
+ umask $mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
)
then :
else
@@ -370,51 +384,53 @@ do
# directory the slow way, step by step, checking for races as we go.
case $dstdir in
- /*) prefix='/';;
- [-=\(\)!]*) prefix='./';;
- *) prefix='';;
+ /*) prefix='/';;
+ -*) prefix='./';;
+ *) prefix='';;
esac
+ eval "$initialize_posix_glob"
+
oIFS=$IFS
IFS=/
- set -f
+ $posix_glob set -f
set fnord $dstdir
shift
- set +f
+ $posix_glob set +f
IFS=$oIFS
prefixes=
for d
do
- test X"$d" = X && continue
-
- prefix=$prefix$d
- if test -d "$prefix"; then
- prefixes=
- else
- if $posix_mkdir; then
- (umask=$mkdir_umask &&
- $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
- # Don't fail if two instances are running concurrently.
- test -d "$prefix" || exit 1
- else
- case $prefix in
- *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
- *) qprefix=$prefix;;
- esac
- prefixes="$prefixes '$qprefix'"
- fi
- fi
- prefix=$prefix/
+ test -z "$d" && continue
+
+ prefix=$prefix$d
+ if test -d "$prefix"; then
+ prefixes=
+ else
+ if $posix_mkdir; then
+ (umask=$mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
+ # Don't fail if two instances are running concurrently.
+ test -d "$prefix" || exit 1
+ else
+ case $prefix in
+ *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
+ *) qprefix=$prefix;;
+ esac
+ prefixes="$prefixes '$qprefix'"
+ fi
+ fi
+ prefix=$prefix/
done
if test -n "$prefixes"; then
- # Don't fail if two instances are running concurrently.
- (umask $mkdir_umask &&
- eval "\$doit_exec \$mkdirprog $prefixes") ||
- test -d "$dstdir" || exit 1
- obsolete_mkdir_used=true
+ # Don't fail if two instances are running concurrently.
+ (umask $mkdir_umask &&
+ eval "\$doit_exec \$mkdirprog $prefixes") ||
+ test -d "$dstdir" || exit 1
+ obsolete_mkdir_used=true
fi
fi
fi
@@ -449,12 +465,15 @@ do
# If -C, don't bother to copy if it wouldn't change the file.
if $copy_on_change &&
- old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
- new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
- set -f &&
+ old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
+ new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
+
+ eval "$initialize_posix_glob" &&
+ $posix_glob set -f &&
set X $old && old=:$2:$4:$5:$6 &&
set X $new && new=:$2:$4:$5:$6 &&
- set +f &&
+ $posix_glob set +f &&
+
test "$old" = "$new" &&
$cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
then
@@ -467,24 +486,24 @@ do
# to itself, or perhaps because mv is so ancient that it does not
# support -f.
{
- # Now remove or move aside any old file at destination location.
- # We try this two ways since rm can't unlink itself on some
- # systems and the destination file might be busy for other
- # reasons. In this case, the final cleanup might fail but the new
- # file should still install successfully.
- {
- test ! -f "$dst" ||
- $doit $rmcmd -f "$dst" 2>/dev/null ||
- { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
- { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
- } ||
- { echo "$0: cannot unlink or rename $dst" >&2
- (exit 1); exit 1
- }
- } &&
-
- # Now rename the file to the real destination.
- $doit $mvcmd "$dsttmp" "$dst"
+ # Now remove or move aside any old file at destination location.
+ # We try this two ways since rm can't unlink itself on some
+ # systems and the destination file might be busy for other
+ # reasons. In this case, the final cleanup might fail but the new
+ # file should still install successfully.
+ {
+ test ! -f "$dst" ||
+ $doit $rmcmd -f "$dst" 2>/dev/null ||
+ { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
+ { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
+ } ||
+ { echo "$0: cannot unlink or rename $dst" >&2
+ (exit 1); exit 1
+ }
+ } &&
+
+ # Now rename the file to the real destination.
+ $doit $mvcmd "$dsttmp" "$dst"
}
fi || exit 1
diff --git a/Build/source/utils/asymptote/doc/Makefile.in b/Build/source/utils/asymptote/doc/Makefile.in
index a9ce4565703..56b916ea16d 100644
--- a/Build/source/utils/asymptote/doc/Makefile.in
+++ b/Build/source/utils/asymptote/doc/Makefile.in
@@ -93,7 +93,7 @@ clean: FORCE
-rm -f \
{asymptote,asymptote_}.{aux,cp,cps,dvi,fn,info,ky,log,pg,toc,tp,vr}
-rm -f asymptote_.texi
- -rm -f CAD.{aux,dvi,log,toc}
+ -rm -f {CAD,TeXShopAndAsymptote,asyRefCard}.{aux,dvi,log,toc}
-rm -f options asy.1
cd png && $(MAKE) clean
diff --git a/Build/source/utils/asymptote/doc/TeXShopAndAsymptote.pdf b/Build/source/utils/asymptote/doc/TeXShopAndAsymptote.pdf
index e956672af0d..ad41ec7184e 100644
--- a/Build/source/utils/asymptote/doc/TeXShopAndAsymptote.pdf
+++ b/Build/source/utils/asymptote/doc/TeXShopAndAsymptote.pdf
Binary files differ
diff --git a/Build/source/utils/asymptote/doc/asy-latex.pdf b/Build/source/utils/asymptote/doc/asy-latex.pdf
index bb3e9426e26..ec0c9594682 100644
--- a/Build/source/utils/asymptote/doc/asy-latex.pdf
+++ b/Build/source/utils/asymptote/doc/asy-latex.pdf
Binary files differ
diff --git a/Build/source/utils/asymptote/doc/asyRefCard.pdf b/Build/source/utils/asymptote/doc/asyRefCard.pdf
index c65e097e700..15077605062 100644
--- a/Build/source/utils/asymptote/doc/asyRefCard.pdf
+++ b/Build/source/utils/asymptote/doc/asyRefCard.pdf
Binary files differ
diff --git a/Build/source/utils/asymptote/doc/asymptote.pdf b/Build/source/utils/asymptote/doc/asymptote.pdf
index 8dd542c1c2f..0b884cd79ef 100644
--- a/Build/source/utils/asymptote/doc/asymptote.pdf
+++ b/Build/source/utils/asymptote/doc/asymptote.pdf
Binary files differ
diff --git a/Build/source/utils/asymptote/doc/asymptote.texi b/Build/source/utils/asymptote/doc/asymptote.texi
index 9fabe5d813d..1323381684e 100644
--- a/Build/source/utils/asymptote/doc/asymptote.texi
+++ b/Build/source/utils/asymptote/doc/asymptote.texi
@@ -1,4 +1,4 @@
-\input texinfo @c -*-texinfo-*-
+A\input texinfo @c -*-texinfo-*-
@setfilename asymptote.info
@settitle Asymptote: the Vector Graphics Language
@include version.texi
@@ -177,7 +177,7 @@ Graphical User Interface
@cindex description
@code{Asymptote} is a powerful descriptive vector graphics language that
-provides a mathematical coordinate-based framework for technical drawings.
+provides a mathematical coordinate-based framework for technical drawing.
Labels and equations are typeset with @code{LaTeX}, for overall document
consistency, yielding the same high-quality level of typesetting that
@code{LaTeX} provides for scientific text. By default it produces
@@ -211,9 +211,10 @@ as @TeX{}/@code{LaTeX} is the de-facto standard for typesetting equations.
@item @code{LaTeX} typesetting of labels, for overall document consistency;
-@item the ability to generate and embed 3D vector @acronym{PRC} graphics within @acronym{PDF} files;
+@item the ability to generate and embed 3D vector @acronym{PRC}
+graphics within @acronym{PDF} files;
-@item a natural coordinate-based framework for technical drawings,
+@item a natural coordinate-based framework for technical drawing,
inspired by @code{MetaPost}, with a much cleaner, powerful C++-like programming
syntax;
@@ -284,7 +285,7 @@ please see also @ref{Configuring}.
@noindent
We recommend subscribing to new release announcements at
@quotation
-@url{http://freshmeat.net/projects/asy}
+@url{http://freecode.com/projects/asy}
@end quotation
@noindent
Users may also wish to monitor the @code{Asymptote} forum:
@@ -2994,7 +2995,7 @@ import fontsize;
at the beginning of the file (this requires the @code{type1cm} package
available from
@quotation
-@url{http://www.ctan.org/tex-archive/macros/latex/contrib/type1cm/}
+@url{http://mirror.ctan.org/macros/latex/contrib/type1cm/}
@end quotation
and included in recent @code{LaTeX} distributions). The font size and line
skip of a pen can be examined with the routines
@@ -5238,7 +5239,8 @@ returns a deep copy of the array @code{a};
@cindex @code{concat}
@item T[] concat(... T[][] a)
-returns a new array formed by concatenating the given one-dimensional arrays given as arguments;
+returns a new array formed by concatenating the given one-dimensional
+arrays given as arguments;
@cindex @code{alias}
@item bool alias(T[] a, T[] b)
@@ -6052,7 +6054,7 @@ To switch between using inline Asymptote code with @code{latex} and
An even better method for processing a @code{LaTeX} file with embedded
@code{Asymptote} code is to use the @code{latexmk} utility from
@quotation
-@url{http://www.ctan.org/tex-archive/support/latexmk/}
+@url{http://mirror.ctan.org/support/latexmk/}
@end quotation
@noindent
after putting the contents of
@@ -6451,7 +6453,7 @@ The related @code{animate} module, derived from the @code{animation}
module, generates higher-quality portable clickable @acronym{PDF} movies, with
optional controls. This requires installing the package
@quotation
-@url{http://www.ctan.org/tex-archive/macros/latex/contrib/animate/animate.sty}
+@url{http://mirror.ctan.org/macros/latex/contrib/animate/animate.sty}
@noindent
@end quotation
@noindent
@@ -6475,7 +6477,7 @@ string pdf(fit fit=NoBox, real delay=animationdelay, string options="",
of the @code{animate} structure accepts any of the @code{animate.sty} options,
as described here:
@quotation
-@url{http://www.ctan.org/tex-archive/macros/latex/contrib/animate/doc/animate.pdf}
+@url{http://mirror.ctan.org/macros/latex/contrib/animate/doc/animate.pdf}
@end quotation
@node embed
@@ -6484,7 +6486,7 @@ as described here:
This module provides an interface to the @code{LaTeX} package
(included with @code{MikTeX})
@quotation
-@url{http://www.ctan.org/tex-archive/macros/latex/contrib/media9}
+@url{http://mirror.ctan.org/macros/latex/contrib/media9}
@end quotation
@noindent
for embedding movies, sounds, and 3D objects into a @acronym{PDF} document.
@@ -6555,7 +6557,7 @@ defaultpen(font("T2A","cmr","m","n"));
Support for Chinese, Japanese, and Korean fonts is provided by the
CJK package:
@quotation
-@url{http://www.ctan.org/tex-archive/languages/chinese/CJK/}
+@url{http://mirror.ctan.org/languages/chinese/CJK/}
@end quotation
@noindent
The following commands enable the CJK song family (within a label, you
@@ -7399,7 +7401,8 @@ least-squares fit, using the @code{stats} module.
@sp 1
@center @image{generalaxis}
-@item To draw a vector field of @code{n} arrows evenly spaced along the arclength of a path, use the routine
+@item To draw a vector field of @code{n} arrows evenly spaced along
+the arclength of a path, use the routine
@cindex @code{vectorfield}
@verbatim
picture vectorfield(path vector(real), path g, int n, bool truesize=false,
@@ -7410,7 +7413,8 @@ as illustrated in this simple example of a flow field:
@sp 1
@center @image{flow}
-@item To draw a vector field of @code{nx}@math{\times}@code{ny} arrows in @code{box(a,b)}, use the routine
+@item To draw a vector field of @code{nx}@math{\times}@code{ny} arrows
+in @code{box(a,b)}, use the routine
@cindex @code{vectorfield}
@verbatim
picture vectorfield(path vector(pair), pair a, pair b,
@@ -9035,7 +9039,10 @@ variables may also be changed at runtime.
The advanced configuration variables @code{dvipsOptions},
@code{hyperrefOptions}, @code{convertOptions}, @code{gsOptions},
@code{psviewerOptions}, @code{pdfviewerOptions}, @code{pdfreloadOptions},
-@code{glOptions}, and @code{dvisvgmOptions} allow specialized options to be passed as a string to the respective applications or libraries. The default value of @code{hyperrefOptions} is @code{setpagesize=false,unicode,pdfborder=0 0 0}.
+@code{glOptions}, and @code{dvisvgmOptions} allow specialized options
+to be passed as a string to the respective applications or
+libraries. The default value of @code{hyperrefOptions} is
+@code{setpagesize=false,unicode,pdfborder=0 0 0}.
If you insert
@verbatim
@@ -9070,7 +9077,12 @@ Alternative output formats may be produced using the @code{-f} option
@cindex @code{SVG}
@cindex @code{dvisvgm}
@cindex @code{libgs}
-To produce @acronym{SVG} output, you will need @code{dvisvgm} (version 0.8.7 or later) from @url{http://dvisvgm.sourceforge.net} and must use the @code{latex} or @code{tex} tex engine. You might need to adjust the configuration variable @code{libgs} to point to the location of your ghostscript library @code{libgs.so} (or to an empty string, depending on how @code{dvisvgm} was configured).
+To produce @acronym{SVG} output, you will need @code{dvisvgm} (version
+0.8.7 or later) from @url{http://dvisvgm.sourceforge.net} and must use
+the @code{latex} or @code{tex} tex engine. You might need to adjust
+the configuration variable @code{libgs} to point to the location of
+your @code{Ghostscript} library @code{libgs.so} (or to an empty
+string, depending on how @code{dvisvgm} was configured).
@code{Asymptote} can also produce any output format supported
by the @code{ImageMagick} @code{convert} program (version 6.3.5 or
@@ -9396,7 +9408,7 @@ posted here:
To receive announcements of upcoming releases, please subscribe to
@code{Asymptote} at
@quotation
-@url{http://freshmeat.net/projects/asy}
+@url{http://freecode.com/projects/asy}
@end quotation
@cindex bug reports
@noindent
@@ -9728,7 +9740,7 @@ Mark Henning, Steve Melenchuk, Martin Wiebusch, and Stefan Knorr.
@c LocalWords: BeginArcArrow3 MidArcArrow3 EndArcArrow3 ArcArrow3 '
@c LocalWords: ArcArrows3 DefaultHead3 HookHead3 TeXHead3 HookHead2
@c LocalWords: DefaultHead2 TeXHead2 arrows3 NoMargin3 BeginMargin3
-@c LocalWords: EndMargin3 Margin3 Margins3 BeginPenMargin2 xaxis3
+@c LocalWords: EndMargin3 Margin3 Margins3 BeginPenMargin2 xaxis3 '
@c LocalWords: EndPenMargin2 PenMargin2 PenMargins2 BeginPenMargin3
@c LocalWords: EndPenMargin3 PenMargin3 PenMargins3 BeginDotMargin3
@c LocalWords: EndDotMargin3 DotMargin3 DotMargins3 TrueMargin3 3D
@@ -9737,5 +9749,9 @@ Mark Henning, Steve Melenchuk, Martin Wiebusch, and Stefan Knorr.
@c LocalWords: slopefield1 144x144 1filll 'load 'asy 'lasy 'auto 4g
@c LocalWords: 5bp 1cm 2S 100pt 3t bracedefaultratio incircle 12pt
@c LocalWords: 5mm 25cm 3x 5x 3y 602e 2x 2y 3sin 10cm 204e 10x Ai
-@c LocalWords: Ai Ai Ai Ai Ai Ai Ai 5E 5cm 2N 2E 2n 100d 5z 5y
-@c LocalWords: 5unit 144x144
+@c LocalWords: 5E 5cm 2N 2E 2n 100d 5z 5y 0pt
+@c LocalWords: 5unit 144x144 1filll 's 3D 2D libgs 'load 'asy 'lasy
+@c LocalWords: 'auto 5bp 1cm 4g 2S 100pt 3t 12pt 5mm 25cm 3x 5x 3y
+@c LocalWords: 602e 2x 2y 3sin 10cm 204e 10x
+@c LocalWords: Ai 5E 5cm 2N 2E 2n 100d 5z 5y 5unit dvisvgmOptions
+@c LocalWords: 144x144
diff --git a/Build/source/utils/asymptote/doc/extra/intro.asy b/Build/source/utils/asymptote/doc/extra/intro.asy
index fcafefb32a6..68aa7e0347f 100644
--- a/Build/source/utils/asymptote/doc/extra/intro.asy
+++ b/Build/source/utils/asymptote/doc/extra/intro.asy
@@ -15,8 +15,9 @@ usersetting();
viewportsize=pagewidth-2pagemargin;
// To generate bibliographic references:
-// asy -k goysr
-// bibtex goysr_
+// asy -k intro
+// bibtex intro_
+// asy -k intro
bibliographystyle("alpha");
itempen=fontsize(22pt);
@@ -418,7 +419,7 @@ asyinclude("saddle",8cm);
//defaultpen(0.5);
title("Lifting TeX to 3D");
-item("Glyphs are first split into simply connected regions and then decomposed into planar B\'ezier surface patches \cite{Bowman09,Shardt10}:");
+item("Glyphs are first split into simply connected regions and then decomposed into planar B\'ezier surface patches \cite{Bowman09,Shardt12}:");
asyfigure("../examples/partitionExample");
viewportmargin=(2,1cm);
@@ -932,7 +933,7 @@ subitem("generalizes MetaPost path construction algorithms to 3D;");
subitem("lifts \TeX\ to 3D;");
subitem("supports 3D billboard labels and PDF grouping.");
-bibliography("refs");
+bibliography("../examples/refs");
viewportmargin=(2,2);
viewportsize=0;
diff --git a/Build/source/utils/asymptote/doc/install-sh b/Build/source/utils/asymptote/doc/install-sh
index 0b0fdcbba69..6781b987bdb 100755
--- a/Build/source/utils/asymptote/doc/install-sh
+++ b/Build/source/utils/asymptote/doc/install-sh
@@ -1,7 +1,7 @@
#!/bin/sh
# install - install a program, script, or datafile
-scriptversion=2013-12-25.23; # UTC
+scriptversion=2009-04-28.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
@@ -35,21 +35,25 @@ scriptversion=2013-12-25.23; # UTC
# FSF changes to this file are in the public domain.
#
# Calling this script install-sh is preferred over install.sh, to prevent
-# 'make' implicit rules from creating a file called install from it
+# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
# from scratch.
-tab=' '
nl='
'
-IFS=" $tab$nl"
+IFS=" "" $nl"
-# Set DOITPROG to "echo" to test this script.
+# set DOITPROG to echo to test this script
+# Don't use :- since 4.3BSD and earlier shells don't like it.
doit=${DOITPROG-}
-doit_exec=${doit:-exec}
+if test -z "$doit"; then
+ doit_exec=exec
+else
+ doit_exec=$doit
+fi
# Put in absolute file names if you don't have them in your path;
# or use environment vars.
@@ -64,6 +68,17 @@ mvprog=${MVPROG-mv}
rmprog=${RMPROG-rm}
stripprog=${STRIPPROG-strip}
+posix_glob='?'
+initialize_posix_glob='
+ test "$posix_glob" != "?" || {
+ if (set -f) 2>/dev/null; then
+ posix_glob=
+ else
+ posix_glob=:
+ fi
+ }
+'
+
posix_mkdir=
# Desired mode of installed file.
@@ -82,7 +97,7 @@ dir_arg=
dst_arg=
copy_on_change=false
-is_target_a_directory=possibly
+no_target_directory=
usage="\
Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
@@ -122,57 +137,42 @@ while test $# -ne 0; do
-d) dir_arg=true;;
-g) chgrpcmd="$chgrpprog $2"
- shift;;
+ shift;;
--help) echo "$usage"; exit $?;;
-m) mode=$2
- case $mode in
- *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
- echo "$0: invalid mode: $mode" >&2
- exit 1;;
- esac
- shift;;
+ case $mode in
+ *' '* | *' '* | *'
+'* | *'*'* | *'?'* | *'['*)
+ echo "$0: invalid mode: $mode" >&2
+ exit 1;;
+ esac
+ shift;;
-o) chowncmd="$chownprog $2"
- shift;;
+ shift;;
-s) stripcmd=$stripprog;;
- -t)
- is_target_a_directory=always
- dst_arg=$2
- # Protect names problematic for 'test' and other utilities.
- case $dst_arg in
- -* | [=\(\)!]) dst_arg=./$dst_arg;;
- esac
- shift;;
+ -t) dst_arg=$2
+ shift;;
- -T) is_target_a_directory=never;;
+ -T) no_target_directory=true;;
--version) echo "$0 $scriptversion"; exit $?;;
- --) shift
- break;;
+ --) shift
+ break;;
- -*) echo "$0: invalid option: $1" >&2
- exit 1;;
+ -*) echo "$0: invalid option: $1" >&2
+ exit 1;;
*) break;;
esac
shift
done
-# We allow the use of options -d and -T together, by making -d
-# take the precedence; this is for compatibility with GNU install.
-
-if test -n "$dir_arg"; then
- if test -n "$dst_arg"; then
- echo "$0: target directory not allowed when installing a directory." >&2
- exit 1
- fi
-fi
-
if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
# When -d is used, all remaining arguments are directories to create.
# When -t is used, the destination is already specified.
@@ -186,10 +186,6 @@ if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
fi
shift # arg
dst_arg=$arg
- # Protect names problematic for 'test' and other utilities.
- case $dst_arg in
- -* | [=\(\)!]) dst_arg=./$dst_arg;;
- esac
done
fi
@@ -198,26 +194,13 @@ if test $# -eq 0; then
echo "$0: no input file specified." >&2
exit 1
fi
- # It's OK to call 'install-sh -d' without argument.
+ # It's OK to call `install-sh -d' without argument.
# This can happen when creating conditional directories.
exit 0
fi
if test -z "$dir_arg"; then
- if test $# -gt 1 || test "$is_target_a_directory" = always; then
- if test ! -d "$dst_arg"; then
- echo "$0: $dst_arg: Is not a directory." >&2
- exit 1
- fi
- fi
-fi
-
-if test -z "$dir_arg"; then
- do_exit='(exit $ret); exit $ret'
- trap "ret=129; $do_exit" 1
- trap "ret=130; $do_exit" 2
- trap "ret=141; $do_exit" 13
- trap "ret=143; $do_exit" 15
+ trap '(exit $?); exit' 1 2 13 15
# Set umask so as not to create temps with too-generous modes.
# However, 'strip' requires both read and write access to temps.
@@ -228,16 +211,16 @@ if test -z "$dir_arg"; then
*[0-7])
if test -z "$stripcmd"; then
- u_plus_rw=
+ u_plus_rw=
else
- u_plus_rw='% 200'
+ u_plus_rw='% 200'
fi
cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
*)
if test -z "$stripcmd"; then
- u_plus_rw=
+ u_plus_rw=
else
- u_plus_rw=,u+rw
+ u_plus_rw=,u+rw
fi
cp_umask=$mode$u_plus_rw;;
esac
@@ -245,9 +228,9 @@ fi
for src
do
- # Protect names problematic for 'test' and other utilities.
+ # Protect names starting with `-'.
case $src in
- -* | [=\(\)!]) src=./$src;;
+ -*) src=./$src;;
esac
if test -n "$dir_arg"; then
@@ -269,20 +252,51 @@ do
echo "$0: no destination specified." >&2
exit 1
fi
+
dst=$dst_arg
+ # Protect names starting with `-'.
+ case $dst in
+ -*) dst=./$dst;;
+ esac
# If destination is a directory, append the input filename; won't work
# if double slashes aren't ignored.
if test -d "$dst"; then
- if test "$is_target_a_directory" = never; then
- echo "$0: $dst_arg: Is a directory" >&2
- exit 1
+ if test -n "$no_target_directory"; then
+ echo "$0: $dst_arg: Is a directory" >&2
+ exit 1
fi
dstdir=$dst
dst=$dstdir/`basename "$src"`
dstdir_status=0
else
- dstdir=`dirname "$dst"`
+ # Prefer dirname, but fall back on a substitute if dirname fails.
+ dstdir=`
+ (dirname "$dst") 2>/dev/null ||
+ expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$dst" : 'X\(//\)[^/]' \| \
+ X"$dst" : 'X\(//\)$' \| \
+ X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
+ echo X"$dst" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'
+ `
+
test -d "$dstdir"
dstdir_status=$?
fi
@@ -293,74 +307,74 @@ do
if test $dstdir_status != 0; then
case $posix_mkdir in
'')
- # Create intermediate dirs using mode 755 as modified by the umask.
- # This is like FreeBSD 'install' as of 1997-10-28.
- umask=`umask`
- case $stripcmd.$umask in
- # Optimize common cases.
- *[2367][2367]) mkdir_umask=$umask;;
- .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
-
- *[0-7])
- mkdir_umask=`expr $umask + 22 \
- - $umask % 100 % 40 + $umask % 20 \
- - $umask % 10 % 4 + $umask % 2
- `;;
- *) mkdir_umask=$umask,go-w;;
- esac
-
- # With -d, create the new directory with the user-specified mode.
- # Otherwise, rely on $mkdir_umask.
- if test -n "$dir_arg"; then
- mkdir_mode=-m$mode
- else
- mkdir_mode=
- fi
-
- posix_mkdir=false
- case $umask in
- *[123567][0-7][0-7])
- # POSIX mkdir -p sets u+wx bits regardless of umask, which
- # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
- ;;
- *)
- tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
- trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
-
- if (umask $mkdir_umask &&
- exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
- then
- if test -z "$dir_arg" || {
- # Check for POSIX incompatibilities with -m.
- # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
- # other-writable bit of parent directory when it shouldn't.
- # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
- ls_ld_tmpdir=`ls -ld "$tmpdir"`
- case $ls_ld_tmpdir in
- d????-?r-*) different_mode=700;;
- d????-?--*) different_mode=755;;
- *) false;;
- esac &&
- $mkdirprog -m$different_mode -p -- "$tmpdir" && {
- ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
- test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
- }
- }
- then posix_mkdir=:
- fi
- rmdir "$tmpdir/d" "$tmpdir"
- else
- # Remove any dirs left behind by ancient mkdir implementations.
- rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
- fi
- trap '' 0;;
- esac;;
+ # Create intermediate dirs using mode 755 as modified by the umask.
+ # This is like FreeBSD 'install' as of 1997-10-28.
+ umask=`umask`
+ case $stripcmd.$umask in
+ # Optimize common cases.
+ *[2367][2367]) mkdir_umask=$umask;;
+ .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
+
+ *[0-7])
+ mkdir_umask=`expr $umask + 22 \
+ - $umask % 100 % 40 + $umask % 20 \
+ - $umask % 10 % 4 + $umask % 2
+ `;;
+ *) mkdir_umask=$umask,go-w;;
+ esac
+
+ # With -d, create the new directory with the user-specified mode.
+ # Otherwise, rely on $mkdir_umask.
+ if test -n "$dir_arg"; then
+ mkdir_mode=-m$mode
+ else
+ mkdir_mode=
+ fi
+
+ posix_mkdir=false
+ case $umask in
+ *[123567][0-7][0-7])
+ # POSIX mkdir -p sets u+wx bits regardless of umask, which
+ # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
+ ;;
+ *)
+ tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
+ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
+
+ if (umask $mkdir_umask &&
+ exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
+ then
+ if test -z "$dir_arg" || {
+ # Check for POSIX incompatibilities with -m.
+ # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
+ # other-writeable bit of parent directory when it shouldn't.
+ # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
+ ls_ld_tmpdir=`ls -ld "$tmpdir"`
+ case $ls_ld_tmpdir in
+ d????-?r-*) different_mode=700;;
+ d????-?--*) different_mode=755;;
+ *) false;;
+ esac &&
+ $mkdirprog -m$different_mode -p -- "$tmpdir" && {
+ ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
+ test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
+ }
+ }
+ then posix_mkdir=:
+ fi
+ rmdir "$tmpdir/d" "$tmpdir"
+ else
+ # Remove any dirs left behind by ancient mkdir implementations.
+ rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
+ fi
+ trap '' 0;;
+ esac;;
esac
if
$posix_mkdir && (
- umask $mkdir_umask &&
- $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
+ umask $mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
)
then :
else
@@ -370,51 +384,53 @@ do
# directory the slow way, step by step, checking for races as we go.
case $dstdir in
- /*) prefix='/';;
- [-=\(\)!]*) prefix='./';;
- *) prefix='';;
+ /*) prefix='/';;
+ -*) prefix='./';;
+ *) prefix='';;
esac
+ eval "$initialize_posix_glob"
+
oIFS=$IFS
IFS=/
- set -f
+ $posix_glob set -f
set fnord $dstdir
shift
- set +f
+ $posix_glob set +f
IFS=$oIFS
prefixes=
for d
do
- test X"$d" = X && continue
-
- prefix=$prefix$d
- if test -d "$prefix"; then
- prefixes=
- else
- if $posix_mkdir; then
- (umask=$mkdir_umask &&
- $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
- # Don't fail if two instances are running concurrently.
- test -d "$prefix" || exit 1
- else
- case $prefix in
- *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
- *) qprefix=$prefix;;
- esac
- prefixes="$prefixes '$qprefix'"
- fi
- fi
- prefix=$prefix/
+ test -z "$d" && continue
+
+ prefix=$prefix$d
+ if test -d "$prefix"; then
+ prefixes=
+ else
+ if $posix_mkdir; then
+ (umask=$mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
+ # Don't fail if two instances are running concurrently.
+ test -d "$prefix" || exit 1
+ else
+ case $prefix in
+ *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
+ *) qprefix=$prefix;;
+ esac
+ prefixes="$prefixes '$qprefix'"
+ fi
+ fi
+ prefix=$prefix/
done
if test -n "$prefixes"; then
- # Don't fail if two instances are running concurrently.
- (umask $mkdir_umask &&
- eval "\$doit_exec \$mkdirprog $prefixes") ||
- test -d "$dstdir" || exit 1
- obsolete_mkdir_used=true
+ # Don't fail if two instances are running concurrently.
+ (umask $mkdir_umask &&
+ eval "\$doit_exec \$mkdirprog $prefixes") ||
+ test -d "$dstdir" || exit 1
+ obsolete_mkdir_used=true
fi
fi
fi
@@ -449,12 +465,15 @@ do
# If -C, don't bother to copy if it wouldn't change the file.
if $copy_on_change &&
- old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
- new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
- set -f &&
+ old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
+ new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
+
+ eval "$initialize_posix_glob" &&
+ $posix_glob set -f &&
set X $old && old=:$2:$4:$5:$6 &&
set X $new && new=:$2:$4:$5:$6 &&
- set +f &&
+ $posix_glob set +f &&
+
test "$old" = "$new" &&
$cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
then
@@ -467,24 +486,24 @@ do
# to itself, or perhaps because mv is so ancient that it does not
# support -f.
{
- # Now remove or move aside any old file at destination location.
- # We try this two ways since rm can't unlink itself on some
- # systems and the destination file might be busy for other
- # reasons. In this case, the final cleanup might fail but the new
- # file should still install successfully.
- {
- test ! -f "$dst" ||
- $doit $rmcmd -f "$dst" 2>/dev/null ||
- { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
- { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
- } ||
- { echo "$0: cannot unlink or rename $dst" >&2
- (exit 1); exit 1
- }
- } &&
-
- # Now rename the file to the real destination.
- $doit $mvcmd "$dsttmp" "$dst"
+ # Now remove or move aside any old file at destination location.
+ # We try this two ways since rm can't unlink itself on some
+ # systems and the destination file might be busy for other
+ # reasons. In this case, the final cleanup might fail but the new
+ # file should still install successfully.
+ {
+ test ! -f "$dst" ||
+ $doit $rmcmd -f "$dst" 2>/dev/null ||
+ { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
+ { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
+ } ||
+ { echo "$0: cannot unlink or rename $dst" >&2
+ (exit 1); exit 1
+ }
+ } &&
+
+ # Now rename the file to the real destination.
+ $doit $mvcmd "$dsttmp" "$dst"
}
fi || exit 1
diff --git a/Build/source/utils/asymptote/doc/png/asymptote.info b/Build/source/utils/asymptote/doc/png/asymptote.info
index d9bfe6891e3..7ad8b7aab0d 100644
--- a/Build/source/utils/asymptote/doc/png/asymptote.info
+++ b/Build/source/utils/asymptote/doc/png/asymptote.info
@@ -1,7 +1,7 @@
This is asymptote.info, produced by makeinfo version 4.13 from
../asymptote.texi.
-This file documents `Asymptote', version 2.25.
+This file documents `Asymptote', version 2.26.
`http://asymptote.sourceforge.net'
@@ -23,7 +23,7 @@ File: asymptote.info, Node: Top, Next: Description, Up: (dir)
Asymptote
*********
-This file documents `Asymptote', version 2.25.
+This file documents `Asymptote', version 2.26.
`http://asymptote.sourceforge.net'
@@ -165,7 +165,7 @@ File: asymptote.info, Node: Description, Next: Installation, Prev: Top, Up:
`Asymptote' is a powerful descriptive vector graphics language that
provides a mathematical coordinate-based framework for technical
-drawings. Labels and equations are typeset with `LaTeX', for overall
+drawing. Labels and equations are typeset with `LaTeX', for overall
document consistency, yielding the same high-quality level of
typesetting that `LaTeX' provides for scientific text. By default it
produces `PostScript' output, but it can also generate any format that
@@ -199,7 +199,7 @@ weaker syntax and capabilities) called `MetaPost'.
* the ability to generate and embed 3D vector PRC graphics within
PDF files;
- * a natural coordinate-based framework for technical drawings,
+ * a natural coordinate-based framework for technical drawing,
inspired by `MetaPost', with a much cleaner, powerful C++-like
programming syntax;
@@ -264,7 +264,7 @@ please see also *note Configuring::.
We recommend subscribing to new release announcements at
- `http://freshmeat.net/projects/asy'
+ `http://freecode.com/projects/asy'
Users may also wish to monitor the `Asymptote' forum:
`http://sourceforge.net/p/asymptote/discussion/409349'
@@ -2372,7 +2372,7 @@ number, until it saturates with one or more color components equal to 1.
at the beginning of the file (this requires the `type1cm' package
available from
- `http://www.ctan.org/tex-archive/macros/latex/contrib/type1cm/'
+ `http://mirror.ctan.org/macros/latex/contrib/type1cm/'
and included in recent `LaTeX' distributions). The font size and
line skip of a pen can be examined with the routines `real
fontsize(pen p=currentpen)' and `real lineskip(pen p=currentpen)',
@@ -4730,7 +4730,7 @@ pdflatex latexusage
An even better method for processing a `LaTeX' file with embedded
`Asymptote' code is to use the `latexmk' utility from
- `http://www.ctan.org/tex-archive/support/latexmk/'
+ `http://mirror.ctan.org/support/latexmk/'
after putting the contents of
`http://asymptote.svn.sourceforge.net/viewvc/asymptote/trunk/asymptote/doc/latexmkrc'
in a file `latexmkrc' in the same directory. The command
@@ -5229,7 +5229,7 @@ MPEG movie.
generates higher-quality portable clickable PDF movies, with optional
controls. This requires installing the package
- `http://www.ctan.org/tex-archive/macros/latex/contrib/animate/animate.sty'
+ `http://mirror.ctan.org/macros/latex/contrib/animate/animate.sty'
(version 2007/11/30 or later) in a new directory `animate' in the
local `LaTeX' directory (for example, in
`/usr/local/share/texmf/tex/latex/animate'). On `UNIX' systems, one
@@ -5245,7 +5245,7 @@ string pdf(fit fit=NoBox, real delay=animationdelay, string options="",
of the `animate' structure accepts any of the `animate.sty' options,
as described here:
- `http://www.ctan.org/tex-archive/macros/latex/contrib/animate/doc/animate.pdf'
+ `http://mirror.ctan.org/macros/latex/contrib/animate/doc/animate.pdf'

File: asymptote.info, Node: embed, Next: slide, Prev: animation, Up: Base modules
@@ -5256,7 +5256,7 @@ File: asymptote.info, Node: embed, Next: slide, Prev: animation, Up: Base mo
This module provides an interface to the `LaTeX' package (included with
`MikTeX')
- `http://www.ctan.org/tex-archive/macros/latex/contrib/media9'
+ `http://mirror.ctan.org/macros/latex/contrib/media9'
for embedding movies, sounds, and 3D objects into a PDF document.
A more portable method for embedding movie files, which should work
@@ -5317,7 +5317,7 @@ defaultpen(font("T2A","cmr","m","n"));
Support for Chinese, Japanese, and Korean fonts is provided by the CJK
package:
- `http://www.ctan.org/tex-archive/languages/chinese/CJK/'
+ `http://mirror.ctan.org/languages/chinese/CJK/'
The following commands enable the CJK song family (within a label,
you can also temporarily switch to another family, say kai, by
prepending `"\CJKfamily{kai}"' to the label string):
@@ -8091,7 +8091,7 @@ option (or `outformat' setting).
To produce SVG output, you will need `dvisvgm' (version 0.8.7 or
later) from `http://dvisvgm.sourceforge.net' and must use the `latex'
or `tex' tex engine. You might need to adjust the configuration
-variable `libgs' to point to the location of your ghostscript library
+variable `libgs' to point to the location of your `Ghostscript' library
`libgs.so' (or to an empty string, depending on how `dvisvgm' was
configured).
@@ -8361,7 +8361,7 @@ form of patches or `Asymptote' modules can be posted here:
To receive announcements of upcoming releases, please subscribe to
`Asymptote' at
- `http://freshmeat.net/projects/asy'
+ `http://freecode.com/projects/asy'
If you find a bug in `Asymptote', please check (if possible) whether
the bug is still present in the latest `Subversion' developmental code
(*note Subversion::) before submitting a bug report. New bugs can be
@@ -9846,143 +9846,143 @@ Index
Tag Table:
Node: Top575
Node: Description6859
-Node: Installation10475
-Node: UNIX binary distributions11519
-Node: MacOS X binary distributions12625
-Node: Microsoft Windows13509
-Ref: psview14219
-Node: Configuring15153
-Node: Search paths19373
-Node: Compiling from UNIX source20215
-Node: Editing modes23112
-Node: Subversion25544
-Node: Uninstall25992
-Node: Tutorial26342
-Ref: unitcircle30640
-Node: Drawing commands32696
-Node: draw34407
-Ref: arrows35555
-Node: fill40798
-Ref: gradient shading41842
-Node: clip46399
-Node: label46991
-Ref: Label47589
-Node: Bezier curves53392
-Node: Programming57094
-Ref: array iteration57908
-Node: Data types59014
-Ref: format68211
-Node: Paths and guides72464
-Ref: circle72718
-Ref: extension82276
-Node: Pens89331
-Ref: fillrule96699
-Ref: basealign97596
-Ref: transparency100422
-Ref: makepen103865
-Ref: overwrite104703
-Node: Transforms105913
-Node: Frames and pictures107704
-Ref: envelope108845
-Ref: size109928
-Ref: unitsize110915
-Ref: shipout111975
-Ref: filltype114308
-Ref: add117445
-Ref: add about118391
-Ref: tex121329
-Node: Files122203
-Ref: cd123186
-Ref: scroll127860
-Node: Variable initializers130775
-Node: Structures133500
-Node: Operators140902
-Node: Arithmetic & logical141216
-Node: Self & prefix operators143189
-Node: User-defined operators143977
-Node: Implicit scaling144888
-Node: Functions145451
-Ref: stack overflow148204
-Node: Default arguments148768
-Node: Named arguments149507
-Node: Rest arguments152078
-Node: Mathematical functions155199
-Node: Arrays159864
-Ref: sort166853
-Ref: tridiagonal169257
-Ref: solve170485
-Node: Slices174679
-Node: Casts178569
-Node: Import180534
-Node: Static185771
-Node: LaTeX usage188665
-Node: Base modules195077
-Node: plain197577
-Node: simplex198229
-Node: math198502
-Node: interpolate201207
-Node: geometry201486
-Node: trembling202080
-Node: stats202349
-Node: patterns202609
-Node: markers202845
-Node: tree204628
-Node: binarytree204816
-Node: drawtree205436
-Node: syzygy205640
-Node: feynman205914
-Node: roundedpath206189
-Node: animation206472
-Ref: animate206892
-Node: embed208031
-Node: slide208998
-Node: MetaPost209338
-Node: unicode210054
-Node: latin1210942
-Node: babel211310
-Node: labelpath211539
-Node: labelpath3212359
-Node: annotate212670
-Node: CAD213141
-Node: graph213451
-Ref: ticks220580
-Ref: pathmarkers233907
-Ref: marker234372
-Ref: markuniform234723
-Ref: errorbars236514
-Ref: automatic scaling240551
-Node: palette251180
-Ref: images251298
-Ref: image255470
-Ref: logimage255948
-Ref: penimage257009
-Ref: penfunctionimage257230
-Node: three257954
-Ref: PostScript3D283633
-Node: obj285325
-Node: graph3285577
-Ref: GaussianSurface290732
-Node: grid3291836
-Node: solids292576
-Node: tube293524
-Node: flowchart295759
-Node: contour300328
-Node: contour3305418
-Node: slopefield305725
-Node: ode307162
-Node: Options307422
-Ref: configuration file313467
-Ref: settings313467
-Ref: convert314706
-Node: Interactive mode317853
-Ref: history320006
-Node: GUI321311
-Node: GUI installation321814
-Node: GUI usage322944
-Node: PostScript to Asymptote323847
-Node: Help324603
-Node: Debugger326330
-Node: Credits328115
-Node: Index329047
+Node: Installation10473
+Node: UNIX binary distributions11516
+Node: MacOS X binary distributions12622
+Node: Microsoft Windows13506
+Ref: psview14216
+Node: Configuring15150
+Node: Search paths19370
+Node: Compiling from UNIX source20212
+Node: Editing modes23109
+Node: Subversion25541
+Node: Uninstall25989
+Node: Tutorial26339
+Ref: unitcircle30637
+Node: Drawing commands32693
+Node: draw34404
+Ref: arrows35552
+Node: fill40795
+Ref: gradient shading41839
+Node: clip46396
+Node: label46988
+Ref: Label47586
+Node: Bezier curves53389
+Node: Programming57091
+Ref: array iteration57905
+Node: Data types59011
+Ref: format68208
+Node: Paths and guides72461
+Ref: circle72715
+Ref: extension82273
+Node: Pens89328
+Ref: fillrule96696
+Ref: basealign97593
+Ref: transparency100410
+Ref: makepen103853
+Ref: overwrite104691
+Node: Transforms105901
+Node: Frames and pictures107692
+Ref: envelope108833
+Ref: size109916
+Ref: unitsize110903
+Ref: shipout111963
+Ref: filltype114296
+Ref: add117433
+Ref: add about118379
+Ref: tex121317
+Node: Files122191
+Ref: cd123174
+Ref: scroll127848
+Node: Variable initializers130763
+Node: Structures133488
+Node: Operators140890
+Node: Arithmetic & logical141204
+Node: Self & prefix operators143177
+Node: User-defined operators143965
+Node: Implicit scaling144876
+Node: Functions145439
+Ref: stack overflow148192
+Node: Default arguments148756
+Node: Named arguments149495
+Node: Rest arguments152066
+Node: Mathematical functions155187
+Node: Arrays159852
+Ref: sort166841
+Ref: tridiagonal169245
+Ref: solve170473
+Node: Slices174667
+Node: Casts178557
+Node: Import180522
+Node: Static185759
+Node: LaTeX usage188653
+Node: Base modules195056
+Node: plain197556
+Node: simplex198208
+Node: math198481
+Node: interpolate201186
+Node: geometry201465
+Node: trembling202059
+Node: stats202328
+Node: patterns202588
+Node: markers202824
+Node: tree204607
+Node: binarytree204795
+Node: drawtree205415
+Node: syzygy205619
+Node: feynman205893
+Node: roundedpath206168
+Node: animation206451
+Ref: animate206871
+Node: embed207992
+Node: slide208950
+Node: MetaPost209290
+Node: unicode210006
+Node: latin1210885
+Node: babel211253
+Node: labelpath211482
+Node: labelpath3212302
+Node: annotate212613
+Node: CAD213084
+Node: graph213394
+Ref: ticks220523
+Ref: pathmarkers233850
+Ref: marker234315
+Ref: markuniform234666
+Ref: errorbars236457
+Ref: automatic scaling240494
+Node: palette251123
+Ref: images251241
+Ref: image255413
+Ref: logimage255891
+Ref: penimage256952
+Ref: penfunctionimage257173
+Node: three257897
+Ref: PostScript3D283576
+Node: obj285268
+Node: graph3285520
+Ref: GaussianSurface290675
+Node: grid3291779
+Node: solids292519
+Node: tube293467
+Node: flowchart295702
+Node: contour300271
+Node: contour3305361
+Node: slopefield305668
+Node: ode307105
+Node: Options307365
+Ref: configuration file313410
+Ref: settings313410
+Ref: convert314649
+Node: Interactive mode317798
+Ref: history319951
+Node: GUI321256
+Node: GUI installation321759
+Node: GUI usage322889
+Node: PostScript to Asymptote323792
+Node: Help324548
+Node: Debugger326274
+Node: Credits328059
+Node: Index328991

End Tag Table