As it happened: Queen's final farewell to Scotland

Tens of thousands of mourners have paid their final respects to the Queen in Edinburgh.