Peter Danenberg wrote in part:
See the documentation at http://69.44.153.14/wikitex_doc.htm for current blacklists; we'll continue to publish, as appropriate, module-specific blacklists.
I hope that you don't regard this list as complete, even for the current <rend> classes. For example, try the following input in the test page:
----
<p>This properly is not accepted:</p>
<p><rend class="math"> \input null If you see this, then WikiTeX just inputted a file! </rend></p>
<p>But this should not be accepted either!:</p>
<p><rend class="math"> \catcode `| 0 |input null If you see this, then WikiTeX just inputted a file! </rend></p>
<p>The solution (overkill, but simple): Add \catcode to the blacklist.</p>
----
(Luckily, the standard TeX file <null.tex> is completely empty, except for some lines that begin with the comment character. But for more fun, insert the line "\catcode `% 12" as well! ^_^)
Besides checking with PlanetMath.org and arXiv.org to catch anything that we didn't happen to think of, somebody really should go through the proposed (La)TeX packages with a fine-toothed comb to ensure that nothing has been missed.
If you're at the point where you're ready to develop a complete blacklist for any or all <rend> classes, then I will do this (assuming that you use only standard packages whose source is available at CTAN). Just let me know what (La)TeX code you use in the file, other than the material between the <rend> tags.
(Possible example:)
----
\documentclass {article} \begin {document} \begin {equation*} %s \end {equation*} \end {document}
----
(Although you're probably doing something a bit more sophisticated.)
Although if you want me to do that /right now/, then you'll probably have to wait until 2004, due to holiday effects on my schedule and Internet access. ^_^
-- Toby
On Wed, Dec 17, 2003 at 04:01:04PM -0800, Toby Bartels wrote:
Besides checking with PlanetMath.org and arXiv.org to catch anything that we didn't happen to think of, somebody really should go through the proposed (La)TeX packages with a fine-toothed comb to ensure that nothing has been missed.
So after all, you do agree that a whitelist is the right solution ?
And if you make such a whitelist for math, I can just add it to texvc.
Taw (Tomasz Wegrzanowski) wrote:
Toby Bartels wrote:
Besides checking with PlanetMath.org and arXiv.org to catch anything that we didn't happen to think of, somebody really should go through the proposed (La)TeX packages with a fine-toothed comb to ensure that nothing has been missed.
So after all, you do agree that a whitelist is the right solution ?
In combing through the packages, it should be possible to create both a blacklist ''and'' a whitelist, to satisfy both philosophies. But there are some LaTeX commands that define new commands, such as \DeclareMathSymbol , that should be safe to allow. Then a blacklist approach will be more flexible (but not more powerful) than a whitelist approach, since it allows one define abbreviations.
And if you make such a whitelist for math, I can just add it to texvc.
Since Peter has posted the templates, I will start on this when I can, and post the results here, so you and he can both use them as you like. (But I probably will not be able to do this until the holidays are over!)
-- Toby
I hope that you don't regard this list as complete, even for the current <rend> classes.
The list is preliminary, and should form the greater part of our collaboration pre-integration.
Besides checking with PlanetMath.org and arXiv.org to catch anything that we didn't happen to think of, somebody really should go through the proposed (La)TeX packages with a fine-toothed comb to ensure that nothing has been missed.
I've made both the source for our packages as well as the class templates available at http://69.44.153.14/wikitex_doc.htm; and will vigilantly update the lists according to our findings.
Lilypond's main concern was GUILE-access; PPCH-LaTeX continues to be an unknown; Chess and AMS-LaTeX didn't discover anything upon first perusal.
Work ahead.
Peter
Peter Danenberg wrote:
Toby Bartels wrote:
I hope that you don't regard this list as complete, even for the current <rend> classes.
The list is preliminary, and should form the greater part of our collaboration pre-integration.
Good!
I've made both the source for our packages as well as the class templates available at http://69.44.153.14/wikitex_doc.htm; and will vigilantly update the lists according to our findings.
That's just what I need to do my own going through with a fine-toothed comb. I'll post my findings here when I finish them, but I probably won't be able to start until 2004 -- and definitely won't be able to start for a week. So that shouldn't stop somebody else from getting to it faster! ^_^
Lilypond's main concern was GUILE-access; PPCH-LaTeX continues to be an unknown; Chess and AMS-LaTeX didn't discover anything upon first perusal.
I'm only familiar with the math packages; but if the others are organised along similar lines (as seems likely), then I will look at them as well.
-- Toby
wikitech-l@lists.wikimedia.org