├── .gitignore ├── .travis.yml ├── Changes ├── INSTALL ├── INSTALL.SKIP ├── LICENSE ├── MANIFEST ├── MANIFEST.SKIP ├── Makefile.PL ├── README.pod ├── bin ├── latexml ├── latexmlc ├── latexmlfind ├── latexmlmath └── latexmlpost ├── doc ├── MakeTools.pm ├── favicon.ico ├── graphics │ ├── latexml.png │ ├── makelogo │ ├── mascot.png │ ├── page.svg │ └── scratch.png ├── latexmldoc.css ├── makemanual ├── makesite ├── manual │ ├── figures │ │ ├── digestion.png │ │ └── digestion.svg │ ├── genpods │ ├── genschema │ └── manual.tex ├── site │ ├── examples │ │ ├── pushing │ │ │ └── pushing.tex │ │ └── tabular │ │ │ └── tabular.tex │ ├── index.tex │ ├── pdf.eps │ └── pdf.png └── sty │ ├── latexmldoc.sty │ ├── latexmldoc.sty.ltxml │ ├── latexmlman.sty │ └── latexmlman.sty.ltxml ├── lib ├── LaTeXML.pm └── LaTeXML │ ├── Common │ ├── Color.pm │ ├── Color │ │ ├── Derived.pm │ │ ├── cmy.pm │ │ ├── cmyk.pm │ │ ├── gray.pm │ │ ├── hsb.pm │ │ └── rgb.pm │ ├── Config.pm │ ├── Dimension.pm │ ├── Error.pm │ ├── Float.pm │ ├── Font.pm │ ├── Glue.pm │ ├── Model.pm │ ├── Model │ │ ├── DTD.pm │ │ └── RelaxNG.pm │ ├── Number.pm │ ├── Object.pm │ ├── XML.pm │ └── XML │ │ ├── Parser.pm │ │ ├── RelaxNG.pm │ │ ├── XPath.pm │ │ └── XSLT.pm │ ├── Core.pm │ ├── Core │ ├── Alignment.pm │ ├── Alignment │ │ └── Template.pm │ ├── Array.pm │ ├── Box.pm │ ├── Comment.pm │ ├── Definition.pm │ ├── Definition │ │ ├── CharDef.pm │ │ ├── Conditional.pm │ │ ├── Constructor.pm │ │ ├── Constructor │ │ │ └── Compiler.pm │ │ ├── Expandable.pm │ │ ├── Primitive.pm │ │ └── Register.pm │ ├── Document.pm │ ├── Gullet.pm │ ├── KeyVal.pm │ ├── KeyVals.pm │ ├── List.pm │ ├── Mouth.pm │ ├── Mouth │ │ ├── Binding.pm │ │ ├── file.pm │ │ ├── http.pm │ │ └── https.pm │ ├── MuDimension.pm │ ├── MuGlue.pm │ ├── Pair.pm │ ├── PairList.pm │ ├── Parameter.pm │ ├── Parameters.pm │ ├── Rewrite.pm │ ├── State.pm │ ├── Stomach.pm │ ├── Token.pm │ ├── Tokens.pm │ └── Whatsit.pm │ ├── Global.pm │ ├── LaTeXML.catalog │ ├── MathGrammar │ ├── MathParser.pm │ ├── Package.pm │ ├── Package │ ├── AmSTeX.pool.ltxml │ ├── BibTeX.pool.ltxml │ ├── JHEP.cls.ltxml │ ├── JHEP2.cls.ltxml │ ├── JHEP3.cls.ltxml │ ├── LaTeX.pool.ltxml │ ├── OmniBus.cls.ltxml │ ├── SIunits.sty.ltxml │ ├── TeX.pool.ltxml │ ├── a0poster.cls.ltxml │ ├── a0size.sty.ltxml │ ├── a4.sty.ltxml │ ├── a4wide.sty.ltxml │ ├── aa.cls.ltxml │ ├── aa_support.sty.ltxml │ ├── aas_macros.sty.ltxml │ ├── aas_support.sty.ltxml │ ├── aasms.sty.ltxml │ ├── aaspp.sty.ltxml │ ├── aastex.cls.ltxml │ ├── aastex.sty.ltxml │ ├── acronym.sty.ltxml │ ├── ae.sty.ltxml │ ├── afterpage.sty.ltxml │ ├── algc.sty.ltxml │ ├── algcompatible.sty.ltxml │ ├── algmatlab.sty.ltxml │ ├── algorithm.sty.ltxml │ ├── algorithmic.sty.ltxml │ ├── algorithmicx.sty.ltxml │ ├── algpascal.sty.ltxml │ ├── algpseudocode.sty.ltxml │ ├── alltt.sty.ltxml │ ├── ams_core.cls.ltxml │ ├── ams_support.sty.ltxml │ ├── amsa.fontmap.ltxml │ ├── amsart.cls.ltxml │ ├── amsb.fontmap.ltxml │ ├── amsbook.cls.ltxml │ ├── amsbsy.sty.ltxml │ ├── amscd.sty.ltxml │ ├── amsfonts.sty.ltxml │ ├── amsgen.sty.ltxml │ ├── amsmath.sty.ltxml │ ├── amsopn.sty.ltxml │ ├── amsppt.sty.ltxml │ ├── amsproc.cls.ltxml │ ├── amsrefs.sty.ltxml │ ├── amssymb.sty.ltxml │ ├── amstex.sty.ltxml │ ├── amstex.tex.ltxml │ ├── amstext.sty.ltxml │ ├── amsthm.sty.ltxml │ ├── amsxtra.sty.ltxml │ ├── apjfonts.sty.ltxml │ ├── applemac.def.ltxml │ ├── array.sty.ltxml │ ├── article.cls.ltxml │ ├── attachfile.sty.ltxml │ ├── authblk.sty.ltxml │ ├── avant.sty.ltxml │ ├── babel.def.ltxml │ ├── babel.sty.ltxml │ ├── balance.sty.ltxml │ ├── bbm.sty.ltxml │ ├── bbold.sty.ltxml │ ├── beton.sty.ltxml │ ├── bm.sty.ltxml │ ├── book.cls.ltxml │ ├── bookman.sty.ltxml │ ├── booktabs.sty.ltxml │ ├── braket.sty.ltxml │ ├── breakurl.sty.ltxml │ ├── calc.sty.ltxml │ ├── cancel.sty.ltxml │ ├── caption.sty.ltxml │ ├── ccfonts.sty.ltxml │ ├── chancery.sty.ltxml │ ├── charter.sty.ltxml │ ├── circuitikz.sty.ltxml │ ├── cite.sty.ltxml │ ├── citesort.sty.ltxml │ ├── cmbright.sty.ltxml │ ├── color.sty.ltxml │ ├── colordvi.sty.ltxml │ ├── colortbl.sty.ltxml │ ├── comment.sty.ltxml │ ├── concmath.sty.ltxml │ ├── courier.sty.ltxml │ ├── cp852.def.ltxml │ ├── crop.sty.ltxml │ ├── cropmark.sty.ltxml │ ├── csquotes.sty.ltxml │ ├── dcolumn.sty.ltxml │ ├── deluxetable.sty.ltxml │ ├── doublespace.sty.ltxml │ ├── dsfont.sty.ltxml │ ├── eTeX.pool.ltxml │ ├── ellipsis.sty.ltxml │ ├── elsart.cls.ltxml │ ├── elsart.sty.ltxml │ ├── elsart_support.sty.ltxml │ ├── elsarticle.cls.ltxml │ ├── emulateapj.cls.ltxml │ ├── emulateapj.sty.ltxml │ ├── emulateapj5.sty.ltxml │ ├── enumerate.sty.ltxml │ ├── epigraph.sty.ltxml │ ├── epsf.sty.ltxml │ ├── epsf.tex.ltxml │ ├── epsfig.sty.ltxml │ ├── epstopdf.sty.ltxml │ ├── esint.sty.ltxml │ ├── eucal.sty.ltxml │ ├── eufrak.sty.ltxml │ ├── euler.sty.ltxml │ ├── eulervm.sty.ltxml │ ├── eurosym.sty.ltxml │ ├── euscript.sty.ltxml │ ├── exscale.sty.ltxml │ ├── fancyhdr.sty.ltxml │ ├── fix-cm.sty.ltxml │ ├── fixltx2e.sty.ltxml │ ├── flafter.sty.ltxml │ ├── fleqn.sty.ltxml │ ├── float.sty.ltxml │ ├── floatfig.sty.ltxml │ ├── floatflt.sty.ltxml │ ├── floatpag.sty.ltxml │ ├── fontenc.sty.ltxml │ ├── fontspec.sty.ltxml │ ├── footmisc.sty.ltxml │ ├── fourier.sty.ltxml │ ├── framed.sty.ltxml │ ├── frenchb.ldf.ltxml │ ├── fullpage.sty.ltxml │ ├── gen-j-l.cls.ltxml │ ├── gen-m-l.cls.ltxml │ ├── gen-p-l.cls.ltxml │ ├── geometry.sty.ltxml │ ├── german.sty.ltxml │ ├── graphics.sty.ltxml │ ├── graphicx.sty.ltxml │ ├── grffile.sty.ltxml │ ├── helvet.sty.ltxml │ ├── hepunits.sty.ltxml │ ├── here.sty.ltxml │ ├── hhline.sty.ltxml │ ├── html.sty.ltxml │ ├── hyperref.sty.ltxml │ ├── hyperxmp.sty.ltxml │ ├── ifluatex.sty.ltxml │ ├── ifpdf.sty.ltxml │ ├── ifthen.sty.ltxml │ ├── ifvtex.sty.ltxml │ ├── ifxetex.sty.ltxml │ ├── import.sty.ltxml │ ├── indentfirst.sty.ltxml │ ├── inputenc.sty.ltxml │ ├── inst_support.sty.ltxml │ ├── iopams.sty.ltxml │ ├── iopart.cls.ltxml │ ├── iopart_support.sty.ltxml │ ├── keyval.sty.ltxml │ ├── latexml.sty.ltxml │ ├── latexsym.sty.ltxml │ ├── latin10.def.ltxml │ ├── lgr.fontmap.ltxml │ ├── lineno.sty.ltxml │ ├── listings.sty.ltxml │ ├── listingsutf8.sty.ltxml │ ├── llncs.cls.ltxml │ ├── lmodern.sty.ltxml │ ├── longtable.sty.ltxml │ ├── lscape.sty.ltxml │ ├── luximono.sty.ltxml │ ├── lxRDFa.sty.ltxml │ ├── ly1.fontmap.ltxml │ ├── makeidx.sty.ltxml │ ├── marvosym.sty.ltxml │ ├── mathbbol.sty.ltxml │ ├── mathpazo.sty.ltxml │ ├── mathpple.sty.ltxml │ ├── mathptm.sty.ltxml │ ├── mathptmx.sty.ltxml │ ├── mathrsfs.sty.ltxml │ ├── mathtools.sty.ltxml │ ├── mleftright.sty.ltxml │ ├── mn.cls.ltxml │ ├── mn2e.cls.ltxml │ ├── mn2e_support.sty.ltxml │ ├── multicol.sty.ltxml │ ├── multido.sty.ltxml │ ├── multirow.sty.ltxml │ ├── nameref.sty.ltxml │ ├── natbib.sty.ltxml │ ├── newcent.sty.ltxml │ ├── newlfont.sty.ltxml │ ├── ngerman.sty.ltxml │ ├── nicefrac.sty.ltxml │ ├── ntheorem.sty.ltxml │ ├── numprint.sty.ltxml │ ├── ot4.fontmap.ltxml │ ├── palatino.sty.ltxml │ ├── paralist.sty.ltxml │ ├── parskip.sty.ltxml │ ├── pdfTeX.pool.ltxml │ ├── pdflscape.sty.ltxml │ ├── pdfsync.sty.ltxml │ ├── pgf.sty.ltxml │ ├── pgfkeys.code.tex.ltxml │ ├── pgfmath.code.tex.ltxml │ ├── pgfplots.sty.ltxml │ ├── pgfsys-latexml.def.ltxml │ ├── pifont.sty.ltxml │ ├── placeins.sty.ltxml │ ├── preview.sty.ltxml │ ├── psfig.sty.ltxml │ ├── psfig.tex.ltxml │ ├── pslatex.sty.ltxml │ ├── pspicture.sty.ltxml │ ├── pst-grad.sty.ltxml │ ├── pst-node.sty.ltxml │ ├── pstricks.sty.ltxml │ ├── pxfonts.sty.ltxml │ ├── relsize.sty.ltxml │ ├── report.cls.ltxml │ ├── revsymb.sty.ltxml │ ├── revtex.cls.ltxml │ ├── revtex.sty.ltxml │ ├── revtex3_support.sty.ltxml │ ├── revtex4.cls.ltxml │ ├── revtex4.sty.ltxml │ ├── revtex4_support.sty.ltxml │ ├── rotate.sty.ltxml │ ├── rotating.sty.ltxml │ ├── rsfs.sty.ltxml │ ├── scalefnt.sty.ltxml │ ├── setspace.sty.ltxml │ ├── showkeys.sty.ltxml │ ├── siunitx.sty.ltxml │ ├── slashed.sty.ltxml │ ├── slides.cls.ltxml │ ├── soul.sty.ltxml │ ├── srcltx.sty.ltxml │ ├── stmaryrd.sty.ltxml │ ├── subfig.sty.ltxml │ ├── subfigure.sty.ltxml │ ├── subfloat.sty.ltxml │ ├── supertabular.sty.ltxml │ ├── sv_support.sty.ltxml │ ├── svg.sty.ltxml │ ├── svjour.cls.ltxml │ ├── svmult.cls.ltxml │ ├── t1.fontmap.ltxml │ ├── t1enc.def.ltxml │ ├── t1enc.sty.ltxml │ ├── t2a.fontmap.ltxml │ ├── t2b.fontmap.ltxml │ ├── t2c.fontmap.ltxml │ ├── tabularx.sty.ltxml │ ├── tabulary.sty.ltxml │ ├── textcomp.sty.ltxml │ ├── texvc.sty.ltxml │ ├── theorem.sty.ltxml │ ├── threeparttable.sty.ltxml │ ├── tikz-3dplot.sty.ltxml │ ├── tikz.sty.ltxml │ ├── times.sty.ltxml │ ├── tocbibind.sty.ltxml │ ├── transparent.sty.ltxml │ ├── ts1.fontmap.ltxml │ ├── txfonts.sty.ltxml │ ├── type1cm.sty.ltxml │ ├── ulem.sty.ltxml │ ├── units.sty.ltxml │ ├── upgreek.sty.ltxml │ ├── upref.sty.ltxml │ ├── url.sty.ltxml │ ├── utf8.def.ltxml │ ├── utopia.sty.ltxml │ ├── verbatim.sty.ltxml │ ├── wasysym.sty.ltxml │ ├── wrapfig.sty.ltxml │ ├── xargs.sty.ltxml │ ├── xcolor.sty.ltxml │ ├── xkeyval.sty.ltxml │ ├── xkvview.sty.ltxml │ ├── xspace.sty.ltxml │ ├── xunicode.sty.ltxml │ └── yfonts.sty.ltxml │ ├── Post.pm │ ├── Post │ ├── Collector.pm │ ├── CrossRef.pm │ ├── Graphics.pm │ ├── LaTeXImages.pm │ ├── MakeBibliography.pm │ ├── MakeIndex.pm │ ├── Manifest.pm │ ├── Manifest │ │ └── Epub.pm │ ├── MathImages.pm │ ├── MathML.pm │ ├── MathML │ │ ├── Content.pm │ │ ├── Linebreaker.pm │ │ └── Presentation.pm │ ├── OpenMath.pm │ ├── PictureImages.pm │ ├── SVG.pm │ ├── Scan.pm │ ├── Split.pm │ ├── TeXMath.pm │ ├── Writer.pm │ ├── XMath.pm │ └── XSLT.pm │ ├── Pre │ ├── BibTeX.pm │ └── BibTeX │ │ └── Entry.pm │ ├── Util │ ├── Geometry.pm │ ├── Image.pm │ ├── ObjectDB.pm │ ├── ObjectDB │ │ └── Entry.pm │ ├── Pack.pm │ ├── Pathname.pm │ ├── Radix.pm │ ├── Test.pm │ ├── Transform.pm │ └── WWW.pm │ ├── Version.in │ ├── resources │ ├── CSS │ │ ├── LaTeXML-blue.css │ │ ├── LaTeXML-marginpar.css │ │ ├── LaTeXML-navbar-left.css │ │ ├── LaTeXML-navbar-right.css │ │ ├── LaTeXML.css │ │ ├── ltx-amsart.css │ │ ├── ltx-apj.css │ │ ├── ltx-article.css │ │ ├── ltx-book.css │ │ ├── ltx-listings.css │ │ ├── ltx-report.css │ │ ├── ltx-svjour.css │ │ └── ltx-ulem.css │ ├── DTD │ │ └── LaTeXML.dtd │ ├── Profiles │ │ ├── fragment-html.opt │ │ ├── fragment-xhtml.opt │ │ ├── fragment.opt │ │ ├── math.opt │ │ ├── modern.opt │ │ ├── standard.opt │ │ ├── stex-migration.opt │ │ ├── stex-module.opt │ │ └── stex.opt │ ├── RelaxNG │ │ ├── LaTeXML-bib.rnc │ │ ├── LaTeXML-bib.rng │ │ ├── LaTeXML-block.rnc │ │ ├── LaTeXML-block.rng │ │ ├── LaTeXML-common.rnc │ │ ├── LaTeXML-common.rng │ │ ├── LaTeXML-inline.rnc │ │ ├── LaTeXML-inline.rng │ │ ├── LaTeXML-math.rnc │ │ ├── LaTeXML-math.rng │ │ ├── LaTeXML-meta.rnc │ │ ├── LaTeXML-meta.rng │ │ ├── LaTeXML-misc.rnc │ │ ├── LaTeXML-misc.rng │ │ ├── LaTeXML-para.rnc │ │ ├── LaTeXML-para.rng │ │ ├── LaTeXML-picture.rnc │ │ ├── LaTeXML-picture.rng │ │ ├── LaTeXML-structure.rnc │ │ ├── LaTeXML-structure.rng │ │ ├── LaTeXML-tabular.rnc │ │ ├── LaTeXML-tabular.rng │ │ ├── LaTeXML.model │ │ ├── LaTeXML.rnc │ │ ├── LaTeXML.rng │ │ └── svg │ │ │ ├── svg-animation.rnc │ │ │ ├── svg-animation.rng │ │ │ ├── svg-animevents-attrib.rnc │ │ │ ├── svg-animevents-attrib.rng │ │ │ ├── svg-basic-clip.rnc │ │ │ ├── svg-basic-clip.rng │ │ │ ├── svg-basic-filter.rnc │ │ │ ├── svg-basic-filter.rng │ │ │ ├── svg-basic-font.rnc │ │ │ ├── svg-basic-font.rng │ │ │ ├── svg-basic-graphics-attrib.rnc │ │ │ ├── svg-basic-graphics-attrib.rng │ │ │ ├── svg-basic-structure.rnc │ │ │ ├── svg-basic-structure.rng │ │ │ ├── svg-basic-text.rnc │ │ │ ├── svg-basic-text.rng │ │ │ ├── svg-clip.rnc │ │ │ ├── svg-clip.rng │ │ │ ├── svg-conditional.rnc │ │ │ ├── svg-conditional.rng │ │ │ ├── svg-container-attrib.rnc │ │ │ ├── svg-container-attrib.rng │ │ │ ├── svg-core-attrib.rnc │ │ │ ├── svg-core-attrib.rng │ │ │ ├── svg-cursor.rnc │ │ │ ├── svg-cursor.rng │ │ │ ├── svg-datatypes.rnc │ │ │ ├── svg-datatypes.rng │ │ │ ├── svg-docevents-attrib.rnc │ │ │ ├── svg-docevents-attrib.rng │ │ │ ├── svg-extensibility.rnc │ │ │ ├── svg-extensibility.rng │ │ │ ├── svg-extresources-attrib.rnc │ │ │ ├── svg-extresources-attrib.rng │ │ │ ├── svg-filter.rnc │ │ │ ├── svg-filter.rng │ │ │ ├── svg-font.rnc │ │ │ ├── svg-font.rng │ │ │ ├── svg-gradient.rnc │ │ │ ├── svg-gradient.rng │ │ │ ├── svg-graphevents-attrib.rnc │ │ │ ├── svg-graphevents-attrib.rng │ │ │ ├── svg-graphics-attrib.rnc │ │ │ ├── svg-graphics-attrib.rng │ │ │ ├── svg-hyperlink.rnc │ │ │ ├── svg-hyperlink.rng │ │ │ ├── svg-image.rnc │ │ │ ├── svg-image.rng │ │ │ ├── svg-marker.rnc │ │ │ ├── svg-marker.rng │ │ │ ├── svg-mask.rnc │ │ │ ├── svg-mask.rng │ │ │ ├── svg-opacity-attrib.rnc │ │ │ ├── svg-opacity-attrib.rng │ │ │ ├── svg-paint-attrib.rnc │ │ │ ├── svg-paint-attrib.rng │ │ │ ├── svg-pattern.rnc │ │ │ ├── svg-pattern.rng │ │ │ ├── svg-profile.rnc │ │ │ ├── svg-profile.rng │ │ │ ├── svg-qname.rng │ │ │ ├── svg-script.rnc │ │ │ ├── svg-script.rng │ │ │ ├── svg-shape.rnc │ │ │ ├── svg-shape.rng │ │ │ ├── svg-structure.rnc │ │ │ ├── svg-structure.rng │ │ │ ├── svg-style.rnc │ │ │ ├── svg-style.rng │ │ │ ├── svg-text.rnc │ │ │ ├── svg-text.rng │ │ │ ├── svg-view.rnc │ │ │ ├── svg-view.rng │ │ │ ├── svg-viewport-attrib.rnc │ │ │ ├── svg-viewport-attrib.rng │ │ │ ├── svg-xlink-attrib.rnc │ │ │ ├── svg-xlink-attrib.rng │ │ │ ├── svg11-basic.rng │ │ │ ├── svg11-tiny.rng │ │ │ ├── svg11.rnc │ │ │ └── svg11.rng │ ├── XSLT │ │ ├── LaTeXML-all-xhtml.xsl │ │ ├── LaTeXML-bib-xhtml.xsl │ │ ├── LaTeXML-block-xhtml.xsl │ │ ├── LaTeXML-common.xsl │ │ ├── LaTeXML-epub3.xsl │ │ ├── LaTeXML-html4.xsl │ │ ├── LaTeXML-html5.xsl │ │ ├── LaTeXML-inline-xhtml.xsl │ │ ├── LaTeXML-jats.xsl │ │ ├── LaTeXML-math-xhtml.xsl │ │ ├── LaTeXML-meta-xhtml.xsl │ │ ├── LaTeXML-misc-xhtml.xsl │ │ ├── LaTeXML-para-xhtml.xsl │ │ ├── LaTeXML-picture-xhtml.xsl │ │ ├── LaTeXML-structure-xhtml.xsl │ │ ├── LaTeXML-tabular-xhtml.xsl │ │ ├── LaTeXML-tei.xsl │ │ ├── LaTeXML-webpage-xhtml.xsl │ │ └── LaTeXML-xhtml.xsl │ └── javascript │ │ └── LaTeXML-maybeMathjax.js │ └── texmf │ ├── latexml.sty │ └── lxRDFa.sty ├── manual.pdf ├── release ├── LaTeXML.ppd ├── LaTeXML.spec ├── Portfile ├── centos │ └── LaTeXML.spec ├── checkinst ├── error-structuring.text ├── notes └── uninstall ├── t ├── 00_unittest.t ├── 05_tokenize.t ├── 10_expansion.t ├── 12_grouping.t ├── 20_digestion.t ├── 22_fonts.t ├── 30_encoding.t ├── 32_keyval.t ├── 33_keyval_options.t ├── 40_math.t ├── 50_structure.t ├── 52_namespace.t ├── 53_alignment.t ├── 55_theorem.t ├── 56_ams.t ├── 65_graphics.t ├── 70_parse.t ├── 80_complex.t ├── 81_babel.t ├── 90_latexmlpost.t ├── 91_latexmlc_api.t ├── 92_profiles.t ├── 93_formats.t ├── 94_runtimes.t ├── 95_complex_config.t ├── alignment │ ├── algx.pdf │ ├── algx.tex │ ├── algx.xml │ ├── any.sty.ltxml │ ├── array.pdf │ ├── array.tex │ ├── array.xml │ ├── badeqnarray.pdf │ ├── badeqnarray.tex │ ├── badeqnarray.xml │ ├── colortbls.pdf │ ├── colortbls.tex │ ├── colortbls.xml │ ├── eqnarray.pdf │ ├── eqnarray.tex │ ├── eqnarray.xml │ ├── foo.png │ ├── halign.pdf │ ├── halign.tex │ ├── halign.xml │ ├── halignatt.pdf │ ├── halignatt.tex │ ├── halignatt.xml │ ├── listing.pdf │ ├── listing.tex │ ├── listing.xml │ ├── longtable.pdf │ ├── longtable.tex │ ├── longtable.xml │ ├── mathmix.pdf │ ├── mathmix.tex │ ├── mathmix.xml │ ├── morse.pdf │ ├── morse.tex │ ├── morse.xml │ ├── plainmath.pdf │ ├── plainmath.tex │ ├── plainmath.xml │ ├── supertabular.pdf │ ├── supertabular.tex │ ├── supertabular.xml │ ├── tabtab.pdf │ ├── tabtab.tex │ ├── tabtab.xml │ ├── tabular.pdf │ ├── tabular.tex │ ├── tabular.xml │ ├── tabularstar.pdf │ ├── tabularstar.tex │ ├── tabularstar.xml │ ├── vmode.pdf │ ├── vmode.tex │ └── vmode.xml ├── ams │ ├── amsdisplay.pdf │ ├── amsdisplay.tex │ ├── amsdisplay.xml │ ├── cd.pdf │ ├── cd.tex │ ├── cd.xml │ ├── genfracs.pdf │ ├── genfracs.tex │ ├── genfracs.xml │ ├── mathtools.pdf │ ├── mathtools.tex │ ├── mathtools.xml │ ├── matrix.pdf │ ├── matrix.tex │ ├── matrix.xml │ ├── sideset.pdf │ ├── sideset.tex │ └── sideset.xml ├── babel │ ├── french.pdf │ ├── french.tex │ ├── french.xml │ ├── german.pdf │ ├── german.tex │ ├── german.xml │ ├── greek.pdf │ ├── greek.tex │ ├── greek.xml │ ├── numprints.pdf │ ├── numprints.tex │ ├── numprints.xml │ ├── page545.pdf │ ├── page545.tex │ └── page545.xml ├── complex │ ├── aliceblog.pdf │ ├── aliceblog.tex │ ├── aliceblog.xml │ ├── hypertest.pdf │ ├── hypertest.tex │ ├── hypertest.xml │ ├── sunset.jpg │ ├── xii.dtd │ ├── xii.latexml │ ├── xii.pdf │ ├── xii.tex │ └── xii.xml ├── daemon │ ├── api │ │ ├── port.spec │ │ ├── port.status │ │ └── port.xml │ ├── citations.tex │ ├── complex │ │ ├── exhaustive.spec │ │ ├── exhaustive.status │ │ └── exhaustive.xml │ ├── document.tex │ ├── formats │ │ ├── citation.spec │ │ ├── citation.status │ │ ├── citation.xml │ │ ├── citationraw.spec │ │ ├── citationraw.status │ │ ├── citationraw.xml │ │ ├── makebib.spec │ │ ├── makebib.status │ │ ├── makebib.xml │ │ ├── mixedmath.spec │ │ ├── mixedmath.status │ │ ├── mixedmath.xml │ │ ├── noparse.spec │ │ ├── noparse.status │ │ ├── noparse.xml │ │ ├── parallel-math-cmml.spec │ │ ├── parallel-math-cmml.status │ │ ├── parallel-math-cmml.xml │ │ ├── parallel-math-om.spec │ │ ├── parallel-math-om.status │ │ ├── parallel-math-om.xml │ │ ├── parallel-math-pmml.spec │ │ ├── parallel-math-pmml.status │ │ ├── parallel-math-pmml.xml │ │ ├── parallel-math-xmath.spec │ │ ├── parallel-math-xmath.status │ │ └── parallel-math-xmath.xml │ ├── fragment.tex │ ├── mixedmath.latexml │ ├── mixedmath.tex │ ├── post.tex │ ├── pre.tex │ ├── profiles │ │ ├── default.spec │ │ ├── default.status │ │ ├── default.xml │ │ ├── fragment.spec │ │ ├── fragment.status │ │ ├── fragment.xml │ │ ├── math.spec │ │ ├── math.status │ │ ├── math.xml │ │ ├── standard.spec │ │ ├── standard.status │ │ ├── standard.xml │ │ └── stex │ │ │ ├── stex.spec │ │ │ ├── stex.status │ │ │ ├── stex.tex │ │ │ └── stex.xml │ ├── runtimes │ │ ├── timeout.spec │ │ └── timeout.status │ └── tiny.bib ├── digestion │ ├── box.pdf │ ├── box.tex │ ├── box.xml │ ├── chardefs.pdf │ ├── chardefs.tex │ ├── chardefs.xml │ ├── def.pdf │ ├── def.tex │ ├── def.xml │ ├── defaultunits.pdf │ ├── defaultunits.tex │ ├── defaultunits.xml │ ├── dollar.pdf │ ├── dollar.tex │ ├── dollar.xml │ ├── exists.data │ ├── io.pdf │ ├── io.tex │ ├── io.xml │ ├── primes.pdf │ ├── primes.tex │ ├── primes.xml │ ├── testctr.pdf │ ├── testctr.tex │ ├── testctr.xml │ ├── xargs.pdf │ ├── xargs.tex │ └── xargs.xml ├── encoding │ ├── ansinew.pdf │ ├── ansinew.tex │ ├── ansinew.xml │ ├── applemac.pdf │ ├── applemac.tex │ ├── applemac.xml │ ├── cp1250.pdf │ ├── cp1250.tex │ ├── cp1250.xml │ ├── cp1252.pdf │ ├── cp1252.tex │ ├── cp1252.xml │ ├── cp437.pdf │ ├── cp437.tex │ ├── cp437.xml │ ├── cp437de.pdf │ ├── cp437de.tex │ ├── cp437de.xml │ ├── cp850.pdf │ ├── cp850.tex │ ├── cp850.xml │ ├── cp852.pdf │ ├── cp852.tex │ ├── cp852.xml │ ├── cp858.pdf │ ├── cp858.tex │ ├── cp858.xml │ ├── cp865.pdf │ ├── cp865.tex │ ├── cp865.xml │ ├── decmulti.pdf │ ├── decmulti.tex │ ├── decmulti.xml │ ├── latin1.pdf │ ├── latin1.tex │ ├── latin1.xml │ ├── latin10.pdf │ ├── latin10.tex │ ├── latin10.xml │ ├── latin2.pdf │ ├── latin2.tex │ ├── latin2.xml │ ├── latin3.pdf │ ├── latin3.tex │ ├── latin3.xml │ ├── latin4.pdf │ ├── latin4.tex │ ├── latin4.xml │ ├── latin5.pdf │ ├── latin5.tex │ ├── latin5.xml │ ├── latin9.pdf │ ├── latin9.tex │ ├── latin9.xml │ ├── ly1.pdf │ ├── ly1.tex │ ├── ly1.xml │ ├── ot1.pdf │ ├── ot1.tex │ ├── ot1.xml │ ├── t1.pdf │ ├── t1.tex │ ├── t1.xml │ ├── t2a.pdf │ ├── t2a.tex │ ├── t2a.xml │ ├── t2b.pdf │ ├── t2b.tex │ ├── t2b.xml │ ├── t2c.pdf │ ├── t2c.tex │ ├── t2c.xml │ ├── ts1.pdf │ ├── ts1.tex │ └── ts1.xml ├── expansion │ ├── aftergroup.pdf │ ├── aftergroup.tex │ ├── aftergroup.xml │ ├── definedness.pdf │ ├── definedness.tex │ ├── definedness.xml │ ├── env.pdf │ ├── env.tex │ ├── env.xml │ ├── environments.pdf │ ├── environments.tex │ ├── environments.xml │ ├── etex.pdf │ ├── etex.tex │ ├── etex.xml │ ├── for.pdf │ ├── for.tex │ ├── for.xml │ ├── fragment1.tex │ ├── fragment2.tex │ ├── ifthen.pdf │ ├── ifthen.tex │ ├── ifthen.xml │ ├── keywords.pdf │ ├── keywords.tex │ ├── keywords.xml │ ├── lettercase.pdf │ ├── lettercase.tex │ ├── lettercase.xml │ ├── meaning.pdf │ ├── meaning.tex │ ├── meaning.xml │ ├── noexpand.pdf │ ├── noexpand.tex │ ├── noexpand.xml │ ├── numexpr.pdf │ ├── numexpr.tex │ ├── numexpr.xml │ ├── subdir │ │ └── whichpkga.sty │ ├── testchar.pdf │ ├── testchar.tex │ ├── testchar.xml │ ├── testexpand.pdf │ ├── testexpand.tex │ ├── testexpand.xml │ ├── testif.pdf │ ├── testif.tex │ ├── testif.xml │ ├── testinput.foo │ ├── testinput.pdf │ ├── testinput.tex │ ├── testinput.xml │ ├── testmultido.pdf │ ├── testmultido.tex │ ├── testmultido.xml │ ├── toks.pdf │ ├── toks.tex │ ├── toks.xml │ ├── whichcache.latexml │ ├── whichcache.pdf │ ├── whichcache.tex │ ├── whichcache.xml │ ├── whichfrag1 │ ├── whichfrag1.tex │ ├── whichfrag1.tex.tex │ ├── whichfrag2 │ ├── whichfrag2.tex │ ├── whichfrag3 │ ├── whichinput.latexml │ ├── whichinput.pdf │ ├── whichinput.tex │ ├── whichinput.xml │ ├── whichpkga │ ├── whichpkga.sty │ ├── whichpkgb │ ├── whichpkgb.sty │ ├── whichpkgb.sty.sty │ └── whichpkgc.sty ├── fonts │ ├── accents.pdf │ ├── accents.tex │ ├── accents.xml │ ├── bbold.pdf │ ├── bbold.tex │ ├── bbold.xml │ ├── cancels.pdf │ ├── cancels.tex │ ├── cancels.xml │ ├── esint.pdf │ ├── esint.tex │ ├── esint.xml │ ├── fonts.pdf │ ├── fonts.tex │ ├── fonts.xml │ ├── marvosym.pdf │ ├── marvosym.tex │ ├── marvosym.xml │ ├── mathaccents.pdf │ ├── mathaccents.tex │ ├── mathaccents.xml │ ├── mathbbol.pdf │ ├── mathbbol.tex │ ├── mathbbol.xml │ ├── mathcolor.pdf │ ├── mathcolor.tex │ ├── mathcolor.xml │ ├── mixed.pdf │ ├── mixed.tex │ ├── mixed.xml │ ├── omencodings.pdf │ ├── omencodings.tex │ ├── omencodings.xml │ ├── soul.pdf │ ├── soul.tex │ ├── soul.xml │ ├── stmaryrd.pdf │ ├── stmaryrd.tex │ ├── stmaryrd.xml │ ├── textcomp.pdf │ ├── textcomp.tex │ ├── textcomp.xml │ ├── textsymbols.pdf │ ├── textsymbols.tex │ ├── textsymbols.xml │ ├── ulem.pdf │ ├── ulem.tex │ ├── ulem.xml │ ├── wasysym.pdf │ ├── wasysym.tex │ └── wasysym.xml ├── graphics │ ├── calc.pdf │ ├── calc.tex │ ├── calc.xml │ ├── colors.pdf │ ├── colors.tex │ ├── colors.xml │ ├── framed.pdf │ ├── framed.tex │ ├── framed.xml │ ├── graphrot.pdf │ ├── graphrot.tex │ ├── graphrot.xml │ ├── none.png │ ├── picture.pdf │ ├── picture.tex │ ├── picture.xml │ ├── xcolors.pdf │ ├── xcolors.tex │ └── xcolors.xml ├── grouping │ ├── mathgroup.pdf │ ├── mathgroup.tex │ ├── mathgroup.xml │ ├── scopemacro.latexml │ ├── scopemacro.pdf │ ├── scopemacro.tex │ └── scopemacro.xml ├── keyval │ ├── keyvalinline.pdf │ ├── keyvalinline.tex │ ├── keyvalinline.xml │ ├── keyvalstyle.pdf │ ├── keyvalstyle.tex │ ├── keyvalstyle.xml │ ├── mykeyval.sty │ ├── mykeyval.sty.ltxml │ ├── myxkeyval.sty │ ├── myxkeyval.sty.ltxml │ ├── xkeyvaladv.pdf │ ├── xkeyvaladv.tex │ ├── xkeyvaladv.xml │ ├── xkeyvalbasic.pdf │ ├── xkeyvalbasic.tex │ ├── xkeyvalbasic.xml │ ├── xkeyvalkvcompat.pdf │ ├── xkeyvalkvcompat.tex │ ├── xkeyvalkvcompat.xml │ ├── xkeyvalstyle.pdf │ ├── xkeyvalstyle.tex │ ├── xkeyvalstyle.xml │ ├── xkeyvalview.pdf │ ├── xkeyvalview.tex │ └── xkeyvalview.xml ├── keyval_options │ ├── xkvdop1.sty │ ├── xkvdop1.sty.ltxml │ ├── xkvdop1a.pdf │ ├── xkvdop1a.tex │ ├── xkvdop1a.xml │ ├── xkvdop1b.pdf │ ├── xkvdop1b.tex │ ├── xkvdop1b.xml │ ├── xkvdop2.sty │ ├── xkvdop2.sty.ltxml │ ├── xkvdop2a.pdf │ ├── xkvdop2a.tex │ ├── xkvdop2a.xml │ ├── xkvdop2b.pdf │ ├── xkvdop2b.tex │ ├── xkvdop2b.xml │ ├── xkvdop3.sty │ ├── xkvdop3.sty.ltxml │ ├── xkvdop3a.pdf │ ├── xkvdop3a.tex │ ├── xkvdop3a.xml │ ├── xkvdop3b.pdf │ ├── xkvdop3b.tex │ ├── xkvdop3b.xml │ ├── xkvdop4.sty │ ├── xkvdop4.sty.ltxml │ ├── xkvdop4a.pdf │ ├── xkvdop4a.tex │ ├── xkvdop4a.xml │ ├── xkvdop5.cls │ ├── xkvdop5.cls.ltxml │ ├── xkvdop5a.pdf │ ├── xkvdop5a.tex │ ├── xkvdop5a.xml │ ├── xkvdop5b.pdf │ ├── xkvdop5b.tex │ ├── xkvdop5b.xml │ ├── xkvdop6.cls │ ├── xkvdop6.cls.ltxml │ ├── xkvdop6a.pdf │ ├── xkvdop6a.tex │ ├── xkvdop6a.xml │ ├── xkvdop6b.pdf │ ├── xkvdop6b.tex │ └── xkvdop6b.xml ├── math │ ├── array.pdf │ ├── array.tex │ ├── array.xml │ ├── arrows.pdf │ ├── arrows.tex │ ├── arrows.xml │ ├── choose.pdf │ ├── choose.tex │ ├── choose.xml │ ├── fracs.pdf │ ├── fracs.tex │ ├── fracs.xml │ ├── niceunits.pdf │ ├── niceunits.tex │ ├── niceunits.xml │ ├── not.pdf │ ├── not.tex │ ├── not.xml │ ├── sampler.pdf │ ├── sampler.tex │ ├── sampler.xml │ ├── simplemath.latexml │ ├── simplemath.pdf │ ├── simplemath.tex │ ├── simplemath.xml │ ├── testover.pdf │ ├── testover.tex │ ├── testover.xml │ ├── testscripts.pdf │ ├── testscripts.tex │ └── testscripts.xml ├── namespace │ ├── ns1.dtd │ ├── ns1.latexml │ ├── ns1.pdf │ ├── ns1.tex │ ├── ns1.xml │ ├── ns2.dtd │ ├── ns2.latexml │ ├── ns2.pdf │ ├── ns2.tex │ ├── ns2.xml │ ├── ns3.dtd │ ├── ns3.latexml │ ├── ns3.pdf │ ├── ns3.tex │ ├── ns3.xml │ ├── ns4.dtd │ ├── ns4.latexml │ ├── ns4.pdf │ ├── ns4.tex │ ├── ns4.xml │ ├── ns5.dtd │ ├── ns5.latexml │ ├── ns5.pdf │ ├── ns5.tex │ └── ns5.xml ├── parse │ ├── compose.pdf │ ├── compose.tex │ ├── compose.xml │ ├── functions.pdf │ ├── functions.tex │ ├── functions.xml │ ├── kludge.pdf │ ├── kludge.tex │ ├── kludge.xml │ ├── mixedfrac.pdf │ ├── mixedfrac.tex │ ├── mixedfrac.xml │ ├── operators.pdf │ ├── operators.tex │ ├── operators.xml │ ├── parens.pdf │ ├── parens.tex │ ├── parens.xml │ ├── qm.pdf │ ├── qm.tex │ ├── qm.xml │ ├── relations.pdf │ ├── relations.tex │ ├── relations.xml │ ├── scripts.pdf │ ├── scripts.tex │ ├── scripts.xml │ ├── sets.pdf │ ├── sets.tex │ ├── sets.xml │ ├── spacing.pdf │ ├── spacing.tex │ ├── spacing.xml │ ├── terms.pdf │ ├── terms.tex │ └── terms.xml ├── post │ ├── hyperref-post.xml │ ├── hyperref.xml │ ├── simplemath-post.xml │ └── simplemath.xml ├── structure │ ├── abstract.pdf │ ├── abstract.tex │ ├── abstract.xml │ ├── amsarticle.pdf │ ├── amsarticle.tex │ ├── amsarticle.xml │ ├── apackage.sty │ ├── apackage.sty.ltxml │ ├── article.pdf │ ├── article.tex │ ├── article.xml │ ├── authors.pdf │ ├── authors.tex │ ├── authors.xml │ ├── badabstract.pdf │ ├── badabstract.tex │ ├── badabstract.xml │ ├── beforeafter.pdf │ ├── beforeafter.tex │ ├── beforeafter.xml │ ├── book.pdf │ ├── book.tex │ ├── book.xml │ ├── epitest.pdf │ ├── epitest.tex │ ├── epitest.xml │ ├── fancyhdr.pdf │ ├── fancyhdr.tex │ ├── fancyhdr.xml │ ├── figures.pdf │ ├── figures.tex │ ├── figures.xml │ ├── filelist.pdf │ ├── filelist.tex │ ├── filelist.xml │ ├── filelistclass.cls │ ├── filelistclass.cls.ltxml │ ├── hyperref.pdf │ ├── hyperref.tex │ ├── hyperref.xml │ ├── itemize.pdf │ ├── itemize.tex │ ├── itemize.xml │ ├── myclass.cls │ ├── myclass.cls.ltxml │ ├── options.pdf │ ├── options.tex │ ├── options.xml │ ├── para.pdf │ ├── para.tex │ ├── para.xml │ ├── paralists.pdf │ ├── paralists.tex │ ├── paralists.xml │ ├── report.pdf │ ├── report.tex │ ├── report.xml │ ├── sec.pdf │ ├── sec.tex │ ├── sec.xml │ ├── svabstract.pdf │ ├── svabstract.tex │ └── svabstract.xml ├── theorem │ ├── amstheorem.pdf │ ├── amstheorem.tex │ ├── amstheorem.xml │ ├── latextheorem.pdf │ ├── latextheorem.tex │ ├── latextheorem.xml │ ├── ntheorem.pdf │ ├── ntheorem.tex │ ├── ntheorem.xml │ ├── theorem.pdf │ ├── theorem.tex │ └── theorem.xml └── tokenize │ ├── alltt.pdf │ ├── alltt.tex │ ├── alltt.xml │ ├── comment.pdf │ ├── comment.tex │ ├── comment.xml │ ├── equality.pdf │ ├── equality.tex │ ├── equality.xml │ ├── ligatures.pdf │ ├── ligatures.tex │ ├── ligatures.xml │ ├── mathtokens.pdf │ ├── mathtokens.tex │ ├── mathtokens.xml │ ├── percent.pdf │ ├── percent.tex │ ├── percent.xml │ ├── url.pdf │ ├── url.tex │ ├── url.xml │ ├── verb.pdf │ ├── verb.tex │ ├── verb.xml │ ├── verbata.pdf │ ├── verbata.tex │ └── verbata.xml └── tools ├── Perl └── Critic │ └── Policy │ └── LaTeXML │ └── RequireDoubleSigils.pm ├── cluster ├── compileschema ├── dtd-dumbdown.xsl ├── dtd-simplification.xsl ├── genencoded ├── genfontmap ├── kwalitee ├── latexml.perlcritic ├── latexml.perltidy ├── latexmllint ├── makemanifest ├── maketests ├── pre-commit ├── profile ├── symbolscan ├── symbolscan.sty ├── texscan └── xtest /.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore backup files 2 | *~ 3 | *.bak 4 | # Old Makefiles 5 | Makefile.old 6 | # Ignore perltidy files 7 | *.tdy 8 | # generated by running make 9 | MYMETA.json 10 | MYMETA.yml 11 | Makefile 12 | Makefile.old 13 | # And of course the whole compiled lib 14 | pm_to_blib 15 | blib/ 16 | # These are generated by creating manual.pdf 17 | doc/manual/manual.aux 18 | doc/manual/manual.idx 19 | doc/manual/manual.ilg 20 | doc/manual/manual.ind 21 | doc/manual/manual.lof 22 | doc/manual/manual.log 23 | doc/manual/manual.out 24 | doc/manual/manual.toc 25 | doc/manual/manual.xml 26 | doc/manual/pods/ 27 | # Generated files... 28 | doc/manual/release.tex 29 | doc/manual/schema.tex 30 | # The compiled manual, which is copied to top-level 31 | doc/manual/manual.pdf 32 | # These are generated by building the site 33 | doc/site/examples/tabular/tabular.aux 34 | doc/site/examples/tabular/tabular.log 35 | doc/site/examples/tabular/tabular.pdf 36 | doc/site/examples/tabular/tabular.xml 37 | doc/site/index.xml 38 | doc/site/releases.tex 39 | auto 40 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: perl 2 | sudo: required 3 | dist: trusty 4 | 5 | addons: 6 | apt: 7 | packages: 8 | - libdb-dev 9 | - libxml2-dev 10 | - libxslt1-dev 11 | 12 | perl: 13 | - "5.20" 14 | - "5.18" 15 | - "5.14" 16 | - "5.10" 17 | 18 | env: 19 | - TEX=none 20 | - TEX=texlive 21 | 22 | before_install: 23 | - if [[ "$TEX" != "none" ]]; then sudo apt-get update -q; fi 24 | - if [[ "$TEX" == "texlive" ]]; then sudo apt-get install -y texlive-full -q; fi 25 | 26 | install: 27 | - cpanm -v --installdeps --notest . 28 | 29 | script: 30 | - perl Makefile.PL && make test 31 | -------------------------------------------------------------------------------- /INSTALL: -------------------------------------------------------------------------------- 1 | INSTALL Notes for LaTeXML 2 | perl Makefile.PL 3 | make 4 | make test 5 | make install 6 | 7 | REQUIREMENTS 8 | A sufficiently Unicode supporting Perl: 5.8, maybe 5.6 9 | XML::LibXML and XML::LibXSLT (See www.CPAN.org) 10 | (which require libxml2 and libxslt: See http://www.xmlsoft.org/) 11 | Parse::RecDescent 12 | Image::Magick 13 | -------------------------------------------------------------------------------- /INSTALL.SKIP: -------------------------------------------------------------------------------- 1 | \bREADME\. 2 | -------------------------------------------------------------------------------- /MANIFEST.SKIP: -------------------------------------------------------------------------------- 1 | ~$ 2 | ^\# 3 | ^\. 4 | ^Makefile$ 5 | ^Makefile.old$ 6 | \.bak$ 7 | ($|/)TAGS$ 8 | (^|/)\.svn/ 9 | ^doc/ 10 | ^blib/ 11 | ^release/ 12 | ^tools/ 13 | ^pm_to_blib$ 14 | -------------------------------------------------------------------------------- /doc/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/doc/favicon.ico -------------------------------------------------------------------------------- /doc/graphics/latexml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/doc/graphics/latexml.png -------------------------------------------------------------------------------- /doc/graphics/makelogo: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cwd=`pwd` 4 | tmpdir=/tmp/ 5 | tmpfile=makelogo$$ 6 | 7 | cd $tmpdir 8 | 9 | cat > $tmpfile.tex < #_# | # 11 | # | http://dlmf.nist.gov/LaTeXML/ (o o) | # 12 | # \=========================================================ooo==U==ooo=/ # 13 | package LaTeXML::Package::Pool; 14 | use strict; 15 | use warnings; 16 | use LaTeXML::Package; 17 | 18 | # Nothing to do here. 19 | 1; 20 | -------------------------------------------------------------------------------- /lib/LaTeXML/Package/beton.sty.ltxml: -------------------------------------------------------------------------------- 1 | # -*- mode: Perl -*- 2 | # /=====================================================================\ # 3 | # | beton | # 4 | # | Implementation for LaTeXML | # 5 | # |=====================================================================| # 6 | # | Part of LaTeXML: | # 7 | # | Public domain software, produced as part of work done by the | # 8 | # | United States Government & not subject to copyright in the US. | # 9 | # |---------------------------------------------------------------------| # 10 | # | Bruce Miller #_# | # 11 | # | http://dlmf.nist.gov/LaTeXML/ (o o) | # 12 | # \=========================================================ooo==U==ooo=/ # 13 | package LaTeXML::Package::Pool; 14 | use strict; 15 | use warnings; 16 | use LaTeXML::Package; 17 | 18 | # Nothing to do here. 19 | 20 | 1; 21 | -------------------------------------------------------------------------------- /lib/LaTeXML/Package/bookman.sty.ltxml: -------------------------------------------------------------------------------- 1 | # -*- mode: Perl -*- 2 | # /=====================================================================\ # 3 | # | bookman | # 4 | # | Implementation for LaTeXML | # 5 | # |=====================================================================| # 6 | # | Part of LaTeXML: | # 7 | # | Public domain software, produced as part of work done by the | # 8 | # | United States Government & not subject to copyright in the US. | # 9 | # |---------------------------------------------------------------------| # 10 | # | Bruce Miller #_# | # 11 | # | http://dlmf.nist.gov/LaTeXML/ (o o) | # 12 | # \=========================================================ooo==U==ooo=/ # 13 | package LaTeXML::Package::Pool; 14 | use strict; 15 | use warnings; 16 | use LaTeXML::Package; 17 | 18 | # Nothing to do here. 19 | 1; 20 | -------------------------------------------------------------------------------- /lib/LaTeXML/Package/chancery.sty.ltxml: -------------------------------------------------------------------------------- 1 | # -*- mode: Perl -*- 2 | # /=====================================================================\ # 3 | # | chancery | # 4 | # | Implementation for LaTeXML | # 5 | # |=====================================================================| # 6 | # | Part of LaTeXML: | # 7 | # | Public domain software, produced as part of work done by the | # 8 | # | United States Government & not subject to copyright in the US. | # 9 | # |---------------------------------------------------------------------| # 10 | # | Bruce Miller #_# | # 11 | # | http://dlmf.nist.gov/LaTeXML/ (o o) | # 12 | # \=========================================================ooo==U==ooo=/ # 13 | package LaTeXML::Package::Pool; 14 | use strict; 15 | use warnings; 16 | use LaTeXML::Package; 17 | 18 | # Nothing to do here. 19 | 1; 20 | -------------------------------------------------------------------------------- /lib/LaTeXML/Package/charter.sty.ltxml: -------------------------------------------------------------------------------- 1 | # -*- mode: Perl -*- 2 | # /=====================================================================\ # 3 | # | charter | # 4 | # | Implementation for LaTeXML | # 5 | # |=====================================================================| # 6 | # | Part of LaTeXML: | # 7 | # | Public domain software, produced as part of work done by the | # 8 | # | United States Government & not subject to copyright in the US. | # 9 | # |---------------------------------------------------------------------| # 10 | # | Bruce Miller #_# | # 11 | # | http://dlmf.nist.gov/LaTeXML/ (o o) | # 12 | # \=========================================================ooo==U==ooo=/ # 13 | package LaTeXML::Package::Pool; 14 | use strict; 15 | use warnings; 16 | use LaTeXML::Package; 17 | 18 | # Nothing to do here. 19 | 1; 20 | -------------------------------------------------------------------------------- /lib/LaTeXML/Package/concmath.sty.ltxml: -------------------------------------------------------------------------------- 1 | # -*- mode: Perl -*- 2 | # /=====================================================================\ # 3 | # | concmath | # 4 | # | Implementation for LaTeXML | # 5 | # |=====================================================================| # 6 | # | Part of LaTeXML: | # 7 | # | Public domain software, produced as part of work done by the | # 8 | # | United States Government & not subject to copyright in the US. | # 9 | # |---------------------------------------------------------------------| # 10 | # | Bruce Miller #_# | # 11 | # | http://dlmf.nist.gov/LaTeXML/ (o o) | # 12 | # \=========================================================ooo==U==ooo=/ # 13 | package LaTeXML::Package::Pool; 14 | use strict; 15 | use warnings; 16 | use LaTeXML::Package; 17 | 18 | # Nothing to do here. 19 | 20 | 1; 21 | -------------------------------------------------------------------------------- /lib/LaTeXML/Package/courier.sty.ltxml: -------------------------------------------------------------------------------- 1 | # -*- mode: Perl -*- 2 | # /=====================================================================\ # 3 | # | courier | # 4 | # | Implementation for LaTeXML | # 5 | # |=====================================================================| # 6 | # | Part of LaTeXML: | # 7 | # | Public domain software, produced as part of work done by the | # 8 | # | United States Government & not subject to copyright in the US. | # 9 | # |---------------------------------------------------------------------| # 10 | # | Bruce Miller #_# | # 11 | # | http://dlmf.nist.gov/LaTeXML/ (o o) | # 12 | # \=========================================================ooo==U==ooo=/ # 13 | package LaTeXML::Package::Pool; 14 | use strict; 15 | use warnings; 16 | use LaTeXML::Package; 17 | 18 | # Nothing to do here. 19 | 1; 20 | -------------------------------------------------------------------------------- /lib/LaTeXML/Package/euler.sty.ltxml: -------------------------------------------------------------------------------- 1 | # -*- mode: Perl -*- 2 | # /=====================================================================\ # 3 | # | euler | # 4 | # | Implementation for LaTeXML | # 5 | # |=====================================================================| # 6 | # | Part of LaTeXML: | # 7 | # | Public domain software, produced as part of work done by the | # 8 | # | United States Government & not subject to copyright in the US. | # 9 | # |---------------------------------------------------------------------| # 10 | # | Bruce Miller #_# | # 11 | # | http://dlmf.nist.gov/LaTeXML/ (o o) | # 12 | # \=========================================================ooo==U==ooo=/ # 13 | package LaTeXML::Package::Pool; 14 | use strict; 15 | use warnings; 16 | use LaTeXML::Package; 17 | 18 | # Nothing to do here. 19 | 20 | 1; 21 | -------------------------------------------------------------------------------- /lib/LaTeXML/Package/exscale.sty.ltxml: -------------------------------------------------------------------------------- 1 | # -*- mode: Perl -*- 2 | # /=====================================================================\ # 3 | # | exscale | # 4 | # | Implementation for LaTeXML | # 5 | # |=====================================================================| # 6 | # | Part of LaTeXML: | # 7 | # | Public domain software, produced as part of work done by the | # 8 | # | United States Government & not subject to copyright in the US. | # 9 | # |---------------------------------------------------------------------| # 10 | # | Bruce Miller #_# | # 11 | # | http://dlmf.nist.gov/LaTeXML/ (o o) | # 12 | # \=========================================================ooo==U==ooo=/ # 13 | package LaTeXML::Package::Pool; 14 | use strict; 15 | use warnings; 16 | use LaTeXML::Package; 17 | 18 | # Nothing to do here. 19 | 1; 20 | -------------------------------------------------------------------------------- /lib/LaTeXML/Package/fourier.sty.ltxml: -------------------------------------------------------------------------------- 1 | # -*- mode: Perl -*- 2 | # /=====================================================================\ # 3 | # | fourier | # 4 | # | Implementation for LaTeXML | # 5 | # |=====================================================================| # 6 | # | Part of LaTeXML: | # 7 | # | Public domain software, produced as part of work done by the | # 8 | # | United States Government & not subject to copyright in the US. | # 9 | # |---------------------------------------------------------------------| # 10 | # | Bruce Miller #_# | # 11 | # | http://dlmf.nist.gov/LaTeXML/ (o o) | # 12 | # \=========================================================ooo==U==ooo=/ # 13 | package LaTeXML::Package::Pool; 14 | use strict; 15 | use warnings; 16 | use LaTeXML::Package; 17 | 18 | # Nothing to do here. 19 | 20 | 1; 21 | -------------------------------------------------------------------------------- /lib/LaTeXML/Package/helvet.sty.ltxml: -------------------------------------------------------------------------------- 1 | # -*- mode: Perl -*- 2 | # /=====================================================================\ # 3 | # | helvet | # 4 | # | Implementation for LaTeXML | # 5 | # |=====================================================================| # 6 | # | Part of LaTeXML: | # 7 | # | Public domain software, produced as part of work done by the | # 8 | # | United States Government & not subject to copyright in the US. | # 9 | # |---------------------------------------------------------------------| # 10 | # | Bruce Miller #_# | # 11 | # | http://dlmf.nist.gov/LaTeXML/ (o o) | # 12 | # \=========================================================ooo==U==ooo=/ # 13 | package LaTeXML::Package::Pool; 14 | use strict; 15 | use warnings; 16 | use LaTeXML::Package; 17 | 18 | # Nothing to do here. 19 | 1; 20 | -------------------------------------------------------------------------------- /lib/LaTeXML/Package/newcent.sty.ltxml: -------------------------------------------------------------------------------- 1 | # -*- mode: Perl -*- 2 | # /=====================================================================\ # 3 | # | newcent | # 4 | # | Implementation for LaTeXML | # 5 | # |=====================================================================| # 6 | # | Part of LaTeXML: | # 7 | # | Public domain software, produced as part of work done by the | # 8 | # | United States Government & not subject to copyright in the US. | # 9 | # |---------------------------------------------------------------------| # 10 | # | Bruce Miller #_# | # 11 | # | http://dlmf.nist.gov/LaTeXML/ (o o) | # 12 | # \=========================================================ooo==U==ooo=/ # 13 | package LaTeXML::Package::Pool; 14 | use strict; 15 | use warnings; 16 | use LaTeXML::Package; 17 | 18 | # Nothing to do here. 19 | 1; 20 | -------------------------------------------------------------------------------- /lib/LaTeXML/Package/palatino.sty.ltxml: -------------------------------------------------------------------------------- 1 | # -*- mode: Perl -*- 2 | # /=====================================================================\ # 3 | # | palatino | # 4 | # | Implementation for LaTeXML | # 5 | # |=====================================================================| # 6 | # | Part of LaTeXML: | # 7 | # | Public domain software, produced as part of work done by the | # 8 | # | United States Government & not subject to copyright in the US. | # 9 | # |---------------------------------------------------------------------| # 10 | # | Bruce Miller #_# | # 11 | # | http://dlmf.nist.gov/LaTeXML/ (o o) | # 12 | # \=========================================================ooo==U==ooo=/ # 13 | package LaTeXML::Package::Pool; 14 | use strict; 15 | use warnings; 16 | use LaTeXML::Package; 17 | 18 | # Nothing to do here. 19 | 1; 20 | -------------------------------------------------------------------------------- /lib/LaTeXML/Package/times.sty.ltxml: -------------------------------------------------------------------------------- 1 | # -*- mode: Perl -*- 2 | # /=====================================================================\ # 3 | # | times | # 4 | # | Implementation for LaTeXML | # 5 | # |=====================================================================| # 6 | # | Part of LaTeXML: | # 7 | # | Public domain software, produced as part of work done by the | # 8 | # | United States Government & not subject to copyright in the US. | # 9 | # |---------------------------------------------------------------------| # 10 | # | Bruce Miller #_# | # 11 | # | http://dlmf.nist.gov/LaTeXML/ (o o) | # 12 | # \=========================================================ooo==U==ooo=/ # 13 | package LaTeXML::Package::Pool; 14 | use strict; 15 | use warnings; 16 | use LaTeXML::Package; 17 | 18 | # Nothing to do here. 19 | 1; 20 | -------------------------------------------------------------------------------- /lib/LaTeXML/Package/utopia.sty.ltxml: -------------------------------------------------------------------------------- 1 | # -*- mode: Perl -*- 2 | # /=====================================================================\ # 3 | # | utopia | # 4 | # | Implementation for LaTeXML | # 5 | # |=====================================================================| # 6 | # | Part of LaTeXML: | # 7 | # | Public domain software, produced as part of work done by the | # 8 | # | United States Government & not subject to copyright in the US. | # 9 | # |---------------------------------------------------------------------| # 10 | # | Bruce Miller #_# | # 11 | # | http://dlmf.nist.gov/LaTeXML/ (o o) | # 12 | # \=========================================================ooo==U==ooo=/ # 13 | package LaTeXML::Package::Pool; 14 | use strict; 15 | use warnings; 16 | use LaTeXML::Package; 17 | 18 | # Nothing to do here. 19 | 1; 20 | -------------------------------------------------------------------------------- /lib/LaTeXML/resources/CSS/LaTeXML-blue.css: -------------------------------------------------------------------------------- 1 | /* Blue theme */ 2 | .ltx_page_navbar { border :5px double #485C5A; background-color:#8C9C9A; } 3 | .ltx_page_header { border-bottom:1px solid #485C5A; background-color:#8C9C9A; } 4 | .ltx_page_footer { border-top :1px solid #485C5A; background-color:#8C9C9A; } 5 | 6 | .ltx_title_document, 7 | .ltx_title_chapter, 8 | .ltx_title_section { border-top : 5px double #485C5A; 9 | border-left: 3px double #485C5A; 10 | background-color:#9DB2B1; } 11 | .ltx_title_subsection, 12 | .ltx_title_subsubsection, 13 | .ltx_title_paragraph { border-top : 1px solid #485C5A; 14 | border-left: 1px solid #485C5A; 15 | background-color:#BFCFCC; } 16 | 17 | .ltx_th { background-color:#8C9C9A; } 18 | 19 | .ltx_page_content { background-color:#D6E4E1; } -------------------------------------------------------------------------------- /lib/LaTeXML/resources/CSS/LaTeXML-marginpar.css: -------------------------------------------------------------------------------- 1 | /* A simple example of CSS for placing marginpar in margin. 2 | (more sophisticated layout probably requires xslt) */ 3 | .ltx_note.ltx_role_margin .ltx_note_mark { display:none; } 4 | .ltx_note.ltx_role_margin .ltx_note_type { display:none; } 5 | .ltx_note.ltx_role_margin .ltx_note_content { 6 | display:block; 7 | position:fixed; left:83%; width:15%; 8 | background-color: transparent; border:0pt; } 9 | 10 | /* Narrower, to make room for marginpar */ 11 | .ltx_page_main { width:80%; } 12 | -------------------------------------------------------------------------------- /lib/LaTeXML/resources/CSS/LaTeXML-navbar-left.css: -------------------------------------------------------------------------------- 1 | /* CSS for left navigation bar */ 2 | 3 | .ltx_page_navbar { 4 | display:block!important; position:fixed; left:0px; top:0px; width:170px; 5 | margin:0em; padding:1em; font: bold 75% sans-serif; 6 | border: 3px double; } 7 | .ltx_page_navbar ul { 8 | margin-left:-2em; } 9 | .ltx_page_main { 10 | position:absolute; left:190px; top:0px; right:2px; 11 | margin:0px; padding:1em 3em 1em 2em; 12 | width:70%; } 13 | -------------------------------------------------------------------------------- /lib/LaTeXML/resources/CSS/LaTeXML-navbar-right.css: -------------------------------------------------------------------------------- 1 | /* CSS for left navigation bar */ 2 | 3 | .ltx_page_navbar { 4 | display:block!important; position:fixed; left:80%; top:0px; width:20%; 5 | margin:0em; padding:1em; font: bold 75% sans-serif; } 6 | .ltx_page_navbar ul { 7 | margin-left:-2em; } 8 | .ltx_page_main { 9 | margin:0px; padding:1em 3em 1em 2em; 10 | width:75%; } 11 | -------------------------------------------------------------------------------- /lib/LaTeXML/resources/CSS/ltx-listings.css: -------------------------------------------------------------------------------- 1 | 2 | .ltx_listing_data { 3 | float:right; } 4 | .ltx_listing_data a { 5 | text-decoration:none; } -------------------------------------------------------------------------------- /lib/LaTeXML/resources/CSS/ltx-svjour.css: -------------------------------------------------------------------------------- 1 | 2 | /* Empty for now... */ 3 | -------------------------------------------------------------------------------- /lib/LaTeXML/resources/CSS/ltx-ulem.css: -------------------------------------------------------------------------------- 1 | 2 | .ltx_ulem_uline { border-bottom:1px solid black; } 3 | .ltx_ulem_uuline { border-bottom:3px double black; } 4 | .ltx_ulem_dashuline { border-bottom:1px dashed black; } 5 | .ltx_ulem_dotuline { border-bottom:1px dotted black; } 6 | .ltx_ulem_uwave { border-bottom:3px groove black; } /*!?!!?!*/ 7 | .ltx_ulem_sout { text-decoration:line-through; } 8 | .ltx_ulem_xout { text-decoration:line-through; } /*Should be multiple slashes! How??*/ 9 | -------------------------------------------------------------------------------- /lib/LaTeXML/resources/DTD/LaTeXML.dtd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/lib/LaTeXML/resources/DTD/LaTeXML.dtd -------------------------------------------------------------------------------- /lib/LaTeXML/resources/Profiles/fragment-html.opt: -------------------------------------------------------------------------------- 1 | comments = 2 | post = 3 | timeout = 120 4 | format = html5 5 | whatsin = fragment 6 | whatsout = fragment 7 | pmml = 8 | cmml = 9 | mathtex = 10 | nodefaultresources = 11 | preload = LaTeX.pool 12 | preload = article.cls 13 | preload = amsmath.sty 14 | preload = amsthm.sty 15 | preload = amstext.sty 16 | preload = amssymb.sty 17 | preload = eucal.sty 18 | preload = [dvipsnames]xcolor.sty 19 | preload = url.sty 20 | preload = hyperref.sty 21 | preload = [ids]latexml.sty 22 | path = $LATEXMLINPUTS -------------------------------------------------------------------------------- /lib/LaTeXML/resources/Profiles/fragment-xhtml.opt: -------------------------------------------------------------------------------- 1 | # Identical to fragment.opt 2 | comments = 3 | post = 4 | timeout = 120 5 | format = xhtml 6 | whatsin = fragment 7 | whatsout = fragment 8 | pmml = 9 | cmml = 10 | mathtex = 11 | nodefaultresources = 12 | preload = LaTeX.pool 13 | preload = article.cls 14 | preload = amsmath.sty 15 | preload = amsthm.sty 16 | preload = amstext.sty 17 | preload = amssymb.sty 18 | preload = eucal.sty 19 | preload = [dvipsnames]xcolor.sty 20 | preload = url.sty 21 | preload = hyperref.sty 22 | preload = [ids]latexml.sty 23 | path = $LATEXMLINPUTS -------------------------------------------------------------------------------- /lib/LaTeXML/resources/Profiles/fragment.opt: -------------------------------------------------------------------------------- 1 | # Identical to fragment-xhtml 2 | comments = 3 | post = 4 | timeout = 120 5 | format = xhtml 6 | whatsin = fragment 7 | whatsout = fragment 8 | pmml = 9 | cmml = 10 | mathtex = 11 | nodefaultresources = 12 | preload = LaTeX.pool 13 | preload = article.cls 14 | preload = amsmath.sty 15 | preload = amsthm.sty 16 | preload = amstext.sty 17 | preload = amssymb.sty 18 | preload = eucal.sty 19 | preload = [dvipsnames]xcolor.sty 20 | preload = url.sty 21 | preload = hyperref.sty 22 | preload = [ids]latexml.sty 23 | path = $LATEXMLINPUTS -------------------------------------------------------------------------------- /lib/LaTeXML/resources/Profiles/math.opt: -------------------------------------------------------------------------------- 1 | comments = 2 | post = 3 | format = xhtml 4 | whatsin = math 5 | whatsout = math 6 | pmml = 7 | cmml = 8 | mathtex = 9 | nodefaultresources = 10 | preload = LaTeX.pool 11 | preload = article.cls 12 | preload = amsmath.sty 13 | preload = amsthm.sty 14 | preload = amstext.sty 15 | preload = amssymb.sty 16 | preload = eucal.sty 17 | preload = [dvipsnames]xcolor.sty 18 | preload = url.sty 19 | preload = hyperref.sty 20 | preload = [ids]latexml.sty 21 | path = $LATEXMLINPUTS -------------------------------------------------------------------------------- /lib/LaTeXML/resources/Profiles/modern.opt: -------------------------------------------------------------------------------- 1 | comments = 2 | parse = Marpa 3 | format = xhtml 4 | pmml = 5 | cmml = 6 | nodefaultresources = 7 | preload = [ids]latexml.sty 8 | path = $LATEXMLINPUTS -------------------------------------------------------------------------------- /lib/LaTeXML/resources/Profiles/standard.opt: -------------------------------------------------------------------------------- 1 | comments = 2 | xml = 3 | preload = [ids]latexml.sty 4 | path = $LATEXMLINPUTS -------------------------------------------------------------------------------- /lib/LaTeXML/resources/Profiles/stex-migration.opt: -------------------------------------------------------------------------------- 1 | comments = 2 | format = xml 3 | whatsin = document 4 | whatsout = document 5 | post = 6 | xmath = 7 | openmath = 8 | pmml = 9 | path = $LATEXMLINPUTS 10 | path = $STEXSTYDIR/modules 11 | path = $STEXSTYDIR/statements 12 | path = $STEXSTYDIR/sproof 13 | path = $STEXSTYDIR/omtext 14 | path = $STEXSTYDIR/omdoc 15 | path = $STEXSTYDIR/sref 16 | path = $STEXSTYDIR/presentation 17 | path = $STEXSTYDIR/dcm 18 | path = $STEXSTYDIR/reqdoc 19 | path = $STEXSTYDIR/metakeys 20 | path = $STEXSTYDIR/mikoslides 21 | path = $STEXSTYDIR/etc 22 | path = $STEXSTYDIR/cmath 23 | path = $STEXSTYDIR/../schema 24 | path = $STEXSTYDIR/../schema/rng 25 | includestyles = 26 | stylesheet = $STEXSTYDIR/../xsl/migration.xsl 27 | nodefaultresources = 28 | -------------------------------------------------------------------------------- /lib/LaTeXML/resources/Profiles/stex.opt: -------------------------------------------------------------------------------- 1 | comments = 2 | format = xml 3 | whatsin = document 4 | whatsout = document 5 | post = 6 | xmath = 7 | openmath = 8 | pmml = 9 | path = $LATEXMLINPUTS 10 | path = $STEXSTYDIR 11 | path = $STEXSTYDIR/modules 12 | path = $STEXSTYDIR/statements 13 | path = $STEXSTYDIR/sproof 14 | path = $STEXSTYDIR/omtext 15 | path = $STEXSTYDIR/omdoc 16 | path = $STEXSTYDIR/sref 17 | path = $STEXSTYDIR/presentation 18 | path = $STEXSTYDIR/dcm 19 | path = $STEXSTYDIR/reqdoc 20 | path = $STEXSTYDIR/metakeys 21 | path = $STEXSTYDIR/mikoslides 22 | path = $STEXSTYDIR/etc 23 | path = $STEXSTYDIR/cmath 24 | path = $STEXSTYDIR/rdfmeta 25 | path = $STEXSTYDIR/hwexam 26 | path = $STEXSTYDIR/problem 27 | path = $STEXSTYDIR/workaddress 28 | path = $STEXSTYDIR/../schema 29 | path = $STEXSTYDIR/../schema/rng 30 | includestyles = 31 | stylesheet = $STEXSTYDIR/../xsl/omdocpost.xsl 32 | nodefaultresources = 33 | -------------------------------------------------------------------------------- /lib/LaTeXML/resources/RelaxNG/svg/svg-clip.rnc: -------------------------------------------------------------------------------- 1 | namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0" 2 | namespace ns1 = "http://www.w3.org/2000/svg" 3 | 4 | 5 | ## 6 | ## SVG 1.1 Clip Module 7 | ## file: svg-clip.rng 8 | ## 9 | ## This is SVG, a language for describing two-dimensional graphics in XML. 10 | ## Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved. 11 | ## 12 | ## $Id: svg-clip.rng,v 1.1 2003/07/15 07:11:10 dean Exp $ 13 | ## 14 | 15 | ## 16 | ## Clip 17 | ## 18 | ## clipPath 19 | ## 20 | ## This module declares markup to provide support for clipping. 21 | ## 22 | [ xml:lang = "en" ] 23 | grammar { 24 | include "svg-basic-clip.rnc" inherit = ns1 25 | 26 | ## 27 | ## extend content model of clipPath 28 | ## 29 | SVG.clipPath.class |= SVG.Shape.class | SVG.Text.class 30 | } 31 | -------------------------------------------------------------------------------- /lib/LaTeXML/resources/RelaxNG/svg/svg-extresources-attrib.rnc: -------------------------------------------------------------------------------- 1 | namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0" 2 | 3 | 4 | ## 5 | ## SVG 1.1 External Resources Attribute Module 6 | ## file: svg-extresources-attrib.rng 7 | ## 8 | ## This is SVG, a language for describing two-dimensional graphics in XML. 9 | ## Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved. 10 | ## 11 | ## $Id: svg-extresources-attrib.rng,v 1.1 2003/07/15 07:11:10 dean Exp $ 12 | ## 13 | 14 | ## 15 | ## External Resources Attribute 16 | ## 17 | ## externalResourcesRequired 18 | ## 19 | ## This module defines the External attribute set. 20 | ## 21 | [ xml:lang = "en" ] 22 | grammar { 23 | SVG.externalResourcesRequired.attrib = 24 | attribute externalResourcesRequired { Boolean.datatype }? 25 | SVG.External.extra.attrib = empty 26 | SVG.External.attrib &= 27 | SVG.externalResourcesRequired.attrib, SVG.External.extra.attrib 28 | } 29 | -------------------------------------------------------------------------------- /manual.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/manual.pdf -------------------------------------------------------------------------------- /release/LaTeXML.ppd: -------------------------------------------------------------------------------- 1 | 2 | LaTeXML 3 | transforms TeX and LaTeX into XML 4 | Bruce Miller <bruce.miller@nist.gov> 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /release/checkinst: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | use strict; 3 | use warnings; 4 | 5 | print "Searching.... (warnings may appear)\n"; 6 | my $latexml = `which latexml`; chomp($latexml); 7 | my $latexmlmodule = (system("perl -MLaTeXML -e 'OK'") == 0); 8 | my $latexmlsty = `kpsewhich latexml.sty`; 9 | 10 | print "... done \n"; 11 | print "latexml executable : ".($latexml || "was NOT found")."\n"; 12 | print "LaTeXML Module : ".($latexmlmodule ? "was found" : "was NOT found")."\n"; 13 | print "latexml stylefile : ".($latexmlsty || "was NOT found")."\n"; 14 | 15 | -------------------------------------------------------------------------------- /release/error-structuring.text: -------------------------------------------------------------------------------- 1 | Some initial thoughts on structuring error & warning messages. 2 | 3 | Proposed regexp: 4 | /^(Error|Warning|Fatal)(:\S*)*\s+(.*)$/ 5 | 6 | Eg. 7 | Error:undefined:\somemacro The macro \somemacro is undefined. 8 | or 9 | Warning:mathparse:somerule Unrecognized pattern blah blah. 10 | 11 | 12 | Try grepping for Error and Warning to generate a set of 13 | useful keywords: 14 | 15 | Error:unexpected:? A was supposed to be here 16 | Error:unexpected:\else Stray \else ... 17 | Error:unexpected:? Non-relation token 18 | Error:unexpected:\endcsname 19 | 20 | Error:unexpected:& 21 | 22 | Error:missing_file:$path 23 | 24 | Error:redefinition:\foo 25 | 26 | Error:undefined:\foo 27 | 28 | Error:cant_create:$file Couldn't create file 29 | 30 | Warning:unexpected: 31 | -------------------------------------------------------------------------------- /t/05_tokenize.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | latexml_tests("t/tokenize"); 8 | -------------------------------------------------------------------------------- /t/10_expansion.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | latexml_tests("t/expansion", 8 | requires=>{meaning=>'t1enc.def', 9 | ifthen=>'ifthen.sty'}); 10 | 11 | -------------------------------------------------------------------------------- /t/12_grouping.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | latexml_tests("t/grouping"); 8 | 9 | -------------------------------------------------------------------------------- /t/20_digestion.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | latexml_tests("t/digestion"); 8 | 9 | -------------------------------------------------------------------------------- /t/22_fonts.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | latexml_tests("t/fonts"); 8 | 9 | -------------------------------------------------------------------------------- /t/32_keyval.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | latexml_tests("t/keyval", 8 | requires=>{xkeyvalview=>'xkvview.sty'}); -------------------------------------------------------------------------------- /t/33_keyval_options.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | latexml_tests("t/keyval_options"); -------------------------------------------------------------------------------- /t/40_math.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | latexml_tests("t/math"); 8 | 9 | -------------------------------------------------------------------------------- /t/50_structure.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | latexml_tests("t/structure"); 8 | -------------------------------------------------------------------------------- /t/52_namespace.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | latexml_tests("t/namespace"); 8 | 9 | -------------------------------------------------------------------------------- /t/53_alignment.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | latexml_tests("t/alignment", 8 | requires => { 9 | listing => 'listings.cfg', 10 | algx => ['algorithm.sty', 'algpseudocode.sty'] }); 11 | -------------------------------------------------------------------------------- /t/55_theorem.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | latexml_tests("t/theorem", 8 | requires=>{ntheorem=>'ntheorem.std'}); 9 | 10 | -------------------------------------------------------------------------------- /t/56_ams.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | latexml_tests("t/ams"); 8 | 9 | -------------------------------------------------------------------------------- /t/65_graphics.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | latexml_tests("t/graphics", 8 | requires=>{colors=>'dvipsnam.def', 9 | xcolors=>'dvipsnam.def'}); 10 | -------------------------------------------------------------------------------- /t/70_parse.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | latexml_tests("t/parse"); 8 | -------------------------------------------------------------------------------- /t/80_complex.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | latexml_tests("t/complex"); 8 | 9 | -------------------------------------------------------------------------------- /t/81_babel.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | latexml_tests("t/babel", 8 | requires=>{'*'=>['babel.sty','babel.def'], 9 | numprints=>'numprint.sty', 10 | german=>'germanb.ldf', 11 | greek=>['greek.ldf','lgrenc.def'], 12 | french=>['frenchb.ldf','numprint.sty'], 13 | page545=>['germanb.ldf','frenchb.ldf']}); 14 | -------------------------------------------------------------------------------- /t/90_latexmlpost.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML Postprocessing 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | # For each test $name there should be $name.xml and $name-post.xml 8 | # (the latter from a previous `good' run of 9 | # latexmlpost --dest=$name-post.xml --keepXMath --pmml --noscan --nocrossref $name 10 | #). 11 | 12 | latexml_tests("t/post"); 13 | -------------------------------------------------------------------------------- /t/91_latexmlc_api.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML Client-Server processing 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | # For each test $name there should be $name.xml and $name.log 8 | # (the latter from a previous `good' run of 9 | # latexmlc {$triggers} $name 10 | #). 11 | 12 | latexml_tests('t/daemon/api'); 13 | 14 | #********************************************************************** 15 | 1; 16 | -------------------------------------------------------------------------------- /t/92_profiles.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML Client-Server processing 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | # For each test $name there should be $name.xml and $name.log 8 | # (the latter from a previous `good' run of 9 | # latexmlc {$triggers} $name 10 | #). 11 | 12 | latexml_tests('t/daemon/profiles', 13 | requires=>{fragment=>'dvipsnam.def',math=>'dvipsnam.def'}); 14 | 15 | #********************************************************************** 16 | 1; 17 | -------------------------------------------------------------------------------- /t/93_formats.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML Client-Server processing 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | # For each test $name there should be $name.xml and $name.log 8 | # (the latter from a previous `good' run of 9 | # latexmlc {$triggers} $name 10 | #). 11 | 12 | latexml_tests('t/daemon/formats'); 13 | 14 | #********************************************************************** 15 | 1; 16 | -------------------------------------------------------------------------------- /t/94_runtimes.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML Client-Server processing 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | # For each test $name there should be $name.xml and $name.log 8 | # (the latter from a previous `good' run of 9 | # latexmlc {$triggers} $name 10 | #). 11 | 12 | latexml_tests('t/daemon/runtimes', 13 | requires => { timeout => 'needs to be rewritten' }); 14 | #********************************************************************** 15 | 1; 16 | -------------------------------------------------------------------------------- /t/95_complex_config.t: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | #********************************************************************** 3 | # Test cases for LaTeXML Client-Server processing 4 | #********************************************************************** 5 | use LaTeXML::Util::Test; 6 | 7 | # For each test $name there should be $name.xml and $name.log 8 | # (the latter from a previous `good' run of 9 | # latexmlc {$triggers} $name 10 | #). 11 | 12 | latexml_tests('t/daemon/complex'); 13 | 14 | #********************************************************************** 15 | 1; 16 | -------------------------------------------------------------------------------- /t/alignment/algx.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/alignment/algx.pdf -------------------------------------------------------------------------------- /t/alignment/algx.tex: -------------------------------------------------------------------------------- 1 | \documentclass{book} 2 | \usepackage{algorithm} 3 | \usepackage{algpseudocode} 4 | \begin{document} 5 | \begin{algorithmic}[1] 6 | \Procedure{Proc}{$a,b$} 7 | \State\Return{7} 8 | \EndProcedure 9 | \end{algorithmic} 10 | 11 | \begin{algorithm} 12 | \caption{Euclid's algorithm}\label{euclid} 13 | \begin{algorithmic}[1] 14 | \Procedure{Euclid}{$a,b$}\Comment{The g.c.d. of a and b} 15 | \State $r\gets a\bmod b$ 16 | \While{$r\not=0$}\Comment{We have the answer if r is 0} 17 | \State $a\gets b$ 18 | \State $b\gets r$ 19 | \State $r\gets a\bmod b$ 20 | \EndWhile\label{euclidendwhile} 21 | \State \textbf{return} $b$\Comment{The gcd is b} 22 | \EndProcedure 23 | \end{algorithmic} 24 | \end{algorithm} 25 | \end{document} 26 | -------------------------------------------------------------------------------- /t/alignment/any.sty.ltxml: -------------------------------------------------------------------------------- 1 | # -*- CPERL -*- 2 | package LaTeXML::Package::Pool; 3 | use strict; 4 | use LaTeXML::Package; 5 | 6 | DefConstructor('\container{}',"#1"); 7 | DefConstructor('\foo',""); 8 | 9 | 1; 10 | -------------------------------------------------------------------------------- /t/alignment/array.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/alignment/array.pdf -------------------------------------------------------------------------------- /t/alignment/badeqnarray.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/alignment/badeqnarray.pdf -------------------------------------------------------------------------------- /t/alignment/badeqnarray.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | \paragraph{Normal Usage} 4 | \begin{eqnarray*} 5 | a&=&b+c\\ 6 | d&=&e+f+g\\ 7 | \end{eqnarray*} 8 | \paragraph{gather alternative (single column misuse)} 9 | \begin{eqnarray*} 10 | a=b+c&&\\ 11 | d=e+f+g&&\\ 12 | \end{eqnarray*} 13 | \begin{eqnarray*} 14 | &a=b+c&\\ 15 | &d=e+f+g&\\ 16 | \end{eqnarray*} 17 | \begin{eqnarray*} 18 | &&a=b+c\\ 19 | &&d=e+f+g\\ 20 | \end{eqnarray*} 21 | \paragraph{Awkward continuations} 22 | \begin{eqnarray*} 23 | a=b+c&&\\ 24 | =e+f+g&&\\ 25 | \end{eqnarray*} 26 | \begin{eqnarray*} 27 | &a=b+c&\\ 28 | &=e+f+g&\\ 29 | \end{eqnarray*} 30 | \begin{eqnarray*} 31 | &&a=b+c\\ 32 | &&=e+f+g\\ 33 | \end{eqnarray*} 34 | 35 | 36 | \end{document} -------------------------------------------------------------------------------- /t/alignment/colortbls.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/alignment/colortbls.pdf -------------------------------------------------------------------------------- /t/alignment/eqnarray.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/alignment/eqnarray.pdf -------------------------------------------------------------------------------- /t/alignment/eqnarray.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | \begin{eqnarray} 4 | x & = & 17y \label{e1}\\ 5 | y & > & a + b + c + d + e + f + g + h + i + j + \nonumber \\ 6 | & & k + l + m + n + o + p \label{e2} \\ 7 | \end{eqnarray} 8 | 9 | \begin{eqnarray} 10 | x & = & 17y \label{e3}\\ 11 | y & > & a + b + c + d + e + f + g + h + i + j + \nonumber \\ 12 | & & k + l + m + n + o + p \label{e4} 13 | \end{eqnarray} 14 | 15 | \begin{eqnarray*} 16 | x & \ll & y+i + \cdots + y_n \\ 17 | & \leq & z 18 | \end{eqnarray*} 19 | 20 | \begin{eqnarray*} 21 | y & > & a + b + c + d + e + f + g + h + i + j\\ 22 | & & \mbox{} + k + l + m + n + o + p 23 | \end{eqnarray*} 24 | 25 | \begin{eqnarray*} 26 | \lefteqn{w+x+y+z=}\\ 27 | & & a + b + c + d + e + f + g + h + i + j + \\ 28 | & & k + l + m + n + o + p 29 | \end{eqnarray*} 30 | 31 | \end{document} 32 | -------------------------------------------------------------------------------- /t/alignment/foo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/alignment/foo.png -------------------------------------------------------------------------------- /t/alignment/halign.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/alignment/halign.pdf -------------------------------------------------------------------------------- /t/alignment/halign.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | \tabskip=1em 4 | \halign{\hfil [u1]#[v1]\hfil&\hfil [u2]#[v2]\hfil&\hfil [u3]#[v3]\hfil\cr 5 | a1& a2& a3\cr 6 | \omit a1& a2& a3\cr 7 | \omit a1\span a2& a3\cr 8 | \omit a1\span a2\span\omit a3\cr 9 | \omit\span\omit a2 \span\omit a3\cr 10 | \omit\span\omit\span\omit a3\cr 11 | } 12 | \end{document} 13 | -------------------------------------------------------------------------------- /t/alignment/halignatt.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/alignment/halignatt.pdf -------------------------------------------------------------------------------- /t/alignment/halignatt.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | % From TeX Book, p247 4 | \vbox{\tabskip=0pt \offinterlineskip 5 | \def\tablerule{\noalign{\hrule}} 6 | %\halign to 5in{\strut#&\vrule#\tabskip=1em plus2em& 7 | \halign{\strut#&\vrule#\tabskip=1em plus2em& 8 | \hfil#& \vrule#& \hfil#\hfil& \vrule#& 9 | \hfil#& \vrule#\tabskip=0pt\cr\tablerule 10 | &&\multispan5\hfil AT\&T Common Stock\hfil&\cr\tablerule 11 | &&\omit\hidewidth Year\hidewidth&& 12 | \omit\hidewidth Price\hidewidth&& 13 | \omit\hidewidth Dividend\hidewidth&\cr\tablerule 14 | &&1971&&41--54&&\$2.60&\cr\tablerule 15 | && 2&&41--54&&2.70&\cr\tablerule 16 | && 3&&46--55&&2.87&\cr\tablerule 17 | && 4&&40--53&&3.24&\cr\tablerule 18 | && 5&&45--52&&3.40&\cr\tablerule 19 | && 6&&51--59&&.95\rlap*&\cr\tablerule \noalign{\smallskip} 20 | &\multispan7* (first quarter only)\hfil\cr}} 21 | \end{document} 22 | -------------------------------------------------------------------------------- /t/alignment/listing.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/alignment/listing.pdf -------------------------------------------------------------------------------- /t/alignment/longtable.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/alignment/longtable.pdf -------------------------------------------------------------------------------- /t/alignment/longtable.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{latexml} 3 | \usepackage{array} 4 | \usepackage{longtable} 5 | \begin{document} 6 | \begin{longtable}{>{\lxTableRowHead}lll} 7 | \caption{The ISOGRK3 entity set}\\ 8 | \bfseries Entity&\bfseries Unicode Name&\bfseries Unicode\\ \hline 9 | \endfirsthead 10 | \bfseries Entity&\bfseries Unicode Name&\bfseries Unicode\\ \hline 11 | \endhead 12 | \hline \multicolumn{3}{r}{\emph{Continued on next page}}\\ 13 | \endfoot 14 | \hline 15 | \endlastfoot 16 | alpha & GREEK SMALL LETTER ALPHA & 03B1\\ 17 | beta & GREEK SMALL LETTER BETA & 03B2\\ 18 | chi & GREEK SMALL LETTER CHI & 03C7\\ 19 | Delta & GREEK CAPITAL LETTER DELTA & 0394\\ 20 | delta & GREEK SMALL LETTER DELTA & 03B4\\ 21 | epsi & GREEK SMALL LETTER EPSILON & 03B5\\ 22 | epsis & GREEK LUNATE EPSILON SYMBOL & 03F5\\ 23 | \end{longtable} 24 | \end{document} 25 | -------------------------------------------------------------------------------- /t/alignment/mathmix.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/alignment/mathmix.pdf -------------------------------------------------------------------------------- /t/alignment/mathmix.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | \section{Normal Use} 4 | \begin{tabular}{cc} 5 | t & $m$ 6 | \end{tabular} 7 | 8 | \[\begin{tabular}{cc} 9 | t & $m$ 10 | \end{tabular}\] 11 | 12 | \section{Perverse Use} 13 | \[ \begin{array}{cc} 14 | m & $t$ 15 | \end{array}\] 16 | 17 | \[ \begin{array}{cc} 18 | \mbox{t} & \mbox{$m$} 19 | \end{array}\] 20 | 21 | \[ \begin{array}{cc} 22 | \mbox{t} & \mbox{$m$, $n$} 23 | \end{array}\] 24 | 25 | \section{Very Perverse} 26 | \[ \begin{array}{cc} 27 | m & $\hbox{$m$}$ 28 | \end{array}\] 29 | 30 | \end{document} 31 | -------------------------------------------------------------------------------- /t/alignment/morse.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/alignment/morse.pdf -------------------------------------------------------------------------------- /t/alignment/morse.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{array} 3 | \begin{document} 4 | 5 | \begin{tabular}{|l|>{\tt}l||l|>{\tt}l||l|>{\tt}l||l|>{\tt}l||l|>{\tt}l|}\hline 6 | A & .- & B & -... & C & -.-. & D & -.. & E & .\\ 7 | F & ..-. & G & --. & H & .... & I & .. & J & .---\\ 8 | K & -.- & L & .-.. & M & -- & N & -. & O & --- \\ 9 | P & .--. & Q & --.- & R & .-. & S & ... & T & - \\ 10 | U & ..- & V & ...- & W & .-- & X & -..- & Y & -.-- \\ 11 | Z & --.. & & & & & & & & 12 | \\\hline 13 | 1 & .---- & 2 & ..--- & 3 & ...-- & 4 & ....- & 5 & .....\\ 14 | 6 & -.... & 7 & --... & 8 & ---.. & 9 & ----. & 0 & ----- 15 | \\\hline 16 | \end{tabular} 17 | 18 | \end{document} 19 | -------------------------------------------------------------------------------- /t/alignment/plainmath.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/alignment/plainmath.pdf -------------------------------------------------------------------------------- /t/alignment/plainmath.tex: -------------------------------------------------------------------------------- 1 | 2 | $$ \matrix{a & b \cr c & d} $$ 3 | $$ \bordermatrix{a & b \cr c & d} $$ 4 | $$ \pmatrix{a & b \cr c & d} $$ 5 | 6 | $$ s(x) = \cases{+1 & whatever\cr -1 & $x<0$ \cr 0} $$ 7 | 8 | $$ \eqalign{ x &\ll y+i + \cdots + y_n \cr 9 | &\leq z } $$ 10 | $$ \eqalign{ x + y + z &\ll y+i + \cdots + y_n \cr 11 | & \leq q } $$ 12 | $$ \eqalignno{ x &\ll y+i + \cdots + y_n & (x)\cr 13 | & \leq z } $$ 14 | $$ \leqalignno{ x &\ll y+i + \cdots + y_n & (x)\cr 15 | & \leq z } $$ 16 | 17 | 18 | \bye 19 | -------------------------------------------------------------------------------- /t/alignment/supertabular.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/alignment/supertabular.pdf -------------------------------------------------------------------------------- /t/alignment/tabtab.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/alignment/tabtab.pdf -------------------------------------------------------------------------------- /t/alignment/tabtab.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | \begin{tabular}{lll} 4 | aa & bb & \begin{tabular}{rr} c & d \\ e & f \end{tabular} \\ 5 | aa & bb & \begin{tabular}{rr} c & d \\ e & f \end{tabular} \\ 6 | \end{tabular} 7 | 8 | \end{document} 9 | -------------------------------------------------------------------------------- /t/alignment/tabular.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/alignment/tabular.pdf -------------------------------------------------------------------------------- /t/alignment/tabular.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | % Tabular example from LaTeX manual, p.205 3 | \begin{document} 4 | \begin{tabular}{|r||r@{--}l|p{1.25in}|} 5 | \hline 6 | \multicolumn{4}{|c|}{GG\&A Hoofed Stock} 7 | \\ \hline\hline 8 | &\multicolumn{2}{c|}{Price}& \\ \cline{2-3} 9 | \multicolumn{1}{|c||}{Year} 10 | & \multicolumn{1}{r@{\,\vline\,}}{low} 11 | & high & \multicolumn{1}{c|}{Comments} 12 | \\ \hline 13 | 1971 & 97 & 245 & Bad year.\\ \hline 14 | 72 & 245 & 245 & Light trading due to a heavy winter. \\ \hline 15 | 73 & 245 & 2001 & No gnus was very good gnus this year. \\ \hline 16 | \end{tabular} 17 | \end{document} 18 | -------------------------------------------------------------------------------- /t/alignment/tabularstar.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/alignment/tabularstar.pdf -------------------------------------------------------------------------------- /t/alignment/tabularstar.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | \begin{tabular*}{2in}[t]{lr} 4 | a & b\\ 5 | c & d\\ 6 | \end{tabular*} 7 | \end{document} 8 | -------------------------------------------------------------------------------- /t/alignment/tabularstar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | a 12 | b 13 | 14 | 15 | c 16 | d 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /t/alignment/vmode.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/alignment/vmode.pdf -------------------------------------------------------------------------------- /t/ams/amsdisplay.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/ams/amsdisplay.pdf -------------------------------------------------------------------------------- /t/ams/amsdisplay.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{amsmath} 3 | \begin{document} 4 | \begin{equation*} 5 | a=b 6 | \end{equation*} 7 | \begin{equation} 8 | a=b 9 | \end{equation} 10 | \begin{equation}\label{xx} 11 | \begin{split} 12 | a& =b+c-c\\ 13 | & \quad +e-f\\ 14 | & =g+h\\ 15 | & =i 16 | \end{split} 17 | \end{equation} 18 | \begin{multline} 19 | a+b+c+d+e+f\\ 20 | +i+j+k+l+m+n 21 | \end{multline} 22 | \begin{gather} 23 | a_1=b_1+c_1\\ 24 | a_2=b_2+c_2-d_2+e_2 25 | \end{gather} 26 | \begin{align} 27 | a_1& =b_1+c_1\\ 28 | a_2& =b_2+c_2-d_2+e_2 29 | \end{align} 30 | \begin{align} 31 | a_{11}& =b_{11}& 32 | a_{12}& =b_{12}\\ 33 | a_{21}& =b_{21}& 34 | a_{22}& =b_{22}+c_{22}\\ 35 | \end{align} 36 | \begin{flalign} 37 | a_{11}& =b_{11}& 38 | a_{12}& =b_{12}\\ 39 | a_{21}& =b_{21}& 40 | a_{22}& =b_{22}+c_{22}\\ 41 | \end{flalign} 42 | \end{document} 43 | -------------------------------------------------------------------------------- /t/ams/cd.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/ams/cd.pdf -------------------------------------------------------------------------------- /t/ams/cd.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{amsmath} 3 | \usepackage{amscd} 4 | \newcommand{\End}{\operatorname{End}} 5 | \newcommand{\cov}{\operatorname{cov}} 6 | \newcommand{\non}{\operatorname{non}} 7 | \newcommand{\add}{\operatorname{add}} 8 | \newcommand{\cf}{\operatorname{cf}} 9 | \begin{document} 10 | \begin{equation} 11 | \begin{CD} 12 | S^{{\mathcal{W}}_\Lambda}\otimes T @>j>> T\\ 13 | @VVV @VV{\End P}V\\ 14 | (S\otimes T)/I @= (Z\otimes T)/J 15 | \end{CD} 16 | \end{equation} 17 | \begin{equation} 18 | \begin{CD} 19 | \cov(\mathcal{L}) @>>> \non(\mathcal{K}) @>>> \cf(\mathcal{K}) @>>> \cf(\mathcal{L})\\ 20 | @VVV @AAA @AAA @VVV\\ 21 | \add(\mathcal{L}) @>>> \add(\mathcal{K}) @>>> \cov(\mathcal{K}) @>>> \non(\mathcal{L}) 22 | \end{CD} 23 | \end{equation} 24 | \end{document} 25 | -------------------------------------------------------------------------------- /t/ams/genfracs.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/ams/genfracs.pdf -------------------------------------------------------------------------------- /t/ams/mathtools.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/ams/mathtools.pdf -------------------------------------------------------------------------------- /t/ams/matrix.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/ams/matrix.pdf -------------------------------------------------------------------------------- /t/ams/matrix.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{amsmath} 3 | \begin{document} 4 | \[ \begin{matrix} a & b \\ c \\ \end{matrix} \] 5 | \[ \begin{pmatrix} a & b \\ c \\ \end{pmatrix} \] 6 | \[ \begin{bmatrix} a & b \\ c \\ \end{bmatrix} \] 7 | \[ \begin{Bmatrix} a & b \\ c \\ \end{Bmatrix} \] 8 | \[ \begin{vmatrix} a & b \\ c \\ \end{vmatrix} \] 9 | \[ \begin{Vmatrix} a & b \\ c \\ \end{Vmatrix} \] 10 | \[ \begin{smallmatrix} a & b \\ c \\ \end{smallmatrix} \] 11 | \end{document} 12 | -------------------------------------------------------------------------------- /t/ams/sideset.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/ams/sideset.pdf -------------------------------------------------------------------------------- /t/babel/french.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/babel/french.pdf -------------------------------------------------------------------------------- /t/babel/french.tex: -------------------------------------------------------------------------------- 1 | \documentclass{report} 2 | \usepackage[T1]{fontenc} 3 | \usepackage{textcomp} 4 | \usepackage[french]{babel} 5 | \usepackage{numprint} 6 | \begin{document} 7 | \title{Francais} 8 | \author{Fran\c{c}ois Reno} 9 | %\date{\today} 10 | \maketitle 11 | \chapter{Oui!} 12 | 13 | Different Spacing :;!? 14 | 15 | \No \no 16 | 17 | \bsc{stuff} 18 | 19 | \primo, \secundo, \tertio, \quarto; \fprimo), \fsecundo), \ftertio), \fquarto). 20 | 21 | \ieme, \iemes, \ier, \iers, \iere, \ieres 22 | 23 | \FrenchEnumerate{3} 24 | \FrenchPopularEnumerate{3} 25 | 26 | \AE \ae \OE \oe \at \circonflexe \tild \boi \degre 27 | 28 | \section{Markup} 29 | \og guillemets \fg{} 30 | 31 | M\up{me}, D\up{r} Durand 32 | 33 | 1\ier{}, 1\iere{}, 1\ieres{}; 2\ieme{}, 4\iemes{} 34 | 35 | \No 1, \no 2 36 | 37 | 20~\degres C, 45\degres 38 | 39 | M. \bsc{Durand} 40 | 41 | \nombre{1234,56789} 42 | 43 | \end{document} 44 | 45 | -------------------------------------------------------------------------------- /t/babel/german.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/babel/german.pdf -------------------------------------------------------------------------------- /t/babel/german.tex: -------------------------------------------------------------------------------- 1 | \documentclass{report} 2 | \usepackage[german]{babel} 3 | \begin{document} 4 | % Curious that frontmatter must be IN document to get language shorthands! 5 | \title{Deutsch Test} 6 | \author{Frau Bl"ucher} 7 | %\date{\today} 8 | \maketitle 9 | \chapter{Some stuff} 10 | Uml"a"ute. %Heute ist \today. 11 | \begin{table} 12 | Eine Tabelle 13 | \caption{Um ein Tabelle.} 14 | \end{table} 15 | 16 | Umlaut "o? Ja! \mdqoff Jetzt nicht "o. \mdqon "o ist wieder da. 17 | 18 | 19 | \dj \DJ, \ij \IJ 20 | 21 | \flqq drausen \flq drinnen\frq\ drausen, wieder\frqq 22 | 23 | \glqq drausen \glq drinnen\grq\ drausen, wieder\grqq 24 | 25 | \guillemotleft drausen \guilsinglleft drinnen\guilsinglright\ drausen, wieder\guillemotright 26 | 27 | "` "a "o "u "e "i "s "z "c "f "l "m "n "p "r "t "' 28 | 29 | "< "A "O "U "E "I "S "Z "C "F "L "M "N "P "R "T "> 30 | 31 | "" "~ "= 32 | 33 | \uppercase{"uml"aute} 34 | \lowercase{"UML"AUTE} 35 | 36 | 37 | \MakeUppercase{"uml"aute} 38 | \MakeLowercase{"UML"AUTE} 39 | \end{document} 40 | -------------------------------------------------------------------------------- /t/babel/greek.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/babel/greek.pdf -------------------------------------------------------------------------------- /t/babel/numprints.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/babel/numprints.pdf -------------------------------------------------------------------------------- /t/babel/page545.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/babel/page545.pdf -------------------------------------------------------------------------------- /t/babel/page545.tex: -------------------------------------------------------------------------------- 1 | \documentclass[german]{article} 2 | \usepackage[french,english]{babel} 3 | \begin{document} 4 | \raggedright 5 | The expansion of fixed document element names 6 | depends on the language, e.g., in English 7 | we have ``\refname'' or ``\chaptername''. 8 | 9 | \selectlanguage{german} Auf Deutsch ergibt sich 10 | ``\refname'' oder ``\chaptername''. 11 | 12 | \begin{otherlanguage}{french} Voice en 13 | fran\c cais: ``\refname'' ou ``\chaptername''. 14 | 15 | \foreignlanguage{english}{But in short 16 | phrases ``\refname'' does not change!} 17 | \end{otherlanguage} 18 | \end{document} 19 | -------------------------------------------------------------------------------- /t/complex/aliceblog.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/complex/aliceblog.pdf -------------------------------------------------------------------------------- /t/complex/hypertest.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/complex/hypertest.pdf -------------------------------------------------------------------------------- /t/complex/sunset.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/complex/sunset.jpg -------------------------------------------------------------------------------- /t/complex/xii.dtd: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /t/complex/xii.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/complex/xii.pdf -------------------------------------------------------------------------------- /t/complex/xii.tex: -------------------------------------------------------------------------------- 1 | 2 | \let~\catcode~`76~`A13~`F1~`j00~`P2jdefA71F~`7113jdefPALLF 3 | PA''FwPA;;FPAZZFLaLPA//71F71iPAHHFLPAzzFenPASSFthP;A$$FevP 4 | A@@FfPARR717273F737271P;ADDFRgniPAWW71FPATTFvePA**FstRsamP 5 | AGGFRruoPAqq71.72.F717271PAYY7172F727171PA??Fi*LmPA&&71jfi 6 | Fjfi71PAVVFjbigskipRPWGAUU71727374 75,76Fjpar71727375Djifx 7 | :76jelse&U76jfiPLAKK7172F71l7271PAXX71FVLnOSeL71SLRyadR@oL 8 | RrhC?yLRurtKFeLPFovPgaTLtReRomL;PABB71 72,73:Fjif.73.jelse 9 | B73:jfiXF71PU71 72,73:PWs;AMM71F71diPAJJFRdriPAQQFRsreLPAI 10 | I71Fo71dPA!!FRgiePBt'el@ lTLqdrYmu.Q.,Ke;vz vzLqpip.Q.,tz; 11 | ;Lql.IrsZ.eap,qn.i. i.eLlMaesLdRcna,;!;h htLqm.MRasZ.ilk,% 12 | s$;z zLqs'.ansZ.Ymi,/sx ;LYegseZRyal,@i;@ TLRlogdLrDsW,@;G 13 | LcYlaDLbJsW,SWXJW ree @rzchLhzsW,;WERcesInW qt.'oL.Rtrul;e 14 | doTsW,Wk;Rri@stW aHAHHFndZPpqar.tridgeLinZpe.LtYer.W,:jbye 15 | -------------------------------------------------------------------------------- /t/daemon/api/port.spec: -------------------------------------------------------------------------------- 1 | whatsin = fragment 2 | whatsout = math 3 | source = ../fragment.tex 4 | port = 3332 5 | pmml = -------------------------------------------------------------------------------- /t/daemon/api/port.status: -------------------------------------------------------------------------------- 1 | No obvious problems 2 | Wrote port.test.xml 3 | -------------------------------------------------------------------------------- /t/daemon/api/port.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 1 6 | + 7 | 2 8 | 9 | = 10 | 3 11 | 12 | 13 | -------------------------------------------------------------------------------- /t/daemon/citations.tex: -------------------------------------------------------------------------------- 1 | A sample citation \cite{abramowitz+stegun}, then point to bibliography: 2 | 3 | \bibliographystyle{alpha} 4 | \bibliography{tiny} 5 | -------------------------------------------------------------------------------- /t/daemon/complex/exhaustive.spec: -------------------------------------------------------------------------------- 1 | preload = article.cls 2 | preload = LaTeX.pool 3 | embed = 4 | whatsin = fragment 5 | source = ../fragment.tex 6 | preamble = ../pre.tex 7 | postamble = ../post.tex 8 | base = ./ 9 | path = ../ 10 | quiet = 11 | verbose = 12 | strict = 13 | xml = 14 | autoflush = 5 15 | timeout = 10 16 | includestyles = 17 | inputencoding = iso-8859-1 18 | post = 19 | pmml = 20 | cmml = 21 | xmath = 22 | mathtex = 23 | -------------------------------------------------------------------------------- /t/daemon/complex/exhaustive.status: -------------------------------------------------------------------------------- 1 | No obvious problems 2 | Wrote exhaustive.test.xml 3 | -------------------------------------------------------------------------------- /t/daemon/document.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | 4 | Some structure: 5 | \section{One} 6 | Hm, 7 | \begin{itemize} 8 | \item $a>b$ 9 | \item second item 10 | \end{itemize} 11 | 12 | 13 | \end{document} 14 | -------------------------------------------------------------------------------- /t/daemon/formats/citation.spec: -------------------------------------------------------------------------------- 1 | source = ../citations.tex 2 | whatsin = fragment 3 | whatsout = document 4 | format = xhtml 5 | pmml = 6 | bibliography = makebib.xml -------------------------------------------------------------------------------- /t/daemon/formats/citation.status: -------------------------------------------------------------------------------- 1 | No obvious problems 2 | Wrote citation.test.xml 3 | -------------------------------------------------------------------------------- /t/daemon/formats/citationraw.spec: -------------------------------------------------------------------------------- 1 | source = ../citations.tex 2 | whatsin = fragment 3 | whatsout = document 4 | format = xhtml 5 | pmml = -------------------------------------------------------------------------------- /t/daemon/formats/citationraw.status: -------------------------------------------------------------------------------- 1 | No obvious problems 2 | Wrote citationraw.test.xml 3 | -------------------------------------------------------------------------------- /t/daemon/formats/makebib.spec: -------------------------------------------------------------------------------- 1 | source = ../tiny.bib -------------------------------------------------------------------------------- /t/daemon/formats/makebib.status: -------------------------------------------------------------------------------- 1 | No obvious problems 2 | Wrote makebib.test.xml 3 | -------------------------------------------------------------------------------- /t/daemon/formats/mixedmath.spec: -------------------------------------------------------------------------------- 1 | whatsin = document 2 | whatsout = document 3 | source = ../mixedmath.tex 4 | pmml = 5 | cmml = 6 | format = xhtml 7 | -------------------------------------------------------------------------------- /t/daemon/formats/mixedmath.status: -------------------------------------------------------------------------------- 1 | No obvious problems 2 | Wrote mixedmath.test.xml 3 | -------------------------------------------------------------------------------- /t/daemon/formats/noparse.spec: -------------------------------------------------------------------------------- 1 | whatsin = fragment 2 | whatsout = fragment 3 | source = ../fragment.tex 4 | noparse = -------------------------------------------------------------------------------- /t/daemon/formats/noparse.status: -------------------------------------------------------------------------------- 1 | No obvious problems 2 | Wrote noparse.test.xml 3 | -------------------------------------------------------------------------------- /t/daemon/formats/noparse.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

