From 1b690b6879e536798bd412f8d22e909289f66468 Mon Sep 17 00:00:00 2001 From: Martin Goik <goik@hdm-stuttgart.de> Date: Fri, 20 Jan 2023 18:48:52 +0100 Subject: [PATCH] Readme and MathJax / highlight updates --- Klausuren/Sd1/2015summer/Exam/Readme.md | 21 ++++++++++++++++ Klausuren/Sd1/2015winter/Exam/Readme.md | 21 ++++++++++++++++ Klausuren/Sd1/2016summer/Exam/Readme.md | 21 ++++++++++++++++ Klausuren/Sd1/2016winter/Exam/Readme.md | 21 ++++++++++++++++ Klausuren/Sd1/2017summer/Exam/Readme.md | 21 ++++++++++++++++ Klausuren/Sd1/2017winter/Exam/Readme.md | 21 ++++++++++++++++ Klausuren/Sd1/2018summer/Exam/Readme.md | 21 ++++++++++++++++ Klausuren/Sd1/2018summer/Exam/pom.xml | 9 +++---- Klausuren/Sd1/2018summer/Solve/pom.xml | 9 +++---- Klausuren/Sd1/2018winter/Exam/Readme.md | 21 ++++++++++++++++ Klausuren/Sd1/2018winter/Exam/pom.xml | 9 +++---- Klausuren/Sd1/2018winter/Solve/pom.xml | 9 +++---- Klausuren/Sd1/2019summer/Exam/Readme.md | 21 ++++++++++++++++ Klausuren/Sd1/2019summer/Exam/pom.xml | 9 +++---- Klausuren/Sd1/2019summer/Solve/pom.xml | 9 +++---- Klausuren/Sd1/2019winter/Exam/Readme.md | 21 ++++++++++++++++ Klausuren/Sd1/2019winter/Exam/pom.xml | 9 +++---- Klausuren/Sd1/2019winter/Solve/pom.xml | 9 +++---- Klausuren/Sd1/2020summer/Exam/Readme.md | 21 ++++++++++++++++ Klausuren/Sd1/2020summer/Exam/pom.xml | 9 +++---- Klausuren/Sd1/2020summer/Solve/pom.xml | 9 +++---- Klausuren/Sd1/2020winter/First/Exam/Readme.md | 21 ++++++++++++++++ Klausuren/Sd1/2020winter/First/Exam/pom.xml | 9 +++---- Klausuren/Sd1/2020winter/First/Solve/pom.xml | 9 +++---- .../Sd1/2020winter/Second/Exam/Readme.md | 21 ++++++++++++++++ Klausuren/Sd1/2020winter/Second/Exam/pom.xml | 9 +++---- Klausuren/Sd1/2020winter/Second/Solve/pom.xml | 9 +++---- Klausuren/Sd1/2021summer/Exam/Readme.md | 21 ++++++++++++++++ Klausuren/Sd1/2021summer/Exam/pom.xml | 9 +++---- Klausuren/Sd1/2021summer/Solve/pom.xml | 9 +++---- Klausuren/Sd1/2021winter/Exam/Readme.md | 19 ++++++++++----- Klausuren/Sd1/2021winter/Exam/pom.xml | 9 +++---- .../mi/sd1/task2/QuadratPolynom.java | 2 +- Klausuren/Sd1/2021winter/Solve/pom.xml | 9 +++---- .../slide/slideAssets/js/docbookSupp.js | 4 ++-- .../CustomLayer/webhelp/hdmextensions.xsl | 6 ++--- .../Tdata/Common/Components/intro.xml | 24 +++++++++++++++---- 37 files changed, 423 insertions(+), 88 deletions(-) create mode 100644 Klausuren/Sd1/2015summer/Exam/Readme.md create mode 100644 Klausuren/Sd1/2015winter/Exam/Readme.md create mode 100644 Klausuren/Sd1/2016summer/Exam/Readme.md create mode 100644 Klausuren/Sd1/2016winter/Exam/Readme.md create mode 100644 Klausuren/Sd1/2017summer/Exam/Readme.md create mode 100644 Klausuren/Sd1/2017winter/Exam/Readme.md create mode 100644 Klausuren/Sd1/2018summer/Exam/Readme.md create mode 100644 Klausuren/Sd1/2018winter/Exam/Readme.md create mode 100644 Klausuren/Sd1/2019summer/Exam/Readme.md create mode 100644 Klausuren/Sd1/2019winter/Exam/Readme.md create mode 100644 Klausuren/Sd1/2020summer/Exam/Readme.md create mode 100644 Klausuren/Sd1/2020winter/First/Exam/Readme.md create mode 100644 Klausuren/Sd1/2020winter/Second/Exam/Readme.md create mode 100644 Klausuren/Sd1/2021summer/Exam/Readme.md diff --git a/Klausuren/Sd1/2015summer/Exam/Readme.md b/Klausuren/Sd1/2015summer/Exam/Readme.md new file mode 100644 index 000000000..a50ba97e8 --- /dev/null +++ b/Klausuren/Sd1/2015summer/Exam/Readme.md @@ -0,0 +1,21 @@ +# Generate and open exercise questions for browsing + +Grab a terminal in this IDE (Alt+F12) and issue the following command: +``` +Exam> mvn javadoc:javadoc +``` + +Issue a second command asking for your project's working directory: + +``` +Exam> pwd +``` + +- You'll see a path like `/home/student/Downloads/Exam` in reply. Copy and open it in your web browser of choice +(Chrome or firefox). +- From there navigate to `target/site/apidocs` and open the documentation's root file `index.html`. + + + +# Implementation tasks + diff --git a/Klausuren/Sd1/2015winter/Exam/Readme.md b/Klausuren/Sd1/2015winter/Exam/Readme.md new file mode 100644 index 000000000..a50ba97e8 --- /dev/null +++ b/Klausuren/Sd1/2015winter/Exam/Readme.md @@ -0,0 +1,21 @@ +# Generate and open exercise questions for browsing + +Grab a terminal in this IDE (Alt+F12) and issue the following command: +``` +Exam> mvn javadoc:javadoc +``` + +Issue a second command asking for your project's working directory: + +``` +Exam> pwd +``` + +- You'll see a path like `/home/student/Downloads/Exam` in reply. Copy and open it in your web browser of choice +(Chrome or firefox). +- From there navigate to `target/site/apidocs` and open the documentation's root file `index.html`. + + + +# Implementation tasks + diff --git a/Klausuren/Sd1/2016summer/Exam/Readme.md b/Klausuren/Sd1/2016summer/Exam/Readme.md new file mode 100644 index 000000000..a50ba97e8 --- /dev/null +++ b/Klausuren/Sd1/2016summer/Exam/Readme.md @@ -0,0 +1,21 @@ +# Generate and open exercise questions for browsing + +Grab a terminal in this IDE (Alt+F12) and issue the following command: +``` +Exam> mvn javadoc:javadoc +``` + +Issue a second command asking for your project's working directory: + +``` +Exam> pwd +``` + +- You'll see a path like `/home/student/Downloads/Exam` in reply. Copy and open it in your web browser of choice +(Chrome or firefox). +- From there navigate to `target/site/apidocs` and open the documentation's root file `index.html`. + + + +# Implementation tasks + diff --git a/Klausuren/Sd1/2016winter/Exam/Readme.md b/Klausuren/Sd1/2016winter/Exam/Readme.md new file mode 100644 index 000000000..a50ba97e8 --- /dev/null +++ b/Klausuren/Sd1/2016winter/Exam/Readme.md @@ -0,0 +1,21 @@ +# Generate and open exercise questions for browsing + +Grab a terminal in this IDE (Alt+F12) and issue the following command: +``` +Exam> mvn javadoc:javadoc +``` + +Issue a second command asking for your project's working directory: + +``` +Exam> pwd +``` + +- You'll see a path like `/home/student/Downloads/Exam` in reply. Copy and open it in your web browser of choice +(Chrome or firefox). +- From there navigate to `target/site/apidocs` and open the documentation's root file `index.html`. + + + +# Implementation tasks + diff --git a/Klausuren/Sd1/2017summer/Exam/Readme.md b/Klausuren/Sd1/2017summer/Exam/Readme.md new file mode 100644 index 000000000..a50ba97e8 --- /dev/null +++ b/Klausuren/Sd1/2017summer/Exam/Readme.md @@ -0,0 +1,21 @@ +# Generate and open exercise questions for browsing + +Grab a terminal in this IDE (Alt+F12) and issue the following command: +``` +Exam> mvn javadoc:javadoc +``` + +Issue a second command asking for your project's working directory: + +``` +Exam> pwd +``` + +- You'll see a path like `/home/student/Downloads/Exam` in reply. Copy and open it in your web browser of choice +(Chrome or firefox). +- From there navigate to `target/site/apidocs` and open the documentation's root file `index.html`. + + + +# Implementation tasks + diff --git a/Klausuren/Sd1/2017winter/Exam/Readme.md b/Klausuren/Sd1/2017winter/Exam/Readme.md new file mode 100644 index 000000000..a50ba97e8 --- /dev/null +++ b/Klausuren/Sd1/2017winter/Exam/Readme.md @@ -0,0 +1,21 @@ +# Generate and open exercise questions for browsing + +Grab a terminal in this IDE (Alt+F12) and issue the following command: +``` +Exam> mvn javadoc:javadoc +``` + +Issue a second command asking for your project's working directory: + +``` +Exam> pwd +``` + +- You'll see a path like `/home/student/Downloads/Exam` in reply. Copy and open it in your web browser of choice +(Chrome or firefox). +- From there navigate to `target/site/apidocs` and open the documentation's root file `index.html`. + + + +# Implementation tasks + diff --git a/Klausuren/Sd1/2018summer/Exam/Readme.md b/Klausuren/Sd1/2018summer/Exam/Readme.md new file mode 100644 index 000000000..a50ba97e8 --- /dev/null +++ b/Klausuren/Sd1/2018summer/Exam/Readme.md @@ -0,0 +1,21 @@ +# Generate and open exercise questions for browsing + +Grab a terminal in this IDE (Alt+F12) and issue the following command: +``` +Exam> mvn javadoc:javadoc +``` + +Issue a second command asking for your project's working directory: + +``` +Exam> pwd +``` + +- You'll see a path like `/home/student/Downloads/Exam` in reply. Copy and open it in your web browser of choice +(Chrome or firefox). +- From there navigate to `target/site/apidocs` and open the documentation's root file `index.html`. + + + +# Implementation tasks + diff --git a/Klausuren/Sd1/2018summer/Exam/pom.xml b/Klausuren/Sd1/2018summer/Exam/pom.xml index a84c1e6a1..851e8154f 100644 --- a/Klausuren/Sd1/2018summer/Exam/pom.xml +++ b/Klausuren/Sd1/2018summer/Exam/pom.xml @@ -19,7 +19,7 @@ <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> - <mathjax.url>${freedocs.url}/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML</mathjax.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> @@ -80,9 +80,10 @@ <header><![CDATA[ <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> - <link rel="stylesheet" href="${libhighlight.url}/styles/idea.css"> - <script src="${libhighlight.url}/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> </configuration> </plugin> diff --git a/Klausuren/Sd1/2018summer/Solve/pom.xml b/Klausuren/Sd1/2018summer/Solve/pom.xml index e925e1c22..da0768679 100644 --- a/Klausuren/Sd1/2018summer/Solve/pom.xml +++ b/Klausuren/Sd1/2018summer/Solve/pom.xml @@ -19,7 +19,7 @@ <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> - <mathjax.url>${freedocs.url}/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML</mathjax.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> @@ -80,9 +80,10 @@ <header><![CDATA[ <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> - <link rel="stylesheet" href="${libhighlight.url}/styles/idea.css"> - <script src="${libhighlight.url}/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> </configuration> </plugin> diff --git a/Klausuren/Sd1/2018winter/Exam/Readme.md b/Klausuren/Sd1/2018winter/Exam/Readme.md new file mode 100644 index 000000000..a50ba97e8 --- /dev/null +++ b/Klausuren/Sd1/2018winter/Exam/Readme.md @@ -0,0 +1,21 @@ +# Generate and open exercise questions for browsing + +Grab a terminal in this IDE (Alt+F12) and issue the following command: +``` +Exam> mvn javadoc:javadoc +``` + +Issue a second command asking for your project's working directory: + +``` +Exam> pwd +``` + +- You'll see a path like `/home/student/Downloads/Exam` in reply. Copy and open it in your web browser of choice +(Chrome or firefox). +- From there navigate to `target/site/apidocs` and open the documentation's root file `index.html`. + + + +# Implementation tasks + diff --git a/Klausuren/Sd1/2018winter/Exam/pom.xml b/Klausuren/Sd1/2018winter/Exam/pom.xml index f081e3694..331e20c1a 100644 --- a/Klausuren/Sd1/2018winter/Exam/pom.xml +++ b/Klausuren/Sd1/2018winter/Exam/pom.xml @@ -19,7 +19,7 @@ <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> - <mathjax.url>${freedocs.url}/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML</mathjax.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> @@ -80,9 +80,10 @@ <header><![CDATA[ <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> - <link rel="stylesheet" href="${libhighlight.url}/styles/idea.css"> - <script src="${libhighlight.url}/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> </configuration> </plugin> diff --git a/Klausuren/Sd1/2018winter/Solve/pom.xml b/Klausuren/Sd1/2018winter/Solve/pom.xml index 9811c8b60..49bac7800 100644 --- a/Klausuren/Sd1/2018winter/Solve/pom.xml +++ b/Klausuren/Sd1/2018winter/Solve/pom.xml @@ -19,7 +19,7 @@ <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> - <mathjax.url>${freedocs.url}/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML</mathjax.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> @@ -80,9 +80,10 @@ <header><![CDATA[ <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> - <link rel="stylesheet" href="${libhighlight.url}/styles/idea.css"> - <script src="${libhighlight.url}/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> </configuration> </plugin> diff --git a/Klausuren/Sd1/2019summer/Exam/Readme.md b/Klausuren/Sd1/2019summer/Exam/Readme.md new file mode 100644 index 000000000..a50ba97e8 --- /dev/null +++ b/Klausuren/Sd1/2019summer/Exam/Readme.md @@ -0,0 +1,21 @@ +# Generate and open exercise questions for browsing + +Grab a terminal in this IDE (Alt+F12) and issue the following command: +``` +Exam> mvn javadoc:javadoc +``` + +Issue a second command asking for your project's working directory: + +``` +Exam> pwd +``` + +- You'll see a path like `/home/student/Downloads/Exam` in reply. Copy and open it in your web browser of choice +(Chrome or firefox). +- From there navigate to `target/site/apidocs` and open the documentation's root file `index.html`. + + + +# Implementation tasks + diff --git a/Klausuren/Sd1/2019summer/Exam/pom.xml b/Klausuren/Sd1/2019summer/Exam/pom.xml index ad69df3d1..fd03087fa 100644 --- a/Klausuren/Sd1/2019summer/Exam/pom.xml +++ b/Klausuren/Sd1/2019summer/Exam/pom.xml @@ -19,7 +19,7 @@ <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> - <mathjax.url>${freedocs.url}/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML</mathjax.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> @@ -80,9 +80,10 @@ <header><![CDATA[ <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> - <link rel="stylesheet" href="${libhighlight.url}/styles/idea.css"> - <script src="${libhighlight.url}/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> </configuration> </plugin> diff --git a/Klausuren/Sd1/2019summer/Solve/pom.xml b/Klausuren/Sd1/2019summer/Solve/pom.xml index ccfdcda05..b15a4a0c1 100644 --- a/Klausuren/Sd1/2019summer/Solve/pom.xml +++ b/Klausuren/Sd1/2019summer/Solve/pom.xml @@ -19,7 +19,7 @@ <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> - <mathjax.url>${freedocs.url}/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML</mathjax.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> @@ -80,9 +80,10 @@ <header><![CDATA[ <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> - <link rel="stylesheet" href="${libhighlight.url}/styles/idea.css"> - <script src="${libhighlight.url}/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> </configuration> </plugin> diff --git a/Klausuren/Sd1/2019winter/Exam/Readme.md b/Klausuren/Sd1/2019winter/Exam/Readme.md new file mode 100644 index 000000000..a50ba97e8 --- /dev/null +++ b/Klausuren/Sd1/2019winter/Exam/Readme.md @@ -0,0 +1,21 @@ +# Generate and open exercise questions for browsing + +Grab a terminal in this IDE (Alt+F12) and issue the following command: +``` +Exam> mvn javadoc:javadoc +``` + +Issue a second command asking for your project's working directory: + +``` +Exam> pwd +``` + +- You'll see a path like `/home/student/Downloads/Exam` in reply. Copy and open it in your web browser of choice +(Chrome or firefox). +- From there navigate to `target/site/apidocs` and open the documentation's root file `index.html`. + + + +# Implementation tasks + diff --git a/Klausuren/Sd1/2019winter/Exam/pom.xml b/Klausuren/Sd1/2019winter/Exam/pom.xml index 47427a504..b005bf31c 100644 --- a/Klausuren/Sd1/2019winter/Exam/pom.xml +++ b/Klausuren/Sd1/2019winter/Exam/pom.xml @@ -19,7 +19,7 @@ <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> - <mathjax.url>${freedocs.url}/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML</mathjax.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> @@ -80,9 +80,10 @@ <header><![CDATA[ <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> - <link rel="stylesheet" href="${libhighlight.url}/styles/idea.css"> - <script src="${libhighlight.url}/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> </configuration> </plugin> diff --git a/Klausuren/Sd1/2019winter/Solve/pom.xml b/Klausuren/Sd1/2019winter/Solve/pom.xml index 410dddb92..f26c496a2 100644 --- a/Klausuren/Sd1/2019winter/Solve/pom.xml +++ b/Klausuren/Sd1/2019winter/Solve/pom.xml @@ -19,7 +19,7 @@ <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> - <mathjax.url>${freedocs.url}/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML</mathjax.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> @@ -80,9 +80,10 @@ <header><![CDATA[ <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> - <link rel="stylesheet" href="${libhighlight.url}/styles/idea.css"> - <script src="${libhighlight.url}/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> </configuration> </plugin> diff --git a/Klausuren/Sd1/2020summer/Exam/Readme.md b/Klausuren/Sd1/2020summer/Exam/Readme.md new file mode 100644 index 000000000..a50ba97e8 --- /dev/null +++ b/Klausuren/Sd1/2020summer/Exam/Readme.md @@ -0,0 +1,21 @@ +# Generate and open exercise questions for browsing + +Grab a terminal in this IDE (Alt+F12) and issue the following command: +``` +Exam> mvn javadoc:javadoc +``` + +Issue a second command asking for your project's working directory: + +``` +Exam> pwd +``` + +- You'll see a path like `/home/student/Downloads/Exam` in reply. Copy and open it in your web browser of choice +(Chrome or firefox). +- From there navigate to `target/site/apidocs` and open the documentation's root file `index.html`. + + + +# Implementation tasks + diff --git a/Klausuren/Sd1/2020summer/Exam/pom.xml b/Klausuren/Sd1/2020summer/Exam/pom.xml index ee716d894..997686dc1 100644 --- a/Klausuren/Sd1/2020summer/Exam/pom.xml +++ b/Klausuren/Sd1/2020summer/Exam/pom.xml @@ -19,7 +19,7 @@ <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> - <mathjax.url>${freedocs.url}/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML</mathjax.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> @@ -80,9 +80,10 @@ <header><![CDATA[ <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> - <link rel="stylesheet" href="${libhighlight.url}/styles/idea.css"> - <script src="${libhighlight.url}/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> </configuration> </plugin> diff --git a/Klausuren/Sd1/2020summer/Solve/pom.xml b/Klausuren/Sd1/2020summer/Solve/pom.xml index c8d7745e0..6a6dfb9d7 100644 --- a/Klausuren/Sd1/2020summer/Solve/pom.xml +++ b/Klausuren/Sd1/2020summer/Solve/pom.xml @@ -19,7 +19,7 @@ <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> - <mathjax.url>${freedocs.url}/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML</mathjax.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> @@ -80,9 +80,10 @@ <header><![CDATA[ <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> - <link rel="stylesheet" href="${libhighlight.url}/styles/idea.css"> - <script src="${libhighlight.url}/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> </configuration> </plugin> diff --git a/Klausuren/Sd1/2020winter/First/Exam/Readme.md b/Klausuren/Sd1/2020winter/First/Exam/Readme.md new file mode 100644 index 000000000..a50ba97e8 --- /dev/null +++ b/Klausuren/Sd1/2020winter/First/Exam/Readme.md @@ -0,0 +1,21 @@ +# Generate and open exercise questions for browsing + +Grab a terminal in this IDE (Alt+F12) and issue the following command: +``` +Exam> mvn javadoc:javadoc +``` + +Issue a second command asking for your project's working directory: + +``` +Exam> pwd +``` + +- You'll see a path like `/home/student/Downloads/Exam` in reply. Copy and open it in your web browser of choice +(Chrome or firefox). +- From there navigate to `target/site/apidocs` and open the documentation's root file `index.html`. + + + +# Implementation tasks + diff --git a/Klausuren/Sd1/2020winter/First/Exam/pom.xml b/Klausuren/Sd1/2020winter/First/Exam/pom.xml index 01151c481..1a13a2455 100644 --- a/Klausuren/Sd1/2020winter/First/Exam/pom.xml +++ b/Klausuren/Sd1/2020winter/First/Exam/pom.xml @@ -19,7 +19,7 @@ <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> - <mathjax.url>${freedocs.url}/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML</mathjax.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> @@ -80,9 +80,10 @@ <header><![CDATA[ <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> - <link rel="stylesheet" href="${libhighlight.url}/styles/idea.css"> - <script src="${libhighlight.url}/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> </configuration> </plugin> diff --git a/Klausuren/Sd1/2020winter/First/Solve/pom.xml b/Klausuren/Sd1/2020winter/First/Solve/pom.xml index 3efa9b4bb..4b60dc759 100644 --- a/Klausuren/Sd1/2020winter/First/Solve/pom.xml +++ b/Klausuren/Sd1/2020winter/First/Solve/pom.xml @@ -19,7 +19,7 @@ <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> - <mathjax.url>${freedocs.url}/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML</mathjax.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> @@ -80,9 +80,10 @@ <header><![CDATA[ <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> - <link rel="stylesheet" href="${libhighlight.url}/styles/idea.css"> - <script src="${libhighlight.url}/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> </configuration> </plugin> diff --git a/Klausuren/Sd1/2020winter/Second/Exam/Readme.md b/Klausuren/Sd1/2020winter/Second/Exam/Readme.md new file mode 100644 index 000000000..a50ba97e8 --- /dev/null +++ b/Klausuren/Sd1/2020winter/Second/Exam/Readme.md @@ -0,0 +1,21 @@ +# Generate and open exercise questions for browsing + +Grab a terminal in this IDE (Alt+F12) and issue the following command: +``` +Exam> mvn javadoc:javadoc +``` + +Issue a second command asking for your project's working directory: + +``` +Exam> pwd +``` + +- You'll see a path like `/home/student/Downloads/Exam` in reply. Copy and open it in your web browser of choice +(Chrome or firefox). +- From there navigate to `target/site/apidocs` and open the documentation's root file `index.html`. + + + +# Implementation tasks + diff --git a/Klausuren/Sd1/2020winter/Second/Exam/pom.xml b/Klausuren/Sd1/2020winter/Second/Exam/pom.xml index 42812d6d8..71b4116cf 100644 --- a/Klausuren/Sd1/2020winter/Second/Exam/pom.xml +++ b/Klausuren/Sd1/2020winter/Second/Exam/pom.xml @@ -19,7 +19,7 @@ <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> - <mathjax.url>${freedocs.url}/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML</mathjax.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> @@ -80,9 +80,10 @@ <header><![CDATA[ <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> - <link rel="stylesheet" href="${libhighlight.url}/styles/idea.css"> - <script src="${libhighlight.url}/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> </configuration> </plugin> diff --git a/Klausuren/Sd1/2020winter/Second/Solve/pom.xml b/Klausuren/Sd1/2020winter/Second/Solve/pom.xml index 699965e2c..7c84a3075 100644 --- a/Klausuren/Sd1/2020winter/Second/Solve/pom.xml +++ b/Klausuren/Sd1/2020winter/Second/Solve/pom.xml @@ -19,7 +19,7 @@ <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> - <mathjax.url>${freedocs.url}/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML</mathjax.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> @@ -80,9 +80,10 @@ <header><![CDATA[ <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> - <link rel="stylesheet" href="${libhighlight.url}/styles/idea.css"> - <script src="${libhighlight.url}/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> </configuration> </plugin> diff --git a/Klausuren/Sd1/2021summer/Exam/Readme.md b/Klausuren/Sd1/2021summer/Exam/Readme.md new file mode 100644 index 000000000..a50ba97e8 --- /dev/null +++ b/Klausuren/Sd1/2021summer/Exam/Readme.md @@ -0,0 +1,21 @@ +# Generate and open exercise questions for browsing + +Grab a terminal in this IDE (Alt+F12) and issue the following command: +``` +Exam> mvn javadoc:javadoc +``` + +Issue a second command asking for your project's working directory: + +``` +Exam> pwd +``` + +- You'll see a path like `/home/student/Downloads/Exam` in reply. Copy and open it in your web browser of choice +(Chrome or firefox). +- From there navigate to `target/site/apidocs` and open the documentation's root file `index.html`. + + + +# Implementation tasks + diff --git a/Klausuren/Sd1/2021summer/Exam/pom.xml b/Klausuren/Sd1/2021summer/Exam/pom.xml index 6d4d8a67d..a105c7c04 100644 --- a/Klausuren/Sd1/2021summer/Exam/pom.xml +++ b/Klausuren/Sd1/2021summer/Exam/pom.xml @@ -19,7 +19,7 @@ <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> - <mathjax.url>${freedocs.url}/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML</mathjax.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> @@ -80,9 +80,10 @@ <header><![CDATA[ <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> - <link rel="stylesheet" href="${libhighlight.url}/styles/idea.css"> - <script src="${libhighlight.url}/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> </configuration> </plugin> diff --git a/Klausuren/Sd1/2021summer/Solve/pom.xml b/Klausuren/Sd1/2021summer/Solve/pom.xml index c8350a765..7039ddcfc 100644 --- a/Klausuren/Sd1/2021summer/Solve/pom.xml +++ b/Klausuren/Sd1/2021summer/Solve/pom.xml @@ -19,7 +19,7 @@ <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> - <mathjax.url>${freedocs.url}/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML</mathjax.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> @@ -80,9 +80,10 @@ <header><![CDATA[ <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> - <link rel="stylesheet" href="${libhighlight.url}/styles/idea.css"> - <script src="${libhighlight.url}/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> </configuration> </plugin> diff --git a/Klausuren/Sd1/2021winter/Exam/Readme.md b/Klausuren/Sd1/2021winter/Exam/Readme.md index e61012c27..a50ba97e8 100644 --- a/Klausuren/Sd1/2021winter/Exam/Readme.md +++ b/Klausuren/Sd1/2021winter/Exam/Readme.md @@ -1,14 +1,21 @@ -# Generate ond open exercise questions for browsing +# Generate and open exercise questions for browsing +Grab a terminal in this IDE (Alt+F12) and issue the following command: ``` -mvn javad -king directory: +Exam> mvn javadoc:javadoc +``` + +Issue a second command asking for your project's working directory: ``` Exam> pwd ``` -You'll receive a path e.g. `/home/student/Downloads/Exam`. Copy and open it in your web browser of choice -(Chrome or firefox) and navigate to `target/site/apidocs` and open the doc's root file `index.html`. +- You'll see a path like `/home/student/Downloads/Exam` in reply. Copy and open it in your web browser of choice +(Chrome or firefox). +- From there navigate to `target/site/apidocs` and open the documentation's root file `index.html`. + + + +# Implementation tasks -# Implement the implementation tasks \ No newline at end of file diff --git a/Klausuren/Sd1/2021winter/Exam/pom.xml b/Klausuren/Sd1/2021winter/Exam/pom.xml index dad9291d8..fd0e69f0d 100644 --- a/Klausuren/Sd1/2021winter/Exam/pom.xml +++ b/Klausuren/Sd1/2021winter/Exam/pom.xml @@ -19,7 +19,7 @@ <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> - <mathjax.url>${freedocs.url}/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML</mathjax.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> @@ -80,9 +80,10 @@ <header><![CDATA[ <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> - <link rel="stylesheet" href="${libhighlight.url}/styles/idea.css"> - <script src="${libhighlight.url}/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> </configuration> </plugin> diff --git a/Klausuren/Sd1/2021winter/Exam/src/main/java/de/hdm_stuttgart/mi/sd1/task2/QuadratPolynom.java b/Klausuren/Sd1/2021winter/Exam/src/main/java/de/hdm_stuttgart/mi/sd1/task2/QuadratPolynom.java index 6d7026006..4122b3373 100644 --- a/Klausuren/Sd1/2021winter/Exam/src/main/java/de/hdm_stuttgart/mi/sd1/task2/QuadratPolynom.java +++ b/Klausuren/Sd1/2021winter/Exam/src/main/java/de/hdm_stuttgart/mi/sd1/task2/QuadratPolynom.java @@ -22,7 +22,7 @@ package de.hdm_stuttgart.mi.sd1.task2; * </tr> * <tr> * <td> - * <pre><code class="java"> final QuadratPolynom poly = // Representing + * <pre><code class="language-java"> final QuadratPolynom poly = // Representing * new QuadratPolynom(4, -3, -10); // p(x) = 4x² - 3x - 10 * * double[] zeroes = poly.getZeroes(); diff --git a/Klausuren/Sd1/2021winter/Solve/pom.xml b/Klausuren/Sd1/2021winter/Solve/pom.xml index f184948a6..412e22db5 100644 --- a/Klausuren/Sd1/2021winter/Solve/pom.xml +++ b/Klausuren/Sd1/2021winter/Solve/pom.xml @@ -19,7 +19,7 @@ <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> - <mathjax.url>${freedocs.url}/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML</mathjax.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> @@ -80,9 +80,10 @@ <header><![CDATA[ <script type="text/javascript" src="${mathjax.url}"></script> <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> - <link rel="stylesheet" href="${libhighlight.url}/styles/idea.css"> - <script src="${libhighlight.url}/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> </configuration> </plugin> diff --git a/ws/Docbook/CustomLayer/slide/slideAssets/js/docbookSupp.js b/ws/Docbook/CustomLayer/slide/slideAssets/js/docbookSupp.js index 16b510435..17db3b63c 100644 --- a/ws/Docbook/CustomLayer/slide/slideAssets/js/docbookSupp.js +++ b/ws/Docbook/CustomLayer/slide/slideAssets/js/docbookSupp.js @@ -30,10 +30,10 @@ Reveal.initialize({ } }, { - src: 'https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/highlight.js', + src: 'https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/highlight.min.js', async: true, callback: function () { - hljs.initHighlightingOnLoad(); + hljs.highlightAll(); } }, {src: 'reveal.js/plugin/zoom-js/zoom.js', async: true}, diff --git a/ws/Docbook/CustomLayer/webhelp/hdmextensions.xsl b/ws/Docbook/CustomLayer/webhelp/hdmextensions.xsl index fff7d8984..c3ce8fc70 100644 --- a/ws/Docbook/CustomLayer/webhelp/hdmextensions.xsl +++ b/ws/Docbook/CustomLayer/webhelp/hdmextensions.xsl @@ -28,9 +28,9 @@ </xsl:if> <xsl:if test="//d:programlisting[@language and @language != 'none']|//d:screen[@language and @language != 'none']|//d:synopsis[@language and @language != 'none']"> - <link rel="stylesheet" type="text/css" href="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/styles/idea.css"/> - <script type="text/javascript" src="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script> + <link rel="stylesheet" type="text/css" href="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/styles/idea.min.css"/> + <script type="text/javascript" src="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script> </xsl:if> diff --git a/ws/Docbook/Extensions/Tdata/Common/Components/intro.xml b/ws/Docbook/Extensions/Tdata/Common/Components/intro.xml index b50ab12dd..5544d6200 100644 --- a/ws/Docbook/Extensions/Tdata/Common/Components/intro.xml +++ b/ws/Docbook/Extensions/Tdata/Common/Components/intro.xml @@ -1,5 +1,13 @@ <?xml version="1.0" encoding="UTF-8"?> -<chapter annotations="slide" version="5.1" xml:id="intro" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns2="http://docbook.org/ns/docbook" xmlns:ns="http://docbook.org/ns/transclusion" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:html="http://www.w3.org/1999/xhtml"> +<chapter annotations="slide" version="5.1" xml:id="intro" + xmlns="http://docbook.org/ns/docbook" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:xi="http://www.w3.org/2001/XInclude" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:ns2="http://docbook.org/ns/docbook" + xmlns:ns="http://docbook.org/ns/transclusion" + xmlns:m="http://www.w3.org/1998/Math/MathML" + xmlns:html="http://www.w3.org/1999/xhtml"> <title>Introduction</title> <para>Some MathML:</para> @@ -104,9 +112,16 @@ </informalequation> </figure> - <para>Some sql code:</para> + <figure xml:id="fig_programlistingJava"> + <title>Some Java code</title> - <programlisting language="sql">SELECT * FROM Table</programlisting> + <programlisting language="java">public class Java { + + protected void printMe(final int x) { + // Not yet implemented + } +}</programlisting> + </figure> <para>A <filename>Fig</filename> figure:</para> @@ -148,7 +163,8 @@ </imageobject> </mediaobject> - <para>What about <acronym xlink:href="http://www.w3.org/TR/SVG">SVG</acronym>?</para> + <para>What about <acronym + xlink:href="http://www.w3.org/TR/SVG">SVG</acronym>?</para> <mediaobject> <imageobject> -- GitLab