diff --git a/test.org b/test.org index 30c9dd13f17c194d5c6400569e228506e68c5b2e..6b4098964c13b771eff4caa5d47442cd0a0f3598 100644 --- a/test.org +++ b/test.org @@ -1,7 +1,7 @@ -#+SETUPFILE: https://fniessen.github.io/org-html-themes/setup/theme-bigblow.setup +#+SETUPFILE: https://fniessen.github.io/org-html-themes/org/theme-readtheorg.setup #+STARTUP: org-pretty-entities entitiespretty -#+PROPERTY: header-args :comments yes +#+PROPERTY: header-args :comments no #+OPTIONS: h:3 num:t toc:3 #+TITLE: Exemple de document interactif #+OPTIONS: author:nil date:nil @@ -56,6 +56,30 @@ python pour approcher (bien mal) la valeur de $\pi$. #+RESULTS: : pi ~ 3.14063710098594 +** pugs + +#+BEGIN_SRC pugs :exports both :results output :post + let f:R -> R, x -> 2*x+1; + cout << 2*f(3) << "\n"; +#+END_SRC + +#+RESULTS: +#+begin_example +----------------- pugs exec info ---------------------- +MPI number of ranks 1 +Kokkos::OpenMP thread_pool_topology[ 1 x 8 x 1 ] +------------------------------------------------------- + ,* setting random seed to 3830406915 +Parsing file /tmp/babel-dXeodt/nwRYD2u.pugs ... + - loaded modules + - checked symbols declaration + - build node data types + - checked node data types +------------------------------------------------------- +Executing AST... +14 +#+end_example + * Équations Il est possible d'écrire des maths normalement dans le texte ($\partial_t u -