; docformat = 'rst' ;+ ; Text to include afer a markup node of the given type. ; ; :Private: ; :Returns: string ; ; :Params: ; type : in, required, type=string ; type of MGtmNode ; ; :Keywords: ; newline : out, optional, type=boolean, default=0 ; set to a named variable to get whether a newline should be added at the ; given node ; tag : in, required, type=object ; tag's object reference ;- function mgtmdocbook::_preTag, type, newline=newline, tag=tag compile_opt strictarr case type of '': return, '' 'bold': return, '' 'bullet_list': return, '' 'comments': return, '' 'emphasis': return, '' 'image': return, '' 'link': return, '' 'listing': return, '' 'list_item': return, '' 'newline': return, '' 'numbered_list': return, '' 'paragraph': begin newline = 1 return, '' end else: return, '' endcase end ;+ ; Define MGtmDocbook class for processing Docbook markup. ;- pro mgtmdocbook__define compile_opt strictarr define = { mgtmdocbook, inherits mgtmlanguage } end