skribilo-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [skribilo-users] Math in skribilo


From: Ludovic Courtès
Subject: Re: [skribilo-users] Math in skribilo
Date: Wed, 25 Apr 2012 16:16:50 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.93 (gnu/linux)

Hi Roger,

Roger Mason <address@hidden> 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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]