Skip to content

Commit

Permalink
Fix some references
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed Jun 15, 2015
1 parent 16dff7d commit 292a854
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -233,7 +233,7 @@ OMEDIT_ICONS=$(OMEDIT_ICONS_SVG) $(OMEDIT_ICONS_PNG) $(OMEDIT_ICONS_PDF)
OMOPTIM_ICONS_BASE=Add.png
OMOPTIM_ICONS=$(OMOPTIM_ICONS_BASE:%=source/media/omoptim-icons/%)

all-dep: $(ALLDEP) source/media/mathematica-notebooks.pdf
all-dep: $(ALLDEP) source/media/mathematica-notebooks.pdf source/media/mdt-create-project.pdf source/media/mdt-build-prompt.pdf

source/media/omedit-icons/%.svg: $(OPENMODELICAHOME)/../OMEdit/OMEdit/OMEditGUI/Resources/icons/%.svg
@mkdir -p source/media/omedit-icons
Expand Down
1 change: 1 addition & 0 deletions source/introduction.rst
Expand Up @@ -1020,3 +1020,4 @@ C:\\dev> C:\\OpenModelica1.9.2 \\bin\\omc +showErrorMessages
.. |omlogo| image:: logo.*
:alt: OpenModelica logotype
:height: 14pt
:target: https://openmodelica.org
5 changes: 3 additions & 2 deletions source/mdt.rst
Expand Up @@ -91,7 +91,7 @@ Selecting a Workspace Folder
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Eclipse stores your projects in a folder called a workspace. You need to
choose a workspace folder for this session, see :numref:`mdt-switching-workspace`.
choose a workspace folder for this session, see :numref:`mdt-switch-workspace`.

.. figure :: media/mdt-switch-workspace.png
:name: mdt-switch-workspace
Expand Down Expand Up @@ -136,10 +136,11 @@ After having created a project, you eventually need to build the project
The build options are the same as the make targets: you can build,
build from scratch (clean), or run simulations depending on how the
project is setup. See :numref:`mdt-build-run` for an example of how omc
project is setup. See :numref:`mdt-build-prompt` for an example of how omc
can be compiled (:bash:`make omc` builds OMC).

.. figure :: media/mdt-build-prompt.*
:name: mdt-build-prompt
Eclipse – building a project.
Expand Down
2 changes: 1 addition & 1 deletion source/mdtdebugger.rst
Expand Up @@ -6,7 +6,7 @@ MDT Debugger for Algorithmic Modelica

The algorithmic code debugger, used for the algorithmic subset of the
Modelica language as well as the MetaModelica language is described in
Section :numref:`eclipse-based-debugger-algorithms`.
Section :ref:`eclipse-based-debugger-algorithms`.
Using this debugger replaces debugging of algorithmic code
by primitive means such as print statements or asserts which is complex,
time-consuming and error- prone. The usual debugging functionality found
Expand Down
2 changes: 2 additions & 0 deletions source/ompython.rst
Expand Up @@ -156,6 +156,8 @@ OMPython is designed to,

- Return or display the results.

.. _pysimulator :

PySimulator
-----------

Expand Down
4 changes: 2 additions & 2 deletions source/optimization.rst
Expand Up @@ -215,12 +215,12 @@ To export XML, we set the simulation target to XML:
translateModelXML(BatchReactor)
This will generate an XML file named :ref:`BatchReactor.xml` (:numref:`BatchReactor.xml`)
This will generate an XML file named :ref:`batchreactorxml` (:numref:`batchreactorxml`)
that contains a symbolic representation of the optimal control problem
and can be inspected in a standard XML editor.

.. literalinclude :: ../tmp/BatchReactor.xml
:name: BatchReactor.xml
:name: batchreactorxml
:caption: BatchReactor.xml
:language: xml
Expand Down

0 comments on commit 292a854

Please sign in to comment.