I've been using Latexian for a while. Its LivePreview feature is very convenient, which is why I'm keeping using it.  Recently, I've heard about LuaTeX / LuaLaTeX. I tried a couple of examples but I couldn't make it work with Latexian.  Specifically, compiling the following code via terminal "lualatex test.tex" works ok.  \documentclass{article}  \begin{document} The standard approximation $\pi = \directlua{tex.sprint(math.pi)}$ \end{document}   As expected, this doesn't compile in Latexian since it uses "pdflatex".  I tried to delete "pdflatex" file in /usr/texbin and create a symbolic link named "pdflatex" pointing to "lualatex" to trick Latexian, but it didn't work. I get the following error:   This is LuaTeX, Version beta-0.76.0-2013061817 (rev 4627)   \write18 enabled.  ---! pdflatex.fmt was written by pdftex (Fatal format file error; I'm stymied)    Even in terminal, trying to compile with "pdflatex" (now pointing to "lualatex") doesn't work. Same error as above.  Any ideas?
The Mac editor Latexian has built in methods for compiling using latex+dvips, pdflatex and xelatex.  Furthermore, it assumes bibtex and makeindex to deal with bibliographies and indexes, respectively.  How do I customize Latexian to use, e.g. LuaTeX for compiling or Biber for bibliographies?
How come  with  set to dragons didn't stop 's effect from being activated? I'm trying to split text in a JTextArea using a regex to split the String by \n However, this does not work and I also tried by \r\n|\r|n and many other combination of regexes. Code:  public void insertUpdate(DocumentEvent e) {     String split[], docStr = null;     Document textAreaDoc = (Document)e.getDocument();      try {         docStr = textAreaDoc.getText(textAreaDoc.getStartPosition().getOffset(), textAreaDoc.getEndPosition().getOffset());     } catch (BadLocationException e1) {         // TODO Auto-generated catch block         e1.printStackTrace();     }      split = docStr.split("\\n"); } Why do some Unicode text messages crash the iPhone OS? Recently a new "glitch" has surfaced over the Internet over the last few weeks where if an iPhone user is sent:    effective.        Power            لُلُصّبُلُلصّبُررً ॣ ॣh ॣ ॣ  冗   via iMessage it crashes the phone OS temporarily and force restarts the receiving phone.  Why does this work? Is there a secular, non vulgar alternative to "for heaven's sake"? I know for heaven's sake, for Pete's sake, for God's sake and for Christ's sake. All of those, however are religious references. The only non-religious equivalent phrases I know are for fuck's sake and its variations. Are there any non-vulgar, non-religious alternatives? I am very used to the general construct of for X's sake and am looking for something along the same lines that I could use in cases like  C'mon, it's just a scratch for X's sake! That's not even true for X's sake!  It does not need to also be applicable as a general exclamation of frustration (Oh, for chrissake!) but that would be nice. Basically, I'm looking for a synonym for the &quot;Oh come on!&quot; sense of for fuck's sake rather than the Oh shit! one.  EDIT: Since this has gotten quite a bit of attention, I would like to urge those who answer to read the entire question, not just the title. I am not just looking for polite swearwords but for something that can be used in the example phrases above. Fundamental question about dimensional analysis How does an accelerating charge radiate electromagnetic waves? How to solve apt "package cannot be configured because package is in a different version" errors? How to read a text file reversely with iterator in C# I need to process a large file, around 400K lines and 200 M. But sometimes I have to process from bottom up. How can I use iterator (yield return) here? Basically I don't like to load everything in memory. I know it is more efficient to use iterator in .NET. I found this interesting problem in :     Given a point $P$ in space, and given a piece of malleable material of constant density, how should you shape and place the material in order to create the largest possible gravitational field at $P$?   Any ideas? Proving $\frac{1}{n+1} + \frac{1}{n+2}+\cdots+\frac{1}{2n} &gt; \frac{13}{24}$ for $n&gt;1,n\in\Bbb N$  To solve it I used induction but it is leading me nowhere my attempt was as follows:  Lets assume the inequality is true for $n = k$ then we need to prove that it is true for $k+1$  so we need to prove $\frac1{k+2} + \frac1{k+3}+\cdots+\frac1{2(k+1)} &gt; 13/24$  I don't know where to go from here please help. I have detached a process from my terminal, like this:  $ process &amp;   That terminal is now long closed, but process is still running, and I want to send some commands to that process's stdin. Is that possible? How do I know if a laptop will work with Ubuntu? I want to buy a laptop at some point in the near future, but not knowing beforehand whether it works with Ubuntu makes the whole operation risky and tiresome. I would like to know if there is some kind of official hardware database where I can enter the name of the laptop I'm interested in and see if it's 100% compatible out of the box, or in case it isn't what is it exactly that doesn't work (ideally also if there is a way to fix it).  Does Canonical have a project along these lines? Disabled submit button on form vs allow submit then show errors? Can I use SPI for asynchronous serial output? I need a second serial async output channel on the MSP430G2553 and would like to use the SPI USCI to do this.  Is the USCI SPI baud rate stable enough to do this at 300 baud, 2400 baud or 9600 baud? I am currently using the 8 MHz clock.  Is there any other option that can save me from bit-banging?  My current thinking for 300 bd Tx is as follows:   set prescaler to 26666 LSB first load byte into Txbuf load 0x7F into Txbuf to generate stop and start bits repeat 2-3 send final stop bits 0xFF   It might also be possible to send ten bits of data on other members of the MSP430 family that contains a SPI.  Thanks for your responses. While I was reading the book Exploratory examples for real analysis, I came across this:     to show that : $$\lim_{x\rightarrow x_o}\frac{1}{h(x)} = \frac{1}{\lim_{x\rightarrow x_o}{h(x)}} = \frac{1}{M}$$      Discussion:Let $\epsilon \gt 0$.we want to find $\delta \gt 0$ such that       if  $0 \lt |x-x_0| \lt \delta $,then $\Big|\frac{1}{h(x)}-\frac{1}{M}\Big|\lt \epsilon$.      In order to get expression involving $|h(x)-M|$,we first find the common denominator:        $\Big|\frac{1}{h(x)}-\frac{1}{M}\Big|=\Big|\frac{M-h(x)}{M~h(x)}\Big|$      $~=\Big|\frac{h(x)-M}{|M|~|h(x)|}\Big|$.      As we have to deal with variable term $|h(x)|$ in denominator.We can construct bound .Let $\epsilon =\frac{|M|}{2}$ ,since lim$_{x\to x_o}h(x)=M$,there exists $\delta_1\gt 0~~$ s.t.       if $0 \lt |x-x_0| \lt \delta_1 $,then $|h(x)-{M}|\lt \frac{|M|}{2}$.      As you study steps below,identify that step where $h(x)\neq 0$ for all $0 \lt |x-x_0| \lt \delta_1 $ plays a critical role:      $|M|=|M-h(x)+h(x)|$      $~~~~~~\leq |M-h(x)|+|h(x)|$      $~~~~~~= |h(x)-M|+|h(x)|$      $~~~~~~\lt \frac{M}{2}+|h(x)| \implies$      $\frac{|M|}{2} \lt |h(x)| \implies$      $\frac{1}{h(x)}\lt \frac{2}{|M|}$,where $0 \lt |x-x_0| \lt \delta_1 $.      Now that we've bound for $1/h(x)$,we can apply the definition to term $|h(x)-M|$.      Since     lim$_{x\rightarrow x_o}h(x)=M$,we can find $\delta_2 \gt 0$ such that,       $~~~~~~~~~~~~~~~~~~~~~~~~~~~~$if  $0 \lt |x-x_0| \lt \delta_2$, then $|h(x)-M|\lt \frac{|M|^2 \epsilon }{2}$   The thing I can't understand is for what purpose did the author work with such complicated expression involving $\epsilon $ in the end of the discussion? Why does the CRT formula yield a solution of a congruence system? Very difficult integral (for me) Could someone point me to an online resource where I can look up  $$ \int_{-\infty}^\infty \int_{-\infty}^\infty \int_{-\infty}^\infty \frac{\cos(\vec k\cdot\vec x)}{\sqrt{|\vec k|^2+m^2}}\,dk_1\,dk_2\,dk_3$$  where $\vec k$ and $\vec x$ are 3-vectors, and $m$ is a constant.  Also, if you know how to do it step by step and want to show off your fancy integration, that would also be very helpful.  Thanks ;) How can we know that all of the results for entangled photons are not chosen when the pair is created? I don't know much about this,  But I've some of the questions on which some user has answered (not helpful answer) also but I want to delete those questions, but whenever I go to delete that question. It is prompting with     What does it mean? Can someone tell me what would be the action taken by Stack Exchange if I delete more questions? How can I search for a keyword with special characters in Google Search? I want to search for what += means, but Google won't return any documents.  Also when I come across some PHP code I don't understand I can't search for the keywords as written.  How can I search for these special characters or include these special characters in a search.