UN climate conference delegates in Paris have approved a draft text they hope will form the basis of an agreement to curb global carbon emissions.
The 48-page document will be discussed by ministers on Monday.
They will try to arrive at a comprehensive settlement by the end of next week.
The French climate ambassador warned that major political differences still needed to be resolved.
Delegates from 195 countries worked through the night at the conference centre in Le Bourget, conscious of a midday Saturday deadline imposed by the French presidency of this meeting.
The weighty document will now go forward to ministers who will have to take the many political decisions still required, if the text is to be turned into a long-term agreement.
“Nothing has been decided and nothing will be left behind,” said French climate ambassador Laurence Tubiana.
“This text marks the will of all to reach an agreement. We are not at the end of the route. Major political issues are yet to be resolved,” she warned.