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

Added LaTeX page compiler plugin. #206

Merged
merged 10 commits into from Jan 16, 2017
Merged

Added LaTeX page compiler plugin. #206

merged 10 commits into from Jan 16, 2017

Conversation

@felixfontein
Copy link
Contributor

@felixfontein felixfontein commented Jan 14, 2017

A page compiler for a subset of LaTeX.

Requires #205.

@felixfontein
Copy link
Contributor Author

@felixfontein felixfontein commented Jan 14, 2017

(The PR should go to master in the end, not necessarily to latex-formula-renderer. That is just a "trick" to have both plugins in this branch of the repository to be able to test them together.)

@@ -0,0 +1,42 @@
This plugin allows to write posts and pages in a LaTeX-like syntax.
Copy link
Member

@Kwpolska Kwpolska Jan 14, 2017

I really dislike the -like part, especially because you did not specify what makes the syntax different from standard LaTeX.

(Pandoc can compile LaTeX to HTML, but the output is pretty ugly there, especially wrt math and spacing)

Copy link
Contributor Author

@felixfontein felixfontein Jan 14, 2017

The idea is that simple enough files (which don't use features the page compiler doesn't support) could be compiled both by the page compiler or being included in a proper LaTeX document and result in the "same" output (as much as HTML and PDF can be the same).

Copy link
Contributor Author

@felixfontein felixfontein Jan 14, 2017

(I tried to make that clearer.)

@felixfontein
Copy link
Contributor Author

@felixfontein felixfontein commented Jan 14, 2017

I'll add some more documentation later/tomorrow.

@Kwpolska
Copy link
Member

@Kwpolska Kwpolska commented Jan 14, 2017

Merge when you’re done and don’t expect a review.

@felixfontein
Copy link
Contributor Author

@felixfontein felixfontein commented Jan 14, 2017

Will do.

@felixfontein felixfontein changed the base branch from latex-formula-renderer to master Jan 15, 2017
Kwpolska
Copy link
Member

Kwpolska commented on a0d7cff Jan 15, 2017

This list feels pretty small, is it user-expandable?

felixfontein
Copy link
Contributor

felixfontein commented on a0d7cff Jan 15, 2017

Not yet. This (among others) is on my TODO list.

felixfontein
Copy link
Contributor

felixfontein commented on a0d7cff Jan 15, 2017

Commit 745a14d now allows plugins to touch the parsing environment, so they can extend the language list.

@felixfontein
Copy link
Contributor Author

@felixfontein felixfontein commented Jan 16, 2017

Ok, I think I'm done for now. More changes will go into another version.

@felixfontein felixfontein merged commit 114fb97 into master Jan 16, 2017
0 of 2 checks passed
@felixfontein felixfontein deleted the latex branch Jan 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants