summaryrefslogtreecommitdiff
path: root/scripts/context/ruby
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-10-24 22:40:15 +0300
committerMarius <mariausol@gmail.com>2011-10-24 22:40:15 +0300
commita5d21303302bf6d9b36b4f83cf2117a7afc6bf23 (patch)
treee9ce2c4d979f36c1c46cdd2dd668d9d552e7f1f2 /scripts/context/ruby
parent3c4b08436ea4eae984ce92fdffc28a0f8d3f3ae9 (diff)
downloadcontext-a5d21303302bf6d9b36b4f83cf2117a7afc6bf23.tar.gz
beta 2011.10.24 21:26
Diffstat (limited to 'scripts/context/ruby')
-rw-r--r--scripts/context/ruby/ctxtools.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/context/ruby/ctxtools.rb b/scripts/context/ruby/ctxtools.rb
index 339f3d490..f6493a3fc 100644
--- a/scripts/context/ruby/ctxtools.rb
+++ b/scripts/context/ruby/ctxtools.rb
@@ -606,12 +606,12 @@ end
#D structured as:
#D
#D \starttypen
-#D \startmodule[type=suffix]
+#D \startmoduledocumentation[type=suffix]
#D \startdocumentation
#D \stopdocumentation
#D \startdefinition
#D \stopdefinition
-#D \stopmodule
+#D \stopmoduledocumentation
#D \stoptypen
#D
#D Macro definitions specific to the documentation are not
@@ -661,7 +661,7 @@ class Commands
else
tex.rewind # seek(0)
end
- ted.puts("\\startmodule[type=#{filetype}]\n")
+ ted.puts("\\startmoduledocumentation[type=#{filetype}]\n")
while str = tex.gets do
if skippingbang then
skippingbang = false
@@ -737,7 +737,7 @@ class Commands
if indefinition then
ted.puts("\\stopdefinition\n")
end
- ted.puts("\\stopmodule\n")
+ ted.puts("\\stopmoduledocumentation\n")
ted.close
if nofdocuments == 0 && nofdefinitions == 0 then