0

I have just moved to Atom as my main Latex Editor. I've installed MikTex and atom-latex.

But in the first time I compiled my file, There was Atom's messenge that error(s) with Bibtex has occurred in compiling my document

Here it's:

> bibtex pt_quy_ve_bac2

This is BibTeX, Version 0.99d (MiKTeX 2.9.7140 64-bit)
The top-level auxiliary file: pt_quy_ve_bac2.aux
I found no \citation commands---while reading file pt_quy_ve_bac2.aux
I found no \bibdata command---while reading file pt_quy_ve_bac2.aux
I found no \bibstyle command---while reading file pt_quy_ve_bac2.aux
(There were 3 error messages)

And this is my LaTeX document

\documentclass[11pt]{article}
\usepackage[a4paper, top=-5cm,margin=2cm]{geometry}
\usepackage[utf8]{vietnam}
\usepackage{amsmath}
\usepackage{setspace}
\setlength{\voffset}{-0.5in}
\linespread{1.5}
\setlength{\abovedisplayshortskip}{0pt}%
\setlength{\belowdisplayshortskip}{0pt}%
\setlength{\jot}{1pt}
\setlength{\parindent}{0cm}

\title{\textbf{Phương trình quy về phương trình bậc 2}\vspace{-6ex}}
\date{}
\usepackage{textcase}
\usepackage{collectbox}

\renewcommand{\labelitemi}{\(\bullet\)}
\renewcommand{\labelitemii}{-}
\renewcommand{\labelitemiii}{+}
\makeatletter

\newcommand{\del}[1]{\Delta=b^2-4ac=#1}
\newcommand{\ff}[2]{\frac{#1}{#2}}
\newcommand{\df}[2]{\dfrac{#1}{#2}}
\newcommand{\Lra}{\Leftrightarrow}
\newcommand{\ra}{\rightarrow}
\newcommand{\sct}[1]{\section{#1}}
\newcommand{\sctn}[1]{\section*{#1}}
\newcommand{\sr}[1]{\sqrt{#1}}
\newcommand{\mybox}{
  \collectbox{%
    \setlength{\fboxsep}{1pt}%
      \fbox{\BOXCONTENT}%
    }%
}

\makeatother
\begin{document}
\maketitle
\let\cleardoulepage\clearpage
\sct{Dạng 1}
\begin{center}
  \mybox{\(ax^4 + bx^2 + c = 0 (x \ne 0)\)} [*]
\end{center}

\textbf{\underline{Cách giải}}: Đặt \(t=x^2(t \ne 0)\). \\

Từ [*] ta có: \(at^2 + bt + c = 0\) [**]\\
Giải [**] tìm \(t\), sau đó trở lại với \(x\)\\\\
\textbf{\textit{Ví dụ:}} Giải Phương trình \(x^6 - 2022x^2 + -\sqrt{2021} = 0\)
\begin{align*}
  &x^6 - 2022x^2 + -\sqrt{2021} = 0\\
  &\Lra x^2.(x^4 - 2021)- (x^2 + \sr{2021}) = 0\\
  &\Lra (x^2 - \sr{2021}).[x^2(x^2 + \sr{2021})-1] =0\\
  &\Lra \arraycolsep=0pt
    {\left\{
      \begin{array}{l}
        \mbox{\(x=\pm \sqrt[4]{2021}\)}\\
        \mbox{\(x^2(x^2+\sr{2021})-1=0\)(*)}
      \end{array}
    \right.}.
\end{align*}
Đặt \(t=x^2 (t \ge 0)\)
\begin{align*}
  &(1) \Rightarrow t(t+\sr{2021})-1=0\\
  &\Lra t^2 + t\sr{2021} -1=0\\
  &\Delta = 2021 - 4.(-1)=2025 > 0 \\
  &\Rightarrow \arraycolsep=0pt
    {\left[
      \begin{array}{l}
        \mbox{\(t = \df{\sr{2021}+\sr{2025}}{2}\)
        (thoả mãn \(t\ge 0\))
        $\Rightarrow x = \pm
        \sr{\df{\sr{2021}+\sr{2025}}{2}}$}\\\\
        \mbox{\(t=\df{-\sr{2021}-\sr{2025}}{2}\) (không thoả mãn \(t \ge 0\))}
      \end{array}
    \right.}
\end{align*}
\newpage
\section{Dạng 2}

\begin{center}
  \mybox{\(a[f(x)]^2 + b.f(x) + c = 0\)} [*]
\end{center}
\end{document}

Is this any way to fix that in Atom. (I just want to use Atom as my LaTeX Editor)

  • You LaTeX is just a set of equations. It does not contain \cite commands, or a \bibliographystyle command, or a \bibliography command. That is what BibTeX complains about. When you add these commands the error will go away. – Marijn Oct 18 at 17:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.