I have the following problem to include a pdf (also tried eps) to a latex document. I always get this fault:      ! Extra }, or forgotten \endgroup. \endpicture -&gt;\egroup \hss \egroup                                     \ht \@picbox \@picht \dp \@picbox \z@ \mb... l.121   \end{picture}                      %   When I count the { and }'s I see one more } ! But I cannot find the point where this i could be.  I also checked my text in the document and tried it without text.  Also I think there is a Bug in Inkscape. When I am making the pdf and the tex file, the pdf file has only 1 page, but the tex document tries to include page 1-4. So I have to remove this code lines. After this the error described above comes up.  Anyone has an idea about all this?  Thanks  edit:  The .pdf_tex file looks like this:  As you can see there are the   \put(0,0){\includegraphics[width=\unitlength,page=   lines. When I delete this lines everything works fine. But with them I get an error like:  page does not exist &lt;1&gt;   It always shows the last available page in the PDF document.      \begingroup%   \makeatletter%   \providecommand\color[2][]{%     \errmessage{(Inkscape) Color is used for the text in Inkscape, but the package 'color.sty' is not loaded}%     \renewcommand\color[2][]{}%   }%   \providecommand\transparent[1]{%     \errmessage{(Inkscape) Transparency is used (non-zero) for the text in Inkscape, but the package 'transparent.sty' is not loaded}%     \renewcommand\transparent[1]{}%   }%   \providecommand\rotatebox[2]{#2}%   \ifx\svgwidth\undefined%     \setlength{\unitlength}{435.32183943bp}%     \ifx\svgscale\undefined%       \relax%     \else%       \setlength{\unitlength}{\unitlength * \real{\svgscale}}%     \fi%   \else%     \setlength{\unitlength}{\svgwidth}%   \fi%   \global\let\svgwidth\undefined%   \global\let\svgscale\undefined%   \makeatother%   \begin{picture}(1,0.50752079)%     \put(0,0){\includegraphics[width=\unitlength,page=1]{circuit_grid.pdf}}%     \put(0.37340864,0.37886437){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{}}}%     \put(0,0){\includegraphics[width=\unitlength,page=2]{circuit_grid.pdf}}%     \put(0.62573349,0.26491124){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{}}}%     \put(0,0){\includegraphics[width=\unitlength,page=3]{circuit_grid.pdf}}%     \put(0.2106184,0.36258536){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{}}}%     \put(0.79666323,0.32188779){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{}}}%     \put(0,0){\includegraphics[width=\unitlength,page=4]{circuit_grid.pdf}}%   \end{picture}% \endgroup%
I checked the other question similar to this issue yet I could not find a proper solution for the issue I am facing for including an .svg file which is converted using inkscape with pdf+latex option set to ON, and I have also included both the .pdf and .pdf_tex file in the path. Yet I get the above mentioned error.   My code:  \begin{figure}[h!]  \centering \def\svgwidth{\columnwidth} \input{Implementation/Figs/most_changed_from_default_pos_0.pdf_tex} \end{figure}   Full error description:  !pdfTeX error: pdflatex (file /compile/Implementation/Figs/most_changed_from_default_pos_0.pdf): PDF inclusion: required page does not exist &lt;5&gt;   Any help to solve this issue would be really appreciated. I also downloaded the pdf file to check whether it has 5 pages. I could verify it, there were 5 pages in the pdf file.   The file which I want to convert is   I have added the google drive link to the file which I have used for analysis herewith
Can an iOS user play with pc users? I have a Mac only, so I am not able to get Terraria through Steam. I was wondering if I can play Terraria on my iPad Mini with a friend who has it on his PC. I was wondering this, because I saw that Deepworld on iOS is compatible with the Mac version. GPU usage monitoring (CUDA) I installed CUDA toolkit on my computer and started BOINC project on GPU. In BOINC I can see that it is running on GPU, but is there a tool that can show me more details about that what is running on GPU - GPU usage and memory usage? Probability of area being greater than 0.5 with random lines "They're using a cell phone" vs. "They're using cell phones" The usage of singular and plural has always been confusing for me.   I often see sentences like these         People are using cell phones.   People are using a cell phone.      Does the first sentence mean everyone has a phone and they are all using their own?  Does the second sentence mean they are sharing one cell phone?   If I see a group of people holding a cell phone in their hand(s), &lt;- even this is confusing for me, should I use the first sentence then?   Another example: you see two men, and both of them are carrying a bag. Which sentence should I say/use?        They are carrying backpacks          They are carrying a backpack      Could you please make it clear for me? I created a Compute Engine VM (Ubuntu 18.04), and when I log into it using the SSH button in the VM instances list I'm logged in as user username.  After a while, I realised I needed to be able to use another SSH client as well. As per  I enabled OS Login by adding a key-value pair in metadata, where key is enable-oslogin and value is TRUE.  I then tried to add my existing SSH key:  gcloud compute os-login ssh-keys add --key-file path/to/key.pub --ttl 0  which was successful except one major problem: it has added the key for user username_gmail_com and will only allow me to ssh to my VM as that user:  ssh username_gmail_com@myinstance  And it has also created that user on my VM. From the web interface, I'm logged in to the VM with that new user as well (/home/username_gmail_com). Of course, I can still access the original user's data (/home/username). When I disable OS Login the web interface logs me in as username again and SSH from another client is disabled.   Why is the username different when enabling OS Login? Can I change the username with OS Login enabled?   Edit  There has been an addition to the docs explaining exactly this question. Check here:  and on  all the way at the bottom under "Expected login behaviors". How to fix the incompatility between BiBer and BiBLaTeX versions in TeXmaker? Create database fields to an existing table when installing a module I'm new to drupal and I need some help.  I created a new module with name user_extra. Which create necessery table when Installing the module.  But I also need to insert some database field in 'users_field_data' table ('user_extra_id' and 'user_office')  In baseFieldDefinitions I wrote all necessery database table fields for user_extra table.   public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {     // Standard field, used as a unique if primary index.     $fields['id'] = BaseFieldDefinition::create('integer')         -&gt;setLabel(t('Unit ID'))         -&gt;setDescription(t('The unit ID.'))         -&gt;setReadOnly(TRUE)         -&gt;setSetting('unsigned', TRUE);      $fields['uuid'] = BaseFieldDefinition::create('uuid')         -&gt;setLabel(t('UUID'))         -&gt;setDescription(t('The unit UUID.'))         -&gt;setReadOnly(TRUE);         .         .         .     $fields['user_info'] = BaseFieldDefinition::create('string')         -&gt;setLabel(t('User Info'))         -&gt;setDescription(t("The User Info"))         -&gt;setSetting('max_length', 255)         -&gt;setDisplayOptions('form', array(           'type' =&gt; 'string_textfield',           'weight' =&gt; 10,         ))         -&gt;setDisplayConfigurable('form', TRUE);      return $fields;      }   When I install the module it inserts all values that I define in baseFieldDefinitions.  But I also need to create 'user_extra_id' and 'user_office' in 'users_field_data' table with setDisplayOptions and setDisplayConfigurable options.  This is the commenting that I made in entity file  /**  * @ContentEntityType(  *   id = "user_extra",  *   label = @Translation("user extra"),  *   handlers = {  *     "storage" = "Drupal\user_extra\UserextraStorage",  *     "storage_schema" = "Drupal\user_extra\UserextraStorageSchema",  *     "access" = "Drupal\user_extra\UserextraAccessControlHandler",  *     "list_builder" = "Drupal\user_extra\UserextraListBuilder",  *     "view_builder" = "Drupal\user_extra\UserextraViewBuilder",  *     "views_data" = "Drupal\user_extra\UserextraViewsData",  *     "form" = {  *       "default" = "Drupal\user_extra\Form\UserextraForm",  *       "add" = "Drupal\user_extra\Form\UserextraAddForm",  *       "edit" = "Drupal\user_extra\Form\UserextraEditForm",  *       "delete" = "Drupal\user_extra\Form\UserextraDeleteForm",  *     }  *   },  *   admin_permission = "administer user_extra",  *   base_table = "user_extra",  *   entity_keys = {  *     "id" = "id",  *     "label" = "name",  *     "uuid" = "uuid",  *   },  *   links = {  *     "canonical" = "/admin/user_extra/{user_extra}",  *     "add-form" = "/admin/user_extra/add",  *     "delete-form" = "/admin/user_extra/{user_extra}/delete",  *     "overview-form" = "/admin/user_extra/${user_extra}/overview",  *     "edit-form" = "/admin/user_extra/{user_extra}",  *     "collection" = "/admin/user_extra",  *     "children" = "/admin/user_extra/{user_extra}/children",  *   },  * )  */ hyperlink name with biblatex authoryear (biblatex 1.4b) Traverse a list in reverse order in Python In Adobe Photoshop I am able to select multiple layers at once with Shift+Click.  How can I do that in GIMP? How to truncate a file in C? How to resolve "iTunes could not back up the iPhone because the backup was corrupt"? When I try to sync my iPhone with my computer, I get the following message:       iTunes could not back up the iPhone "iPhone Name"   because the backup was corrupt or not compatible   with the iPhone.      Delete the backup for this iPhone, then try again.   Yet, here is no option to delete the backup. Where are backups stored / how can I delete the backup?  This is iTunes version 10.5.3 running under  Mac OS X 10.6.8. Huge close votes review queue on Stack Overflow Why are my photos not crisp? I use a Canon EOS Rebel T3i (600D) with the kit lens. I have experimented a lot with different settings and modes, but I feel like I have wasted many good shots that could have looked amazing, if only they were a little bit sharper.  I use auto-focus on most of my pictures and make sure to choose the right focus point, but all of my photos are still a little bit out of focus. When I zoom in, I can see that the pixels are not very crisp or well-aligned.  I am not sure if this issue is caused by my equipment or skills. A No-Nonsense Introduction to Quantum Field Theory I found Sean Carroll's "A No Nonsense Introduction to General Relativity" (about page .  pdf ), a 24-page overview of the topic, very helpful for beginning study.  It all got me over the hump of learning the meaning of various terms associated with GR, most of which I had heard before without understanding.  It also outlined the most important examples.  Is there a similar document for quantum field theory, which presents the main equations, briefly describes the main ideas, and summarizes the most important applications and results so that the reader can feel the lay of the land before studying in depth? Say we have the following sample and we are trying to estimate the variance of the sample mean of the population.  X = [0, -1, 2, 10, -3]   If I take an increasing number of bootstrap (e.g. 100, 1000, 10,000, 100,0000), the bootstrap distribution of the sample mean gets narrower and narrower. In other words, I can make the bootstrap distribution arbitrarily narrow.   Given the above, what's the point of using a different number of bootstrap samples here? And wouldn't this mean that I could make the standard error of the mean arbitrarily small by just taking more and more bootstrap samples? What am I missing?  Please note that I am doing a proper bootstrap sample in the sense that each bootstrap sample has the same exact size as the original sample (input array). How do I replace multiple spaces with a single space in C#? How can I replace multiple spaces in a string with only one space in C#?  Example:  1 2 3  4    5   would be:  1 2 3 4 5 Should I buy a Canon 55-250mm lens or 70-300mm for my Rebel T3i? I have the basic 18-55mm lens that came with my camera but I need a next step up that's not too expensive.   What are the most common types of photos shot with either lenses? Or what is each lens best for? drupal 7 + services 3 - inserting nodes with select fields I'm using Drupal 7 + Services 3 to create nodes with POST and JSON. Everything works fine, except field types of select - entity reference select or plain text.  The entity reference uses the autocomplete widget, while the text select is a plain radio button.  This is the format I'm using:  "field_urgency": {     "und": [  {  "value": 1    }   ] } Real analysis derivate problem. How can I prove this? Let $f$ be differentiable in $[a,b]$ and $f(a)=0$. If $\exists M \in R$ such that $\vert f'(x) \vert \leq M \vert f(x)\vert \ $,  $\forall x \in [a,b]$, then $f(x)=0, \ \forall x \in [a,b]$.  $\\$ I have an idea, but I can´t see it clear. I have arrived to the inequality $\vert f(x)\vert \leq  K\vert f(y)\vert $ for $y \in (a,x)$, supposing $k&gt;0$ and repeating the process $\vert f(x)\vert \leq  K^n\vert f(z)\vert$ for $a&lt;z&lt;y&lt;x$. If $K&lt;1$, then if $n \rightarrow \infty \ $, $f(x)=0$. That´s a sort of intuitive idea.