LaTeX support with Movable Type 5? - latex

Is there latex math support with movable type 5?

Saying the unobvious; but Movable Type 5 cannot be embedded into LaTeX.
Saying the obvious, the other way around:
It is possible using Google's LaTeX image output: See my article on this website http://sites.google.com/site/gencoreoperative/index/articles-and-hacks/google-s-latex
I'll copy some stuff over here, if the link may ever be dead:
http://www.google.com/chart?cht=tx&chf=bg,s,FFFFFF00&chco=000000&chl=e^z=\sum^{\infty}_{n=0}\frac{z^n}{n!}
Where chl is your latex, cht is "TeX" and chf and chco are font, style and color attributes.
Update: not sure if it works on sites external from Google too...

http://bitbucket.org/alex_mikhalev/latex/ hasn't been updated in a year. not sure about MT5 support, as I didn't see a mention of version compatibility.

Related

Ignore spelling API in electron 8

With the release of electron 8, I was implementing the newly released spell check API's on my electron app. The context menu should look similar to this:
I was able to implement learn spelling using ses.addWordToSpellCheckerDictionary API given in docs, however I am stuck trying to implement the ignore spelling part.
The difference between the two according to google is
Ignore spelling
The word is ignored if it occurs again in the document (it will be highlighted in other documents)
Learn Spelling
The word won't be flagged as misspelled in any document.
I can implement it such a way that the dictionary suggestions are not shown for a specific set of words stored in array, but that will still leave a red squiggly line below the word. Besides, there has to be a native API call implemented given spell check has been officially announced.
I could have simply used webFrame.setSpellCheckProvider, but then I would have to hard-code a language, add boilerplate code, use a node module.
Try instead using electron-spellchecker npm package:
It has an:
Option to ignore a word at runtime only.

Latex (String formula to Image) for IOS

I've done my math application for Android.
I use JLatex Library to convert math expressions to Bitmap.
I have a lot of predefined strings with math expressions (in my crossplatform C++ core).
Now I'm working on IOS version. I want to use that core here.
But I face with Latex problem.
Are there JLatex alternatives for IOS?
I've found some Libraries, but syntax isn't the same...
Syntax of JLatex is the same as here.
Finally I've found great Latex Library for IOS.
It's iosMath.
Currently it has only one defect: doesn't support line break.
But I believe it'll be done soon.

Displaying Musical Unicode Symbols in iOS UI with Swift

I am currently developing an iOS app that works a lot with musical symbols. the symbols I would like to use are found on this page:
http://unicode-table.com/en/blocks/musical-symbols/
I am trying out a few examples like assigning the text directly to the label. So this is what I see in Xcode's interface builder:
And this is what I see in the simulator:
I also tried assigning it programatically (Swift code):
label.text = "\u{1D15D}"
But no luck that way either. However, if I send this to the console with println() the note character is correctly printed in the console.
Just in case I tried with a few system fonts and the result was the same (Default, Arial, Verdana and Times New Roman)
So my question/questions would be: Am I doing something wrong? Are these characters not supported by iOS' interface elements like UILabels? Or maybe the problem is in the font?
I would appreciate some help here :) let me know if you need more information than what I provided here.
This is a problem with the font. Very few fonts contain the musical symbols of Unicode. The “UFO” symbols that you see are probably generic symbols for “strange” characters not present in the font. You may need to find a suitable free font and try to bundle it with your application.
A few fonts contain at least some of the musical symbols. The most commonly known of them, FreeSerif, Quivira, and Symbola are listed (with samples) at the Fileformat.info site on page MUSICAL SYMBOL WHOLE NOTE (U+1D15D) Font Support. There is also the Musica font downloadable from the page Unicode Fonts for Ancient Scripts. (The common musical symbols aren’t that ancient, but the font contains also Byzantine musical symbols.)

Installing Flashdevelop dark color scheme for using with Haxe?

I downloaded bunch of nice looking FD schemes for AS3. It seems like there are no nice ready made Haxe schemes for FD. As I understand one can use the As3 scheme in FD for Haxe but I am so far unable to achieve it and searching did not bring any usable result.
As far as I can tell I am able to install the As3 colors fine then I rename to Haxe.xml but that does not work for me :(
I would appreciate if a SO user help me out with this. I am using FD 4.2.4
thanks
The FlashDevelop theme I created (and have been tweaking over the years) include dark colors for Haxe:
http://tronster.com/code/fd/FlashDevelop-TronsterColors_v4.zip
When you go to FlashDevelop > Tools > Syntax coloring you can edit the colors. These are categorized per coding language.
There are differences between Haxe and AS3, that makes it not possible to copy/paste/rename. However, when you take a look at the names, there are similarities. Just copy/paste those you find in the AS3 version to the haxe theme and it kinda looks the same.
Share the Haxe version of the theme with the original creator to make the web a bit more complete.

Using Syntax Highlighting

I'm trying to write an IDE for the iOS and I stumbled on a problem. I of course wanted to be able to do syntax highlighting, but I have no idea how I have to get this to work.
I have been googling over a month now, but I haven't found anything useful. Most libraries are C++. That I find no problem, I know enough of C++, but they all use the Boost libraries and I heavily doubt if it's easy to install them on a jailbroken iOS device, or even compile them for the iOS on the Mac.
So I come here for help. What should I do? Should I use a PHP syntax highlighter, which always colors the whole document? Should I write a syntax highlighter my self, that doesn't use the Boost library? Or does somebody here know another library, which can be used on the iOS?
Thank you in advance,
ief2
i have a simillar problem about syntax highlighting, but i prefer to solved it using UIWebview than using core text, because that is a different pixel in rendering text in core text and UITextview (in my problem i was using a core text view that cover by uitextview), and then i try to solved using uiwebview, even i'm still on developing but i can say that it is better using uiwebview than core text, maybe you can take a look at this link http://alexgorbatchev.com/SyntaxHighlighter/ it is an open source code, but it develop using javascript.
Most Boost libraries are header-only. There are only a few Boost libraries, like those for threading and asynchronous I/O, that use a compiled library. If you've found some solutions that would work fine aside from your worries about using Boost, then I would look at them again, as they'll likely work. Even if you must use a Boost library that is not header-only, you can always build it as a static library and link that into your application, so that in the end the only thing that needs to be installed is just your app bundle.
I know this is old, but in case anybody is looking for a complete syntax highlighter for iOS, there's two options:
Highlightr: A Swift library for syntax highlighting, supports hundreds of languages but uses JS as backend. It's fast enough for live editing, though. (Disclaimer: I am the creator of this library).
SyntaxKit: A native solution on early stages of development. Should support any TextMate syntax in the future.

Resources