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

Simplified Makefile and created tests for latex docs on ubuntu and macos. #123

Merged
merged 3 commits into from
Mar 21, 2024

Conversation

benedict-96
Copy link
Collaborator

Added workflow file Latex.yml.

…s and added an option to perform image conversion on mac.
…tems.

Added option to make docs on mac (besides linux).

Added test for generating Latex documentation on Mac and Ubuntu.

Testing if latex workflow works on push to branch make_mac_docs.

Removed 'build'.

Trying different syntax.

Also installing imagemagick (may be required by poppler-utils). Fixed typo (ubuntu -> macos).

Only installing texlive in Mac case.

Using actions/setup-texlive-action instead of using brew.

Trying to install xelatex via tlmgr.

xelatex -> xetex

Installing latex packages.

Installing latex packages.

Specifying packages with texlive-action tool.

Try yet another approach (pgf package)

Fixed indentation.

Add standalone via tlmgr.

Install extra packages that appeared to be missing in github workflow.

Added packages svn-prov and environ.

Specified directory 3x now. This caused problems in CI run before.

Make pdf a requirement for mac and linux and then execute pdftocairo or sips.

Fixed typo.

html_output -> latex_output.

Made pdf sole prerequisite of linux and mac.

Added etoolbox to installed packages (somehow needed by logo_with_name.tex).

Changed names sips -> convert_with_sips (same for pdftocairo). This was (I think) causing confusion with the Ubuntu CI test.

Added algorithmicx to installed packages.:

algorithmcx -> algorithms.

Install package collection-mathscience.

Added mathtools to packages.

Fixed typo.:
:
git push

Removed packages that should be dependencies of other packages.

Added filehook and etoolbox again.

Added svn-prov again.

(hopefully) fixed typo in 'convert_to_pdftocairo.

Seems as if julia project path was wrong before.

Added latexmk via tlmgr. Is needed for compiling Latex Docs.

Installing latexmk through apt-get now.

Switching to equivalent script for generating the docs, but with outputting errors.

Including option to generate no pdf.

Fixed typo.

Added option of generating no pdf.

Fixed typo.

latex_docs_pdf_only -> latex_docs_no_pdf

Changed font to something that should work on Linux and Mac.

Forgot specifying directory before.

Adapted to new interface.

Move into directory before compiling latex file.

Just running xelatex to check for errors.

Also changed linux pdf execution to xelatex. Changed name of workflow.

Now also installing pygments for linux. Also installing package memoir for mac.

Removed xelatex execution again.

Switched to xelatex again.

Updated workflow.

Making all pdfs twice (this is needed for some images).

There were some changed aparantly.

Moved font stuff completely to custom.sty.

Unified workflow. Now writing things only once.

installing pygmentize in mac case.

Changed indentation.

Changed indentation.

put a single if statement inside of a block.

Added quotation marks.

Removed dollar and brackets.

Adjusted remaining if statements.
Copy link

codecov bot commented Mar 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.56%. Comparing base (300cbff) to head (92b4b03).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #123   +/-   ##
=======================================
  Coverage   67.56%   67.56%           
=======================================
  Files          97       97           
  Lines        2500     2500           
=======================================
  Hits         1689     1689           
  Misses        811      811           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@benedict-96 benedict-96 requested a review from michakraus March 18, 2024 08:02
@michakraus michakraus merged commit f28974d into main Mar 21, 2024
13 of 17 checks passed
@michakraus michakraus deleted the make_mac_docs branch March 21, 2024 19:23
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.

2 participants