Skip to content

Commit

Permalink
Restructering LaTex
Browse files Browse the repository at this point in the history
  • Loading branch information
myla committed Sep 3, 2024
1 parent 62704fb commit dd266e5
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 114 deletions.
13 changes: 3 additions & 10 deletions data_extraction/latex/build_latex.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@
combined_markdown = ""
section_count = 1

with open("tex_templates/preamble.tex", "r") as file:
tex_preamble = file.read()

with open("tex_templates/end_document.tex", "r") as file:
tex_end_document = file.read()

with open("tex_templates/figure.tex", "r") as file:
tex_figure = file.read()

Expand Down Expand Up @@ -274,10 +268,9 @@ def cp_images(src_folder, dst_folder):
latex_section = generate_section(title, text, paper_id, figure_template)
contributions += "\n\n" + latex_section

full_document = tex_preamble + table + contributions + tex_end_document

with open("3dgs_compression_survey.tex", "w", encoding="UTF-8") as file:
file.write(full_document)
# create contributions
with open("3dgs_contributions.tex", "w", encoding="UTF-8") as file:
file.write(contributions)

# Compile LaTeX Document
subprocess.run(["pdflatex", "3dgs_compression_survey.tex"])
Expand Down
2 changes: 0 additions & 2 deletions data_extraction/latex/tex_templates/contributions.tex
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
\section*{Contribution Summaries}

In the following sections, we present a comprehensive overview of state-of-the-art 3D Gaussian Splatting (3DGS) compression methods.
Although each method shares the common goal of minimizing memory usage while preserving rendering quality and speed, their strategies differ significantly.
The summaries aim to distill the key concepts behind each approach, enabling better comparison and serving as a valuable reference for future research in the field of 3DGS compression.
5 changes: 0 additions & 5 deletions data_extraction/latex/tex_templates/end_document.tex

This file was deleted.

2 changes: 1 addition & 1 deletion data_extraction/latex/tex_templates/entry.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\subsection*{<paper_title>}
\subsection{<paper_title>}

<paper_text> \cite{<paper_id>}

Expand Down
96 changes: 0 additions & 96 deletions data_extraction/latex/tex_templates/preamble.tex

This file was deleted.

0 comments on commit dd266e5

Please sign in to comment.