Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - nigelbrown

#46
newLISP Graphics & Sound /
March 06, 2006, 11:50:50 AM
Hi,

The newlisp installer for 8.8.0 installs and newlisp-tk runs fine on my win-xp home SP2  

system. Could you give more details on your system and how the install went?



Regards

Nigel
#47
newLISP newS /
February 23, 2006, 09:11:29 PM
Mandriva rpms available via link from http://users.cyberone.com.au/nbrown/">http://users.cyberone.com.au/nbrown/ .

Compiled on Mandriva 2006 Free ( http://wwwnew.mandriva.com/">http://wwwnew.mandriva.com/ ) plus readline 5.1 ( http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html">http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html ) .

Older 8.7.1 are also left there.



Regards

Nigel
#48
newLISP newS /
February 22, 2006, 05:02:15 AM
Hi Lutz,

I see rpm: is out of makefile. I remember we discussed moving it out of makefile and using a script - do you have a script done or should I do one for rpm building? I will build mandriva rpms on Mandriva 2006 Free.



Nigel
#49
newLISP newS /
February 12, 2006, 03:31:08 PM
The bookmarks in the pdf now are just what I needed, thanks Lutz.



Please see my note on the Bayes chain example in the doc RFC thread for a suggested clarification of the requirement of the chain calculation that the test and retest results should 'conditionally independent'.

Perhaps adding:



Note that  it is assumed the test and retests are conditionally independent. That is, the likelihood of a given test result depends on the gold standard diagnosis alone rather than on the gold standard and results of the other test.



would cover it.



Nigel
#50
newLISP newS /
February 05, 2006, 07:35:32 PM
I would like to suggest the need for some clarifying text for the Bayesian Chain example. The example as worked requires the assumption that retesting events are statistically independent. For a worked example see the test paper Q4 parts g) and h)  http://math.usask.ca/~bickis/courses/stats246/as203.pdf">http://math.usask.ca/~bickis/courses/stats246/as203.pdf and the answer at http://math.usask.ca/~bickis/courses/stats246/as203.html">http://math.usask.ca/~bickis/courses/st ... as203.html">http://math.usask.ca/~bickis/courses/stats246/as203.html .



The confounding issue is that if there is something that makes the test positive in a person that is unrelated to the disease in question but that is always going to be there then retest results can't be meaningfully chained.



Maybe add qualifying lines to the example so it reads:<start-text>



example:

