Hi!
Roger Mason <[email protected]> skribis:
> the fragment
>
> ,(eq '(= phi (/ (+ 1 (sin 2)) 2)))
>
> writes
>
> {\textit{\begin{math}\varphi\end{math} = (1 + 0.909297426825682) / 2}}
>
> into a LaTeX document. How do I prevent Guile from interpreting (sin 2)?
Hmm, the way it’s currently implemented, eq.scm has to be modified along
these lines:
diff --git a/src/guile/skribilo/package/eq.scm b/src/guile/skribilo/package/eq.scm
index bc9980a..b763f7d 100644
--- a/src/guile/skribilo/package/eq.scm
+++ b/src/guile/skribilo/package/eq.scm
@@ -159,6 +159,12 @@ a symbol representing the mathematical operator denoted by @var{m} (e.g.,
;; Taken from http://en.wikipedia.org/wiki/Order_of_operations .
'((expt . 2)
(sqrt . 2)
+ (sin . 2)
+ (cos . 2)
+ (tan . 2)
+ (acos . 2)
+ (asin . 2)
+ (atan . 2)
(* . 3)
(/ . 3)
Can you confirm that it works for you?
Thanks,
Ludo’.
_______________________________________________
Skribilo-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/skribilo-users