Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: 2.0 #324

Merged
merged 18 commits into from
Aug 20, 2018
Merged

WIP: 2.0 #324

merged 18 commits into from
Aug 20, 2018

Conversation

bfirsh
Copy link
Member

@bfirsh bfirsh commented Jun 10, 2018

An implementation of #255.

Background

Currently, Engrafo works a bit like this:

  • LaTeXML converts LaTeX to HTML
  • Engrafo rewrites the HTML to look a bit like Distill's HTML
  • We use a modified version of Distill's CSS to style that HTML

That's really complicated. The goal of this pull request is to not rewrite the HTML (or rewrite as little as possible) and instead write some CSS to style the LaTeXML HTML directly.

Stuff that needs to be done

Things to fix in latexml

This is a list for myself to keep track of things we should fix upstream.

Future todo

See also

Closes #255
Closes #10
Closes #86
Closes #246
Closes #321
Closes #32

In Parcel 1.9 they fixed a bug that was actually a feature for us.
Previously, absolute paths were absolute filesystem paths. They
are now absolute relative to the project. So, we have to put the
output in the project somewhere.
This removes support for custom bullets, which I don't really
want to allow anyway.
Previously, `yarn convert` would use the built assets inside the
image instead of the locally built version.
Also, convert to ES6 modules.

This allows us to run the client JavaScript on DOM fragments
instead of just entire pages.
This is so they work for Storybook, but also simplifies the
snapshotting code a bit.
This makes it easier to reference from Storybook.
Mainly based on a design by @markhurrell, using TeX's Computer
Modern font.
@bfirsh
Copy link
Member Author

bfirsh commented Aug 20, 2018

Design is functional, but still a work in progress. Needs a lot of spit and polish, and some stuff is flat out broken.

Arxiv Vanity is now pinned to an old version of Engrafo, so merging so we can continue work in master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant