After MikTeX and TeXstudio upgrade I'm getting error at includegraphics
MiKTeX graphics version 1.3b bug on Windows 10 (\set@curr@file undefined)
I'm using latex on a small netbook, and with average-sized files (~150 pages at the moment) compilation is already pretty slow. So I am looking for every way to speed up the compilation.  In this search, I found  explaining how to "precompile a preamble", or, latexically-speaking, how to make a custom format file. That works fine enough.  But my preamble isn't as static as it should be, I keep adding or modifying definitions in there. To mix the two solutions, at the moment, I use a Makefile together with latexmk, the makefile handling the regeneration of the .fmt file if needed, and latexmk taking good care of the rest.  But I have two problems with this :   integration with emacs to compile the whole document when working on a single file (make needs to be called in the proper directory) latexmk doesn't recompile the file every time the preamble is modified, because it doesn't count as a dependency.   So I'd like to find a way to get rid of this Makefile, and get all the stuff done by latexmk.  I edited my .latexmkrc to include this :     pdflatex = 'pdflatex -fmt main %O %S';  add_input_ext('pdflatex','fmt');  add_cus_dep('tex', 'fmt', 1, 'compilepreamble'); sub compilepreamble {     print "Preamble compiling...\n";     $command = '&amp;.pdflatex ./fmt/preamble.tex\dump';     system("pdflatex -ini -jobname='$_[0]' '$command'"); };      But with this, if the file main.fmt is not present or if fmt/preamble.tex is updated, the main.fmt file won't be regenerated. Actually, in the first case, I get an error from pdflatex saying the it can't find main.fmt format file. So I understand latexmk doesn't even try to build main.fmt, it's probably not a problem in my custom dependency. However, I think I've added everything necessary for this to work.  So... Did I forget something? Is there a way round? Or is it a hopeless quest? Trying to connect to the internet, no WiFi symbol in the top right I read something that suggests that if $I$ is the $n$-by-$n$ identity matrix, $v$ is an $n$-dimensional real column vector with $\|v\| = 1$ (standard Euclidean norm), and $t &gt; 0$, then $$\det(I + t v v^T) = 1 + t$$ Can anyone prove this or provide a reference? More generally, is there also an (easy) formula for calculating $\det(A + wv^T)$ for $v,w \in \mathbb{K}^{d \times 1}$ and some (invertible) matrix $A \in \Bbb{K}^{d \times d}$? Mass retagger badge I've been busy retaggin questions since I got my retag privileges.  Shouldn't there be an incentive to retag wrongly tagged questions, other than the urge to do things right?  I'm mean, the only "badge incentive" for retagging are "Firs edit" (Organizer) and "Creation of a tag used 50 times" (Taxonomist). The first one is easy to get, and the second one, right now in SO is almost impossible to get without cheating, that's editing 50 questions with an unlikely tag. Taxonomist I guess, could encourage wrongly tagging.  Is this really a problem?  We could have an "Tagged 200 question" badge, so people go for that badge, instead of taxonomist. structs in C with initial values Converting ISO 8601-compliant String to java.util.Date I think that  is pretty good prima-facia evidence that  is just facilitating the deposition of crap. Install a .NET windows service without InstallUtil.exe Manga where the protagonist need to solve girl's quests Can someone tell me the manga in which the protagonist is teleported to an alternative world where he needs to make the girls fall in love with him, then he gains some skills like an invisible sword. Then, when he finishes these &quot;quests&quot;, he will be able to bring one of them to the real world. He has the ability to save and load like checkpoints of games. Forcing series convergence How to prove $\,x^a-1 \mid x^b-1 \iff a\mid b$ Hide textfield blinking cursor How to write in bibliography (package natbib) letter "a" with two dots above? Specially, I mean the word Birkhäuser.  Is there a general rule or way how to write such umlauts or other accented letters in bibliographies? My Mac is getting really slow, what should I do? How to terminate a background process? I have started a wget on remote machine in background using &amp;. Suddenly it stops downloading. I want to terminate its process, then re-run the command. How can I terminate it?  I haven't closed its shell window. But as you know it doesn't stop using Ctrl+C and Ctrl+Z. Is the graviton hypothetical? What book would you recommend for scientists who are not statisticians?  Clear delivery is most appreciated. As well as the explanation of the appropriate techniques and methods for typical tasks: time series analysis, presentation and aggregation of large data sets. Is there a preferred way to return multiple values from a C++ function?  For example, imagine a function that divides two integers and returns both the quotient and the remainder.  One way I commonly see is to use reference parameters:  void divide(int dividend, int divisor, int&amp; quotient, int&amp; remainder);   A variation is to return one value and pass the other through a reference parameter:  int divide(int dividend, int divisor, int&amp; remainder);   Another way would be to declare a struct to contain all of the results and return that:  struct divide_result {     int quotient;     int remainder; };  divide_result divide(int dividend, int divisor);   Is one of these ways generally preferred, or are there other suggestions?  Edit: In the real-world code, there may be more than two results.  They may also be of different types. Splitting string into pair of characters in Ruby I have a string (e.g. "AABBCCDDEEFF") and want to split this into an array with each element containing two characters - ["AA", "BB", "CC", "DD", "EE", "FF"]. Is changing your passport a good strategy for removing a negative immigration history in Schengen? When certain nationalities of people want to travel in the Schengen zone, they are required to apply for a Schengen visa. This is a straight-forward process for most, but when an applicant has had problems with removals or refusals they may be reluctant to apply because they want to avoid the complexities of serial visa refusals. This reluctance may lead some into wondering how their history can be expunged, and this line of thought inevitably leads to the idea of getting their passport replaced with a new one.  This sounds like a great formula for people who have had prior refusals or removals.  In essence they can become 'reincarnated' as a first-time traveller and hence avoid the unpleasantness of revealing their prior interactions with the Schengen authorities.  The relevant parts of the application form are shown here...    Nothing asks about a prior removal or refusal, and the applicant is left with simple denials for 3 questions in order to present themselves as a first-time traveller.  Assuming the person is happy to set aside the moral issues associated with denying their history, are there any holes to this strategy?  This question is scoped to Schengen visa applications so that it will not be unmanageably broad, but answers from other regimes (particularly the affluent Commonwealth and the USA) are acceptable as long as the main points are relatively consistent with Schengen.