-- same as commandList but takes to lists of arguments as in
-- pdf2svg path/1.tex path/1.svg
-- pdf2svg path/2.tex path/2.svg
commandList2 :: String -> String -> String -> String -> Int -> [String]
commandList2 path command arg1_suffix arg2_suffix n = 
   zipWith ( (++) . (++ " ") ) (commandList path command arg1_suffix n) (listOfFiles path arg2_suffix n)
commandList2 :: String -> String -> String -> String -> Int -> [String]
commandList2 path command arg1_suffix arg2_suffix n = 
   zipWith ( (++) . (++ " ") ) (commandList path command arg1_suffix n) (listOfFiles path arg2_suffix n)
commandList2 path command arg1_suffix arg2_suffix n = 
   zipWith ( (++) . (++ " ") ) (commandList path command arg1_suffix n) (listOfFiles path arg2_suffix n)