Hi Roger,

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)?

OK, now I remember.  :-)

If you want to write a function application, you should use ‘apply’
(which is treated specially, and is thus different from Scheme’s apply):

  $  echo "(use-modules (skribilo package eq)) (document :title [sdf] (eq 
'(apply sin 2)))" \
        | ./src/pre-inst-skribilo -t latex | grep sin
  {\textit{sin(2)}}

Thanks,
Ludo’.

_______________________________________________
Skribilo-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/skribilo-users

Reply via email to