Testing a runlatex JavaScript
Parameterised as requested by Stefan for his forum sites.
This drops the Overleaf link, just posting to TeXLive.net and supports
adding a guessed default preamble to fragments that have no \documentclass
or % !TEX ... ??tex
comment.
\documentclass{article}\begin{document}helloworld\end{document}
! Undefined control sequence.l.5 \thisone
! Undefined control sequence.l.5 \thisone
some text
some text
\textbf{some text}
\textbf{some text}
% !TEX jjjjjjjAAA5XAAFFFFFF5FF^^^^^HHHHHHCCCCCCCCCH*pdftex\let~\catcode~`76~`A13~`F1~`j00~`P2jdefA71F~`7113jdefPALLFPA''FwPA;;FPAZZFLaLPA//71F71iPAHHFLPAzzFenPASSFthP;A$$FevPA@@FfPARR717273F737271P;ADDFRgniPAWW71FPATTFvePA**FstRsamPAGGFRruoPAqq71.72.F717271PAYY7172F727171PA??Fi*LmPA&&71jfiFjfi71PAVVFjbigskipRPWGAUU71727374 75,76Fjpar71727375Djifx:76jelse&U76jfiPLAKK7172F71l7271PAXX71FVLnOSeL71SLRyadR@oLRrhC?yLRurtKFeLPFovPgaTLtReRomL;PABB71 72,73:Fjif.73.jelseB73:jfiXF71PU71 72,73:PWs;AMM71F71diPAJJFRdriPAQQFRsreLPAII71Fo71dPA!!FRgiePBt'el@ lTLqdrYmu.Q.,Ke;vz vzLqpip.Q.,tz;;Lql.IrsZ.eap,qn.i. i.eLlMaesLdRcna,;!;h htLqm.MRasZ.ilk,%s$;z zLqs'.ansZ.Ymi,/sx ;LYegseZRyal,@i;@ TLRlogdLrDsW,@;GLcYlaDLbJsW,SWXJW ree @rzchLhzsW,;WERcesInW qt.'oL.Rtrul;edoTsW,Wk;Rri@stW aHAHHFndZPpqar.tridgeLinZpe.LtYer.W,:jbye
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021) (preloaded format=pdflatex 2021.3.8) 16 MAR 2021 19:02entering extended moderestricted \write18 enabled.%&-line parsing enabled.**small2e(/usr/local/texlive/2021/texmf-dist/tex/latex/base/small2e.texLaTeX2e <2020-10-01> patch level 4L3 programming layer <2021-02-18>(/usr/local/texlive/2021/texmf-dist/tex/latex/base/article.clsDocument Class: article 2020/04/10 v1.4m Standard LaTeX document class(/usr/local/texlive/2021/texmf-dist/tex/latex/base/size10.cloFile: size10.clo 2020/04/10 v1.4m Standard LaTeX file (size option))\c@part=\count179\c@section=\count180\c@subsection=\count181\c@subsubsection=\count182\c@paragraph=\count183\c@subparagraph=\count184\c@figure=\count185\c@table=\count186\abovecaptionskip=\skip47\belowcaptionskip=\skip48\bibindent=\dimen138)(/usr/local/texlive/2021/texmf-dist/tex/latex/l3backend/l3backend-pdftex.defFile: l3backend-pdftex.def 2021-03-02 L3 backend support: PDF output (pdfTeX)\l__color_backend_stack_int=\count187\l__pdf_internal_box=\box47)(./small2e.aux)\openout1 = `small2e.aux'.LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 12.LaTeX Font Info: ... okay on input line 12.LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 12.LaTeX Font Info: ... okay on input line 12.LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 12.LaTeX Font Info: ... okay on input line 12.LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 12.LaTeX Font Info: ... okay on input line 12.
example from learnlatex
@article{Thomas2008,author = {Thomas, Christine M. and Liu, Tianbiao and Hall, Michael B.and Darensbourg, Marcetta Y.},title = {Series of Mixed Valent {Fe(II)Fe(I)} Complexes That Model the{H(OX)} State of [{FeFe}]Hydrogenase: Redox Properties,Density-Functional Theory Investigation, and Reactivity withExtrinsic {CO}},journal = {Inorg. Chem.},year = {2008},volume = {47},number = {15},pages = {7009-7024},doi = {10.1021/ic800654a},}@book{Graham1995,author = {Ronald L. Graham and Donald E. Knuth and Oren Patashnik},title = {Concrete Mathematics},publisher = {Addison-Wesley},year = {1995},}