News from MathTran

Just another WordPress.com weblog

Autocomplete for Tex commands

leave a comment »

As we have decided on using jQuery for the MathTran online Tex editor, I have been looking for some jQuery plugins to provide autocomplete functionality for Tex commands.

The jQuery Autocomplete Mod found at http://www.pengoworks.com/workshop/jquery/autocomplete.htm looks promising but it requires a few changes. Ideally the plugin should work for text in a textarea, suggesting commands for the last typed characters just underneath the cursor. The plugins I have found so far were designed for input fields of type text and used the whole value of the field to query the database of known words.

I will continue looking for an existing plugin with the required features, but might have to modify one of the existing ones to fit my needs.

Advertisements

Written by mystar22

May 4, 2008 at 6:16 pm

Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: