The Olympic flame has been used to light a cauldron in the shadows of Edinburgh castle, at the end of day 26 of the torch relay.