Path: csiph.com!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Dr J R Stockton Newsgroups: comp.lang.javascript,comp.infosystems.www.authoring.html Subject: Re: MathJax - "typesetting" of maths in Web pages Date: Tue, 21 Aug 2012 20:34:29 +0100 Organization: Home Lines: 71 Message-ID: References: <+gdghtD$uSMQFw$2@invalid.uk.co.demon.merlyn.invalid> Mime-Version: 1.0 Content-Type: text/plain;charset=us-ascii Injection-Info: mx04.eternal-september.org; posting-host="530603207bb5dc63eadbc45c88da0024"; logging-data="14618"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18OX/ZF69Bl5qhdEJf9UDVN4w/BGXz4LWs=" User-Agent: Turnpike/6.05-S () Cancel-Lock: sha1:+1QNODCyrXFAyuc6+++M7szrtvA= Xref: csiph.com comp.lang.javascript:15483 comp.infosystems.www.authoring.html:2848 In comp.lang.javascript message , Sun, 19 Aug 2012 21:26:52, Norman Peelman posted: >On 08/19/2012 02:09 PM, Dr J R Stockton wrote: >> In comp.lang.javascript message , Fri, 17 >> Aug 2012 23:01:12, Norman Peelman posted: >> >>> >>> Hmmm, I thought for sure my sig was included... any way, it's an AMDX2 >>> 6400+ (dual core, DDR2) >> >> So it was ... >> >> Would you care to look at , >> using Linux? I find it very useful when shuffling parts of my Web site. >> >> To get it to work properly on any machine, it is necessary first to read >> the included instructions - and that needs testing. >> >> To get it to work properly on any machine, it is necessary to provide a >> directory file. The instructions for that, written for Windows, are in >> the section "Directory File". For Windows, it is just necessary to run, >> in the right folder, DIR /B /S > $DIR.TXT . >> >> For UNIX, I don't know. Perhaps something like the suggested >> find /current ! -type d -print >> will do it, though that can hardly be sufficient - it would need to give >> a format sufficiently like the windows one. Alternatively, it might be >> necessary to alter the JavaScript that processes the file. Then the >> instructions can have a UNIX section. >> > >find $PWD > > >will generate a file listing of the type you are looking for... > >/var/www/example/index.htm >/var/www/example/images/example.jpg That should be acceptable, if those strings are OK for loading an iframe with 'src = '. >> The position is that my JavaScript can load files into an iframe, but it >> has no means of recognising that a file is missing, and will try to use >> whatever it seems to have got. >> >> Of course, if there is a cross-browser cross-OS cross-server way of >> recognising missingness, I can use that instead, which will be better >> all round. >> > > Actually, Google Chrome is the only browser that showed it had read >the dir file (with an erro msg to use different browser)... FF14 >wouldn't even load a local file (dunno what's up with that) and Opera >and Konqueror show EMPTY. Don't have Safari and didn't install the >optional scripts but will look at it tomorrow maybe. I've upgraded those messages. All browsers loaded "EMPTY" (EMPTY is now CLEARED). Cooperative browsers rapidly replace it with something else - a web page, if I recall aright. The page processes about 180 of my pages per minute, on my P4/3GHz WinXP Firefox. -- (c) John Stockton, nr London, UK. Mail via homepage. Turnpike v6.05 MIME. Web - FAQqish topics, acronyms and links; Astro stuff via astron-1.htm, gravity0.htm ; quotings.htm, pascal.htm, etc.