As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Is there some tool that would turn an HTML with mathjax into a valid LaTeX document? I undernstand that mathjax is already LaTeX, but if that is mixed with text, then simply saving the text representation of an HTML document is not going to work. E.g., the underscore should be turned into a backslash + _, when it is in the text section, while it should be left alone, if it is in a math environment. My question is, whether there is a way to do this automatically. I would prefer a javascript solution, but if that is absolutely not possible, I could live with a tool (e.g., python) that I can call from the command line.
Thanks,
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I need a WYSIWYG editor I can put on my website for editing RTF documents. It is important that the current RTF codes in the document are retained, and I'm forced to use the RTF format due to the data being used in other applications requiring RTF. So any conversion back and forth would not be feasible.
I haven't been able to find one. Does it really not exist?
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am new in creating web applications in Windows. I am planning to do it on Ruby On Rails. However, I am confused what text editor should a beginner use. There are a lot of text editors like GVim, red car editor, sublime text, e-text editor, and ruby mine. What text editor is easier to use for a beginner?
Notepad++ is very easy. It has syntax highlighting, but other than that not much fanciness.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
What fonts come bundled with iOS that have a unique set of Traditional Chinese characters?
It seems the a list of fonts included in iOS 5 resides at iosfonts.com; however, it seems that most fonts (ex: "GillSans-Bold") will use a common typeface (though I'm not sure which it is) to render Chinese characters.
So far, through trial and error, it seems the following have unique Chinese character sets:
STHeitiSC-Medium
STHeitiTC-Medium
HiraKakuProN-W6
There's HiraMinProN-W6 and W3 as well, the HiraKakuProN has a W3 version and there are light versions of the STHeiti* fonts. I think that's all.
You can enumerate them with some of the Core Text functions and find them that way. Worth noting that the STHeiti* fonts have 51-52,000 glyphs, the Hira* ones have about 20,000
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have tried TinyMCE and FC/CKEditor and they both don't really do the job...
I wanted to get a wordpress like style...
Thanks!
Wordpress actually uses TinyMCE, with its own modifications. It's open source, so you can probably grab the editor from Wordpress itself.
Otherwise, you have choices of using YUI Editor (although it may be too simplistic and isn't that widely used), or just using a plain text area with Textile/Markdown behind the scenes (similar to what Stack Overflow uses), and perhaps a row of javascript buttons at the top. There are a few scripts available that can do this for you, notably Textile Editor Helper.
If none of those works, and you still don't want to use TinyMCE or FCKEditor, you could always code your own.
YUI Editor :)
Tis cool!
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm making a fairly basic rails app and I was wondering what's the best way to strip undesirable html from text field (basically, all I'm looking to preserve are links and no more than 2 linebreaks).
Currently, I'm stripping all html and using simpleformat, since it seems to be less overhead than using RDiscount and Markdown/Textile, but this is not really an ideal solution.
Probably the sanitize helper.
Module
ActionView::Helpers::SanitizeHelper
Another option is Sanitize gem.
http://wonko.com/post/sanitize