Hello Kurt, I'm also interested in differential forms and differential geometry,
and I looked into dform.spad/pdf a bit, I make some changes to example
code.  Also a word of advice: you can cleanup trailing white spaces in these
files.

diff --git a/deploy/dform.spad b/deploy/dform.spad
index 4ebe1db..d09dd12 100644
--- a/deploy/dform.spad
+++ b/deploy/dform.spad
@@ -659,9 +659,9 @@
     X ==> Expression R           -- function Ring
 \end{lstlisting}
 %
-For the examples that follow we will choose {\tt R=Integer},
+For the following examples we will choose {\tt R==>Integer},
 \begin{verbatim}
-    v=[x[0],x[1],x[2],x[3]]},
+    v:=[x[0],x[1],x[2],x[3]]
 \end{verbatim}
 and the abbreviation {\tt M:=DFORM(R,v)}. Recall that indices of lists
 and vectors in FriCAS start with $1$, so one has to be careful:
@@ -792,19 +792,19 @@
 \subsubsection{Sign of a metric $g$}
 Calculate the  sign of a metric $g$.
 \begin{lstlisting}
-    s(g)
+    s(g)$M
 \end{lstlisting}
 %
 \subsubsection{Inverse Hodge star}
 Calculate the inverse Hodge star operator:
 \begin{lstlisting}
-    invHodgeStar(g,dx.1)
+    invHodgeStar(g,dx.1)$M
 \end{lstlisting}
 %
 \subsubsection{Hodge-Laplacian}
 Calculate the Hodge-Laplacian.
 \begin{lstlisting}
-   hodgeLaplacian(g,f*dx.1)
+   hodgeLaplacian(g,f*dx.1)$M
 \end{lstlisting}
 %
 \subsubsection{Projection}

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to