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

Include latex version #120

Merged
merged 30 commits into from
Mar 6, 2024
Merged

Include latex version #120

merged 30 commits into from
Mar 6, 2024

Conversation

benedict-96
Copy link
Collaborator

Files have been changed such that the documentation can be compiled as a .tex file. The most significant change is that we now specify what kind of output we want when we execute make.jl (html_output or latex_output). When an image is included we query whether we should include the html version or just place the png, e.g.:

import Images, Plots # hide
if Main.output_type == :html_output # hide
  Docs.HTML("""<object type="image/svg+xml" class="display-light-only" data=$(joinpath(Main.buildpath, "../tikz/sympnet_architecture.png"))></object>""") # hide
else # hide
  Plots.plot(Images.load("../tikz/sympnet_architecture.png"), axis=([], false)) # hide
end # hide

@benedict-96 benedict-96 requested a review from michakraus March 4, 2024 13:05
Copy link

codecov bot commented Mar 4, 2024

Codecov Report

Attention: Patch coverage is 46.80851% with 25 lines in your changes are missing coverage. Please review.

Project coverage is 67.18%. Comparing base (4e9126b) to head (01d230b).

Files Patch % Lines
src/data_loader/batch.jl 46.80% 25 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #120      +/-   ##
==========================================
- Coverage   67.69%   67.18%   -0.52%     
==========================================
  Files          97       97              
  Lines        2486     2514      +28     
==========================================
+ Hits         1683     1689       +6     
- Misses        803      825      +22     

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

@benedict-96 benedict-96 marked this pull request as draft March 4, 2024 14:03
@benedict-96 benedict-96 marked this pull request as ready for review March 5, 2024 14:26
@michakraus michakraus merged commit 60dae5f into main Mar 6, 2024
10 of 15 checks passed
@michakraus michakraus deleted the latex_adaption branch March 6, 2024 07:59
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