Talks between the governments in Westminster and Holyrood over a new funding settlement remained deadlocked with time running out to strike a deal.

Finance secretary John Swinney said there was a "considerable distance" to go before an agreement could be reached following discussions at the Treasury.

First Minister Nicola Sturgeon has warned that Scotland stands to lose billions of pounds over the next few years under the Treasury's proposals.

Speaking after talks with Treasury chief secretary Greg Hands, Mr Swinney said Westminster had put forward new proposals but they were still a long way from a deal.

"There is still some considerable distance to travel to resolve these issues," he said.

There is a February 12 deadline on reaching an agreement to allow proper parliamentary scrutiny, leading to claims of brinkmanship by the Scottish Government.

Mr Swinney said: "We can only sign up to an agreement that is right for the people of Scotland and we will not sign up to an agreement that is not right for the people of Scotland."

The talks focused on the financial arrangements accompanying the Scotland Bill, which will give new powers to Holyrood.

The Bill, which arose from the recommendations of the post-referendum Smith Commission, will bring new responsibilities over tax and welfare to Holyrood but the Scottish and UK governments have yet to agree on the fiscal framework underpinning it.

An agreement would set out how Scotland's annual block grant from the Treasury will be adjusted to take account of the new tax powers.

Mr Swinney said: "The powers that are coming to Scotland are valuable powers, powers that we want to exercise on behalf of the people of Scotland, but we can't exercise those powers at any price."

Asked whether he was prepared to "crash" the process for political gain, Mr Swinney said: "I will not sign up to an agreement that is bad for Scotland and we need to get to a point where the agreement is right for Scotland."

Pressed on whether he had confidence a deal could be reached, he said: "Whether we get there or not will be dependent on the issues we are discussing, whether we can get to points of agreement. But it will not be for a lack of trying."

Further talks between the two governments will take place by telephone this week, with the possibility of further face-to-face meetings.

Asked how big the gap was between the proposals from the Treasury and his position, Mr Swinney said: "It is fair to say there are differences between our proposals and we are trying to resolve those issues."

A Whitehall source stressed that ministers and officials in Westminster had moved "a long way" towards meeting the concerns of Scottish ministers.

It was up to "both sides" to show willingness to reach a compromise, the source said. The official communique issued following the meeting said Mr Hands and Mr Swinney had agreed to a further meeting next week "with the objective of reaching agreement on the fiscal framework".

A UK Government spokesman said: "Today's talks, the eighth round of discussions between the UK and Scottish governments, have shown yet again our willingness to engage with and listen to the Scottish Government's concerns.

"We have agreed to speak again in the coming days and, while there are still some difficult issues to resolve, we remain confident that a deal can be reached that is fair to Scotland and fair to the rest of the UK, now and in the future."