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: Switch to using LaTeXML #210
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bfirsh
force-pushed
the
latexml
branch
2 times, most recently
from
December 2, 2017 04:11
efb5915
to
f3a1e89
Compare
Just output latexml output directly. Subsequent work will convert Pandoc stuff to latexml
The tests are broken but I think we can assume latexml gets this right.
This was referenced Dec 7, 2017
Closed
Closed
A bit of background on the motivation behind this https://twitter.com/bfirsh/status/938416106687029249?s=17 |
belated 👍 👍 👍 |
Thanks for the posterity. I feel like these kinds of links should somehow be featured on the README: My first question was: why not pandoc? and I somehow got some answers there. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a proof of concept for switching from Pandoc to LaTeXML to see if it's a good idea. So far, it's looking more promising than our Pandoc hacks. See also #159.
My rough todo list:
Make PDF/EPS conversion higher resMake graphics rendering higher resolution #248Can possibly be deferred to after shipping:
Style theoremsSupport theorems #157Fix styling of citet/citep references. They look like shit with current style.Improve styling of citet/citep #249Make click target for references bigger (e.g. "Section 2" only links "2". should link whole thing)Make click target for references bigger #254Implement subcaption package? http://localhost:8010/html/1709.10478/Implement subcaption package #245Get \citep working (e.g. http://localhost:8010/html/1706.02515/ )Fix \citep #233Do something about papers with no titles http://localhost:8010/html/1707.00860v2/Make \And and \AND make author bold http://localhost:8010/html/1707.08952v1/Make \And and \AND work #252MakeMake URLs without http:// convert to link #253www.example.com
convert to a link (ie no http://)Don't allow changing font-size all all text! This is probably most robustly done by getting our hands dirty in XLST.Don't allow changing font-size in any text #250Make listings less shit (why isn't it just plain textStyle line numbers in listings #226<pre>
?!)Make PDF/EPS convert to SVG instead of PNGConvert PDF, EPS, etc to scalable SVGs #247Make issues for common style files we don't supportFigure out which the most common unsupported styles are #251Get common CS/ML styles working (ICML, IEEE, ACL)Support common CS/ML styles #241Long term goals:
Instead of rewriting latexml's HTML to fit Distill's stylesheet, write CSS for latexml's output. This means latexml becomes standard HTML output and we're just doing some styling. As part of that, we'll be forced to improve latexml's output if it needs improving, too.Instead of rewriting HTML to fit Distill, write CSS for LaTeXML's output #255A rough list of known problems this fixes (!):
Closes #159
Closes #9
Closes #23
Closes #24
Closes #25
Closes #34
Closes #51 (latexml renders tables so, so much better)
Closes #52
Closes #66
Closes #74
Closes #79
Closes #80
Closes #84 (I think? or at least makes it not our problem)
Closes #97
Closes #92
Closes #99
Closes #103
Closes #105
Closes #109
Closes #107
Closes #148
Closes #139
Closes #142
Closes #160
Closes #131
Closes #175
Closes #154
(and probably opens lots of things too)
🎉