首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >TeXMaker不编译-几个未解决的错误

TeXMaker不编译-几个未解决的错误
EN

Stack Overflow用户
提问于 2018-06-11 11:44:50
回答 1查看 3.7K关注 0票数 0

我正在开发一个使用TeXMaker的协议。我从Eclipse+Texlipse转到了纺织品制造商,以前成功编译的是,不再编译了。

我有一个main.tex文件,它包含我的协议的结构。我有几个tex文件作为输入和一个design.sty,它提供了我的设计。我想编译并创建PDF协议。

当我试图在TeXMaker (the main.tex)中执行以下代码时:

代码语言:javascript
复制
\documentclass[11pt,a4paper,oneside,listof=totoc, bibliography=totoc
version=first]{scrreprt}
\usepackage{design}

\begin{document}
\pagenumbering{arabic}

% cover
    \input{./cover.tex} 

% introduction  
\newpage
    \chapter{Introduction}
        \section{Synmikro}
            \input{./synmicro.tex}  
        \section{Genetic Switches}
            \input{./switches.tex}
        \section{ECFs}
            \input{./ECF.tex}
        \section{Sinorhizobium Meliloti}
            \input{./meliloti.tex}

\newpage
    \section{Laboratory Internship}
        \input{./internship.tex}
    \section{Bioinformatics}
        \input{./bioinfo.tex}

% materials and methods
\newpage
    \chapter{Material and Methods} 
        \section{Used strains}
            \input{./MMexoECFs.tex}
        \section{Cultivation conditions}
            \input{./MMcultivation.tex}
        \section{RNA preparation}
            \input{./MMrNAprep.tex}
        \section{Quality control of total RNA}
            \input{./MMtotalRNAQC.tex}
        %\section{Quality control}
        %   \subsection{PCR and Agarose gel}
        %       \input{./MMnormPCR.tex}
            %\subsection{RNA purity and integrity control}
            %   \input{./MMbioanalyzer.tex}
        \section{qRT-PCR}
            \input{./MMqRTPCR.tex}
        %\section{QBit}
        %   \input{./MMqbit.tex}    
        \section{Bioinformatics}
            \input{./MMbioinfo.tex}     
            \subsection{Non-restrictive approach}
                \input{./MMnonRestrictive.tex}
            \subsection{Levenshtein distance}
                \input{./MMlev2.tex}    
            \subsection{Feature Search}
                \input{./MMfeatureSearch.tex}
            %\subsection{Position Specific Scoring Matrices}
            %   \input{./MMpssm.tex}

% results               
\newpage
    \chapter{Results}
        %\section{Agarose Gel}
    %   \input{./Ragarose.tex}
        \section{Nanodrop and Bioanalyzer}
            \input{./Rbioanalyzer.tex}
        %\section{Qbit}
        %   \input{./Rqubit.tex}
\newpage
        \section{Real-Time PCR}
            \input{./RRTpCR.tex}
\newpage
        \section{Bioinformatics}
            \input{./Rbioinfo.tex}

% discussion

\end{document}

TeXMaker给了我关于main.tex的几个错误。它们是:

  1. 第47行:扫描\caption@xdblarg时结束的文件
  2. 第79行:!Latex错误:输入行7上的\begin{图}以\end{document}结尾
  3. 第79行:!不能在内部垂直模式中使用“\end”
  4. 第79行:!Latex错误:输入行7上的\begin{图}以\end{document}结尾
  5. 好了!缺失}插入
  6. 第1行:紧急停车。<*> main.tex *(作业中止,未找到合法\end )

第47行是“输入{./MMqRTPCR.tex}

第79行是"\end{document}“

我真的很困惑。TeXMaker的错误描述是关于缺少大括号的。我是不是看不见屏幕?我检查了三次牙套,找不出我错过了什么。所以,我猜,我错过了一些关于乳胶的关键。

谢谢你的帮助!

UPDATE:在输入文件"MMqRTPCR.tex“中,我注释了一个数字,所有错误都消失了。这是文件的内容。

代码语言:javascript
复制
TEXTEXTEXT

%\begin{figure}[H]
    %\centering
%   \includegraphics[scale=0.6,natwidth=764,natheight=218]%{deltaDeltaCorrectedFormula.png}
%   \caption{mycaption}
    %\label{deltaDelta}
%\end{figure}

TEXTEXTEXT

\begin{table}[!h]
        \centering
        \caption{Primer sequences and targets}
        \label{table1}

    \begin{tabular}{|l|l|l|ll}
        \cline{1-3}
          Primer Sequence & Target & Direction \\ \cline{1-3}
          AACATGTGCCGGTTGATAG & ECF20_992 & forward  \\ \cline{1-3}
          GCTGCTTCGGTATTGCTCA & ECF20_992 & reverse \\ \cline{1-3}
          TCGTACCATTGAAAGCCTG & ECF02_2817 & forward \\ \cline{1-3}
          ATCAATGGCTTCACGTGCA & ECF02_2817 & reverse \\ \cline{1-3}
          TTCAAGAAACCATGGCCAC & ECF11_987 & forward \\ \cline{1-3}
          GCTCGGCCAAATATCATCG & ECF11_987 & reverse \\ \cline{1-3}  
    \end{tabular}
\end{table}

TEXTEXTEXT

**更新和解决方案**

错误不是在main.tex本身,而是在一个输入文件中。因此,当TeXMaker告诉您缺少括号时,请跳到main.tex中发生错误的行,并检查输入文件中的括号,在这里可以看到。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-06-11 12:45:46

所以,这个错误毕竟是一个丢失的卷发支撑!然而,它并没有在main.tex中丢失,而是在图形标题中的输入文件中丢失!

谢谢任何人,谁的大脑可能已经融化了,试图找到一个解决我的问题。我希望这对其他人有所帮助,如果他们遇到同样的错误。:)

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/50796955

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档