I have a figure name "L=10_W=8.00.eps", I put it in the \figure environment by  \includegraphics{L=10_W=8.00.eps}   compile it with xelatex, but get error:     File ended prematurely  After I renamed it to "L=10_W=8.eps", the error goes away.
\includegraphics cannot handle filenames that contain more than the one dot, separating the filename from the extension. Apparently it uses everything after the first dot as extension and then, of course, complains about an unknown graphics extension.  This is annoying as I very often have filenames that contain parameter values, e.g. plot_a0.4_b0.6.pdf.  Is there a way to teach LaTeX to interpret only the string behind the last dot as extension?
Undergraduate research field different from PhD field Do there exist an infinite number of integer-solutions $(x,y,z)$ of $x^x\cdot y^y=z^z$ where $1\lt x\le y$? Question : Do there exist an infinite number of integer-solutions $(x,y,z)$ of $x^x\cdot y^y=z^z$ where $1\lt x\le y$ ?  Motivation : After struggling to find a solution, I've just got one solution, which is  $$(x,y,z)=(1679616, 2985984, 4478976).$$  In the following, I'm going to write how I got this solution.  Letting $d$ be the greatest common divisor of $x,y,z$, we can represent $$x=ad, y=bd, z=cd$$ where $a,b,c$ are coprimes with each other. Then, we get $$d^{a+b-c}\cdot a^a\cdot b^b=c^c.$$  In the following, let's consider without the condition $x\le y$. Here, I suppose  $$a=2^m, b=3^n, a+b-c=1.$$  (As a result, this supposition works.)  Then, we get $$d=\frac{c^c}{2^{ma}\cdot 3^{nb}}.$$  Hence, letting $c=2^k\cdot 3^l$, if  $$kc\ge ma=m\cdot 2^m, lc\ge nb=n\cdot 3^n,$$ then $d$ is an integer.  Since $(m,n)=(4,2)$ satisfies the above conditions, then we get $d=2^8\cdot 3^6=186624.$ Hence we can get  $$x=9d=2^8\cdot 3^8=1679616, y=16d=2^{12}\cdot 3^6=2985984, z=24d=2^{11}\cdot 3^7=4478976.$$ Note that here I interchanged $x$ and $y$.  P.S : I was surprised to get this solution because I got this almost by chance. So, I don't know the other solutions. If you have any helpful information, please teach me. Find hypotenuse given acute angle bisectors In a right triangle $ABC$ (right-angled at $B$), $D$ and $E$ are points of $\overline{AB}$ and $\overline{BC}$ respectively such that $\overline{CD}$ and $\overline{AE}$ are the angle bisectors of the acute angles of the triangle. Given that $AE=9$ and $CD=8\sqrt{2}$, find the length of the hypotenuse $\overline{AC}$. What happened to this user's rep, badges, and name? This user is only displaying 56 rep.   But surely (s)he has much more than that.        The user has also never given out any bounties.  Also, badges are missing: I've been told that I should use simple past in reported speech when the direct speech is in simple present such as I **am** the best   ~>   He said he **was** the best  but what happens for imperative mood direct speech     "Mom said dont trust strangers"   Or     "Mom said didn't trust strangers"   I think I should maintain the first form. But I'm not sure. And I'm not even sure this relates to the sentence mood. I need the best choice and a further explaination for this :) INI file parsing in PowerShell Getting MTP enabled devices to work with Ubuntu? Since Ubuntu 13.04 storage access to external devices via MTP is supposed to work out of the box via a GVFS-MTP module.      While this question is about the Galaxy Nexus, other Android devices as well as Windows Phones and MTP enabled media players are also supported.      For troubleshooting see .     I am having quite a bit of problems getting file-transfers working over MTP with the Galaxy Nexus. I am using Kubuntu 11.10 64-bit, and this is what I have done and the results I get:   Added rule for device in /etc/udev/rules.d/51-android.rules. The rule is the following and works for adb:  SUBSYSTEMS=="usb", ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="6860", MODE="0666", OWNER="leob" #Galaxy Nexus  Restarted udev (and computer just to make sure).   Adb works, and all methods for reading from the device via MTP seems to work (I have tried mounting with mtpfs, gmtp and using the mtp-tools package directly). When I try to write to the device however, nothing I have tried works.  As an example, running mtp-newfolder test_dir 0 0 gives the following output:  libmtp version: 1.1.0 Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1. Folder creation failed. ERROR: Could not close session!   If I run mtp-folders after a failed mtp-newfolder without re-plugging the device, I get the following output:  Attempting to connect device(s) Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1. PTP_ERROR_IO: failed to open session, trying again after resetting USB interface LIBMTP libusb: Attempt to reset device mtp-folders: Successfully connected Friendly name: (NULL) Error 1: Get Storage information failed. Error 2: PTP Layer error 02fe: get_all_metadata_fast(): could not get proplist of all    objects. Error 2: (Look this up in ptp.h for an explanation.) Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles. Error 2: (Look this up in ptp.h for an explanation.) LIBMTP_Get_Storage() : Resource temporarily unavailable OK.   Accompanied by the following in dmesg:  [ 1000.912082] usb 2-4: reset high speed USB device number 7 using ehci_hcd [ 1001.045877] usb 2-4: usbfs: process 3166 (mtp-folders) did not claim interface 0 before use   Does anyone have any idea about what to do?  EDIT:  I also tried the PTP mode. Again, reading works fine, but I cannot write anything to the device. If HTML, CSS, and Javascript are client-side, why are they components of a PHP file? What is CUPS server and how to share a printer (Locally or over a network) The title tells you all, except that it's about sharing printers.   How do I connect to a shared printer on the network through CUPS or terminal? Who decides which half of the universe should be destroyed? Although my question is based on the comic mini-series Infinity Gauntlet issues #1 through 6, I'm open to any and all answers (i.e Movies, other comic books etc. etc.) across the Marvel multi-verse.   It was elegantly presented in the Infinity Gauntlet series how Thanos, after collecting all the soul gems snaps his fingers and destroys half the universe.  Additionally, in the recent movie Avengers: Infinity War,       Thanos does it again! He snaps his fingers and destroys half the universe.   However, one thing is unclear to me. In both cases,      Half the universe is destroyed (or obliterated, or erased from existence).   But who decides which half of the universe should not exist anymore? Does the wielder of the Gauntlet choose, or is the Gauntlet (along with the stones) sentient enough to make the decision? Shell's process group ID = foreground job's process group ID? I decisively conclude that Shell's process group ID = foreground job process group ID from the 2 sources below. When a background job is selected to run in the foreground, is it the shell's process group ID that changes to the foreground job's process group ID or the reverse?  1.     To facilitate the implementation of the user interface to job control, the operating system maintains the notion of a current terminal process group ID. Members of this process group (processes whose process group ID is equal to the current terminal process group ID) receive keyboard-generated signals such as SIGINT. These processes are said to be in the foreground. Background processes are those whose process group ID differs from the terminal’s; such processes are immune to keyboard-generated signals.    2.        Addition:  $sleep 3000 &amp; $sleep 2000 &amp; $ps xao pid,ppid,pgid,sid,tty,comm | grep tty  PID     PPID    PGID    SID     TTY     COMMAND 1153    1135    1153    1153    tty1    bash 1173    1153    1173    1153    tty1    sleep 1189    1153    1189    1153    tty1    sleep 1219    1153    1219    1153    tty1    ps 1220    1153    1219    1153    tty1    grep Is there an alternative to DVD-Shrink, that can compress a DVD image to a smaller size to fit on a writeable DVD? Is there a linux alternative to the Windows application DVD-Shrink, that can compress a DVD image to a smaller size to fit on a writeable DVD?  In backing up some DVD's the ripped ISO file size is over 7000MB is there an alternative linux software, similar to Windows "DVD Shrink" that can compress this to fit on a writeable DVD which is about 4000MB What is a feminine version of 'guys'? I commonly use the word 'guys' to refer to a group of males colloquially. It's colloquial but not rude, off putting, condescending, patronizing (though I wouldn't use it with a group of men at a board meeting (hypothetically of course), unless I knew them). So, some that I would not consider as replacements would be    buddies: too old-fashioned dudes: too informal boys: too patronizing men, gentlemen: too formal or false respect   I realized that I had also been using it for any group of people, males and females, even just females. It worked for me and I didn't think of the gender implications, that women might not care for it. No one ever complained, directly or indirectly (rule of life: sometimes people don't complain about things they should).   But it occurred to me (maybe by reading something that sparked realization) that the intended hearers might not all care for it.  What might be a female gendered or non-gendered version of 'guys'?  Some that I've considered don't feel right about (though these may be reasonable answers) are:   dolls: too old-fashioned babes: too informal  ladies: too formal or I've heard from women, too creepy women: too factual girls: too patronizing (as much as 'boys') everyone, you all: too bland y'all: perfectly non-sexist but too regional (might work, but not everywhere)   Hopefully I haven't eliminated all the possibilities -- any suggestions? How to understand a volatility based ETF like VXX The ETF VXX is based on the volatility index VIX. If volatility goes up, VIX goes up and VXX goes up. Similar thing for the downside. Now when I buy an ETF like SPY, I can conceptually understand that I am buying a small portion of each of the underlying companies. So if an underlying company stock makes a move, the ETF SPY makes a move in  the same direction.  But when I buy VXX, what exactly is the underlying? It is VIX. I am unable to grasp the concept of 'volatility' as the underlying. I can visualise only stocks and commodities as the underlying because in my understanding, the unerlying needs to be something physical (let us say stocks are physical commodities for this example).  Can someone explain the concept of 'volatility' as the underlying?  Is the word 'underlying' even appropriate in this case or is the word 'underlying' only to be used for derivative products? How do I recover the Facebook account password? I have forgotten my Facebook account password and also I have no access to the number which I use to log-in to Facebook account.   On this page (see the image below) they are asking for a government photo-ID to verify my account. The problem is that I don't have a driving license, voter ID card, passport etc. All I have is a school ID card but that hasn't worked for me. Is there any other way to recover my password? Is a totally ordered set well-ordered, provided that its countable subsets are? Let $(X,⪯$) be totally ordered set, prove that if every non empty countable subset of $X$ is well ordered then X is well ordered.   It does seem obvious that any subset should have a minimum but I am not sure of how to prove it. Any help would be appreciated, and sorry I put up the same problem earlier but forgot to include the 'countable' subset. How can I assign a Func conditionally between lambdas using the conditional ternary operator? Generally, when using the conditional operator, here's the syntax:  int x = 6; int y = x == 6 ? 5 : 9;   Nothing fancy, pretty straight forward.  Now, let's try to use this when assigning a Lambda to a Func type. Let me explain:  Func&lt;Order, bool&gt; predicate = id == null     ? p =&gt; p.EmployeeID == null     : p =&gt; p.EmployeeID == id;   That's the same syntax, and should work? Right? For some reason that doesn't. The compiler gives this nice cryptic message:     Error  1   Type of conditional expression cannot be determined because there is no implicit conversion between 'lambda expression' and 'lambda expression'   I then went ahead and changed the syntax and this way it did work:  Func&lt;Order, bool&gt; predicate = id == null     ? predicate = p =&gt; p.EmployeeID == null     : predicate = p =&gt; p.EmployeeID == id;   I'm just curious as to why it doesn't work the first way?  (Side note: I ended up not needing this code, as I found out that when comparing an int value against null, you just use object.Equals) Sum of nilpotent and element is a unit in ring? I can't tell where I went wrong, am still a beginner.    Let N be a nilpotent in a commutive ring , let X be any element.   I'll will be showing X + N is a unit .   Assume Y(X+N) =1   Then YX(N^n-1) =  N^n-1   Multiplying both side by  X+N   We get X(N^n-1) =  X(N^n-1)  Thus nilpotent summed with any element gives unit. Order of an element in a finite cyclic group Let $G$ be a cyclic group of order $m$ generated by an element $a$.  I want to show that the order of $a^k$ is $m/d$, where $d:=\gcd(k,m)$.  I have a simple proof, but want to make sure I haven't overlooked anything since the other proofs I've seen (such as in Dummit and Foote) look more complicated.    The order of $a^k$ is the cardinality of the set $\{a^{ks}: s \in \mathbb{Z}\}$, which equals the cardinality of the set $\{a^{ks} a^{mt}: s,t \in \mathbb{Z} \}$ since $a^m$ is the identity.  But the set $\{ks+mt: s,t \in \mathbb{Z} \}$ is the set $d \mathbb{Z}$ by the basic properties of integers. So we have that the cardinality of the set is $| \langle a^k \rangle| = |\{1, a^d, a^{2d}, \ldots, a^{m-d} \}| = m/d$. how many conditional sentence types are possible? I wonder how many conditional sentence types are possible. Basically, there are four main and two mixed types. By mixing tenses, it could be up to nine of them. Are the rest viable?  I came across the following examples in Full Spate Pre-Profficiency Primer:   After you have just sold alcohol to a young guy. If he is if under eighteen, you should not have sold him the alcohol. If he promised to bring the drinks, he will. If you will take a seat, the doctor will see you shortly. (Likely, the former will demonstrates politeness only.) I would be grateful if you would tell me a little about your friends. (The same politeness, but would instead.) If he will keep eating all those biscuits, he can not expect to stay as slim as he used to be.   I would be grateful if someone could shed more light on the topic.