<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Leopard &#8211; neverendingbooks</title>
	<atom:link href="https://lievenlebruyn.github.io/neverendingbooks/tag/leopard/feed/" rel="self" type="application/rss+xml" />
	<link>https://lievenlebruyn.github.io/neverendingbooks/</link>
	<description></description>
	<lastBuildDate>Sat, 31 Aug 2024 11:52:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.1</generator>
	<item>
		<title>Snow leopard + wordpress + latex problem</title>
		<link>https://lievenlebruyn.github.io/neverendingbooks/snow-leopard-wordpress-latex-problem/</link>
		
		<dc:creator><![CDATA[lieven]]></dc:creator>
		<pubDate>Thu, 01 Oct 2009 17:09:05 +0000</pubDate>
				<category><![CDATA[web]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[latexrender]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://www.neverendingbooks.org/?p=2154</guid>

					<description><![CDATA[Ever since I&#8217;ve upgraded to Snow Leopard I&#8217;ve been having problems with the webserver. At first there were the &#8216;obvious&#8217; problems : mysql-connection lost and&#8230;]]></description>
										<content:encoded><![CDATA[<p>Ever since I&#8217;ve upgraded to <a href="http://www.apple.com/macosx/">Snow Leopard</a> I&#8217;ve been having problems with the webserver.</p>
<p>At first there were the &#8216;obvious&#8217; problems : mysql-connection lost and php-error message. These were swiftly dealt with using the excellent <a href="http://wordpress.org/support/topic/306878">Snow Leopard, Apache, PHP, MySQL and WordPress!</a> advice from &#8216;tady&#8217;.</p>
<p>Right now, access to this blog is extremely slow (and often impossible), certainly via the admin-page. The problem appears to be that most of my CPU is used by lots of pdfetex-processes owned by www. Hence the conjecture that it is a problem with either <a href="http://www.mayer.dial.pipex.com/tex.htm">LaTeXRender</a> or <a href="http://wordpress.org/extend/plugins/wp-latex/">WP LaTeX</a>.</p>
<p>Anyone experiencing a similar problem, or knowing a trick to resolve it? Takk.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>iTouch as network sniffer</title>
		<link>https://lievenlebruyn.github.io/neverendingbooks/itouch-as-network-sniffer/</link>
					<comments>https://lievenlebruyn.github.io/neverendingbooks/itouch-as-network-sniffer/#respond</comments>
		
		<dc:creator><![CDATA[lieven]]></dc:creator>
		<pubDate>Fri, 22 Feb 2008 20:14:11 +0000</pubDate>
				<category><![CDATA[web]]></category>
		<category><![CDATA[itouch]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[warwalking]]></category>
		<guid isPermaLink="false">http://www.neverendingbooks.org/index.php/itouch-as-network-sniffer.html</guid>

					<description><![CDATA[In the iTouch warwalking post I was considering trying to gain access to closed networks for innocent purposes such as checking mail, rather than stealing&#8230;]]></description>
										<content:encoded><![CDATA[<p>In the <a href="https://lievenlebruyn.github.io/neverendingbooks/index.php/itouch-warwalking.html">iTouch warwalking post</a> I was considering trying to gain access to closed networks for innocent purposes such as checking mail, rather than stealing secret passwords from people allowing you free access to their wireless network, but still, I should have thought of the following possibility</p>
<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/1koHEpoHL_g&#038;rel=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/1koHEpoHL_g&#038;rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
<p>Here&#8217;s a walk-through :</p>
<ul>
<li>type the following command into your iTouch Terminal.app (assuming you&#8217;ve installed the BSD subsystem) :</li>
</ul>
<p class="alert">tcpdump -v -s 65535 -w log.txt</p>
<ul>
<li>
<p>once you&#8217;ve collected enough packets, cancel the command (ctrl c), <a href="https://lievenlebruyn.github.io/neverendingbooks/index.php/first-things-first-jailbreak.html">AFPd</a> the file from the iTouch to your Mac and open it with <a href="http://www.finkconsulting.com/page7.php">Wireshark</a> (this is the most convenient way to install binaries under Leopard as well as an updated version of X11. For other platforms, or source code, <a href="http://www.wireshark.org/download.html">see here</a>)</p>
</li>
<li>
<p>do whatever black magic you feel you have to perform using Wireshark (the new name for <a href="http://www.ethereal.com/">Ethereal</a>) or <a href="http://sectools.org/crackers.html">other password crackers</a></p>
</li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://lievenlebruyn.github.io/neverendingbooks/itouch-as-network-sniffer/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>overloaded iTouch</title>
		<link>https://lievenlebruyn.github.io/neverendingbooks/overloaded-itouch/</link>
					<comments>https://lievenlebruyn.github.io/neverendingbooks/overloaded-itouch/#respond</comments>
		
		<dc:creator><![CDATA[lieven]]></dc:creator>
		<pubDate>Sat, 05 Jan 2008 09:48:52 +0000</pubDate>
				<category><![CDATA[web]]></category>
		<category><![CDATA[itouch]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://www.neverendingbooks.org/?p=242</guid>

					<description><![CDATA[A jailbroken iTouch can do many wonderful tricks : by sarting up an AFDd server one can use it in Disk mode, exactly as an&#8230;]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA/overloadiTouch.jpg" style="float:left;margin-right:10px;" > A jailbroken iTouch can do many wonderful tricks : by sarting up an <a href="http://www.eecs.berkeley.edu/~job/afpd/">AFDd server</a> one can use it in Disk mode, exactly as an iPodClassic, one can use it as a WebServer by installing <a href="https://lievenlebruyn.github.io/neverendingbooks/?p=51">Apache and PHP</a> and run a <a href="https://lievenlebruyn.github.io/neverendingbooks/?p=57">Wiki</a>, one can install <a href="http://blog.psmxy.org/pkg-info/openssh/">OpenSSH</a> and secure shell to the rest of the world, one can even turn the iTouch into a music streamer via the <a href="http://www.tuaw.com/2007/10/31/stream-music-from-your-iphone-to-itunes-with-firefly-media-serve/">FireFly server</a>, one can &#8230;</p>
<p>And all of this on a gadget  with only 116Mb RAM and one processor running at 412MHz&#8230; is asking for overload problems both on memory and battery. A couple of days ago I wanted to start up the iTouch and was greeted by a bright flickering screen and thought I&#8217;d finally bricked it&#8230;</p>
<p>Fortunately, there&#8217;s a simple lesson to be learned : with every new feature you install, learn <strong>how to switch if off</strong> and <strong>monitor your iTouch</strong> using the <strong>SysInfo.app</strong> (under Utilities) which allows to view basic system info (screenshot below) as well as all active processes.</p>
<p>Here a few tricks to turn on/off the major consumers :</p>
<p />
<p />
<ol>
<li>
<p>To turn off the Apache-sever, ssh into the iTouch and give a <strong>apachectl stop</strong> command (you can always restart it with <strong>apachectl start</strong>.</p>
</li>
<li>
<p>To control OpenSSH, install the <strong>Services.app</strong> (under Utilities) which allows to toggle Wifi, Edge, SSH and Bluetooth on or off (screenshot below).</p>
</li>
<li>
<p>To control APFd, use its control pannel to toggle the <strong>Broadcast active</strong> feature only when you need your iTouch in Disk mode (it will then appear under Shared in your Finder window, at least under Leopard. For more on this see <a href="http://rupertgee.wordpress.com/2007/12/29/mount-ipod-thumb/">Mount and use your iPod touch as a Thumb Drive</a>.</p>
</li>
<li>
<p>To control FireFly, use the UIctl.app (under Multimedia) and scroll down (after staring for about 15 seconds to a white screen) to <strong>org.fireflymediaserver.mt-daapd</strong>, tap it and start or stop the server.</p>
</li>
</ol>
<p><img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA/sysinfo.jpg" width=150 > <img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA/afpd.jpg" width=150 > <img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA/services.jpg"width=150 ></p>
<p>Another major consumer is the MobileRSS.app (under Productivity). Maybe I should restrict my subscriptions to the <a href="http://mathbloggers.com/community">hottest blogs only</a>&#8230;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lievenlebruyn.github.io/neverendingbooks/overloaded-itouch/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>first things first : jailbreak</title>
		<link>https://lievenlebruyn.github.io/neverendingbooks/first-things-first-jailbreak/</link>
					<comments>https://lievenlebruyn.github.io/neverendingbooks/first-things-first-jailbreak/#respond</comments>
		
		<dc:creator><![CDATA[lieven]]></dc:creator>
		<pubDate>Mon, 10 Dec 2007 17:56:55 +0000</pubDate>
				<category><![CDATA[web]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[itouch]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://www.neverendingbooks.org/?p=51</guid>

					<description><![CDATA[You may have surmised it from reading this post : Santa brought me an iPod Touch! (( or rather : Santa brought PD2 an iTouch&#8230;]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA/springboard.jpg" style="float:left;margin-right:10px;"> You may have surmised it from reading <a href="https://lievenlebruyn.github.io/neverendingbooks/?p=49">this post</a> : Santa brought me an iPod Touch! (( or rather : Santa brought PD2 an iTouch and knowing his jealous nature ordered one for him as well&#8230; )) Ive used an iPodClassic to transfer huge files between home (MacBook) and office (iMac) as well as for backup purposes. I wanted to find out what new tricks this trio could play now that iPod can go online. Major disillusion : one cannot even enable DiskUse via iTunes at the moment. (( rumours are that Apple will enable DiskUse in firmware 1.1.3, coming up next februari&#8230; )) What&#8217;s wrong with Apple? They make this marvelous piece of technology and then do a Golem-act preventing anyone else from using their precious thing. I understand their business plan, but soon it will make more sense to buy Apple shares than to buy their computers&#8230;</p>
<p>Enters the 13-year old <a href="http://ijailbreak.com/">AriX</a> writing iJailbreak to free the iTouch. So, before you put any music or video on your pod (( and frankly there&#8217;s not much else Apple allows you to put on it )), dare to void the guarantee and risk your new gadget being bricked (( but, if I can pull if off you certainly can.. )) by Jailbreaking it! There are plenty of good guides around, both for Windows and Mac, but most of them can be slightly improved. I&#8217;ve followed <a href="http://rupertgee.wordpress.com/2007/12/02/lets-jailbrake-the-ipod-touch-112-with-os-x/">Let’s Jailbreak the iPod touch 1.1.2 with OS X</a> but shortened his <a href="http://rupertgee.wordpress.com/2007/12/02/downgraderestore-ipod-touch-firmware-to-version-111-using-os-x/">downgrade to 1.1.1 procedure</a> which is the first (and hardest) step in the whole procedure. The moment PD2 will see I can use Maps and Weather she&#8217;ll want me to jailbreak her iTouch too, so mainly for myself I list here the procedure before I forget it.</p>
<p class="alert">Jailbreak 1.1.2 with Leopard on Intel, use at your own risk.
</p>
<p>Get a decent browser such as Firefox or Flock (to prevent the download to selfexpand, so when given the choice to open it with iTunes or save it to Disk, save!) and download <a href="http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPod/SBML/osx/bundles/061-3932.20070927.p23dD/iPod1,1_1.1.1_3A110a_Restore.ipsw">Firmware1.1.1</a> and place it somewhere (why not create a Folder called Jailbreak).</p>
<p>Connect your iTouch and fire up iTunes and select your iTouch in the left column. Hold down the option key and click in the summary pane the <strong>Check for Update</strong> button. This will open a Finder window allowing you to navigate to the downloaded file and open it. The iTouch will downgrade itself to 1.1.1. Just wait until it reappears in iTunes and disconnect it.</p>
<p>With Safari on the iTouch go to <a href="http://jailbreakme.com/">jailbreakme.com</a> and scroll to the bottom and click on the <strong>InstallAppSnap</strong> button. Let it do its magic and afterwards there is a new Installer-icon on your &#8216;springboard&#8217; (the opening iTouch page). Open it and refrain from installing all the goodies now, just scroll down to <strong>Tweaks (1.1.1)</strong> open and select &#8220;OktoPrep&#8221; and install it (button top right-hand corner).</p>
<p>Connect iTouch to mac, start iTunes and select your iTouch. Click on the update button and now iTunes will bring you back to Firmware 1.1.2. After finishing wait until your iPod reappears in the left column. (Do not panic if you fail to see the Installer-icon on springboard, it will reappear later on). Then, <strong>close iTunes</strong> (your iPod stays connected via USB to the Mac). Use any browser on your mac to download <a href="http://conceitedsoftware.com/iphone/1.1.2-jailbreak.zip">Jailbreak 1.1.2</a> and place it somewhere.</p>
<p>Find the Java-applet <strong>jailbreak.jar</strong> in the folder and double click it. Again, magical things are happening ending with the iTouch booting up several times and you performed the Jailbreak.</p>
<p class="construction">Let&#8217;s open up the iTouch to the world</p>
<p>So, what was the point of all this? We still have no DiskUse enabled nor can we speak to the iTouch directly. But all of this is going to change rapidly. Let&#8217;s make it available to our DeskTop.</p>
<p>With &#8220;install package xxx&#8221; I will mean : fire up Installer from your springboard, donate as quickly as you can to the guys making this available, then click on the &#8220;install&#8221; icon lower-left. This will open up lists of packages, scroll down to package xxx, click on it to read more about it, and then hit the &#8220;install&#8221; button top-right. That&#8217;s it. (If you ever want to unistall a package, do the same process now starting from the &#8220;uninstall&#8221; icon lower-right).</p>
<p>Install first <strong>BSD Subsystem</strong> (under System packages) and the <strong>AFPd</strong> (under Network). This will turn your iTouch into an AFP-server. By clicking on its icon in the Springboard you can turn the server on and off (remember to turn it off when not needed!) and turn on Broadcast if you want the iTouch to show up on your Desktop (in the Leopard-Finder under &#8216;Shared&#8217;). You can now connect to the iTouch by clicking on its icon in the Finder and hitting connect. The default user/password combination for a Jailbroken iTouch are<br />
<strong>root/alpine</strong>. Change this as soon as you figure out how to do it. &#8216;Alpine&#8217; must be the most popular password right now&#8230; The AFPd-page also contains the Wi-Fi IP Address of the iTouch and you will need it soon, so write it down.</p>
<p>For we are going to connect via ssh and sftp to and from iTouch/Mac. Install the <strong>OpenSSH</strong> package (under System) and the <strong>Term-vt100</strong> package (also under System). From the Mac to iTouch you can connect via something like</p>
<p class="code">ssh root@10.0.1.197</p>
<p>(change the number to the IP-Address of the iTouch) and login with the alpine password. You&#8217;re in! Conversely, open up the Term-vt100 icon in the springboard which give you a genuine *nix-Terminal. You can connect via ssh to your mac provided you know its IP and your login. That&#8217;s all.</p>
<p><img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA/itouchphp.jpg" style="float:left;margin-right:10px;"> Btw. you can also use your favourite file-transport program (mine is <a href="http://www.panic.com/transmit/">Transmit</a> to connect to and from your iTouch via SFTP. Right, now that the iTouch is under control we might as well give it a voice of his/her own.</p>
<p>Install <strong>Apache</strong> (under System) and <strong>PHP</strong> (under Development) and follow the instructions from the <a href="http://www.ipodtouchfans.com/forums/showthread.php?t=2010">iTouch Fans Forum</a> (you will need to register, but if you&#8217;re not an iTouch-fan there&#8217;s little point in you reading this post anyway) and you will have turned your iTouch into a PHP-enabled webserver! On the left is a screenshot of the proof via the php-info testpage.</p>
<p>Finally, we can turn the world upside down completely. Before all of this we had no way to get control of the iTouch, now we can use the iTouch to take control of all our Macs serving VNC (Leopard comes with it, enable the password in System Preferences/Sharing/Screen Sharing/Computer Settings and you&#8217;re under iTouch control). To pull this off, just install the <strong>VNsea</strong> package (under Network). It really works well!</p>
<p class="construction">Oh, you&#8217;re only here to install the iPhone Apps&#8230;
</p>
<p>Well, that&#8217;s easy enough. Just follow the instructions of the <a href="http://rupertgee.wordpress.com/2007/12/03/install-iphone-apps-into-ipod-touch/">Install and use iPhone Apps in iPod touch</a> from the excellent blog by Rupert Gee. The most difficult part is to get hold of the iPhone Apps if you don&#8217;t own an iPhone&#8230; Well, I&#8217;m happy to provide you with <a href="http://rapidshare.com/files/69144568/iPhoneApps112.zip.html">this secret information</a>&#8230;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lievenlebruyn.github.io/neverendingbooks/first-things-first-jailbreak/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>NeB on Leopard and iPhone</title>
		<link>https://lievenlebruyn.github.io/neverendingbooks/neb-on-leopard-and-iphone/</link>
					<comments>https://lievenlebruyn.github.io/neverendingbooks/neb-on-leopard-and-iphone/#respond</comments>
		
		<dc:creator><![CDATA[lieven]]></dc:creator>
		<pubDate>Fri, 07 Dec 2007 20:15:20 +0000</pubDate>
				<category><![CDATA[web]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[markdown]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Tiger]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://www.neverendingbooks.org/?p=49</guid>

					<description><![CDATA[If you have an iPhone or iPod Touch and point your Safari browser to this blog you can now view it in optimised format, thanks&#8230;]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA/iphone.jpg" style="float:left;margin-right:10px;"> If you have an iPhone or iPod Touch and point your Safari browser to <a href="https://lievenlebruyn.github.io/neverendingbooks/">this blog</a> you can now view it in optimised format, thanks to the <a href="http://iwphone.contentrobot.com/">iWPhone WordPress Plugin and Theme</a>. I&#8217;ve only changed the CSS slightly to have the same greeny look-and-feel of the current <a href="http://www.deanjrobinson.com/wordpress/redoable">redoable theme</a>.</p>
<p>Upgrading a WordPress-blog running under Tiger (Mac OS 10.4) to <a href="http://www.apple.com/macosx/">Leopard</a> produces a few anxiety moments. All of the standard tools (Apache, PHP and MySQL) seem no longer to work as before. For those of you who do not want to waste too much time over it, I&#8217;ll walk through the process.</p>
<p>After upgrading to Leopard you want to check whether your blog is still alive, so you fire up Safari and will be greeted by the message that Safari cannot find your server. Sure enough you forgot to start the WebServer in SystemPreferences/Sharing/Web Sharing. Having fixed this you will see the default Apache-screen because Leopard put these default-files in your webserver-root directory (/Library/WebServer/Documents). In case you installed your blog under a user account you will get a message that you enter forbidden territory, see below for the solution to that problem. Having removed all those index.html files (making sure NOT to delete the index.php of your blog) a more serious problem presents itself : you see the text-version of index.php meaning that PHP isnt working. You check the /etc/httpd/httpd.conf file and it still contains all the changes you made to it to get PHP running under Tiger, so what is going on?</p>
<p>Googling for something like &#8216;enabling PHP under Leopard&#8217; you&#8217;ll discover that the configuration file used by the webserver is in a different location. It now resides at /private/etc/apache2/httpd.conf. You will have to remove the hash sign (#) at the beginning of line 114 so that it reads</p>
<p class="code">LoadModule php5_module    libexec/apache2/libphp5.so
</p>
<p>Next, you have to create a php.ini file and change one line. The first thing is settled by the following Terminal-commands</p>
<p class="code">
cd /private/etc<br />
sudo cp php.ini.default php.ini
</p>
<p>and in the php.ini you have to modify line 305 so that it becomes (removing the latter part of the line)</p>
<p class="code">error_reporting = E_ALL
</p>
<p>Restarting the webserver enables PHP. If you need more details check out the article <a href="http://foundationphp.com/tutorials/php_leopard.php">Enabling PHP and Apache in Leopard</a>. However, you are not quite done yet. Your blog will now show the WordPress-page that something is wrong with your mysql-database. However, mysql seems to be running fine as you can check from the Terminal so PHP cannot find it.</p>
<p>To remedy this, you have to add the locations (after the = sign) in the follwing two lines of the php.ini file</p>
<p class="code">mysql.default_socket = /private/tmp/mysql.sock <br />
mysqli.default_socket = /private/tmp/mysql.sock</p>
<p>Restarting the webserver should resolve the problem. But then your blog can still choke on old PHP-code in one of the plugins you use. In my case I was using an ancient version of the <a href="http://michelf.com/projects/php-markdown/">PHP-Markdown plugin</a> but after replacing it with the newest version NeB looked just like I left it with Tiger&#8230;</p>
<p>A final point : webpages stored in personal Sites-folders cannot be served by Apache2 and will produce a message that you have not enough privileges to view the page. To resolve this, type the following command from the Terminal</p>
<p class="code">sudo cp /private/etc/httpd/users/*.conf  /private/etc/Apache2/users</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lievenlebruyn.github.io/neverendingbooks/neb-on-leopard-and-iphone/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>mathML versus LaTeXRender</title>
		<link>https://lievenlebruyn.github.io/neverendingbooks/mathml-versus-latexrender/</link>
					<comments>https://lievenlebruyn.github.io/neverendingbooks/mathml-versus-latexrender/#respond</comments>
		
		<dc:creator><![CDATA[lieven]]></dc:creator>
		<pubDate>Wed, 21 Mar 2007 12:16:04 +0000</pubDate>
				<category><![CDATA[web]]></category>
		<category><![CDATA[arxiv]]></category>
		<category><![CDATA[Connes]]></category>
		<category><![CDATA[geometry]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[latexrender]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[noncommutative]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://www.neverendingbooks.org/?p=207</guid>

					<description><![CDATA[No math today. If you&#8217;re interested in the latest on noncommutative geometry, head over to the NCG-blog where Alain Connes has a post on Time.&#8230;]]></description>
										<content:encoded><![CDATA[<dl>
<dt>No math</dt>
<dt>today. If you&#8217;re interested in the latest on noncommutative geometry,</dt>
<dt>head over to the NCG-blog where Alain Connes has a post on</dt>
<dt><a href="http://noncommutativegeometry.blogspot.com/2007/03/time.html">Time</a>.</dt>
<dt>Still, Alain&#8217;s post is a good illustration of what Ill be rambling about</dt>
<dd>TeX and how to use it in a blog.</dd>
</dl>
<p>If you&#8217;re running a math-blog,<br />
sooner or later you want to say something more than new-age speak like<br />
&#8216;points talking to each other&#8217; and get to the essence of it. In short,<br />
you want to talk math and it&#8217;s a regrettable fact that math doesnt go<br />
well with ASCII. In everyday life we found a way around this : we all<br />
use TeX to write papers and even email-wise (among mathematicians) we<br />
write plain TeX-commands as this language is more common to us than<br />
English. But, plain TeX and the blogosphere don&#8217;t mix well. If you&#8217;re<br />
expecting only professional mathematicians to read what you write, you<br />
might as well arXiv your thoughts. Im convinced the majority of people<br />
coming here (for whatever reason) dont speak plain-TeX.  Fortunately,<br />
there is technology to display TeX-symbols on a blog. Personally, I was<br />
an early adapter to<br />
<a href="http://www.mayer.dial.pipex.com/tex.htm">LaTeXRender</a> and even today a<br />
fair share of page-views relates to the few<br />
<a href="https://lievenlebruyn.github.io/neverendingbooks/?s=latexrender">posts</a> I did on<br />
how to get latexrender working on a mac. Some time ago I<br />
<a href="https://lievenlebruyn.github.io/neverendingbooks/?p=204">switched</a> to mathML and now I&#8217;m<br />
regretting I ever did&#8230;</p>
<p>Mind you, I&#8217;m convinced that mathML is the<br />
&#8216;proper&#8217; way to get TeX to the internet but there are at the moment some<br />
serious drawbacks. For starters, it is highly user-unfriendly. You<br />
simply cannot expect people to switch browsers (as well as installing<br />
extra fonts) just because they come to your site (or you have to be a<br />
pretty arrogant git). Speaking for myself, Im still having (against my<br />
better judgment) Safari as my default browser, so when I come to a site<br />
like the <a href="http://golem.ph.utexas.edu/category/">n-category cafe</a> I just<br />
skim the plain-text in between and if (and only if) the topic interests<br />
me tremendously I&#8217;ll allow myself to switch to Flock or Firefox to read<br />
the post in detail. I&#8217;m convinced most of you have a similar<br />
surfing-attitude.  MathML also has serious consequences on the<br />
server-side. If you want to serve mathML you have to emit headers which<br />
expect everything to follow to be purified XHTML. If I ever forget a<br />
closing tag in a post, this is enough to break down NeverEndingBooks to<br />
all Firefox-users. I&#8217;ve been writing HTML since the times when the best<br />
browser around was something called <a href="http://en.wikipedia.org/wiki/Mosaic_(web_browser\\)">NCSA Mosaic</a> so Ive a<br />
pretty lax attitude to end-tags (especially in IMG-tags) and Im just<br />
getting too old to change these bad habbits now&#8230;  It seems I&#8217;m not the<br />
only one. Many developers of WordPress-plugins write bad XHTML-code, so<br />
the last couple of weeks I&#8217;ve been spending more time fixing up code<br />
than writing posts. If you want to run a mathML-wordpress site you might<br />
find the following hints helpfull.   If you get a &#8216;yellow screen of<br />
death&#8217; when viewing your site with Firefox, chances are that one of your<br />
plugin-authors missed a closing tag in the HTML-rendering of his/her<br />
plugin. As a rule of thumb : go for the IMG-tags first!   I&#8217;m sorry to<br />
say, but <a href="http://www.sixthform.info/steve/wordpress/">Latexrender-Steve</a><br />
is among the XHTML-offenders. (On a marginal note, LaTeXrender also has<br />
its drawbacks : to mathematicians this may seem incredible but what<br />
Latexrender does to get one expression displayed is to TeX an entire<br />
file, get the image from the ps-file turn it into a gif and display it,<br />
so one gets a GIF-folder of enrmous proportions. Hence, use Latexrender<br />
only if you have your own server and dont have to care about memory<br />
constraints. Another disadvantedge was that the GIFs were displayed with<br />
a vertical offset, but this has been solved recently (use the &#8216;offset<br />
beta&#8217; files in the distribution)). Wrt. to that offset-beta version, use<br />
this <a href="https://lievenlebruyn.github.io/neverendingbooks/DATA/latex.php.txt">latex.php file</a> instead (I<br />
changed the IMG-line).  Some plugins may not serve the correct headers<br />
to display mathML. So, if you want to allow readers to have a<br />
printer-friendly version of your mathML-post, get the <a href="http://www.lesterchan.net/wordpress/readme/wp-print.html">WP-print plugin</a> BUT<br />
change to this <a href="https://lievenlebruyn.github.io/neverendingbooks/DATA/wp-print.php.txt">wp-print.php file</a> in order to<br />
send the proper headers.  Sometimes there are just forgotten lines/tags<br />
in the code, such as in the [future calendar plugin](http://anthologyoi.com/wordpress/plugins/future-posts-calendar-<br />
plugin.html). So, please use <a href="https://lievenlebruyn.github.io/neverendingbooks/DATA/future_calendar.php.txt">this version</a><br />
of the future.calendar.php file.   And so on, and so on. The joys of<br />
trying to maintain a mathML-based blog&#8230; So, no surprise I&#8217;m seriously<br />
considering to ditch mathML and change to normal headers soon. One of<br />
the things I like about LaTeXRender is that it can be extended, meaning<br />
that you can get your own definitions and packages loaded whereas with<br />
mathML you&#8217;re bound to write iTeX, which Ill never manage.  But, again,<br />
mathML will be the correct technology once all major browsers are mathML<br />
capable and the font-problem is resolved. Does anyone know whether<br />
Safari 3 (in Leopard, that is Mac OS 10.5 to the rest of you) will be<br />
mathML-able?</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lievenlebruyn.github.io/neverendingbooks/mathml-versus-latexrender/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
