Commit 892e6489 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

org: add some help for upgrading old code

* doc/org/upgrade2.org: New file.
* doc/Makefile.am, doc/org/index.org: Add it.
* doc/org/tut22.org: Add some custom id for reference.
* doc/org/spot.css: Style the tables.
* NEWS: Mention the new doc.
parent 65726c0f
......@@ -4,6 +4,12 @@ New in spot 1.99.8a (not yet released)
* twa::ap_var() renamed to twa::ap_vars().
Documentation:
* The page https://spot.lrde.epita.fr/upgrade2.html should help
people migrating old C++ code written for Spot 1.2.x, and update
it for Spot 2.0.
New in spot 1.99.8 (2016-02-18)
Command-line tools:
......
......@@ -99,6 +99,7 @@ ORG_FILES = \
org/tut21.org \
org/tut22.org \
org/tut30.org \
org/upgrade2.org \
org/satmin.org \
org/satmin.tex \
org/setup.org \
......
......@@ -35,10 +35,12 @@ The latest version is *{{{LASTRELEASE}}}* and was released on
* Documentation
- [[file:concepts.org][Basic concepts]].
- [[file:tools.org][Command-line tools]].
- [[file:tut.org][Code examples]].
- [[http://spot.lrde.epita.fr/doxygen/][Doxygen documentation]], generated automatically from the source code.
- [[https://spot.lrde.epita.fr/tl.pdf][Definition of the temporal operators supported by Spot]].
- [[file:upgrade2.org][Help for upgrading existing code written for Spot 1.2.x to Spot 2]].
* Try Spot On-line
......
......@@ -34,6 +34,12 @@ img{max-width:100%}
#table-of-contents{border:1px solid #ffd300}
#org-div-home-and-up{visibility:hidden}
}
thead tr {background: #ffe35e;}
tbody:nth-child(odd) tr:nth-child(even) {background: #fff0a6;}
tbody:nth-child(odd) tr:nth-child(odd) {background: #fff7cf;}
tbody:nth-child(even) tr:nth-child(even) {background: #fff3bc;}
tbody:nth-child(even) tr:nth-child(odd) {background: #fffbe0;}
.org-keyword{font-weight:bold}
.org-builtin{font-weight:bold}
.org-preprocessor{font-weight:bold}
......@@ -49,5 +55,7 @@ img{max-width:100%}
.org-hoa-header-uppercase{font-weight:bold;color:#00adad}
.org-hoa-header-lowercase{color:#00adad}
.org-hoa-ap-number{color:#d70079}
.implem{background:#f1f0a6;padding:0.5ex 1ex 0.5ex 1ex;margin:1ex;border-color:#ffe35e;border-style:solid none}
.implem{background:#fff0a6;padding:0.5ex 1ex 0.5ex 1ex;margin:1ex;border-color:#ffe35e;border-style:solid none}
.implem:before{background:#ffe35e;content:"Implementation detail";padding:.5ex;position:relative;top:0;left:0;font-weight:bold}
.caveat{background:#ef99c9;padding:0.5ex 1ex 0.5ex 1ex;margin:1ex;border-color:#d70079;border-style:solid none}
.caveat:before{background:#d70079;content:"Caveat";padding:.5ex;position:relative;top:0;left:0;font-weight:bold}
......@@ -6,6 +6,9 @@
This example demonstrates how to create an automaton and then print it.
* C++
:PROPERTIES:
:CUSTOM_ID: cpp
:END:
#+BEGIN_SRC C++ :results verbatim :exports both :wrap SRC hoa
#include <iostream>
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment