118 reputation
4
bio website redpanda.nl/index.php?p=qvt
location Netherlands
age
visits member for 2 years, 11 months
seen Jul 15 at 23:31

Oct
2
comment Ignore escape characters when printing string in shell script
Good point, and because of this construction it looks clearer, using the newlines and indentation.
Oct
2
comment Ignore escape characters when printing string in shell script
Ah of course, the single (hard) quotes! Thank you. I didn't know about the cat -construction, why is it safer than the echo command?
Oct
2
comment Ignore escape characters when printing string in shell script
I realised I didn't translate the Dutch phrases. When calling the script you have to give two arguments: the LaTeX expression itself and the filename, without extension. For instance: sh .LaTeX2PNG.sh "B_n(f;x) = \sum_{r=0}^n f \left( \frac{r}{n} \right) {n \choose r} x^r (1-x)^{n-r}" Bernstein