Skip to content

Conversation

sBubshait
Copy link

Hi!

I really liked this tool! I have used it to convert it thousands of simple HTML files to LaTeX, and it was awesome. This was the only one that I also found online.
However, because some latex special characters were not handled perfectly, the latex files won't compile. Also, small details, like missing support and unknown tags (esp with the newer HTML5 tags).

So, the edits that I have done:

  1. Rewritten all tests and separated them into files. Added some tests as well. (All the original tests are included).
  2. Handled Special Characters
  3. Added support for:
    - Strikethrough
    - Superscripts and subscripts
    - Emphasis (em)
    - Hyperlinks.
    - Tables
    - Codes
    - Unrecognised tags.
  4. Other minor changes.

Thank you for the tool!

Improved LaTeX special symbols escaping
Added support for:
- Strikethrough
- Superscript
- Subscript
- Emphasis
- Hyperlinks
- h4,h5,h6
- Unrecongised tags
@jdalrymple
Copy link
Owner

Ill review this by EoW! This repo is definitely due for a update. Thanks for the work!!

@jdalrymple
Copy link
Owner

I havent forgotten about this! Working on incorporating a full update to the library since its been so long haha. Right now trying to determine the best alternative to swyac to migrate to since it is no longer maintained.

@jdalrymple
Copy link
Owner

Still on going, almost finish the full update. Just completing better test coverage and general repo structure for easy changes in the future.

@jdalrymple
Copy link
Owner

I havent forgotten, just been busy with work. Hopefully publish some progress on this by EoW 🙏

@jdalrymple
Copy link
Owner

All thats remaining now is the tests for all the templates! I can see the finish line haha

@sBubshait
Copy link
Author

Thanks for your efforts!
You got this

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

Successfully merging this pull request may close these issues.

2 participants