When TeX4ht compiles my latex code it generates a png of my equation and includes this in the html file.  Until a better alternative for this comes along I am quite happy with this way of managing/presenting my equations.    This is a collaborative project and I am working with some very anti-latex and anti software people, so I generate html files that they can edit.  By ensuring complete compatibility between the html file and pdf generation everyone remains happy.  I would however prefer to have a higher resolution image that my collaborators can read without getting frustrated with the document quality.    Approaches I have investigated and been unsuccessful with:     An excellent explanation that I apologize for missing during my initial week spent trying to solve this issue here  uses a conversion of eps to svg.     Unfortunately eps are not file extensions that my collaborators can open, nor is it something they are willing or even capable to upgrade software to work with.  So This solution is not my preferred approach unless the final image type is not an eps.    I am sure I am not doing something quite right with the implementation of this as on our work computers I am left only with the eps file, no png or svg are created, and browser/editable integration of the eps is hit or miss.  If memory serves, the mentioned convert program is part of imagemagick which we do have installed, so I am at a loss why the svg or png creation is absent using the custom cfg file mentioned in the solution.  Maybe this should be the question itself which I believe is completely distinct albeit related to the question that this is currently marked as a duplicate for.   It might be neat to use a completely different approach maybe using  which honestly I haven't even been able to figure out how to compile their examples - but I feel it holds promise for the issue I described above if I can figure out what it is supposed to do and how to do it (unless this tool is the best option to solve my problem, this is a question for another day which I will post and edit this question to remove this aspect to prevent duplication).  One aspect of this approach that would interest me, is the appearance that this is not a picture, but formatted text...   Here is my MWE.  \documentclass{report}   \usepackage{amsmath} \begin{document}         \begin{equation}             \text{C~=~}{\frac{a}{b}}         \end{equation} \end{document}
I'm using tex4ht to produce XHTML files from a LaTeX file. The XHTML file I obtain uses images for some equations which tex4ht could not convert directly to XHTML.   Problem: images of equations have very bad quality.   What I want: Better quality images.  More info on attempts &amp; system:  I'm using MikTeX 2.9 under Windows Vista. I go to the command line and type htlatex document.tex "xhtml" to get the resulting XHMTL file.   After doing some search on the web, I tried to change the file tex4ht.env as mentioned in  (changing -density 110x100 to -density 220x220 -geometry 50%) in all locations I could find in my system (within the MikTeX path and also in the AppData windows directory) but the results are the same. I obtain during the compilation of hlatex the following line (among others):     System call: mgs -sDEVICE=pngalpha -sOutputFile=Untitled11x.png   -r110x110 -dEPSC rop -dBackgroundColor=16#ffffff -dTextAlphaBits=2 -dGraphicsAlphaBits=2 -q -dbat ch -dNOPAUSE zzUntitled1.ps -c quit   In particular, I would guess that the -r110x110 means resolution was still set to 110x110, despite my changes to the file tex4ht.env.  Any suggestions on how to improve the quality of equations images?
raw_input in python without pressing enter If Anakin Skywalker didn't get what he wanted as a Sith (to save Padmé), why was he still a Sith? In the prequels, the primary reason Anakin was willing to become  is because he wanted to save Padmé;     ANAKIN: I will do whatever you ask.       PALPATINE: Good.       ANAKIN: Just help me save Padme's life. I can't live without her. If she dies, I don't know what I will do.      PALPATINE: To cheat death is a power only one has achieved, but if we work together, I know we can discover the secret.       ANAKIN kneels before PALPATINE.       ANAKIN: I pledge myself to your teachings. To the ways of the Sith.   Given that he didn't manage to save her, why did he still become a Sith? Opening the menu and selecting an item from the "Favorite Sites" menu allows us to see a feed for a specific site. In the top right corner of this page is a drop-down which allows us to select the "sort order" for the posts. The default is "Active" with other options like "Newest", "Hot", etc.  The problem is that when I select "Newest" or any other option. This preference is not remembered when I change between a different "Favorite Site".  So I am requesting that the selection is persisted when changing between site feeds. I have no preference whether this is implemented per site (to allow a different default for each site) or just one single preferred default that works on all sites (last option selected). I just want it to remember that I have selected "Newest" when I am flicking though the sites. How to remove garlic smell from refrigerator/ice maker How to evaluate the integral $\int_0^{\pi}\frac{a^n\sin^2x+b^n\cos^2x}{a^{2n}\sin^2x+b^{2n}\cos^2x}dx$? Evaluate the integral $$\int_0^{\pi}\frac{a^n\sin^2x+b^n\cos^2x}{a^{2n}\sin^2x+b^{2n}\cos^2x}dx.$$   I have no idea.   $$\int_0^{\pi}\dfrac{a^n\sin^2x+b^n\cos^2x}{a^{2n}\sin^2x+b^{2n}\cos^2x}dx=\int_0^{\pi/2}\dfrac{a^n\sin^2x+b^n\cos^2x}{a^{2n}\sin^2x+b^{2n}\cos^2x}dx=\int_0^{\pi/2}\dfrac{a^n\tan^2x+b^n}{a^{2n}\tan^2x+b^{2n}}dx$$  I try the substitution $\tan{x}=t$, but it doesn’t work. I just bought a used  and it comes with regular rim brakes. I'm perfectly happy with them so far, but have been wondering if disc brakes would come handy when it rains.  What is involved in converting a bike from rim brakes to disc brakes (mechanical or hydraulic)?   Is this something that is feasible, or am I better off buying another bike that already has disc brakes? Why every polynomial over the algebraic numbers $F$ splits over $F$? I read that if $F$ is the field of algebraic numbers over $\mathbb{Q}$, then every polynomial in $F[x]$ splits over $F$. That's awesome! Nevertheless, I don't fully understand why it is true. Can you throw some ideas about why this is true? I'm examining a part of my dataset containing 46840 double values ranging from 1 to 1690 grouped in two groups. In order to analyze the differences between these groups I started by examining the distribution of the values in order to pick the right test.  Following a guide on testing for normality, I did a qqplot, histogram &amp; boxplot.       This doesn't seem to be a normal distribution. Since the guide states somewhat correctly that a purely graphical examination isn't sufficient I also want to test the distribution for normality.   Considering the size of the dataset and the limitation of the shapiro-wilks test in R , how should the given distribution be tested for normality and considering the size of the dataset, is this even reliable? ()  Edit:  The limitation of the Shapiro-Wilk test I'm referring to is that the dataset to be tested is limited to 5000 points.  To cite  concerning this topic:     An additional issue with the Shapiro-Wilk's test is that when you feed   it more data, the chances of the null hypothesis being rejected   becomes larger. So what happens is that for large amounts of data even   very small deviations from normality can be detected, leading to   rejection of the null hypothesis event hough for practical purposes   the data is more than normal enough.      [...] Luckily shapiro.test protects the user from the above described   effect by limiting the data size to 5000.   As to why I am testing for normal distribution in the first place:  Some hypothesis tests assume normal distribution of the data. I want to know whether or not I can use these tests. Uniform Scattering with vector I'm attempting to create a random spread of dots to create a gradient look. I'm getting really close to the effect I want by blending two scatter brushes. The issue I'm having is that the blended brushes creates unwanted lines, and the dots run into each other. I keep adjusting the settings with no luck.  Here's the effect I'm wanting to achieved.    Smooth transition  On Circular path Dots don't converge Scattered at random-ish     Here's how close I'm able to get:   Blended scatters create unwanted lines Dots converge Spacing isn't gradual from edge to center $\zeta_{15}$ is $15$th primitive $n$th root of unity.   Question: Find the structure of the group $Gal(\mathbb{Q}(\zeta_{15})/\mathbb{Q})$  I know that if $p$ is prime then $G=Gal(\mathbb{Q}(\zeta_{p})/\mathbb{Q})=\mathbb{Z_{p}}^*$ but when $p$ is not prime, I am not show how to solve this if not prime.  Does my required group have any relation to some cyclic group $\mathbb{Z_n}$, i.e. abelian  Would really appreciate your guidance as I have not got my head around these concepts of cyclotomic fields and Galois structure. Thanks Reset password in Drupal 6? Why are we using a biased and misleading standard deviation formula for $\sigma$ of a normal distribution? What is spin as it relates to subatomic particles? I often hear about subatomic particles having a property called "spin" but also that it doesn't actually relate to spinning about an axis like you would think. Which particles have spin? What does spin mean if not an actual spinning motion? System freezes/unresponsive/unusable when copying large file to USB Medium with refractive index less than unity? Markov/Chebychev inequality If Z is a square integrable random variable such that $E[Z]&gt;0$, then prove that  $$P(Z\geq k) \geq \frac{(E(Z)-k)^2}{E(Z^2)} \forall k \in [0,E(Z)]. $$  This is a homework question and I don't even understand why the inequality is reversed comparing to Markov/Chebychev inequality. Should Cauchy-Schwartz inequality be used? If yes, then how to begin? Thanks a ton! how can i forward requests to my own IP address to a local IP address in my network (possibly using named)? My setup  I have a linux server running in my basement. I currently have my router looking to that server for DNS lookup, so I can use named to spoof a bunch of domain names to point to my local server's local address, 192.168.0.111. This works great.  I also am running Apache and PHP on this server, and have forwarded port 80 on my router to this machine, so my public IP xx.xxx.x.xx is sent to the basement server.  This is a great development set up for me, because I can develop websites in my local network and pull them up on numerous devices with a *.mylocal.net address. I can also quickly share a website on my public IP with others that are outside of my network.  I have a static IP, so that makes this even easier.  The problem  Some applications need to have an absolute URL. My spoofed DNS doesn't work outside my network, and neither does my internal IP address.  I need to be able to access the sites at the same IP that they are accessed publicly, which is my public IP: xx.xxx.x.xx    For some reason, I can't access my own public IP address from within my own network.  My router's public IP is xx.xxx.x.xx, and when I hit xx.xxx.x.xx from outside my network I see exactly what I want -- my development website. But, when I hit xx.xxx.x.xx from inside my network, the connection times out.    I assume my ISP has a firewall that blocks requests from xx.xxx.x.xx to xx.xxx.x.xx where the origin and the destination are the same IP (or maybe this is impossible on any network?)  So how can I set up my network to forward the internal request to my public IP to the local IP of my basement server?   I would like to do this within the local DNS server I set up, or in my router, so the change can be applied to all devices in my network, and not just the basement server or the windows tablet/laptop, etc individually. Pulling a CSV file from website into QGIS with ability to automatically refresh? For some reason my Steam just broke today after working perfectly since I installed it a few days ago.  It was originally installed via the deb from the Steam site. So I uninstalled that using the Ubuntu Software Center. Then I installed steam-launcher. When I run it from the menu it does nothing at all. When I go through terminal it gives this message, no error:  $ steam/usr/bin/steam:  line 196: /home/andrew/.local/share/Steam/steam.sh: Success   So I purge-removed it and removed the .steams directory from my home directory but on re-installation its the same story.  I am using Xubuntu 12.10 64bit.  It appears that steam .local/share/Steam/steam.sh is blank. What is it meant to have in it? I am so confused with how reinstalling it doesn't fix it. $15x\equiv 20 \pmod{88}$ Euclid's algorithm Use Euclid's algorithm to find a multiplicative inverse of 15 mod 88, hence solve the linear congruence $15x\equiv 20 \pmod{88}$  So far I have:   $88=5\cdot15+13$  $15=1\cdot13+2$  Backwards substitution gives  $15v+18w=1$   $1=15-1\cdot13$   $=15-1(88-5\cdot15)$   $=15\cdot15-1\cdot88$   now very stuck what to do from here:(