Commit b2a8559f authored by Thierry Martinez's avatar Thierry Martinez

LaTeX commands!

parent 8689e7be
MODULES=$(shell sed -n 's/^- \(.*\.pl\(t\?\)\)$$/\1/p' toc.org)
MODULES=$(shell sed -n -E 's/^- (.*\.plt?)$$/\1/p' toc.org)
all: biocham biocham_debug tests doc
......
......@@ -11,6 +11,20 @@
:- doc('
The Biochemical Abstract Machine (Biocham) is a software environment for
modeling and analyzing biochemical systems.
Biocham is mainly composed of :
\\begin{itemize}
\\item a rule-based language for modeling biochemical systems (compatible with
SBML and SBGN),
\\item different simulators (Boolean, differential, stochastic),
\\item a temporal logic based language to formalize the temporal properties of
a biological system and validate models with respect to such specifications,
\\item unique features for developing/correcting/completing/reducing/coupling
models, including the inference of kinetic parameters in high dimension from
temporal logic constraints.
\\end{itemize}
Biocham is a free software protected by the GNU General Public License GPL
version 2. This is an Open Source license that allows free usage of this
software.
').
start :-
......
......@@ -761,32 +761,45 @@ write_command(index, Key, Doc) :-
write_command(begin, itemize, Doc) :-
!,
nb_setvar(opened_li, false),
nb_setval(opened_li, false),
write(Doc, '<ul>').
write_command(begin, enumerate, Doc) :-
!,
nb_setvar(opened_li, false),
nb_setval(opened_li, false),
write(Doc, '<ol>').
write_command(item, Argument, Doc) :-
!,
(
nb_getvar(opened_li, true)
->
write(Doc, '</li>'),
nb
;
true
),
close_opened_li(Doc),
write(Doc, '<li>'),
atom_chars(Argument, ArgumentChars),
write_doc_chars(ArgumentChars, Doc),
write(Doc, Argu).
write_doc_chars(ArgumentChars, Doc).
write_command(end, itemize, Doc) :-
!,
close_opened_li(Doc),
write(Doc, '</ul>').
write_command(end, enumerate, Doc) :-
!,
close_opened_li(Doc),
write(Doc, '</ol>').
write_command(Command, _Argument, _Doc) :-
throw(error(unknown_command(Command))).
close_opened_li(Doc) :-
(
nb_getval(opened_li, true)
->
write(Doc, '</li>'),
nb_setval(opened_li, false)
;
true
).
:- dynamic(index_contents/2).
......
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