Loading ...
Sorry, an error occurred while loading the content.

Re: Syntax folds for TeX

Expand Messages
  • Ajit J. Thakkar
    Mary Ellen, Try: syn region texChapFold transparent fold keepend start= chapter end= n ( chapter ) @= syn region texSecFold transparent fold
    Message 1 of 1 , Apr 6, 2001
    • 0 Attachment
      Mary Ellen,

      Try:

      syn region texChapFold
      \ transparent fold keepend
      \ start="\\chapter" end="\n\(\\chapter\)\@="
      syn region texSecFold
      \ transparent fold keepend
      \ start="\\section" end="\n\(\\\(section\|chapter\)\)\@="
      syn region texSubSecFold
      \ transparent fold keepend
      \ start="\\subsection"
      \ end="\n\(\\\(subsection\|section\|chapter\)\)\@="
      syn region texSubSubSecFold
      \ transparent fold keepend
      \ start="\\subsubsection"
      \ end="\n\(\\\(subsubsection\|subsection\|section\|chapter\)\)\@="

      Ajit
    Your message has been successfully submitted and would be delivered to recipients shortly.