I'm having a rather strange problem with pgf-pie: it seems not to work very well when using the babel package...  See for yourself:  Without babel    With babel    Here is the code:  \documentclass[a4paper,11pt,final]{scrreprt} \usepackage{pgf-pie} \usepackage[french]{babel}  \begin{document}  \centering  \begin{tikzpicture} \pie{10/A, 20/B, 30/C, 40/D} \end{tikzpicture} % \hspace{1cm} % \begin{tikzpicture} \pie[polar]{10/A, 20/B, 30/C, 40/D} \end{tikzpicture}  \vspace{2cm}  \begin{tikzpicture} \pie[square]{40/A, 30/B, 20/C, 10/D} \end{tikzpicture} % \hspace{1cm} % \begin{tikzpicture} \pie[cloud, text=inside, scale font]{10/A, 20/B, 30/C, 40/D} \end{tikzpicture}  \end{document}   Has anyone seen this before? How to fix it?  Thanks in advance.
I would like to declare functions in tikz for multiple uses of the same function within the code.  Sadly, it seems that the tikz "declare function" is not compatible with the french option in babel. Indeed, the following code (that I simplifed on purpose) runs fine :  \documentclass[english]{article} \usepackage{babel}                       \usepackage{tikz}  \begin{document} \begin{tikzpicture}     \tikzset{declare function={Carre(\t)=\t*\t;}}     \draw plot [domain=-1:1] (\x,{Carre(\x)}); \end{tikzpicture} \end{document}   But when I replace   \documentclass[english]{article}   with   \documentclass[english,french]{article}   compilation generates an error. This is what the log file says :     Missing character: There is no = in font nullfont!   Missing character: There is no @ in font nullfont!   Missing character: There is no @ in font nullfont!      Runaway argument?   -1:1] (\x ,{Carre(\x )}); \end {tikzpicture} \end {document}    ! Paragraph ended before \pgfmath@local@@functions was complete.                          \par    l.18       I suspect you've forgotten a `}', causing me to apply this   control sequence to too much text. How can we recover?   My plan is to forget the whole thing and hope for the best.   Before posting this, I updated all packages without success.  Any help welcome!
Let $x$ and $y$ be positive integers such that $xy \mid x^2+y^2+1$. Let $x$ and $y$ be positive integers such that $xy \mid  x^2+y^2+1$. Show that $$ \frac{x^2+y^2+1}{xy}= 3 \;.$$ I have been solving this for a week and I do not know how to prove the statement. I saw this in a book and I am greatly challenged. Can anyone give me a hint on how to attack the problem? thanks Opacity problem over white object in Illustrator I have a problem. I'm working with an object at 50% opacity. When it's over the artboard itself the color looks great, but when I put a white object behind it I get this weird color that doesn't look accurate.  This happens with every object and only in CMYK. I'm pretty sure this never happened to me before so maybe I changed something in the settings or I don't know.  Does anyone have any idea? Summing Up A 2D Array 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? Mesh imported to Unity is inside out I have a Redstone Power loop that connects to a Command Block that is set to kill all entities except for myself (/kill @e[type=!Player]), because I'm building a creative map, but don't want slimes all over the place. Problem is if I want to place an Item Frame than the Command Block kills it.  So, is there anyway to exclude items from getting deleted, or make it so it will only target mobs? How can I share an iCloud photo album? Formatting OGR VRT file to convert CSV to KML? I am attempting to get a nice KML for simple review of POI/geocoding from a CSV. I a using ogr2ogr and a VRT. You can see the VRT file below, with two attempts to get this right.  Basically, the issue is using ogr2ogr -f KML ... with the VRT w/o renaming results in a lot of "SimpleData" tags in the KML.   I'd like to get some CSV fields as the KML Placemark "Name" and "Description", concatenated fields, actually. -dsco NameField=RegionName option in ogr2ogr, but I don't see a way to concatenate fields into name, e.g Street, City, State..  In the .vrt below, the SrcSQL field results in no records. It does open, but with layer info. The Field tag (when not commented out) does result all records with in the new alias, but the "name" is the only field that comes through, it drops all other fields.  Is there a way to concatenate fields using ?  Of course, perhaps ogr is not capable of concatenation ...  &lt;OGRVRTDataSource&gt;     &lt;OGRVRTLayer name="roofing-poi2"&gt;         &lt;SrcDataSource&gt;roofing-poi2.csv&lt;/SrcDataSource&gt;         &lt;GeometryType&gt;wkbPoint&lt;/GeometryType&gt;         &lt;LayerSRS&gt;WGS84&lt;/LayerSRS&gt;         &lt;GeometryField encoding="PointFromColumns" x="Longitude" y="Latitude"/&gt; &lt;!--         &lt;Field src="StreetAddress" name="name" /&gt; --&gt;         &lt;SrcSQL&gt;SELECT StreetAddress as name&lt;/SrcSQL&gt;     &lt;/OGRVRTLayer&gt; &lt;/OGRVRTDataSource&gt; I am trying to import an Excel table with around 10,000 XY points into ArcMap 10.2. I am using State Plane NAD 1983 Alabama West (US Feet) as the Coordinate System in my map data frame. I then add the excel table to my Table of Contents in the map then select Display XY Data. Next, I choose the same coordinate system as my data frame then select OK. Once it creates the Events layer for my points they are not in the correct location.   Should I switch everything in my map to WGS84 or is there a solution for my points to be added onto my current map with the state plane coordinate system? SVN repository backup strategies I'm new to SVN and I'd like to know what methods are available for backing up repositories in a Windows environment? Is there a package that supports the addition or subtraction of chemical equations, perhaps with automatic tabbing and a alignment.  Whilst it is obvious I could set up tables or use mathmode's align feature, it seems so much more efficient to have a package handle the tabbing automatically, since it is rather predictable in this application.  mhchem does not seem to have such a feature...      Another advantage is you could maintain the readability of your equations and you would not have the added clutter associated with tables, especially tabs &amp;, which diminish the readability of your .tex document.  And of course, the line should be automatically inserted before the last row. Why can a discontinuous function not be differentiable? I don't really understand why a discontinuous function cannot be differentiable.  In Stewart's Calculus, the definition of a function $f$ being differentiable at $a$ is that $f'(a)$ exists. Earlier it gives the definition of the derivative as $f'(x)=\lim_{h\to0}\frac{f(x+h)-f(x)}{h}$. It also has a theorem that if $f$ is differentiable at $a$, then $f$ is continuous at $a$. There is also a definition that a functions $f$ is continuous at a number $a$ if $\lim_{x\to a}f(x)=f(a)$.  Take for example the very simple function:  $$ f(x)=\begin{cases} x+1 &amp; x\geq0, \\ x &amp; x&lt;0.  \end{cases} $$  It is discontinuous at $x=0$ (the limit $\lim_{x\to 0}f(x)$ does not exist and so does not equal $f(0)$), but if I find the derivative using the limit above, I get the left and right limits to equal $1$. So therefore, the derivative exists.  According to the book, the function shouldn't be differentiable at $x=0$ as it has a discontinuity (continuity is a necessary condition of differentiability). What am I doing/understanding wrong? Prove that there are no positive integers $x$ and $y$ such that $x^3 + y^3 = 10^3$. Prove that there are no positive integers $x$ and $y$ such that $x^3 + y^3 = 10^3$.   This is a homework question, and I understand that its part of Fermat's Last Theorem, but when I looked that up to try to figure out the homework, I realized that it is way further than what we've learned in class so far. We have to prove this, but the only way I can think to do it is by exhaustion, which would be extremely lengthy. Any little shove in the right direction would be appreciated. Thanks! I use Cygwin on my laptop (DOS). I have a collection of scripts from my colleagues, and my own. I am not an IT person, not knowledgeable in Unix. I am following my colleagues' syntax and able to manage a few simple things. The scripts worked well on my old laptop. I just changed laptop and installed Cygwin. When I run my scripts, they do not work. Here is one example of the error message I get: line 1: $':\r': command not found line 5: syntax error near unexpected token `$'\r'' line 5: `fi  Here are the top 5 lines of my script : iter=1 if [ -f iter.txt ]    then rm ./iter.txt  fi    Can someone please explain how I can get around this problem? How do I invoke a private static method using reflection (Java)? Getting file names without extensions The popup when you click on your newest badge in your user profile has a &quot;Learn more&quot; button, but its alignment is suboptimal; it's too close to the top of its container:  It looks better with a 4px top margin: S1300I scanner issues under Ubuntu 16.04 using Sane In theory this scanner does work under Linux and Ubuntu.  I've found this document that I tried to follow.    I install sane, copy firmware, confirm the location in the config etc.  Everything looks good.  Potential problem areas  sudo sane-find-scanner   output:  # sane-find-scanner will now attempt to detect your scanner. If the # result is different from what you expected, first make sure your # scanner is powered up and properly connected to your computer.  found SCSI processor "Marvell 91xx Config 1.01" at /dev/sg5 # Your SCSI scanner was detected. It may or may not be supported by SANE. Try # scanimage -L and read the backend's manpage.  could not fetch string descriptor: Pipe error could not fetch string descriptor: Pipe error found USB scanner (vendor=0x04c5 [FUJITSU], product=0x128d [ScanSnap S1300i]) at    libusb:005:007 could not fetch string descriptor: Pipe error # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage.  # Not checking for parallel port scanners.  # Most Scanners connected to the parallel port or other proprietary ports # can't be detected by this program.   Okay.  So the scanner is detected and listed, it prints a bunch of extra noise that   # scanimage -L  No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages).   Okay, let's verify the firmware files:  ls -lh  /usr/share/sane/epjitsu  total 136K -rw-r----- 1 root root 65K Jan  1 17:49 1300_0C26.nal -rw-r----- 1 root root 65K Jan  1 17:49 300_0C00.nal   Looking at the configuration file: (snippets)  # Fujitsu S300 firmware /usr/share/sane/epjitsu/300_0C00.nal usb 0x04c5 0x1156  # Fujitsu S1300 firmware /usr/share/sane/epjitsu/1300_0C26.nal usb 0x04c5 0x11ed   Last thing I tried was to pull the line from sane-find-scanner and update the config  sane-find-scanner returns a different product ID.   I updated the config file above, restarted the sane service, I ran scanimage -L still, scanner not detected.  For reference I had this working on this same computer under a virtualbox VM.  If I can get it to work under windows that would be ideal.  Any suggestion would be much appreciated.    Update: I revisited the behavior after adding the 1300i firmware and it's still not working but.  Once in a while when I do run this is the output.  If I run it again it'll fail.  scanimage -L device `epjitsu:libusb:005:008' is a FUJITSU ScanSnap S1300i scanner   also sudo gscan2pdf and sudo simple-scan both fail to detect a scanner.  It fails with and without sudo permissions. Multiple SSL domains on the same IP address and same port? This is a  about Hosting multiple SSL websites on the same IP.   I was under the impression that each SSL Certificate required it's own unique IP Address/Port combination. But the  is at odds with this claim.  Using information from that Question, I was able to get multiple SSL certificates to work on the same IP address and on port 443. I am very confused as to why this works given the assumption above and reinforced by others that each SSL domain website on the same server requires its own IP/Port.  I am suspicious that I did something wrong.  Can multiple SSL Certificates be used this way? How to calculate $\lim_{n\to\infty}(1+1/n^2)(1+2/n^2)\cdots(1+n/n^2)$? How can we compute the following limit:     $$\lim_{n\to\infty}(1+1/n^2)(1+2/n^2)\cdots(1+n/n^2)$$   Mathematica gives the answer $\sqrt{e}$. However, I do not know to do it.