A draft bill giving Scotland the ability to reconsider the question of independence before the UK leaves the EU has been published for consultation.
Formally unveiled by Constitution Secretary Derek Mackay, the document sets out proposals for the rules governing the referendum campaign, the conduct of the poll and the counting of votes.