Changeset 807
- Timestamp:
- 06/12/12 15:53:50 (11 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
RELEASE (modified) (1 diff)
-
src/parser/docparrstmarkupparser__define.pro (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/RELEASE
r806 r807 17 17 tag is for a list of files or routines optionally separated by commas, plain 18 18 text will have commas inserted between words. 19 20 * Fixed errors in LaTeX output. 19 21 20 22 -
trunk/src/parser/docparrstmarkupparser__define.pro
r799 r807 151 151 tag = obj_new('MGtmTag', type='link') 152 152 tag->addAttribute, 'reference', reference 153 tag->addChild, obj_new('MGtmText', text= link_text)153 tag->addChild, obj_new('MGtmText', text=self->_processText(link_text)) 154 154 para->addChild, tag 155 155 … … 186 186 switch commentstyle of 187 187 'latex': begin 188 for pos = 0L, strlen(line) - 1L do begin 189 ch = strmid(line, pos, 1) 190 case ch of 191 '_': output += keyword_set(code) ? '_' : '\_' 192 '$': output += keyword_set(code) ? '$' : '\$' 193 '%': output += keyword_set(code) ? '%' : '\%' 194 '#': output += keyword_set(code) ? '#' : '\#' 195 '&': output += keyword_set(code) ? '&' : '\&' 196 '^': output += keyword_set(code) ? '^' : '\verb+^+' 197 '\': output += keyword_set(code) ? '\' : '\verb+\+' 198 '~': output += keyword_set(code) ? '~' : '\verb+~+' 199 '{': output += keyword_set(code) ? '{' : '\{' 200 '}': output += keyword_set(code) ? '}' : '\}' 201 else: output += ch 202 endcase 203 endfor 188 output = mg_escape_latex(line, code=code) 204 189 break 205 190 end
