AJAX works fine in IE but not in Firefox\Chrome (Bizarre :) )
Setting Access-Control-Allow-Origin in ASP.Net MVC - simplest possible method
I would like to have multiple bibliographies (reference lists) as described in   ().   However, I'd like to use with a single .tex file, which would contain the bibliography database embedded, as in  ...   Now, I want to use letter documentclass, for which the bibliography needs to be defined ()   So what I end up is with this example (code below, compiled with just pdflatex, no bibtex(which I'd like to avoid in this case)):     ... obviously, something works (multibib recognized primary and secondary cites, assigning them number "1" as start) -- however I don't get two, separate primary and secondary list of references; would that be possible in this context? (doesn't have to be with multibib, but I'd like to avoid a separate .bib file and a bibtex call)  EDIT: I'd also like separate cite keys (i.e. rendered as [a1] and [b1]; not yet sure if multibib can do that; edit: no it cant,  says "You can also edit the .bbl files created by BibTEX and add 'a', 'b',. . . to the labels, but your changes will be overwritten by subsequent BibTEX runs." and recommends \cite[a]{key}) - how possible would that be?  &nbsp;  The code is this:   \documentclass{letter}  % Environment thebibliography undefined when using letter: http://www.latex-community.org/forum/viewtopic.php?f=4&amp;t=3359 \makeatletter \setlength \labelsep {.5em} \newcommand\newblock{\hskip   .11em\@plus.33em\@minus.07em} \let\@openbib@code\@empty \newcommand\refname{References} \newcommand\section{\@startsection   {section}{1}{\z@}%   {-3.5ex \@plus -1ex \@minus -.2ex}%   {2.3ex \@plus.2ex}%   {\normalfont\Large\bfseries}} \newenvironment{thebibliography}[1] {\section*{\refname}%   \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%   \list{\@biblabel{\@arabic\c@enumiv}}%   {\settowidth\labelwidth{\@biblabel{#1}}%     \leftmargin\labelwidth \advance\leftmargin\labelsep \@openbib@code     \usecounter{enumiv}%     \let\p@enumiv\@empty \renewcommand\theenumiv{\@arabic\c@enumiv}}%   \sloppy \clubpenalty4000 \@clubpenalty \clubpenalty   \widowpenalty4000%   \sfcode`\.\@m} {\def\@noitemerr {\@latex@warning{Empty       `thebibliography' environment}}%       \endlist} \makeatother  \usepackage{multibib} \newcites{pri}{Primary sources} \newcites{sec}{Secondary sources}  \begin{document}   \begin{letter}{Addressee} Blah, blah - content...  Primary cite: \citepri{lamport94} ...  Secondary cite: \citesec{lamport94} ...   \begin{thebibliography}{9}  \bibitem{lamport94}   Leslie Lamport,   \emph{\LaTeX: A Document Preparation System}.   Addison Wesley, Massachusetts,   2nd Edition,   1994.  \bibitem{lamport95}   Leslie Lamport,   \emph{\LaTeX: A Document Preparation System}.   Addison Wesley, Massachusetts,   2nd Edition,   1995.  \end{thebibliography}  \end{letter}   \end{document} Correct XML serialization and deserialization of "mixed" types in .NET If a black body is a perfect absorber, why does it emit anything? I'm trying to start understanding quantum mechanics, and the first thing I've come across that needs to be understood are black bodies. But I've hit a roadblock at the very first paragraphs. :( According to :     A black body (also, blackbody) is an idealized physical body that absorbs all incident electromagnetic radiation, regardless of frequency or angle of incidence.   OK, that's nice. It's an object that absorbs (takes in itself and stores/annihilates forever) any electromagnetic radiation that happens to hit it. An object that always looks totally black, no matter under what light you view it. Good. But then it follows with:     A black body in thermal equilibrium (that is, at a constant temperature) emits electromagnetic radiation called black-body radiation.   Say what? Which part of "absorbs" does this go with? How can it absorb anything if it just spits it right back out, even if modified? That's not a black body, that's a pretty white body if you ask me. Or a colored one, depending on how it transforms the incoming waves.  What am I missing here? I´m trying to model a race track using a bezier curve, but, when I add modifiers -> array -> curve I get this :    What should I check for to get the mesh following the curve correctly ? Thankyou Subtracting (erasing) polygons from polygon using ArcGIS for Desktop? Say a creature owns multiple items with wording similar to this:  As an Action, you may speak the command word to [...]  Say the creature has deliberately obtained such items, perhaps by creating them itself, to have the same command word. Can this creature use one action to speak the shared command word and activate multiple items at once? The purpose of this question is not to cheese my DM. I am writing a short story and like to keep my D&amp;D fiction as close to rules-accurate as possible. Changing Login Logo Autosegmental Representation in tikz-qtree This is what I want to achieve    and this:    But all I've been able to make with tikz-qtree is the following:  \documentclass[12pt,a4]{article} \usepackage[utf8]{inputenc} \usepackage{tipa,tikz,tikz-qtree} \begin{document}  \begin{tikzpicture} [baseline] \tikzset{frontier/.style={distance from root=90pt}} \Tree [.$\sigma$ [.O [ p ] ] [.R [.$\mu$ a ] [.$\mu$ : ] ] ] \end{tikzpicture} \begin{tikzpicture} [baseline] \tikzset{frontier/.style={distance from root=90pt}} \Tree [.$\sigma$ [.O [ p ] ] [.R [.$\mu$ a ]  ] ] \end{tikzpicture}   And this:  \begin{tikzpicture}[baseline] \tikzset{frontier/.style={distance from root=90pt}} \Tree [.$\sigma$ [.O [ l ] ] [.R [.$\mu$ a ] [.$\mu$ l ] ] ] \end{tikzpicture} \begin{tikzpicture} [baseline] \tikzset{frontier/.style={distance from root=90pt}} \Tree [.$\sigma$ [.O [ : ] ] [.R [.$\mu$ a ] [ l ] ] ] \end{tikzpicture} \end{document}   Which renders:    and    The important part here is the linking from the leaves to more than one parent (it would be nice if I had the option of making the line dashed too). Now, pst-asr doesn't quite achieve what I want it to. It's important that I have the moras ('mu's). (Also it's a pstricks package, which means I must typeset it in DVIPSPDF.) I have tried a bit of the forest-package (especially forest-GP1), but I can't make that work as I want either. Lastly, some have recommended xyling, but I find that package very difficult to use.  Any recommendations?  Thanks. Continuity $\Rightarrow$ Intermediate Value Property. Why is the opposite not true? Continuity $\Rightarrow$ Intermediate Value Property. Why is the opposite not true?    It seems to me like they are equal definitions in a way.    Can you give me a counter-example?    Thanks Why does C# disallow readonly local variables? how to remove object from NSDictionary Do the Manuals and Tomes allow you to exceed 20 in an ability score? And can they be stacked? I am looking at items like Manual of Bodily Health, Tome of Clear Thought, etc.  Quoting from Manual of Bodily Health     If you spend 48 hours ... your Constitution score increases by 2, as   does your maximum for that score.   This sounds to me like when you read the tome according to the instructions, you are then allowed to increase your CON up to a maximum of 22.     Is that a correct reading -- that these magic items allow a player to override the usual ability score maximum of 20? Probably, you were already at 20 when you read it, but if, say, you were at 18 and read it to bring your CON up to 20, could you then later increase your CON further via feats or ability score increases gained at certain levels? Can you read more than one book of the same type, to increase your maximum by an additional 2 points? Generate mesh at run time Is it possible to generate mesh at runtime in blender game engine? That is, is it possible for blender to generate meshes using python code when the game runs?  I really would like to know if this is possible, as my final year project requires use of this. Why is the subject omitted in sentences like "Thought you'd never ask"? Why does the direction of a dipole moment go from negative to positive charge? An  is defined as $p = q\times d$ (for two point charges $\pm q$ separated by a distance $d$).    What is the physical meaning of this quantity?  Why does the direction of the electric dipole moment go from the negative charge to the positive charge? Another way of saying this, why electric dipole moment is a vector quantity? For example:  "Last week, I found out that NASA stands for 'National Aeronautics and Space Administration.'"  or  "Last week, I found out that NASA stood for 'National Aeronautics and Space Administration.'" Unzipping geoprocessing package (GPK) file? I was under the impression that all ArcGIS package files could have their contents examined and potentially used by renaming them to *.zip and unzipping them.  This impression is supported for map package (*.mpk) files by  to  and I thought I had used it succesfully on geoprocessing package (*.gpk) files in the past.  However, today I am unable to use a  which I think is because it was created using ArcGIS Desktop 10.5.x when I am using 10.2.1.01. When I rename this *.gpk as *.zip and try to examine it in Windows Explorer I get:     Compressed (zipped) Folders Error      Windows cannot open the folder      The Compressed (zipped) Folder ....zip is invalid.     Is it possible to unzip a geoprocessing package (*.gpk) file to see whether it may contain some useful ArcPy code when that *.gpk cannot be unpacked to provide a usable toolbox? Geodesics equations via variational principle I would like to recover the (timelike) geodesics equations via the variational principle of the following action:  $$ \mathcal{S}[x] = -m \int d\tau = -m \int \sqrt{-g_{\mu\nu}\,dx^{\mu}\,dx^{\nu}} $$  Using an arbitrary auxiliary parameter $\lambda$, then one is able to rewrite the action and obtains: $$ d\tau = \sqrt{-g_{\mu\nu}\, \tfrac{dx^{\mu}}{d\lambda}\tfrac{dx^{\mu}}{d\lambda}} d\lambda $$ $$ -m \int d\tau = -m \int (d\tau / d\lambda) d\lambda =  -m\int\sqrt{-g_{\mu\nu}\, \tfrac{dx^{\mu}}{d\lambda}\tfrac{dx^{\mu}}{d\lambda}} d\lambda $$  Now we can vary the paths $x^{\mu}(\tau) \rightarrow x^{\mu}(\tau) + \delta x^{\mu}(\tau)$.  I need the following equation to be true, so i get the geodesics equations, but I don't know how one can say the following: $$ \int d\tau \,\delta g_{\mu\nu}\frac{dx^{\mu}}{d\tau} \frac{dx^{\nu}}{d\tau} = \int d\tau\, g_{\mu\nu, \rho} \frac{dx^{\mu}}{d\tau} \frac{dx^{\nu}}{d\tau} \delta x^{\rho} $$ I know there is a simpler action, which leads to the same equation of motion, but there one has to do the same manipulation, which I sadly don't understand.  Thanks for helping me! Cast Double to Integer in Java I have been playing around with Ubuntu installing new themes and and docks. Sometimes during the installation, whole screen just hangs. What is the best way in Ubuntu to Kill a process/application? Anything similar to Ctrl + Alt + Del of windows?