I get the error ! pdfTeX error (ext4): \pdfendlink ended up in different nesting level than \pd when trying to compile. I'm on texlive/texmaker on Linux. It was compiling fine before I added another source in bibtex, now it craps out. I've tried deleting the sources I entered, didn't work. I tried deleting all files apart from the .tex and .bib files I use to compile - still same error.
I ran into the "mysterious"  \pdfendlink ended up in different nesting level than \pdfstartlink   error.  According to , "this happens when hyperref is used under pdftex and a citation splits across a page boundary".  The given solution is to manual fix the citation to not split across the page boundary.  However, this workaround isn't feasible for me, as the documents are automatically generated on a server with no user interaction.  Is there any solution to the problem known, perhaps an experimental hyperref action or a patch to pdftex?  (Probably, one could use luatex to solve the problem, but for other reasons, luatex is not an option in this project.)  MWE:  \documentclass[%draft               ]{article} \usepackage{hyperref} \setlength{\textwidth}{3cm} \setlength{\textheight}{3cm}  \begin{document} Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna \href{http://www.tug.org/errors}{aliquyam erat, sed diam voluptua.} \end{document}
Let $|A|=\alpha, |B|=\beta, |C|= \gamma$ be cardinals and $\beta \leq \gamma$. Prove $\alpha ^{\beta}\le \alpha ^{\gamma}$.  So from the given we know that there's an injection $f:B\to C$ and some functions $h:B\to A, g: C\to A$. We want to prove there's an injection $l_1:A\to C$. It appears that $f$ doesn't help here.  Trying to take representatives from $A$ and show they're in $C$ and there's an injection doesn't work so maybe the function should be $l_2: h \to g$ but I don't know how to work with it. Extract all string from a java project How do I start Nautilus as root? I've got a problem with Nautilus in Ubuntu 12.04 LTS.  When I run the command gksu nautilus /, the password ask box appears and I type my super-user password, then the password box disappears and Nautilus is not opened.  When I try to open Nautilus as a normal user in with the command nautilus, the folder is opened.  When I try in terminal   $ sudo nautilus   I got the following error  $ sudo nautilus /  ** (nautilus:8523): WARNING **: Command line `dbus-launch --autolaunch=2c8ce9b7da2257c2609b749700000007 --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n Could not parse arguments: Cannot open display:   How can I fix this error? bash if -a vs -e option Both about -a and -e options in  is said:  -a file     True if file exists. -e file     True if file exists.    Trying to get what the difference is I ran the following script:  resin_dir=/Test/Resin_wheleph/Results  if [ -e ${resin_dir} ] ; then     echo "-e "; fi  if [ ! -e ${resin_dir} ] ; then     echo "! -e"; fi  if [ -a ${resin_dir} ] ; then     echo "-a"; fi  if [ ! -a ${resin_dir} ] ; then     echo "! -a"; fi   /Test/Resin_wheleph/Results exists and is a directory. And this is what I get:  -e -a ! -a   which seems to be a little strange (notice -a and  ! -a). But when I use double brackets (e. g. if [[ -e ${resin_dir} ]]) in the similar script it gives reasonable output:  -e -a   So:    What is a difference between -a and -e options? Why -a produces a strange result when used inside single brackets? Inconsistent line spacing If I type something like this:  {\itshape\LARGE   Dunt venim dolorerosto do odit   ametum vulla conum dolore   conulput in vero od el   Dunt venim dolorerosto do odit   ametum vulla conum dolore   conulput in vero od el }   it results in a block of 4 lines with narrow spacing between the 1st and 2nd line and between the 3rd and 4th line. Line spacing between the 2nd and 3rd line is normal.  I can't fully explaing it to myself so I am looking for a short description for this behaviour. I know for example that with a \par at the end of the text (inside the group), the calculation would correct. But I have no idea why... I have 4 servers with Debian Wheezy OS. I have Apticron installed that informs me about updates. Debian updates are realized so often that when I finish to update the last of 4 servers I get new email about new updates on the first server. I try to update all servers when I get a notification but I never know if there is a need to reboot the servers. I have read that if the directory "/var/run" contains file "reboot-required" I have to reboot the server. But I never have seen this file in "/var/run". How can I know when reboot is required? I don't want reboot my servers every time when I install new updates if it's not needed.  I understand that if I update PHP or MySQL, etc I don't need to reboot the server but updates usually contain many "lib...".  Below are 9 updates (I have received this week).  krb5-locales 1.10.1+dfsg-5+deb7u3 libdbus-1-3 1.6.8-1+deb7u6 libgssapi-krb5-2 1.10.1+dfsg-5+deb7u3 libk5crypto3 1.10.1+dfsg-5+deb7u3 libkrb5-3 1.10.1+dfsg-5+deb7u3 libkrb5support0 1.10.1+dfsg-5+deb7u3 libruby1.8 1.8.7.358-7.1+deb7u2 libxml2 2.8.0+dfsg1-7+wheezy3 ruby1.8 1.8.7.358-7.1+deb7u2   I have no idea what is "libkrb,libgssapi", etc. How can I detect if reboot is needed? Please do not suggest to install UnattendedUpgrades to let the servers update automatically because this can cause websites going offline if something updates not correct. Extra slash added to the chat room URLs in the side bar NSInvalidUnarchiveOperationException: Could not instantiate class named NSLayoutConstraint Some proof question about Fibonacci sequence Why does my Task Manager window outline keep disappearing? Possible Duplicate:          I'm not sure what the proper term for the window outline is (chrome, I think?), but it keeps disappearing.    As you can see, theres no File->Exit or buttons that allow me to minimize or close this dialog. So instead it stays on top of everything else (unless I 'Switch To' another window). There is also no Processes tab or anything.  Since you cant right click the toolbar or bring up another instance of Task Manager, the only way to actually kill this dialog seems to be restarting. However the next time I bring up Task Manager, it will still refuse to go away.  Anyone know whats going on? I'm running 32-bit Vista SP1. Question 1: Let $x,y \in S$ such that $x\sim y$ if $x^2 =y^2\pmod6 $. Show that $\sim$ is an equivalence relation.    This is what I tried: Reflexive: $x^2\pmod6 = x^2$  implying $x\sim x$ Symmetry: suppose $x\sim y$, then  $x^2 =y^2\pmod6$ Operating by inverse of $x^2$ both sides we have $e=(x^2)^{-1} y^2\pmod6$ Then I have $y^2=x^2\pmod6$, hence $y\sim x$ I would like to get some corrections up to here because am not sure with this     Question 2. Find the orbits of the given permutation:    $$v:\mathbb{Z}\to\mathbb{Z}\quad\text{ defined by }\quad v(n)=n+3$$   Here is my solution which I would also want somebody to correct me! Let the relation $\sim$ be defined on $\mathbb{Z}$ by $a\sim b$ if $b=a+3$ I consider that the orbits of $v$ are the classes of $\mathbb{Z}$ with respect to $\sim$ given by  $\{b\mid b=a+3\}$. Thus I get only three orbits which are $\{1,4,7,10,…,3n-2\mid n\in \mathbb{Z}\}$, $\{2,5,8,…,3n-1\mid n\in \mathbb{Z}\}$, and $\{3,6,9,…,3n \mid n\in \mathbb{Z}\}$. Do we have more history for cd? How can I avoid "please insert CD/DVD" error when updating Ubuntu? I can't update 12.04 LTS. The Update Manager shows this:  CD/DVD 'Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)' is required Please insert the above CD/DVD into the drive '/media/cdrom/' to install software packages from it.   The image I downloaded and burned to CD is from  the PC (Intel x86) desktop CD version. I burned many CDs but the result is the same. Is it ok to leave a slow cooker unattended? What does  signify when using Vim LatexSuite? I have a LaTeX editing environment that does some assistive stuff such as auto-indenting, closing parentheses, etc.  However, one of the things that it does is unknown to me, and is difficult to search for. If I type an empty set of braces, it replaces them with  {}&lt;++&gt;   If I type two empty sets, for example when I'm setting up a fraction \frac{}{} what I actually get is  \frac\left\{ } \right\}&lt;++&gt;}&lt;++&gt;   Is this a problem? What does &lt;++&gt; do?  Edit: This is using Rigify generated rig, hand IK controller has unexpected rotation Flair: 500 Internal Server Error - http://stackexchange.com/error?aspxerrorpath=/users/flair/378431.png Formula for the $n$th term of $1, 2, 2, 3, 3, 3, 4, 4 ,4, 4, 5, ...$ There exists a formula for the $n$th term of this sequence  from the OEIS ("$n$ appears $n$ times") $$1, 2, 2, 3, 3, 3, 4, 4 ,4, 4, 5...$$ which is $$\left \lfloor \frac {1+\sqrt{1+8n}}{2} \right \rfloor.$$  Is there a better formula for the $n$th term? A formula that isn't a 'magic' one that just happens to work but one that comes from a well-founded observation. Preferably one not using the floor function. I also have suspicions about the sustainability of the above formula as I feel with very $n$ it may not function properly. Is GNU's Java Compiler (GCJ) dead? SSL_read failing with SSL_ERROR_SYSCALL error