# File lib/maruku/output/to_latex.rb, line 554
        def array_to_latex(array, join_char='')
                e = []
                array.each do |c|
                        method = c.kind_of?(MDElement) ? 
                           "to_latex_#{c.node_type}" : "to_latex"
                        
                        if not c.respond_to?(method)
                #             raise "Object does not answer to #{method}: #{c.class} #{c.inspect[0,100]}"
                                next
                        end
                        
                        h =  c.send(method)
                        
                        if h.nil?
                                raise "Nil html for #{c.inspect} created with method #{method}"
                        end
                        
                        if h.kind_of?Array
                                e = e + h
                        else
                                e << h
                        end
                end
                
                # puts a space after commands if needed
                # e.each_index do |i|
                #     if e[i] =~ /\\\w+\s*$/ # command
                #             if (s=e[i+1]) && s[0] == ?\ # space
                #                     e[i]  = e[i] + "\\ "
                #             end
                #     end
                # end
                
                e.join(join_char)
        end