Re: [fricas-devel] typesetting issue with spadfunFrom

2024-05-08 Thread Waldek Hebisch
On Wed, May 08, 2024 at 09:47:10AM +0200, Ralf Hemmecke wrote:
> On 5/8/24 03:10, Waldek Hebisch wrote:
> > I see, you are right, the one in "viewWriteAvailable" is wrong.
> > AFAICS '\spadfunFrom' does not work inside 'description' environment.
> > There are 3 other uses like this, in ug07.tex inside section
> > 'Operations for Three-Dimensional Graphics'.
> 
> Yep. What have I done? The definition
> 
> \NewDocumentCommand{\spadfunFrom}{v v}{\spadfun`#1`}
> 
> looks perhaps wrong in connection to the definition of \spadfun.
> I must study that in more detail.

It is not clear to me why you do things the way you do.  The
whole thing is _very_ complicated: there are awk script that
mangle .ht to .htex, than you import package for low-level
messing and than you still have several very low level LaTeX
macros.

> Why, however, that problem is only visible inside the description
> environment, sounds strange to me.

Well, apparently you want changed parsing.  And probably 'description'
also want special parsing.  No wonder that both clash.


-- 
  Waldek Hebisch

-- 
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 fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/Zjtm0iZd3m-XWUOD%40fricas.org.


Re: [fricas-devel] typesetting issue with spadfunFrom

2024-05-08 Thread Ralf Hemmecke

On 5/8/24 03:10, Waldek Hebisch wrote:

I see, you are right, the one in "viewWriteAvailable" is wrong.
AFAICS '\spadfunFrom' does not work inside 'description' environment.
There are 3 other uses like this, in ug07.tex inside section
'Operations for Three-Dimensional Graphics'.


Yep. What have I done? The definition

\NewDocumentCommand{\spadfunFrom}{v v}{\spadfun`#1`}

looks perhaps wrong in connection to the definition of \spadfun.
I must study that in more detail.

Why, however, that problem is only visible inside the description 
environment, sounds strange to me. It works inside enumerate or itemize.

It is also not connected to the special backquote character.
Why the description environment influences the behaviour is still a bit 
unclear to me.


Anyway, with using pdflatex these definitions should anyway change in 
order to produce hyperlinks.


Ralf

--
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 fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/e05bd368-29cb-4521-b05b-c525b7649500%40hemmecke.org.


Re: [fricas-devel] typesetting issue with spadfunFrom

2024-05-07 Thread Waldek Hebisch
On Wed, May 08, 2024 at 07:50:29AM +0800, Qian Yun wrote:
> OK, there's 2 "write" on that page, the one under "viewWriteAvailable"
> is wrong, the one under "viewWriteDefault" is right, but this one is
> \spadfun, not \spadfunFrom.
> 
> Can you double check the one under "viewWriteAvailable"?

I see, you are right, the one in "viewWriteAvailable" is wrong.
AFAICS '\spadfunFrom' does not work inside 'description' environment.
There are 3 other uses like this, in ug07.tex inside section
'Operations for Three-Dimensional Graphics'.

-- 
  Waldek Hebisch

-- 
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 fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/ZjrRA0OaOIqq8ktb%40fricas.org.


Re: [fricas-devel] typesetting issue with spadfunFrom

2024-05-07 Thread Qian Yun

OK, there's 2 "write" on that page, the one under "viewWriteAvailable"
is wrong, the one under "viewWriteDefault" is right, but this one is
\spadfun, not \spadfunFrom.

Can you double check the one under "viewWriteAvailable"?

- Qian

On 5/8/24 05:23, Waldek Hebisch wrote:

On Mon, May 06, 2024 at 08:29:44PM +0800, Qian Yun wrote:

In page 242 of book.pdf (from 1.3.10 release), the "write" under
item "viewWriteDefault" is not correctly colored: only a quote is
colored as red.

The definition from fricas.sty is:

 \NewDocumentCommand{\spadfunFrom}{v v}{\spadfun`#1`}

Looks like the "`" is colored here.  But this doesn't happen
for other \spadfunFrom elsewhere.


Like Ralf I see correct coloring.  I would rather suspect that you
see a glitch in .pdf viewer (IME sometimes .pdf viewers show different
thing than they should).



--
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 fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/712fc0d0-e279-48b5-8c47-16b2f1565d78%40gmail.com.


Re: [fricas-devel] typesetting issue with spadfunFrom

2024-05-07 Thread Waldek Hebisch
On Mon, May 06, 2024 at 08:29:44PM +0800, Qian Yun wrote:
> In page 242 of book.pdf (from 1.3.10 release), the "write" under
> item "viewWriteDefault" is not correctly colored: only a quote is
> colored as red.
> 
> The definition from fricas.sty is:
> 
> \NewDocumentCommand{\spadfunFrom}{v v}{\spadfun`#1`}
> 
> Looks like the "`" is colored here.  But this doesn't happen
> for other \spadfunFrom elsewhere.

Like Ralf I see correct coloring.  I would rather suspect that you
see a glitch in .pdf viewer (IME sometimes .pdf viewers show different
thing than they should).

-- 
  Waldek Hebisch

-- 
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 fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/ZjqbzAwIPNB9_XP0%40fricas.org.


Re: [fricas-devel] typesetting issue with spadfunFrom

2024-05-06 Thread Ralf Hemmecke

I don't understand when I look on page 242 of
https://fricas.github.io/book.pdf, then I see a red "write".

I hope that \spadfunFrom can be turned into hyperlinks to 
fricas.github.io/api when we use pdflatex.


Ralf

On 5/6/24 14:29, Qian Yun wrote:

In page 242 of book.pdf (from 1.3.10 release), the "write" under
item "viewWriteDefault" is not correctly colored: only a quote is
colored as red.

The definition from fricas.sty is:

     \NewDocumentCommand{\spadfunFrom}{v v}{\spadfun`#1`}

Looks like the "`" is colored here.  But this doesn't happen
for other \spadfunFrom elsewhere.

- Qian



--
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 fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/ee12cd2c-0b79-4f5b-8788-1ed79758c213%40hemmecke.org.


[fricas-devel] typesetting issue with spadfunFrom

2024-05-06 Thread Qian Yun

In page 242 of book.pdf (from 1.3.10 release), the "write" under
item "viewWriteDefault" is not correctly colored: only a quote is
colored as red.

The definition from fricas.sty is:

\NewDocumentCommand{\spadfunFrom}{v v}{\spadfun`#1`}

Looks like the "`" is colored here.  But this doesn't happen
for other \spadfunFrom elsewhere.

- Qian

--
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 fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/1623ccc7-a449-4bb6-b95f-643baf62b776%40gmail.com.