From vandam at cs.ucsb.edu Sat Sep 2 19:17:06 2006 From: vandam at cs.ucsb.edu (Wim van Dam) Date: Sat, 02 Sep 2006 16:17:06 -0700 Subject: [Instiki] problem with jsmath on $2^4=4^2$. Message-ID: <44FA10F2.5060206@cs.ucsb.edu> Hi, I'm having troubles writing exponents using instiki and jsmath. Even a simple equation like $2^4=4^2$ produces something wrong where the '4=4' part gets raised and the second '2' is lowered. The HTML that is produced does indeed say:

$24=42$

. All other more complicated LaTeX instruction work fine, so it seems something specific to the $x^y$ code and how it apparently gets confused for the ^superscript^ command in plain text. Any pointers how I can avoid this problem? Thanks, Wim From mark.james.lists at gmail.com Sat Sep 9 05:16:28 2006 From: mark.james.lists at gmail.com (mark larios) Date: Sat, 9 Sep 2006 18:16:28 +0900 Subject: [Instiki] problem with jsmath on $2^4=4^2$. In-Reply-To: <44FA10F2.5060206@cs.ucsb.edu> References: <44FA10F2.5060206@cs.ucsb.edu> Message-ID: Wim, What's happening is that Textile (or rather, RedCloth) is parsing the math before jsmath gets a chance to do it's thing. I use Markdown, which has backslash escapes. So, for example, if I want: $rb_k + b_e > c$ I need $rb\_k + b\_e > c$ instead. Markdown will take out the backslashes, leaving the original equation for jsmath to parse. I'm not sure how to escape properly in Textile. While there's a tag, it converts things like carats and equal signs into HTML entities, so it's no-go for jsmath. On 9/3/06, Wim van Dam wrote: > Hi, > > I'm having troubles writing exponents using instiki and jsmath. Even a > simple equation like $2^4=4^2$ produces something wrong where the '4=4' > part gets raised and the second '2' is lowered. The HTML that is > produced does indeed say:

$24=42$

. > All other more complicated LaTeX instruction work fine, so it seems > something specific to the $x^y$ code and how it apparently gets confused > for the ^superscript^ command in plain text. > > Any pointers how I can avoid this problem? -- mark larios From simon at noatv.com Mon Sep 18 16:39:46 2006 From: simon at noatv.com (Simon Dorfman) Date: Mon, 18 Sep 2006 15:39:46 -0500 Subject: [Instiki] documentation improvements Message-ID: <6a4eafbb0609181339u24e9f31g57e175f29014563d@mail.gmail.com> In trying to make instiki easier to use for my non-technical colleagues, I made some changes to one file. I'm not sure how to contribute my changes back to the project (and instiki.org is down at the moment) so I thought I'd just email my changes to this list with the hopes that someone more knowledgeable can incorporate them correctly into the project. Note: In my Edit Web settings, I have the following 3 noteworthy settings: 1. Markdown selected for my Markup 2. Red selected for my color 3. "Brackets only" is checkmarked Because I have Brackets only checked. I wanted to replace the CamelCase WikiWord documentation from the side of each edit page with double bracket new page creation documentation. I also wanted to add documentation for how to upload images and files. I accomplished this by replacing the contents of this file: instiki/app/views/wiki_words_help.rhtml ...with this text:

How To Create New Pages

[[new page name]] new page name?

Click red question mark link to start editing that new page.

How To Upload Files and Images

[[file name.jpg:pic]]file name.jpg?
[[file name.pdf:file]]file name.pdf?

Click red question mark link to upload your image or file.

In case that code gets a bunch of line breaks added thru email, I've attached the file to this email as well. Thanks, Simon -- Simon Dorfman - Video Editor - NOA-TV simon at noatv.com (504) 483-3305 Fax (504) 304-7324 New Orleans Access Television 1025 S. Jefferson Davis Parkway Suite B New Orleans, LA 70125 http://noatv.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: wiki_words_help.rhtml Type: application/octet-stream Size: 1067 bytes Desc: not available Url : http://rubyforge.org/pipermail/instiki-users/attachments/20060918/be2c2d39/attachment.obj