Bot releases are visible (Hide)
The main fixes are the missing directories when using webpack and a crash when using LaTeX.js in/with React.
Published by michael-brade over 4 years ago
I had to fix it again. Verdict: ES6 modules and automatic detection of node/browser environment doesn't work.
So now LaTeX.js (HtmlGenerator
to be exact) simply assumes a DOM implementation, HtmlGenerator
doesn't load svgdom
itself anymore. Without support for top-level await
in browsers, terser, and node, this just cannot be done properly in ES6.
Other changes:
LaTeXJSComponent
in the main exports, don't create an extra bundle anymoreSyntaxError
in the main exportsHtmlGenerator
doesn't require a DOM implementation already on import
anymore, it cannot create a cache of html elements directly; now create()
takes a string or a factory function for element creationPublished by michael-brade over 4 years ago
This release fully supports ES6 modules. LaTeX.js itself has not changed, but the build system and the docs have improved a lot.
exports:
he
, parse
, Generator
, HtmlGenerator
build:
unit tests:
docs:
website
folder to generate the docs and playground in the gh-pages
branchPublished by michael-brade about 5 years ago
\line
, \vector
, \oval
to not shift in some corner casespict2e
\put
work with negative y-valuesPublished by michael-brade over 5 years ago
parser:
_
instead of skip_space
to make to code more readablecore:
\usepackage
, added first packagesGenerator
class with TeX logic so that HtmlGenerator
only needs to worry about the DOMLength
and Vector
classes\oval{}
and \circle*
HtmlGenerator:
new packages:
CSS:
<html>
)@font-face
doesn't work inside a shadow DOM, so add cmu.css to parent documenttests
build
playground:
Published by michael-brade about 6 years ago
API:
CLI:
build system:
Published by michael-brade about 6 years ago
html-generator.ls
now checks if window is defined, not test.ls
anymoreindex.js
as the new main entry pointbin/latex.js
executablePublished by michael-brade over 6 years ago
general:
\marginpar
\parbox
alignment combinations, all should work nowlayout:
\setlength
10pt
, onecolumn
, oneside
options\textwidth
: calculate their percentages relative to \paperwidth
--paperwidth
in the CSSpicture
environment:
\qbezier
and \cbezier
\oval
\multiput
\line
, \vector
, \[qc]bezier
: add room for linewidth using bbox()
\vector
arrow head: it now ends exactly at the line end and properly scales with the linewidth\put
outside of a picture
environmentother fixes:
This release is another mostly bugfix release:
\@endparenv
)svgdom
instead of domino
: CLI and tests can now render SVG!misc:
Published by michael-brade over 6 years ago
This release now also includes the CSS files and the CM fonts.
Bugfixes:
\llap
for the label\verb
em
instead of rem
Published by michael-brade over 6 years ago
restructure:
\documentclass
and parsing the preamblearticle.ls
, book.ls
, report.ls
\begin
/\end
, and therefore, environments can now mostly be implemented without touching the parserboxes:
\mbox
, \makebox
, \parbox
, \fbox
, \framebox
, \[rl]lap
, \smash
, \[vh]phantom
picture environment:
\line
, \Line
, \vector
, \Vector
, \circle
, and \put
titling:
\frontmatter
, \mainmatter
, \backmatter
, \appendix
\maketitle
, \title
, \author
, \date
new CLI features:
<body>
contentsunit tests:
fonts:
\emph
and \em
are now context-aware\underline
Published by michael-brade almost 7 years ago
much better macro implementation:
macros.ls
for documentation)more features:
\label
and \ref
\verb
reimplemented lists:
\label
'd and \ref
'dother new macros:
\the
, \value
\message
, \showthe
\endinput
misc:
\item
, ] in environments, dependencies)Published by michael-brade almost 7 years ago
This release adds
and fixes