Everybody loves the \show tex primitive.  Sadly it so happens that whenever I \show something the execution/compilation which I call using pdftex -halt-on-error also stops, which was quite supprising to me having not perceived \show primitive to be an error. Can somebody please tell me to stop \show behaving like an error? Why was it behaving like an error in the first place?  the output after a show was used like this  \def\a{A} \show\a   is the following  &gt;\a=macro: -&gt;A. l.2 \show \a  !  ==&gt; Fatal error occurred, no output PDF file produced!   Besides my testing, also  tells about \shows behavioral problems it states     TeX will prompt the user for interaction in the event of an error   ('error' includes \show or similar) (The user may of course alter the   run mode within TeX using the related primitives.)   This seems to motivate this question further, as if I understand right there is a way to alter the run mode within TeX. I think that would be the way to stop \show being an error, but how?
I'm currently reading the TeXbook, and I use \show a lot to see how Knuth defined plain-TeX macros in terms of TeX primitives. For instance, to have access to the definition of \centerline, I would write \show\centerline in my input file. When I compile  that file with pdftex in interactive mode from the command line (a Unix terminal, in my case), TeX generates an error message that shows me the definition of \centerline in the terminal and offers me a menu of options (as described in Chapter 6: Running TeX in the TeXbook).  I understand that design choice by Knuth of having TeX generate an error message for each instance of \show: he probably wanted to leave the user some time to read what \show... prints in the terminal before letting TeX resume execution, instead of having to open the log file only after the end of the compilation.  However, instances of \show... in the input file have the undesirable side-effect of raising "errors" (false alarms, really) when pdftex is called from within an IDE such as TeXmaker with option -interaction=nonstopmode. For example,  \show\centerline \bye   when compiled with pdftex -interaction=nonstopmode causes TeXmaker to report     Obviously, those false alarms prove really annoying when debugging. I always have to ask myself: Wait... are those errors due to instances of \show in my input file, or are they bona fide errors? On the other hand, my understanding is that you have to specify  -interaction=nonstopmode   if you want to call pdftex from within an IDE. Therefore, my question is:  Is there any way of preventing TeXmaker from reporting those "false alarms"?  Note: the problem I describe may be present in IDEs other than TeXmaker as well.
Is there a package that supports the addition or subtraction of chemical equations, perhaps with automatic tabbing and a alignment.  Whilst it is obvious I could set up tables or use mathmode's align feature, it seems so much more efficient to have a package handle the tabbing automatically, since it is rather predictable in this application.  mhchem does not seem to have such a feature...      Another advantage is you could maintain the readability of your equations and you would not have the added clutter associated with tables, especially tabs &amp;, which diminish the readability of your .tex document.  And of course, the line should be automatically inserted before the last row. What "exactly" happens when someone turns to the Dark Side? When I saw the original Star Wars saga as a kid, the concept of the Dark Side imprinted in me was quite simple. You did a bad thing, so you're a bad person so you go to the Dark Side and keep doing bad things.  Now, obviously this doesn't hold true in reality. In my mind it is perfectly reasonable for Luke to kill the Emperor and Vader and then just flee the Death Star and rejoin the Alliance. After all they are at war, those are enemy officers that have captured him and are taunting him by threatening with death of all loved ones and the whole operation was intended to kill the Emperor anyway.   The same would hold true for Anakin. He could have killed Mace Windu to save the Chancellor and Padme but that doesn't mean he's going to then go mad and kill all Jedis including children. It doesn't add up from a merely psychological point of view. He had a set of objectives and that made him want to keep the Chancellor alive (quite valid by the way, Mace Windu is quite clumsy on that) but just after killing him he goes into "Yes master I'll do whatever you say" which from a normal point of view will NEVER ever make sense.  In both cases it seems like the assumption is once you use the Dark Side you completely turn to the Dark Side and become a different person that you were before. That would be coherent with Anakin "dying" and Vader being born.  Is that the way the Dark Side works? Is there any canon information about what happens when someone turns to the Dark Side? Specifically to whether they become a different person or how he or she actually changes?  Note: Vader is angry after he finds out Padme is dead, even though he's already turned.  Example of what I mean. In Buffy they explain how people that turn into Vampires lose their soul and it's taken over by a demon, and thus they are, in all effects, a different person with their memories. I have a NOPASSWD line in /etc/sudoers (edited with visudo)  gatoatigrado    ALL=(ALL) NOPASSWD: /bin/set-slow-cpufreq   However, the output is,  gatoatigrado@coral:~&gt; sudo -n /bin/set-slow-cpufreq sudo: sorry, a password is required to run sudo   This kind of command works on an OpenSuSE machine, but not on Ubuntu 11.10. What am I doing wrong?  Note: I cannot find any relevant system log messages, e.g. via tail -f /var/log/syslog.  edit  Here is /etc/sudoers.  Defaults    env_reset  # things I've tried copying from an opensuse machine Defaults always_set_home Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS XDG_SESSION_COOKIE"  root    ALL=(ALL:ALL) ALL gatoatigrado ALL=NOPASSWD: /bin/set-slow-cpufreq %admin ALL=(ALL) ALL %sudo   ALL=(ALL:ALL) ALL "Your Sites" in Android left sidebar shown in unpredictable order In the Android app, left sidebar, there is an editable list of "Your Sites". In the editing pane, the sites are re-orderable (although awkwardly), and the order one places the sites in there is preserved, even after quitting the app and returning to this pane. One expects that order to be reflected in the "Your Sites" portion of the left sidebar when the editing pane is closed, but it is not.  I'm not sure what is determining the order of the sites in the left sidebar, it doesn't seem to be by date they were "pinned" into the list one wants to show, either. Calculating $1+\frac13+\frac{1\cdot3}{3\cdot6}+\frac{1\cdot3\cdot5}{3\cdot6\cdot9}+\frac{1\cdot3\cdot5\cdot7}{3\cdot6\cdot9\cdot12}+\dots? $ How to find infinite sum How to find infinite sum $$1+\dfrac13+\dfrac{1\cdot3}{3\cdot6}+\dfrac{1\cdot3\cdot5}{3\cdot6\cdot9}+\dfrac{1\cdot3\cdot5\cdot7}{3\cdot6\cdot9\cdot12}+\dots? $$   I can see that 3 cancels out after 1/3, but what next? I can't go further. This inequality $a+b^2+c^3+d^4\ge \frac{1}{a}+\frac{1}{b^2}+\frac{1}{c^3}+\frac{1}{d^4}$ let $0&lt;a\le b\le c\le d$, and such $abcd=1$,show that   $$a+b^2+c^3+d^4\ge \dfrac{1}{a}+\dfrac{1}{b^2}+\dfrac{1}{c^3}+\dfrac{1}{d^4}$$   it seems harder than Date Not Saving in Mysql from Php Registration Form I have been texture painting in look dev mode. But when i try to render it, everything looks very dark. I have 3 sun lights in my scene, ambient turned on in Eevee settings. What am i missing? I really like the look of my scene in Look Dev mode, how can i achieve the same look when my scene is rendered too? Allow a user to download a file after submitting their email address What is the datatype of facebook userid How can I concatenate two arrays in Java? I need to concatenate two String arrays in Java.  void f(String[] first, String[] second) {     String[] both = ??? }   What is the easiest way to do this? Could the Olympians use modern celestial weapons? Instead of using short range celestial bronze (CB) weapons like swords and arrows why not make advanced weapons like machine guns or grenades with CB shrapnel in it? Did my workflow run on item changed or item creation? How did the ending happen from Neil's perspective? I am trying to figure out the scene near the finale of Tenet where Neil unlocks the door and gets shot in the face. I can't really see the flow where he opens and holds the door and the protagonist walks in and fights the bad guy. Can you tell the series of events as Neil sees them happen till he gets shot? UPDATE If I am not wrong, I see it like this: Neil was running down towards the door, both the protagonist and his mate are inside with the door locked fighting the bad guy, then, he unlocks the door and walks in and stands behind the door. The protagonist's mate comes out of the room, then the protagonist, then he closes the room, then he look back to get shot in the face. But this doesn't make sense, if he wanted to unlock the door when he was running down, they were already in fighting the bad guy!!!!! Can someone please explain how I can install  in the following ways?   By using the package manager? By downloading and installing a pre-built package? Short story about a man stranded on a red planet with a sentient hand as his friend I remember reading a short story 10 to 15 years ago about a man stranded alone on a red planet, where nothing would be green, and so he would miss that color. There was a sentient hand to keep him company, and it talked to him. I don't remember if the hand was a native life form or his own hallucination.  The story was not very old at that time, so it may have been written in the late 90s or 00s. Forcing a SimpleXML Object to a string, regardless of context Let's say I have some XML like this  &lt;channel&gt;   &lt;item&gt;     &lt;title&gt;This is title 1&lt;/title&gt;   &lt;/item&gt; &lt;/channel&gt;   The code below does what I want in that it outputs the title as a string  $xml = simplexml_load_string($xmlstring); echo $xml-&gt;channel-&gt;item-&gt;title;   Here's my problem.  The code below doesn't treat the title as a string in that context so I end up with a SimpleXML object in the array instead of a string.  $foo = array( $xml-&gt;channel-&gt;item-&gt;title );   I've been working around it like this  $foo = array( sprintf("%s",$xml-&gt;channel-&gt;item-&gt;title) );   but that seems ugly.  What's the best way to force a SimpleXML object to a string, regardless of context? What does "Suit yourself" mean? Why shouldn't I use "Hungarian Notation"? Does moving leave the object in a usable state?