I was trying to make a presentation using beamer, when suddenly I got the following error message:    I don't know why it does this, because I've never had to use sansmathaccent before.  I tried running old files that used to be fine, however they get the same error message now as well. Even the most simple of files:  \documentclass{beamer} \begin{document} \frame{Hello $A$} \end{document}   gets the error message. What is/could be going on?   N.B. I recently (two days ago) ran an update for all my packages. Could this have something to do with it?    Edit: By now I've installed both sansmathaccent and filehook because the error message said so. Now it shows this error:     !pdfTeX error: pdflatex.exe (file mathkerncmssi8): Font mathkerncmssi8 at 450 n   ot found    ==> Fatal error occurred, no output PDF file produced!   as soon as you include any maths to the document. Note If i type Hello $\mu$ everything is fine. Ordinairy letters are causing trouble.
I get the following error when I try to typeset a beamer document.  kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+525/600 --dpi 525 mathkerncmssi8 gsftopk: fatal: map file `cid-base.map' not found. mktexpk: don't know how to create bitmap font for mathkerncmssi8. mktexpk: perhaps mathkerncmssi8 is missing from the map file. kpathsea: Appending font creation commands to missfont.log.  ) !pdfTeX error: pdflatex (file mathkerncmssi8): Font mathkerncmssi8 at 525 not found  ==&gt; Fatal error occurred, no output PDF file produced!   But if I remove sansmathaccent.sty from the TeX Live tree, the document typesets fine. Here is a minimal working example.  \documentclass[10pt]{beamer}  \begin{document}  \begin{frame}{A very short beamer document}  $e^{i\pi}+1=0$  \end{frame}  \end{document}
We have added JSON-LD structured data to our website, so Google knows information about our company (company name, url, logo, address, etc.). We worked from the template on Google's .  One thing I couldn't find an answer to is where exactly should this JSON-LD snippet be included on our website? Right now, I only have it on our home page. I didn't know if it would look bad to search engines to have the Organization markup on every single page. But is there any recommendation?  Should Organization markup about our company be included on every page or only on certain pages? Combinatorial proof of $\sum^{n}_{i=1}\binom{n}{i}i=n2^{n-1}$. Prove that   $$\sum^{n}_{i=1}\binom{n}{i}i=n2^{n-1}$$   I can't find counting interpretations for either of the sides. A hint of "if $S$ is a subset of $\{1, . . . , n\}$ and $S^\prime$ is its complement then $|S| + |S^\prime| = n$" was also given, but I still don't know how to begin. How to show $\lim_{n \to \infty} \sqrt[n]{a^n+b^n}=\max \{a,b\}$? Let $a\geq 0$ and $ b\geq 0$. Prove that $\lim_{n \to \infty} \sqrt[n]{a^n+b^n}=\max \{a,b\}$. [Hint: Use the identity $(a^n -b^n)=(a-b)(\sum_{i=0}^{n-1}a^ib^{n-1-i})$]    I need some help! I cannot do it even with the hint... :( How far into space does one have to travel to see the entire sphere of earth? Virgin Galactic will take passengers aboard SpaceShipTwo  above the surface of the earth. But from this altitude, passengers will only be able to see a certain segment of the curvature of the earth through .  How much further into space would SpaceShipTwo have to travel to give passengers a view of the entire sphere of earth through one of these windows? Moving from SQL 2005 [SQL_Latin1_General_CP1_CI_AS] to 2008 - will I lose any features by using 'backwards compatibility' We're moving from SQL 2005 [Instance and DB have collation of SQL_Latin1_General_CP1_CI_AS]  to SQL 2008 [which defaults to Latin1_General_CI_AS].  I completed a SQL 2008 R2 installation, and used default Latin1_General_CI_AS collation, with the restoration of the database still on SQL_Latin1_General_CP1_CI_AS. The excepted problems occurred - the #temp tables where in  Latin1_General_CI_AS whilst the db was in  SQL_Latin1_General_CP1_CI_AS and this is where I am now - I need advice on the pitfalls now please.  On installation of SQL 2008 R2, I have the option on installation to use 'SQL Collation, used for backwards compatibility' where I have the option to select the same collation as the 2005 database : SQL_Latin1_General_CP1_CI_AS.   This will allow me to not have problems with #temp tables, but are there pitfalls? Would I lose any functionality or features of any kind by not using a "current" collation of SQL 2008? What about when we move (e.g. in 2 years ) from 2008 to SQL 2012? Will I have problems then? Would I at some point be forced to go to Latin1_General_CI_AS? I read that some DBA's script complete the rows of complete databases, and then run the insert script into the database with the new collation - I'm very scared and wary of this - would you recommend doing this? PostGIS nearest points with ST_Distance, kNN I need to obtain on each element on one table the closest point of another table. The first table contains traffic signs and the second one the Entrance Halls of the town. The thing is that I can't use ST_ClosestPoint function and I have to use ST_Distance function and get the min(ST_distance) record but I am quite stuck building the query.  CREATE TABLE traffic_signs (   id numeric(8,0) ),   "GEOMETRY" geometry,   CONSTRAINT traffic_signs_pkey PRIMARY KEY (id),   CONSTRAINT traffic_signs_id_key UNIQUE (id) ) WITH (   OIDS=TRUE );  CREATE TABLE entrance_halls (   id numeric(8,0) ),   "GEOMETRY" geometry,   CONSTRAINT entrance_halls_pkey PRIMARY KEY (id),   CONSTRAINT entrance_halls_id_key UNIQUE (id) ) WITH (   OIDS=TRUE );   I need to obtain the id of the closest entrnce_hall of every traffic_sign.  My query so far:  SELECT senal.id,port.id,ST_Distance(port."GEOMETRY",senal."GEOMETRY")  as dist     FROM traffic_signs As senal, entrance_halls As port        ORDER BY senal.id,port.id,ST_Distance(port."GEOMETRY",senal."GEOMETRY")   With this I am getting the distance from every traffic_sign to every entrance_hall. But how can I get only the minimun distance?  Regards, Razr Maxx HD, How to wipe data with broken screen My screen is totally destroyed, it's black and unresponsive. The phone turns on just fine, though. I just got my new phone and I have to send this one back now.  I want to wipe the phone before I send it back, but I'm not sure how. I don't care too much about sending back a rooted phone, it seems Asurion doesn't really care about that from what I've read, but I don't want my personal data on the phone when I send it in.  What are my options to wipe the phone without a screen? I've already read a lot of threads on other forums and here on the subject, but everyone seems to say to wipe through ADB shell. Well, I can see the phone in ADB, but I am unable to enter SU through ADB shell. I assume it's because the screen is locked, and I have no way to unlock it. Others have also said to wipe through fastboot in ADB, but I am seeing conflicting recommendations and I'm not sure how to proceed. I'm not that proficient with ABD, so I want to make sure I don't mess this up.  Any advice would be greatly appreciated. Align Caption to the left Why every map $f : S^n \to T^n (n>1)$ has topological degree zero? Why every map $f : S^n \to T^n (n&gt;1)$ has topological degree zero?  I don't know anything about covering spaces, and has been told to me that this assertion comes from this theory!  I do appreciate any help. Could there be an eighth Horcrux? Hyphens in words with prefixes like neo-Nazism I have a question regarding the use of hyphens in words with certain prefixes. For example,     Neo-Nazism   Neo-Confucianism   Neo-liberal     are words with a hyphen, but     Neoplatonism   Neocolonialism   are words without hyphens. I'm especially confused with neo-Confucianism and neoplatonism: one contains  a hyphen and a capital letter and the other doesn't.  Is there a specific rule for hyphens in words with prefixes or is it purely arbitrary? What is the US Visa Waiver Program and what is an ESTA? Prove that $ \sum_{n=0}^\infty \frac{z^{2^n}}{1-z^{2^{n+1}}}=\frac{z}{1-z} $ Show that for $|z|&lt;1$, one have $$ \frac{z}{1-z^2}+\frac{z^2}{1-z^4}+\cdots+\frac{z^{2^n}}{1-z^{2^{n+1}}}+\cdots = \frac{z}{1-z} $$ and $$ \frac{z}{1+z}+\frac{2z^2}{1+z^2}+\cdots+\frac{2^k z^{2^k}}{1+z^{2^k}}+\cdots = \frac{z}{1-z} $$ Use the dyadic expansion of an integer and the fact that $2^{k+1}-1=1+2+2^2+\cdots+2^k$. Adding meta values to permalink I have publications and I want to simply add year and month to the permalink. Currently the year and month of publication is added to the post as a meta value. I've set up publications as a custom post type and created taxonomy for the specific title of the publication. I would like the permalink to be:  publications/publication-title/year-published/month-published/name-of-post  I simply want to add the meta values for the publication year and month to the permalink.   So far, I've been able to pull the year and month published and add it to the url but unfortunately I keep getting a 404 when I try to access posts. I think I'm taking a wrong turn with one of my steps below ...  Any help would be appreciated.  These are the steps I did in the following order:   Since I was adding publication-year and publication-month to the url, I was reading that I had to make WordPress aware of these custom querystring variables. I added the following functions to register these custom variables:  function pubyear_register_rewrite_tag() {       add_rewrite_tag( '%pubyear%', '([0-9]{4})');   }    add_action( 'init', 'pubyear_register_rewrite_tag');  function pubmonth_register_rewrite_tag() {      add_rewrite_tag( '%pubmonth%', '([0-9]{2}');   }    add_action( 'init', 'pubmonth_register_rewrite_tag');    2) Added the year and month to the permalink structure:  add_filter('post_type_link', 'pub_term_permalink', 10, 4);  function pub_term_permalink($permalink, $post, $leavename, $sample) {     if ( false !== strpos( $permalink, '%publication-title%/%pubyear%/%pubmonth%' ) ) {       //get the publication-title      $publicationtype = get_the_terms( $post-&gt;ID, 'publication-type' );       //get the year of the publication      $pubyear = date('Y', get_post_meta($post-&gt;ID, 'pub_date', true));       //get the month of the publication      $pubmonth = date('m', get_post_meta($post-&gt;ID, 'pub_date', true));       $rewritecode = array(          '%publication-type%',          '%pubyear%',          '%pubmonth%',          $leavename? '' : '%postname%',      );       $rewritereplace = array(          array_pop($publicationtype)-&gt;slug,          $pubyear,          $pubmonth,          $post-&gt;post_name      );       $permalink = str_replace($rewritecode, $rewritereplace, $permalink);       }     return $permalink; }   3) Add rewrite rules:  function pub_add_rewrite_rules() {       add_rewrite_rule(  '^([^/]*)/([0-9]{4})/([0-9]{2})/([^/]+)?', 'publications/index.php?pagename=$matches[3]', 'top' );   }    add_action( 'init', 'pub_add_rewrite_rules' );   4) Made sure the custom post type is registered and includes this rewrite array:  'rewrite' =&gt; array     (             'slug' =&gt; 'publications/%publication-type%/%pubyear%/%pubmonth%',     'with_front' =&gt; false          ), How can I multiply each item in an array easily with PHP? You require a reputation of 50 to leave comments on others' questions/answers; the FAQ simply states this as a fact but does not explain it. I'm a new user and I have identified this as an issue very quickly through my own experiences so far. Looking at other questions seems to also provide justification against this 50 reputation requirement for comments on others' questions/answers.      In my own experience, I've seen a few questions like "how do I do x?" then the same poster has answered with "in the end I did it like this: ..." where their solution was perfectly sensible, but there may be some gotchas to watch for - in this case I want to vote up their answer and/or comment on it to point out the potential gotchas, but I can do neither!  To me all of the above seems justification against this rep requirement to comment, so what is the counter-argument and justification for it? When I try to delete the file, using the GUI it says      The action cannot be completed because the file is open in another   program   And using the del /f /q command line it says     Access is denied   I have tried unlocking the file with Unlocker, as well as trying to locate which process is using the file with the Resource Monitor or the Process Explorer, but no locking handle was found in either case.  I am able to rename or move the file, but not to delete it or change its content. Number of connected components of the complement of a compact Let $X$ be a connected, locally compact space and let $K$ be a compact subset of $X$. Is the number of connected components of the complement $X\setminus K$ finite? If it is not, are there some hypotheses over $X$ for finiteness of connected components? What's the full-form & significance of USS & ISS prefixes in name of Star Trek starships? $$\frac{1}{z-\sin z}$$ $$\frac{1}{z(1-\frac{\sin z}{z})}$$  the laurent's transform is also used to simplify the function.  the residue is found a $\frac{2*36*2}{5}$ but the actual answer is given as $\frac{3}{10}$ the residue is given as The solution is incorrect and also the pole is of the order 3.