با سلام واحترام
بعد از نصب مجدد لاتک شکلی که قرار می دهم در pdf نمایش داده نمی شود اما آنهایی که قبلا گذاشته ام نشان می دهد
LOG FILE :
This is XeTeX, Version 3.14159265-2.6-0.99998 (TeX Live 2017/W32TeX) (preloaded format=xelatex 2017.11.28) 5 APR 2018 16:56
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**./commands.tex
(./commands.tex
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 84 language(s) loaded.
! LaTeX Error: \usepackage before \documentclass.
See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...
l.13 \usepackage{
amsthm,amssymb,mathrsfs}
\usepackage may only appear in the document preamble, i.e.,
between \documentclass and \begin{document}.
! LaTeX Error: \usepackage before \documentclass.
See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...
l.14 \usepackage{
amsmath}
\usepackage may only appear in the document preamble, i.e.,
between \documentclass and \begin{document}.
! LaTeX Error: \usepackage before \documentclass.
See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...
l.17 ...op=30mm,bottom=30mm,left=25mm,right=35mm]{
geometry}
\usepackage may only appear in the document preamble, i.e.,
between \documentclass and \begin{document}.
! LaTeX Error: \usepackage before \documentclass.
See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...
l.21 \usepackage{
graphicx}
\usepackage may only appear in the document preamble, i.e.,
between \documentclass and \begin{document}.
! LaTeX Error: \usepackage before \documentclass.
See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...
l.24 \usepackage{
framed}
\usepackage may only appear in the document preamble, i.e.,
between \documentclass and \begin{document}.
! LaTeX Error: \usepackage before \documentclass.
See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...
l.27 \usepackage{
lastpage}
\usepackage may only appear in the document preamble, i.e.,
between \documentclass and \begin{document}.
! LaTeX Error: \usepackage before \documentclass.
See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...
l.30 \usepackage[all]{
xy}
\usepackage may only appear in the document preamble, i.e.,
between \documentclass and \begin{document}.
! LaTeX Error: \usepackage before \documentclass.
See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...
l.33 ...ckage[usenames,dvipsnames,svgnames,table]{
xcolor}
\usepackage may only appear in the document preamble, i.e.,
between \documentclass and \begin{document}.
! LaTeX Error: \usepackage before \documentclass.
See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...
l.36 ...orlinks,linkcolor=blue,citecolor=magenta]{
hyperref}
\usepackage may only appear in the document preamble, i.e.,
between \documentclass and \begin{document}.
! LaTeX Error: \usepackage before \documentclass.
See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...
l.39 \usepackage[pagebackref=false]{
hyperref}
\usepackage may only appear in the document preamble, i.e.,
between \documentclass and \begin{document}.
! LaTeX Error: \usepackage before \documentclass.
See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...
l.42 \usepackage{
fancyhdr}
\usepackage may only appear in the document preamble, i.e.,
between \documentclass and \begin{document}.
! LaTeX Error: \usepackage before \documentclass.
See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...
l.45 \usepackage[nottoc]{
tocbibind}
\usepackage may only appear in the document preamble, i.e.,
between \documentclass and \begin{document}.
! LaTeX Error: \usepackage before \documentclass.