GeneralDraft Mode problem

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
greennell
Posts: 10
Joined: Tue Jan 20, 2015 1:57 pm

Draft Mode problem

Post by greennell »

Hello,

I am working with template in sharelatex.com

For faster compile I decided to try Draft Mode, but it numbered all the lines and decided I want to come to classic view. But when I deleted it from the document class, an error occurred and I do not understand how to bring classic view back. Looks like that:

Undefined control sequence.
l.10 \@LN
{4}{18}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.



https://pp.vk.me/c624526/v624526927/36e ... VRaaJ8.jpg

Please help.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Draft Mode problem

Post by Johannes_B »

Without a copy of the template it is impossible to say anything specific. Looking at the picture, the error is a missing \begin{document}, as it seems in the aux file.

Try trashing all auxiliary files and start over the compile chain.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
greennell
Posts: 10
Joined: Tue Jan 20, 2015 1:57 pm

Re: Draft Mode problem

Post by greennell »

Johannes_B,

I am using https://www.sharelatex.com/templates/th ... s-template

I have tried to Draftmode in empty template, and there is exactly the same outcome - when you remove 'draft' from document class it shows exactly the same error.

I have a line with \begin{document} as well, so it should be a problem, and when there is 'draft' it works without any problem.

I am not sure how to trash auxiliary files on sharelatex.com
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Draft Mode problem

Post by Johannes_B »

I got a copy of the template from github (ShareLaTeX is commercial and i am not registered) and can reproduce the issue.

Solution: Clear all the auxiliary files and start over the compile chain.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
greennell
Posts: 10
Joined: Tue Jan 20, 2015 1:57 pm

Re: Draft Mode problem

Post by greennell »

Johannes_B,

Could you please let me know what exactly I need to delete. I have tried to find info what are these files are, but no success.

Thank you!
Nelya
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Draft Mode problem

Post by Johannes_B »

You need to delete all auxiliary files, that is all files generated by LaTeX and helper programs like BibTeX or makeindex.

How to do this in shareLaTeX, i cannot say. It is a commercial website and i am not registered.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
greennell
Posts: 10
Joined: Tue Jan 20, 2015 1:57 pm

Re: Draft Mode problem

Post by greennell »

Thank you,

I will ask for help about deleting these files there.

Best,
Nelya
Post Reply