1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
|
From: Frédéric-Emmanuel Picca <picca@synchrotron-soleil.fr>
Date: Sat, 2 Jul 2011 23:17:05 +0200
Subject: update documentation for debian specific parts
Forwarded: not-needed
Last-Update: 2023-01-28
---
doc/asymptote.texi | 34 +++++++++++++---------------------
1 file changed, 13 insertions(+), 21 deletions(-)
--- asymptote.orig/doc/asymptote.texi
+++ asymptote/doc/asymptote.texi
@@ -15,15 +15,16 @@
@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
@@ -449,9 +450,9 @@
@noindent
@verbatim
import settings;
-pdfviewer="acroread";
-htmlviewer="google-chrome";
-psviewer="evince";
+pdfviewer="xdg-open";
+htmlviewer="xdg-open";
+psviewer="xdg-open";
display="display";
animate="animate";
gs="gs";
@@ -707,20 +708,9 @@
@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.
@@ -744,8 +734,10 @@
@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:
|