<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\setupbtxlist
  [default]
  [align={normal,verytolerant,stretch},
   before={\blank[quarterline]},after={\blank[quarterline]},
   numberalign=middle,
   width=2.5em] % width ĺąçśĺčĄ¨çźĺˇĺŽ˝ĺşŚďźčĽčŽžä¸ş fitďźĺĺčĄ¨ĺĺŽšĺˇŚäž§ä¸é˝

\definebtx
  [default:list:numbering]
  [default:list]
  [left={[},right={]}]

\setupbtx
  [default:list:author]
  [authorconversion=invertedshort,
    separator:invertedinitials=\btxspace,
    otherstext={\nospaceďźet al},
    stopper:initials=\btxspace,
    separator:names:2={\nospaceďź}]
\setupbtx[default:list:journal][style=normal]

\definebtx
  [default:title:online]
  [default:list:title]

\startsetups btx:default:list:article
  \texdefinition{btx:default:author}\nospaceďź
  \texdefinition{btx:default:title} [J]ďź
  \texdefinition{btx:default:journal}ďź
\stopsetups

\startsetups btx:default:list:online
  \texdefinition{btx:default:author}\nospaceďź
  \texdefinition{btx:default:title}ďź
  \texdefinition{btx:default:url}ďź
  \btxdoif {year} {
    \btxflush{year}ďź
  }
\stopsetups

\starttexdefinition btx:default:url
  ă\underbar{\goto{\hyphenatedurl{\btxflush{url}}}
       [url(\btxflush{url})]}ă
\stoptexdefinition
  
\starttexdefinition btx:default:author
  \btxflush{author}
\stoptexdefinition

\starttexdefinition btx:default:title
  \btxflush{title}
\stoptexdefinition

\starttexdefinition btx:default:journal
  \btxdoif {journal} {
    \btxstartstyleandcolor [default:list:journal]
    \btxusecommand [default:list:journal] {
      \btxflush{journal}ďź
    }
    \btxstopstyleandcolor
    \btxdoif {year} {
      \btxflush{year}ďź\nospace
    }
    \btxdoifelse {volume} {
      \btxspace
      \btxflush{volume}
      \btxdoif {number} {
        \ignorespaces % brrr
        \btxleftparenthesis
        \btxflush{number}
        \btxrightparenthesis
      }
    } {
      \btxdoif {number} {
        \btxlabeltext{default:number}
        \btxspace
        \btxflush{number}
      }
    }
    \btxdoif {pages} {
     \nospaceďź\kern-.1em\btxflush{pages}
    }
  }
\stoptexdefinition</pre></body></html>