Why only the year is as a link in \cite reference I have a problem in citing references with \cite, I have only the year as a link. I want to display the author and year as a single link. I don't know where the problem is?!     \documentclass{article}    \usepackage{filecontents}%    %\usepackage[style=authoryear,natbib]{biblatex}    \usepackage[style=apa,backref=true,backend=biber,natbib=true,hyperref=true]    {biblatex}    \usepackage[american]{babel}   \DeclareLanguageMapping{american}{american-apa}    \begin{filecontents*}{apabibli1.bib}   @article{Sampson1989,   author = {Sampson, R J and Groves, W B},   year = {1989},   title = {Community structure and crime: testing social-disorganization theory},   volume = {94},   number = {4},   journal = {Am J Soc},   pages = {774}   }  @book{Rijsbergen1979,  author = {Rijsbergen, C V},  year = {1979},  title = {Information retrieval},  address = {London},  publisher = {Butter Worths}  } \end{filecontents*} \addbibresource{apabibli1.bib}   \renewcommand*{\labelnamepunct}{\addspace}   \usepackage{xpatch}   \xpatchbibmacro{author}  {%  \newunit\newblock   }   {%   \setunit{\addspace}\newblock    }{}{}    \xpatchbibmacro{name:apa:last-first}    {%    \addcomma\addlowpenspace\mkbibnamefirst{#3}\isdot    }  {%  \addlowpenspace\mkbibnamefirst{#3}\isdot  }{}{}  \renewbibmacro*{journal+issuetitle}{%  \usebibmacro{journal}%  \setunit*{\addspace\thinspace}%  \iffieldundef{series}  {}  {\newunit  \printfield{series}   \setunit{\addspace}}%    \printfield{volume}%   \printfield{number}%   \setunit{\addspace}\newblock    \usebibmacro{issuename}%    \newunit}    \AtBeginBibliography{\renewcommand*{\finalnamedelim}{%    \ifthenelse{\value{listcount}&gt;\maxprtauth}    {}    {\ifthenelse{\value{liststop}&gt;2}    {\addcomma\space}%    {\addcomma\space}}}}    \renewcommand\bibinitperiod{}    \renewcommand\bibinitdelim{}     \renewcommand\bibpagespunct{\addcolon\space}     \DeclareFieldFormat{journaltitle}{#1}      \DeclareFieldFormat[article]{volume}{\apanum{#1}}     \DeclareFieldFormat{title}{\iffieldequalstr{titleisdescription}{true}      {\mkbibbrackets{#1}}{#1\isdot}}     \renewcommand*{\finentrypunct}{\relax}   \setlength{\bibhang}{1.2em}   \usepackage[colorlinks]{hyperref}   \usepackage{hyperref}   \hypersetup{    colorlinks   = true,    citecolor    = blue,    linkcolor = blue,    urlcolor=blue    }    \begin{document}    \citealt{Sampson1989, Rijsbergen1979}\\    \citet{Sampson1989, Rijsbergen1979}\\    \citep{Sampson1989, Rijsbergen1979}\\    \citeauthor{Sampson1989}    \nocite{*}    \printbibliography    \end{document}
hyperlink name with biblatex authoryear (biblatex 1.4b) I'm new here so I'm not sure if this is the right way to express my question:  I'm using the excellent biblatex package with the author-year style and want the links in my citations to include the name of the author as well as the parentheses. The answer presented at  did exactly what I wanted but it seems the solution is broken with the newest biblatex version 1.4b. Can anyone help me by adapting the code to the newest biblatex version?
Installing PHP 5.6 on Xenial (16.04) I need to use php5 (5.6) because I'm working on a Drupal 7 project which doesn't support php7. The problem is I recently updated to ubuntu 16.04 Xenial which seems to .   I tried to install it from , however when It try to install it with apt I always get similar errors.  $ sudo apt-get install php5-cli Cependant les paquets suivants le remplacent :   php7.0-cli:i386 php7.0-cli`   Which means it's obsolete. How can I install PHP 5.6 on Xenial? Thats my . I loaded this to PostgreSQL DB using PostGIS shape file loader. I ran pgr_anlayzeGraph() on it and found it had a lot of isolated segments.  Next I ran pgr_nodeNetwork() to create a new table 'ways_ways'. I made the topology  for it and ran the following query in Qgis sql window.   SELECT * FROM ways_ways JOIN (SELECT seq, id1 AS node, id2 AS edge, cost FROM  pgr_astar('SELECT id, source, target, cost, x1, y1, x2, y2 FROM ways_ways',  1, 108, false, false) )AS route ON ways_ways.id = route.node;   Given below are the screenshots: Original floorplan and the prescribed route  query ouput   Clearly , I don't have a continuous output. I ran pgr_analyseGraph on ways_ways to find that it has no more isolated segments . It has 51 deadends, which is acceptable.   Did I miss any step in pgrouting? Is there anyway to see which node has id 1 and id 108 in qgis?  i ran the same query in another map(which i downloaded) and got output for all possible source and target ids. So how can i create a way(a route) that is completely noded? When is a review task "completed" or "invalidated"? I've noticed that the number of reviews required to remove a post from a queue varies. For example, to accept/reject a suggested edit, you need two votes of the same kind. If the votes are conflicting, the number goes higher. This seems to be the case for the other queues as well. (Additionally, I think that a mod-review is binding) So, my question is: what are the criteria for a review to be marked as a &quot;completed&quot; review? Also, when is a review considered invalidated (i.e. &quot;no longer reviewable&quot;)? Formerly When is a post removed from a review queue?. Is there a closed form solution for the following series? (Without Using Gamma Function): $$ S=\sum _{i=1}^{n-1} \frac{1}{(i+1)!} $$ If $a \cdot a = 1$ then $a = 1$ or $a = -1$ Java rounding to nearest 0.05 Prove that every idempotent element is not nilpotent element. Let $R$ be a ring. Prove that every idempotent element is not nilpotent element.  I've got a problem with proving this question. I was be grateful, if somebody would be help me. What are the different endings in Dishonored? Add/Show comments focuses text box by default If I open a post using the mobile theme, which has many comments, there is a link at the footer "add/show n more comments". If this link is clicked, the comments are loaded and displayed.   At the moment the text area is automatically focused which is not a great experience (in my opinion), as you have to close the editor and scroll back to the top if you just wanted to read the comments, without adding a new one.  Would it be possible to either   not focus the text area by default and to load only the comments add a new link for adding a comment What are the convergent sequences in the cofinite topology I consider the co-finite topology on $\mathbb{R}$ that is $$\{G\subset \mathbb{R}, card(\mathbb{R}\setminus G)&lt;+\infty\}\cup \{\emptyset\}$$  What are the convergent sequences in this space .  thank you In a  of Amstat News, the authors (Mark van der Laan and Sherri Rose) stated that "We know that for large enough sample sizes, every study—including ones in which the null hypothesis of no effect is true — will declare a statistically significant effect.".  Well, I for one didn't know that. Is this true? Does it mean that hypothesis testing is worthless for large data sets? Generalizing a sequence. Consider a sequence of the form:  $x[n]=-1,-1...,1,1,...,-1,-1...,1,1... \quad n&gt;0$  One can think of this as a square wave ($\pm1$) with a 50 % duty cycle (coming from EE).  For the simplest case of such a series i.e. $-1,+1,-1,+1,-1...$, a general equation is quite trivial ($x[n]=-1^n$).  Can we have e general equation for the other cases i.e. when there are multiple $-1$'s followed by $+1$'s ? $4x^2+1$ factors only into $4y+1$ primes Subset of a countable set is itself countable How is it proved that if $$A \subset B\ \text{with}\ B\ \text{countable} $$ then $A$ is either countable, finite, or empty? I think the proof involves a $1-1$ correspondence between $\mathbb{N}$ and $A$ but other than that I do not know how to proceed.  EDIT: I have checked the solution and it advises me to proceed as follows. " As a start to a definition of $$g: \mathbb{N} \rightarrow A$$ set $$g(1)=f(n_1) $$ Then show how to inductively continue this process to produce a $1-1$ function $g$ from $\mathbb{N}$ onto $A$."  So the proof according to my book involves induction. What is Ubuntu's status on the Meltdown and Spectre vulnerabilities? How do I diagnose not being able to reach a specific website as an end user? Creating a textarea with auto-resize There was , which I've tried. But there is one problem: the textarea doesn't shrink if you delete the content. I can't find any way to shrink it to the correct size - the clientHeight value comes back as the full size of the textarea, not its contents.  The code from that page is below:  function FitToContent(id, maxHeight) {    var text = id &amp;&amp; id.style ? id : document.getElementById(id);    if ( !text )       return;     var adjustedHeight = text.clientHeight;    if ( !maxHeight || maxHeight &gt; adjustedHeight )    {       adjustedHeight = Math.max(text.scrollHeight, adjustedHeight);       if ( maxHeight )          adjustedHeight = Math.min(maxHeight, adjustedHeight);       if ( adjustedHeight &gt; text.clientHeight )          text.style.height = adjustedHeight + "px";    } }  window.onload = function() {     document.getElementById("ta").onkeyup = function() {       FitToContent( this, 500 )     }; } Analytics search keywords are unreliable Number Theory: which primes are a sum of two squares? Problem: show that if the prime $p = a^2 + 5b^2$ then $p \equiv 1 \textrm{ or } 9 \pmod{20}$.  Is there any other way to prove this other than to check each case $p = 1, \ldots, 19 \pmod{20}$ and show that only 1 and 9 work? Can't format / delete locked partition from GParted?