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

Some LaTeX math symbols don't work #1

Open
eurunuela opened this issue Jan 26, 2023 · 6 comments
Open

Some LaTeX math symbols don't work #1

eurunuela opened this issue Jan 26, 2023 · 6 comments

Comments

@eurunuela
Copy link

I'm building the PDF of my manuscript with this template but some LaTeX math symbols are shown as empty squares; e.g., the letter Omega does not show.

CleanShot 2023-01-26 at 12 00 02@2x

@rowanc1
Copy link
Member

rowanc1 commented Jan 26, 2023

Yes, I saw this as well -- this is my favourite template! I think that it might be a compiler or font thing.

I had to hard-fork this repo (on Monday) to get the actions to work (github annoyingly doesn't enable forks to run actions), but my intention is to contribute it back upstream so that the myst community isn't the only one caring about/helping with this!!

If you have a chance to debug this more, I would be curious if you export using tex and then compile that tex in the way you normally would, and see if that is still an issue. If it isn't then we probably need to tweak our engine that we use (xelatex) or fix an issue in the template, but would much prefer not to hard fork it, so I will do some work to contribute back up the original repository.

@eurunuela
Copy link
Author

eurunuela commented Jan 27, 2023

I can try to export to tex and see how that goes.

In any case, if you're going to contribute to this template, may I ask that you remove the extra side margin past page one? It feels like a waste of space. I would 100% use this template if it weren't for these two issues.

Edit: Okay, it looks like I have the following warning related to the font.

LaTeX Font Warning: Font shape `U/ifsym/b/n' undefined
(Font)              using `U/ifsym/m/n' instead on input line 121.

But the PDF looks good and the Omega is there.

The only error I get is for an undefined equation reference that actually gets rendered on the PDF, weird.

@rowanc1
Copy link
Member

rowanc1 commented Jan 27, 2023

There is an issue about the margin here, which maybe helpful to comment on? As well as some workarounds.

roaldarbol/LaPreprint-class#4

Having easy access to toggle that on/off would be nice. If you find a way to do it in Tex (there are suggestions in the issue) maybe we could incorporate that into the MyST template as an option.

Annoying about the font. I will try to look into that soon. We use xetex to protect against some Unicode in myst, but maybe we can do a better job prefiltering and change the engine. There is also likely a way to config the font....!?!

@roaldarbol
Copy link
Contributor

Hi there, just saw this issue! I am moving the document class into roaldarbol/LaPreprint-class, so any issues and solutions would be more than welcome there. :-)

As for the omega, I don't think it's an issue stemming from LaPreprint, at least I can verify that I do get an omega symbol with \Omega.

I haven't found a solution for getting rid of the margin space - any help would be appreciated on roaldarbol/LaPreprint-class#4.

@rowanc1, I hope to bring the template to CTAN during the summer - I hope that might help to make it easier to implement in MyST, would be really happy to see it in use there!

@rowanc1
Copy link
Member

rowanc1 commented May 22, 2023

Yes, absolutely we can rebase our small fork of the repo here! I am glad you found this repo!! :)

Folks using MyST really enjoy this template! Let me know if there is a better place to look out for updates or coordinate on this.

@roaldarbol
Copy link
Contributor

The roaldarbol/LaPreprint-class will be the place where changes on the class will happen!

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

3 participants