Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@martindholmes
Copy link
Contributor

This provides what I think is a useful default value for the romanFont parameter. @sydb Note that there were no errors in Test2, which suggests an area lacking coverage (specifically, Test2 is not doing diff checks of any generated .tex files).

@martindholmes
Copy link
Contributor Author

In discussion with @sydb, also added Deja Vu Sans as the default Sans font.

@peterstadler peterstadler linked an issue Nov 27, 2025 that may be closed by this pull request
Copy link
Member

@peterstadler peterstadler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this locally on my MacBook and I was missing the DejaVu Sans font. I'm probably able to install this font but for really addressing issue #789 and providing sensible defaults across systems we might consider:

  • to switch fonts depending on OS, or
  • to check for availability of fonts on the system

@martindholmes
Copy link
Contributor Author

Good point. @sydb didn't have Times New Roman, which was a surprise to me. So I think surfacing the two font parameters and documenting them is a better approach.

1 similar comment
@martindholmes
Copy link
Contributor Author

Good point. @sydb didn't have Times New Roman, which was a surprise to me. So I think surfacing the two font parameters and documenting them is a better approach.

@martindholmes
Copy link
Contributor Author

This doesn't seem like a practical approach.

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.

Provide a default value for romanFont in latex_param.xsl

4 participants