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 fixes to our LaTeX package #2905

Merged
merged 7 commits into from Mar 10, 2021

Conversation

eggrobin
Copy link
Member

@eggrobin eggrobin commented Mar 7, 2021

Use the maths font (currently Cambria Math) rather than the text font (currently Linux Libertine) for mathrm and the like (in practice, operator names such as log, cos, etc.).
Note that the PDFs will need to be regenerated to reflect that.

Remove the now seemingly obsolete workaround for mathmode starting with a delimiter, which made typesetting exponential in the number of nested brackets.

Add a reference for the « well-known hack ».

@pleroy
Copy link
Member

pleroy commented Mar 7, 2021

If the changes to the fonts require to regenerate the PDFs, could we do that in this PR? I would like to see the effect of the change.

@eggrobin
Copy link
Member Author

eggrobin commented Mar 8, 2021

If the changes to the fonts require to regenerate the PDFs, could we do that in this PR? I would like to see the effect of the change.

Done except for the three most ancient PDFs (Hamiltonian Mechanics and ODEs and Runge-Kutta integrators should probably be removed; Composition methods needs quite a bit of cleanup, e.g., it should refer to the bibliography; it also fails to compile).
Note that Perspective hiding had to be tweaked due to changes in tkz-euclide.

@pleroy
Copy link
Member

pleroy commented Mar 8, 2021

Regenerating the PDFs has the unfortunate consequence that all files now have the date "2021-03-08" in their text. Could we try to stick to the original date, perhaps by using the last update timestamp of the .tex file?

@eggrobin
Copy link
Member Author

eggrobin commented Mar 8, 2021

Regenerating the PDFs has the unfortunate consequence that all files now have the date "2021-03-08" in their text. Could we try to stick to the original date, perhaps by using the last update timestamp of the .tex file?

Not easily as far as I can tell; perhaps we could make XeLaTeX call git and look at the last commit, but the timestamp of the file may not be what we want either anyway: 5315ee6 technically changed Perspective hiding.tex, although it had no visual effect; similarly if we replaced i.e. by \emph{i.e.} (or \idest) changing the date would be weird.

Perhaps we should use a manual date for all these documents, with \date.

@pleroy
Copy link
Member

pleroy commented Mar 9, 2021

Perhaps we should use a manual date for all these documents, with \date.

Ok, let's do that, using the date found in the current PDFs.

@eggrobin
Copy link
Member Author

eggrobin commented Mar 9, 2021

Perhaps we should use a manual date for all these documents, with \date.

Ok, let's do that, using the date found in the current PDFs.

Done.

@pleroy pleroy added the LGTM label Mar 10, 2021
@eggrobin eggrobin merged commit f0ef351 into mockingbirdnest:master Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants