> 
> Hi Waldek,
> 
> > +\xtc{
> > +}{
> > +\spadcommand{fortranLiteralLine(concat ["C\ \ \ \ \ \ The\ Matrix\ has\ ",
> > +nrows(m)::String, "\ rows\ and\ ", ncols(m)::String, "\ columns"]
> > +)$FortranTemplate \free{m}}
> > +}
> 
> For the purpose of easier parsing of \spadcommand{...} (via awk) it
> would be good if this appeared all on one line (including the final "}")
> or is written with
> 
> \begin{spadsrc}[\free{m}]
> fortranLiteralLine(concat ["C\ \ \ \ \ \ The\ Matrix\ has\ ",
>   nrows(m)::String, "\ rows\ and\ ", ncols(m)::String, "\ columns"]
> )$FortranTemplate
> \end{spadsrc}

Hmm, is it really big problem?  First alternative is ugly, the
second is a bit heavy...


> Furthermore, in order to get the command right, I'd have to remove the
> backslashes in "\ ".

I do not know why there are backslashes in this line, it
make more sense without them.  I would guess that something
was eating the whitespace, so original authors protected
whitespace with backslashes.   So, I would remove backslashes here.
OTOH it would be nice to handles them sensibly (make sure
they appear in the output).  Note that without backslashes
'/\' and '\/' can not be used...

> Although not important, I've seen something like
> 
> \spadcommand{al."bob" := [407,"male"]\$Data \free{al1}\bound{al2}}
> 
> in ALIST.htex (escaped $). As long as all this is not a problem for
> HyperDoc, $ and \$ are currently fine for me for the tex form.

Form logs it seems that Hyperdoc ate the backslash, so what
is executed has no backslash.  I would consider this eating
of backslashes to be a Hyperdoc bug.  OTOH example clearly
should contain no backslash.

-- 
                              Waldek Hebisch
[email protected] 

-- 
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 http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to