why i got error:  undefined control sequence &lt;argument&gt; luatexversion                          &lt;95 l.924   for this simple example:  \documentclass{article} \usepackage{animate} \begin{document} here is nothing to animate! \end{document}   when compiling with pdfLateX. closing compilation editor open file pdfbase.sty.  I have recent 64-bit MikteX and this test has been working no so far ago.
I am using pdflatex on a fresh (and current) MikTex 2.9 install with the following MWE:  \documentclass{article} \usepackage{animate} \begin{document}  Test \end{document}   Pdflatex throws the error:  Package: pdfbase 2017/03/23 v0.14 driver independent access to low-level PDF fe atures \g_pbs_page_int=\count175  ! Undefined control sequence. &lt;argument&gt; \luatexversion                            &lt;95 l.924 }   I have read the other posts containing the offending control sequence, especially  but the solutions offered there didn't help in my case.  This problem might have arisen with a recent MikTex update. I have now completely uninstalled, redownloaded, reinstalled and updates MikTex -- with no success.
Tunnel traffic through another machine over ssh Limiting range of value types in C++ Suppose I have a LimitedValue class which holds a value, and is parameterized on int types 'min' and 'max'.  You'd use it as a container for holding values which can only be in a certain range.  You could use it such:  LimitedValue&lt; float, 0, 360 &gt; someAngle( 45.0 ); someTrigFunction( someAngle );   so that 'someTrigFunction' knows that it is guaranteed to be supplied a valid input (The constructor would throw an exception if the parameter is invalid).  Copy-construction and assignment are limited to exactly equal types, though.  I'd like to be able to do:  LimitedValue&lt; float, 0, 90 &gt; smallAngle( 45.0 ); LimitedValue&lt; float, 0, 360 &gt; anyAngle( smallAngle );   and have that operation checked at compile-time, so this next example gives an error:  LimitedValue&lt; float, -90, 0 &gt; negativeAngle( -45.0 ); LimitedValue&lt; float, 0, 360 &gt; postiveAngle( negativeAngle ); // ERROR!   Is this possible?  Is there some practical way of doing this, or any examples out there which approach this? If parsing the output of ls is dangerous because it can break on some funky characters (spaces, \n, ... ), what's the best way to know the number of files in a directory?  I usualy rely on find to avoid this parsing, but similarly, find mydir | wc -l will break for the same reasons.  I'm working on Solaris right now, but I'm looking for a answer as portable across different unices and different shells as possible. BasicTeX - how to identify packages that need to be added after an upgrade I'm using the BasicTeX distribution on OS X and recently upgrade from the 2011 to the 2012 distribution. This forces me to add the packages that I had added over time to the BasixTeX 2011 installation by pulling them from the online repository with tlmgr. Is there a good way to list these packages that are not part of BasicTeX but are part of the complete TeXLive? Calculate line distances inside of polygons using ArcGIS for Desktop? I'm working with two data sets:   NHD polyline stream layer for my entire state HUC Watershed boundary Polygons for the entire state   I am looking for a way to calculate the total length of streams within each watershed boundary polygon, and would ideally like to have each polygon then attributed with the sum of stream miles within its boundary.  Can anyone help me? How to convert decimal to hexadecimal in JavaScript The vertical line at the end of the cell where i used cell merge is missing. 32-bit, 64-bit CPU op-mode on Linux I'm confused. Running Fedora Linux, lscpu yields:  Architecture:            i686 CPU op-mode(s):          32-bit, 64-bit ...   But when I try to install a 64-bit program (Chrome) I get error like:     Package /....x86_64.rpm has incompatible architecture x86_64. Valid architectures are ['i686', 'i586', 'i486', i386']   I'm less interested in being able to install Chrome and more interested in why lscpu says that my CPU can run in 64-bit mode; clearly this can't mean I can run 64-bit programs. Can anyone clarify? Find subexpression to minimize leafcount after replacment with temporary variable Invertibility of the Product of Two Matrices I have shown that if two $n\times n$ matrices $A$ and $B$ are invertible, then $AB$ is also invertible. I am having problems though with showing that $(AB)^{-1}=B^{-1} A^{-1}$. I thought of using their left-multiplication transformations but it seems that this is only associative and not commutative so I can reverse $L_A L_B$ I'm trying to install Anbox in my new Ubuntu 16.04 using instructions from  . It seemed to work, but I got no icon in my dash, so I suspect that the installation is not complete. With Synaptic  Package Manager I can see that anbox-common &amp; anbox-modules-dkms are installed, but I have no icon in my dash, so I tried running   sudo snap install --edge --devmode anbox   and got this error:  error: cannot install "anbox": Get    https://search.apps.ubuntu.com/api/v1/snaps/details/core?channel=stable&amp;fields=anon_download_url%2Carchitecture%2Cchannel%2Cdownload_sha3_384%2Csummary%2Cdescription%2Cdeltas%2Cbinary_filesize%2Cdownload_url%2Cepoch%2Cicon_url%2Clast_updated%2Cpackage_name%2Cprices%2Cpublisher%2Cratings_average%2Crevision%2Cscreenshot_urls%2Csnap_id%2Csupport_url%2Ccontact%2Ctitle%2Ccontent%2Cversion%2Corigin%2Cdeveloper_id%2Cprivate%2Cconfinement%2Cchannel_maps_list:    dial tcp: lookup search.apps.ubuntu.com on [::1]:53: read udp    [::1]:54255-&gt;[::1]:53: read: connection refused   What am I doing wrong? Why was the connection refused? According to the instructions, it seems this is the correct command to install it.  ps: I'm not that familiar with Linux, I'm more of a Windows guy, trying to learn Linux. How to identify predatory publishers/journals How to see what's going on during Windows shutdown/logging off process? Windows 7 msconfig lets users select the options No GUI boot and OS boot information to have a list of drivers being loaded during boot. Is it possible to have similar detailed messages during shutting down/restarting/logging off? Here's the screen I want disable or give me more details: Reading data from a relational database into a LaTeX table I'm using Tex Live 2009 on Debian squeeze. I can upgrade if I really, really  have to, but I'd rather not. I was wondering if it would be possible to do the following.  Given some data in a (relational) database, can I extract it and automatically format it in a LaTeX table, so one would not need to manually recreate the LaTeX table if the data changes? Could one do such a thing with Lua? One would normally use a suitable language database adaptor for this, and I see Lua has . I'd like to use PostgreSQL. I'm currently using version 8.4.  Solutions not involving Lua are also fine. Just to be clear, I don't know anything about Lua and my knowledge of LaTeX programming is also extremely skimpy. I'm looking for a recipe which I can adapt if necessary. While this is not really important for my current use case, it seems like a useful general technique if possible. :  Not ten minutes ago, I received this error, twice:  And also an &quot;Oops, something bad happened&quot; error.  I'm also getting question posting errors.  Can we fix this, please? I've been wondering about this one for a while; I find it a little weird how abruptly it happens. Basically, why do we need just three uniforms for $Z_n$ to smooth out like it does? And why does the smoothing-out happen so relatively quickly?  $Z_2$:     $Z_3$:    (images shamelessly stolen from John D. Cook's blog: )  Why doesn't it take, say, four uniforms? Or five? Or...? What's the physical meaning of the imaginary component of impedance? As you know, impedance is defined as a complex number.  Ideal capacitors: $$ \frac {1} {j \omega C} \hspace{0.5 pc} \mathrm{or} \hspace{0.5 pc} \frac {1} {sC} $$  Ideal inductors: $$ j \omega L \hspace{0.5 pc} \mathrm{or} \hspace{0.5 pc} sL $$  I know that the reason why they 'invented' the concept of impedance is because it makes it easy to work with circuits in the frequency domain (or complex frequency domain).  However, since in real-life circuits both voltages and currents are real numbers, I'm wondering if there is any actual physical meaning behind the imaginary component of impedance. Kuratowski-Zorn Lemma with pre-order (quasi-order, proset) instead poset? What would happen if we would use pre-order (there is no weak-antisymmetry, only reflexivity and transitivity) in  Kuratowski-Zorn Lemma instead of partial order?      Suppose that we have set P which is preordered and  has the property   that every chain (i.e. totally ordered subset) has an upper bound in   P. Then the set P contains at least one maximal element.   Is this statement true in ZFC? If not, what can we postulate to make it true? I think it can be false, or at least we need to postulate something more (or not?), but I am just missing something and don't see it.  P.S.      I wanted to put tags with combination of words like: Kuratowski Zorn Lemma Pre-order Proset, but it seems that none of them exist and I need to have 300+ reputation to create new ones, thus I only typed (set-theory) :( If someone with bigger reputation could make this topics' tags more precise, I would be grateful :) About $\lim \left(1+\frac {x}{n}\right)^n$ "To work for" vs. "to work in" vs. "to work at" Is the preposition in universal in conjunction with the verb ‘to work’ and can it be used with any organizations and businesses?  For example:        He works as a cook in a local hotel near here.   He works in an office in Chicago.   She works in a big company.   She works in the emergency unit at the hospital.   She works in a shoe repair shop.   After leaving school, he worked in a restaurant for a year. military hospital.   His sister works in a bank.   She works in a shoe factory.   He works in a steel plant.   She works in a gift store on weekends.   Ann works in a research institute.      When should the prepositions at and for be used? For example:        Barbara works at a travel agency.   She works at the local supermarket.   Now he works for a bank.   I work for a small non-profit organization.      I’ve never heard:     She works for a shoe factory.   But with a law firm it’s OK:     She works for a law firm.   Why?