I tried to compile this code using xelatex.  \documentclass[a4paper,12pt]{scrartcl} \usepackage{fontspec} \usepackage{mathpazo} \usepackage{lipsum}  \begin{document} \lipsum \end{document}   It seems the font is not loading.   How do I fix this?
I would like to use Zapf's Palatino font for the text in my document, which also includes a lot of maths. And I would like a good font for the maths. This is a snapshot of what I am doing.  \documentclass[10pt,letterpaper]{memoir} \usepackage{amsmath} \usepackage{amssymb} \usepackage{mathpple} \usepackage{upgreek} \usepackage{mathpazo} \usepackage{lipsum}  \begin{document}  \chapter{Demo}  Some regular text. \lipsum[1]  Now for some maths.  \begin{displaymath} P_{N-1 + m} = \frac{C}{N-{1} + m} \binom{N_{2} - N_{1}}{m}         \alpha^{m}\beta^{(N_{2} - N_{1}) -m} \end{displaymath}  The number 27 is the sum of the first 5 odd prime numbers: $27 = 1+3+5+7+11$  \end{document}   To me the text and math fonts seem a good fit but the text does not look like Palatino.
I've got a 32-bit Ubuntu installation running on 64-bit hardware. Now that , I would like to switch to 64-bit without having to reinstall the OS.  This is one of the :  Shawn installed his system using the 32-bit version of Ubuntu, but his hardware is 64-bit and he wants to switch over. He manually installs the amd64 versions of dpkg and apt, replacing the i386 versions and changing which architecture is used as the default; then he installs the amd64 ubuntu-minimal package; then he installs the amd64 ubuntu-desktop package. Over time the remaining i386 packages are replaced automatically on upgrade.  However, when trying to follow the instructions in there, I cannot find any 64-bit version of dpkg or apt.  Did this user story got implemented in a different way in the final spec, or do I need to do something differently?  In short, how can I switch my 32-bit installation to 64-bit? Resistor in series needed with LED string? If I said, &quot;I will run, not if it is snowing, if I my shoes are comfortable.&quot; Does the &quot;if my shoes are comfortable&quot; modify the &quot;I will run&quot; clause? I agree the sentence would be clearer with the addition of &quot;and&quot; in place of the comma. However, without the &quot;and&quot; is it still clear that the &quot;if my shoes are comfortable&quot; clause modifies the &quot;I will run&quot; clause? Save site as template using client object model I'm using Ubuntu 17.10 with GNOME shell and Numix-Circle icon theme.   When I hover over the Numix icon for Nightly Web Browser, which is pinned to the dock I get the title "Nightly Web Browser".      But when I launch the program, another icon pops up at the bottom, with the name "Nightly". I'm working with a date in this format: yyyy-mm-dd.  How can I increment this date by one day? why is nautilus slow? I'm wondering why Nautilus is very slow when opening a directory containing lots of files. My /usr/lib dir for example has 1900 files and it takes approximately 5+ seconds to show everything. It has been like this since I installed Ubuntu few months ago and it's really quite annoying sometimes. I don't have powerful hardware but I know that Windows Explorer is so much faster than this.   Is there anything that can be done to speed it up?  Ubuntu 10.04 Stop making iPhone constantly change sound volume on its own? I regularly get interrupted in watching and listening to video by the volume randomly getting lowered without me asking for it. I get a system notification telling me &quot;the volume was lowered&quot;, telling me it's protecting my hearing based on the last 7 days of use. I've never been asked about enabling such a feature. I have already disabled what relevant items I can find under Sound &amp; Haptics, which is given as the source of the notification. It apparently doesn't matter though because it's not being respected. How can I make this stop? iPhone 8, iOS 14.2 What's the difference between an adjective and a past participle? I'm really confused about the object     the doctor specialized will help you   or     the documents required   How can I tell in the future, if I have to use the past participle or the adjective? And what's the name of this structure? It is my understanding that metals are a crystal lattice of ions, held together by delocalized electrons, which move freely through the lattice (and conduct electricity, heat, etc.).   If two pieces of the same metal are touched together, why don't they bond?   It seems to me the delocalized electrons would move from one metal to the other, and extend the bond, holding the two pieces together. If the electrons don't move freely from one piece to the other, why would this not happen when a current is applied (through the two pieces)? Proper capitalization of commonly used acronyms and initialisms I was always under impression, that acronyms ought to be written all caps. However reading  site very often I see some of the common acronyms written as proper names (first cap). For example "Nato" instead of "NATO".   I know that BBC is quite strict in proper English usage, so what would be the reason behind this? How can I get free or trial ExactTarget instance Construct a command by putting a string into a tty I managed to do this  echo -n "command" &gt; /dev/tty1  The letters appear, and the cursor moves, but they are "ghosts" – if you hit Enter, nothing happens (they are not in stdin).  Edit:  In the middle of the below screenshot, you see why I see the use of this. (The line with a red caption, right below the line with a yellow caption.) As it is now, you are not really "editing" the note text; you are just asked to write a new text, which will replace the text of the note you are (not really) editing. Thus, I thought it could be remedied by simply pasting the old text into the tty: if the user hits enter, no modification is made. (This program is in Perl/MySQL, but I thought it would be more interesting to ask for a general solution than "how do I do this in Perl".)    Edit 2:  Here is the Perl code, that uses the C code below (works exactly as intended), as well as a new screenshot – hopefully this will clarify things beyond doubt :) Again, look at the middle of the screenshot, where the edit is made to the note text - this time around, the old text is there, for example if you just wanted to fix a typo, you won't have to retype the entire note text.  my $edit_note_text = $edit_note_data[2]; print BOLD, RED, " new text: ", RESET; system("writevt /dev/tty \"$edit_note_text\""); my $new_text = &lt;$in&gt;; $new_text = fix_input($new_text); my $set_text = "UPDATE notes SET note = \"$new_text\" WHERE id = $edit_note_id"; $db-&gt;do($set_text); I'd like to output hello world over 20 characters.  printf "%-20s :\n\n" 'hello world!!'  # Actual output hello world!!        :  # Wanted output hello world!!========:   However, I don't want to complete with spaces but with "=" instead. How do I do that? I have this recipe for cheese curds that I want to try: , but it specifically calls for raw milk which is near to impossible to get here. I make yogurt with pasteurized milk and it works no problem, but does cheese somehow work differently? I am trying to retrieve VersionData with a standard REST API call from a VisualForce Page a then upload it to a S3 bucket but end up with corrupted files. I believe this is an encoding problem on the client side as plain text or CSVs work like a charm. I can upload VersionData from Apex but there are heap and request size limitations so I need to send the data from the client.   This is the call and returned string, I tried changing mimeType and encoding on both sides (SF call and S3 upload) with no luck.   Any ideas how to properly process images or pdf files? Thanks a lot  THE PROBLEM IS NOW SOLVED  Files should not be treated as strings. I solved the problem by leaving jQuery's ajax as I did not succeed to request a response type. By switching to plain JS and making a GET call (XMLHttpRequest) with response type set to blob I received an Object, instead of a string. Base64 string can be then retreived using JS FileReader. Do things use apostrophe for indicating possessive? Possible Duplicate:          If someone owns something I would say: Mom's car.  But if the owner is not a person, does it actually own it according to English rules or common usage? Which phrase is right?         The house windows.   The house's windows.   The windows of the house. (Or something like that.)      (Feel free to modify this question so it would be clear for other people.) Why is the detection of gravitational waves so significant? LIGO has announced the detection of gravitational waves on 11 Feb, 2016. I was wondering why the detection of gravitational waves was so significant?   I know it is another confirmation of general relativity (GR), but I thought we had already confirmed GR beyond much doubt. What extra stuff would finding gravitational waves teach us? Is the detection of gravitational waves significant in and of itself, or is there data which can be extracted from the waves which will be more useful? I want a translucent PNG overlayed on top of my screen (above all windows). I'm using this to mark a visible region while streaming.   So far I've figured out that qiv -transparent filename.png will add a mask to the window, but it's a boolean mask. I don't get translucent fading with the alpha channel.  I know several effects have opacity, and I can sent window opacity, so I'm hoping there's some way to display an image that way.  What program, tool, or widget can I use to blend an image onto the top of the desktop? I'm trying to use Python to place a camera. I know the camera's location, and the forward and up vectors for the camera (i.e. the direction it's pointing and its orientation). How do I do this?  I know that it's possible to calculate a raw world matrix from the above information, which I can then apply to the camera, but I was rather hoping not to have to. Is there an easier way?