Skip to content

Commit f16918e

Browse files
committed
Fix remaining export issues
1 parent 1f4b81a commit f16918e

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

content/templates/content/export/base.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
\newcommand{\Image}[2]{
1919
\begin{figure}[H]
2020
\centering
21-
\includegraphics{#2}
21+
\includegraphics[width=\textwidth]{#2}
2222
\caption{#1}
2323
\end{figure}
2424
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
\textit{This content type is supported at the moment.}
1+
\textit{This content type is not supported at the moment.}

export/helper_functions.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,4 @@ def render(context, template_name, assets, app='export', external_assets=None):
4545
def pre_render(content):
4646
template = get_template(export_template(content.type))
4747
context = {'content': content}
48-
print(content.imagecontent.image.url)
4948
return template.render(context).encode(LaTeX.encoding)
50-

0 commit comments

Comments
 (0)