I have a large book (1052 pages) it's got a lot of pictures and even more endnotes (2037 to be exact). We've recently switched to a system where we have a database that all of the reference info is stored and a function that generates a .tex file with a \newcommand{} containing all of the reference info formatted properly. This has been working great for all of our other books, but when we switched to this method on the big book we keep getting this error when processing. So the question is, could my method of making a file with the \newcommands for all references be causing it to throw the memory error? This seems unlikely to me, but it's the only thing that's changed since it worked last. I'm running vtex, and the examples on how to up the memory limit for MikTex, TeXlive, etc. aren't working for me in vtex.
I am generating a fairly large index of .txt, .tex, and .pdf files. This process has worked for a long time, and the size of the index is not the issue. I have added logic to insert additional links in the index and now am running into:  TeX capacity exceeded, sorry [save size=80000]  Questions:  What are the typical causes of this kind of problem, and any suggestions on how to determine the cause of this. Can the save size be increased?  Of course any solution that just allows me to increase the save size would be preferable if it works, the first question is only important if the size can't be increased or I run into this problem again. Notes:  Generating smaller indices seems to work just fine, only when I attempt to generate the entire index do I run into problems, so coming up with a MWE will be difficult.
i want to create new event in SharePoint calendar list in which I have some custom columns,i tried below code but it is not working      function bookingRoomForMeeting() {         var ctx = new SP.ClientContext(appWebUrl);//Get the SharePoint Context object based upon the URL           var list = ctx.get_web().get_lists().getByTitle("MyCalendarList"); //Get the List based upon the Title         var listCreationInformation = new SP.ListItemCreationInformation(); //Object for creating Item in the List         listItem = list.addItem(listCreationInformation);         listItem.set_item('Title', $("#txt_Title").val());         var date = $("#txt_startTime").val();         var dateTime = moment(date, 'DD/MM/YYYY HH:mm a').format("MM/DD/YYYY HH:mm a");         listItem.set_item('EventDate', dateTime);         var enddate = $("#txt_endTime").val();         var enddateTime = moment(enddate, 'DD/MM/YYYY HH:mm a').format("MM/DD/YYYY HH:mm a");         listItem.set_item('EndDate', enddateTime);         listItem.set_item('EmailId1', $("#txt_EmailId1").val());         listItem.set_item('EmailId2', $("#txt_EmailId2").val());         listItem.update();         ctx.load(listItem);         ctx.executeQueryAsync(             Function.createDelegate(this, success),             Function.createDelegate(this, fail)            );     } function success() {     alert("Completed"); } function fail() {     alert("operation failed"); }   list am using is SharePoint hosted app list,can any one tell me where am going wrong? R2jags does not remove the burn in part sometimes? How do I find this conditional expectation? Show that $\frac{1}{\sqrt{2\pi}} \cdot \left(\int_{- \infty}^{\infty} e^{itx} \cdot e^{-\frac{1}{2}t^2 } dx \right) = e^{-\frac{1}{2}t^2}$ I am struggling to show that $$\frac{1}{\sqrt{2\pi}} \cdot \left(\int_{- \infty}^{\infty} e^{itx} \cdot e^{-\frac{1}{2}x^2 } dx \right) = e^{-\frac{1}{2}t^2}$$  In the same paper we defined  $$F(t):=\left(\int_0^t e^{-x^2}\right)^2 \quad \text{ and} \quad  G(t):=\left( \int _0^1\frac{e^{-t^2(1+x^2)}}{1+x^2} \right)$$  I showed that both functions are differentiable with  $$F'= 2e^{-t^2} \cdot \int_0^t e^{-x^2}$$ $$G' = -2te^{-t^2} \cdot \int_0^1 e^{-x^2t^2}$$  It follows that $F' + G' = 0$ and $F + G = \frac{\pi}{4}$  With that I showed that $\int_{-\infty}^{\infty} e^{-x^2} = \sqrt{\pi}$.  Any help is appreciated. I understand that faster-than-light communication is impossible when making single measurements, because the outcome of each measurement is random. However, shouldn't measurement on one side collapse the wave function on the other side, such that interference effects would disappear? Making measurements on "bunches" of entangled particles would thus allow FTL communication, by making observed interference effects appear or disappear. How does such an experiment not:  1) Clearly imply that faster-than-light communication is possible?  or  2) (if #1 is rejected) Imply that measurement of one half of an entangled pair does not cause the collapse of the other half's wave function.  Why doesn't this thought experiment clearly show that if we maintain that FTL communication is ruled out, we must also rule out "universal collapse" in the Copenhagen interpretation?  EDIT: Here is an example of an explicit experiment (though I think experts could come up with something better):  You can entangle a photon with an electron such that the angle of the photon is correlated with the electron's position at each slit of a double slit experiment. If the photon is detected (it's outgoing angle measured), then which-path information is known, and there is no interference. If the photon is not detected, the interference remains.   The experiment is designed such that the photon and electron go in roughly opposite directions, apart from the tiny deflection which gives which-path information. You set up a series of photon detectors 100 ly away on one side, and your double slit experiment 100 ly away in the opposite direction. Now you produce the entangled pairs in bunches, say of 100 entangled pairs, each coming every millisecond, with a muon coming between each bunch to serve as a separator.   Then the idea is that someone at the photon detector side can send information to someone watching the double-slit experiment, by selectively detecting all of the photons in some bunches, but not in others. If all of the photons are detected for one bunch, then the corresponding electron bunch 200 ly away should show no interference effects. If all of the photons are not detected for one bunch, then the corresponding electron bunch 200 ly away would show the usual double-slit interference effects (say on a phosphorus screen). (Note that this does not require combining information from the photon-detector-side with the electron-double-slit side in order to get the interference effects. The interference effects would visibly show up as the electron blips populate the phosphorus screen, as is usual in a double-slit experiment when which-path information is not measured.)  In such a way the person at the photon detectors can send '1's and '0's depending on whether they measure the photons in a given bunch. Suppose they send 'SOS' in Morse code. This requires 9 bunches, and so this will take 900 milliseconds, which is less than 200 years. The point is that such an experiment would only work if you assume that the measurement of the photon really does collapse the wave function nonlocally. Yesterday I upgraded my Ubuntu 18.10 to Ubuntu 19.04, and after the restart, the trash icon and my Desktop files have disappeared from the UI. If I go to the Desktop folder from my personal folder, I can see the files, but my Desktop is empty.  How can I show my files in the Desktop again? What is the function of the RNA primer in DNA replication? During DNA replication, RNA primase puts an RNA primer in the lagging strand. What is the function of this RNA primer? Why can't the enzymes put DNA fragments directly? Is there a way to set an "Adventure Mode Boundary" in Minecraft?  I am trying to create this village where players can spawn in, and then set out to explore the world and build and do normal minecraft stuff. I don't want them to destroy this village, so I want them to be in adventure mode when they are in the village and then switch them to survival when they leave, and vice-versa. When they return to the village, they get switched back to adventure mode.  In other words, I want to set an "Adventure Mode Boundary" to protect buildings. I am working without mods. I am hoping there is an simple way using command blocks. Since Naruto failed the Genin exam so many times, doesn't that mean he's older than Sasuke and Sakura? Display the original question beneath the answer edit form Often when I edit one of my answers, it's because I want to better address the original question. The only problem is that I can't see the original question while I'm editing my answer!  I'd love to see the original question text beneath the "answer edit" form. This way I could scroll down slightly to read it if I wanted to, or just ignore it if not.  Current workaround is to click the 'return to answer' link and hope that you remember to launch it in a new tab/window, then tab back and forth.    Imported from this uservoice item: Types of circular acceleration? To my knowledge there are three types of acceleration when a body (e.g. a rod) is moving in a circle about an axis. These are:   Angular acceleration : this is the rate of change of angular velocity. Tangential acceleration : this is the linear acceleration of the system in a tangential direction to the circle and equals the radius times the angular acceleration. Radial/centripetal acceleration : this is the linear acceleration of the system that is directed inwards towards the center of the circle.   I also think there are two types of velocity:   Linear velocity: this is its velocity in the tangential direction and is constantly changing Angular velocity or angular frequency: this is the rate of change of angle.   Is the above correct? And have I missed anything? Conditional \endinput I want to prevent processing rest part of a package in case if it is loaded not from lualatex. For some reason I cannot load ifluatex package, so I borrowed definition of \ifluatex from that package and invented the following chunk of code:  \expandafter\ifx\csname luatexversion\endcsname\relax % = not \inluatex   %\typeout{^^J********************** not LuaTeX^^J}   \PackageError{babel}{     ^^J\space\space * Option russianu is intended for LuaTeX only.              ^^J\space\space * Option russian  is used instead.                     }   \relax   \input{russianb.ldf}     \let\@next@action\endinput \else   %\typein{^^J********************** LuaTeX^^J}   \let\@next@action\relax \fi \@next@action   It seemed to work but Is there a better solution. In particular, it is desirable to avoid introduction of \@next@action because it is used the only time.  Just to explain: my goal is to hack babel with option russian to make it working painlessly with LuaLaTeX without any additional hacks (as described, eg, in  and ) What are these auxiliary file descriptors? While poking around /proc/self folder for my mksh shell,  I found a peculiar thing: in /proc/self/fd/* there are all the standard file descriptors (0 for stdin, 1 for stdout, and 2 stderr) some file descriptors, but also some extra ones - 24, 25, 3. And I technically can list them with a glob in the shell:  $ for fd in /proc/self/fd/* ; do echo $fd ; done                                                       /proc/self/fd/0 /proc/self/fd/1 /proc/self/fd/2 /proc/self/fd/24 /proc/self/fd/25 /proc/self/fd/3   But when I try to stat them or use find on them, they are reported as non-existent.  $ find  /proc/self/fd/*                                                                                /proc/self/fd/0 /proc/self/fd/1 /proc/self/fd/2 find: ‘/proc/self/fd/24’: No such file or directory find: ‘/proc/self/fd/25’: No such file or directory /proc/self/fd/3   Same occurs in bash , but just with just one auxiliary file descriptor.  $ for fd in /proc/self/fd/* ; do echo $fd; done /proc/self/fd/0 /proc/self/fd/1 /proc/self/fd/2 /proc/self/fd/255 /proc/self/fd/3  $ find /proc/self/fd/* /proc/self/fd/0 /proc/self/fd/1 /proc/self/fd/2 find: ‘/proc/self/fd/255’: No such file or directory /proc/self/fd/3   Question is: what are those additional file descriptors? What is their purpose? What is the best way to remove texture from a scanned textured photo paper? I have a bunch of scanned old family photos where the photo paper has a texture. Unfortunately, the texture of the photo scans quite well. What is the best way to remove the texture?  (Photoshop CS5) best way to pick a random subset from a collection? I have a set of objects in a Vector from which I'd like to select a random subset (e.g. 100 items coming back; pick 5 randomly). In my first (very hasty) pass I did an extremely simple and perhaps overly clever solution:  Vector itemsVector = getItems();  Collections.shuffle(itemsVector); itemsVector.setSize(5);   While this has the advantage of being nice and simple, I suspect it's not going to scale very well, i.e. Collections.shuffle() must be O(n) at least. My less clever alternative is  Vector itemsVector = getItems();  Random rand = new Random(System.currentTimeMillis()); // would make this static to the class      List subsetList = new ArrayList(5); for (int i = 0; i &lt; 5; i++) {      // be sure to use Vector.remove() or you may get the same item twice      subsetList.add(itemsVector.remove(rand.nextInt(itemsVector.size()))); }   Any suggestions on better ways to draw out a random subset from a Collection? Where can I find legendary crafting materials? I'm working on a WordPress site for my band and I'd like to mark every 3rd post on our blog page to have a special class applied to it, anybody have any pointers on how to achieve this? Any help is very very appreciated, thanks! rock n roll. What is the safest way to move the iTunes Library from one hard drive to another? This may happen later with my iMac, but right now it is happening for my iTunes on PC.  The PC had 60GB of partition to install Windows 7, and right now it is down to about 2GB of free space.  All iTunes purchases, including Music and Movies, are downloaded to  C:\Users\mike\Music\iTunes\iTunes Media\Music  C:\Users\mike\Music\iTunes\iTunes Media\Movies   which will make the C: drive have less and less free space.  (and C: will be more healthy if it has at least a couple of GB of free space).  What is the safest, most proper way to migrate all the media to an external hard drive J: ?  On J:, the path might be:  J:\iTunes\iTunes Media\Music   or  J:\iTunes Media\Music   My guess is that we can change the folder in iTunes, but won't iTunes go to that folder or create it, and find nothing, and index everything wrong?  So, should an exact copy of C:\Users\mike\Music\iTunes\iTunes Media be made as J:\iTunes Media first (probably 30GB of files copying), and then start iTunes and change the preference for the folder to the J: one?  Is there a standard or official method to do this? Take $\mathbb{R}$ as a vector space over $\mathbb{Q}$, then a basis for $\mathbb{R}$, then $|B|=2^{\aleph_0}$ I am trying to prove that Given $\mathbb{R}$ as a vector space over $\mathbb{Q}$, and a basis for $\mathbb{R}$, then $|B|=2^{\aleph_0}$.  Proof: Suppse that $|B|&lt;2^{\aleph_0}$, then $\mathbb R = span\{ b_i ; b_i \in B \}$ So $ \mathbb R = \{ \Sigma_{i=1}^{\infty}\alpha_i b_i ; \alpha_i \in \mathbb Q, b_i \in B, i \in \mathbb N \} = \bigcup_{n=1}^{\infty}\{\Sigma_{i=1}^n \alpha_ib_i\}$. Which is a contradiction since a countable union of countable union of countable sets is countable and $\mathbb R$ is not.  What do you think?  Thank you, Shir How do you read CSS rule values with JavaScript? I would like to return a string with all of the contents of a CSS rule, like the format you'd see in an inline style. I'd like to be able to do this without knowing what is contained in a particular rule, so I can't just pull them out by style name (like .style.width etc.)   The CSS:  .test {     width:80px;     height:50px;     background-color:#808080; }   The code so far:  function getStyle(className) {     var classes = document.styleSheets[0].rules || document.styleSheets[0].cssRules     for(var x=0;x&lt;classes.length;x++) {         if(classes[x].selectorText==className) {             //this is where I can collect the style information, but how?         }     } } getStyle('.test')