(bayes-query '(test-positive) Data true)

=> (0.3076923077 0.6923076923)



If the testing is modified so that any negative result is interpreted as a negative but a positive result is retested and considered a positive only if the retest is a positive, and assuming that the results of the test and retest are statistically independent we have:



(bayes-query '(test-positive test-positive) Data true)

=> (0.64 0.36)



(bayes-query '(test-positive test-positive test-positive) Data true)

=> (0.8767123288 0.1232876712)



The example shows that a person may have to be tested several times positive to be classified as sick with confidence.



Regarding the requirement of statistical independence, two tests would be nearly independent if the variation in test results were due to variation in the lab that was not related to the patient. However, they would not be independent if there was variation among patients as to how readily the disease could be diagnosed. So if, for example, the test involved measuring some enzyme in the blood, then independence between retests would be expected if the lab quantitation was imprecise. Independence would not be expected if some other blood component unrelated to the disease was present in some individuals and this component interfered with the measurement of the enzyme.



<end-text>

The last paragraph is a straight copy from the exam answers mentioned above - if you were generally happy with the tone of the suggested wording then I could rework the lifted section or seek permission (although technically it is possibly too small a part of the whole to be a copyright violation that would be the 'right thing to do')

I will also use the working as set out in the web reference to check the results.



Nigel



PS another way of explaining the issue is here http://www.merck.com/mrkshared/mmanual/section21/chapter295/295e.jsp">http://www.merck.com/mrkshared/mmanual/ ... 5/295e.jsp">http://www.merck.com/mrkshared/mmanual/section21/chapter295/295e.jsp  



viz

the results of the various tests are often assumed to be conditionally independent (ie, the likelihood of a given test result depends on the gold standard diagnosis alone rather than on the gold standard and results of the other test), and the performance characteristics of the second test can be conditioned only on the gold standard for diagnosis.
#51
newLISP newS /
January 28, 2006, 07:05:46 PM
Fair comment. Having P is more standard.



Nigel
#52
newLISP in the real world /
January 28, 2006, 05:01:19 PM
Try unpack (see manual)



Note at site says "little endian"

but just says "4 unsigned integers" so I don't know what they think the bytes per integer is. 4 bytes per integer would be 32 bit. 4 bytes for 4 integers would be 8 bit.



Nigel
#53
newLISP newS /
January 28, 2006, 02:17:34 PM
Hi Lutz,

The reasion I suggested _questionmark_ is that listp is a likely name for a user to choose for ther own defined predicate function (especilly if they have an oldLisp background) - I was looking for a substitution that was unlikely to result in a naming clash. For a shorter form how about list_qm etc? Or maybe list__p, ie double underscore, and a manual note that double underscore is best not used in user defined names?



Nigel
#54
newLISP newS /
January 28, 2006, 06:09:19 AM
Hi Lutz,

I'm looking into the help linking and noted:



1. doc location setting

Using newlisp 8.7.9 compiled on Suse 10 86_64 I tried the "text is highlighted with the mouse, than right-mous-button/menu/help" and found the context-sensitive help tried to link to /usr/share/newlisp/newlisp_manual.html while the manual is at /usr/share/newlisp/doc/newlisp_manual.html.



Looking at the newlisp-tk.tcl code the default location settings are:

set Ide(HelpFile)           "/usr/share/newlisp/newlisp_manual.html"

set Ide(HelpTopic)          "/usr/share/newlisp/doc/manual_frame.html"

set Ide(HelpTopic-tk)       "/usr/share/newlisp/doc/newlisp-tk.html"



looks like HelpFile location needs the /doc/ added



2. This looks like code for context-sens help in newlisp-tk.tcl:



proc CommandHelp { widget } {



   global selectionBuff Ide



   catch [set selectionBuff [selection get -displayof $widget ]]

   exec $Ide(HelpProgram) $Ide(HelpFile)#$selectionBuff

        }



to implement replacing ? with _questionmark_ I used :



proc CommandHelp { widget } {



        global selectionBuff Ide



        catch [set selectionBuff [selection get -displayof $widget ]]

        regsub -all {?} $selectionBuff {_questionmark_} safeselectionBuff



        exec $Ide(HelpProgram) "file://$ide(helpfile)#$safeselectionBuff" &

        }



Notes:

1. I added & to exec line to make it non-blocking

2. Added file:// as without the file:// mozilla (1.7.11) couldn't find the link

3. changed href within newlisp_manual.html to, for example,:

<a NAME="array_questionmark_"></a>

4. changed manual location:

set Ide(HelpFile)           "/usr/share/newlisp/doc/newlisp_manual.html"



So all hrefs could be made to meet the standard.

It works!



Nigel
#55
newLISP newS /
January 27, 2006, 03:57:14 PM
Thanks Lutz for the edited version.



Regarding list? etc the '?' will keep the manual nonstandard html/xml accepted only by the grace/whim of the browsing application. While it could be massaged on the way to latex I feel finding a correct representation in the html is a solution for the longer term usefulness of the manual.



Perhaps when calling the manual the calling program should perhaps convert any unacceptable characters by substitution according to a translation table eg

? -> _questionmark_   (underscores are valid)

so reference would be  name=#list_questionmark_



Nigel
#56
newLISP newS /
January 27, 2006, 05:44:49 AM
Posted

Manual with edits as per diff above:

http://users.cyberone.com.au/nbrown/newlisp/corrected/newlisp_manual.html">http://users.cyberone.com.au/nbrown/new ... anual.html">http://users.cyberone.com.au/nbrown/newlisp/corrected/newlisp_manual.html

xml (xhtml) version created by 'tidy -n -ascii -asxhtml':

http://users.cyberone.com.au/nbrown/newlisp/corrected/newlisp_manual.xml">http://users.cyberone.com.au/nbrown/new ... manual.xml">http://users.cyberone.com.au/nbrown/newlisp/corrected/newlisp_manual.xml

The diff as in prev post:

http://users.cyberone.com.au/nbrown/newlisp/corrected/diff.txt">http://users.cyberone.com.au/nbrown/new ... d/diff.txt">http://users.cyberone.com.au/nbrown/newlisp/corrected/diff.txt

tidy errors as in prev post:

http://users.cyberone.com.au/nbrown/newlisp/corrected/xmlerrors.txt">http://users.cyberone.com.au/nbrown/new ... errors.txt">http://users.cyberone.com.au/nbrown/newlisp/corrected/xmlerrors.txt



Nigel
#57
newLISP newS /
January 26, 2006, 08:59:08 PM
Hi Lutz,

Here is a diff, corrected version first (quite are few are replacing <p>...<p> with <p>...</p>, closing '<a' with a '>', adding a missed = after href - it includes the </li> stuff you've already addressed:

*** newlisp_manual.html   Fri Jan 27 13:50:17 2006

--- c:Program Filesnewlispnewlisp_manual.html   Mon Nov 07 23:52:14 2005

***************

*** 36 ****

!    <h2>Users Manual and Reference v.8.7.1</h2></center>

--- 36 ----

!    <h2>Users Manual and Reference v.8.7.1 <font size="-2"> </font></h2></center>

***************

*** 62 ****

! <li><a href="#options">Command line options, startup and directories</a>

--- 62 ----

! <li><a href="#options">Command line options, startup and directories</a></li>

***************

*** 76 ****

! </ul></li>

--- 76 ----

! </ul>

***************

*** 79 ****

! <li><a href="#expressions">Evaluating newLISP expressions</a>

--- 79 ----

! <li><a href="#expressions">Evaluating newLISP expressions</a></li>

***************

*** 83 ****

! </ul></li>

--- 83 ----

! </ul>

***************

*** 88 ****

! <li><a href="#indexing">Indexing elements of strings, lists and arrays</a>

--- 88 ----

! <li><a href="#indexing">Indexing elements of strings, lists and arrays</a></li>

***************

*** 93 ****

! </ul></li>

--- 93 ----

! </ul>

***************

*** 96 ****

! <li><a href="#return">Early return from functions, loops, blocks</a>

--- 96 ----

! <li><a href="#return">Early return from functions, loops, blocks</a></li>

***************

*** 99,100 ****

! <li><a href="#flow_and_or">Using <tt>and</tt> or <tt>or</tt></a>

! </ul></li>

--- 99,100 ----

! <li><a href="#flow_and_or">Using <tt>and</tt> or <tt>or</tt></a></li>

! </ul>

***************

*** 109,110 ****

! </ul></li>

! <li><a href="#context_objects">Programming with context objects</a>

--- 109,110 ----

! </ul>

! <li><a href="#context_objects">Programming with context objects</a></li>

***************

*** 118 ****

! </ul></li>

--- 118 ----

! </ul>

***************

*** 125 ****

! </ul></li>

--- 125 ----

! </ul>

***************

*** 135 ****

! <li><a href="#functions">Functions in groups</a>

--- 135 ----

! <li><a href="#functions">Functions in groups</a></li>

***************

*** 154 ****

! </ul></li>

--- 154 ----

! </ul>

***************

*** 436 ****

! At first newLISP is started as a server:</p>

--- 436 ----

! At first newLISP is started as a server:<p>

***************

*** 497 ****

! systems newLISP may not be able to reconnect at all times.</p>

--- 497 ----

! systems newLISP may not be able to reconnect at all times.<p>

***************

*** 595 ****

! <tr><td><tt>newlisp -l -p 4711
newlisp -l -d 4711</tt></td>

--- 595 ----

! <tr><td><tt>newlisp -l -p 4711
newlisp -l -d 4711</td>

***************

*** 597 ****

! <tr><td><tt>newlisp -L -p 4711
newlisp -L -d 4711</tt></td>

--- 597 ----

! <tr><td><tt>newlisp -L -p 4711
newlisp -L -d 4711</td>

***************

*** 681 ****

! can be converted using <a href="#get-string">get-string</a>.</p>

--- 681 ----

! can be converted using <a href="#get-string">get-string</a>.<p>

***************

*** 683 ****

! <p>The first example shows how <tt>newlisp.so</tt> is imported from newLISP itself.</p>

--- 683 ----

! <p>The first example shows how <tt>newlisp.so</tt> is imported from newLISP itself.<p>

***************

*** 898 ****

! Floating-point numbers are IEEE 754 64-bit double floats.</p>

--- 898 ----

! Floating-point numbers are IEEE 754 64-bit double floats.<p>

***************

*** 1083 ****

! lambda expressions in newLISP evaluate to themselves.</p>

--- 1083 ----

! lambda expressions in newLISP evaluate to themselves.<p>

***************

*** 1118 ****

! to parameters to work as user-defined, anonymous functions:</p>

--- 1118 ----

! to parameters to work as user-defined, anonymous functions:<p>

***************

*** 1233 ****

! see <a href="#purelisp">purelisp.lsp, the consistency of newLISP</a></p>

--- 1233 ----

! see <a href="#purelisp">purelisp.lsp, the consistency of newLISP</p>

***************

*** 1278 ****

! in turn is an array.</p>

--- 1278 ----

! in turn is an array.<p>

***************

*** 1511 ****

! version of newLISP.</p>

--- 1511 ----

! version of newLISP.</a>

***************

*** 1785 ****

! <a NAME="flow_catch_throw"></a>

--- 1785 ----

! <a NAME="flow_catch_throw"><a>

***************

*** 2090 ****

! symbols in MAIN visible to other contexts use the function <a href="#global">global</a>:</p>

--- 2090 ----

! symbols in MAIN visible to other contexts use the function <a href="#global">global</a>:<p>

***************

*** 2139 ****

! context by explicitly prefixing them with the context symbol:</p>

--- 2139 ----

! context by explicitly prefixing them with the context symbol:<p>

***************

*** 2151 ****

! <p>In this example the built-in function <a href="#new">new</a> is overwritten

--- 2151 ----

! In this example the built-in function <a href="#new">new</a> is overwritten

***************

*** 2258 ****

! <a name="context_rules"></a>

--- 2258 ----

! <a name="context_rules"</a>

***************

*** 2266 ****

! translation symbols are created.</p></li>

--- 2266 ----

! translation symbols are created.</p>

***************

*** 2275 ****

! for forever.</p></li>

--- 2275 ----

! for forever.</p>

***************

*** 2281 ****

! context.</p></li>

--- 2281 ----

! context.</p>

***************

*** 2382 ****

! using the function <a href="#new">new</a>. Note that OO programming purists would

--- 2382 ----

! using the function <a href"#new">new</a>. Note that OO programming purists would

***************

*** 2778 ****

! <tr><td><tt>system.listMethods</tt></td><td>Returns a list of all method names</td></tr>

--- 2778 ----

! <tr><td><tt>system.listMethods<tt></td><td>Returns a list of all method names</td></tr>

***************

*** 2978 ****

! a shape similar to a Latin small <tt>w</tt>.</p>

--- 2978 ----

! a shape similar to a Latin small <tt>w</tt>.<p>

***************

*** 3891 ****

! <a href="#find">find</a> and <a href="#regex">regex</a></td>

--- 3891 ----

! <a href="#find">find</a> and <a href"#regex">regex</a></td>

***************

*** 4847 ****

! <td><a href="#semaphore">semaphore</a></td>

--- 4847 ----

! <td><a href="#semaphore">semaphore<a></td>

***************

*** 6030 ****

! <P>Arrays are modified and accessed using the usual functions for lists:</p>

--- 6030 ----

! <P>Arrays are modified and accessed using the usual functions for lists:<p>

***************

*** 6394 ****

! from each other:</p>

--- 6394 ----

! from each other:<p>

***************

*** 6764 ****

! symbols, which have been protected in their home context.</p>

--- 6764 ----

! symbols, which have been protected in their home context.<p>

***************

*** 7173 ****

! <center><table>

--- 7173 ----

! <center>

***************

*** 7818 ****

! <p>While <tt>do-until</tt> goes through the loop at least once, <a href="#until">until</a>

--- 7818 ----

! <p>While <tt>do-until</tt> goes through the loop at least once, <a href"#until">until</a>

***************

*** 7850 ****

! <p>While <tt>do-until</tt> goes through the loop at least once, <a href="#until">until</a>

--- 7850 ----

! <p>While <tt>do-until</tt> goes through the loop at least once, <a href"#until">until</a>

***************

*** 8943 ****

!
<font size=+2>"%w.pf"</font>


--- 8943 ----

! <font size=+2>
"%w.pf"
</font>

***************

*** 8950 ****

!
<font size=+2>w</font>


--- 8950 ----

! <font size=+2>
w
</font>

***************

*** 8958 ****

!
<font size=+2>p</font>


--- 8958 ----

! <font size=+2>
p
</font>

***************

*** 8968 ****

!
<font size=+2>f</font>


--- 8968 ----

! <font size=+2>
f
</font>

***************

*** 9910 ****

! <p>See also <a HREF="#first">first</a>, <a HREF="#rest">rest</a> and <a href="#nth">nth</a>.</p>

--- 9910 ----

! <p>See also <a HREF="#first">first</a>, <a HREF="#rest">rest</a> and <a href"#nth">nth</a>.</p>

***************

*** 9948 ****

! an array or the number of characters in a string.</p>

--- 9948 ----

! an array or the number of characters in a string.<p>

***************

*** 10338 ****

! in newLISP evaluate to themselves.</p>

--- 10338 ----

! in newLISP evaluate to themselves.<p>

***************

*** 10994 ****

! fashion. To send data back to the address and port received with <a href="#net-receive-from">

--- 10994 ----

! fashion. To send data back to the address and port received with <a href-"#net-receive-from">

***************

*** 11032 ****

! and receive.</p>

--- 11032 ----

! and receive.<p>

***************

*** 11476 ****

! <p>For blocking short UDP transactions see <a href="#net-send-udp">net-send-udp</a>

--- 11476 ----

! <p>For blocking short UDP transactions see <a href="#net-send-udp>net-send-udp"</a>

***************

*** 11958 ****

! <p>As an additional str-option <tt>"non-block"</tt> or <tt>"n"</tt> can be specified

--- 11958 ----

! <p>As an additional <t>str-option</str> <tt>"non-block"</tt> or <tt>"n"</tt> can be specified

***************

*** 12086 ****

! <tt>ld</tt> the same way internally.</p>

--- 12086 ----

! <tt>ld</tt> the same way internally.<p>

***************

*** 12755 ****

! where directory access rights are configured.</p>

--- 12755 ----

! where directory access rights are configured.<p>

***************

*** 13128 ****

! and is swallowed if it is last character in the stream.</p>

--- 13128 ----

! and is swallowed if it is last character in the stream.<p>

***************

*** 13133 ****

! specified in int-file obtained from a previous <a HREF="#open">open</a> statement.</p>

--- 13133 ----

! specified in int-file obtained from a previous <a HREF="#open">open</a> statement.<p>

***************

*** 13256 ****

! not to be doubled in a regular expression pattern which itself is delimited by quotes.</p>

--- 13256 ----

! not to be doubled in a regular expression pattern which itself is delimited by quotes.<p>

***************

*** 13670 ****

! with the normal syntax rules for symbols, are serialized using a <a href="#symbol">sym</a>

--- 13670 ----

! with the normal syntax rules for symbols, are serialized using a <a href"#symbol">sym</a>

***************

*** 13692 ****

! stored in the system variables <tt>$0</tt> to <tt>$15</tt>.</p>

--- 13692 ----

! stored in the system variables <tt>$0</tt> to <tt>$15</tt>.</tt></p>

***************

*** 14099 ****

! See the file LOCALIZATION in the newLISP source distribution for details.</p>

--- 14099 ----

! See the file LOCALIZATION in the newLISP source distribution for details.<p>

***************

*** 14235 ****

!


--- 14235 ----

!


***************

*** 14281 ****

! The memory address or handle can be assigned to a variable for later reference.</p>

--- 14281 ----

! The memory address or handle can be assigned to a variable for later reference.<p>

***************

*** 15195 ****

! <a NAME="time-of-day"></a>

--- 15195 ----

! <a NAME="time-of-day"</a>

***************

*** 16311 ****

! <a NAME=tcpip_error_codes></a>

--- 16311 ----

! <a NAME=tcpip_error_codes</a>

***************

*** 17585 ****

!

--- 17585 ----

! <p></p>

***************

*** 17821 ****

! <center><p>PREAMBLE</p></center>

--- 17821 ----

! <p><center>PREAMBLE</center></p>

***************

*** 18058 ****

! of promoting the sharing and reuse of software generally.</p>

--- 18058 ----

! of promoting the sharing and reuse of software generally.

***************

*** 18065 ****

!    <p>NO WARRANTY</p></center>

--- 18065 ----

! <p>NO WARRANTY</center></p>





I'll put the updated file on my site tonight and post the link.



There are still some issues - mainly that a name= shouldn't have a '?' in it

see http://www.w3.org/TR/html401/types.html#type-name">http://www.w3.org/TR/html401/types.html#type-name

 but the targets 'array?' etc do (maybe change the name= to arrayp etc.



The remaining warnings from 'tidy' are:



line 25 column 1 - Warning: <body> proprietary attribute "leftmargin"

line 329 column 1 - Warning: <table> lacks "summary" attribute

line 592 column 1 - Warning: <table> lacks "summary" attribute

line 933 column 1 - Warning: <table> lacks "summary" attribute

line 1250 column 1 - Warning: <table> lacks "summary" attribute

line 1591 column 1 - Warning: <table> lacks "summary" attribute

line 2777 column 1 - Warning: <table> lacks "summary" attribute

line 2989 column 1 - Warning: <table> lacks "summary" attribute

line 3530 column 1 - Warning: <table> lacks "summary" attribute

line 3661 column 1 - Warning: <table> lacks "summary" attribute

line 4042 column 1 - Warning: <table> lacks "summary" attribute

line 4075 column 1 - Warning: <table> lacks "summary" attribute

line 4300 column 1 - Warning: <table> lacks "summary" attribute

line 4323 column 1 - Warning: <table> lacks "summary" attribute

line 4325 column 1 - Warning: <td> proprietary attribute "witdh"

line 4356 column 1 - Warning: <table> lacks "summary" attribute

line 4394 column 1 - Warning: <table> lacks "summary" attribute

line 4433 column 1 - Warning: <table> lacks "summary" attribute

line 4467 column 1 - Warning: <table> lacks "summary" attribute

line 4697 column 1 - Warning: <table> lacks "summary" attribute

line 4820 column 1 - Warning: <table> lacks "summary" attribute

line 4868 column 1 - Warning: <table> lacks "summary" attribute

line 4916 column 1 - Warning: <table> lacks "summary" attribute

line 5160 column 1 - Warning: <table> lacks "summary" attribute

line 5208 column 1 - Warning: <table> lacks "summary" attribute

line 5310 column 1 - Warning: <table> lacks "summary" attribute

line 5374 column 1 - Warning: <table> lacks "summary" attribute

line 6141 column 1 - Warning: <a> attribute "name" has invalid value "array?"

line 6238 column 1 - Warning: <a> attribute "name" has invalid value "atom?"

line 6912 column 1 - Warning: <a> attribute "name" has invalid value "context?"

line 7173 column 9 - Warning: <table> lacks "summary" attribute

line 7666 column 1 - Warning: <a> attribute "name" has invalid value "directory?"

line 7923 column 1 - Warning: <a> attribute "name" has invalid value "empty?"

line 8493 column 1 - Warning: <a> attribute "name" has invalid value "file?"

line 8737 column 1 - Warning: <a> attribute "name" has invalid value "float?"

line 9703 column 1 - Warning: <a> attribute "name" has invalid value "integer?"

line 9865 column 1 - Warning: <a> attribute "name" has invalid value "lambda?"

line 9914 column 1 - Warning: <a> attribute "name" has invalid value "legal?"

line 10087 column 1 - Warning: <a> attribute "name" has invalid value "list?"

line 10207 column 1 - Warning: <a> attribute "name" has invalid value "macro?"

line 10569 column 1 - Warning: <a> attribute "name" has invalid value "NaN?"

line 11626 column 1 - Warning: <a> attribute "name" has invalid value "nil?"

line 12020 column 1 - Warning: <table> lacks "summary" attribute

line 12463 column 1 - Warning: <a> attribute "name" has invalid value "primitive?"

line 12493 column 1 - Warning: <table> lacks "summary" attribute

line 12885 column 1 - Warning: <a> attribute "name" has invalid value "quote?"

line 14801 column 1 - Warning: <a> attribute "name" has invalid value "string?"

line 14957 column 1 - Warning: <a> attribute "name" has invalid value "symbol?"

line 15460 column 1 - Warning: <a> attribute "name" has invalid value "true?"

line 15564 column 1 - Warning: <table> lacks "summary" attribute

line 16054 column 1 - Warning: <table> lacks "summary" attribute

line 17389 column 1 - Warning: <table> lacks "summary" attribute

line 17804 column 1 - Warning: <table> lacks "summary" attribute

Info: Doctype given is "-//W3C//DTD HTML 4.0 Transitional//EN"

Info: Document content looks like HTML Proprietary

53 warnings, 0 errors were found!



The table summary attribute should be used to describe

the table structure. It is very helpful for people using

non-visual browsers. The scope and headers attributes for

table cells are useful for specifying which headers apply

to each table cell, enabling non-visual browsers to provide

a meaningful context for each cell.



For further advice on how to make your pages accessible

see http://www.w3.org/WAI/GL">http://www.w3.org/WAI/GL. You may also want to try

"http://www.cast.org/bobby/">http://www.cast.org/bobby/" which is a free Web-based

service for checking URLs for accessibility.



You are recommended to use CSS to specify the font and

properties such as its size and color. This will reduce

the size of HTML files and make them easier to maintain

compared with using <FONT> elements.



To learn more about HTML Tidy see http://tidy.sourceforge.net">http://tidy.sourceforge.net

Please send bug reports to html-tidy@w3.org

HTML and CSS specifications are available from http://www.w3.org/">http://www.w3.org/

Lobby your company to join W3C, see http://www.w3.org/Consortium">http://www.w3.org/Consortium



Nigel
>
#58
newLISP newS /
January 26, 2006, 06:50:37 PM
I'm posting some comments on newlisp_manual html tags on doc thread http://www.alh.net/newlisp/phpbb/viewtopic.php?p=5633#5633">http://www.alh.net/newlisp/phpbb/viewto ... =5633#5633">http://www.alh.net/newlisp/phpbb/viewtopic.php?p=5633#5633 .

They may help conversion to latex.



Nigel
#59
newLISP newS /
January 26, 2006, 06:02:17 PM
A warning from tidy (that occurs a few times):



line 63 column 1 - Warning: missing <li>



relates to starting an unordered list within and ordered (to get the bullets under a heading) but not making the unordered list an item.

You have:

<h3>Users Manual</h3>

<ol>

<li><a href="#introduction">Introduction</a></li>

<li><a href="#deprecated">Deprecated functions and future changes</a></li>

<li><a href="#options">Command line options, startup and directories</a></li>

<ul>

<li><a href="#stack_size">Stack size</a></li>

<li><a href="#max_mem">Maximum memory usage</a></li>

<li><a href="#prompt">Suppressing the prompt</a></li>

<li><a href="#tcpip_server">newLISP as a TCP/IP server</a></li>

<li><a href="#demon">TCP/IP demon mode</a></li>

<li><a href="#demon_handler">Demon mode with handler function</a></li>

<li><a href="#direct_exec">Direct execution mode</a></li>

<li><a href="#logging">Logging I/O</a></li>

<li><a href="#cmd_help">Command line help summary</a></li>

<li><a href="#initialization">The initialization file <tt>init.lsp</tt></a></li>

<li><a href="#directories_unix">Directories on Linux, BSD, OSX</a></li>

<li><a href="#directories_win32">Directories on Win32i/newLISP-tk</a></li>

</ul>

<li><a href="#shared-lib">Shared library module for Linux/BSD</a></li>

etc.



The idea would be to move the </li> from

<li><a href="#options">Command line options, startup and directories</a></li>

to the end of the <ul></ul> block.

as suggested in

http://www.htmldog.com/guides/htmlbeginner/lists/">http://www.htmldog.com/guides/htmlbeginner/lists/



Nigel



PS rather than post 'tidy' warnings and their 'fixes' in bits I'll make my next post a summary and a diff. The html with 'fixes' should display the same (browsers can usually guess what was meant and display that) but will be easier to analyse and translate.
#60
newLISP newS /
January 26, 2006, 05:14:23 PM
Hi Lutz,

In looking at a html2latex.lsp converter I've run newlisp_manual.html through tidy ( http://tidy.sourceforge.net/">http://tidy.sourceforge.net/ ) which can convert to xml (xhtml) which I'm planning to analyse with newlisp xml functions.



Tidy reports this apparent mark up error



line 11958 column 21 - Error: <t> is not recognized!

line 11958 column 21 - Warning: discarding unexpected <t>

line 11958 column 34 - Warning: discarding unexpected </str>



which relates to html:

<p>As an additional <t>str-option</str> <tt>"non-block"</tt> or <tt>"n"</tt> can be specified



I guess it should be "str-option" ?



Nigel