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

Newline, export #8

Open
yonatankremer opened this issue Mar 14, 2024 · 6 comments
Open

Newline, export #8

yonatankremer opened this issue Mar 14, 2024 · 6 comments

Comments

@yonatankremer
Copy link

yonatankremer commented Mar 14, 2024

Finally! After looking for latex/typst plugins for obsidian, I found something that WORKS.
(now three) small issues:

  1. Rendered space between two lines is a bit to small.
  2. After exporting to pdf, it breaks with the error code "unexpected dollar sign".
  3. same as 1. but with spaces too.

Both 1,3 can be "fixed" by inserting an empty/space only string

@yonatankremer
Copy link
Author

seems to only happen when there's text after the math block

@0xpapercut
Copy link
Owner

Hello, thanks for pointing out these issues! I'll look into it during the weekend.

@yonatankremer
Copy link
Author

yonatankremer commented Apr 7, 2024

:)
took a quick look at the code, seems like the obsidian plugin serves as a small extension to wypst, which seems like a whole ass thing to study

@0xpapercut
Copy link
Owner

I have no insight on why the export doesn't work and hadn't had the time to investigate this matter further :(. As for wypst, yes indeed it can be quite difficult to understand because it is messy (The only reason I understand what's going on is because I wrote the thing), but I plan to organise the code and provide some documentation soon. I just have to find the time. Next week I'll be totally off from school, so that's my opportunity.

@yonatankremer
Copy link
Author

awesome, my workflow settled on not using the export too much, I just want the rendered space between lines to be 1.5-2 times it is now, so I could not add " " \ every line LOL

@0xpapercut
Copy link
Owner

Ok, I can possibly add an option to change that.

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