Skip to content

Commit 79fe63d

Browse files
committed
Move all book-related images under "img"
Also: * use the "absolute path" syntax as used in the rest of the image locations * png files are no longer required since we use svg for the web version and convert to PDF for the PDF version
1 parent b2308f1 commit 79fe63d

File tree

9 files changed

+5
-5
lines changed

9 files changed

+5
-5
lines changed

text/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ BUILDDIR = build
1010
# Variables for the SVG2PDF generation
1111
SOURCEDIR = source
1212
#IMAGEDIRS can be a list of directories that contain SVG files and are relative to the SOURCEDIR
13-
IMAGEDIRS = docs-dir/Icons $(shell find $(SOURCEDIR)/ModelicaByExample/ -name "*.svg" -exec dirname {} ";" | sort -u)
13+
IMAGEDIRS = docs-dir/Icons source/_static/img $(shell find $(SOURCEDIR)/ModelicaByExample/ -name "*.svg" -exec dirname {} ";" | sort -u)
1414

1515
# SVG to PDF conversion
1616
SVG2PDF = rsvg-convert
File renamed without changes.
-19 KB
Binary file not shown.
Binary file not shown.
File renamed without changes.

text/source/behavior/arrays/oned.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ behavior involving arrays.
1414
Our problems will center around the a simple heat transfer problem.
1515
Consider a one-dimensional rod like the one shown below:
1616

17-
.. image:: /_static/images/bar.*
17+
.. image:: /_static/img/bar.*
1818
:width: 50%
1919
:align: center
2020
:alt: Discretization of a one-dimensional bar
@@ -154,7 +154,7 @@ following declarations:
154154
:lines: 25-26
155155

156156
Finally, the only array in this problem is the temperature of each
157-
section (since this is the only quantity that actually varies along the length of
157+
section (since this is the only quantity that actually varies along the length of
158158
the rod):
159159

160160
.. literalinclude:: /ModelicaByExample/ArrayEquations/HeatTransfer/Rod_ForLoop.mo

text/source/behavior/equations/electrical.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ familiar with electrical systems, consider the following circuit:
88

99
.. _low-pass-rlc:
1010

11-
.. figure:: ../../_static/img/RLC_low-pass.png
11+
.. figure:: /_static/img/RLC_low-pass.*
1212
:align: center
1313
:width: 50%
1414
:alt: Low-Pass RLC Filter

text/source/front/dedication.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Dedication
1212

1313
.. only:: not latex
1414

15-
.. image:: ../_static/Aaron.jpg
15+
.. image:: /_static/img/Aaron.jpg
1616
:align: right
1717

1818
This book started as a Kickstarter project. The idea of writing a

0 commit comments

Comments
 (0)