On Friday, 27 December 2024 at 03:32:24 UTC+1 Waldek Hebisch wrote:

On Mon, Dec 02, 2024 at 12:38:14AM +0100, Waldek Hebisch wrote: 
> I have tried to modify Ralf's code 
> to directly generate HTML, skipping the .rst stage. You 
> can see proof of concept code at: 
> 
> http://wiki.fricas.org/public/api2.spad 

At the link above there now next, slightly modified version. 
Also at: 

http://wiki.fricas.org/public/styles.css 

is my attempt at a stylesheet. There seem to be some discrepancies, 
but IMO it reasonably well approximates colours and fonts of 
Sphinx style used by Ralf. 


I pushed it and it comes quite close , indeed. 


Of course, we may try different style. For example by default 
Firefox shows visited link in a different colour. I find this 
useful, but Sphinx style apparantly want the same colour for 
all links, visited or not. 


Well, I'm already quite happy with this ... but will be probably be a lcd 
in the end. 
What's also quite apparent is the improvement on the speed of displaying - 
presumably the absence of javascript !?
 


> If you want to try this, first generate 'abbrev-lines.list' 
> (you can take it from documentation build), then compile 
> 'api.spad' from 'src/doc', then compile 'api2.spad' and 
> at FriCAS prompt issue 
> 
> documentAll("abbrev-lines.list") 

-- 
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 visit 
https://groups.google.com/d/msgid/fricas-devel/9b4c3c6d-fbf2-45a5-b4cc-44d157e63f4an%40googlegroups.com.

Reply via email to