My journal publisher’s class file uses newtx fonts, so I’ve tried to update my MikTeX installation. The MikTeX package manager reports that all of newtxtt, newtxsf, minion2newtx and newtx itself (only the last is new) are installed. I’ve run (as administrator and as myself) updmap as well as FNDB. A simple hello world file (appended) will compile and produce a dvi, but converting it to pdf or viewing it in yap or … tries to run miktex-makepk to make pk fonts and these fail. Compiling with pdflatex (which is what I’d really like to do) fails in the same way:   Trying to make PK font ntx-Regular-tlf-t1 at 600 DPI... Running miktex-makemf.exe... miktex-makemf: The ntx-Regular-tlf-t source file could not be found. Running ttf2pk.exe... miktex-makepk: PK font ntx-Regular-tlf-t1 could not be created.    Yap->Document Properties reports that it finds:   ntxmi, txmi in Program Files (x86)\MikTex 2.9\fonts\vf\public\newtx\... rtxmi and rtxptmn in Users\steve\AppData\Local\MikTex\2.9\fonts\pk\mo… mtxmi and ntx-Regul.. are Not loadable    My settings show the following roots  c:ProgramData\MikTex\2.9     [CommonData] d:\sjs_d\Documents\localtexmf c:\Program Files (x86)\MiKTeX 2.9   [CommonInstall]   updmap reports:  $ updmap --verbose | grep newt C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/public/newtx: skipping, existing cache is valid: 73 fonts, 0 dirs C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/public/newtxsf: skipping, existing cache is valid: 4 fonts, 0 dirs C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/public/newtxtt: skipping, existing cache is valid: 4 fonts, 0 dirs C:/Program Files (x86)/MiKTeX 2.9/fonts/opentype/public/newtx: skipping, existing cache is valid: 4 fonts, 0 dirs   I’m not a font guru at all. With type1 and opentype fonts, are pk fonts needed (this question no doubt reveals my ignorance)? I’m not sure, of course, whether I have all the T1 fonts here. Googling suggests I need the .mf files to create the pk fonts, but .mf files are not present in the installed packages AFAICT.    \documentclass{article} \usepackage{newtxtext} \usepackage{newtxmath} \begin{document}  Hello world.  \[ Hello maths world \]  \end{document}
Every once in a while after updating MiKTeX, the installation gets into an inconsistent state. This might be a problem with the packages (an example is described in ), but sometimes packages are split or renamed. The cases I remember are when  and when miktex-etex-base-2,9 was renamed to miktex-etex-base-2.9 (if I recall correctly; I am sure it was either that or something very similar). In each case the MiKTeX Update process suggested to remove the "old" packages but it didn't give the user any hints about him having to manually add the respective replacement packages back in the package manager to get one's MiKTeX installation back into a usable state.  What are best practices for keeping MiKTeX up to date? Note that I'm not asking about installing new packages or fonts in general; there are other questions covering this area.   In which order should one execute the Update process and the Synchronization of the repository? , it is recommended to check the MiKTeX homepage before updating. What else should one do? When and in which order (and why) should one execute the "Refresh FNDB" and "Update Formats" processes within the MiKTeX Options menu? What else can happen? Other advice?
All internal links on Stack Exchange sites should be protocol-relative In preparation for the eventual deployment of full HTTPS support on Stack Exchange, and also to make the currently available "alpha" HTTPS support more usable, all links from Stack Exchange sites to other Stack Exchange sites should be .  Currently, at least the following places still feature links with explicit http: protocol prefixes:   the page footer, the "Hot Network Questions" and "Community Bulletin" modules in the sidebar,  (the site switcher menu is OK, though),   and, of course,   lots and lots of user-supplied links in post and comment content.   I've posted this feature request with the intent to provide a single central place for tracking these issues, rather than having them scattered across multiple meta threads.  If you find more places on SE where protocol-relative links should be used, please report them below.  I fully expect this request, in its full sense, to be treated as  for the time being; however, these issues do need to be fixed at some point before our HTTPS support is ready for "prime time".  Ps. Yes, the next release of  (v1.10) is going to include a general client-side fix for most of these issues.  In the mean time, the  plugin effectively provides the same functionality, and much more besides. Let $A$ be a complex matrix such that $A^n = I$, show that $A$ is diagonalisable.  How do I do this?    I would hazard a guess that since $A^n = I$ that means that $A^n$ is obvious diagonal, and I suppose that a diagonal matrix can only be formed by the square of another diagonal matrix, but I am not sure if that is the case. Also I think this neglects the complex cases.  Is there a Jordan block argument that I should use? How scientists can be confident that human embryo tail is really a tail? From :     Human embryos have a tail that measures about one-sixth of the size of the embryo itself. As the embryo develops into a fetus, the tail is absorbed by the growing body.   How are we sure that it is a real tail and is not a superficial resemblance of something else?  I ask this because some creationist guy challenged me in this regard. Blending colors in photoshop and illustrator I am working on a print for my wall and I am trying to create something like this:      I have already created the letters in Illustrator and now I am adding the colors in Illustrator and then exporting everything to Photoshop and then using the liquify tool to blend the colors to create a similar effect. I also used the healing patch tool to blend in the hard edges.  Is that the right way of doing it? Or is there another way? MWE:  \documentclass{minimal} \usepackage{commath, tikz} \begin{document} \begin{tikzpicture} \node {$:$}; \end{tikzpicture} \end{document}   When I compile this, pdfTeX enters an infinite loop. Why? What happens with the appearance of the folder icons in dark mode of macOS Mojave Finder? In High Sierra I used some custom icons for my folders in the Finder; but with the new update to Mojave and the dark mode, the predefined icons also become darker. However the custom icons don't.  Inspecting an element you find a dark preview, but when you extract the icon this is the clear, the same as there was in High Sierra. E.g.:   Previously visualization of the developer predefined icon. It's dark:  But if you extract that icon, it's clear:    There are no dark icons in the system library, at least not in the same directory as always:  /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources   Are they being actively obscured by the operative system without there being icons with that real appearance? In this case, any idea to apply this method to the custom icons without modifying it into a new coloration? What do the symbols on the main menu mean? If you swipe all the way to the left on the menu and then some, this sequence of symbols appears. (Do not pay any mind to the white circles: it's where I was holding my finger. The space between the first few and the last three symbols is also not present in game.)    What gives? How do I remap certain keys or devices? I was playing my PS4 two days ago and then packed it up with two controllers that were both connected to this PS4.   I got to where I was going, set everything up and now the controllers won't connect. They show pulsing orange when they plug in, but when I hit the PS Button to connect, it blinks white 1-2 times and goes back to orange.   I have tried resetting them both.  Can anyone help? Let me know I have upvotes even after hitting the rep cap When you cap, you don't see any upvotes you get on your profile, therefore, you don't have any update on how your questions / answers are doing unless you look at them manually.   Capping the 200 daily rep is not a reason to stop posting here so could I get notified somehow that my posts are being voted on ? Maybe put a little +X in a different color letting me know that I got these votes but I won't get the reputation for it.   I can go and see in my reputation feed inside my profile and see it :    So I don't see why it wouldn't show up in the feed above.  Maybe putting the feed button green without any +X just like when you aquire a badge. Proving $M_n(I)\lhd M_n(R)$ and proofs about ideal rings. I'm trying to do a few proofs about rings: $(1)$ I want to show that for a ring $R$ and the ring of matrices $M_n(R)$, if $I\lhd R\implies M_n(I)\lhd M_n(R)$ and that all ideals of $M_n(R)$ are of the form $M_n(I)$. $(2)$ Prove that if $R$ is a ring with division then $M_n(R)$ is a simple ring.  The relation $I\lhd R$ implies that with $r\in R$ and $x\in I$ we have $rx\in I, xr\in I$. But how can I prove the statement for matrices?, here's what I would do: Consider $\psi \in M_n(R)$, if is given any matrix $\phi\in M_n(I)$ it must be $\psi \phi \in M_n(I),\phi \psi \in M_n(I)$, if we denote the element $(i,j)$ of each matrix by $\phi_{ij}$ and $\psi_{ij}$, then $(\psi \phi)_{ij}=\sum_{k=1}^n \psi_{ik}\phi_{kj}$ and $(\phi \psi)_{ij}=\sum_{k=1}^n \phi_{ik}\psi_{kj}$.  Since $I\lhd R$ is $\psi_{ik}\phi_{kj}\in I$ and $\phi_{ik}\psi_{kj}\in I$, which means that $I\lhd R\implies M_n(I)\lhd M_n(R)$.  To show that every ideal of $M_n(R)$ are of the form $M_n(I)$ with $I$ ideal: Suppose $I$ is not an ideal of $R$, then exists $r\in R$ such that $rx\notin I$ or $xr\notin I$, then with taking a matrix $\phi\in M_n(I)$ such that $x$ is an entry of $\phi$ and a matrix $\psi$ such that $r$ is an entry of $\psi$ we get that the matrices $\phi$ and $\psi$ have an entry $xr$ or $rx$, in either case this is not an element of $I$ then the matrix is not in $M_n(I)$. This concludes my proof (is it?) for $(1)$.  For $(2)$ I'd like to proceed by absurdum . Let's say that $M_n(R)$ is not a simple ring, then it has at least one ideal. Denote by $\varphi$ this ideal in $I$, then for any matrix $\psi$ we have $\varphi\psi \in M_n(I)$ and $\psi \varphi \in M_n(I)$.  Now, can $R$ be a ring with division?.I'm not sure how to prove that it can't. I believe I could use this theorem: "If $I\lhd R$ and $1\in I$ then $I=R$. The case $I\neq R$ implies $1\neq R$ and since $\varphi \psi$ and $\psi \varphi$ are in $M_n(I)$ then there are at entries in the product matrix which belong to $I$ (using $I \lhd R$) but are not $1$ (1\notin I); then there are elements in $I$ (and therefore in $R$ by $I\subset R$) that are not invertible, follows that $R$ is not a ring with division. But if $I=R$?, here I can't see a why $R$ can't be a ring with division. Using "you" and "your" as a representation for yourself and everyone in general Example sentence:     I love when your dog just lets you sit there to pet them. You don’t necessarily know if they are enjoying it, but they love you enough to just sit there with you for a bit.   Is this correct? We assume the words "you" and "your" refer to the speaker of the sentence, and not to the listener, as second-person usually does. But it also refers to dog owners in general. I have always been curious about this. I've read about Fermat's little theorem and generally how congruence works. But I can't figure out how to work out these two:   $13^{100} \bmod 7$ $7^{100} \bmod 13$   I've also heard of this formula:  $$a \equiv b\pmod n \Rightarrow a^k \equiv b^k \pmod n $$  But I don't see how exactly to use that here, because from $13^1 \bmod 7$ I get 6, and $13^2 \bmod 7$ is 1. I'm unclear as to which one to raise to the kth power here (I'm assuming k = 100?)  Any hints or pointers in the right direction would be great. bibtex and genitive / possessive 's: the proper way to obtain "Kuran's (1989) model" Is there an automatic way to attach a genitive apostrophe or " ' s " to an author's name?  Currently I use:  \citeauthor{kuran1989}'s \citeyear{kuran1989}   But since this comes up regularily I'd like to know whether there's a general solution. How would I identify what's causing my Mac to permanently hang on shutdown? Whenever I try to shutdown or reboot my Mac (Macbook Pro 15" Retina late 2013, OS X 10.11.3) it closes all programs like normal and then it goes into that black screen with the progress bar. When it gets to about halfway it permanently hangs and won't ever finish rebooting. I looked at the log viewer and couldn't find anything in particular. Is there a way to monitor a shutdown more closely and find out what's causing it to get stuck? I need a software, that emulates a printer, converts the printed documents to PDF/TIFF and send it via eMail to a specified address (for windows).  The virtual printer / PDF conversion is possible with a lot of PDF-converters. But I need a software, which is also able to directly mail me these PDFs. It's always the same mailaddress, and I have an SMTP server.  Any suggestions? I am new to photography, and need a little advice. I currently have a .   To get rolling, where do I go from here? Does the camera matter? Is this camera enough to start with? I have two groups with equal variances and unequal sample size (28 and 8) and I want to run a Student t-test. Can I use Mann-Whitney considering that the variances are equal? Do you think if there is a better test to compare the samples? bash: ./program: cannot execute binary file: Exec format error I'm trying to run a program, but an error happens like this:  bash: ./program: cannot execute binary file: Exec format error   The result of file program was:  program: ELF-32-bit LSB executable, ARM, EABI4 version 1 (SYSV), dynamically linked(uses share libs), for GNU/LINUX 2.6.16, not stripped   How can I fix this error?  I'm using Ubuntu 14.04.2 (amd64) with VMware. I also tried with Ubuntu i386, but result was same. How to use sed to replace only the first occurrence in a file? I would like to update a large number of C++ source files with an extra include directive before any existing #includes. For this sort of task, I normally use a small bash script with sed to re-write the file.   How do I get sed to replace just the first occurrence of a string in a file rather than replacing every occurrence?  If I use  sed s/#include/#include "newfile.h"\n#include/   it replaces all #includes.   Alternative suggestions to achieve the same thing are also welcome.