Skip to content
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ mathics/doc/tex/doc_tex_data.pcl
mathics/doc/tex/documentation.tex
mathics/doc/tex/images/
mathics/doc/tex/logo-heptatom.pdf
mathics/doc/tex/logo-text-nodrop.pdf
mathics/doc/tex/Mathics3-logo-nodrop.pdf
mathics/doc/tex/Mathics3-logo.pdf
mathics/doc/tex/mathics-*.asy
mathics/doc/tex/mathics-*.dvi
mathics/doc/tex/mathics-*.dvi
Expand Down
2 changes: 2 additions & 0 deletions mathics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

from mpmath import __version__ as mpmath_version
from numpy import __version__ as numpy_version
from PIL import __version__ as PIL_version
from sympy import __version__ as sympy_version

from mathics.version import __version__
Expand All @@ -22,6 +23,7 @@
"numpy": numpy_version,
"python": platform.python_implementation() + " " + sys.version.split("\n")[0],
"sympy": sympy_version,
"PIL": PIL_version,
}


Expand Down
14 changes: 8 additions & 6 deletions mathics/doc/images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,26 @@ bs=${BASH_SOURCE[0]}
mydir=$(dirname $bs)
cd $mydir
mydir=$(pwd)
DOC_DIR=$(pwd)

if [[ -n $DOCTEST_LATEX_DATA_PCL ]]; then
LATEX_DIR=$(basename $DOCTEST_LATEX_DATA_PCL)
else
LATEX_DIR=${mydir}/latex
fi
IMAGE_DIR=${LATEX_DIR}/images
LATEX_IMAGE_DIR=${LATEX_DIR}/images
DOC_IMAGE_DIR=${DOC_DIR}/documentation/images

if [[ ! -d "$IMAGE_DIR" ]] ; then
mkdir -p $IMAGE_DIR
if [[ ! -d "$DOC_IMAGE_DIR" ]] ; then
mkdir -p $DOC_IMAGE_DIR
fi

for filename in $(find documentation/images/ -name "*.eps"); do
pdf="${LATEX_DIR}/$(basename "$filename" .eps).pdf"
pdf="${DOC_IMAGE_DIR}/$(basename "$filename" .eps).pdf"
epstopdf "$filename"
mv "$pdf" $IMAGE_DIR
mv "$pdf" $LATEX_IMAGE_DIR
done

for filename in ${mydir}/images/logo-{heptatom,text-nodrop}.svg; do
for filename in ${mydir}/images/logo-{heptatom,heptatom-Mathics3,Mathics3-nodrop}.svg; do
inkscape $filename --export-filename="latex/$(basename "$filename" .svg).pdf" --batch-process
done
11 changes: 10 additions & 1 deletion mathics/doc/images/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
The SVG files here, currently logos, are turned into PDFs which are used in the Mathics book (tutorial + reference manual).
The SVG files here, currently logos, are turned into PDFs which are used in the Mathics3 book (tutorial + reference manual).

The logo also appears in Mathics3-django and possibly other places outside of this repository.

About the Logo...

It uses the Times New Roman font. The "3" is italicized.
There is a reflected image that is slanted about 30 per cent and has a gradient on the reflection.

It was createed in inkscape, and can probably be edited that way.
72 changes: 72 additions & 0 deletions mathics/doc/images/logo-Mathics3-nodrop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
109 changes: 109 additions & 0 deletions mathics/doc/images/logo-Mathics3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
128 changes: 128 additions & 0 deletions mathics/doc/images/logo-heptatom-Mathics3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading