Quirrell rolled off him, his face blistering, too, and then Harry   knew: Quirrell couldn’t touch his bare skin, not without suffering   terrible pain — his only chance was to keep hold of Quirrell, keep him   in enough pain to stop him from doing a curse.  Harry jumped to   his feet, caught Quirrell by the arm, and hung on as tight as he   could. Quirrell screamed and tried to throw Harry off — the pain in   Harry’s head was building — he couldn’t see — he could only hear   Quirrell’s terrible shrieks and Voldemort’s yells of, “KILL HIM!   KILL HIM!” and other voices, maybe in Harry’s own head, crying,   “Harry! Harry!” (Harry Potter and the Sorcerer's Stone)    While reading the phrase I fumbled a second for looking for where the complement ‘of’ is. It seems that “KILL HIM! KILL HIM!” is the complement of ‘of’. Then why is there a comma between the two?
When quoting something said by someone else, should I use a comma before the quote? Suppose I quote the definition given in a dictionary. Am I correctly using the the punctuation marks in the following sentences? (I am using them in the way I think correct in American English.)     One of the meanings of cat is, "a small animal with soft fur that people often keep as a pet."        A cadet is, "a young person who is training to become an officer in the police or armed forces."   Should I use a comma only when I explicitly quote somebody?     Groucho Marx once said, "Although it is generally known, I think it's about time to announce that I was born at a very early age."   Should I use a comma in this case too?     As Groucho Marx said,            No one is completely unhappy at the failure of his best friend.      On Comma Sense, A fun-damental guide to punctuation (Richard Lederer and John Shore), I read the following about using the comma:     Use commas to set off complete quotations:           The great general George S. Patton once said, "No, no—the war is this way, you idiots!"
Is there a good casual online place to practice/learn bridge? I know that Pogo.com (which powers Yahoo Games) has a long running online bridge game and that there are a handful of places for serious tournament/MasterPoint level bridge players online (though most seem based on software written a decade or more ago) but are there any places to play, practice and learn bridge in a more casual manner? Ideally via a well designed modern piece of software? Restate theorem in separate file I state a theorem in the main body of a document and prove it in the appendix. I use thmtools's restatable environment to restate the theorem there. However, I now need to have my appendix in a separate pdf file (hence a separate tex document). I'm using xr and xcite to get the cross-references and bibliographical references to play nicely.  But the commands created by restatable are not carried. Is there any way to to the restating of the theorem in the appendix in a separate document?  Here's a MWE:  main document: main.tex  \documentclass{article} \usepackage{thmtools} \newtheorem{theorem}{Theorem}  \begin{document}  \begin{restatable}{theorem}{thmcmd}\label{thmlabel} Here is the statement of the theorem. \end{restatable}  The above is Theorem~\ref{thmlabel}.  In this way I can restate it: \thmcmd*  \end{document}   appendix: appendix.tex  \documentclass{article} \usepackage{xr} \externaldocument{main} \usepackage{thmtools} \newtheorem{theorem}{Theorem}  \begin{document}  I can refer to Theorem~\ref{thmlabel}.  But I cannot restate it like this: % \thmcmd*  \end{document} How to create csv files in controller method from list I want to create csv files from lists and send an email attaching them, how to do that in a controller method? RGB and CMYK: Why both? Any of you who have at least little experience with graphic design software, photography or professional printing, must have -almost undoubtedly- have gone through this: 'the struggle' of RGB and CMYK colour spaces.  Now, there are many questions regarding matters of 'which should I choose', 'what is what' and converting problems, but that's not really what I'm after here.  As a graphic designer with only a couple of years of experience, I still have this struggle from time, and find the whole CMYK/RGB choosing/converting/saving situation quite confusing, to say the least. I do know that RGB is meant for digital end purposes, and CMYK is suitable for printing.  I have always been wondering about the neccesity of this whole thing. So, my question is: why are there these two colour profiles, instead of just having one?   Wouldn't it be a lot easier if printers or software could convert any RGB file to a CMYK printing document instead? I'm pretty sure it does already exist, by the way, because printing an RGB file sometimes simply prints the right colours for me. Alas, not always (doesn't seem to be related to the printer of software I print from).    I have gone trough some RGB vs. CMYK-related questions and found this, a.o., (), an answer of user DKuntz2 (thanks DKuntz2):     RGB is a light-based theory. All colors begin with black "darkness",   to which different color "lights" are added to produce visible colors.   RGB "maxes" at white, which is the equivalent of having all "lights"   on at full brightness (red, green, blue).      CMYK is a color-based theory. All colors start with white "paper", to   which different color "inks" are added to produce output colors. CMYK   "maxes" at black, at which point all "inks" are applied at 100% (cyan,   magenta, yellow, black).   Not sure if this is entirely right, though, because some people disagreed with DKuntz2:     I disagree. With RGB you start with black - the absence of light; with   CMYK you start with white paper.   – e100  Although this does clarify the differences fairly well, I still don't see the point of the two colour profiles(/spaces)    Side question: What happens when you work in an RGB document in photoshop, then press ctrl+y? Photoshop says the document is RGB/8/CMYK, but it can't be both. Right?  EDIT:  Big thanks for the answers, the (current) three below are very informative and interesting. I understand the whole thing a bit better, although it's all very complicated and in-depth to me. Especially when I read about terms like colour models, colour profiles, colour spaces, colour spectra and gamut all one after another.  As much as I would like to accept an answer as the desired one, I feel that my question in the core isn't fully answered yet. What I would really like to emphasize is what I asked about earlier: Wouldn't it be a lot easier if printers or software could convert any RGB file to a CMYK printing document instead?. As Alan Gilbertson explained, the reason is - if I understand correctly - basically a 'lost-in-translation' thing that makes the conversion not 100% accurate, and the colours to possibly be a bit distorted.  However, I still don't see how the solution cannot be an automated conversion done by a printer. Should be possible with modern technology; if you can convert RGB to CMYK in Photoshop, why can't a printer do the exact same for you? As was also said in the answers, the slightest differences in colours and colour spaces, can not be seen by the human eye. And that's what it all comes down to: what we want to see. Be it on a screen or on a sheet of paper.  The fact that this question has three very long answers, or even moreso the fact that there are so many questions about these two colour models (I now know the right term, yay) kind of proves that this is way more complicated than it should be. Where does console output go Obtain screen status using ADB Valid characters in a Java class name I'd like to run a game of , but I'm not sure how many dice I roll when the characters face various challenges. I'm under the impression that it's supposed to be the same number of dice the character uses, but that seems to make impossible tasks far too easy to perform. Is there a general rule saying how many dice the GM rolls against a character's attempt at a given task?  Should the GM's dice equal the character's dice, or should the GM's dice vary depending on the task's difficulty? What's the simplest way to do a find and replace for a given input string, say abc, and replace with another string, say XYZ in file /tmp/file.txt?  I am writting an app and using IronPython to execute commands through SSH &mdash; but I don't know Unix that well and don't know what to look for.  I have heard that Bash, apart from being a command line interface, can be a very powerful scripting language. So, if this is true, I assume you can perform actions like these.  Can I do it with bash, and what's the simplest (one line) script to achieve my goal? java.lang.OutOfMemoryError: PermGen space Exception I noticed that after joining a table to a shapefile the headers of each fields in the table used for the join are changed by QGIS and they are attributed to a different name.  For instance, I had a shapefile with vegetation_codes and a table with vegetation_codes and veg_definition (these were the headers). After joining the table to the shapefile and also saving the shapefile and creating a new one, the vegetation_classes header was changed into vegetati_1.  Is there a way to keep the original headers?  I am using QGIS Dufour on Windows 7 and the table that I join to the shapefile is CSV (tried with dbf as well and the problem is the same). Ring homomorphism and characteristic If votes were cast on a post while it was community wiki, and a moderator removes wiki from that post, the votes should count towards reputation again. However, while this is visible in a reputation audit, , and the reputation score needs to be recalculated to reflect the change.  Can someone fix this? Or operand with int in if statement Avoid large spaces between text and equations I use the options  \renewcommand{\baselinestretch}{1.25} \setlength{\parskip}{0pt} \setlength{\parindent}{0pt}    in the preamble of my document and most of the time the document looks like intended. Once in a while though, especially when I use multiline-equations, I get huge spaces right before and after the equation and the surrounding text, for example:    Is there any way I can avoid that without removing the \parskip option? In my textbook, a relationship is plotted between the resistance of the material and the temperature, and the temperature coefficient is defined as the slope of that graph divided by an arbitrary resistance $R_1$ on the graph. Does that mean that the coefficient varies depending on the temperature I choose to divide the slope by?  If so, how does it stand as a valid reference to the material’s resistance growth rate with temperature?  If not, then where did I go wrong with this train of thought? I just installed ubuntu 11.10 from a usb stick.   After installation, none of the software which I had collected and run on 11.10 or 11.04 runs on it. Even my newly downloaded opera or chrome installations does not work.  I do not have a internet connection.  Whenever i try to install any .deb file by double clicking it,software center opens up but the install button is grayed out. Application-priority based automatic bandwidth distribution in Windows? Whenever my browser wants to download data, I want it to be granted as much of the bandwidth as it wants, while other applications must do with the leftover bandwidth; and when the browser is not transferring any data, other applications could be given the bandwidth. Something like the process priority in Windows task manager. Any method/software to accomplish this automatically? Stop iCloud automatic download to harddrive How do I stop iCloud from downloading files to my hard drive? I opened up a folder and it immediately started downloading all contents The package babel with the ngerman option (and most other languages as well, but not english) provides the shorthand "|, which prevents a ligature at the given position (see p. 81 of the , e.g. Auf"|lage will result in the word Auflage without an fl-ligature (as is desired because, in German, you don't want ligatures across morpheme borders).  However, when placed in a macro, "| doesn't work anymore. Why is this and how can I circumvent it?  \documentclass{article}  %\usepackage[T1]{fontenc}% doesn't help \usepackage[ngerman]{babel}  \newcommand{\foo}{"|}  \begin{document}  ff  f"|f  f\foo f  \end{document}