2017-12-07 17 views
0

にTEXファイルをコンパイルしていない私はRスタジオでTEXファイルからPDFファイルを生成しようとしていますが、私はこのエラーを取得しています:は、Rは、PDF

tools::texi2pdf("myFirstAlignment.tex", clean=TRUE) 
Warning message: 
running command '"C:\PROGRA~1\MIKTEX~1.9\miktex\bin\x64\texify.exe" --quiet --pdf "myFirstAlignment.tex" --max-iterations=20 -I "C:/PROGRA~1/R/R-34~1.1/share/texmf/tex/latex" -I "C:/PROGRA~1/R/R-34~1.1/share/texmf/bibtex/bst"' had status 1 

それはかつて働いていたが、私は、なぜISNを知りませんもう駄目だ。 誰でも助けてくれますか?

EDITED:

> traceback() 
3: stop(gettextf("unable to run '%s' on '%s'", latex, file), domain = NA) 
2: texi2dvi(texfile, quiet = !verbose, pdf = identical(output, "pdf"), 
     texinputs = system.file("tex", package = "msa"), clean = TRUE, 
     index = FALSE) 
1: msaPrettyPrint(myFirstAlignment, output = "pdf", showNames = "left", 
     showLogo = "none", askForOverwrite = FALSE, verbose = FALSE) 

EDITED2:

Error: running 'texi2dvi' on 'my.tex' failed 

LaTeX errors: 
C:/Users/tiago/Documents/R Estatistica/go_tropismo/my.tex:37: ==> Fatal error 
occurred, no output PDF file produced! 
In addition: Warning message: 
running command '"C:\PROGRA~1\MIKTEX~1.9\miktex\bin\x64\texify.exe" --quiet --pdf "my.tex" --max-iterations=20 -I "C:/PROGRA~1/R/R-34~1.1/share/texmf/tex/latex" -I "C:/PROGRA~1/R/R-34~1.1/share/texmf/bibtex/bst"' had status 1 

> traceback() 
3: stop(msg, call. = FALSE, domain = NA) 
2: texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, 
     texi2dvi = texi2dvi, texinputs = texinputs, index = index) 
1: tools::texi2pdf("my.tex", clean = TRUE) 

EDITED3、これはエラーの後に来たログです。それを修正するための有用なヒントがあるかどうか誰かに伝えることができますか?私はすでに私が考えることができるすべてを試みた。どんな助けもありがとう。

