This is the two problems I'm trying to solve: 1. A title, which I don't want here, appears in my TOC. How to remove it? 2. The command \cite{} does not work: any of my references appear in the dedicated section. I request your help. This is my MWE: \documentclass{beamer}     \usetheme{default}     \usepackage{soul}     \usepackage{framed,color}     %\definecolor{shadecolor}{rgb}{1.0, 0.8, 0.3}     \definecolor{shadecolor}{rgb}{0.74, 0.83, 0.9}     %\definecolor{shadecolor}{rgb}{0.95, 0.83, 0.86}     \useoutertheme[subsection=false]{smoothbars}     \usepackage[frenchb]{babel}     \usepackage[T1]{fontenc}     \usepackage[utf8]{inputenc}     \usepackage{helvet}     %%%%%%%%%%%%%%%%%paragraphes justifiés%%%%%     \usepackage{ragged2e}     \apptocmd{\frame}{}{\justifying}{} % Allow optional arguments after frame.     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     \setbeamertemplate{caption}[numbered]     \usepackage[labelsep=period]{caption}     %%%%%%%%%%%%%%%%%%%%%footline%%%%%%%%%%%%     \addtobeamertemplate{footnote}{}{\vspace{2ex}}     \setbeamertemplate{footline}[text line]{%       \parbox{\linewidth}{\vspace*{-8pt}Title\hfill\insertshortsubtitle\hfill\strut\insertframenumber/\inserttotalframenumber}}       %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     \setbeamertemplate{navigation symbols}{}     %%%%%%%%%%%%%%%%%NUMÉROTATION TOC%%%%%%%%     \setbeamertemplate{section in toc}{\hspace*{1em}\inserttocsectionnumber.~\inserttocsection\par}     \setbeamertemplate{subsection in toc}{\hspace*{2em}\inserttocsectionnumber.\inserttocsubsectionnumber.~\inserttocsubsection\par}     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     %\useinnertheme{circles}     \makeatletter     \patchcmd{\beamer@sectionintoc}{\vskip1.5em}{\vskip0.5em}{}{}     \makeatother     \usepackage{graphicx}     \usepackage{hyperref}     %\usepackage{apacite}     %%%%%%%%%%%%%%%%PLAN%%%%%%%%%%%%%%%%%%%%     \AtBeginSubsection[]     {     \begin{frame}&lt;beamer&gt;     \frametitle{Plan}     \tableofcontents[       currentsection,       sectionstyle=show/show,       subsectionstyle=show/shaded/hide     ]     \end{frame}     }     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     \title{\textbf{Title}}     \subtitle[]{Colloque}     \author{My name}          \date{}               \begin{filecontents}{\jobname.bib}         @Book{Anzieu1993,     author = {Anzieu, Didier and Haag, Geneviève and Tisseron, Serge and Lavallée, Guy and Boubli, Myriam and Lassègue, Jean},      title = {Les contenants de pensée},      volume = {},      pages = {},      editor = {},      publisher = {Dunod},      address = {Paris},      year = {1993},      abstract = {},      keywords = {contenance; pensée; penser},     }          @Book{Anzieu1994,     author = {Anzieu, Didier},      title = {Le Penser. Du Moi-peau au Moi-pensant},      volume = {},      pages = {},      editor = {},      publisher = {Dunod},      address = {Paris},      year = {1994},      abstract = {},      keywords = {},     }          \end{filecontents}     \usepackage[]{apacite}               \begin{document}     \maketitle          \begin{frame}{\normalsize{Déroulement}}     \tableofcontents         \end{frame}               \section{Introduction}     \begin{frame}         \cite{Anzieu1993}                      \cite{Anzieu1994}     \end{frame}               \section{Développement}     \begin{frame}              \end{frame}                    \section{Conclusion}     \begin{frame}              \end{frame}          \begin{frame}     \bibliographystyle{apacite}     %\renewcommand{\bibliographytypesize}{\tiny}     \bibliography{\jobname}     \end{frame}     \end{document}
I have the following code:  \documentclass[a4paper,12pt]{article} \usepackage[margin=2cm]{geometry} %showframe \begin{document} \tableofcontents \newpage \section*{Abstract} \section{Introduction} \newpage \bibliographystyle{apacite} \bibliography{references} \end{document}   And when I create the table of contents it adds the "References" in the TOC, how can I remove this to not be included in TOC? So far I have tried something like   \bibliography*{references}
I am on a MacBook Pro 13 running latest Sierra. I have an external Seagate solid state hard drive that was working and out of the blue stopped working. The only thing on it was my Adobe Lightroom images/videos. Not the LR DB files. I'm sure you have all heard this woe before, so I won't dwell on that. And yes, I back up to the cloud. AWS S3 specifically. Though I am traveling South East Asia for the last year, and staying in cheap hostels. So good internet is hard to come by sometimes. I can't back it up after every export. While most of it is backed up, there is some that is not.  Moving on. The symptoms seems to change every time I plug it in. The first sign was it ejected on it's own. I plugged it in again, and it wouldn't mount. Disk Utility recognized it, so did the command line diskutil list but it wouldn't mount. I rebooted and it worked for a second. Then I could only get to it from the command line. Then trying to frantically back up to my local what was not backed up to the cloud, it all failed. Basically just a cp -R [directory] [local-directory] command.  After some more frantic unplugging and re-plugging plus some command line manual mounts, I finally got it to where the Disk Utility would be able to run first aid on it. It failed. I don't recall the error. So I put it in a freezer. After a few hours I tried again. It is not any better. It still will not mount. Now Disk Utility sees it, but with no partition. I can't even give me information about how much space is used on it.  I have also tried it from a Windows machine. It did not mount. I have tried other cables. No success. As well as tried my other USB port. I also have another working external hard drive exactly like the one giving me issues. It works on all cables and USB ports.  I do have Docker running with a Ubuntu container, I'm trying to think of a way to see if I can try to get to the USB from there. I also have a USB that I have thought about running a live Ubuntu on there to see if I can mount and retrieve the data or fix the HDD that way. But if it will not mount, I doubt these will work.  Can anyone else think of any other tricks I can try myself to see if I can repair this or at least retrieve the data without paying for a service or software? If not, those suggestions are also welcome.  Update   I made the mistake in original post that it was a Solid State Drive. This is my mistake, it is actually a spinning disk hard drive. I bought them long ago and have been traveling with them for so long I just forgot. Question is updated to reflect this. Now diskutil list does not show it at all. The Disk Utility app also does not see it. Based on suggestion from @Allen I seeked out the USB to SATA cable. I did not quite find it, as my options are extremely limited where I am at. Though a local expat on a facebook group was able to help me with a empty 2.5 casing that I was able to extract the drive from original casing and put it in his blank case. It now mounts. Though it has the "click of death" sound to it. And data is not really reachable. While I can ls the directories and Adobe Lightroom does not have the exclamation mark when it can not reach the actual external files. Right clicking on the images and clicking on "Show in Finder" or any other variation of trying to get to the files through Finder or terminal, I have no success. It usually hangs and I get the spinning wheel. Since Adobe Lightroom imports these images into directories named by date, I am going to send the drive off to a data recovery service and ask to recover just unbacked up directories i.e. dates. Next time I will make harder efforts to backup and probably get an actual SSD.   I think this can be closed, due to my low reputation points I can not close this myself. My system freezes completely at random, frequent intervals. I started to have the same problem in Ubuntu 14.04 but after recent upgrade to 16.04 there is no improvement, in fact it seems worse.  When it happens, it's impossible to do anything. I've tried everything in this thread:  but nothing works, I have to hard reset. I have read all the system logs and journalctl but there is never any information that could help diagnose the problem.  This is a dual-boot system with Windows 10 and there's no problem there, so it's not defective hardware.  My laptop has an Intel Bay Trail processor (Pentium N3540) About number truncation of ticks display in ListPlot Why shouldn't I use "Hungarian Notation"? Programmatically create a user and assign a role I'm programmatically creating a user with the following code.  $newUser = array(   'name' =&gt; $mail,    'pass' =&gt; 'password',  // note: do not md5 the password   'mail' =&gt; $mail,    'status' =&gt; 1,    'init' =&gt; $mail,   'roles' =&gt; array(5) ); $user = user_save(null, $newUser);   I have got a role with the role ID equal to 5; when I create the user, in the table "users_roles" there is only a row with the value 0 for the role ID, but if I print the user object with var_dump(), it looks like the roles are created.  What am I doing wrong? Difference estimate & confidence intervals for $\chi^2$ test between 2 proportions I am using a chi-sq test between two proportions (). I am using this over the z-test for proportions because I do not think my data is normal.   My question is how do I get the difference (shift) estimate &amp; confidence intervals for this test.   For example,     Data1: 193/252=.77   Data2: 154/227=.68   P-value=.032 (I used the formula in the link above. I will also add my exact code below)  Shift Estimate: I assume its the difference between proportions, ie .77-.68=.09. Is this correct?   Confidence Interval: ??????????????????  Code for generating P-value (matlab):   % Pooled estimate of proportion  p0 = (n1+n2) / (N1+N2); % Expected counts under H0 (null hypothesis)  n10 = N1 * p0;  n20 = N2 * p0; % Chi-square test, by hand  observed = [n1 N1-n1 n2 N2-n2];  expected = [n10 N1-n10 n20 N2-n20];  chi2stat = sum((observed-expected).^2 ./ expected);  p = 1 - chi2cdf(chi2stat,1);  H=0; if(p&lt;.05), H=1; end Prove the function is continuous, exercise from Conway's "Functions of One Complex Variable I" SQL to find the number of distinct values in a column Looking for a book with parallel universes like pages, possibly with "maze" in title, and a black Jewish female character Looking for a book. A series,  actually.  The main characters were a Jewish man and a black woman who was his wife. There was a running gag when she would tell people her last name and they thought it was unusual that a black woman would have a Jewish name.    They went on adventures in parallel dimensions. I believe that each book had a word repeated in the title, maybe "mirror?" Or "maze?" Or "page..."  it seems they jumped into worlds through a tool like a mirror or a book.   The parallel universes were like pages, and the pages closest to you were most similar but the further you got the further they were from your life.  One page over might be that you had something different for breakfast and so now you have a tummy ache, a few more pages over you might have become a prostitute, too far and it was theorized that humans had evolved differently altogether, I didn't get that far in the series.  For adults, and humorous.  I read them about 15 years ago, so they are not new. I would love to find them again. The difference between two periodic functions converges to zero, is this two functions identical? If $f(x)$ and $g(x)$ are two periodic functions, that is, $f(x+T_1)=f(x)$ and $g(x+T_2)=g(x)$ for every $x \in \Bbb R$. Now that $\displaystyle\lim_{x\to\infty}(f(x)-g(x))=0$.  Conjecture: $f(x) \equiv g(x)$. Predicator vs. Predicate BACKGROUND According to Oxford Dictionaries Online:   means &quot;(In systemic grammar) a verb phrase considered as a constituent of clause structure, along with subject, object, and adjunct.&quot;  means &quot;The part of a sentence or clause containing a verb and stating something about the subject (e.g. went home in John went home).&quot;  In the latter example of John went home, it seems, the predicate is went home whereas the predicator is went, home being an adjunct and thus not part of the predicator as defined. Now, I looked further in  to better understand the difference. The article recognizes two competing notions of the predicate in theories of grammar:  (1) Predicates in traditional grammar (e.g., went home in John went home) (2) Predicates in modern theories of syntax and grammar (e.g., went in John went home)  Which, according to the article, causes confusion as to what exactly the term predicate mean, and some grammarians came up with a new term &quot;predicator&quot; specifically for use (2), says the article. No problem thus far. What bothers me: The article in its explanation of (2) says, &quot;Other function words -- e.g. auxiliary verbs, certain prepositions, phrasal particles, etc. -- are viewed as part of the predicate.&quot; (Emphasis mine.) Now, remember this definition of the predicate, i.e., (2) above, corresponds to the new term &quot;predicator&quot;. I understand that auxiliary verbs are part of this definition of predicate, because an auxiliary verb can be part of a verb cluster. But can certain prepositions and phrasal particles also? The article has these example sentences (Words belonging to &quot;predicate&quot; (2) are boldfaced as in the article itself; My comments in parentheses.):  The butter is in the drawer. (preposition in being part of the predicate) You should give it up. (particle up being part of the predicate) Susan is pulling your leg. (I don't know why leg is marked as part of the predicate. Maybe a typo?)  QUESTION Except for the last one, which I suspect is a typo, I'd like to know whether the preposition in and the particle up belong to the predicate as presented in (2) and thus belong to the new term &quot;predicator&quot;. How to cook a pork sirloin roast? I picked up a pork sirloin roast yesterday, it's a little over three pounds.  I've never cooked one of these before and I am not sure what to do.  My seasoning plan is salt, pepper, thyme, and rosemary, and I might poke a couple holes for cloves of garlic as well.  My cooking plan is 8+ hours in the crock pot on low, with about an inch of water in there.  Will this turn out OK?  I'd like a tender and moist result, obviously.  Any tips would be greatly appreciated. Command for forcing a pointer ungrab (captured mouse release) Sometimes Firefox doesn't release the mouse after dragging, so I need to kill the application to force it to release its pointer grab.  Is there any command to force an application to ungrab the pointer without killing it? sample make file for creating more than one exe files with different directory Let f : A → B and g : B → C be bijections. Prove that g◦f : A → C is a bijection  Can someone show me the steps I should take to solve this problem? How to open new tab in browser in selenium 3.0? I have tried multiple actions but it is not working.  It always close the first tab and then it open link in the same page.  // Driver is launched package WebBrowserCommands;  import org.openqa.selenium.By; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.interactions.Actions;  public class OpenBrowser   {     public static void main(String[] args) throws Exception {         System.setProperty("webdriver.chrome.driver","/Users/ss108/Desktop/Util/SELENIUM SUPPORT/chromedriver");          WebDriver driver = new ChromeDriver();          driver.manage().window().maximize();         // Driver is launched          //We have two ways         boolean Indriectway = true;         //Boolean to understand both method          if(!Indriectway){             //Using String to take value.             String URL = "https://www.google.com";             driver.get(URL);              String PageSourceFirst = driver.getPageSource();             //We have took title in PageSourceFirst             System.out.println(PageSourceFirst);              //Get Title Command             String TitleFrist = driver.getTitle();             //We have took title in TitleFirst             System.out.println("Tile of WebSite is " + TitleFrist);              //Get Current URL             String CurrentURLFirst = driver.getCurrentUrl();             System.out.println("Current URL is " + CurrentURLFirst);              Actions act=new Actions(driver);             act.contextClick(driver.findElement(By.linkText("Gmail"))).perform();             Thread.sleep(10000);             act.contextClick(driver.findElement(By.linkText("Gmail"))).sendKeys(Keys.ARROW_DOWN).sendKeys(Keys.RETURN).build().perform();                    // Try to open page using right click and action arrow down **but it is not working**              driver.close();          }else {             //Using directly             driver.get("https://www.facebook.com");             String PageSourceSecond = driver.getPageSource();             System.out.println(PageSourceSecond);              //Get Title Command             System.out.println("Tile of WebSite is " + driver.getTitle());             //Get Current URL             System.out.println("Current URL is " + driver.getCurrentUrl());             driver.quit();          }     } }   Second method  1- Same result getting   System.setProperty("webdriver.chrome.driver","/Users/ss108/Desktop/Util/SELENIUM SUPPORT/chromedriver");     WebDriver driver = new ChromeDriver();     driver.get("https://www.facebook.com")     Robot robot = new Robot();     robot.keyPress(KeyEvent.VK_META);     robot.keyPress(KeyEvent.VK_T);     robot.keyRelease(KeyEvent.VK_T);     robot.keyRelease(KeyEvent.VK_META);       driver.get("https://www.google.com")   Third method  String selectLinkOpeninNewTab = Keys.chord(Keys.CONTROL,Keys.RETURN);  driver.findElement(By.linkText("urlLink")).sendKeys(selectLinkOpeninNewTab);   however none of them work for what I am trying. I downloaded Linux CAPT driver V2.60 from Canon and installed both .deb packages, which were listed under the 64bit folder with Ubuntu Software-Center. My Canon printer still won't be recognized. Is there anything else I have to do? My printer is connected over USB.  Ubuntu would make a great replacment for my office, but unfortunately without printer support I will still rely on Windows. Find an equation in spherical coordinates for the surface represented by the rectangular equation The rectangular equation is $$x^2+y^2-8z^2=0$$ $$x^2+y^2=8z^2$$ Know in the relationship between rectangular and spherical coords. we can manipulate our given to fit the form: $$x^2+y^2+z^2=9z^2$$ $$\rho=x^2+y^2+z^2, \space z=\rho\cos(\phi)$$ $$\rho^2=9\rho^2\cos^2(\phi)$$ $$1=9\cos(\phi)$$ $$\frac{1}{3}=\cos(\phi)$$ $$\arccos(\frac{1}{3})=1.23 \space rads$$ And so the equation in spherical coords. is $\phi=1.23$ I know my math is correct but I have the wrong answer so I'm not sure where I went wrong. I was querying data from  using a LINQ query in LINQPAD and found that the data I got back is quite obsolete. I searched for Shekhar-Pro (me) by using a where clause on ID 399722 and the data returned was for 8 Jan 2011. Why was the data so old? Isn't the data updated in real time, or at least frequently? If not, where can I get realtime data? Would you be weightless at the center of the Earth? If you could travel to the center of the Earth (or any planet), would you be weightless there?