Here is a sample fragment:

9 |
10 | 11 |

1+2=3

12 |
13 |
14 | -------------------------------------------------------------------------------- /t/daemon/formats/parallel-math-cmml.spec: -------------------------------------------------------------------------------- 1 | whatsin = fragment 2 | whatsout = math 3 | source = ../fragment.tex 4 | cmml = 5 | om = 6 | pmml = 7 | xmath = 8 | mathtex = 9 | format = xhtml 10 | -------------------------------------------------------------------------------- /t/daemon/formats/parallel-math-cmml.status: -------------------------------------------------------------------------------- 1 | No obvious problems 2 | Wrote parallel-math-cmml.test.xml 3 | -------------------------------------------------------------------------------- /t/daemon/formats/parallel-math-om.spec: -------------------------------------------------------------------------------- 1 | whatsin = fragment 2 | whatsout = math 3 | source = ../fragment.tex 4 | om = 5 | pmml = 6 | cmml = 7 | xmath = 8 | mathtex = 9 | format = xml 10 | -------------------------------------------------------------------------------- /t/daemon/formats/parallel-math-om.status: -------------------------------------------------------------------------------- 1 | No obvious problems 2 | Wrote parallel-math-om.test.xml 3 | -------------------------------------------------------------------------------- /t/daemon/formats/parallel-math-pmml.spec: -------------------------------------------------------------------------------- 1 | whatsin = fragment 2 | whatsout = math 3 | source = ../fragment.tex 4 | pmml = 5 | cmml = 6 | om = 7 | xmath = 8 | mathtex = 9 | format = xhtml 10 | -------------------------------------------------------------------------------- /t/daemon/formats/parallel-math-pmml.status: -------------------------------------------------------------------------------- 1 | No obvious problems 2 | Wrote parallel-math-pmml.test.xml 3 | -------------------------------------------------------------------------------- /t/daemon/formats/parallel-math-xmath.spec: -------------------------------------------------------------------------------- 1 | whatsin = fragment 2 | whatsout = math 3 | source = ../fragment.tex 4 | xmath = 5 | pmml = 6 | cmml = 7 | om = 8 | mathtex = 9 | format = xml 10 | -------------------------------------------------------------------------------- /t/daemon/formats/parallel-math-xmath.status: -------------------------------------------------------------------------------- 1 | No obvious problems 2 | Wrote parallel-math-xmath.test.xml 3 | -------------------------------------------------------------------------------- /t/daemon/fragment.tex: -------------------------------------------------------------------------------- 1 | Here is a sample fragment: 2 | 3 | 4 | $1+2=3$ 5 | -------------------------------------------------------------------------------- /t/daemon/mixedmath.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{latexml} 3 | \usepackage{amsmath} 4 | \lxDeclare[role=ID]{$a$} 5 | \lxDeclare[role=ID]{$b$} 6 | \lxDeclare[role=ID]{$\Phi$} 7 | \lxDeclare[role=ID]{$\Psi$} 8 | \lxDeclare[role=ID]{$\mathcal{H}$} 9 | \lxDeclare[role=FUNCTION]{$F$} 10 | \begin{document} 11 | \[ a+b \] 12 | \[ F(a) \] 13 | \[ \frac{1}{(1+a_0)} \] 14 | \[ \int_a^b F(x) dx \] 15 | \[ a+F(a,b) \] 16 | \[ F(a,b) \] 17 | \[ F(a) + \binom{a}{b} \] 18 | \[ \left\langle\Psi\middle|\mathcal{H}\middle|\Phi\right\rangle 19 | + \defint{a}{b}{F(x)}{x} \] 20 | \[ \baddefint{a}{b}{F(x)}{x} \] 21 | \[ \binom{F(a)}{a+b} \] 22 | \end{document} -------------------------------------------------------------------------------- /t/daemon/post.tex: -------------------------------------------------------------------------------- 1 | 2 | Postamble file loaded. 3 | \end{document} 4 | -------------------------------------------------------------------------------- /t/daemon/pre.tex: -------------------------------------------------------------------------------- 1 | \usepackage{color} 2 | \usepackage{amsthm} 3 | 4 | \begin{document} 5 | 6 | Preamble file loaded 7 | 8 | -------------------------------------------------------------------------------- /t/daemon/profiles/default.spec: -------------------------------------------------------------------------------- 1 | source = ../document.tex -------------------------------------------------------------------------------- /t/daemon/profiles/default.status: -------------------------------------------------------------------------------- 1 | No obvious problems 2 | Wrote default.test.xml 3 | -------------------------------------------------------------------------------- /t/daemon/profiles/fragment.spec: -------------------------------------------------------------------------------- 1 | profile = fragment 2 | source = ../fragment.tex -------------------------------------------------------------------------------- /t/daemon/profiles/fragment.status: -------------------------------------------------------------------------------- 1 | No obvious problems 2 | Wrote fragment.test.xml 3 | -------------------------------------------------------------------------------- /t/daemon/profiles/math.spec: -------------------------------------------------------------------------------- 1 | profile = math 2 | source = literal:1+2=3 -------------------------------------------------------------------------------- /t/daemon/profiles/math.status: -------------------------------------------------------------------------------- 1 | No obvious problems 2 | Wrote math.test.xml 3 | -------------------------------------------------------------------------------- /t/daemon/profiles/standard.spec: -------------------------------------------------------------------------------- 1 | profile = standard 2 | source = ../document.tex -------------------------------------------------------------------------------- /t/daemon/profiles/standard.status: -------------------------------------------------------------------------------- 1 | No obvious problems 2 | Wrote standard.test.xml 3 | -------------------------------------------------------------------------------- /t/daemon/profiles/stex/stex.spec: -------------------------------------------------------------------------------- 1 | timeout=15 2 | profile=stex-module 3 | source=stex.tex -------------------------------------------------------------------------------- /t/daemon/profiles/stex/stex.status: -------------------------------------------------------------------------------- 1 | No obvious problems 2 | Wrote stex.test.xml 3 | -------------------------------------------------------------------------------- /t/daemon/profiles/stex/stex.tex: -------------------------------------------------------------------------------- 1 | \baseURI[.]{http://example.com} 2 | \begin{omgroup}[id=sec.reals]{Real Numbers} 3 | \begin{module}[id=reals] 4 | \symdef{RealNumbers}{\mathbb{R}} 5 | \symdef{absval}[1]{\mixfixi[p=2000]|{#1}|} 6 | \symdef{rfrac}[2]{\frac{#1}{#2}} 7 | 8 | \begin{definition}[id=reals.def] 9 | We denote the set of {\defii{real}{numbers}} we all know and love with 10 | $\RealNumbers$. 11 | \end{definition} 12 | 13 | \begin{definition}[id=absval.def] 14 | The absolute value $\absval{r}$ of a real number $r$. 15 | \end{definition} 16 | \end{module} 17 | \end{omgroup} 18 | %%% Local Variables: 19 | %%% mode: LaTeX 20 | %%% TeX-master: "all" 21 | %%% End: 22 | -------------------------------------------------------------------------------- /t/daemon/runtimes/timeout.spec: -------------------------------------------------------------------------------- 1 | # Timeout in 2 seconds, no file should be written 2 | timeout = 2 3 | whatsin = math 4 | whatsout = math 5 | source = literal:\def\foo{.\foo}\foo 6 | noparse = 7 | -------------------------------------------------------------------------------- /t/daemon/runtimes/timeout.status: -------------------------------------------------------------------------------- 1 | 1 fatal error 2 | Error! Did not write file timeout.test.xml 3 | -------------------------------------------------------------------------------- /t/daemon/tiny.bib: -------------------------------------------------------------------------------- 1 | @Book{abramowitz+stegun, 2 | author = "Milton {Abramowitz} and Irene A. {Stegun}", 3 | title = "Handbook of Mathematical Functions with 4 | Formulas, Graphs, and Mathematical Tables", 5 | publisher = "Dover", 6 | year = 1964, 7 | address = "New York", 8 | edition = "ninth Dover printing, tenth GPO printing" 9 | } -------------------------------------------------------------------------------- /t/digestion/box.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/digestion/box.pdf -------------------------------------------------------------------------------- /t/digestion/box.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \def\testbox#1{% 3 | \ifvoid#1 Box #1 is empty 4 | \else\ifhbox#1 Box #1 is horizontal 5 | \else\ifvbox#1 Box #1 is vertical 6 | \fi\fi\fi 7 | \par} 8 | \begin{document} 9 | \setbox100=\hbox{Goodbye} 10 | \testbox{100} 11 | \setbox101=\hbox{Hello} 12 | \testbox{101} 13 | \setbox102=\vbox{\box101,\box100} 14 | \testbox{102} 15 | 16 | Using... 17 | \box102 18 | 19 | \setbox103=\hbox{} 20 | \testbox{103} 21 | 22 | \testbox{104} 23 | 24 | \[ a + \hbox{a}\] 25 | \[ a + \vbox{a}\] 26 | 27 | \[ a + \vbox{\hbox{a}\hbox{a}} \] 28 | \[ a + \vtop{\hbox{a}\hbox{a}} \] 29 | 30 | \[ a - \lower1ex\vtop{\hbox{a}} \] 31 | \[ a - \lower1ex\vbox{\hbox{a}} \] 32 | 33 | \[ a - \lower1ex\hbox{a} \] 34 | 35 | \def\mybox#1{\hbox{#1}} 36 | \[ a - \lower1ex\mybox{a} \] 37 | 38 | \end{document} 39 | -------------------------------------------------------------------------------- /t/digestion/chardefs.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/digestion/chardefs.pdf -------------------------------------------------------------------------------- /t/digestion/def.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/digestion/def.pdf -------------------------------------------------------------------------------- /t/digestion/def.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \def\foo#1{\textbf{#1}} 3 | \def\bar#1#{\textbf{#1}} 4 | \def\baz#{\textit{a b c} } 5 | \begin{document} 6 | Normal macro: \foo a b c {done} 7 | 8 | Funky macro: \bar a b c {done} 9 | 10 | Funkier macro: \baz {done} 11 | 12 | \end{document} 13 | -------------------------------------------------------------------------------- /t/digestion/def.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

Normal macro: a b c done

9 |
10 | 11 |

Funky macro: a b c done

12 |
13 | 14 |

Funkier macro: a b c done

15 |
16 |
17 | -------------------------------------------------------------------------------- /t/digestion/defaultunits.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/digestion/defaultunits.pdf -------------------------------------------------------------------------------- /t/digestion/defaultunits.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | % Example of \afterassignment from 3 | % http://texhacks.blogspot.com/2010/04/default-units.html 4 | \newdimen\foo 5 | \makeatletter 6 | \def\@defaultunits{\afterassignment\remove@to@nil}% 7 | \def\remove@to@nil#1\@nnil{}% 8 | \newcommand*\set[1]{\@defaultunits\foo#1pt\relax\@nnil} 9 | \makeatother 10 | \begin{document} 11 | Set with no units\set{10}; Now foo is \the\foo. 12 | 13 | Set with units\set{10ex}; Now foo is \the\foo. 14 | \end{document} 15 | -------------------------------------------------------------------------------- /t/digestion/defaultunits.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

Set with no units; Now foo is 10.0pt.

9 |
10 | 11 |

Set with units; Now foo is 43.0pt.

12 |
13 |
14 | -------------------------------------------------------------------------------- /t/digestion/dollar.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/digestion/dollar.pdf -------------------------------------------------------------------------------- /t/digestion/dollar.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | 4 | \hbox{text $math$ text} 5 | 6 | \hbox{text $$alsotext$$ text} 7 | 8 | Footnote\footnote{text $math$ text} 9 | Another\footnote{text $$displayedmath$$ text} 10 | 11 | Note that dollar inside equation, etc.~fails. 12 | % \[ math {\rm $text$ } math \] 13 | 14 | % \[ math $$math$$ math \] 15 | 16 | \mbox{text $math$ text} 17 | 18 | \mbox{text $$alsotext$$ text} 19 | 20 | \[ a + \mbox{text $math$ text} + c \] 21 | 22 | \[ a + \mbox{text $$alsotext$$ text} + c \] 23 | 24 | \[ a + \makebox{text $math$ text} + c \] 25 | 26 | \[ a + \makebox{text $$alsotext$$ text} + c \] 27 | 28 | Base\raisebox{1em}{text $math$ text} 29 | 30 | Base\raisebox{1em}{text $$alsotext$$ text} 31 | 32 | Base\shortstack{text\\ $math$\\ text} 33 | 34 | Base\shortstack{text\\$$alsotext$$\\ text} 35 | 36 | 37 | \end{document} 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /t/digestion/exists.data: -------------------------------------------------------------------------------- 1 | This file exists! 2 | line 2 3 | another line spaces 4 | %oddchars # & \foo 5 | \foo 6 | 7 | $x'$ 8 | line { in brackets 9 | still } continues 10 | last line. 11 | -------------------------------------------------------------------------------- /t/digestion/io.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/digestion/io.pdf -------------------------------------------------------------------------------- /t/digestion/primes.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/digestion/primes.pdf -------------------------------------------------------------------------------- /t/digestion/primes.tex: -------------------------------------------------------------------------------- 1 | 2 | % From the TeX Book, p. 218 3 | \newif\ifprime \newif\ifunknown % boolean variables 4 | \newcount\n \newcount\p \newcount\d \newcount\a % integer variables 5 | \def\primes#1{2,~3% assume that #1 is at least 3 6 | \n=#1 \advance\n by-2 % n more to go 7 | \p=5 % odd primes starting with p 8 | \loop\ifnum\n>0 \printifprime\advance\p by2 \repeat} 9 | \def\printp{, % we will invoke \printp if p is prime 10 | \ifnum\n=1 and~\fi % `and' precedes the last value 11 | \number\p \advance\n by -1 } 12 | \def\printifprime{\testprimality \ifprime\printp\fi} 13 | \def\testprimality{{\d=3 \global\primetrue 14 | \loop\trialdivision \ifunknown\advance\d by2 \repeat}} 15 | \def\trialdivision{\a=\p \divide\a by\d 16 | \ifnum\a>\d \unknowntrue\else\unknownfalse\fi 17 | \multiply\a by\d 18 | \ifnum\a=\p \global\primefalse\unknownfalse\fi 19 | } 20 | 21 | The first thirty prime numbers are \primes{30}. 22 | \bye 23 | -------------------------------------------------------------------------------- /t/digestion/primes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |

The first thirty prime numbers are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, and 113. 7 |

8 |
9 |
10 | -------------------------------------------------------------------------------- /t/digestion/testctr.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/digestion/testctr.pdf -------------------------------------------------------------------------------- /t/digestion/xargs.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/digestion/xargs.pdf -------------------------------------------------------------------------------- /t/digestion/xargs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

Hello World!!! xxX Hello World! Xxx

10 |
11 | 12 |

(x_1, …, x_n)(y_0, …, y_n)(z_1, …, z_m) (t_0, …, t_m)

13 |
14 | 15 |

“honey - “mustard”butterfly 16 | “The End”

17 |
18 | 19 |

Hello World!Bye World! Tree! Hello Forrest! Hello Sea! Lake!

20 |
21 | 22 |

Prefix: foo ** Prefix: bar **

23 |
24 |
25 | -------------------------------------------------------------------------------- /t/encoding/ansinew.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/ansinew.pdf -------------------------------------------------------------------------------- /t/encoding/ansinew.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/ansinew.tex -------------------------------------------------------------------------------- /t/encoding/applemac.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/applemac.pdf -------------------------------------------------------------------------------- /t/encoding/applemac.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/applemac.tex -------------------------------------------------------------------------------- /t/encoding/cp1250.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/cp1250.pdf -------------------------------------------------------------------------------- /t/encoding/cp1250.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/cp1250.tex -------------------------------------------------------------------------------- /t/encoding/cp1252.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/cp1252.pdf -------------------------------------------------------------------------------- /t/encoding/cp1252.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/cp1252.tex -------------------------------------------------------------------------------- /t/encoding/cp437.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/cp437.pdf -------------------------------------------------------------------------------- /t/encoding/cp437.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/cp437.tex -------------------------------------------------------------------------------- /t/encoding/cp437de.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/cp437de.pdf -------------------------------------------------------------------------------- /t/encoding/cp437de.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/cp437de.tex -------------------------------------------------------------------------------- /t/encoding/cp850.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/cp850.pdf -------------------------------------------------------------------------------- /t/encoding/cp850.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/cp850.tex -------------------------------------------------------------------------------- /t/encoding/cp852.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/cp852.pdf -------------------------------------------------------------------------------- /t/encoding/cp852.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/cp852.tex -------------------------------------------------------------------------------- /t/encoding/cp858.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/cp858.pdf -------------------------------------------------------------------------------- /t/encoding/cp858.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/cp858.tex -------------------------------------------------------------------------------- /t/encoding/cp865.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/cp865.pdf -------------------------------------------------------------------------------- /t/encoding/cp865.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/cp865.tex -------------------------------------------------------------------------------- /t/encoding/decmulti.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/decmulti.pdf -------------------------------------------------------------------------------- /t/encoding/decmulti.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/decmulti.tex -------------------------------------------------------------------------------- /t/encoding/latin1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/latin1.pdf -------------------------------------------------------------------------------- /t/encoding/latin1.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/latin1.tex -------------------------------------------------------------------------------- /t/encoding/latin10.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/latin10.pdf -------------------------------------------------------------------------------- /t/encoding/latin10.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/latin10.tex -------------------------------------------------------------------------------- /t/encoding/latin2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/latin2.pdf -------------------------------------------------------------------------------- /t/encoding/latin2.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/latin2.tex -------------------------------------------------------------------------------- /t/encoding/latin3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/latin3.pdf -------------------------------------------------------------------------------- /t/encoding/latin3.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/latin3.tex -------------------------------------------------------------------------------- /t/encoding/latin4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/latin4.pdf -------------------------------------------------------------------------------- /t/encoding/latin4.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/latin4.tex -------------------------------------------------------------------------------- /t/encoding/latin5.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/latin5.pdf -------------------------------------------------------------------------------- /t/encoding/latin5.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/latin5.tex -------------------------------------------------------------------------------- /t/encoding/latin9.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/latin9.pdf -------------------------------------------------------------------------------- /t/encoding/latin9.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/latin9.tex -------------------------------------------------------------------------------- /t/encoding/ly1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/ly1.pdf -------------------------------------------------------------------------------- /t/encoding/ot1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/ot1.pdf -------------------------------------------------------------------------------- /t/encoding/t1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/t1.pdf -------------------------------------------------------------------------------- /t/encoding/t2a.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/t2a.pdf -------------------------------------------------------------------------------- /t/encoding/t2b.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/t2b.pdf -------------------------------------------------------------------------------- /t/encoding/t2c.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/t2c.pdf -------------------------------------------------------------------------------- /t/encoding/ts1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/encoding/ts1.pdf -------------------------------------------------------------------------------- /t/expansion/aftergroup.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/expansion/aftergroup.pdf -------------------------------------------------------------------------------- /t/expansion/definedness.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/expansion/definedness.pdf -------------------------------------------------------------------------------- /t/expansion/env.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/expansion/env.pdf -------------------------------------------------------------------------------- /t/expansion/env.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | % Test undefined environs 3 | \def\foo{Foo} 4 | \begin{document} 5 | before 6 | \begin{foo} 7 | inside 8 | \end{foo} 9 | after 10 | \end{document} 11 | -------------------------------------------------------------------------------- /t/expansion/env.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

before 9 | Foo 10 | inside 11 | 12 | after

13 |
14 |
15 | -------------------------------------------------------------------------------- /t/expansion/environments.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/expansion/environments.pdf -------------------------------------------------------------------------------- /t/expansion/environments.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \newenvironment{myquote}{\begin{quote} MY\\}{\end{quote}} 3 | \newenvironment{quote1}{\begin{quote} 1\\}{\end{quote}} 4 | \begin{document} 5 | \begin{quote} 6 | A Quote! 7 | \end{quote} 8 | 9 | \begin{myquote} 10 | A Quote! 11 | \end{myquote} 12 | 13 | \begin{quote1} 14 | A Quote! 15 | \end{quote1} 16 | 17 | \renewenvironment{quote1}{\begin{quote} ONE\\}{\end{quote}} 18 | 19 | \begin{quote1} 20 | A Quote! 21 | \end{quote1} 22 | 23 | \end{document} 24 | -------------------------------------------------------------------------------- /t/expansion/environments.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

A Quote!

10 |
11 |
12 | 13 | 14 |

MY 15 | A Quote!

16 |
17 |
18 | 19 | 20 |

1 21 | A Quote!

22 |
23 |
24 | 25 | 26 |

ONE 27 | A Quote!

28 |
29 |
30 |
31 | -------------------------------------------------------------------------------- /t/expansion/etex.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/expansion/etex.pdf -------------------------------------------------------------------------------- /t/expansion/for.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/expansion/for.pdf -------------------------------------------------------------------------------- /t/expansion/for.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \makeatletter 4 | % building associative functions. Using \def\disj{\assoc\vee}, 5 | % $\disj{a,b,c}$ evaluates to (a\vee b\vee c) 6 | % \bassoc, is a variant of assoc with brackets around 7 | \def\assoc#1#2{\let\@tmpop\relax\@for\@I:=#2\do{\@tmpop\@I\let\@tmpop#1}} 8 | \def\disj{\assoc\times} 9 | \makeatother 10 | \begin{document} 11 | $\disj{a,b,c}$ 12 | \end{document} 13 | -------------------------------------------------------------------------------- /t/expansion/for.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

9 | 10 | 11 | × 12 | a 13 | b 14 | c 15 | 16 | 17 |

18 |
19 |
20 | -------------------------------------------------------------------------------- /t/expansion/fragment1.tex: -------------------------------------------------------------------------------- 1 | Inside fragment 1. 2 | -------------------------------------------------------------------------------- /t/expansion/fragment2.tex: -------------------------------------------------------------------------------- 1 | \testa 2 | -------------------------------------------------------------------------------- /t/expansion/ifthen.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/expansion/ifthen.pdf -------------------------------------------------------------------------------- /t/expansion/keywords.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/expansion/keywords.pdf -------------------------------------------------------------------------------- /t/expansion/lettercase.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/expansion/lettercase.pdf -------------------------------------------------------------------------------- /t/expansion/lettercase.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | \def\lettera{a} 4 | \def\letterA{A} 5 | \uccode`\(=`\[\lccode`\[=`\( 6 | \uccode`\)=`\]\lccode`\]=`\) 7 | \begin{tabular}{ll} 8 | & ABCDEFGHIJKLMNOPQRSTUVWXYZ \\ 9 | \TeX & \lowercase{ABCDEFGHIJKLMNOPQRSTUVWXYZ} \\ 10 | \LaTeX & \MakeLowercase{ABCDEFGHIJKLMNOPQRSTUVWXYZ} \\\hline 11 | & abcdefghijklmnopqrstuvwxyz \\ 12 | \TeX & \uppercase{abcdefghijklmnopqrstuvwxyz} \\ 13 | \LaTeX & \MakeUppercase{abcdefghijklmnopqrstuvwxyz} \\\hline 14 | & \i\j\ae\oe\lettera \\ 15 | \TeX & \uppercase{\i\j\ae\oe\lettera} \\ 16 | \LaTeX & \MakeUppercase{\i\j\ae\oe\lettera} \\\hline 17 | & \AE\OE\letterA \\ 18 | \TeX & \lowercase{\AE\OE\letterA} \\ 19 | \LaTeX & \MakeLowercase{\AE\OE\letterA} \\\hline 20 | & [FOO] \\ 21 | \TeX & \lowercase{[FOO]} \\ 22 | \LaTeX & \MakeLowercase{[FOO]} \\\hline 23 | & (foo) \\ 24 | \TeX & \uppercase{(foo)} \\ 25 | \LaTeX & \MakeUppercase{(foo)} \\ 26 | \end{tabular} 27 | \end{document} 28 | -------------------------------------------------------------------------------- /t/expansion/meaning.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/expansion/meaning.pdf -------------------------------------------------------------------------------- /t/expansion/meaning.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage[T1]{fontenc} 3 | \begin{document} 4 | 5 | \def\A#1{saaa#1} 6 | \def\Aa#1{#1saaa} 7 | \def\Aaa#1{sa#1aa} 8 | \def\b{bb} 9 | \def\c a#1b#2c{one#1c#2} 10 | 11 | \meaning A 12 | 13 | \meaning_ 14 | 15 | \meaning% 16 | 17 | 18 | \meaning ~ 19 | 20 | \meaning ^ 21 | 22 | \meaning * 23 | 24 | \meaning ( 25 | 26 | \meaning \ 27 | 28 | \meaning 1 29 | 30 | \meaning ! 31 | 32 | \meaning @ 33 | 34 | \meaning # 35 | 36 | \meaning & 37 | 38 | \meaning \A 39 | 40 | \meaning \Aa 41 | 42 | \meaning \Aaa 43 | 44 | \meaning \b 45 | 46 | 47 | \meaning \c 48 | 49 | \meaning \bla 50 | 51 | \meaning { 52 | 53 | \meaning } 54 | 55 | \meaning $ 56 | 57 | \end{document} -------------------------------------------------------------------------------- /t/expansion/noexpand.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/expansion/noexpand.pdf -------------------------------------------------------------------------------- /t/expansion/noexpand.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | 4 | 5 | \def\now#1{NOW #1} 6 | 7 | \def\later#1{LATER #1} 8 | \edef\expanded{\now{a} \later{b} \noexpand\later{c}} 9 | \def\later#1{MUCHLATER #1} 10 | 11 | Expect: NOW a LATER b MUCHLATER c.\\ 12 | Got: \expanded. 13 | 14 | \def\later#1{LATER #1} 15 | \newtoks\tka 16 | \tka={\later{b}} 17 | \edef\expanded{\now{a} \the\tka} 18 | \def\later#1{MUCHLATER #1} 19 | 20 | Expect: NOW a MUCHLATER b.\\ 21 | Got: \expanded. 22 | 23 | 24 | \def\later#1{LATER #1} 25 | \newtoks\tka 26 | \tka={\later{b}} 27 | \def\between{BETWEEN } 28 | \edef\expanded{\now{a} \expandafter\between\the\tka} 29 | \def\later#1{MUCHLATER #1} 30 | 31 | Expect: NOW a BETWEEN LATER b.\\ 32 | Got: \expanded. 33 | 34 | 35 | \def\later#1{LATER #1} 36 | \newtoks\tka 37 | \tka={\later{b}} 38 | \edef\expanded{\now{a} \expandafter\noexpand\the\tka} 39 | \def\later#1{MUCHLATER #1} 40 | 41 | Expect: NOW a MUCHLATER b.\\ 42 | Got: \expanded. 43 | 44 | 45 | 46 | \end{document} 47 | -------------------------------------------------------------------------------- /t/expansion/noexpand.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

Expect: NOW a LATER b MUCHLATER c.Got: NOW a LATER b MUCHLATER c.

9 |
10 | 11 |

Expect: NOW a MUCHLATER b.Got: NOW a MUCHLATER b.

12 |
13 | 14 |

Expect: NOW a BETWEEN LATER b.Got: NOW a BETWEEN LATER b.

15 |
16 | 17 |

Expect: NOW a MUCHLATER b.Got: NOW a MUCHLATER b.

18 |
19 |
20 | -------------------------------------------------------------------------------- /t/expansion/numexpr.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/expansion/numexpr.pdf -------------------------------------------------------------------------------- /t/expansion/subdir/whichpkga.sty: -------------------------------------------------------------------------------- 1 | \def\whichpkga{[loaded subdir/whichpkga.sty]} -------------------------------------------------------------------------------- /t/expansion/testchar.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/expansion/testchar.pdf -------------------------------------------------------------------------------- /t/expansion/testexpand.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/expansion/testexpand.pdf -------------------------------------------------------------------------------- /t/expansion/testexpand.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \def\eatone#1{} 3 | \begin{document} 4 | \section{Testing} 5 | \expandafter\def\expandafter\baz\eatone##1{(#1)} 6 | 7 | Expecting (beep) : \baz{beep} 8 | 9 | \expandafter\def\expandafter\bloop\expandafter{\baz{foo}} 10 | 11 | Expecting (foo) : \bloop 12 | 13 | \def\bar{(Bar)} 14 | Expecting (Bar): \bar 15 | 16 | { \def\bar{BAR} 17 | Expecting (BAR): \bar } 18 | 19 | Expecting (Bar): \bar 20 | 21 | { \global\def\bar{BAR} 22 | Expecting (BAR): \bar } 23 | 24 | Expecting (BAR): \bar 25 | 26 | \end{document} 27 | -------------------------------------------------------------------------------- /t/expansion/testexpand.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | <tag close=" ">1</tag>Testing 9 | 10 |

Expecting (beep) : (beep)

11 |
12 | 13 |

Expecting (foo) : (foo)

14 |
15 | 16 |

Expecting (Bar): (Bar)

17 |
18 | 19 |

Expecting (BAR): BAR

20 |
21 | 22 |

Expecting (Bar): (Bar)

23 |
24 | 25 |

Expecting (BAR): BAR

26 |
27 | 28 |

Expecting (BAR): BAR

29 |
30 |
31 |
32 | -------------------------------------------------------------------------------- /t/expansion/testif.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/expansion/testif.pdf -------------------------------------------------------------------------------- /t/expansion/testinput.foo: -------------------------------------------------------------------------------- 1 | Inside jobname.foo! 2 | -------------------------------------------------------------------------------- /t/expansion/testinput.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/expansion/testinput.pdf -------------------------------------------------------------------------------- /t/expansion/testinput.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | <tag close=" ">1</tag>Test input section 9 | 10 |

Part of main document. Input TeX style. 11 | Inside fragment 1. 12 | Back to main document

13 |
14 | 15 |

Part of main document. Input LaTeX style. 16 | Inside fragment 1. 17 | 18 | Back to main document

19 |
20 | 21 |

Part of main document. Input a jobname style. 22 | Inside jobname.foo! 23 | Back to main document

24 |
25 | 26 |

Part of main document. 27 | Test A.testb 28 | Back to main document

29 |
30 |
31 |
32 | -------------------------------------------------------------------------------- /t/expansion/testmultido.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/expansion/testmultido.pdf -------------------------------------------------------------------------------- /t/expansion/toks.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/expansion/toks.pdf -------------------------------------------------------------------------------- /t/expansion/toks.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \newtoks\mytok 3 | \begin{document} 4 | \mytok{a b c} 5 | a b c = \the\mytok 6 | 7 | \def\foo{aa} 8 | \mytok{\foo}% NOT expanded YET 9 | \def\foo{bb} 10 | 11 | bb = \the\mytok 12 | 13 | \def\foo{{aa}}% Must have braces!!! 14 | \mytok=\foo % AND it IS expanded here!!!! 15 | \def\foo{{bb}} 16 | aa = \the\mytok 17 | 18 | \newcount\foo\foo=1 19 | \mytok{\global\advance\foo1\relax} 20 | 21 | 1 = \the\foo; 22 | \the\mytok 23 | 2 = \the\foo; 24 | \the\mytok 25 | \the\mytok 26 | 4 = \the\foo; 27 | 28 | % don't do \the\mytok !! 29 | \mytok{&} 30 | 31 | \def\foo{aa} 32 | \mytok\expandafter{\foo\foo} 33 | \def\foo{zz} 34 | aazz = \the\mytok 35 | 36 | \end{document} 37 | -------------------------------------------------------------------------------- /t/expansion/toks.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

a b c = a b c

9 |
10 | 11 |

bb = bb

12 |
13 | 14 |

aa = aa

15 |
16 | 17 |

1 = 1; 18 | 2 = 2; 19 | 4 = 4;

20 |
21 | 22 |

aazz = aazz

23 |
24 |
25 | -------------------------------------------------------------------------------- /t/expansion/whichcache.latexml: -------------------------------------------------------------------------------- 1 | # -*- mode: Perl -*- 2 | package LaTeXML::Package::Pool; 3 | use strict; 4 | use warnings; 5 | use LaTeXML::Package; 6 | 7 | AssignValue(INCLUDE_STYLES => 1, 'global'); 8 | 9 | 1; 10 | -------------------------------------------------------------------------------- /t/expansion/whichcache.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/expansion/whichcache.pdf -------------------------------------------------------------------------------- /t/expansion/whichfrag1: -------------------------------------------------------------------------------- 1 | [read whichfrag1] 2 | -------------------------------------------------------------------------------- /t/expansion/whichfrag1.tex: -------------------------------------------------------------------------------- 1 | [read whichfrag1.tex] 2 | 3 | -------------------------------------------------------------------------------- /t/expansion/whichfrag1.tex.tex: -------------------------------------------------------------------------------- 1 | [read whichfrag1.tex.tex] 2 | -------------------------------------------------------------------------------- /t/expansion/whichfrag2: -------------------------------------------------------------------------------- 1 | [read whichfrag2] -------------------------------------------------------------------------------- /t/expansion/whichfrag2.tex: -------------------------------------------------------------------------------- 1 | [read whichfrag2.tex] 2 | 3 | -------------------------------------------------------------------------------- /t/expansion/whichfrag3: -------------------------------------------------------------------------------- 1 | [read whichfrag3] -------------------------------------------------------------------------------- /t/expansion/whichinput.latexml: -------------------------------------------------------------------------------- 1 | # -*- mode: Perl -*- 2 | package LaTeXML::Package::Pool; 3 | use strict; 4 | use warnings; 5 | use LaTeXML::Package; 6 | 7 | AssignValue(INCLUDE_STYLES => 1, 'global'); 8 | 9 | 1; 10 | -------------------------------------------------------------------------------- /t/expansion/whichinput.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/expansion/whichinput.pdf -------------------------------------------------------------------------------- /t/expansion/whichpkga: -------------------------------------------------------------------------------- 1 | \def\whichpkga{[loaded whichpkga]} -------------------------------------------------------------------------------- /t/expansion/whichpkga.sty: -------------------------------------------------------------------------------- 1 | \def\whichpkga{[loaded whichpkga.sty]} -------------------------------------------------------------------------------- /t/expansion/whichpkgb: -------------------------------------------------------------------------------- 1 | \def\whichpkgb{[loaded whichpkgb]} -------------------------------------------------------------------------------- /t/expansion/whichpkgb.sty: -------------------------------------------------------------------------------- 1 | \def\whichpkgb{[loaded whichpkgb.sty]} -------------------------------------------------------------------------------- /t/expansion/whichpkgb.sty.sty: -------------------------------------------------------------------------------- 1 | \def\whichpkgb{[loaded whichpkgb.sty.sty]} -------------------------------------------------------------------------------- /t/expansion/whichpkgc.sty: -------------------------------------------------------------------------------- 1 | \def\whichpkgc{[loaded whichpkgc.sty]} -------------------------------------------------------------------------------- /t/fonts/accents.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/fonts/accents.pdf -------------------------------------------------------------------------------- /t/fonts/bbold.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/fonts/bbold.pdf -------------------------------------------------------------------------------- /t/fonts/cancels.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/fonts/cancels.pdf -------------------------------------------------------------------------------- /t/fonts/esint.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/fonts/esint.pdf -------------------------------------------------------------------------------- /t/fonts/fonts.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/fonts/fonts.pdf -------------------------------------------------------------------------------- /t/fonts/marvosym.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/fonts/marvosym.pdf -------------------------------------------------------------------------------- /t/fonts/mathaccents.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/fonts/mathaccents.pdf -------------------------------------------------------------------------------- /t/fonts/mathaccents.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | \begin{tabular}{ll|l} 4 | ? & $\mathaccent'27{u}_s$\\ 5 | $\acute{a}$ & $\mathaccent"7013{a}$ & $\acute{abc}$\\ 6 | $\bar{a}$ & $\mathaccent"7016{a}$ & $\bar{abc}$\\ 7 | $\breve{a}$ & $\mathaccent"7015{a}$ & $\breve{abc}$\\ 8 | $\check{a}$ & $\mathaccent"7014{a}$ & $\check{abc}$\\ 9 | $\ddot{a}$ & $\mathaccent"707F{a}$ & $\ddot{abc}$\\ 10 | $\dot{a}$ & $\mathaccent"705F{a}$ & $\dot{abc}$\\ 11 | $\grave{a}$ & $\mathaccent"7012{a}$ & $\grave{abc}$\\ 12 | $\hat{a}$ & $\mathaccent"705E{a}$ & $\hat{abc}$\\ 13 | $\tilde{a}$ & $\mathaccent"707E{a}$ & $\tilde{abc}$\\ 14 | $\vec{a}$ & $\mathaccent"017E{a}$ & $\vec{abc}$\\ 15 | & $\mathaccent"7017{a}$ \\ 16 | $\widetilde{aaa}$ & $\mathaccent"0365{aaa}$ \\ 17 | $\widehat{aaa}$ & $\mathaccent"0362{aaa}$ \\ 18 | \end{tabular} 19 | \end{document} -------------------------------------------------------------------------------- /t/fonts/mathbbol.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/fonts/mathbbol.pdf -------------------------------------------------------------------------------- /t/fonts/mathbbol.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage[bbgreekl]{mathbbol} 3 | \begin{document} 4 | \[ 5 | \Langle \Eins \Rangle, \qquad 6 | \Lbrack \Eins \Rbrack, \qquad 7 | \Lparen \Eins \Rparen, 8 | \] 9 | 10 | \[ 11 | \bbalpha, \bbbeta, \bbeta \bbchi, \bbdelta, \bbespilon, \bbgamma, \bbiota, \bbkappa, 12 | \bblambda, \bbmu, \bbnu, \bbomega, \bbphi, \bbpi, \bbpsi, \bbrho, \bbsigma, \bbtau, 13 | \bbtheta, \bbupsilon, \bbxi, \bbzeta 14 | \] 15 | \end{document} -------------------------------------------------------------------------------- /t/fonts/mathcolor.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/fonts/mathcolor.pdf -------------------------------------------------------------------------------- /t/fonts/mathcolor.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{color} 3 | \usepackage{amsmath} 4 | \begin{document} 5 | $b$ B 6 | 7 | {\color{red} $r {\color{green} g \color{yellow} y}$ R} B 8 | 9 | {\color{red} R $r \mbox{R} {\color{green} g \mbox{G} \color{yellow} y \mbox{Y}} r \mbox{R}$ R} B 10 | 11 | {$\color{red} r$ B} B 12 | 13 | {\color{red}$\mbox{R} \text{R}$} B 14 | 15 | {\color{red}$$ r $$} 16 | 17 | $b$ B 18 | 19 | 20 | 21 | \end{document} 22 | -------------------------------------------------------------------------------- /t/fonts/mixed.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/fonts/mixed.pdf -------------------------------------------------------------------------------- /t/fonts/mixed.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | 4 | \textbf{bf}, \textit{it}, \textbf{\textit{bfit}}. 5 | 6 | %\mathbf{bf}, \mathit{it}, \mathbf{\mathit{bfit}}. 7 | 8 | \[ a+\textbf{bf}, b+\textit{it}, c+\textbf{\textit{bfit}} \] 9 | \[ a+\mathbf{bf}, b+\mathit{it}, c+\mathbf{\mathit{bfit}} \] 10 | 11 | \end{document} 12 | -------------------------------------------------------------------------------- /t/fonts/omencodings.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/fonts/omencodings.pdf -------------------------------------------------------------------------------- /t/fonts/soul.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/fonts/soul.pdf -------------------------------------------------------------------------------- /t/fonts/soul.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{soul} 3 | \usepackage{color} 4 | \begin{document} 5 | \so{letterspacing} 6 | 7 | \sodef\an{}{.4em}{1em plus1em}{2em plus .1em minus .1em} 8 | \an{example} 9 | 10 | \sodef\an{\bf}{.7em}{1em plus1em}{2em plus .1em minus .1em} 11 | \an{bold example} 12 | 13 | \caps{CAPITALS, Small Capitals} 14 | 15 | \ul{underlining} 16 | 17 | \st{overstriking} 18 | 19 | \hl{highlighting} 20 | 21 | \setulcolor{red} 22 | \ul{red underlining} 23 | 24 | \setstcolor{blue} 25 | \st{blue overstriking} 26 | 27 | \sethlcolor{green} 28 | \hl{green highlighting} 29 | 30 | \end{document} 31 | -------------------------------------------------------------------------------- /t/fonts/stmaryrd.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/fonts/stmaryrd.pdf -------------------------------------------------------------------------------- /t/fonts/textcomp.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/fonts/textcomp.pdf -------------------------------------------------------------------------------- /t/fonts/textsymbols.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/fonts/textsymbols.pdf -------------------------------------------------------------------------------- /t/fonts/ulem.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/fonts/ulem.pdf -------------------------------------------------------------------------------- /t/fonts/ulem.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{ulem} 3 | \begin{document} 4 | \begin{tabular}{ll} 5 | uline & underlined text like \uline{important}. \\ 6 | uuline & double-underlined text like \uuline{urgent}.\\ 7 | uwave & wavy underline like \uwave{boat}.\\ 8 | sout & line struck through word like \sout{wrong}.\\ 9 | xout & marked over like \xout{removed}.\\ 10 | dashuline & dashed underline like \dashuline{dashing}.\\ 11 | dotuline & dotted underline like \dotuline{dotty}.\\ 12 | \end{tabular} 13 | \end{document} -------------------------------------------------------------------------------- /t/fonts/wasysym.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/fonts/wasysym.pdf -------------------------------------------------------------------------------- /t/graphics/calc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/graphics/calc.pdf -------------------------------------------------------------------------------- /t/graphics/colors.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/graphics/colors.pdf -------------------------------------------------------------------------------- /t/graphics/framed.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/graphics/framed.pdf -------------------------------------------------------------------------------- /t/graphics/graphrot.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/graphics/graphrot.pdf -------------------------------------------------------------------------------- /t/graphics/none.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/graphics/none.png -------------------------------------------------------------------------------- /t/graphics/picture.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/graphics/picture.pdf -------------------------------------------------------------------------------- /t/graphics/xcolors.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/graphics/xcolors.pdf -------------------------------------------------------------------------------- /t/grouping/mathgroup.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/grouping/mathgroup.pdf -------------------------------------------------------------------------------- /t/grouping/mathgroup.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | % Did you know? 3 | % Mathmode and things like \hbox actually corresponds to groups! 4 | \begin{document} 5 | \def\foo{Original} 6 | Expect Original : \foo 7 | 8 | Expect a + Original: $ a + \mbox{\foo}$ 9 | 10 | Expect Original : \foo 11 | 12 | Expect InBox + Original: \hbox{\def\foo{InBox}\foo} + \foo 13 | 14 | Expect Original : \foo 15 | 16 | 17 | Expect a + InlineMath: $ \def\foo{InlineMath} a + \hbox{\foo}$ 18 | 19 | Expect Original : \foo 20 | 21 | Expect a + DisplayMath : \[ \def\foo{DisplayMath} a + \hbox{\foo}\] 22 | 23 | Expect Original : \foo 24 | 25 | % Note that text mode inside mathmode groups a 2nd level! 26 | Expect a + InText + InlineMath: $ \def\foo{InlineMath} a + \hbox{\def\foo{InText}\foo} + \hbox {\foo}$ 27 | 28 | Expect Original : \foo 29 | 30 | \end{document} 31 | -------------------------------------------------------------------------------- /t/grouping/scopemacro.latexml: -------------------------------------------------------------------------------- 1 | # -*- mode: Perl -*- 2 | package LaTeXML::Package::Pool; 3 | use strict; 4 | use warnings; 5 | use LaTeXML::Package; 6 | 7 | DefMacro('\where', "Section 1", scope => "section:1"); 8 | DefMacro('\where', "Subsection 2.1", scope => "subsection:2.1"); 9 | DefMacro('\where', "Labelled subsection", scope => "label:labelled"); 10 | DefMacro('\where', "Section 3", scope => "section:3"); 11 | DefMacro('\where', "Equation 1", scope => "equation:1"); 12 | 13 | 1; 14 | -------------------------------------------------------------------------------- /t/grouping/scopemacro.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/grouping/scopemacro.pdf -------------------------------------------------------------------------------- /t/grouping/scopemacro.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \def\where{Unknown} 3 | 4 | \begin{document} 5 | 6 | \section{One} 7 | Expect Section 1:\where. 8 | 9 | \section{Two} 10 | Expect Unknown: \where. 11 | \begin{equation} 12 | \mbox{Equation 1} = \mbox{\where} 13 | \end{equation} 14 | Expect Unknown: \where. 15 | 16 | \subsection{Two pt one} 17 | Expect Subsection 2.1: \where 18 | 19 | \subsection{Two point two} 20 | Expect Unknown: \where. 21 | 22 | \subsection{Two point three}\label{labelled} 23 | Expect Labelled subsection: \where 24 | 25 | \subsection{Two point four} 26 | Expect Unknown: \where. 27 | 28 | \section{Three} 29 | Expect Section 3:\where. 30 | 31 | \subsection{Three point one} 32 | Expect Section 3: \where. 33 | 34 | \section{Four} 35 | Expect Unknown: \where. 36 | 37 | \end{document} 38 | -------------------------------------------------------------------------------- /t/keyval/keyvalinline.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/keyval/keyvalinline.pdf -------------------------------------------------------------------------------- /t/keyval/keyvalstyle.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/keyval/keyvalstyle.pdf -------------------------------------------------------------------------------- /t/keyval/mykeyval.sty: -------------------------------------------------------------------------------- 1 | \newcommand{\KVsimple}[1][]{Graphics[]} 2 | \newcommand{\KVcomplex}[1][]{Graphics[]} 3 | \newenvironment{KVenv}[1][]{BeginText[]}{EndText} 4 | \newenvironment{KVstruct}[1][]{BeginText[]}{EndText} 5 | \newcommand{\KVauto}[1]{Text[]} 6 | -------------------------------------------------------------------------------- /t/keyval/myxkeyval.sty: -------------------------------------------------------------------------------- 1 | \RequirePackage{xkeyval} 2 | 3 | \define@key[myxkeyval]{scenario}{role}{Loading role #1. } 4 | \define@cmdkey[myxkeyval]{scenario}{country}{} 5 | \define@choicekey+[myxkeyval]{scenario}{color}{red,yellow,green}{The lights are now #1. }{Invalid color for lights. } 6 | \define@boolkey[myxkeyval]{scenario}{cross}{} 7 | 8 | 9 | \providecommand{\scenario}[1]{\setkeys[myxkeyval]{scenario}{#1}% 10 | Now located in \myxkeyval@scenario@country. % 11 | \ifmyxkeyval@scenario@cross Crossing is now allowed. \else Crossing is now forbidden. \fi % 12 | } -------------------------------------------------------------------------------- /t/keyval/xkeyvaladv.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/keyval/xkeyvaladv.pdf -------------------------------------------------------------------------------- /t/keyval/xkeyvalbasic.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/keyval/xkeyvalbasic.pdf -------------------------------------------------------------------------------- /t/keyval/xkeyvalkvcompat.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/keyval/xkeyvalkvcompat.pdf -------------------------------------------------------------------------------- /t/keyval/xkeyvalstyle.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/keyval/xkeyvalstyle.pdf -------------------------------------------------------------------------------- /t/keyval/xkeyvalstyle.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{myxkeyval} 3 | \begin{document} 4 | 5 | \scenario{role=driver,country=United States,color=red,cross=true} 6 | 7 | \scenario{role=pedestrian,country=Canada,color=green,cross=false} 8 | 9 | \scenario{role=cyclist,country=Germany,color=blue,cross=false} 10 | 11 | \end{document} -------------------------------------------------------------------------------- /t/keyval/xkeyvalstyle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

trueUnited Statesredtrue

10 |
11 | 12 |

falseCanadagreenfalse

13 |
14 | 15 |

falseGermanybluefalse

16 |
17 |
18 | -------------------------------------------------------------------------------- /t/keyval/xkeyvalview.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/keyval/xkeyvalview.pdf -------------------------------------------------------------------------------- /t/keyval_options/xkvdop1.sty: -------------------------------------------------------------------------------- 1 | \RequirePackage{xkeyval} 2 | 3 | \def\@hello{Missing `hello' parameter. } 4 | \DeclareOptionX{hello}{\edef\@hello{Defined `hello' to #1. }} 5 | 6 | \def\@world{Missing `world' parameter. } 7 | \DeclareOptionX{world}[default]{\edef\@world{Defined `world' to #1. }} 8 | 9 | \ProcessOptionsX 10 | 11 | \providecommand{\scenario}{% 12 | \@hello% 13 | \@world% 14 | } -------------------------------------------------------------------------------- /t/keyval_options/xkvdop1.sty.ltxml: -------------------------------------------------------------------------------- 1 | InputDefinitions('xkvdop1', type => 'sty', noltxml => 1); 2 | #====================================================================== 3 | 1; 4 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop1a.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/keyval_options/xkvdop1a.pdf -------------------------------------------------------------------------------- /t/keyval_options/xkvdop1a.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper]{article} 2 | 3 | \usepackage[hello=1,world=2]{xkvdop1} 4 | 5 | \begin{document} 6 | \scenario 7 | \end{document} 8 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop1a.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

Defined ‘hello’ to 1. Defined ‘world’ to 2.

10 |
11 |
12 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop1b.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/keyval_options/xkvdop1b.pdf -------------------------------------------------------------------------------- /t/keyval_options/xkvdop1b.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper]{article} 2 | 3 | \usepackage[hello=1,world]{xkvdop1} 4 | 5 | \begin{document} 6 | \scenario 7 | \end{document} 8 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop1b.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

Defined ‘hello’ to 1. Defined ‘world’ to default.

10 |
11 |
12 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop2.sty: -------------------------------------------------------------------------------- 1 | \RequirePackage{xkeyval} 2 | 3 | \define@boolkey{family}{a4paper}{} 4 | 5 | \def\@hello{Missing `hello' parameter. } 6 | \DeclareOptionX{hello}{\edef\@hello{Defined `hello' to #1. }} 7 | 8 | \def\@world{Missing `world' parameter. } 9 | \DeclareOptionX{world}[default]{\edef\@world{Defined `world' to #1. }} 10 | 11 | \ProcessOptionsX 12 | 13 | \providecommand{\scenario}{% 14 | \csname ifKV@family@a4paper\endcsname 15 | Should not have read a4paper option. 16 | \else 17 | Did not read a4paper option as expected. 18 | \fi 19 | \@hello% 20 | \@world% 21 | } -------------------------------------------------------------------------------- /t/keyval_options/xkvdop2.sty.ltxml: -------------------------------------------------------------------------------- 1 | InputDefinitions('xkvdop2', type => 'sty', noltxml => 1); 2 | #====================================================================== 3 | 1; 4 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop2a.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/keyval_options/xkvdop2a.pdf -------------------------------------------------------------------------------- /t/keyval_options/xkvdop2a.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper]{article} 2 | 3 | \usepackage[hello=1,world=2]{xkvdop2} 4 | 5 | \begin{document} 6 | \scenario 7 | \end{document} -------------------------------------------------------------------------------- /t/keyval_options/xkvdop2a.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

Did not read a4paper option as expected. 10 | Defined ‘hello’ to 1. Defined ‘world’ to 2.

11 |
12 |
13 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop2b.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/keyval_options/xkvdop2b.pdf -------------------------------------------------------------------------------- /t/keyval_options/xkvdop2b.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper]{article} 2 | 3 | \usepackage[hello=1,world]{xkvdop2} 4 | 5 | \begin{document} 6 | \scenario 7 | \end{document} 8 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop2b.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

Did not read a4paper option as expected. 10 | Defined ‘hello’ to 1. Defined ‘world’ to default.

11 |
12 |
13 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop3.sty: -------------------------------------------------------------------------------- 1 | \RequirePackage{xkeyval} 2 | 3 | \def\@paper{} 4 | \DeclareOptionX{a4paper}{\edef\@paper{\@paper Read `a4paper` option as #1. }} 5 | 6 | \def\@hello{Missing `hello' parameter. } 7 | \DeclareOptionX{hello}{\edef\@hello{Defined `hello' to #1. }} 8 | 9 | \ProcessOptionsX* 10 | 11 | \providecommand{\scenario}{% 12 | \@paper% 13 | \@hello% 14 | } -------------------------------------------------------------------------------- /t/keyval_options/xkvdop3.sty.ltxml: -------------------------------------------------------------------------------- 1 | InputDefinitions('xkvdop3', type => 'sty', noltxml => 1); 2 | #====================================================================== 3 | 1; 4 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop3a.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/keyval_options/xkvdop3a.pdf -------------------------------------------------------------------------------- /t/keyval_options/xkvdop3a.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper]{article} 2 | 3 | \usepackage[hello=1]{xkvdop3} 4 | 5 | \begin{document} 6 | \scenario 7 | \end{document} 8 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop3a.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

Read ‘a4paper‘ option as . Defined ‘hello’ to 1.

10 |
11 |
12 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop3b.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/keyval_options/xkvdop3b.pdf -------------------------------------------------------------------------------- /t/keyval_options/xkvdop3b.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper]{article} 2 | 3 | \usepackage[hello=1,a4paper=overwrite]{xkvdop3} 4 | 5 | \begin{document} 6 | \scenario 7 | \end{document} 8 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop3b.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

Read ‘a4paper‘ option as . Read ‘a4paper‘ option as overwrite. Defined ‘hello’ to 1.

10 |
11 |
12 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop4.sty: -------------------------------------------------------------------------------- 1 | \RequirePackage{xkeyval} 2 | 3 | \def\@hello{Missing `hello' parameter. } 4 | \DeclareOptionX{hello}{\edef\@hello{Defined `hello' to #1. }} 5 | 6 | \def\@warn{} 7 | \DeclareOptionX*{\edef\@warn{`\CurrentOption' ignored.\@warn}} 8 | 9 | \ProcessOptionsX* 10 | 11 | \providecommand{\scenario}{% 12 | \@hello% 13 | \@warn% 14 | } -------------------------------------------------------------------------------- /t/keyval_options/xkvdop4.sty.ltxml: -------------------------------------------------------------------------------- 1 | InputDefinitions('xkvdop4', type => 'sty', noltxml => 1); 2 | #====================================================================== 3 | 1; 4 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop4a.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/keyval_options/xkvdop4a.pdf -------------------------------------------------------------------------------- /t/keyval_options/xkvdop4a.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper]{article} 2 | 3 | \usepackage[hello=1,world=2]{xkvdop4} 4 | 5 | \begin{document} 6 | \scenario 7 | \end{document} 8 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop4a.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

Defined ‘hello’ to 1. ‘world=2’ ignored.

10 |
11 |
12 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop5.cls: -------------------------------------------------------------------------------- 1 | \RequirePackage{xkeyval} 2 | 3 | \def\@boolean{} 4 | \define@boolkey{xkvdop5.cls}[cls]{bool}{\edef\@boolean{#1, \@boolean}} 5 | \def\boolean{\ifclsbool true\else false\fi\ (\@boolean)} 6 | \ProcessOptionsX 7 | 8 | \LoadClass{article} -------------------------------------------------------------------------------- /t/keyval_options/xkvdop5.cls.ltxml: -------------------------------------------------------------------------------- 1 | InputDefinitions('xkvdop5', type => 'cls', noltxml => 1, handleoptions => 1); 2 | #====================================================================== 3 | 1; 4 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop5a.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/keyval_options/xkvdop5a.pdf -------------------------------------------------------------------------------- /t/keyval_options/xkvdop5a.tex: -------------------------------------------------------------------------------- 1 | \documentclass[bool=true]{xkvdop5} 2 | \begin{document} 3 | The boolean is \boolean. 4 | \end{document} 5 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop5a.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

The boolean is true (true, ).

9 |
10 |
11 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop5b.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/keyval_options/xkvdop5b.pdf -------------------------------------------------------------------------------- /t/keyval_options/xkvdop5b.tex: -------------------------------------------------------------------------------- 1 | \documentclass[bool=false]{xkvdop5} 2 | \begin{document} 3 | The boolean is \boolean. 4 | \end{document} 5 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop5b.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

The boolean is false (false, ).

9 |
10 |
11 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop6.cls: -------------------------------------------------------------------------------- 1 | \RequirePackage{xkeyval} 2 | 3 | \def\@boolean{} 4 | \define@boolkey{xkvdop6.cls}[cls]{bool}{\edef\@boolean{#1, \@boolean}} 5 | \def\boolean{\ifclsbool true\else false\fi\ (\@boolean)} 6 | \ProcessOptionsX* 7 | 8 | \LoadClass{article} -------------------------------------------------------------------------------- /t/keyval_options/xkvdop6.cls.ltxml: -------------------------------------------------------------------------------- 1 | InputDefinitions('xkvdop6', type => 'cls', noltxml => 1, handleoptions => 1); 2 | #====================================================================== 3 | 1; 4 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop6a.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/keyval_options/xkvdop6a.pdf -------------------------------------------------------------------------------- /t/keyval_options/xkvdop6a.tex: -------------------------------------------------------------------------------- 1 | \documentclass[bool=true]{xkvdop6} 2 | \begin{document} 3 | The boolean is \boolean. 4 | \end{document} 5 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop6a.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

The boolean is true (true, ).

9 |
10 |
11 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop6b.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/keyval_options/xkvdop6b.pdf -------------------------------------------------------------------------------- /t/keyval_options/xkvdop6b.tex: -------------------------------------------------------------------------------- 1 | \documentclass[bool=false]{xkvdop6} 2 | \begin{document} 3 | The boolean is \boolean. 4 | \end{document} 5 | -------------------------------------------------------------------------------- /t/keyval_options/xkvdop6b.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

The boolean is false (false, ).

9 |
10 |
11 | -------------------------------------------------------------------------------- /t/math/array.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/math/array.pdf -------------------------------------------------------------------------------- /t/math/array.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | An Array 4 | \[ \begin{array}{ccc} 5 | a & b & c \\ 6 | c & & d \\ 7 | \\ 8 | e & f \\ 9 | \end{array} 10 | \] 11 | \[ 12 | \matrix{a & b \cr c & d} 13 | \] 14 | Done. 15 | \end{document} 16 | -------------------------------------------------------------------------------- /t/math/arrows.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/math/arrows.pdf -------------------------------------------------------------------------------- /t/math/arrows.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{amsmath} 3 | \begin{document} 4 | \[ \underrightarrow{\mathrm{word}} \rightarrow \underleftarrow{\mathrm{word}} \] 5 | 6 | \[ \overleftrightarrow{\mathrm{word}} \leftarrow \underleftrightarrow{\mathrm{word}} \] 7 | 8 | \[ a^2 \xrightarrow{\mathrm{over}} b \xleftarrow{\mathrm{over}} c \] 9 | 10 | \[ a \xrightarrow[\mathrm{under}]{\mathrm{over}} b \xleftarrow[\mathrm{under}]{\mathrm{over}} c \] 11 | 12 | \[ a \overset{\mathrm{over}}{\rightarrow} b \underset{\mathrm{under}}{\leftarrow} c \] 13 | \end{document} -------------------------------------------------------------------------------- /t/math/choose.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/math/choose.pdf -------------------------------------------------------------------------------- /t/math/choose.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | \let\foo={ 4 | \let\bar=} 5 | \section{Testing Choose} 6 | \def\beep{beep} 7 | \beep\foo\def\beep{BEEP} hello, \beep. \bar\beep. 8 | 9 | 1. $ a + b $ 10 | 11 | 2. $ a \choose b $ 12 | 13 | 3. $ a + {b \choose c} + d$ 14 | 15 | % Should also work with these 16 | 4. $ a + \bgroup b \choose c \egroup + d$ 17 | 18 | % And even our own tokens \let to {} 19 | 5. $ a + \foo b \choose c \bar + d$ 20 | 21 | %% Interesting behaviour! \begingroup ..\endgroup do NOT create boxes! 22 | 6. $ a + \begingroup b \choose c \endgroup + d$ 23 | 24 | %$ a + { b \choose c \egroup + d$ 25 | 26 | %$ a + \bgroup b \choose c } + d$ 27 | 28 | % Aha, TeX doesn't like this (says Ambiguous) 29 | %$ a + \frac{b \choose c}{d \choose e} + f$ 30 | 31 | 32 | 33 | 34 | %\def\open{\bgroup}\def\close{\bgroup} 35 | % It doesn't like this either; it want's a real } 36 | %$ a + \open b \choose c \close + d$ 37 | 38 | \end{document} 39 | -------------------------------------------------------------------------------- /t/math/fracs.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/math/fracs.pdf -------------------------------------------------------------------------------- /t/math/niceunits.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/math/niceunits.pdf -------------------------------------------------------------------------------- /t/math/not.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/math/not.pdf -------------------------------------------------------------------------------- /t/math/not.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{latexsym} 3 | \usepackage{amsmath} 4 | \begin{document} 5 | \section{Known Negations} 6 | 7 | \[ \not=, \not<,\not\le,\not\ll, 8 | \not\prec,\not\preceq, 9 | \not\subset,\not\subseteq,\not\sqsubseteq, 10 | \not\lhd,\not\unlhd, 11 | \not\asymp \] 12 | \[ \not\equiv, \not>,\not\ge,\not\gg, 13 | \not\succ,\not\succeq, 14 | \not\supset,\not\supseteq,\not\sqsupseteq, 15 | \not\rhd,\not\unrhd, 16 | \not\approx, \] 17 | 18 | \section{Unknown Negations of Characters} 19 | 20 | \[ \not a, \not\alpha \] 21 | 22 | \[ \not+, \not 4 \] 23 | 24 | \section{Random Negations} 25 | 26 | \[ \not\sin \] 27 | \[ \not\operatorname{R} \] 28 | \[ \not\sqrt{x} \] 29 | \[ \not\frac{1}{2} \] 30 | 31 | \section{Falling off the End} 32 | \[ a/b c \not \] 33 | \[ \frac{a\not}{b} \] 34 | 35 | \end{document} 36 | -------------------------------------------------------------------------------- /t/math/sampler.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/math/sampler.pdf -------------------------------------------------------------------------------- /t/math/simplemath.latexml: -------------------------------------------------------------------------------- 1 | # -*- mode: Perl -*- 2 | package LaTeXML::Package::Pool; 3 | use strict; 4 | use warnings; 5 | use LaTeXML::Package; 6 | 7 | DefMathRewrite(scope => 'label:sec:restricted', match => 'a', attributes => { role => 'FUNCTION' }); 8 | DefMathRewrite(scope => 'label:sec:restricted', match => 'b', attributes => { role => 'FUNCTION' }); 9 | 10 | DefMathRewrite(match => 'a', attributes => { role => 'ID' }); 11 | DefMathRewrite(match => 'b', attributes => { role => 'ID' }); 12 | 13 | DefMathRewrite(match => '\hat{f}', attributes => { role => 'ID' }); 14 | DefMathRewrite(match => 'f_D)', attributes => { role => 'DIFFOP' }); 15 | DefMathRewrite(match => 'f_\WildCardA', attributes => { role => 'ID' }); 16 | 17 | DefMathRewrite(match => 'f', attributes => { role => 'FUNCTION' }); 18 | 19 | DefMathRewrite(match => 'D', attributes => { role => 'ID' }); 20 | DefMathRewrite(match => 'x', attributes => { role => 'ID' }); 21 | 22 | 1; 23 | -------------------------------------------------------------------------------- /t/math/simplemath.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/math/simplemath.pdf -------------------------------------------------------------------------------- /t/math/simplemath.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \title{Testing Simple Math Parsing} 3 | \begin{document} 4 | Inline math $a + b$. 5 | 6 | $$ a + b + 123$$ 7 | $$ a + b + f(123)$$ 8 | 9 | $$ f_D f(a+b)$$ 10 | $$ f_1(a+b)$$ 11 | $$ \hat{f} a $$ 12 | 13 | \section{Restricted}\label{sec:restricted} 14 | $$ a(x) + b(x) + 123$$ 15 | 16 | \end{document} 17 | -------------------------------------------------------------------------------- /t/math/testover.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/math/testover.pdf -------------------------------------------------------------------------------- /t/math/testover.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \def\beginfoo{\bgroup} 3 | \def\endfoo{\egroup} 4 | \begin{document} 5 | \section{Testing Over} 6 | \[ a b c \over d e f \] 7 | 8 | \[ a {b c \over d e} f \] 9 | 10 | \[ a {b c \over d e\egroup f \] 11 | 12 | \[ a \bgroup b c \over d e\egroup f \] 13 | 14 | \[ a \beginfoo b c \over d e\endfoo f \] 15 | 16 | % This one is ambiguous! 17 | % \[ a { b c \over d \over e} f \] 18 | \end{document} 19 | -------------------------------------------------------------------------------- /t/math/testscripts.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/math/testscripts.pdf -------------------------------------------------------------------------------- /t/math/testscripts.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | $$ f_a, f^a, f_a^a, f^a_a $$ 4 | 5 | $ {}_a$, ${}^a $ 6 | 7 | \end{document} 8 | -------------------------------------------------------------------------------- /t/namespace/ns1.dtd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /t/namespace/ns1.latexml: -------------------------------------------------------------------------------- 1 | # -*- mode: Perl -*- 2 | package LaTeXML::Package::Pool; 3 | use strict; 4 | use warnings; 5 | use LaTeXML::Package; 6 | 7 | #====================================================================== 8 | # Namespace tests ns1.tex, ns2.tex, ns3.tex... 9 | # The TeX sources are identical 10 | #====================================================================== 11 | # Case 1: The DTD and code use no Namespaces. 12 | # The XML output should also have no namespaces. 13 | #====================================================================== 14 | DocType("song", "-//NIST LaTeXML//LaTeXML Poem", 'ns1.dtd'); 15 | 16 | Tag('song', autoOpen => 1, autoClose => 1); 17 | Tag('verse', autoOpen => 1, autoClose => 1); 18 | Tag('line', autoOpen => 1, autoClose => 1); 19 | DefConstructor('\bigskip', ""); 20 | DefConstructor('\par', sub { $_[0]->maybeCloseElement('line'); }); 21 | 22 | #********************************************************************** 23 | 1; 24 | -------------------------------------------------------------------------------- /t/namespace/ns1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/namespace/ns1.pdf -------------------------------------------------------------------------------- /t/namespace/ns1.tex: -------------------------------------------------------------------------------- 1 | Twinkle, twinkle little star,\par 2 | How I wonder what you are.\bigskip 3 | Up above the world so high,\par 4 | Like a diamond in the sky\par 5 | \bye 6 | 7 | -------------------------------------------------------------------------------- /t/namespace/ns1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Twinkle, twinkle little star, 6 | How I wonder what you are. 7 | 8 | 9 | Up above the world so high, 10 | Like a diamond in the sky 11 | 12 | 13 | -------------------------------------------------------------------------------- /t/namespace/ns2.dtd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /t/namespace/ns2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/namespace/ns2.pdf -------------------------------------------------------------------------------- /t/namespace/ns2.tex: -------------------------------------------------------------------------------- 1 | Twinkle, twinkle little star,\par 2 | How I wonder what you are.\bigskip 3 | Up above the world so high,\par 4 | Like a diamond in the sky\par 5 | \bye 6 | 7 | -------------------------------------------------------------------------------- /t/namespace/ns2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Twinkle, twinkle little star, 6 | How I wonder what you are. 7 | 8 | 9 | Up above the world so high, 10 | Like a diamond in the sky 11 | 12 | 13 | -------------------------------------------------------------------------------- /t/namespace/ns3.dtd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /t/namespace/ns3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/namespace/ns3.pdf -------------------------------------------------------------------------------- /t/namespace/ns3.tex: -------------------------------------------------------------------------------- 1 | Twinkle, twinkle little star,\par 2 | How I wonder what you are.\bigskip 3 | Up above the world so high,\par 4 | Like a diamond in the sky\par 5 | \bye 6 | -------------------------------------------------------------------------------- /t/namespace/ns3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Twinkle, twinkle little star, 6 | How I wonder what you are. 7 | 8 | 9 | Up above the world so high, 10 | Like a diamond in the sky 11 | 12 | 13 | -------------------------------------------------------------------------------- /t/namespace/ns4.dtd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /t/namespace/ns4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/namespace/ns4.pdf -------------------------------------------------------------------------------- /t/namespace/ns4.tex: -------------------------------------------------------------------------------- 1 | Twinkle, twinkle little star,\par 2 | How I wonder what you are.\bigskip 3 | Up above the world so high,\par 4 | Like a diamond in the sky\par 5 | \bye 6 | -------------------------------------------------------------------------------- /t/namespace/ns4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Twinkle, twinkle little star, 6 | How I wonder what you are. 7 | 8 | 9 | Up above the world so high, 10 | Like a diamond in the sky 11 | 12 | 13 | -------------------------------------------------------------------------------- /t/namespace/ns5.dtd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /t/namespace/ns5.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/namespace/ns5.pdf -------------------------------------------------------------------------------- /t/namespace/ns5.tex: -------------------------------------------------------------------------------- 1 | Twinkle, twinkle little star,\par 2 | How I wonder what you are.\bigskip 3 | Up above the world so high,\par 4 | Like a diamond in the sky\par 5 | \bye 6 | -------------------------------------------------------------------------------- /t/namespace/ns5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Twinkle, twinkle little star, 6 | How I wonder what you are. 7 | 8 | 9 | Up above the world so high, 10 | Like a diamond in the sky 11 | 12 | 13 | -------------------------------------------------------------------------------- /t/parse/compose.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/parse/compose.pdf -------------------------------------------------------------------------------- /t/parse/compose.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{latexml} 3 | \lxDeclare[role=COMPOSEOP,meaning=compose]{$*$} 4 | \lxDeclare[role=FUNCTION]{$f$} 5 | \lxDeclare[role=FUNCTION]{$g$} 6 | \lxDeclare[role=FUNCTION]{$h$} 7 | \lxDeclare[role=ID]{$x$} 8 | \lxDeclare[role=ID]{$y$} 9 | \begin{document} 10 | \section{Compositions} 11 | % Straightforward 12 | \[ (f*g)(x) \] 13 | % Is nesting right? 14 | \[ (f*g*h)(x) \] 15 | \section{Implicit lambdas?} 16 | \[ (y^2 * f)(x) \] 17 | \[ (y y^2 * f)(x) \] 18 | \[ (y^2 * f)(x) \] 19 | \[ (f * y^2)(x) \] 20 | % \section{Dubious forms, probably should fail parsing} 21 | % \[ y y^2 * f x \] 22 | % \[ f * y^2 x \] 23 | % \[ f * y^2 (x) \] 24 | \end{document} 25 | -------------------------------------------------------------------------------- /t/parse/functions.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/parse/functions.pdf -------------------------------------------------------------------------------- /t/parse/kludge.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/parse/kludge.pdf -------------------------------------------------------------------------------- /t/parse/kludge.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | % NOTE These formula are EXPECTED to not parse! 3 | % We're testing the fallback "Kludge" parser! 4 | \usepackage{latexml} 5 | \lxDeclare[role=ERROR]{$a$}% 6 | \usepackage{amsfonts} 7 | \begin{document} 8 | \[ a + (b^{1^{2^3}} + (c^{2^3} + (d^3 + \] 9 | 10 | \[ a + b^1) + c^{1^2}) + d^{1^{2^3}}) \] 11 | 12 | \[ (a + E)^3 \] 13 | 14 | \[ a + (b + (c+d)^2+e)^3 + (f + (g+h)^2+i)^3 15 | \] 16 | 17 | \[ a + 18 | \mathbb P(\eta(x) \to 1) = \sum_{N=0}^\infty \sum_{j=0}^N \mathbb P(N_x=N \mathrm{ and } \frac{j-1}N a $ 9 | 10 | Relations: $ a > $ 11 | 12 | \section{Quantum Mechanics Notations} 13 | Expectation: $ $ 14 | 15 | Bra: $$ 22 | 23 | Braket $$ 24 | 25 | Also $$ 26 | 27 | \section{Absolute Values} 28 | abs $|a|$ 29 | 30 | norm $||a||$ 31 | 32 | expr $|a|-|b|$ 33 | 34 | nested $||a|-|b||$ 35 | 36 | non-nested $a|a|+b|b|+c|c|$ 37 | 38 | \section{Mixtures that look like QM} 39 | 40 | abs and rel: $ac\le d=e \] 17 | 18 | \paragraph{But period is somewhat different!} 19 | \[ a=b,c.d=e \] 20 | \[ a=b.c,d=e \] 21 | 22 | 23 | \section{Arrows as meta-relation} 24 | \[ a=b \rightarrow c\le d=e \] 25 | \[ a=b,c \rightarrow d=e \] 26 | \[ a=b \leftrightarrow c\le d=e \] 27 | \[ a=b,c \leftrightarrow d=e \] 28 | 29 | \section{Other Meta relations} 30 | \[ a (< e) \] 31 | \[ a; (< e) \] 32 | \[ a = b + c + d (< e) \] 33 | \[ a = b + c + d \mod e \] 34 | 35 | \end{document} 36 | -------------------------------------------------------------------------------- /t/parse/scripts.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/parse/scripts.pdf -------------------------------------------------------------------------------- /t/parse/scripts.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | A$^c$ 4 | 5 | A$_d$ 6 | 7 | A$^c_d$ 8 | 9 | A$_d^c$ 10 | 11 | 12 | $^aA$ 13 | 14 | $_bA$ 15 | 16 | $^a_bA$ 17 | 18 | $_b^aA$ 19 | 20 | $_b^aA^c_d$ 21 | 22 | \end{document} 23 | -------------------------------------------------------------------------------- /t/parse/sets.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/parse/sets.pdf -------------------------------------------------------------------------------- /t/parse/sets.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{latexml} 3 | \lxDeclare[role=ID]{$a$}% 4 | \lxDeclare[role=ID]{$b$}% 5 | \lxDeclare[role=ID]{$c$}% 6 | \lxDeclare[role=ID]{$d$}% 7 | \lxDeclare[role=ID]{$e$}% 8 | \lxDeclare[role=FUNCTION]{$f$}% 9 | \lxDeclare[role=FUNCTION]{$g$}% 10 | \lxDeclare[role=FUNCTION]{$h$}% 11 | \begin{document} 12 | 13 | \[ \{ a \} \] 14 | \[ \{ a : a\in b \} \] 15 | \[ \{ a | a\in b \} \] 16 | 17 | \[ \{ a | a\in b \}_{c=0} \] 18 | 19 | 20 | \end{document} 21 | -------------------------------------------------------------------------------- /t/parse/spacing.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/parse/spacing.pdf -------------------------------------------------------------------------------- /t/parse/spacing.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage[mathparserspeculate]{latexml} 3 | \begin{document} 4 | $$ a b c$$ 5 | $$ a\,b\,c$$ 6 | 7 | $$ a+b c+d$$ 8 | $$ a+b\quad c+d$$ 9 | 10 | $$ \int_0^\infty f(x) dx$$ 11 | $$ \int_0^\infty f(x)\,dx$$ 12 | 13 | $$ a^2b$$ 14 | $$ a^2\,b$$ 15 | 16 | $$a\frac{b}{c}d$$ 17 | $$a\,\frac{b}{c}\,d$$ 18 | \end{document} 19 | -------------------------------------------------------------------------------- /t/parse/terms.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/parse/terms.pdf -------------------------------------------------------------------------------- /t/structure/abstract.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/structure/abstract.pdf -------------------------------------------------------------------------------- /t/structure/abstract.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \title{The Title Text} 3 | \author{The Authors Names} 4 | \begin{document} 5 | \maketitle 6 | \begin{abstract} 7 | The abstract text. 8 | \end{abstract} 9 | \section{Introduction} 10 | The introductory text. 11 | \end{document} 12 | -------------------------------------------------------------------------------- /t/structure/abstract.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | The Title Text 8 | 9 | The Authors Names 10 | 11 | 12 |

The abstract text.

13 |
14 |
15 | <tag close=" ">1</tag>Introduction 16 | 17 |

The introductory text.

18 |
19 |
20 |
21 | -------------------------------------------------------------------------------- /t/structure/amsarticle.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/structure/amsarticle.pdf -------------------------------------------------------------------------------- /t/structure/apackage.sty: -------------------------------------------------------------------------------- 1 | % Declaration of options 2 | \def\my@package@stuff{} 3 | 4 | \DeclareOption{acommonoption}{\xdef\my@package@stuff{\my@package@stuff,acommonoption}} 5 | \DeclareOption{apackageoption}{\xdef\my@package@stuff{\my@package@stuff,apackageoption}} 6 | \DeclareOption{anotherpackageoption}{\xdef\my@package@stuff{\my@package@stuff,anotherpackageoption}} 7 | % Execution of options 8 | \ProcessOptions 9 | % package loading 10 | 11 | % main code 12 | \def\showpackagestuff{\par\noindent Package options: \my@package@stuff} 13 | 14 | -------------------------------------------------------------------------------- /t/structure/apackage.sty.ltxml: -------------------------------------------------------------------------------- 1 | package LaTeXML::Package::Pool; 2 | use LaTeXML::Package; 3 | use warnings; 4 | use strict; 5 | 6 | DefMacro('\my@package@stuff', ''); 7 | DeclareOption('acommonoption', '\xdef\my@package@stuff{\my@package@stuff, acommonoption}'); 8 | DeclareOption('apackageoption', '\xdef\my@package@stuff{\my@package@stuff, apackageoption}'); 9 | DeclareOption('anotherpackageoption', '\xdef\my@package@stuff{\my@package@stuff, anotherpackageoption}'); 10 | ProcessOptions(); 11 | 12 | DefMacro('\showpackagestuff', '\par\noindent Package options: \my@package@stuff'); 13 | 1; 14 | -------------------------------------------------------------------------------- /t/structure/article.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/structure/article.pdf -------------------------------------------------------------------------------- /t/structure/authors.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/structure/authors.pdf -------------------------------------------------------------------------------- /t/structure/authors.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \title{Testing Authors\thanks{Whoppee!}} 3 | \author{Joe Blow\thanks{Somewhere}\and Fred Head\thanks{elsewhere}} 4 | \date{Today!} 5 | \begin{document} 6 | \maketitle 7 | \section{One}\label{sec:one} 8 | And so on. 9 | \end{document} 10 | -------------------------------------------------------------------------------- /t/structure/authors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Testing Authors<note role="thanks">Whoppee!</note> 8 | 9 | Joe Blow 10 | Somewhere 11 | 12 | 13 | Fred Head 14 | elsewhere 15 | 16 | Today! 17 |
18 | <tag close=" ">1</tag>One 19 | 20 |

And so on.

21 |
22 |
23 |
24 | -------------------------------------------------------------------------------- /t/structure/badabstract.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/structure/badabstract.pdf -------------------------------------------------------------------------------- /t/structure/badabstract.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \title{The Title Text} 3 | \author{The Authors Names} 4 | \begin{document} 5 | \maketitle 6 | \abstract 7 | The abstract text. 8 | \section{Introduction} 9 | The introductory text. 10 | \end{document} 11 | -------------------------------------------------------------------------------- /t/structure/badabstract.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | The Title Text 8 | 9 | The Authors Names 10 | 11 | 12 |

The abstract text.

13 |
14 |
15 | <tag close=" ">1</tag>Introduction 16 | 17 |

The introductory text.

18 |
19 |
20 |
21 | -------------------------------------------------------------------------------- /t/structure/beforeafter.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/structure/beforeafter.pdf -------------------------------------------------------------------------------- /t/structure/beforeafter.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \newcommand{\sayhello}{Hello! } 3 | \newcommand{\sayhellob}{And a Hearty Hello, to you! } 4 | \newcommand{\saygoodbye}{Goodbye! } 5 | \newcommand{\saygoodbyeb}{Farewell, Farewell! } 6 | \AtBeginDocument{\sayhello} 7 | \AtEndDocument{\saygoodbye} 8 | \AtBeginDocument{\sayhellob} 9 | \AtEndDocument{\saygoodbyeb} 10 | \begin{document} 11 | \section{Introduction} 12 | An introductory section. 13 | \section{Conclusion} 14 | And a concluding section. 15 | \end{document} -------------------------------------------------------------------------------- /t/structure/beforeafter.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

Hello! And a Hearty Hello, to you!

9 |
10 |
11 | <tag close=" ">1</tag>Introduction 12 | 13 |

An introductory section.

14 |
15 |
16 |
17 | <tag close=" ">2</tag>Conclusion 18 | 19 |

And a concluding section. 20 | Goodbye! Farewell, Farewell!

21 |
22 |
23 |
24 | -------------------------------------------------------------------------------- /t/structure/book.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/structure/book.pdf -------------------------------------------------------------------------------- /t/structure/epitest.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/structure/epitest.pdf -------------------------------------------------------------------------------- /t/structure/fancyhdr.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/structure/fancyhdr.pdf -------------------------------------------------------------------------------- /t/structure/fancyhdr.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | On the history of nothing 9 | 10 | J. F. Kramer 11 | 12 | Someday, Somewhere 13 | 14 |

’ello

15 |
16 | 17 | 18 |

hayhaha

19 |
20 |
21 | -------------------------------------------------------------------------------- /t/structure/figures.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/structure/figures.pdf -------------------------------------------------------------------------------- /t/structure/filelist.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/structure/filelist.pdf -------------------------------------------------------------------------------- /t/structure/filelist.tex: -------------------------------------------------------------------------------- 1 | \documentclass{filelistclass} 2 | 3 | \begin{document} 4 | The file list inside of the cls file was `\filelistclass'. 5 | \end{document} -------------------------------------------------------------------------------- /t/structure/filelist.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

The file list inside of the cls file was ‘filelistclass.cls’.

9 |
10 |
11 | -------------------------------------------------------------------------------- /t/structure/filelistclass.cls: -------------------------------------------------------------------------------- 1 | \let\filelistclass\@filelist 2 | \LoadClass{article} -------------------------------------------------------------------------------- /t/structure/filelistclass.cls.ltxml: -------------------------------------------------------------------------------- 1 | InputDefinitions('filelistclass', type => 'cls', noltxml => 1, withoptions => 1); 2 | #====================================================================== 3 | 1; -------------------------------------------------------------------------------- /t/structure/hyperref.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/structure/hyperref.pdf -------------------------------------------------------------------------------- /t/structure/hyperref.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{hyperref} 3 | \begin{document} 4 | \section{Introduction}\label{sec:intro} 5 | \section{Motivation}\label{sec:motivation} 6 | \section{Conclusion}\label{sec:conclusion} 7 | 8 | \subsection{nameref}\label{subsec:nameref} 9 | Nameref for sections \nameref{sec:intro} and \nameref{sec:motivation}. 10 | 11 | And subsections \nameref{subsec:nameref} and \nameref{subsec:autoref}. 12 | 13 | \subsection{autoref}\label{subsec:autoref} 14 | Autoref for \autoref{sec:intro} and \autoref{sec:motivation}. 15 | 16 | And also \autoref{subsec:nameref} and \autoref{subsec:autoref}. 17 | 18 | These two should fail gracefully: \nameref{sec:fail} and \autoref{sec:fail}. 19 | 20 | \end{document} 21 | -------------------------------------------------------------------------------- /t/structure/itemize.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/structure/itemize.pdf -------------------------------------------------------------------------------- /t/structure/myclass.cls: -------------------------------------------------------------------------------- 1 | % Declaration of options 2 | \def\my@class@stuff{} 3 | 4 | \DeclareOption{acommonoption}{\xdef\my@class@stuff{\my@class@stuff,acommonoption}} 5 | \DeclareOption{aclassoption}{\xdef\my@class@stuff{\my@class@stuff,aclassoption}} 6 | \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} 7 | % Execution of options 8 | \ProcessOptions 9 | % package loading 10 | \LoadClass{article} 11 | 12 | % main code 13 | \def\showclassstuff{\par\noindent Class options: \my@class@stuff} 14 | -------------------------------------------------------------------------------- /t/structure/myclass.cls.ltxml: -------------------------------------------------------------------------------- 1 | package LaTeXML::Package::Pool; 2 | use LaTeXML::Package; 3 | use warnings; 4 | use strict; 5 | 6 | DefMacro('\my@class@stuff', ''); 7 | DeclareOption('acommonoption', '\xdef\my@class@stuff{\my@class@stuff, acommonoption}'); 8 | DeclareOption('aclassoption', '\xdef\my@class@stuff{\my@class@stuff, aclassoption}'); 9 | DeclareOption(undef, sub { PassOptions('article', 'cls', ToString(Digest(T_CS('\CurrentOption')))); }); 10 | # Execution of options 11 | ProcessOptions(); 12 | # package loading 13 | LoadClass('article'); 14 | # main code 15 | DefMacro('\showclassstuff', '\par\noindent Class options: \my@class@stuff'); 16 | 1; 17 | 18 | -------------------------------------------------------------------------------- /t/structure/options.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/structure/options.pdf -------------------------------------------------------------------------------- /t/structure/options.tex: -------------------------------------------------------------------------------- 1 | \documentclass[letterpaper,aclassoption,apackageoption,awrongoption,acommonoption]{myclass} 2 | \usepackage[anotherpackageoption,anotherwrongoption]{apackage} 3 | \begin{document} 4 | \showclassstuff 5 | \showpackagestuff 6 | \end{document} 7 | -------------------------------------------------------------------------------- /t/structure/options.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

Class options: , acommonoption, aclassoption

10 |
11 | 12 |

Package options: , acommonoption, apackageoption, anotherpackageoption

13 |
14 |
15 | -------------------------------------------------------------------------------- /t/structure/para.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/structure/para.pdf -------------------------------------------------------------------------------- /t/structure/para.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | \section{Display Math} 4 | Begin first paragraph, 5 | \[ a + b, \] 6 | continuing paragraph. 7 | 8 | Single line paragraph. 9 | 10 | \[ a + b. \] 11 | 12 | Another single line paragraph. 13 | 14 | \section{Itemizations} 15 | Begin first paragraph, 16 | \begin{itemize} 17 | \item A 18 | \item B 19 | \end{itemize} 20 | continuing paragraph. 21 | 22 | Single line paragraph. 23 | 24 | \begin{itemize} 25 | \item A 26 | \item B 27 | \end{itemize} 28 | 29 | Another single line paragraph. 30 | 31 | 32 | Multiple Para within item 33 | \begin{itemize} 34 | \item A 35 | 36 | B 37 | \item C 38 | \end{itemize} 39 | 40 | \end{document} 41 | -------------------------------------------------------------------------------- /t/structure/paralists.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/structure/paralists.pdf -------------------------------------------------------------------------------- /t/structure/report.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/structure/report.pdf -------------------------------------------------------------------------------- /t/structure/sec.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/structure/sec.pdf -------------------------------------------------------------------------------- /t/structure/sec.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \title{Testing Sections} 3 | \date{Today!} 4 | \begin{document} 5 | \maketitle 6 | \section{One}\label{sec:one} 7 | Section One. As we will see in \S\ref{fig_three}. 8 | \section{Two}\label{sec:two} 9 | As seen in \S\ref{sec:one}; Section Two. 10 | \section{Three}\label{sec:three} 11 | Previously, in \S\ref{sec:two}. 12 | \begin{figure} 13 | Hi! 14 | \caption{A Figure\label{fig_three}}. 15 | \end{figure} 16 | \end{document} 17 | -------------------------------------------------------------------------------- /t/structure/svabstract.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/structure/svabstract.pdf -------------------------------------------------------------------------------- /t/structure/svabstract.tex: -------------------------------------------------------------------------------- 1 | \documentclass[epj]{svjour} 2 | \title{The Title Text} 3 | \author{The Authors Names} 4 | \abstract{The abstract text.} 5 | \begin{document} 6 | \maketitle 7 | \section{Introduction} 8 | The introductory text. 9 | \end{document} 10 | -------------------------------------------------------------------------------- /t/structure/svabstract.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | The Title Text 9 | 10 | The Authors Names 11 | 12 | 13 |

The abstract text.

14 |
15 |
16 | <tag close=" ">1</tag>Introduction 17 | 18 |

The introductory text.

19 |
20 |
21 |
22 | -------------------------------------------------------------------------------- /t/theorem/amstheorem.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/theorem/amstheorem.pdf -------------------------------------------------------------------------------- /t/theorem/latextheorem.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/theorem/latextheorem.pdf -------------------------------------------------------------------------------- /t/theorem/ntheorem.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/theorem/ntheorem.pdf -------------------------------------------------------------------------------- /t/theorem/theorem.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/theorem/theorem.pdf -------------------------------------------------------------------------------- /t/theorem/theorem.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{theorem} 3 | \theoremstyle{break} \newtheorem{Cor}{Corollary} 4 | \theoremstyle{plain} \newtheorem{Exa}{Example}[section] 5 | {\theorembodyfont{\upshape} \newtheorem{Rem}{Remark}} 6 | 7 | \theoremstyle{marginbreak} \newtheorem{Lem}[Cor]{Lemma} 8 | \theoremstyle{change} 9 | \theorembodyfont{\itshape} \newtheorem{Def}[Cor]{Definition} 10 | \theoremheaderfont{\scshape} 11 | \begin{document} 12 | 13 | \begin{Cor} 14 | This is a sentence typeset in the theorem environment \texttt{Cor}. 15 | \end{Cor} 16 | 17 | \begin{Exa} 18 | This is a sentence typeset in the theorem environment \texttt{Exa}. 19 | \end{Exa} 20 | 21 | \begin{Rem} 22 | This is a sentence typeset in the theorem environment \texttt{Rem}. 23 | \end{Rem} 24 | 25 | \begin{Lem}[Ben User] 26 | This is a sentence typeset in the theorem environment \texttt{Lem}. 27 | \end{Lem} 28 | 29 | \begin{Def}[Very impressive Definition] 30 | This is a sentence typeset in the theorem environment \texttt{Def}. 31 | \end{Def} 32 | 33 | \end{document} -------------------------------------------------------------------------------- /t/tokenize/alltt.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/tokenize/alltt.pdf -------------------------------------------------------------------------------- /t/tokenize/alltt.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{alltt} 3 | \begin{document} 4 | 5 | Spacing 6 | \begin{alltt} 7 | Word 8 | Word 9 | Word 10 | Word 11 | Word 12 | \end{alltt} 13 | OK 14 | 15 | Funny Characters 16 | \begin{alltt} 17 | a b $ c & d # e ^ f _ g % h ~ i 18 | \end{alltt} 19 | 20 | With math? 21 | \begin{alltt} 22 | a+b \begin{math}a+b\end{math} a+b 23 | \end{alltt} 24 | 25 | \end{document} 26 | -------------------------------------------------------------------------------- /t/tokenize/comment.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/tokenize/comment.pdf -------------------------------------------------------------------------------- /t/tokenize/equality.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/tokenize/equality.pdf -------------------------------------------------------------------------------- /t/tokenize/ligatures.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/tokenize/ligatures.pdf -------------------------------------------------------------------------------- /t/tokenize/ligatures.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | \section{Text Ligatures} 4 | LDots\ldots, versus dots ... 5 | 6 | A range: 1--10 gets en-dash. 7 | In interjection --- like this --- gets em-dash. 8 | 9 | A ``quote'' like this. 10 | \section{Typewriter non-Ligatures} 11 | \texttt{LDots\ldots, versus dots ...} 12 | 13 | \texttt{A range: 1--10 gets en-dash.} 14 | \texttt{In interjection --- like this --- gets em-dash.} 15 | 16 | \texttt{A ``quote'' like this.} 17 | 18 | \end{document} 19 | -------------------------------------------------------------------------------- /t/tokenize/mathtokens.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/tokenize/mathtokens.pdf -------------------------------------------------------------------------------- /t/tokenize/mathtokens.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | \[ abc \not= \mathrm{abc} \not= \mathit{abc} \ldots\] 4 | \[ \pi \approx 3.1415\;926 \] 5 | \[ a \cdot b \cdot c \cdot\cdot\cdot \] 6 | \end{document} 7 | -------------------------------------------------------------------------------- /t/tokenize/percent.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/tokenize/percent.pdf -------------------------------------------------------------------------------- /t/tokenize/url.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/tokenize/url.pdf -------------------------------------------------------------------------------- /t/tokenize/verb.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/tokenize/verb.pdf -------------------------------------------------------------------------------- /t/tokenize/verb.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \begin{document} 3 | \section{Testing Verbatim} 4 | Normal {\bf Bold} stuff. 5 | 6 | Verbatim 1: 7 | \begin{verbatim} 8 | AbNormal {\bf NonBold} stuff. 9 | \end{verbatim} 10 | 11 | Verbatim 2: 12 | \begin{verbatim} 13 | inside verbatim 14 | \end {verbatim} 15 | still inside verbatim 16 | \end{verbatim} 17 | 18 | Verbatim 3: 19 | \begin{verbatim} keep this 20 | AbNormal {\bf NonBold} stuff. 21 | keep this too \end{verbatim} yyy 22 | More Normal {\bf Bold} stuff. 23 | 24 | % NOT allowed 25 | %\section{Inline \verb|\verb| verbatim.} 26 | 27 | Some inline \verb|\verb| verbatim. 28 | 29 | % But this IS allowed! 30 | \hbox{More inline \verb|\verb| verbatim.} 31 | 32 | % and this: 33 | x\hbox to 2in {\bf x\verb|\verb|y.}y 34 | 35 | \end{document} 36 | -------------------------------------------------------------------------------- /t/tokenize/verbata.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Authorea/LaTeXML/c2d72d5d0c98abda141b1fa5a6756eb9eac78179/t/tokenize/verbata.pdf -------------------------------------------------------------------------------- /tools/profile: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Make the latexml run 4 | perl -d:NYTProf `dirname $0`/../blib/script/latexml $@ 5 | 6 | # analyze the profile 7 | nytprofhtml --no-flame 8 | 9 | # and let the user know. 10 | echo "See nytprof/index.html" 11 | --------------------------------------------------------------------------------