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

A page compiler for a subset of LaTeX.

Requires #205.

@felixfontein
Copy link
Contributor Author

(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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I tried to make that clearer.)

@felixfontein
Copy link
Contributor Author

I'll add some more documentation later/tomorrow.

@Kwpolska
Copy link
Member

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

@felixfontein
Copy link
Contributor Author

Will do.

@felixfontein felixfontein changed the base branch from latex-formula-renderer to master January 15, 2017 11:28
@felixfontein
Copy link
Contributor Author

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
@felixfontein felixfontein deleted the latex branch January 16, 2017 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants