<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Answering questions</title>
	<atom:link href="http://www.texdev.net/2009/11/16/answering-questions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.texdev.net/2009/11/16/answering-questions/</link>
	<description>Coding in the TeX world</description>
	<lastBuildDate>Mon, 08 Mar 2010 14:08:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Joseph Wright</title>
		<link>http://www.texdev.net/2009/11/16/answering-questions/comment-page-1/#comment-1687</link>
		<dc:creator>Joseph Wright</dc:creator>
		<pubDate>Tue, 24 Nov 2009 21:39:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.texdev.net/?p=540#comment-1687</guid>
		<description>Hello Jay,

I think some kind of working group might be in order here. There seems to be some real interest in making something usable, and thanks to Simon we have not just ideas but code as well.

Joseph</description>
		<content:encoded><![CDATA[<p>Hello Jay,</p>
<p>I think some kind of working group might be in order here. There seems to be some real interest in making something usable, and thanks to Simon we have not just ideas but code as well.</p>
<p>Joseph</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Hammond</title>
		<link>http://www.texdev.net/2009/11/16/answering-questions/comment-page-1/#comment-1686</link>
		<dc:creator>Jay Hammond</dc:creator>
		<pubDate>Tue, 24 Nov 2009 20:54:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.texdev.net/?p=540#comment-1686</guid>
		<description>Thanks Joseph, Simon has got in touch. We have different expectations of the users, and so different approaches. It&#039;s valuable to see what the possible compromises will have to be.
Anyone else wishing to join in please let Joseph know, he&#039;ll be able to pass on my email address (please). And Simon&#039;s if he said so on his membership form, or does so privately.</description>
		<content:encoded><![CDATA[<p>Thanks Joseph, Simon has got in touch. We have different expectations of the users, and so different approaches. It&#8217;s valuable to see what the possible compromises will have to be.<br />
Anyone else wishing to join in please let Joseph know, he&#8217;ll be able to pass on my email address (please). And Simon&#8217;s if he said so on his membership form, or does so privately.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Wright</title>
		<link>http://www.texdev.net/2009/11/16/answering-questions/comment-page-1/#comment-1667</link>
		<dc:creator>Joseph Wright</dc:creator>
		<pubDate>Sun, 22 Nov 2009 17:14:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.texdev.net/?p=540#comment-1667</guid>
		<description>Hello Jay,

Simon Dales is working on some ideas using Doxygen, and has made some progress on an initial testing system. Might be worth talking directly with him.

Joseph</description>
		<content:encoded><![CDATA[<p>Hello Jay,</p>
<p>Simon Dales is working on some ideas using Doxygen, and has made some progress on an initial testing system. Might be worth talking directly with him.</p>
<p>Joseph</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Hammond</title>
		<link>http://www.texdev.net/2009/11/16/answering-questions/comment-page-1/#comment-1645</link>
		<dc:creator>Jay Hammond</dc:creator>
		<pubDate>Fri, 20 Nov 2009 21:55:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.texdev.net/?p=540#comment-1645</guid>
		<description>One of the documentation ideas discussed on the AGM and takls day was to provide a list of definitions of commands, a pointer to its source code and a pointer to its documentation. An Index.

It is convenient to have the source of LaTeX packages that are on CTAN. It is especially useful that all LaTeX packages come as source, and are not distributed in compiled form. Because of that I can just start to discuss how to make the index from plain text.

Any pattern matcher should be able to spot \def, \let and \newcommand. A good pattern matching tool especially if it has dynamically created patterns, not evaluated until actually required, should be able to track catcode changes and so identify @commands. In the discussion at the meeting, it was noted that end-users of (La)TeX should not know about @commands and not use them directly, but use the package interface to invoke them indirectly in the intended manner.

I think it would be a challenge to  accurately index definitions  created from \csname and \expandafter commands.  Not necessarily impossible, but difficult.

It would be an immense job to index all of the packages on CTAN, and deal with all the name clashes. Also, CTAN is updated frequently, so the indexing tool would have to run on CTAN frequently. That&#039;s a potential load on the CTAN server.

But as far as I know, no-one actually loads all the packages on top of LaTeX. And if a user  seeks help, they need help with the particular combination of packages they actually loaded on the LaTeX run that went wrong.

So a specific index for that user&#039;s run of (LaTeX) would be more help to them and involve less indexing for us.

Rather than having the problem of updating a central index continuously, instead I propose we build a tool that reads the user&#039;s preamble, indexes the files loaded, in the order they are loaded and offers that much smaller index to the user.  It might rely on the users&#039; package files being virtually or actually on the same workstation as the documentation tool. This is almost always the case.


It&#039;s a much smaller task than cataloguing CTAN, it would be accurate and uptodate for the user. Indeed, this tool will give users helpful results even if they use outdated packages or packages not available from CTAN e.g. style packages from LMS, Elsevier  and other publishers.  And I believe with a suitable choice of language, the index would be created very rapidly in the majority of cases.

As programming languages that have suitable pattern matching, I know of Snobol, Icon, Ada, and another- can&#039;t remember which just now. 
I believe all are freeware. Snobol and Icon are true open source.  Snobol is very fast, and only  about 100k of  runtime. The associated data (such as a precompiled LaTeX kernel index?) could be larger than that?  So the footprint is tiny too.  And there are versions for PC &amp; Linux. There may still be a Mac version. So it covers most of the workstations that run TeX. 

Given that powerful pattern matching is only a &quot;nice to have&quot;, what other languages should we consider?

What languages do most TeX (at least  the windows  and linux users)  nearly always have (apart from TeX Macro language, please :-)  )

What about Perl, Ruby, Lua, php ?  Others?

What could we get users to add to their worksatation  that would be small &amp; effective (like Snobol)?  Would any of these tools run (with adequate security) on a server running Mathtran or another &quot;I imageset your TeX  formulae&quot; tool?

Initially we could prototype this tool, trial it with windows and linux users, and if successful, make it more accessible,  faster by choosing a different language.  

I&#039;d be willing to prototype in Snobol or Icon/Unicon.
Any other offers? Anyone want to help,  e.g draft a spec? Or just tell me what command defining words exist in  Plain TeX, LaTeX and ConTeXt ?</description>
		<content:encoded><![CDATA[<p>One of the documentation ideas discussed on the AGM and takls day was to provide a list of definitions of commands, a pointer to its source code and a pointer to its documentation. An Index.</p>
<p>It is convenient to have the source of LaTeX packages that are on CTAN. It is especially useful that all LaTeX packages come as source, and are not distributed in compiled form. Because of that I can just start to discuss how to make the index from plain text.</p>
<p>Any pattern matcher should be able to spot \def, \let and \newcommand. A good pattern matching tool especially if it has dynamically created patterns, not evaluated until actually required, should be able to track catcode changes and so identify @commands. In the discussion at the meeting, it was noted that end-users of (La)TeX should not know about @commands and not use them directly, but use the package interface to invoke them indirectly in the intended manner.</p>
<p>I think it would be a challenge to  accurately index definitions  created from \csname and \expandafter commands.  Not necessarily impossible, but difficult.</p>
<p>It would be an immense job to index all of the packages on CTAN, and deal with all the name clashes. Also, CTAN is updated frequently, so the indexing tool would have to run on CTAN frequently. That&#8217;s a potential load on the CTAN server.</p>
<p>But as far as I know, no-one actually loads all the packages on top of LaTeX. And if a user  seeks help, they need help with the particular combination of packages they actually loaded on the LaTeX run that went wrong.</p>
<p>So a specific index for that user&#8217;s run of (LaTeX) would be more help to them and involve less indexing for us.</p>
<p>Rather than having the problem of updating a central index continuously, instead I propose we build a tool that reads the user&#8217;s preamble, indexes the files loaded, in the order they are loaded and offers that much smaller index to the user.  It might rely on the users&#8217; package files being virtually or actually on the same workstation as the documentation tool. This is almost always the case.</p>
<p>It&#8217;s a much smaller task than cataloguing CTAN, it would be accurate and uptodate for the user. Indeed, this tool will give users helpful results even if they use outdated packages or packages not available from CTAN e.g. style packages from LMS, Elsevier  and other publishers.  And I believe with a suitable choice of language, the index would be created very rapidly in the majority of cases.</p>
<p>As programming languages that have suitable pattern matching, I know of Snobol, Icon, Ada, and another- can&#8217;t remember which just now.<br />
I believe all are freeware. Snobol and Icon are true open source.  Snobol is very fast, and only  about 100k of  runtime. The associated data (such as a precompiled LaTeX kernel index?) could be larger than that?  So the footprint is tiny too.  And there are versions for PC &amp; Linux. There may still be a Mac version. So it covers most of the workstations that run TeX. </p>
<p>Given that powerful pattern matching is only a &#8220;nice to have&#8221;, what other languages should we consider?</p>
<p>What languages do most TeX (at least  the windows  and linux users)  nearly always have (apart from TeX Macro language, please <img src='http://www.texdev.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />   )</p>
<p>What about Perl, Ruby, Lua, php ?  Others?</p>
<p>What could we get users to add to their worksatation  that would be small &amp; effective (like Snobol)?  Would any of these tools run (with adequate security) on a server running Mathtran or another &#8220;I imageset your TeX  formulae&#8221; tool?</p>
<p>Initially we could prototype this tool, trial it with windows and linux users, and if successful, make it more accessible,  faster by choosing a different language.  </p>
<p>I&#8217;d be willing to prototype in Snobol or Icon/Unicon.<br />
Any other offers? Anyone want to help,  e.g draft a spec? Or just tell me what command defining words exist in  Plain TeX, LaTeX and ConTeXt ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Wright</title>
		<link>http://www.texdev.net/2009/11/16/answering-questions/comment-page-1/#comment-1603</link>
		<dc:creator>Joseph Wright</dc:creator>
		<pubDate>Tue, 17 Nov 2009 20:09:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.texdev.net/?p=540#comment-1603</guid>
		<description>Hello Steve,

I&#039;d not noticed that LaTeXRender retains the TeX source: thanks for that.

The point about MathML (or OpenMath) content is that it is defined. The problem with (La)TeX for that type of thing is the definitions alter depending on what is loaded. 

Joseph</description>
		<content:encoded><![CDATA[<p>Hello Steve,</p>
<p>I&#8217;d not noticed that LaTeXRender retains the TeX source: thanks for that.</p>
<p>The point about MathML (or OpenMath) content is that it is defined. The problem with (La)TeX for that type of thing is the definitions alter depending on what is loaded. </p>
<p>Joseph</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Wright</title>
		<link>http://www.texdev.net/2009/11/16/answering-questions/comment-page-1/#comment-1602</link>
		<dc:creator>Joseph Wright</dc:creator>
		<pubDate>Tue, 17 Nov 2009 20:07:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.texdev.net/?p=540#comment-1602</guid>
		<description>A relay post for Steve Mayer:
--------------------------------------------------
I agree that MathML is the ideal to aim for but it does have problems. In the ubiquitous IE it won&#039;t show without a plugin and if there&#039;s any error on the page, nothing shows at all, though this is a problem with XHTML rather than MathML itself.
It&#039;s instructive to read Lieven le Bruyn&#039;s experience at &lt;a hef=&quot;http://www.neverendingbooks.org/index.php/mathml-versus-latexrender.html&quot; rel=&quot;nofollow&quot;&gt;mathML versus LaTeXRender&lt;/a&gt; when he wanted to use mathML for his blog.

I understand that development of incorporating mathML into Firefox has stopped though that may be more rumour than fact.

By the way, LatexRender and similar do retain the content - the underlying LaTeX code is in the alt and title tags which can be read by a screen reader and show when images are turned off. For example, hover over the graph at &lt;a href=&quot;http://sixthform.info/steve/wordpress/?p=24&quot; rel=&quot;nofollow&quot;&gt;Plotting Graphs&lt;/a&gt; and click on it to open a popup with the code.</description>
		<content:encoded><![CDATA[<p>A relay post for Steve Mayer:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
I agree that MathML is the ideal to aim for but it does have problems. In the ubiquitous IE it won&#8217;t show without a plugin and if there&#8217;s any error on the page, nothing shows at all, though this is a problem with XHTML rather than MathML itself.<br />
It&#8217;s instructive to read Lieven le Bruyn&#8217;s experience at <a hef="http://www.neverendingbooks.org/index.php/mathml-versus-latexrender.html" rel="nofollow">mathML versus LaTeXRender</a> when he wanted to use mathML for his blog.</p>
<p>I understand that development of incorporating mathML into Firefox has stopped though that may be more rumour than fact.</p>
<p>By the way, LatexRender and similar do retain the content &#8211; the underlying LaTeX code is in the alt and title tags which can be read by a screen reader and show when images are turned off. For example, hover over the graph at <a href="http://sixthform.info/steve/wordpress/?p=24" rel="nofollow">Plotting Graphs</a> and click on it to open a popup with the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Wright</title>
		<link>http://www.texdev.net/2009/11/16/answering-questions/comment-page-1/#comment-1591</link>
		<dc:creator>Joseph Wright</dc:creator>
		<pubDate>Tue, 17 Nov 2009 08:22:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.texdev.net/?p=540#comment-1591</guid>
		<description>Hello Mikael,

Thanks very much for the comment: glad I&#039;m interesting. I&#039;ve not come across freenode, but it sounds like the approach is pretty sensible. I&#039;ll take a look.

Joseph</description>
		<content:encoded><![CDATA[<p>Hello Mikael,</p>
<p>Thanks very much for the comment: glad I&#8217;m interesting. I&#8217;ve not come across freenode, but it sounds like the approach is pretty sensible. I&#8217;ll take a look.</p>
<p>Joseph</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Wright</title>
		<link>http://www.texdev.net/2009/11/16/answering-questions/comment-page-1/#comment-1590</link>
		<dc:creator>Joseph Wright</dc:creator>
		<pubDate>Tue, 17 Nov 2009 08:19:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.texdev.net/?p=540#comment-1590</guid>
		<description>Hello Will,

Documentation was a strong topic at the meeting. The comparison to other programming systems does not necessarily flatter LaTeX: if you look at things like Python, you can get access to the same docs online or in a printed form. But the problem is that everyone does their own thing for LaTeX packages. It would be nice to imagine a better ltxdoc (or something) that made it easier to produce multiple output formats. You could then imagine having web pages of the documentation to complement the existing PDFs. You could then, I think, imagine having something like:

http://latexdocs.org/&lt;package&gt;

To open the documentation directly.

Joseph</description>
		<content:encoded><![CDATA[<p>Hello Will,</p>
<p>Documentation was a strong topic at the meeting. The comparison to other programming systems does not necessarily flatter LaTeX: if you look at things like Python, you can get access to the same docs online or in a printed form. But the problem is that everyone does their own thing for LaTeX packages. It would be nice to imagine a better ltxdoc (or something) that made it easier to produce multiple output formats. You could then imagine having web pages of the documentation to complement the existing PDFs. You could then, I think, imagine having something like:</p>
<p><a href="http://latexdocs.org/" rel="nofollow">http://latexdocs.org/</a>
<package>
<p>To open the documentation directly.</p>
<p>Joseph</package>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Wright</title>
		<link>http://www.texdev.net/2009/11/16/answering-questions/comment-page-1/#comment-1589</link>
		<dc:creator>Joseph Wright</dc:creator>
		<pubDate>Tue, 17 Nov 2009 08:16:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.texdev.net/?p=540#comment-1589</guid>
		<description>Hello Steve,

Thanks for the information. One of the discussion points was that things like MathML/OpenMath have the advantage that the &quot;content&quot; remains available and scalable in the browser. The thing with the various image-based solutions is that the content is not there for the PC (which includes problems for partially-sighted users). 

As to TUG, I&#039;m sure that supporting projects would be possible, but the usual problem is finding people to do things. There are always more good ideas than  people with time to do them, I think.

Joseph</description>
		<content:encoded><![CDATA[<p>Hello Steve,</p>
<p>Thanks for the information. One of the discussion points was that things like MathML/OpenMath have the advantage that the &#8220;content&#8221; remains available and scalable in the browser. The thing with the various image-based solutions is that the content is not there for the PC (which includes problems for partially-sighted users). </p>
<p>As to TUG, I&#8217;m sure that supporting projects would be possible, but the usual problem is finding people to do things. There are always more good ideas than  people with time to do them, I think.</p>
<p>Joseph</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikael Persson</title>
		<link>http://www.texdev.net/2009/11/16/answering-questions/comment-page-1/#comment-1587</link>
		<dc:creator>Mikael Persson</dc:creator>
		<pubDate>Tue, 17 Nov 2009 07:47:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.texdev.net/?p=540#comment-1587</guid>
		<description>First I must say I enjoy very much reading your blog, Joseph.

Next I want to mention that on the irc channel #latex on freenode we usually try to help people help themself:

If they ask how to write an integral, we orcourse tell them it is \int but also point them to lshort.pdf (or the tug FAQ) since we then belive that they need an introductory doc. 

If they ask a more specific question, say on howto have multiple lines in headers, we point them to a specific package (and its doc). 

After this, if they still do not manage, there is a bot (written by Troy Henderson) that runs LaTeX (and MetaPost) in an interactive way that is very helpful. There is also a pastebin (on http://pastebin.tlhiv.org ) where one can give larger snippets and see how they compile.

Most users get help very fast this way, and are happy with it. Some do not like to be pointed at some doc, but rather just want the answers.

If noone knows the answer c.t.t. is a very good resource for finding answers.</description>
		<content:encoded><![CDATA[<p>First I must say I enjoy very much reading your blog, Joseph.</p>
<p>Next I want to mention that on the irc channel #latex on freenode we usually try to help people help themself:</p>
<p>If they ask how to write an integral, we orcourse tell them it is \int but also point them to lshort.pdf (or the tug FAQ) since we then belive that they need an introductory doc. </p>
<p>If they ask a more specific question, say on howto have multiple lines in headers, we point them to a specific package (and its doc). </p>
<p>After this, if they still do not manage, there is a bot (written by Troy Henderson) that runs LaTeX (and MetaPost) in an interactive way that is very helpful. There is also a pastebin (on <a href="http://pastebin.tlhiv.org" rel="nofollow">http://pastebin.tlhiv.org</a> ) where one can give larger snippets and see how they compile.</p>
<p>Most users get help very fast this way, and are happy with it. Some do not like to be pointed at some doc, but rather just want the answers.</p>
<p>If noone knows the answer c.t.t. is a very good resource for finding answers.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
