From: =?UTF-8?q?Picca=20Fr=C3=A9d=C3=A9ric-Emmanuel?=
 <picca@synchrotron-soleil.fr>
Date: Sat, 2 Jul 2011 23:17:05 +0200
Subject: update documentation for debian specific parts

---
 doc/asymptote.texi |   30 +++++++++++-------------------
 1 files changed, 11 insertions(+), 19 deletions(-)

diff --git a/doc/asymptote.texi b/doc/asymptote.texi
index 09cf339..f9f5bca 100644
--- a/doc/asymptote.texi
+++ b/doc/asymptote.texi
@@ -13,15 +13,16 @@ Copyright @copyright{} 2004-11 Andy Hammerlindl, John Bowman, and Tom Prince.
      
 @quotation
 Permission is granted to copy, distribute and/or modify this document
-under the terms of the @acronym{GNU} Lesser General Public License (see the
-file LICENSE in the top-level source directory).
+under the terms of the @acronym{GNU} Lesser General Public License.  On
+Debian systems, the @acronym{LGPL} can be found at
+/usr/share/common-licenses/LGPL.
 
 @end quotation
 @end copying
      
 @dircategory Languages
 @direntry
-* asymptote: (asymptote/asymptote). Vector graphics language.
+* asymptote: (asymptote). Vector graphics language.
 @end direntry
 
 @titlepage
@@ -437,7 +438,7 @@ variables under @code{UNIX}:
 @verbatim
 import settings;
 psviewer="gv";
-pdfviewer="acroread";
+pdfviewer="xpdf";
 gs="gs";
 @end verbatim
 
@@ -671,20 +672,9 @@ to the directory @code{base} (in the top level directory of the
 @cindex @code{asy-mode}
 @cindex @code{lasy-mode}
 Users of @code{emacs} can edit @code{Asymptote} code with the mode
-@code{asy-mode}, after enabling it by putting the following lines in their
-@code{.emacs} initialization file, replacing @code{ASYDIR} with the
-location of the @code{Asymptote} system directory (by default,
-@code{@value{Datadir}/asymptote} or @code{C:\Program Files\Asymptote}
-under @code{MSDOS}):
-@verbatim
-(add-to-list 'load-path "ASYDIR")
-(autoload 'asy-mode "asy-mode.el" "Asymptote major mode." t)
-(autoload 'lasy-mode "asy-mode.el" "hybrid Asymptote/Latex major mode." t)
-(autoload 'asy-insinuate-latex "asy-mode.el" "Asymptote insinuate LaTeX." t)
-(add-to-list 'auto-mode-alist '("\\.asy$" . asy-mode))
+@code{asy-mode}, which is installed and enabled by default in the Debian
+package.
 
-@end verbatim
-@noindent
 Particularly useful key bindings in this mode are @code{C-c C-c}, which compiles
 and displays the current buffer, and the key binding @code{C-c ?}, which
 shows the available function prototypes for the command at the cursor.
@@ -708,8 +698,10 @@ Further documentation of @code{asy-mode} is available within
 @cindex @code{asy.vim}
 Fans of @code{vim} can customize @code{vim} for @code{Asymptote} with
 
-@noindent
-@code{cp @value{Datadir}/asymptote/asy.vim ~/.vim/syntax/asy.vim}
+@verbatim
+cp @value{Datadir}/doc/asymptote/examples/asy.vim.gz ~/.vim/syntax/asy.vim.gz
+gunzip ~/.vim/syntax/asy.vim.gz
+@end verbatim
 
 @noindent
 and add the following to their @code{~/.vimrc} file:
-- 
