org: simplify babel blocks using #+PROPERTY: header-args
This feature is in Org 9, which is already required. * doc/org/autcross.org, doc/org/autfilt.org, doc/org/compile.org, doc/org/concepts.org, doc/org/csv.org, doc/org/dstar2tgba.org, doc/org/genaut.org, doc/org/genltl.org, doc/org/hierarchy.org, doc/org/hoa.org, doc/org/ioltl.org, doc/org/ltl2tgba.org, doc/org/ltl2tgta.org, doc/org/ltlcross.org, doc/org/ltldo.org, doc/org/ltlfilt.org, doc/org/ltlgrind.org, doc/org/ltlsynt.org, doc/org/oaut.org, doc/org/randaut.org, doc/org/randltl.org, doc/org/satmin.org, doc/org/setup.org, doc/org/tools.org, doc/org/tut01.org, doc/org/tut02.org, doc/org/tut03.org, doc/org/tut04.org, doc/org/tut10.org, doc/org/tut11.org, doc/org/tut12.org, doc/org/tut20.org, doc/org/tut21.org, doc/org/tut22.org, doc/org/tut23.org, doc/org/tut24.org, doc/org/tut30.org, doc/org/tut31.org, doc/org/tut50.org, doc/org/upgrade2.org: Simplify SRC block setups for sh, python and C++. Also fix a few typos and examples along the way.
This commit is contained in:
parent
0c8e6a38a8
commit
8a96828d85
40 changed files with 2193 additions and 2281 deletions
|
|
@ -114,7 +114,7 @@ experience of updating a couple of projects that are using Spot.
|
|||
If Spot 1.2.6 was installed in =/usr/local=, its headers are
|
||||
in =/usr/local/include/spot=. One would to write include statements
|
||||
such as
|
||||
#+BEGIN_SRC c++
|
||||
#+BEGIN_SRC C++
|
||||
#include <tgba/tgba.hh>
|
||||
#include <ltl/formula.hh>
|
||||
#+END_SRC
|
||||
|
|
@ -126,7 +126,7 @@ directory.
|
|||
If Spot 2.0 is installed in =/usr/local=, its headers are still in
|
||||
=/usr/local/include/spot= however the =spot/= directory is and should
|
||||
always be used to refer to the header:
|
||||
#+BEGIN_SRC c++
|
||||
#+BEGIN_SRC C++
|
||||
#include <spot/twa/twa.hh> // the new name of tgba/tgba.hh
|
||||
#include <spot/tl/formula.hh> // the new name of ltl/formula.hh
|
||||
#+END_SRC
|
||||
|
|
@ -454,7 +454,7 @@ name:
|
|||
handle those larger acceptance conditions, or restricted to
|
||||
generalized Büchi acceptance. The typical way to ensure
|
||||
that an =input= automaton has generalized Büchi acceptance is
|
||||
#+BEGIN_SRC c++
|
||||
#+BEGIN_SRC C++
|
||||
if (!input->acc().is_generalized_buchi())
|
||||
throw std::runtime_error
|
||||
("myalgorithm() can only works with generalized Büchi acceptance");
|
||||
|
|
@ -600,7 +600,6 @@ for (auto i: aut->succ(s))
|
|||
|
||||
|
||||
* Various renamings
|
||||
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: renamings
|
||||
:END:
|
||||
|
|
@ -611,7 +610,7 @@ for (auto i: aut->succ(s))
|
|||
| old name | new name | comment |
|
||||
|-------------------------------------------------------------+---------------------------------------------+-----------------------------------------------------------|
|
||||
| ~dstar_parse()~ | ~parse_aut()~ | single parser for all automata |
|
||||
| ~dtgba_complement()~ | ~dtwa_complement()~ | |
|
||||
| ~dtgba_complement()~ | ~dualize()~ | |
|
||||
| ~dupexp_bfs()~ | | deleted |
|
||||
| ~dupexp_dfs()~ | ~make_twa_graph()~ | |
|
||||
| ~format_parse_aut_errors()~ | ~parsed_aut::format_errors()~ | |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue