Re: [Jbeta] displaying boxed array in html

2010-03-30 Thread Sherlock, Ric
Roger Hui wrote: For the 5 examples I listed, can you produce programmatically (not by hand) results that look like what the monad : produces? Also, can all the lines have the same width? Currently the interior lines are thicker than the external ones. Otherwise it looks promising.

Re: [Jbeta] displaying boxed array in html

2010-03-30 Thread Roger Hui
: Tuesday, March 30, 2010 8:33 Subject: Re: [Jbeta] displaying boxed array in html To: Beta forum beta@jsoftware.com Thanks.  I see that the code below has some obvious problems (e.g. the display of 0 i.2 2 3 4 has the 0 1 2 ... going down then across, rather than across then down

Re: [Jbeta] displaying boxed array in html

2010-03-30 Thread Sherlock, Ric
the point is moot. - Original Message - From: Sherlock, Ric Date: Tuesday, March 30, 2010 4:38 Subject: Re: [Jbeta] displaying boxed array in html To: Beta forum beta@jsoftware.com Roger Hui wrote: For the 5 examples I listed, can you produce programmatically (not by hand

Re: [Jbeta] displaying boxed array in html

2010-03-30 Thread Roger Hui
..i.6),2 5$'a efghij' .) Anyway the code in the Jwiki essay works fine. Thank you for your HTML ideas. - Original Message - From: Sherlock, Ric r.g.sherl...@massey.ac.nz Date: Tuesday, March 30, 2010 13:42 Subject: Re: [Jbeta] displaying boxed array in html To: Beta forum beta

Re: [Jbeta] displaying boxed array in html

2010-03-30 Thread Sherlock, Ric
From: Roger Hui http://www.jsoftware.com/jwiki/Essays/Boxed_Array_Display#HTML now incorporates the HTML ideas described by Ric Sherlock and are much simpler as a consequence. The main issue with the current output is that the style tag info is only required once per page, not once per

Re: [Jbeta] displaying boxed array in html

2010-03-30 Thread Sherlock, Ric
the code in the Jwiki essay works fine. Thank you for your HTML ideas. - Original Message - From: Sherlock, Ric r.g.sherl...@massey.ac.nz Date: Tuesday, March 30, 2010 13:42 Subject: Re: [Jbeta] displaying boxed array in html To: Beta forum beta@jsoftware.com From: Roger Hui

Re: [Jbeta] displaying boxed array in html

2010-03-30 Thread Roger Hui
. Anyway I am not too interested in why there is this discrepancy, since the code now works. - Original Message - From: Sherlock, Ric r.g.sherl...@massey.ac.nz Date: Tuesday, March 30, 2010 15:25 Subject: Re: [Jbeta] displaying boxed array in html To: Beta forum beta@jsoftware.com I've tried

Re: [Jbeta] displaying boxed array in html

2010-03-30 Thread Roger Hui
...@massey.ac.nz Date: Tuesday, March 30, 2010 15:54 Subject: Re: [Jbeta] displaying boxed array in html To: Beta forum beta@jsoftware.com The issue for me isn't so much about the actual code, but more about identifying issues with posting code on the forum. For example Note that when I pull up the link

Re: [Jbeta] displaying boxed array in html

2010-03-30 Thread Raul Miller
On Tue, Mar 30, 2010 at 6:44 PM, Roger Hui rhui...@shaw.ca wrote: With that change, a cell in a plane no longer has the same number of lines as a cell in the same row in another plane. Try it on  2 2 3 $ (i..i.6),2 5$'a   efghij' Why is this an issue? In other words, why should row height for

Re: [Jbeta] displaying boxed array in html

2010-03-30 Thread Roger Hui
] displaying boxed array in html To: Beta forum beta@jsoftware.com On Tue, Mar 30, 2010 at 6:44 PM, Roger Hui rhui...@shaw.ca wrote: With that change, a cell in a plane no longer has the same number of lines as a cell in the same row in another plane. Try it on  2 2 3 $ (i..i.6),2 5$'a   efghij

Re: [Jbeta] displaying boxed array in html

2010-03-30 Thread Raul Miller
On Tue, Mar 30, 2010 at 7:29 PM, Roger Hui rhui...@shaw.ca wrote: There is the rub.  How much cell padding to apply? It'd depend on the font size. Perhaps: {padding: 0.45em;} ? -- Raul -- For information about J forums

Re: [Jbeta] displaying boxed array in html

2010-03-30 Thread Roger Hui
That does look better. - Original Message - From: Raul Miller rauldmil...@gmail.com Date: Tuesday, March 30, 2010 16:42 Subject: Re: [Jbeta] displaying boxed array in html To: Beta forum beta@jsoftware.com On Tue, Mar 30, 2010 at 7:29 PM, Roger Hui rhui...@shaw.ca wrote

Re: [Jbeta] displaying boxed array in html

2010-03-30 Thread Sherlock, Ric
| +--+--+--+--+ This explains the discrepancy. - Original Message - From: Sherlock, Ric r.g.sherl...@massey.ac.nz Date: Tuesday, March 30, 2010 15:54 Subject: Re: [Jbeta] displaying boxed array in html To: Beta forum beta@jsoftware.com The issue for me isn't so much about the actual code, but more

Re: [Jbeta] displaying boxed array in html

2010-03-29 Thread Raul Miller
On Mon, Mar 29, 2010 at 3:22 PM, Roger Hui rhui...@shaw.ca wrote: The last example demonstrates that vertical alignment between planes can not be achieved by padding with nbsp; (because that can not account for the space used by the HTML box drawing lines). It might be possible to construct

Re: [Jbeta] displaying boxed array in html

2010-03-28 Thread Eric Iverson
In jhs it is easy to use jhtml'...' to put raw html in the display log. It would be relatively easy to write a verb that displays J data in an html table. This is a good exercise for the community. On Sat, Mar 27, 2010 at 9:27 PM, June Kim junea...@gmail.com wrote: Hello, Displaying boxed

Re: [Jbeta] displaying boxed array in html

2010-03-28 Thread bill lam
dim, 28 Mar 2010, June Kim skribis: Thank you for suggesting an easy way. However, as you will aknowledge, what really matters is what default behavior of the system is. (Think about Nudge http://en.wikipedia.org/wiki/Nudge_%28book%29 ) Using the web browser as the base UI platform and

Re: [Jbeta] displaying boxed array in html

2010-03-28 Thread June Kim
On Sun, Mar 28, 2010 at 11:38 PM, bill lam bbill@gmail.com wrote: dim, 28 Mar 2010, June Kim skribis: Thank you for suggesting an easy way. However, as you will aknowledge, what really matters is what default behavior of the system is. (Think about Nudge

Re: [Jbeta] displaying boxed array in html

2010-03-28 Thread bill lam
dim, 28 Mar 2010, Dan Bron skribis: June Kim: If you want to keep browser as the platform as a long term plan, I would strongly suggest using its table displaying feature(TABLE tag) for displaying tables. Bill Lam: But, can that be copy and paste via clipboard to text editor?

Re: [Jbeta] displaying boxed array in html

2010-03-28 Thread Dan Bron
Bill Lam wrote: On the contrary I consider grid characters important because information will be lost without them, eg, 1 vs 1 On the contrary to your contrary, using HTML will allow us to distinguish a lot more relevant information than our current text-only display can (e.g. we could have

Re: [Jbeta] displaying boxed array in html

2010-03-28 Thread Brian Schott
http://olegykj.sourceforge.net/scripts/okhtml.zip On Sun, Mar 28, 2010 at 1:33 PM, Eric Iverson eric.b.iver...@gmail.com wrote: Has anyone already written a verb to convert J boxed data to html table format? If so, it would be nice to see how it worked with jhtml in jhs.

Re: [Jbeta] displaying boxed array in html

2010-03-28 Thread Raul Miller
On Sun, Mar 28, 2010 at 6:51 PM, Roger Hui rhui...@shaw.ca wrote: For arrays with rank greater than 2, you need to align elements at the same row and column.  That is, in the output x{~i0;j;k and x{~i1;j;k are aligned. The only way I know to attempt this requires the server specify the size of

Re: [Jbeta] displaying boxed array in html

2010-03-28 Thread Roger Hui
Subject: Re: [Jbeta] displaying boxed array in html To: Beta forum beta@jsoftware.com On Sun, Mar 28, 2010 at 6:51 PM, Roger Hui rhui...@shaw.ca wrote: For arrays with rank greater than 2, you need to align elements at the same row and column.  That is, in the output x{~i0;j;k and x{~i1;j;k

Re: [Jbeta] displaying boxed array in html

2010-03-28 Thread Cliff Reiter
Not robust, since its only use was creating/updating a couple tables for http://ww2.lafayette.edu/~reiterc/nt/ppe/index.html but I think ht_tags=: 4 : ',x,,y,''/'',x,' NB. from image3 bxa_to_ht_table=: 3 : 0 'table'ht_tags CRLF,~,CRLF,1'tr'ht_tags;1 'td'ht_tags@::.y ) at least