I am using the polyglossia package to write a document which contains English text and a few Hebrew names. There seems to be problem with bidi and scrbook as soon there is an appendix. In this case the name of the first chapter in the document is ".1 Chapter One" instead of "1 Chapter One" or "1. Chapter One". How can this be fixed?  Please find below a MWE to reproduce this problem.  \documentclass{scrbook}  \usepackage[no-math]{fontspec} \usepackage{polyglossia} \setmainlanguage{UKenglish} \setotherlanguages{russian, hebrew} \newfontfamily\hebrewfont[Script=Hebrew]{David CLM}  \begin{document}  \chapter{Chapter One}  \section{Section One}  \appendix \chapter{Appendix} \end{document}
I've recently updated from Debian 'jessie' to Debian 'stretch', and have started having a problem with numbers being formatted backwards when using the bidi package in conjunction with the mathspec package.  Here's a MWE:  \documentclass{article} \usepackage{mathspec} \usepackage{bidi} \begin{document} Per 2.7.1 of the RFC. \end{document}   On Debian 'jessie', when built with xelatex, this produces "Per 2.7.1 of the RFC."  But on 'stretch' this gives "Per 1.7.2 of the RFC."    Any suggestions of how to fix this?
Is sun revolving around certain mass in space with reference to some other galaxy? Every planet and satellite revolves around their mother planet and about their own axis as we know. So they are compacted as a system. Then why not sun? I think we all understand the necessity of delete when reassigning a dynamically-allocated pointer in order to prevent memory leaks. However, I'm curious, to what extent does the C++ mandate the usage of delete? For example, take the following program  int main() {      int* arr = new int[5];      return 0; }   While for all intents and purposes no leak occurs here (since your program is ending and the OS will clean up all memory once it returns), but does the standard still require -- or recommend -- the usage of delete[] in this case? If not, would there be any other reason why you would delete[] here? $a\mid b,\ c\mid d\,\Rightarrow\ ac\mid bd $ $\ \, \bf\small [Divisibility\ Product\ Rule]$ I just need to check the reasoning in my proof is correct, I think it is valid although I'm not totally convinced because I can't follow the logic; does proving that $x$ is an integer prove that $ac|bd$?  Theorem: Let $a$, $b$, $c$, $d$ be integers. If $a|b$ and $c|d$, then $ac|bd$.  Proof: $aj=b$ and $ck=d$ for integers $j$, $k$. Then, $ac|bd$ implies $acx=ajck$ and thus $x=jk$ for some $x$. Since the product $jk$ is an integer, $x$ is an integer and thus $acx=ajck$ and thus $ac|bd$. How to suppress Terminated message after killing in bash? Is there a word to describe indecisiveness between two things? Possible Duplicate:          Is there a word to describe indecisiveness, specifically between two things? I tried online dictionaries, but did not find anything. Best File Management Practices when you have thousands of Files We publish over 100+ textbooks and growing (1-color, 2-color, 4-color) maninly designed in CorelDraw &amp; Indesign with associated Image and Font Files. We also have merged multipage PDF &amp; EPS files that we send to our offset printers.Also, some Image files are exclusive to a project while some are shared across projects.   What are the best practices to follow when it comes to management of these files? We are always working on multiple versions of the same files and often with multiple DTP operators.  Right now it is all on a Shared Drive with Individual Folders but that always creates confusion in identifying the latest version of the file and some users save the file to some other folder. Security of the Data is another issue as we work with a lot of freelancers also.  How do big design studios and publishing houses handle versioning, collaboration and the associated files with a project neatly? Do they use a CMS / Document Management System? Brown sugar instead of white sugar I need to prove that $\mathbb{R}\backslash\mathbb{Q} \sim \mathbb{R} $  Using Cantor-Bernstein, need to show an injection from $\mathbb{R}\backslash\mathbb{Q}$ to $\mathbb{R}$ and from $\mathbb{R}$ to $\mathbb{R}\backslash\mathbb{Q}$.    $\mathbb{R}\backslash\mathbb{Q}$ is a subset of $\mathbb{R}$ so only need to show injection from $\mathbb{R}$ to $\mathbb{R}\backslash\mathbb{Q}$ to complete the proof.    Possible injection: $f:\mathbb{R}\to \mathbb{R}\backslash\mathbb{Q}$ defined as $f(x) = \pi x$ if $x$ is not a multiple of $\pi$; otherwise $f(x) = \sqrt{2} x$.    Not sure if $f$ actually is an injection... How many solutions are there to $x_1 + x_2 + ... + x_5 = 21$? How many solutions are there to the equation      $x_1 + x_2 + x_3 + x_4 + x_5 = 21$    where $x_1, i = 1,2,3,4,5$ is a nonnegative integer such that $0 ≤ x_1 ≤ 3, 1 ≤ x_2 &lt; 4$, and $x_3 ≥ 15$?  I have correctly completed the previous parts of the question but am having trouble with this particular restriction.  The total number of solutions to the equation is $C(25,21) = 12650$.  I have tried to do each restriction individually:  For $0 ≤ x_1 ≤ 3$, I solved this by subtracting the number of solutions when $x_1 ≥ 4$ from the total number of solutions. This is $C(25,21) - C(21,17) = 5985$.  For $1 ≤ x_2 &lt; 4$, I have $C(24,20) - C(21,17) = 5985$.  For $x_3 ≥ 15$, I have $C(10,6) = 210$.  However, the restriction is when these are all together. I am not sure how to proceed. The answer is $106$. Kuratowski-Zorn Lemma with pre-order (quasi-order, proset) instead poset? What would happen if we would use pre-order (there is no weak-antisymmetry, only reflexivity and transitivity) in  Kuratowski-Zorn Lemma instead of partial order?      Suppose that we have set P which is preordered and  has the property   that every chain (i.e. totally ordered subset) has an upper bound in   P. Then the set P contains at least one maximal element.   Is this statement true in ZFC? If not, what can we postulate to make it true? I think it can be false, or at least we need to postulate something more (or not?), but I am just missing something and don't see it.  P.S.      I wanted to put tags with combination of words like: Kuratowski Zorn Lemma Pre-order Proset, but it seems that none of them exist and I need to have 300+ reputation to create new ones, thus I only typed (set-theory) :( If someone with bigger reputation could make this topics' tags more precise, I would be grateful :) Bind a key for multiple units to use the same spell Is there a way for me to bind a key that will allow multiple units in my control group to all use the same spell at once?  For example, if I have 3 centaurs as chen, and I have them all selected. Can I press one key to make them all warstomp at the same time?   Or if I have 3 familiars as Visage. When I have all three selected, is there a button I can press to have them all stun at the same time? How to disable phone number linking in Mobile Safari? How can I improve the performance of Minecraft? What do you call a person who keeps reminding others of one’s favors for them? When you fight with a person who then keeps telling you I did that I did this for you and so on. I want to tell them that it's inappropriate to remind others of the favors you did for them, especially if I appreciate those favors and try my best to return them. How can I reset or revert a file to a specific revision? I have made some changes to a file which has been committed a few times as part of a group of files, but now want to reset/revert the changes on it back to a previous version.   I have done a git log along with a git diff to find the revision I need, but just have no idea how to get the file back to its former state in the past. Line-breaking widget layout for Android I'm trying to create an activity that presents some data to the user. The data is such that it can be divided into 'words', each being a widget, and sequence of 'words' would form the data ('sentence'?), the ViewGroup widget containing the words. As space required for all 'words' in a 'sentence' would exceed the available horizontal space on the display, I would like to wrap these 'sentences' as you would a normal piece of text.  The following code:  public class WrapTest extends Activity {     /** Called when the activity is first created. */     @Override     public void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         LinearLayout l = new LinearLayout(this);         LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(                 LinearLayout.LayoutParams.FILL_PARENT,                 LinearLayout.LayoutParams.WRAP_CONTENT);         LinearLayout.LayoutParams mlp = new LinearLayout.LayoutParams(                 new ViewGroup.MarginLayoutParams(                         LinearLayout.LayoutParams.WRAP_CONTENT,                         LinearLayout.LayoutParams.WRAP_CONTENT));         mlp.setMargins(0, 0, 2, 0);          for (int i = 0; i &lt; 10; i++) {             TextView t = new TextView(this);             t.setText("Hello");             t.setBackgroundColor(Color.RED);             t.setSingleLine(true);             l.addView(t, mlp);         }          setContentView(l, lp);     } }   yields something like the left picture, but I would want a layout presenting the same widgets like in the right one.        Is there such a layout or combination of layouts and parameters, or do I have to implement my own ViewGroup for this? What is the best way of defining white noise process so it is intuitive and easy to understand? Doing a little reading over the break (The Probabilistic Method by Alon and Spencer); can't come up with the solution for this seemingly simple (and perhaps even a little surprising?) result:     (A-S 1.6.3) Prove that for every two independent identically distributed real random variables $X$ and $Y$,   $$Pr[|X-Y| \leq 2] \leq 3 Pr[|X-Y| \leq 1].$$ "Think of" versus "think about" Could someone help me to understand when I should use think of and when think about in sentences?  What is the difference between using one or the other? Two monitors when only having one in 13.10 I just did a fresh install of Ubuntu 13.10 64bit, and it says that I have 2 monitors, when I actually only have one    I have a Dell XPS 15 with Nvidia graphics card if that helps in anyway