Pro-separatists in Catalonia look set to hold a vote on independence regardless of Madrid's opposition.