[SCM] an open source computer algebra system branch, cleanedupstream, updated. 6125e540ca6d66c307958938a9d53b245507c323

Bernhard R. Link brlink at debian.org
Tue Apr 24 15:54:01 UTC 2012


The following commit has been merged in the cleanedupstream branch:
commit 776f248cc56a8278523d195e4607771432a625ae
Author: Bernhard R. Link <brlink at debian.org>
Date:   Sat Mar 3 10:16:25 2012 +0100

    tag MP using examples
    
    Properly tag all examples using MP functions, so that the documentation
    can be built even if built without MP.

diff --git a/doc/general.doc b/doc/general.doc
index fd81256..7bc8408 100644
--- a/doc/general.doc
+++ b/doc/general.doc
@@ -2913,7 +2913,7 @@ For more information, see @ref{write}, @ref{read}, @ref{dump},
 
 @strong{Example:}
 @smallexample
- at c example unix_only
+ at c example unix_only tag:MP
   ring r; poly p = x+y;
   dump("MPfile:w test.mp");   // dump the session to the file test.mp
   kill r;                     // kill the basering
@@ -2934,7 +2934,7 @@ Links have various properties which can be queried using the
 
 @strong{Example:}
 @smallexample
- at c example unix_only
+ at c example unix_only tag:MP
   link l = "MPtcp:fork";
   l;
   open(l);
@@ -2988,7 +2988,7 @@ MPfile links are implemented on Unix-like operating systems only.
 
 @strong{Example:}
 @smallexample
- at c example unix_only
+ at c example unix_only tag:MP
   ring r;
   // (over)write MPfile test.mp, link is specified as string
   write("MPfile:w test.mp", x+y);
@@ -3015,7 +3015,7 @@ MPtcp links are implemented on Unix-like operating systems only.
 
 @strong{Example:}
 @smallexample
- at c example unix_only
+ at c example unix_only tag:MP
   ring r;
   link l = "MPtcp:launch"; // declare a link explicitly
   open(l);  // needs an open, launches another SINGULAR as a server
diff --git a/doc/reference.doc b/doc/reference.doc
index edf78fa..472f229 100644
--- a/doc/reference.doc
+++ b/doc/reference.doc
@@ -1604,7 +1604,7 @@ with @code{quote} and @code{write} to
 prevent local evaluations  when writing to an MPtcp link.
 @item @strong{Example:}
 @smallexample
- at c example unix_only
+ at c example unix_only tag:MP
   link l="MPfile:w example.mp";
   ring r=0,(x,y,z),ds;
   ideal i=maxideal(3);
@@ -5708,7 +5708,7 @@ quote can be "undone" by an @code{eval} (i.e., each eval "undoes" the
 effect of exactly one quote).
 @item @strong{Example:}
 @smallexample
- at c example unix_only
+ at c example unix_only tag:MP
   link l="MPfile:w example.mp";
   ring r=0,(x,y,z),ds;
   ideal i=maxideal(3);
diff --git a/doc/types.doc b/doc/types.doc
index 768559d..d6a688e 100644
--- a/doc/types.doc
+++ b/doc/types.doc
@@ -1638,7 +1638,7 @@ either for reading or for writing, but not for both at the same time. A
 
 @*@strong{Example:}
 @smallexample
- at c example
+ at c example tag:MP
   ring r;
   link l="MPfile:w example.mp"; // type=MPfile, mode=overwrite
   l;
@@ -1786,7 +1786,7 @@ is data to read.
 
 @*@strong{Example:}
 @smallexample
- at c example unix_only
+ at c example unix_only tag:MP
   LIB "general.lib"; // needed for "killall" command
   link l="MPtcp:launch";
   open(l); l;        // l is ready for writing but not for reading

-- 
an open source computer algebra system



More information about the debian-science-commits mailing list