 #...........................................................................................................
 Σ_formatted_warning       = Symbol 'formatted-warning'
 jr                        = JSON.stringify
+promisify                 = ( require 'util' ).promisify
 
 
 #===========================================================================================================



############################################################################################################
unless module.parent?
  # @pdf_from_md 'texts/A-Permuted-Index-of-Chinese-Characters/index.md'
  @pdf_from_md 'texts/demo'

  # debug '©nL12s', MKTS.as_tex_text '亻龵helo さしすサシス 臺灣國語Ⓒ, Ⓙ, Ⓣ𠀤𠁥&jzr#e202;'
  # debug '©nL12s', MKTS.as_tex_text 'helo さし'
  # event = [ '(', 'single-column', ]
  # event = [ ')', 'single-column', ]
  # event = [ '(', 'new-page', ]
  # debug '©Gpn1J', select event, [ '(', ')'], [ 'single-column', 'new-page', ]


    .pipe @MKTX.SH.$spawn                                   S
    .pipe @MKTX.CALL.$call_await                            S
    .pipe @MKTX.CALL.$call_stream                           S
    .pipe @MKTX.$mktscript                                  S
    # .pipe D.$observe ( event ) -> info ( CND.grey '--------->' ), ( CND.blue event[ 0 ] + event[ 1 ] )
    # .pipe D.$observe ( event ) -> info '23993', ( CND.grey '--------->' ), jr event
    .pipe @MKTX.INLINE.$custom_entities                     S
