From Wikisophia
Jump to: navigation, search

Various issues brought to our attention, ordered by package.



TIPA conversion to Unicode

IPA is used extensively in Wikipedia. But it has to be entered in opaque Unicode. Even with an easy to use extension for Unicode entry, it still looks like unreadable numerical crap when you go to edit the page.

As with TeX math, is there a way to translate the TIPA codes into either Unicode characters or PNG images, depending on the user's preferences? Grendelkhan 11:39, 4 May 2005 (CDT)

Originally I though it would be left up to the author's discretion, applying a out="unicode" property or other; but the user-option idea makes sense (takes a little more work). Danenberg 00:18, 24 February 2006 (CST)

I wrote a TIPA to unicode converter that you can find here: ::

Fantastic, Stacia; are you using the version for Indian languages, or did you hack together your own IPA translator? Danenberg 20:23, 1 March 2006 (CST)

I am using the version for Indian Languages. I don't really know Javascript so it's not as good as it could be. (For example double diacritics don't work and some diactirics I never use are not implemented). If you or someone else wants to rewrite it please by all means be my guest!

Win32 platform installation

I am not sure if this is documented somewhere, but I didn't get any answer either from here or from google. It seemed to me that an extra prerequist of BASH is needed. Am I missing some necessary packages for this module or it simply isn't designed to use under MS OS.

Danenberg 16:24, 23 February 2006 (CST): Savatore Ingala actually got WikiTeX working on Windows. Would you mind taking a look at this document and let us know if it helps?

Some additional hints for Win32, solving some of the problems metioned above

  • The system confuses "find" with the "find" from windows. Replace "find" by "/usr/bin/find" (full cygwin path name)
  • The same is true for the rm, replace it by "/bin/rm" or add your cygwin path name


With current Lilypond 2.8 output seems to be returned as failure:

WikiTeX: lilypond reported a failure, namely:
Rebuilding FontConfig cache /home/john/.fonts.cache-1. this may take a while...

Same with TeX:

  • WikiTeX: latex reported a failure, namely:
This is e-TeX, Version 3.14159-2.1 (Web2C 7.4.5)

graph and amsmath work perfectly, though. John 04:25, 5 April 2006 (CDT)

Here's a dirty dirty hack for fixing the Lilypond 2.8 errors... do a locate for fonts-cache.1, cat all of them together, and store the result at /home/john/.fonts.cache-1 (or wherever it's wanting the file) It worked for me on Gentoo. --Charlie 01:36, 9 May 2006 (CDT)



I use Lilypond 2.4.5 and got two errors in Wikitex Music:

  1. Lilypond has no recognized --no-pdf and --no-ps options.
  2. "error: \paper cannot be in \score. Use \layout instead."

I got rid out of --no-pdf and --no-ps options, and replaced \paper with \layout, and it works fine.

--Puzzlet Chung

Fixed as of 1.1-beta1. Danenberg 20:33, 23 February 2006 (CST)

I'm using LilyPond 2.7.4 and I needed to add \version "2.6.0" at the end of the template file to make it work.

--Roberto Toro

Thanks; that's on the immediate to-do list: upgrade to the latest Lilypond. There were some pagination issues we had to work out; but with the new chroot feature, we should be able to make <music> less restrictive. Danenberg 22:30, 15 Aug 2005 (CDT)
Fixed as of 1.1-beta1. Danenberg 20:33, 23 February 2006 (CST)

Using unstable 2.9.8 I get:

terminate called after throwing an instance of 'std::logic_error'
 what():  basic_string::_S_construct NULL not valid

John 07:57, 10 June 2006 (CDT)

Plotting data

Perhaps what most interested me about the plot extension was the ability to turn tabular data into pretty plots. Unfortunately, there's been some kind of update which broke it.

Fixed as of 1.1-beta1. Danenberg 20:33, 23 February 2006 (CST)

That should make a plot, but it doesn't. Why's that? Is there a way to plot numerical data? Shouldn't there be? Grendelkhan 11:39, 4 May 2005 (CDT)

Use the new data="reference" property, where reference refers to an uploaded file or wiki page (as of 1.1-beta3). You would use it in your plot, for instance, as follows:
<plot data="reference">plot "reference" using 1:2 smooth csplines;</plot>
Danenberg 20:33, 23 February 2006 (CST)


“I have no clue where to ask, but my installations gives an error with Fatal error: Call to undefined function: __contruct() in /var/html/hugo/t2/wiki/extensions/wikitex/wikitex.php on line 49. PHP 4.3.4, using wikitex-”
As a matter of fact, line 49 should read:
I'll combine the patch with MediaWiki 1.3.5, and slay the birds twain.

Long output


Thanks to Grendelkhan for bringing this to our attention: when LilyPond output exceeds one page, the pages were smelted into a nasty blinking array.

Our preliminary solution curtails output in excess of the first page; is one page an acceptable limitation, or should we endeavor multi-page output?  The midi remains untouched.

I'm not sure what you mean - the example below looks fine! The only thing I would sugest is to separate the pages, maybe place each image on a new paragraph. I didn't even know that there were several images (one for each page) below until I tried to select them. But: (1) the spacing is potentially unpredictable/undesirable when you put pages together without any extra space (notice that the vertical spacing between staves is too small, below, at the page breaks); (2) in some cases one might want the pages displayed as obviously separate - perhaps even surrounded by a border (which I think would be easy to implement, as the HTML <img> tag supports that option). Great job, though, already - this is exciting! --MarcusMacauley 22:50 UTC, 20 Feb 2005


Of course long output isn't only a `music' problem; if you have a chess game with a lot of diagrams they are simpely not displayed (see my user page for an example) Hugo 17:37, 11 Oct 2004 (CDT)

That's by design, of course; chess has the great advantage of being able to step into a game at an arbitrary point (consult Wikitex#Chess, where we stepped in at the 25th). That should encourage authors to intersperse their wiki with diagrammes, rather than resort to whole-page TeX objects.
Playing around with multi-page output, however, I've achieved a width-wise concatenation; that would severly deface the page, I'm afraid. Danenberg 18:00, 15 Oct 2004 (CDT)