# # Pandoc doesn't grok or , so convert them # ahead of time. # # Use the following escapes to pass through pandoc: # $bq = "`" # $lt = "<" # $gt = ">" # s%\([^<(]\+\)()%:c:func:$bq\1()$bq%g s%\([^<(]\+\)%:c:func:$bq\1()$bq%g s%struct *\([^<]\+\)%:c:type:$bqstruct \1 $lt\1$gt$bq%g s%struct \([^<]\+\)%:c:type:$bqstruct \1 $lt\1$gt$bq%g s%\([^<]\+\)%:c:type:$bqstruct \1 $lt\1$gt$bq%g # # Wrap docproc directives in para and code blocks. # s%^\(!.*\)$%DOCPROC: \1%