@GBeau Well, it depends on what you call "matter". If you mean "works", then: \mathbb R works always. If you mean "is a good coding style", then: \mathbb R is never a good coding style, because R is a macro parameter and these should be enclosed in brackets in LaTeX.
Hi all, is it possible to distinguish by exit codes whether LaTeX compilation failed or document compiled with errors? In my simple test both cases returned status code 256m which isn't exactly helpful
@michal.h21 no AFAIK, but you can tell in some ways whether the compilation was finished. For example something like \newwrite\endwrite\AtEndDocument{\immediate\openout\endwrite=\jobname.end\relax\immediate\write\endwrite{FINISHED}\immediate\closeout\endwrite}, and of course: echo > myfile.end before calling latex.
@tohecz but maybe I can test just last line of the log file for No pages of output. as I just want to stop pipeline of commands in the case of fatal error.
@michal.h21: I had a similar problem. When you use a nonstopmode switch or similar in the TeX code, the engine will return a non-zero value regardless of its compilation status. :(
@JosephWright yes, I wondered about replying to say we don't expect byte-for-byte but we want to know the differences so we can normalize (and testing logs is the best way we have of doing regression and cross engine tests)
@DavidCarlisle alright. Apparently I need to run pdflatex --shell-escape <file> but I am not sure where do I put this in my vimrc. Because I use vim latex. — user188040548 mins ago
If the file \jobname.bib already exists, it will not be overwritten by statements such as
\begin{filecontents}{\jobname.bib}
...
\end{filecontents}
In such cases, you need to use the "starred" variant of the environment so that any pre-existing contents of \jobname.bib will be overwritten:
\...
you could as well write to vimeo and say: "We're non-profit, could we kindly ask you to increase the quota for us for free?" but it's prbbly not worth it
@JosephWright btw, I didn't think that the NOx question would get 14 upvotes. I'm impressed. (I was actually afraid that it's gonna be closed as OT ...)
@Iplodman well, I'm browsing various keyboard/synth reviews, and I can't decide which stuff is the good stuff (not that I'm going to buy it now, now I only extend from mono to proper stereo 2x100W sound)