I am trying to run a .tex file using pdflatex with MikTex from inside VisualStudio C#. My problem is that I can't seem to get the PDF output in the right location. I saw that there is the &quot;-output-directory&quot; option but I haven't been able to implement it correctly. I am running the following line:  Process.Start(&quot;pdflatex&quot;, pathTEX); to get the PDF. Can someone give me an example of how to properly add the output directory into the code line I have or any other method? Thanks in advance
I know there are some command-line applications like pdflatex that can help me to compile a LaTex document from C#.Net (using the System.Diagnostics.Process class) .   I wanna know that what's the best command-line tool for compiling a TeX document ?
Use early 2009 20" iMac as external display for 2015 rMBP Numerical integration of divergent function I am having trouble with the numerical integration of a divergent function. For example, \begin{equation} n= \int f(x)\,dx = \displaystyle\int \dfrac{\Theta(x-\varepsilon)\,dx}{\sqrt{x-\varepsilon}} \end{equation} is not behaving good when calculated numerically: \begin{equation} n_\text{numerical} \approx f(x_j)(x_j-\varepsilon) + \sum_{k=j+1}^N f(x_k)\Delta x \end{equation} with \begin{equation} x_i = x_\text{min} + i\Delta x \end{equation} and $x_j$ being the smallest point larger than $\varepsilon$. Due to the divergent behavior of $f(x)$ near $\varepsilon$, the numerical result has discontinuities and jumps at every $\varepsilon=x_i$ when I sweep $\varepsilon$. The smoothness of this integration is crucial in the convergence of my simulations. Can anybody suggest a simple trick to solve the problem? All I need is to have a continuous numerical result by continuously changing $\varepsilon$. Can I travel to the USA while working remotely for my non-US employer? I need to run a query like:  SELECT p.id, p.name,         (SELECT name            FROM sites s           WHERE s.id = p.site_id) AS site_list   FROM publications p   But I'd like the sub-select to return a comma separated list, instead of a column of data.  Is this even possible, and if so, how? How do I read the history of my reputation? When I visit the reputation tab of my profile, I see a lot of stuff. I can make out some of it, but not all.   What do all the event types mean? Why do some events show an odd reputation gain or not show any reputation change at all? Why are some events sometimes highlighted in yellow? My reputation suddenly dropped, but I don't see anything. What happened? Why do some events disappear from my reputation history? Is there a way to make IE8 honour opacity on an `:before` pseudo element? Proving for all integer $n \ge 2$, $\sqrt n < \frac{1}{\sqrt 1} + \frac{1}{\sqrt 2}+\frac{1}{\sqrt 3}+\cdots+\frac{1}{\sqrt n}$ Fix a wobbly Shimano freehub? What MySQL query will do a text search and replace in one particular field in a table?  I.e. search for foo and replace with bar so a record with a field with the value hello foo becomes hello bar. Unable to solve equation for a variable by any method Derivation of the formula for Ordinary Least Squares Linear Regression How was the formula for Ordinary Least Squares Linear Regression arrived at?  Note I am not only looking for the proof, but also the derivation. Where did the formula come from? How to prevent upper case in page header? I just came across this small problem which I can't seem to fix. I have a section which looks like this:  \section{Properties of $C_q$}   The problem is that the header of the page uses upper case and so it displays this section title as if I had written  \section{Properties of $C_Q$}   How can I make sure the q is always lower case? Blender 2.8 : python code to switch shading mode (between wireframe and solid mode) If i switch between solid and wireframe mode, i can see in the info window that these commands are invoked :  bpy.data.screens["Layout"].shading.type = 'WIREFRAME' bpy.data.screens["Layout"].shading.type = 'SOLID'   Now i want to execute this command using python console. So i cut and paste the codes into python console but i got this error :   &gt;&gt;&gt; bpy.data.screens["Layout"].shading.type = 'WIREFRAME' Traceback (most recent call last):   File "&lt;blender_console&gt;", line 1, in &lt;module&gt; AttributeError: 'Screen' object has no attribute 'shading'  &gt;&gt;&gt; bpy.data.screens["Layout"].shading.type = 'SOLID' Traceback (most recent call last):   File "&lt;blender_console&gt;", line 1, in &lt;module&gt; AttributeError: 'Screen' object has no attribute 'shading'   Does anyone know why ? and what the correct script should i use in python console ?  Thanks LaTeX Error: Option clash for package xcolor I have an option clash between package xcolor and another package, but I don't know which. Here is my MWE  \documentclass[10pt]{beamer} \setbeamertemplate{navigation symbols}{} \usepackage{caption} \usepackage{subcaption} \usepackage{url} \usepackage{color} \usepackage[usenames]{xcolor}  \author{The author} \title{Package conflicts} \date{October 3rd, 2012}  \begin{document}  This is supposed to be \textcolor{olivegreen}{olivegreen} \end{document}   And the error message is :  This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) entering extended mode (./error_xcolor.tex LaTeX2e &lt;2009/09/24&gt; &lt;blablabla&gt; ! LaTeX Error: Option clash for package xcolor.   I hope this is enough log for you guys. At this time of the day, I'm hoping for America to save my french ass ... again : ) I can't install or update Apps from Play Store: Error 905. How to fix? Suddenly (after a Play Store update?) I can't install or update any Apps. I always get error code 905 when I try to do so. How can I fix this? How to UPSERT (MERGE, INSERT ... ON DUPLICATE UPDATE) in PostgreSQL? What is the difference between "INNER JOIN" and "OUTER JOIN"? I am trying to use notepad++ and regular expressions to edit a document. I have text in this format  123.45607894.165@abcd;aba 23.456@av1;084 9871.001@fab:9782581afa   And I need to get only the first part of the line , the one before the @ sign. How would I do that to get this:  123.45607894.165 23.456 9871.001 Would a 9V alkaline power a 12V DC motor? I am thinking about buying a 12V DC motor but want to keep everything, including the motor, battery, and power switch somewhat compact. I am not very knowledgeable about these kind of things and am curious whether or not my 12V DC motor would run at all on a 9V battery. I am trying to align some text to left/center/right in the same line. For example, I want to put my phone number on the left, my name in the center, and my email on the right, how do I do that?