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

LaTeX support #18

Open
eraserhd opened this issue Dec 14, 2017 · 3 comments
Open

LaTeX support #18

eraserhd opened this issue Dec 14, 2017 · 3 comments

Comments

@eraserhd
Copy link
Contributor

I've sort of got it working for LaTex with this:

\def\N#1#2#3.{
  \section{#3}
}

It gets an "extra \fi" if I have two sections. I think I can figure this out (I was once pretty good at TeX, but I have to relearn it.). Any pointers on what else I need to do or the best way to structure this for contributing it?

@arcfide
Copy link
Owner

arcfide commented Dec 14, 2017

Thanks for taking a look at this. Unfortunately, I have basically no idea how to properly get this into LaTeX at the moment. I'm not aware of the current best practices at all. I've always been more of a fan of Plain TeX, and the output of ChezWEB is very closely matched to the CWEB system. Thus, I'm leveraging the same techniques that that system uses. You may want to see the CWEB documentation for more information about how to deal with the TeX side of things, including the kind of macros that are in use.

@eraserhd
Copy link
Contributor Author

OK. I'll figure it out (slowly but surely).

@arcfide
Copy link
Owner

arcfide commented Dec 15, 2017

I'm sorry that I couldn't be of more help!

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

No branches or pull requests

2 participants