How to convert a decimal number to an integer only if the decimal places are 0
def lazy_decimal(num)
if (num.round - num) == 0
num.to_i
else
num
end
end
How to convert org mode, and LaTex into odt and many orher formats
apt-get install tk4ht mk4html oolatex my_funky.tex
creates a bunch of files and loads the hell in java. have fun.