diff --git a/doc/Section_commands.html b/doc/Section_commands.html index e7ee9cbbd2..ca64e36c5d 100644 --- a/doc/Section_commands.html +++ b/doc/Section_commands.html @@ -114,11 +114,23 @@ underscores, or punctuation characters. line are arguments.

(6) If you want text with spaces to be treated as a single argument, -it can be enclosed in double quotes. The quotes are removed when the -single argument is stored in its final form. See the dump modify -format or if commands for examples. A "#" -or "$" character that is between double quotes will not be treated as -a comment indicator in (2) or substituted for as a variable in (3). +it can be enclosed in either double or single quotes. E.g. +

+
print "Volume = $v"
+print 'Volume = $v' 
+
+

The quotes are removed when the single argument is stored internally. +See the dump modify format or if commands +for examples. A "#" or "$" character that is between quotes will not +be treated as a comment indicator in (2) or substituted for as a +variable in (3). +

+

IMPORTANT NOTE: If the argument is itself a command that requires a +quoted argument (e.g. using a print command as part of an +if or run every command), then the double and +single quotes can be nested in the usual manner. See the doc pages +for those commands for examples. Only one of level of nesting is +allowed, but that should be sufficient for most use cases.


diff --git a/doc/Section_commands.txt b/doc/Section_commands.txt index 332d8b7253..2c0de9615f 100644 --- a/doc/Section_commands.txt +++ b/doc/Section_commands.txt @@ -111,11 +111,23 @@ underscores, or punctuation characters. line are arguments. (6) If you want text with spaces to be treated as a single argument, -it can be enclosed in double quotes. The quotes are removed when the -single argument is stored in its final form. See the "dump modify -format"_dump_modify.html or "if"_if.html commands for examples. A "#" -or "$" character that is between double quotes will not be treated as -a comment indicator in (2) or substituted for as a variable in (3). +it can be enclosed in either double or single quotes. E.g. + +print "Volume = $v" +print 'Volume = $v' :pre + +The quotes are removed when the single argument is stored internally. +See the "dump modify format"_dump_modify.html or "if"_if.html commands +for examples. A "#" or "$" character that is between quotes will not +be treated as a comment indicator in (2) or substituted for as a +variable in (3). + +IMPORTANT NOTE: If the argument is itself a command that requires a +quoted argument (e.g. using a "print"_print.html command as part of an +"if"_if.html or "run every"_run.html command), then the double and +single quotes can be nested in the usual manner. See the doc pages +for those commands for examples. Only one of level of nesting is +allowed, but that should be sufficient for most use cases. :line diff --git a/doc/angle_class2.html b/doc/angle_class2.html index 63ef57422a..b96f490e6d 100644 --- a/doc/angle_class2.html +++ b/doc/angle_class2.html @@ -19,7 +19,8 @@

angle_style class2
 angle_coeff * 75.0
-angle_coeff 1 bb 10.5872 1.0119 1.5228 
+angle_coeff 1 bb 10.5872 1.0119 1.5228
+angle_coeff * ba 3.6551 24.895 1.0119 1.5228 
 

Description:

diff --git a/doc/angle_class2.txt b/doc/angle_class2.txt index c94e10d982..25719ceff4 100644 --- a/doc/angle_class2.txt +++ b/doc/angle_class2.txt @@ -16,7 +16,8 @@ angle_style class2 :pre angle_style class2 angle_coeff * 75.0 -angle_coeff 1 bb 10.5872 1.0119 1.5228 :pre +angle_coeff 1 bb 10.5872 1.0119 1.5228 +angle_coeff * ba 3.6551 24.895 1.0119 1.5228 :pre [Description:] diff --git a/doc/dihedral_class2.html b/doc/dihedral_class2.html index 92418d6f2b..6da37c9a2a 100644 --- a/doc/dihedral_class2.html +++ b/doc/dihedral_class2.html @@ -18,7 +18,12 @@

Examples:

dihedral_style class2
-dihedral_coeff 1 100 75 100 70 80 60 
+dihedral_coeff 1 100 75 100 70 80 60
+dihedral_coeff * mbt 3.5945 0.1704 -0.5490 1.5228 
+dihedral_coeff * ebt 0.3417 0.3264 -0.9036 0.1368 0.0 -0.8080 1.0119 1.1010
+dihedral_coeff 2 at 0.0 -0.1850 -0.7963 -2.0220 0.0 -0.3991 110.2453 105.1270 
+dihedral_coeff * aat -13.5271 110.2453 105.1270 
+dihedral_coeff * bb13 0.0 1.0119 1.1010 
 

Description:

diff --git a/doc/dihedral_class2.txt b/doc/dihedral_class2.txt index 4f83ce6c58..141112823a 100644 --- a/doc/dihedral_class2.txt +++ b/doc/dihedral_class2.txt @@ -15,7 +15,12 @@ dihedral_style class2 :pre [Examples:] dihedral_style class2 -dihedral_coeff 1 100 75 100 70 80 60 :pre +dihedral_coeff 1 100 75 100 70 80 60 +dihedral_coeff * mbt 3.5945 0.1704 -0.5490 1.5228 +dihedral_coeff * ebt 0.3417 0.3264 -0.9036 0.1368 0.0 -0.8080 1.0119 1.1010 +dihedral_coeff 2 at 0.0 -0.1850 -0.7963 -2.0220 0.0 -0.3991 110.2453 105.1270 +dihedral_coeff * aat -13.5271 110.2453 105.1270 +dihedral_coeff * bb13 0.0 1.0119 1.1010 :pre [Description:] diff --git a/doc/if.html b/doc/if.html index f0c7af78df..2d6bf982bb 100644 --- a/doc/if.html +++ b/doc/if.html @@ -13,64 +13,81 @@

Syntax:

-
if value1 operator value2 then t1 t2 ... else e1 e2 ... 
+
if boolean then t1 t2 ... elif boolean f1 f2 ... elif boolean f1 f2 ... else e1 e2 ... 
 
-