Tag Archive

amateur astronomy awk bash be b[e] supergiant cartoon conference convert evolved star exoplanet fedora figaro fits fun galaxy history iraf jupiter latex linux lmc machine learning massive star matplotlib meteor mypaper paper peblo photometry planet pro-am pyraf python scisoft skinakas observatory small magellanic cloud smc spectroscopy starlink talk theli ubuntu university of crete video x-ray

Bash scripting: convert float to integer

As bash is not able to handle floats the best way is to convert a float number (which is represented as a string, for example an output with awk) into an integer.

To do this [1,2]:

[1] Stackexchange.com/Unix & Linux
[2] Linuxquestions.org

“Too many unprocessed floats” in LaTeX

! LaTeX Error: Too many unprocessed floats.
This error in LaTeX means that it is unable to handle more than a specific number of figures and tables (yes, there is a limit!  no more than roughly 30).

Unless you want to replot and combine figures an easy solution is to add the package ‘morefloats’:


(ref: UK TeX FAQ)