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

Little things for improving document pdf generation and appearance #755

Merged
merged 1 commit into from
Jan 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mathics/doc/documentation/images/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/classes.pdf
2 changes: 1 addition & 1 deletion mathics/doc/latex/doc2latex.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def write_latex(
)
content = content.encode("utf-8")
doc.write(content)
DOC_VERSION_FILE = osp.join(osp.dirname(DOC_LATEX_DIR), "version-info.tex")
DOC_VERSION_FILE = osp.join(DOC_LATEX_DIR, "version-info.tex")
if not quiet:
print(f"Writing Mathics Core Version Information to {DOC_VERSION_FILE}")
with open(DOC_VERSION_FILE, "w") as doc:
Expand Down
Binary file added mathics/doc/latex/logo-heptatom.pdf
Binary file not shown.
Binary file added mathics/doc/latex/logo-text-nodrop.pdf
Binary file not shown.
5 changes: 5 additions & 0 deletions mathics/doc/latex/mathics.tex
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,13 @@

\input{documentation.tex}

\part*{Appendices}
\printindex
\begin{colophon}
% Add this into table of contents
% The page reference may come out wrong and refer to the index.
% If so, adjust by hand, or diff file.
\addcontentsline{toc}{chapter}{Colophon}
\begin{description}
\item[Mathics3 Core] \hfill \\ \MathicsCoreVersion
\item[Python] \hfill \\ \PythonVersion
Expand Down