Index: doc/Class.man =================================================================== diff -u -reed87eee0cf0a17607a7d5a056c45e6bb53ecb83 -r83b89feaa688228e7f9b25f44c2d02591601665a --- doc/Class.man (.../Class.man) (revision eed87eee0cf0a17607a7d5a056c45e6bb53ecb83) +++ doc/Class.man (.../Class.man) (revision 83b89feaa688228e7f9b25f44c2d02591601665a) @@ -23,6 +23,7 @@ [copyright {2014 Stefan Sobernig , Gustaf Neumann ; available under the Creative Commons Attribution 3.0 Austria license (CC BY 3.0 AT).}] [titledesc {API reference of the base-metaclass of the NX objectsystem}] +[moddesc {NX API}] [description] [para] Index: doc/Object.man =================================================================== diff -u -reed87eee0cf0a17607a7d5a056c45e6bb53ecb83 -r83b89feaa688228e7f9b25f44c2d02591601665a --- doc/Object.man (.../Object.man) (revision eed87eee0cf0a17607a7d5a056c45e6bb53ecb83) +++ doc/Object.man (.../Object.man) (revision 83b89feaa688228e7f9b25f44c2d02591601665a) @@ -19,8 +19,11 @@ [vset MODIFIER "object"] [copyright {2014 Stefan Sobernig , Gustaf Neumann ; available under the Creative Commons Attribution 3.0 Austria license (CC BY 3.0 AT).}] + +[moddesc "NX API"] [titledesc {API reference of the base class in the NX object system}] + [description] [para] @@ -806,22 +809,32 @@ [example { -Object create ::obj { - puts [current]; # 1) print name of currently active object ('::obj') - set :x 1; :object variable y 2; # 2) object variables - :public object method print {} { - set z 3; # 2.a) method-local variable - puts ${:x}-${:y}-$z; # 2.b) variable substitution using '$' and ':' - puts [set :x]-[set :y]-[set z]; # 2.c) reading variables using 'set' - set :x 1; incr :y; # 2.d) writing variables using 'set', 'incr', ... + Object create ::obj { + # 1) print name of currently active object ('::obj') + puts [current]; + # 2) object variables + set :x 1; :object variable y 2; + :public object method print {} { + # 2.a) method-local variable + set z 3; + # 2.b) variable substitution using '$' and ':' + puts ${:x}-${:y}-$z; + # 2.c) reading variables using 'set' + puts [set :x]-[set :y]-[set z]; + # 2.d) writing variables using 'set', 'incr', ... + set :x 1; incr :y; + } + :public object method show {} { + # 3.a) self-referential method call using ':' + :print; + # 3.b) self-referential method call using 'nx::current' + [current] print; + # 3.c) self-referential method call using 'nx::current object' + [current object] print; + } + :show } - :public object method show {} { - :print; # 3.a) self-referential method call using ':' - [current] print; # 3.b) self-referential method call using 'nx::current' - [current object] print; # 3.c) self-referential method call using 'nx::current object' - } - :show -}}] +}] [manpage_end] Index: doc/configure.man =================================================================== diff -u -reed87eee0cf0a17607a7d5a056c45e6bb53ecb83 -r83b89feaa688228e7f9b25f44c2d02591601665a --- doc/configure.man (.../configure.man) (revision eed87eee0cf0a17607a7d5a056c45e6bb53ecb83) +++ doc/configure.man (.../configure.man) (revision 83b89feaa688228e7f9b25f44c2d02591601665a) @@ -5,6 +5,7 @@ [copyright { 2014 Stefan Sobernig , Gustaf Neumann ; available under the Creative Commons Attribution 3.0 Austria license (CC BY 3.0 AT).}] [titledesc {Get and set configuration options on the object system}] +[moddesc {NX API}] [description] Index: doc/current.man =================================================================== diff -u -reed87eee0cf0a17607a7d5a056c45e6bb53ecb83 -r83b89feaa688228e7f9b25f44c2d02591601665a --- doc/current.man (.../current.man) (revision eed87eee0cf0a17607a7d5a056c45e6bb53ecb83) +++ doc/current.man (.../current.man) (revision 83b89feaa688228e7f9b25f44c2d02591601665a) @@ -5,6 +5,7 @@ [copyright { 2014 Stefan Sobernig , Gustaf Neumann ; available under the Creative Commons Attribution 3.0 Austria license (CC BY 3.0 AT).}] [titledesc {Return information about the method callstack}] +[moddesc {NX API}] [description] Index: doc/man-princexml.css =================================================================== diff -u -r033cfdaac4e149a7c26863adfacc33020ae3d864 -r83b89feaa688228e7f9b25f44c2d02591601665a --- doc/man-princexml.css (.../man-princexml.css) (revision 033cfdaac4e149a7c26863adfacc33020ae3d864) +++ doc/man-princexml.css (.../man-princexml.css) (revision 83b89feaa688228e7f9b25f44c2d02591601665a) @@ -1,8 +1,30 @@ +body { + font-size: 13px !important; + /*prince-linebreak-magic: auto;*/ +} + +pre.example { + font-size: 80% !important; + white-space: pre-wrap !important; +} + +ul.syntax { + margin-left: 0 !important; + padding-left: 0 !important; +} + +ul.syntax li { + text-indent: 1em hanging !important; +} + +h2 { string-set: chapter-title content() } + @page { size: A4; /* DIV 15 for A4 paper */ margin: 19.80mm 14mm; - @top { + + @top { font-family: "Arial","Verdana", sans-serif; color: #666; font-size: 80%; @@ -16,4 +38,11 @@ } } -h2 { string-set: chapter-title content() } \ No newline at end of file +@page:first { + @top { content: normal } +} + + + + + Index: doc/man.css =================================================================== diff -u -r7944f1c82b2b3f6379fcfa4cf3914df136b6cec9 -r83b89feaa688228e7f9b25f44c2d02591601665a --- doc/man.css (.../man.css) (revision 7944f1c82b2b3f6379fcfa4cf3914df136b6cec9) +++ doc/man.css (.../man.css) (revision 83b89feaa688228e7f9b25f44c2d02591601665a) @@ -181,6 +181,11 @@ padding: 0 1em; } +div.synopsis ul { + padding-left: 0; +} + + a:link { color: #002a4b; text-decoration: none Index: doc/next.man =================================================================== diff -u -reed87eee0cf0a17607a7d5a056c45e6bb53ecb83 -r83b89feaa688228e7f9b25f44c2d02591601665a --- doc/next.man (.../next.man) (revision eed87eee0cf0a17607a7d5a056c45e6bb53ecb83) +++ doc/next.man (.../next.man) (revision 83b89feaa688228e7f9b25f44c2d02591601665a) @@ -3,6 +3,7 @@ [copyright {2014 Stefan Sobernig , Gustaf Neumann }] [titledesc {Skip to the next most specific method implementation}] +[moddesc {NX API}] [description] Index: doc/nxsh.man =================================================================== diff -u -reed87eee0cf0a17607a7d5a056c45e6bb53ecb83 -r83b89feaa688228e7f9b25f44c2d02591601665a --- doc/nxsh.man (.../nxsh.man) (revision eed87eee0cf0a17607a7d5a056c45e6bb53ecb83) +++ doc/nxsh.man (.../nxsh.man) (revision 83b89feaa688228e7f9b25f44c2d02591601665a) @@ -5,6 +5,7 @@ [copyright {2014 Stefan Sobernig , Gustaf Neumann ; available under the Creative Commons Attribution 3.0 Austria license (CC BY 3.0 AT).}] [titledesc {Simple shell containing NSF/NX interpreter}] +[moddesc {Command-line interface}] [description] Index: doc/nxwish.man =================================================================== diff -u -reed87eee0cf0a17607a7d5a056c45e6bb53ecb83 -r83b89feaa688228e7f9b25f44c2d02591601665a --- doc/nxwish.man (.../nxwish.man) (revision eed87eee0cf0a17607a7d5a056c45e6bb53ecb83) +++ doc/nxwish.man (.../nxwish.man) (revision 83b89feaa688228e7f9b25f44c2d02591601665a) @@ -5,6 +5,7 @@ [copyright {2014 Stefan Sobernig , Gustaf Neumann ; available under the Creative Commons Attribution 3.0 Austria license (CC BY 3.0 AT).}] [titledesc {Simple windowing shell containing NSF/NX interpreter}] +[moddesc {Command-line interface}] [description] Index: doc/xotclsh.man =================================================================== diff -u -reed87eee0cf0a17607a7d5a056c45e6bb53ecb83 -r83b89feaa688228e7f9b25f44c2d02591601665a --- doc/xotclsh.man (.../xotclsh.man) (revision eed87eee0cf0a17607a7d5a056c45e6bb53ecb83) +++ doc/xotclsh.man (.../xotclsh.man) (revision 83b89feaa688228e7f9b25f44c2d02591601665a) @@ -5,6 +5,7 @@ [copyright {2014 Stefan Sobernig , Gustaf Neumann ; available under the Creative Commons Attribution 3.0 Austria license (CC BY 3.0 AT).}] [titledesc {Simple shell containing NSF/XOTcl2 interpreter}] +[moddesc {Command-line interface}] [description] Index: doc/xowish.man =================================================================== diff -u -reed87eee0cf0a17607a7d5a056c45e6bb53ecb83 -r83b89feaa688228e7f9b25f44c2d02591601665a --- doc/xowish.man (.../xowish.man) (revision eed87eee0cf0a17607a7d5a056c45e6bb53ecb83) +++ doc/xowish.man (.../xowish.man) (revision 83b89feaa688228e7f9b25f44c2d02591601665a) @@ -5,6 +5,7 @@ [copyright { 2014 Stefan Sobernig , Gustaf Neumann ; available under the Creative Commons Attribution 3.0 Austria license (CC BY 3.0 AT).}] [titledesc {Simple windowing shell containing NSF/XOTcl2 interpreter}] +[moddesc {Command-line interface}] [description]