Commits

Anonymous committed 0e45e9c

docstrings; example fix

Comments (0)

Files changed (2)

 
 \startcombination[2*2]
   {\syntaxtree[%                                                        1,1
-     drawmode=dot
+     drawmode=dot,
      notation=unicode,
      treefont=Iwona,
      width=7cm,
 --------------------------------------------------------------------------------
 --
 
--- necessary?
---package.cpath = "./?.so;/usr/lib/lua/5.1/?.so;/usr/lib/lua/5.1/loadall.so"
---package.path = "./?.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua;/usr/lib/lua/5.1/?.lua;/usr/lib/lua/5.1/?/init.lua"
-
 local lpeg  = require "lpeg"
-local graph = require "graph" -- maybe make this optional and dotty the default?
+local graph = require "graph" -- maybe make this optional and dot the default?
 
 --[[ldx--
 <p>Preloading functions from the <l n='lpeg'/> namespace into local environment.</p>
 <p>The function <type>rat.graph.dograph</type> recursively builds a syntax tree
 from the input as parsed by <type>rat.tree</type>.</p>
 <p>For now this creates a valid dotfile that is fed to Luagraph’s
-<type>graph.read</type> function afterwards (equivalent to passing it to
-<em>dotty</em>). This entails lots of calls to <type>string.format</type> and
+<type>graph.read</type> function afterwards (equivalent to passing it to the
+<em>dot</em>) binary. This entails lots of calls to <type>string.format</type> and
 string concatenation which is as of now unavoidable due to <l n='luatex'/>
 segfaulting with the Lua methods of the Luagraph library.</p>
 --ldx]]--