I'm using the appendix package and the following lines in LaTeX:  \begin{appendix} \section{Supplementary Figures and Tables} \section{Selected Derivations and Proofs}  \end{appendix}   This yields to the following entry in the tables of content:   Supplementary Figures and Tables   XI Selected Derivations and Proofs    XII   However, it would be nice to have something of the following form in the tables of content:  Appendix   Supplementary Figures and Tables   XI Selected Derivations and Proofs    XII   So basically, I would like to have the title Appendix to show up in the tables of content but without a page number.
I am failing to add a heading for the appendix to the ToC with the correct page number:  \documentclass{scrbook} \begin{document} \tableofcontents \chapter{test} \appendix \addcontentsline{toc}{part}{\appendixname} \chapter{First Appendix} \end{document}     I also tried to use the \addappheadtotoc command from the  package, but that changes nothing (expect that it writes 'Appendices' instead).  I assume that the appendix package provides the solution, but I could not figure out how to use it.
Getting "'file' is different from the same file on the system" when I attempt to update through synaptic Encountered an error while updating through Synaptic Manager. Subsequent updates gave the error at the bottom of the output. I'm a noob so any help is appreciated.  al@al:~$ sudo apt-get -f upgrade Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... Done The following NEW packages will be installed:   libjack-jackd2-0:i386 The following packages have been kept back:   linux-headers-generic skype 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded. Need to get 0 B/202 kB of archives. After this operation, 493 kB of additional disk space will be used. Do you want to continue [Y/n]? y (Reading database ... 310056 files and directories currently installed.) Unpacking libjack-jackd2-0:i386 (from .../libjack-jackd2-0_1.9.8~dfsg.2-1precise1_i386.deb) ... dpkg: error processing /var/cache/apt/archives/libjack-jackd2-0_1.9.8~dfsg.2-1precise1_i386.deb (--unpack):  './usr/share/doc/libjack-jackd2-0/buildinfo.gz' is different from the same file on the system dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing:  /var/cache/apt/archives/libjack-jackd2-0_1.9.8~dfsg.2-1precise1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) What's the section of the soundtrack used in the second episode of R2 at 8:00, after Kallen defeats a Knightmare and Lelouch gives new orders, called? Projecting a point onto a convex set decreases its distance from each point of that set For a convex set $K$, $x\in \mathbb{R}^d$ and $y=\Pi_K(x) $ (the projection of $x$ onto $K$), we want to show that for any $z\in K$ it holds that: $\|x-z\| \ge \|y-z\|$.  $$ $$  I'm not sure if the following proof is valid:  $$ y=\Pi_K(x) = \arg \min_{y\in K} ||y-x||  \Rightarrow \forall z\in K \langle y-x,y-z\rangle =0 $$ $$ ||y-x||^2_2+||y-z||^2_2=||x-z||^2_2  \quad (Pythagoras)$$  $$ \Rightarrow ||y-z||^2_2 \le ||x-z||^2_2 $$ $$ \Rightarrow||y-z|| \le ||x-z|| $$ How can I prevent false score reports to global highscore tables? Browser and mobile games commonly have global highscore tables. It's also common for those tables to contain scores of 2,147,483,647 &mdash; where people have figured out the webservice call that reports scores and used it to record a fictitious score.  For simple puzzle games, we can defend against this by including a record of every move the player made (and any random seeds used to generate the level) with the score-reporting call. The entire game can then be reproduced and verified on the server.  However, this quickly becomes infeasible for anything larger than Pac-man.  How else can cheating of this kind be prevented? Will factory resetting my device remove the Android upgrade? I have upgraded my phone to Android 2.1. I need to reset my phone but I don't want to lose the upgrade. Is it possible to do this? How? Adding materials to more than one object Is it possible to add a texture or material to more than one object at a time? Why (in relatively non-technical terms) are Calabi-Yau manifolds favored for compactified dimensions in string theory? Are "beginner questions" allowed on Stack Overflow? I noticed that  (about basic  syntax) received a lot of downvotes as soon as I posted it. Is there any specific policy against the posting of questions with "obvious" answers on Stack Overflow?  I'm unclear as to why questions with "obvious" answers aren't usually well-received by the community - are beginner questions considered harmful for some reason? ("Obvious" is a relative term, of course - this type of question would be helpful to anyone who was learning C# for the first time, but it wouldn't be helpful to an experienced C# developer.) What is the word that describes the absence of bureaucracy? What is the word which describes the absence of formless, of long procedure with bureaucrats? I was thinking about formsless but it sounds weird... For every generation of Excel I can remember (including 2010, which I'm using now), Excel's "Auto Size Row" features sometimes fails to actually auto size a row when the cell contains wrapped text. When it works properly, all the text is revealed and there is no additional space below the last line of text. When it fails, it adds extra space below the text. To make matters worse, what you see is not always what you get, i.e., text that appeared okay on screen gets cut off when it's printed. You also get different sizing depending on whether you are zoomed in/out or at actual size.  Simple test case:  Why is there a one-line gap after the text in cell A1 but not in A2?  (To reproduce: set width of column A to 17.14 (125 pixels), text wrap on, and cell alignment top.)  (I double-checked that I applied Auto Fit Row Height to both rows. Zoom level is 100%.)    Is there any known remedy for this without resorting to manually adjusting the row heights (which is not practical for more than a handful of rows)? Fast way to come up with solutions to $x(x-1)(x-2)(x-3)=1$? I can solve this equation $x(x-1)(x-2)(x-3)=1$ using the usual method but I am looking for a fast analytical method to solve this. Any hints ? This is a question that has been addressed several times, not only here, but also in other sites of the stack exchange network (e.g. ). However, I cannot make any of the solutions work for me.  I'm running a command through ssh. Whenever I exit ssh, I want the command to die as well. This command is a daemon called ktserver that runs indefinitely until you press Ctrl-C.  I run it as follows: ssh -t compute-0-1 ktserver and, indeed, when I press Ctrl-C, the process ends gracefully and the ssh session ends.  However, if instead of pressing Ctrl-C, I kill the ssh process using the kill command (for example, sending SIGINT or SIGHUP), the ktserver process stays alive.  How can I make the ktserver always die independent on how ssh is killed?  EDIT: If, instead of ktserver I run something completely different, such as gedit, everything works like a charm (i.e. gedit dies when the connection dies). Therefore, there might be something wrong with the process itself. For example, I thought that it might be ignoring SIGHUP or SIGINT. However, when I run kill -1 ktserver or kill -2 ktserver, the process dies as expected.  EDIT2: As Mark Plotnick points out, the issue is related to the fact that there is no communication circulating on the ssh channel. I've confirmed by running ssh -t &lt;host&gt; read and killing the ssh process afterwards. readwas still alive and kicking. Is there such a thing as a Ubuntu Certified Engineer? What does 'Ign' , `Get` or 'Hit' mean when running an apt-get update? I had a bunch of errors in the output of sudo apt-get update:  duplicate entries and 404 not found errors.  Figured those out, I hope: I removed PPAs that didn't have any packages associated with them, then I removed out a duplicate entry in /etc/apt/sources.list.  It seems I have royally buggered it up.  Now most of the lines say Ign when I do sudo apt-get update.  How do I go about straightening out what I have screwed up?  I need to get rid of these Igns that are all over the place.  There are about 50% (eyeball guess) Igns! How to understand intuitively the Stolz-Cesaro Theorem for sequences? How can I accept the Microsoft EULA agreement for ttf-mscorefonts-installer? I have a normal door, and left to its own devices it will simply rest about 20-30 degrees. It won't swing shut on its own, nor stay open on its own. It hangs a bit in the middle. Convenient enough to catch you elbow when you're not looking.  I'd like the door to stay put wherever we leave it.  I've heard idea such as slipping cardboard in to the hinge to rebalance the door, etc. but no guidelines as to the thickness of that cardboard, or which hinge to change to move it in which direction.  I would hope you can appreciate how I'd rather not make this a task of trial and error and continually removing the hinge and putting it back on, etc.  I've also heard something about lightly bending one of the hinge pins, but not sure how I should go about that, or "how much" to bend it.  So, I'm looking for some tips on how to fix this (and other) door. Suppose you cut a five year old's hair, save it for 10 years, and then use it for a Polyjuice transformation. What age do you turn into: The toddler or the teenager? I have brand new machine.  I want to install Ubuntu and one more Linux distributions on same machine. When the machine is up I want to have the option to choose which Linux to load.   Is it possible?  How to do it? My father in law is travelling to France, for 4 days, (01/07-04/07). Is there a minimum duration for which the travel insurance needed to apply for a Schengen visa must be valid? In other words, can his travel insurance cover just the duration of the trip, or should it last longer?