This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6500 64-bit) (preloaded format=pdflatex 2017.11.21) 7 DEC 2017 14:23 
entering extended mode 
**"C:/Users/tiago/Documents/R Estatistica/go_tropismo/myFirstAlignment.tex" 
("C:/Users/tiago/Documents/R Estatistica/go_tropismo/myFirstAlignment.tex" 
LaTeX2e <2017-04-15> 
Babel <3.15> and hyphenation patterns for 75 language(s) loaded. 
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls" 
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class 
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo" 
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option) 
) 
\[email protected]=\count79 
\[email protected]=\count80 
\[email protected]=\count81 
\[email protected]=\count82 
\[email protected]=\count83 
\[email protected]=\count84 
\[email protected]=\count85 
\[email protected]=\count86 
\abovecaptionskip=\skip41 
\belowcaptionskip=\skip42 
\bibindent=\dimen102 
) ("C:\Program Files\MiKTeX 2.9\tex\latex\texshade\texshade.sty" 
Package: texshade 2011/05/13 LaTeX TeXshade (v1.24) 
Package `texshade', Version 1.24 of 2011/12/01. ("C:\Program Files\MiKTeX 2.9\t 
ex\latex\graphics\color.sty" 
Package: color 2016/07/10 v1.1e Standard LaTeX Color (DPC) 
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics-cfg\color.cfg" 
File: color.cfg 2016/01/02 v1.6 sample color configuration 
) 
Package color Info: Driver file: dvips.def on input line 147. 
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics-def\dvips.def" 
File: dvips.def 2017/06/20 v3.1d Graphics/color driver for dvips 
) ("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\dvipsnam.def" 
File: dvipsnam.def 2016/06/17 v3.0m Driver-dependent file (DPC,SPQR) 
)) ("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\graphics.sty" 
Package: graphics 2017/06/25 v1.2c Standard LaTeX Graphics (DPC,SPQR) 
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\trig.sty" 
Package: trig 2016/01/03 v1.10 sin cos tan (DPC) 
) ("C:\Program Files\MiKTeX 2.9\tex\latex\graphics-cfg\graphics.cfg" 
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration 
) 
Package graphics Info: Driver file: pdftex.def on input line 99. 
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics-def\pdftex.def" 
File: pdftex.def 2017/06/24 v1.0g Graphics/color driver for pdftex 
)) 
\structurefile=\read1 
\featurefile=\write3 
\alignfile=\read2 
\sublogofile=\read3 
\[email protected]=\write4 
("C:\Program Files\MiKTeX 2.9\tex\latex\amsfonts\amssymb.sty" 
Package: amssymb 2013/01/14 v3.01 AMS font symbols 
("C:\Program Files\MiKTeX 2.9\tex\latex\amsfonts\amsfonts.sty" 
Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support 
\@emptytoks=\toks14 
\symAMSa=\mathgroup4 
\symAMSb=\mathgroup5 
LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold' 
(Font)     U/euf/m/n --> U/euf/b/n on input line 106. 
)) 
\symalphahelix=\mathgroup6 
\loopcount=\count87 
\innerloopcount=\count88 
\outerloopcount=\count89 
\[email protected]=\count90 
\[email protected]=\count91 
\[email protected]=\count92 
\[email protected]=\count93 
\[email protected]=\count94 
\[email protected]=\count95 
\[email protected]=\count96 
\[email protected]=\count97 
\[email protected]=\count98 
\[email protected]=\count99 
\[email protected]=\count100 
\[email protected]=\count101 
\[email protected]@count=\count102 
\[email protected]=\count103 
\[email protected]=\skip43 
\[email protected]=\skip44 
\[email protected]=\skip45 
\[email protected]=\skip46 
\[email protected]=\skip47 
\[email protected]=\skip48 
\[email protected]=\skip49 
\[email protected]=\skip50 
\[email protected]=\skip51 
\[email protected]=\skip52 
\[email protected]=\skip53 
\[email protected]=\skip54 
\[email protected]=\skip55 
\[email protected]=\skip56 
\[email protected]=\skip57 
\[email protected]=\skip58 
\[email protected]@length=\skip59 
\[email protected]=\skip60 
\[email protected]=\skip61 
Package color Info: Redefining color LightGray on input line 1704. 
Package color Info: Redefining color LightLightGray on input line 1805. 
Package color Info: Redefining color LightLightLightGray on input line 1907. 
) 
No file myFirstAlignment.aux. 
\openout1 = `myFirstAlignment.aux'. 

LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 24. 
LaTeX Font Info: ... okay on input line 24. 
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 24. 
LaTeX Font Info: ... okay on input line 24. 
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 24. 
LaTeX Font Info: ... okay on input line 24. 
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 24. 
LaTeX Font Info: ... okay on input line 24. 
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 24. 
LaTeX Font Info: ... okay on input line 24. 
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 24. 
LaTeX Font Info: ... okay on input line 24. 
("C:\Program Files\MiKTeX 2.9\tex\context\base\supp-pdf.mkii" 
[Loading MPS to PDF converter (version 2006.09.02).] 
\scratchcounter=\count104 
\scratchdimen=\dimen103 
\scratchbox=\box26 
\nofMPsegments=\count105 
\nofMParguments=\count106 
\everyMPshowfont=\toks15 
\MPscratchCnt=\count107 
\MPscratchDim=\dimen104 
\MPnumerator=\count108 
\makeMPintoPDFobject=\count109 
\everyMPtoPDFconversion=\toks16 
) ("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\epstopdf-base.sty" 
Package: epstopdf-base 2016/05/15 v2.6 Base part for package epstopdf 
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\infwarerr.sty" 
Package: infwarerr 2016/05/16 v1.4 Providing info/warning/error messages (HO) 
) ("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\grfext.sty" 
Package: grfext 2016/05/16 v1.2 Manage graphics extensions (HO) 
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\kvdefinekeys.sty" 
Package: kvdefinekeys 2016/05/16 v1.4 Define keys (HO) 
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ltxcmds.sty" 
Package: ltxcmds 2016/05/16 v1.23 LaTeX kernel commands for general use (HO) 
))) ("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\kvoptions.sty" 
Package: kvoptions 2016/05/16 v3.12 Key value format for package options (HO) 
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\keyval.sty" 
Package: keyval 2014/10/28 v1.15 key=value parser (DPC) 
\[email protected]@=\toks17 
) ("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\kvsetkeys.sty" 
Package: kvsetkeys 2016/05/16 v1.17 Key value parser (HO) 
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\etexcmds.sty" 
Package: etexcmds 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO) 
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifluatex.sty" 
Package: ifluatex 2016/05/16 v1.4 Provides the ifluatex switch (HO) 
Package ifluatex Info: LuaTeX not detected. 
) 
Package etexcmds Info: Could not find \expanded. 
(etexcmds)    That can mean that you are not using pdfTeX 1.50 or 
(etexcmds)    that some package has redefined \expanded. 
(etexcmds)    In the latter case, load this package earlier. 
))) ("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\pdftexcmds.sty" 
Package: pdftexcmds 2017/03/19 v0.25 Utility functions of pdfTeX for LuaTeX (HO 
) 
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty" 
Package: ifpdf 2017/03/15 v3.2 Provides the ifpdf switch 
) 
Package pdftexcmds Info: LuaTeX not detected. 
Package pdftexcmds Info: \[email protected] is available. 
Package pdftexcmds Info: \[email protected] is available. 
Package pdftexcmds Info: \pdfdraftmode found. 
) 
Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4 
38. 
Package grfext Info: Graphics extension search list: 
(grfext)    [.pdf,.png,.jpg,.mps,.jpeg,.jbig2,.jb2,.PDF,.PNG,.JPG,.JPE 
G,.JBIG2,.JB2,.eps] 
(grfext)    \AppendGraphicsExtensions on input line 456. 
) (C:/Users/tiago/AppData/Local/Temp/RtmpmKnM7O/seq60787a941199.fasta: . . . . 
. . . . . . . . . [1 
Non-PDF special ignored! 

{C:/Users/tiago/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}] . . . . . . 
. . . . . [2] . . . . . . . . . . . [3] . . . . . . . . . . . [4] . . . . . . . 
. . . . [5] . . . . . . . . . . . [6] . . . . . . . . . . . [7] . . . . . . . . 
. . . [8] . . . . . . . . . . . [9] . . . . . . . . . . . [10] . . . . . . . . 
. . . [11] . . . . . . . . . . . [12] . . . . . . . . . . . [13] . . . . . . . 
. . . . [14] . . . . . . . . . . . [15] . . . . . . . . . . . [16] . . . . . . 
. . . . . [17] . . . . . . . . . . . [18] . . . . . . . . . . . [19] . . . . . 
. . . . . . [20] . . . . . . . . . . . [21] . . . . . . . . . . . [22] . . . . 
. . . . . . . [23] . . . . . . . . . . . [24 
+0

'tools :: texi2pdf(" myFirstAlignment.tex "、clean = TRUE)の後に' traceback() 'を使って、新しい情報が提供されているかどうかを確認します。 –

+0

私は情報で私の質問を編集しました。それは私のもののようには見えません。 –

+0

文字のみを変更/追加して、動作しているかどうか確認します: 'tools :: texi2pdf(" myFirstAlignment2.tex "、clean = TRUE)'。場合によっては、上書きすることができません。これはそのような例かもしれません。私は "2"を追加しました。 –

答えて

0

問題の原因が見つかりました。テキストの長さが用紙サイズには大きすぎます。そのような単純な。テキストファイルの改行を使用すると、問題が解決しました。

+0

あなたはあなた自身の答えを受け入れることができます。 – Elin