[Logiweb] references

Klaus Ebbe Grue grue at diku.dk
Thu Jun 23 10:33:50 CEST 2005


Hi Martin,

> I get reference errors when using urls, e.g.:
> ...
> The error I get is this:
>
> Unknown version number: 60
> Format error in reference
> Submission aborted

It means that the pyk compiler requested a Logiweb page from a http server 
but instead got a html document back that starts with ASCII 60, which is a 
"less than" character.

When that happens, the next version of the pyk compiler (not installed at 
Diku but available at http://yoa.dk/) prints out the first 100 characters 
of the received html document which usually either says:
   permission denied
or
   document could not be found

When you get a "Unknown version number" error you have to guess what the 
error was. But the error always means that the http server could not 
deliver the requested Logiweb page for some reason.

Klaus

PS:
> Furthermore, I get a mathsf error after having compiled using /tmp and moved 
> pyk1 to my own directory and the using this dump to compile with. I have only 
> written a bit of text in my pyk file and don't use mathsf anywhere. 
> Anyone...?!

Yes you *do* use mathsf. Every time you use one of the variables 'var a', 
'var b',... or any other construct that is rendered using mathsf, you 
*implicitly* use mathsf.

The best way to trace TeX errors is to look up the TeX source. You can do 
that as follows:

If you look up the 'Body' of the page, click the "Pdf" to get to the pdf 
version. Then the url field of the browser displays ".../page.pdf". Just 
change that to ".../page.tex" to get the TeX source. If you have set up 
your browser to view ".tex" by your favorite text editor (e.g. nedit). You 
can then go to the line number mentioned in the TeX error message. Once 
you are there, it typically gets very obvious what the problem is (a 
missing 'math ... end math' for example).

As an alternative, cd to the directory where you store your Logiweb pages, 
cd to the directory of the body of the particular page, and start the text 
editor from there.
DS


More information about the Logiweb mailing list