     bare:                 settings[ 'bare' ] ? no
     paragraph_nr:         0
   #.........................................................................................................
+  XXX_tex_from_md_nr += +1
+  debug '44553', XXX_tex_from_md_nr, rpr md_source
   md_readstream       = MD_READER.create_md_read_tee S, md_source
   tex_writestream     = @create_tex_write_tee S
   md_input            =   md_readstream.tee[ 'input'  ]

    .pipe @MKTX.INLINE.$custom_entities                     S
    .pipe plugins_tee
    .pipe MACRO_ESCAPER.$expand.$remove_backslashes         S
    .pipe MKTSCRIPT_WRITER.$show_mktsmd_events              S
    .pipe MKTSCRIPT_WRITER.$produce_mktscript               S
    .pipe @$document                                        S
    #.......................................................................................................
    .pipe @MKTX.INLINE.$box                                 S
    .pipe @MKTX.INLINE.$fncr                                S
    .pipe @MKTX.BLOCK.$blockquote                           S

      Z.push event if event?
      if end?
        handler null, Z.join ''
        debug '44553', XXX_tex_from_md_nr, '--------------------------------'
        end()
  #.........................................................................................................
  source_route        = settings[ 'source-route' ] ? '<STRING>'
