I'm trying to highlight a couple of keywords which contain non-ASCII characters using the listingsutf8 package. This is the relevant part of my document:  \usepackage[brazilian]{babel} \usepackage[T1]{fontenc} \usepackage[utf8x]{inputenc} \usepackage{listingsutf8} \lstset{     extendedchars=true,     inputencoding=utf8x,     keywords={Funcionalidade, Para, Como, Eu, Contexto, Cenário, Dado, Quando, Então},     literate=% {á}{{\'a}}1 {ã}{{\~a}}1 {ç}{{\c{c}}}1 {é}{{\'e}}1 {ê}{{\^e}}1 {õ}{{\~o}}1 {ó}{{\'o}}1 }   The ASCII only keywords are being highlighted correctly, but the Cenário and Então keywords are not. I have also tried with emph and changing inputencoding, but it doesn't work either:  \lstset{     inputencoding=utf8/latin1,     emph={Cenário, Cen\'ario, Cenario},emphstyle={\bfseries} }   If it's relevant, the listing I'm trying to highlight comes from a separate file, using the \lstinputlisting command. If I had to guess, I would say that it has something to do with the literate params.
This is what I would like to do:  morekeywords={SENÃO, ENTÃO, FAÇA, ATÉ, ENQUANTO, PARA, SE, DECLARA, DECLARE, E, OU, FIM_ENQUANTO, FIM_PARA}   I'm defining a new language, and I would like to use natural language words as keywords.  The problem is with keywords: SENÃO, ENTÃO, FAÇA, ATÉ.  I have solved the first problem, in showing special chars with:   The alsoletter here, doesn't work for me, I got an error when using it: alsoletter={Ç,É,Ã}.  test.tex  \documentclass{article}  \usepackage[brazilian]{babel} \usepackage[T1]{fontenc}  \usepackage[utf8]{inputenc} \usepackage{listingsutf8}  \usepackage{listings}  \lstset{%         inputencoding=utf8,         extendedchars=true,         literate=%         {é}{{\'{e}}}1         {è}{{\`{e}}}1         {ê}{{\^{e}}}1         {ë}{{\¨{e}}}1         {É}{{\'{E}}}1         {Ê}{{\^{E}}}1         {û}{{\^{u}}}1         {ù}{{\`{u}}}1         {â}{{\^{a}}}1         {à}{{\`{a}}}1         {á}{{\'{a}}}1         {ã}{{\~{a}}}1         {Á}{{\'{A}}}1         {Â}{{\^{A}}}1         {Ã}{{\~{A}}}1         {ç}{{\c{c}}}1         {Ç}{{\c{C}}}1         {õ}{{\~{o}}}1         {ó}{{\'{o}}}1         {ô}{{\^{o}}}1         {Õ}{{\~{O}}}1         {Ó}{{\'{O}}}1         {Ô}{{\^{O}}}1         {î}{{\^{i}}}1         {Î}{{\^{I}}}1         {í}{{\'{i}}}1         {Í}{{\~{Í}}}1 }  \lstdefinelanguage{pseudo} { extendedchars=true, alsoletter={_}, morekeywords={ENQUANTO,PARA,SE,SEN\~{A}O,ENTÃO,ATÉ,FA\c{C}A,DECLARA,DECLARE,E,OU,FIM_ENQUANTO,FIM_PARA,FAÇA}, ndkeywords={NUMERO,TEXTO,LEIA,ESCREVA}, sensitive=true, morecomment=[l]{//}, morecomment=[s]{/*}{*/}, morestring=[b]" }  \begin{document} \lstinputlisting[language=pseudo]{foo.pseudo} \end{document}   foo.pseudo  ENQUANTO nota != -1 FAÇA // Comment example  LEIA nota  SE nota &gt;= 7 ENTÃO    ESCREVA "Aprovado"  SENÃO    ESCREVA "Reprovado"    TEST "Algo mais" /* mais  comentário */  FIM_ENQUANTO    I have seen:
Does this need a comma? Is it possible to install Ubuntu FROM a smartphone? So, I'm in a situation were I want to install ubuntu in my laptop (currently running windows 8) but I don't happen to have pendrives, CDs or the like available. The only "external" device I have with me is a samsung galaxy s2 with a micro SD-card in it.   Is it possible to use the phone as a pendrive to install ubuntu from it somehow? (without damaging the phone's OS and data) I'm trying to fill out the skills section on my first character, but when I look at the character sheets in the Starter Set as examples of how to make a character, the skills that are circled have higher modifiers than their Dexterity or Strength or whatever should make them.  I've filled out all skills but those. What do I add to the ability modifier to get those numbers?   My abilities are Strength 13, Dexterity 14, Constitution 11, Intelligence 15, Wisdom 8, and Charisma 8. Proficiencies are Arcana, Athletics, History, Investigation and Stealth. My saving throws are Strength and Dexterity.   I just started D&amp;D and have the Player's Handbook, DM's Guide, Monster Manual, and the Starter Set. What are the limits of house-elf apparition? I know Wizards can't apparate where they want on the Earth, except if they are very powerful but what about a house-elf ? Their magic is different so I was wondering if they can apparate wherever they want or if they have a limit too. Show that $\lim_{n\to\infty}b_n=\frac{\sqrt{b^2-a^2}}{\arccos\frac{a}{b}}$ If $a$ and $b$ are positive real numbers such that $a&lt;b$ and if $$a_1=\frac{a+b}{2}, b_1=\sqrt{(a_1b)},..., a_n=\frac{a_{n-1}+b_{n-1}}{2},b_n=\sqrt{a_nb_{n-1}},$$ then show that   $$\lim_{n\to\infty}b_n=\frac{\sqrt{b^2-a^2}}{\arccos\frac{a}{b}}.$$ I tried to calculate explicitly the first few terms $a_2,b_2$ etc but the terms got too complicated really quickly and I couldn't spot any pattern. I'm having a hard time understanding how changing space means changing time. In books I've read people are saying "space and time" or "" but never explain what the difference is between the two concepts or how they are related.  How are the concepts of space, time, and space-time related? Options for object creation are greyed out I am trying to model a tree. I turned on the Add a sapling add-on in user preferences, however once I want to begin editing the settings, they come up but is grey and doesn't let me click on it.    I have also attached my blend file here: Can't update because the word prox* is blocked I live in Ethiopia and the government blocks all urls with the word "proxy" in them. I couldn't use that word in the title above because that would make the url contain the word proxy.   When I apt-get upgrade I get errors because some packages like libproxy1, libproxy1-plugin-gsettings, libproxy1-plugin-networkmanager, python-libproxy all contain the p word.  Therefore, it is all blocked. I tried putting the urls into proxy sites, but they all just returned to their home page.   Are there any other solutions? Best Place to put Feature Requests? The only place I am aware of is the . Convert from a specifc range to another one If Steve Rogers wasn't so weak, could Cap be even stronger? How do I remove an element from a list by index in Python?  I found the list.remove method, but say I want to remove the last element, how do I do this? It seems like the default remove searches the list, but I don't want any search to be performed. What does "I have straight A's." mean? ASP.NET MVC 3 localization with DisplayAttribute and custom resource provider Find all files that are NOT of a specific type/extension in folder? SQL not engaging parallelism for extremely large query Add the ability to ignore users What is *Cell standby* and how can I keep it from eating my battery? Looking up my battery statistics, I almost always find Cell standby amongst the top consumers:    I never thought that "idle" would use so much energy. I saw that other people encounter similar problems:       Answers on those questions just give some raw ideas. I would like to know what exactly stands behind this, an whether there are ways to keep this "standby" from eating my battery? If there are injective homomorphisms between two groups in both directions, are they isomorphic? If I have two groups, $G$ and $H$ and two injective homomorphisms $\phi:G \to H$ and $\psi: H \to G$, then by the first isomorphism theorem applied to $\phi$, we have that $G \cong \mathrm{Im} (\phi)$, a subgroup of $H$. Similarly, $H$ is isomorphic to a subgroup of $G$. For finite groups, this guarantees that $G \cong H$ but does this hold for infinite groups?  Weird things can happen for infinite groups, e.g $n\mathbb Z \subsetneq \mathbb Z$ but $n \mathbb Z \cong \mathbb Z$. I'm wondering if this kind of thing stops an isomorphism from occurring.  I think this question generalises to rings, modules, fields and so on. Can this be answered for all of these structures? How do I turn off the Minecraft 1.7.2 Super Secret Settings? How do I turn off the Minecraft 1.7.2 super secret settings? I tried F3 and F4, hitting Esc repeatedly, all things mentioned on blogs – nothing is working.