Using the instructions from  I upgraded from texlive 2014 to texlive 2016 on my second laptop. I did this because I am using some more recent packages and I don't think they will work with texlive 2014.    Now I do not seem to have the ability to add anything to my tex tree, which in my case is located at:  /usr/local/texlive/2016/texmf-dist*  So after adding to my tex tree, I did sudo texhash  kpsewhich picks up the 2016 packages fine, but I do not seem to be able to add anything.  I also tried adding a directory ~/texmf putting the files in there and then doing texhash ~/texmf and still no joy.  sudo texhash produced:  texhash: Updating /usr/local/share/texmf/ls-R...  texhash: Updating /var/lib/texmf/ls-R-TEXLIVEDIST...  texhash: Updating /var/lib/texmf/ls-R-TEXMFMAIN...  texhash: Updating /var/lib/texmf/ls-R...    Does anybody know what can be done to fix the situation?  I would be mightily obliged to any kind person who might help me figure out a solution.  Thanks.   Adding:  alias sudo='sudo env PATH=$PATH'   and then running  mktexlsr as suggested in  had no effect (I logged out and logged in again)
So, I'm running linux Mint (but I guess the same applies to Ubuntu) and as is common knowledge, their TeX distribution tends to be slightly outdated. Now I can't have none of that and decide to install it with the install-tl from the TeXlive homepage. Somehow, I cannot install it as a normal user (this I find normal as it is installing in the root directory), so I proceed to install TeXlive   sudo perl ./install-tl   and add the paths to .bashrc. All is well and my TeXlive installation works. Except for the texhash option. Running it as a normal user is no problem, except that I installed TeXlive as root, and so running texhash as normal user doesn't do anything (directory not writable. Skipping...). No problem I think, I'll just do it as root. But somehow texhash isn't installed for root.  Now, texhash is somehow connected to updating the directory tree, but I don't really know what it does. I use it on my ~/texmf/ folder to add my packages to a global path (I think), but when looking at info for this question I see in a comment for  question that this is apparently not needed, though I don't understand what I'm to do now.  So if I'm not adding new packages from CTAN or updating, I really don't need texhash and all is good?   To summarize: I'd like to know:    Why should I need texhash? Can I avoid installing as root on linux Mint/ubuntu ( they say you don't have to be root, that it's even discouraged)? Should I somehow install texhash for root?   I realize this might be a vague question at best, but I didn't find an answer I readily understood, so I'd appreciate any thought on this.
Line numbering paragraph oriented? I'm using the lineno package with the pagewise option but I need a way to get the numbering restart every paragraph break. I need a general solution to pass to the latex command, e.g.:  latex "\AtBeginDocument{\RequirePackage[pagewise]{lineno}\linenumbers}\input{mydocument.tex}"   I read the lineno manual but the package does not provide this feature. Is there any trick to do that? Does the limit $\lim _{x\to 0} \frac 1x \int_0^x \left|\cos \frac 1t \right| dt$ exists ? If it does then what is the value ?   I don't think even L'Hospital's rule can be applied . Please help . Thanks in advance Why normal acceleration doesn't bring a change in speed? Suppose There's a particle of mass m moving with speed $v_{0}$, at certain moment a force starts acting on it (centripetal force) and it start uniform circular motion  Now every other reference states that centripetal force only brings about change only in direction  But plugging-in things in the equations paint a different picture  suppose  normal/centripetal acceleration = $A$  then $|v| = \sqrt{v_{0}^2+\frac{(A t)^2}{1}}$  we can certainly see that factor of $t$ will bring change in magnitude of velocity   Secondly, why the velocity is always tangential to the circle, but how can we mathematically show such? Intuitively for me if there's constant acceleration toward a certain then at some point of time, the body should 'slack' and fall toward the direction of acceleration   Here' a picture for a reference: Immutability of Strings in Java I'm trying to prove that the characteristic of any field $F$ is either $0$ or a prime number, but I have no idea what to do.  Help? How do you concatenate characters in java? Concatenating strings would only require a + between the strings, but concatenating chars using + will change the value of the char into ascii and hence giving a numerical output. I want to do System.out.println(char1+char2+char3... and create a String word like this.  I could do   System.out.print(char1); System.out.print(char2); System.out.print(char3);   But, this will only get me the characters in 1 line. I need it as a string. Any help would be appreciated.  Thanks Please give me the proof for the following: Let $a_1,\,a_2,\,\dots\,a_n$ be $n$ positive real numbers whose product is equal to $1$. Prove that $$a_1+\cdots+a_n \geq n$$ and that the equality sign holds only if every $a_k$ is  equal to $1$. Unity doesn't load, no Launcher, no Dash appears Sometimes I see a comma after the proper name:     Hello Mr. Black,      In order to give you....   But my native language is not English and I think that the comma in this phrase should be placed before the proper name:      Hello, Mr. Black.      In order to give you....   What is the correct punctuation in English? How to place a .png texture with transparency over a material I am trying to create a low poly face with a face from a .png file. The issue is I already have material placed for hair and skin, as shown in the picture below.   I have created a .png file with a face which I would like to overlay over the skin material on the front of the head.    All examples I searched so far assume I also want the color of the material from the .png texture.  Update:  I added UVMapping, changed view to texture, made sure one face is on the eye but nothing is displayed..... see image... I don't know what is going on. How to use induction to prove the product rule for higher derivatives? How do I show through mathematical induction that   \begin{equation} \frac{d^n}{dx^n}[f(x)\cdot g(x)] = \sum_{k = 0}^{n} \binom{n}{k} \frac{d^k}{dx^k} [f(x)] \cdot \frac{d^{n-k}}{dx^{n-k}} [g(x)] \end{equation}  which is the product rule for higher derivatives? Different voltage sources in parallel I realize connecting two different voltage sources in parallel is a contradiction (in an ideal circuit). But if I were to connect this in practice and measure the voltage across points A and B, what value of voltage would it show? And how much current would be sunk by the 5V battery? (Non ideal conditions) .toArray(new MyClass[0]) or .toArray(new MyClass[myList.size()])? Assuming I have an ArrayList  ArrayList&lt;MyClass&gt; myList;   And I want to call toArray, is there a performance reason to use  MyClass[] arr = myList.toArray(new MyClass[myList.size()]);   over  MyClass[] arr = myList.toArray(new MyClass[0]);   ?  I prefer the second style, since it's less verbose, and I assumed that the compiler will make sure the empty array doesn't really get created, but I've been wondering if that's true.  Of course, in 99% of the cases it doesn't make a difference one way or the other, but I'd like to keep a consistent style between my normal code and my optimized inner loops... Why is my StackOverflow with an indent and doesn't have reputation Well everything is in the title. Why is StackOverflow showing up with a indent and why don't I see my rep next to it like on the other websites. <50 reputation users can't delete comments that were posted on their behalf Some preface: I have an alternate account that I'm using to gain rep in order to help test/build bots for the  community on stackoverflow. Bot accounts are essentially users, and they need 20 rep to talk in chat, and 50 in order to add comments.  On this account (with 23 rep), I flagged a question as a duplicate of the wrong post by accident:        When I retracted the duplicate flag, I noticed that the comment was not removed. When I attempted to remove it, there was no [x] icon to the right of the post, and I had no recourse other than to leave the comment up (Which was 100% a wrong duplicate for that post). Additionally, I couldn't even flag it for mod attention, because it was my comment! How can I get free or trial ExactTarget instance Currently, Stack Exchange’s Markdown parser only allows four-space indents to represent code blocks:      // some code     // another line of code    and other Markdown implementations allow for an alternative syntax, that doesn’t require indenting each code line:  ``` // some code // another line of code ```   This is much more convenient to type out. It would be super useful if Stack Exchange could support this syntax.    By extension, this syntax also allow you to specify the source language right after the opening ```:  ```js // some code // another line of code ```   …which would then enable syntax highlighting for that specific language. Although it’s interesting metadata, I don’t think this feature is needed on Stack Overflow, as the syntax highlighting library works pretty well for various languages.  So, even if you would allow this syntax but ignore the ```language, this would greatly improve my productivity on Stack Exchange.  What do you think?  The moderators are currently collecting feedback regarding this feature, so please post a comment with your thoughts. Good idea? Bad idea? Don’t really care? What do you think are the benefits/drawbacks? Experiences? Let them know! Thanks! Is there a regular expression to detect a valid regular expression? How to troubleshoot booting to a black screen on VirtualBox I was using 13.04 as a guest OS on my VirtualBox 14.2.18. Host is Windows 8. After upgrade to 13.10 Ubuntu does not start. I can see a black screen and blinking cursor. I am pretty new to Ubuntu. I suspect a problem with graphics drivers. I can access tty and all files (/home) are there. Looking for title of a fantasy fiction with huge war, invader on airship with warlock, island fortress with sorcerer, mnemonic storyteller and dragon This was a thick book that I read over fifteen years ago that I never finished reading because someone borrowed it and didn't return it to the school library. I want to find its title.  The story takes place in a kingdom that is preparing for the a cycle of war, where every time the winds changes (50 or 100 years), invaders will try to cross the sea from another continent using airships with air balloons, filled with soldiers and warlocks. The kingdom has made several man-made island fortress along their coastline, filled with soldiers with war machines, sorcerers, and enchanters who act as the main guard/defence for the kingdom, calling lightning and fireballs, and using machines to stop and destroy and bring down as many of the invader airships as possible while countering the warlocks on board.  The book involved a man and a girl whose journey brought them apart in preparing for the imminent war.   The women found herself adept in magic and went to the academy in the capital to learn to be a sorceress.   The man found a different calling. With a good memory, he was sent to learn to become a mnemonic storyteller (to train with battle staff and fighting skill and mnēmonikos skill) who carried the history, literature of the entire culture in their heads. They used their knowledge to convey the kingdom's literature, poetry, history and stories to the people from generation to generation.  Both eventually "graduate". Sadly, and with great emotion, both have to part ways. She was sent to a fortress island and began her role as a sorcerer who will stand guard there. He, as a storyteller, began his own journey without her, going from town to town, village and soldier barrack, across the kingdom, telling stories of great men and their deeds, and courageous heroes who fought the war, to uplift the spirit of the people and bring valor to the soldiers stationed at the border and people in the coming war.   In brief, he meets a dragon (who used to be involved in the war in ages past), long thought to be extinct. He finds himself able to communicate with it and has a "born" friendship with it. The dragon teaches him to become a "dragon rider", a long-lost ability of his people (due to the "extinction" of dragons.)   The wind changes with the dread of war hanging on the kingdom.  Airships start to blacken the sky again with soldiers and war machines battling each other.