Mailing List CyrTeX-ru@vsu.ru Message #3277
From: <CyrTeX-ru@vsu.ru>
Subject: график .tpx не работает, помогите!!!
Date: Wed, 10 Jul 2013 14:19:05 +0300
To: Cyrillic TeX Users Group <CyrTeX-ru@vsu.ru>
Выдается сообщение
ABD: EveryShipout initializing macros (C:\Tex\Fig1.TpX
! LaTeX Error: Not in outer par mode...
l.31 \centering...
You've lost some text...
File: Fig1.eps Graphic file (type eps)
<Fig1.eps>
Я ничего не понял. Напрямую график работает, но не работает
на вызов из .tex (год назад этот вызов работал):
\begin{figure}[ht]\vspace*{-5mm}\input{Fig1.TpX}\vspace*{-5mm}
\end{figure} \par
Вот преамбула:
\documentclass[10pt]{amsart}
\usepackage{amssymb,latexsym}
\usepackage{graphicx}
\usepackage{ifpdf}
\ifpdf %if using pdfLaTeX in PDF mode
\usepackage[pdftex]{graphicx}
\DeclareGraphicsExtensions{.eps,.TpX,.pdf,.png,.jpg,.jpeg,.mps}
\usepackage{pgf} \usepackage{tikz}
\else %if using LaTeX or pdfLaTeX in DVI mode
\usepackage{graphicx}
\DeclareGraphicsExtensions{.eps,.bmp}
\DeclareGraphicsRule{.emf}{bmp}{}{}% declare EMF filename
extension
\DeclareGraphicsRule{.png}{bmp}{}{}% declare PNG filename
extension
\usepackage{pgf}
\usepackage{tikz}
\usepackage{pstricks}
\fi
\usepackage{epic,bez123}
\usepackage{floatflt}% package for floatingfigure
environment
\usepackage{wrapfig}% package for wrapfigure environment
\usepackage[matrix,arrow,curve]{xy}
Вот тект файла Fig1.TpX:
\begin{figure}
\centering
\ifpdf
\setlength{\unitlength}{1.00 mm}%
\begin{picture}(71.24,58.59)(-41.14,-30.52)
\thinlines\lbezier(-1.26,5.10)(-1.26,8.18)
\thinlines\lbezier(-1.26,2.03)(-1.26,-3.36)
\thinlines\lbezier(-1.26,-5.67)(-1.26,-8.74)
\thinlines\lbezier(10.28,-0.28)(4.12,-0.28)
\thinlines\lbezier(10.28,-0.28)(7.48,0.42)\lbezier(7.48,0.42)(10.28,-0.28)\lbezier(10.28,-0.28)(7.48,-0.98)\lbezier(7.48,-0.98)(10.28,-0.28)
\thinlines\lbezier(-1.26,22.79)(-1.26,12.79)
\thinlines\lbezier(-1.26,22.79)(-1.96,19.99)\lbezier(-1.96,19.99)(-1.26,22.79)\lbezier(-1.26,22.79)(-0.56,19.99)\lbezier(-0.56,19.99)(-1.26,22.79)
\thinlines\lbezier(-5.11,15.10)(-5.11,18.95)
\thinlines\lbezier(-5.11,15.10)(-4.41,17.90)\lbezier(-4.41,17.90)(-5.11,15.10)\lbezier(-5.11,15.10)(-5.81,17.90)\lbezier(-5.81,17.90)(-5.11,15.10)
\thinlines\lbezier(2.59,15.10)(2.59,18.95)
\thinlines\lbezier(2.59,15.10)(3.29,17.90)\lbezier(3.29,17.90)(2.59,15.10)\lbezier(2.59,15.10)(1.89,17.90)\lbezier(1.89,17.90)(2.59,15.10)
\thinlines\lbezier(-5.11,-15.67)(-5.11,-19.51)
\thinlines\lbezier(-5.11,-15.67)(-5.81,-18.47)\lbezier(-5.81,-18.47)(-5.11,-15.67)\lbezier(-5.11,-15.67)(-4.41,-18.47)\lbezier(-4.41,-18.47)(-5.11,-15.67)
\thinlines\lbezier(2.59,-15.67)(2.59,-19.51)
\thinlines\lbezier(2.59,-15.67)(1.89,-18.47)\lbezier(1.89,-18.47)(2.59,-15.67)\lbezier(2.59,-15.67)(3.29,-18.47)\lbezier(3.29,-18.47)(2.59,-15.67)
\thinlines\lbezier(-1.26,-13.36)(-1.26,-23.36)
\thinlines\lbezier(-8.95,22.79)(-8.95,-23.36)
\thinlines\lbezier(6.43,22.79)(6.43,-23.36)
\thinlines\cbezier(-8.95,-7.21)(-7.12,-7.21)(-5.36,-6.48)(-4.06,-5.18)\cbezier(-4.06,-5.18)(-2.76,-3.88)(-2.03,-2.12)(-2.03,-0.28)\cbezier(-2.03,-0.28)(-2.03,1.55)(-2.76,3.31)(-4.06,4.61)\cbezier(-4.06,4.61)(-5.36,5.91)(-7.12,6.64)(-8.95,6.64)
\thinlines\cbezier(6.29,6.71)(4.45,6.71)(2.69,5.98)(1.39,4.68)\cbezier(1.39,4.68)(0.10,3.39)(-0.63,1.63)(-0.63,-0.21)\cbezier(-0.63,-0.21)(-0.63,-2.05)(0.10,-3.81)(1.39,-5.11)\cbezier(1.39,-5.11)(2.69,-6.40)(4.45,-7.13)(6.29,-7.13)
\put(11.41,-0.85){\fontsize{6.57}{7.88}\selectfont
\makebox[0pt]{x}}
\put(-1.05,24.26){\fontsize{6.57}{7.88}\selectfont
\makebox[0pt]{y}}
\put(-1.26,9.72){\fontsize{6.57}{7.88}\selectfont
\makebox[0pt]{I}}
\put(-1.26,-11.82){\fontsize{6.57}{7.88}\selectfont
\makebox[0pt]{I}}
\thinlines\lbezier(1.05,-0.28)(-3.57,-0.28)
\thinlines\lbezier(-6.64,-0.28)(-12.80,-0.28)
\put(1.35,-1.14){\fontsize{6.57}{7.88}\selectfont III}
\put(-6.21,-1.14){\fontsize{6.57}{7.88}\selectfont III}
\put(-1.26,2.79){\fontsize{6.57}{7.88}\selectfont
\makebox[0pt]{II}}
\thinlines\lbezier(-8.95,-7.21)(6.43,-7.21)
\thinlines\lbezier(-8.95,6.64)(6.43,6.64)
\put(-1.26,-5.28){\fontsize{6.57}{7.88}\selectfont
\makebox[0pt]{II}}
\put(-39.14,-28.02){\fontsize{6.57}{7.88}\selectfont Fig.
1. Break-up and propagation of discontinuity line after bar
collision.}
\end{picture}%
\else
  \setlength{\unitlength}{1bp}%
  \begin{picture}(201.93, 166.08)(0,0)
  \put(0,0){\includegraphics{Fig1}}
  \put(148.96,84.10){\fontsize{6.57}{7.88}\selectfont
\makebox[0pt]{x}}
  \put(113.65,155.28){\fontsize{6.57}{7.88}\selectfont
\makebox[0pt]{y}}
  \put(113.05,114.05){\fontsize{6.57}{7.88}\selectfont
\makebox[0pt]{I}}
  \put(113.05,53.00){\fontsize{6.57}{7.88}\selectfont
\makebox[0pt]{I}}
  \put(120.45,83.29){\fontsize{6.57}{7.88}\selectfont III}
  \put(99.02,83.29){\fontsize{6.57}{7.88}\selectfont III}
  \put(113.05,94.43){\fontsize{6.57}{7.88}\selectfont
\makebox[0pt]{II}}
  \put(113.05,71.54){\fontsize{6.57}{7.88}\selectfont
\makebox[0pt]{II}}
  \put(5.67,7.08){\fontsize{6.57}{7.88}\selectfont Fig. 1.
Break-up and propagation of discontinuity line after bar
collision.}
  \end{picture}%
\fi
\end{figure}
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster