-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Not all settings are applied #1
Comments
Is the font in the System Settings "CMU Serif"? And is everything toggled on? Sometimes the Font takes some time to load and you will need to export the note 2 times. |
Could you disable all other Snippets and Themes as a Test please |
Same here. I disabled all themes and plugins (except style settings) and installed CMU serif manually. The exported PDF still uses the default font. |
I cannot reproduce this, not even in a completely clean Vault. |
I created a new vault and turned on this snippet, but still, it shows the default font. macOS 12.0 Beta (21A5506j) |
Is the Style Settings Plugin enabled? |
After manually change the snippet to the following, the PDF is properly rendered with the correct font. @font-face {
font-family: "CMU Serif Roman";
src: local('CMU Serif Roman');
font-weight: 500;
font-style: normal;
font-display: swap;
} |
This works with your locally installed Font, the Snippet ships with its own Font though and the Name is set as "CMU Serif", works on Windows and Linux atleast. This might be a mac Issue then? |
I would say so. It is the only thing I changed. Changing it to other values (url, data-uri) doesn't seem to load. |
How are we meant to install the fonts or other things in the snippet? I just have the |
The Font is included in the latex.css File. There is no need to install it other than putting it into the snippets folder and enabling it |
I do have the same problem right here on a windows machine |
Which Theme are you using as a baseline? Please make sure to enable the Style Settings Plugin and try if it works with the default Theme. |
At first I was using the "Sanctum" Theme, but switched backed to Default for testing. It seems to just use the default font of the theme, regardless. Style Settings Plugin is enabled and everything is shown as it should. |
Hello - I am having similar issues. I think it may be an issue with installation. I have: Not sure where I should put the extracted .zip file (obsidian-latex-css) though... Thanks! |
You don't need the zip, GitHub adds this one automatically. |
OK thanks. Unfortunately I'm also getting the default markdown style for PDFs. If you have any suggestions, please let me know. Not sure if this is a mac issue. |
I'm on arch linux and I've imported your release css onto my obsidian client. But my exports still have the default format. Is your source link broken for the fonts? |
I enabled Style Settings and this CSS snippet, but when I export only some of the settings are applied (e.g. I see the numbering, but the font is still the same as before). These are supposed to be applied to when I select Export to PDF, right?
The text was updated successfully, but these errors were encountered: