[OS X TeX] pdf corrupted, again.

Javier Elizondo javier_elizondo69 at yahoo.com
Fri May 2 21:23:20 CEST 2008


Hi,

I reported to this list a while ago about  the problem with the output pdf file (corrupted). I thought it was a package or something like that. But now, I have the problem almost every time, I am using skim and carbon emacs. This last time I decided to open acroread and open the file every time I run latex. It worked. If you have any new news about this please send to the list. It will be very helpful to everyone. 


Regards, Javier

PS. In case you want to see the file I was running here it goes.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[12pt]{article}
%\usepackage[latin1]{inputenc}
%\usepackage[spanish]{babel}
%\usepackage{pdfsync}
%%%%%%%%%%%%%%%%%%%%    Packages     %%%%%%%%%%%%%%%%%%%%%
%\usepackage{amscd}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{eucal}
%\usepackage{amsgen}
\usepackage{amstext}
\usepackage{amsbsy}
\usepackage{amsopn}
\usepackage{amssymb}
\usepackage[all]{xy}
%\AtBeginDocument{\decimalpoint}
\usepackage{pdfsync}

\pagestyle{empty}
%%%%%%%%%%%%%%%%%%%%      Macros      %%%%%%%%%%%%%%%%%%%%

       %%%%%%%% Environments %%%%%%%%%%%

\newtheorem{theorem}{Theorem}[section]
\newtheorem{thm}[theorem]{Theorem}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{corollary}[theorem]{Corollary}

\theoremstyle{definition}
  
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newtheorem{subexamples}[theorem]{Subexamples}
\newtheorem{conjecture}[theorem]{Conjecture}
\newtheorem{properties}[theorem]{Properties}
\newtheorem{facts}[theorem]{Facts}
\newtheorem{problem}{Problem}
\theoremstyle{remark}

\newtheorem{remark}[theorem]{Remark}
\newtheorem{rmk}[theorem]{Remark}
\newtheorem{notation}[theorem]{Notation}


\newtheorem*{ack}{\bf Acknowledgement}


        %%%%%%%%%%% Fonts %%%%%%%%%%%%

%%%%%%% BlackBoardBold %%%%%%%%%%%%%%%

\newcommand{\field}[1]{\ensuremath{\mathbb{#1}}}
\newcommand{\A}{\field{A}}
\newcommand{\C}{\field{C}}
\newcommand{\F}{\field{F}}
\newcommand{\N}{\field{N}}
\newcommand{\Pp}{\field{P}}
\newcommand{\Q}{\field{Q}}
\newcommand{\R}{\field{R}}
\newcommand{\T}{\field{T}}
\newcommand{\Z}{\field{Z}}
\newcommand{\G}{\field{G}}
\renewcommand{\P}{\field{P}}

%%%%%%% Calligraphic %%%%%%%%%%%%%%%

\newcommand{\cala}{\mathcal{A}}
\newcommand{\calb}{\mathcal{B}}
\newcommand{\calc}{\mathcal{C}}
\newcommand{\cald}{\mathcal{D}}
\newcommand{\cale}{\mathcal{E}}
\newcommand{\calf}{\mathcal{F}}
\newcommand{\call}{\mathcal{L}}
\newcommand{\calm}{\mathcal{M}}
\newcommand{\caln}{\mathcal{N}}
\newcommand{\calo}{\mathcal{O}}
\newcommand{\calp}{\mathcal{P}}
\newcommand{\sO}{\calo}
\newcommand{\sS}{\mathcal{S}}
\newcommand{\sQ}{\mathcal{Q}}
\newcommand{\sL}{\call}
\newcommand{\sE}{\cale}
%%%%%%% MathBold   (lower case)  %%%%%%%%%%%%%%%

\newcommand{\bone}{\mathbf{1}}

\newcommand{\mba}{\mathbf{a}}
\newcommand{\mbb}{\mathbf{b}}
\newcommand{\mbc}{\mathbf{c}}
\newcommand{\mbd}{\mathbf{d}}
\newcommand{\mbe}{\mathbf{e}}
 \newcommand{\mbf}{\mathbf{f}}
\newcommand{\mbg}{\mathbf{g}}
\newcommand{\mbh}{\mathbf{h}}
\newcommand{\mbi}{\mathbf{i}}
\newcommand{\mbm}{\mathbf{m}}
\newcommand{\mbn}{\mathbf{n}}

        %%%%%%%%%%%%%%%%%% Mathfrak %%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\mfm}{\ensuremath{\mathfrak{m}}}
 


        %%%%%%%%%%%% Delimiters %%%%%%%%%%%%

\newcommand{\lp}{\left( }
\newcommand{\rp}{\right) }

        %%%%%%%%%%%% Spaces %%%%%%%%%%%%

\newcommand{\ps}[1]{\ensuremath{\Pp^{#1}}}
\newcommand{\spr}[2]{\ensuremath{SP^{#1}\lp{#2}\rp}}
\newcommand{\gr}[2]{\ensuremath{G\lp{#1},{#2}\rp}}
\newcommand{\grp}[2]{G_{#1}(\Pp^{#2})}
\newcommand{\fl}[2]{F(#1;\Pp^{#2})}
\newcommand{\py}{p_\infty}
\newcommand{\cq}{/\!\!/ }
\newcommand{\scho}[2]{\omega^{#2}_{#1}}
\newcommand{\sch}[2]{\Omega^{#2}_{#1}}
\newcommand{\cvp}[2]{\ensuremath{{\mathcal C}_{#1}\bigl(#2\bigr)}}
\newcommand{\cvpd}[3]{\ensuremath{{\mathcal C}_{#1,#2}\left( #3\right)}}     
        %%%%%%%%%%%% Monoids, Groups and (Co)-Homology %%%%%%%%%%%%
\newcommand{\GL}{{\rm GL}\,}
\newcommand{\atm}{\mbox{${\mathfrak{Atm}}$}}
\newcommand{\atmp}{\mbox{${\mathfrak{Atm}_p}$}}
\newcommand{\gar}[1]{\ensuremath{{\mathfrak{A}}_R\hspace{-.04cm}\langle #1 \rangle }}
%
\newcommand{\garf}[1]{\ensuremath{{\mathfrak{A}}_{R}^{fin}\hspace{-.06cm}\langle #1 \rangle }}
%


\newcommand{\apx}[1]{\ensuremath{{\Pi}_{p}(#1)}}
\newcommand{\ap}{\ensuremath{{\Pi}_{p}}}
\newcommand{\ax}[2]{\ensuremath{\Pi_{#1}\bigl(#2\bigr)}}
\newcommand{\alg}[2]{\ensuremath{\mathcal{A}_{#1}\bigl(#2\bigr)}}
\newcommand{\algp}[2]{\ensuremath{\mathcal{A}^{\geq}_{#1}\bigl(#2\bigr)}}
\newcommand{\mmp}[2]{\ensuremath{M_{#1}\bigl(#2\bigr)}}
\newcommand{\hg}[3]{\ensuremath{H_{#1}(#2,#3)}}
\newcommand{\cg}[3]{\ensuremath{H^{#1}\lp #2,#3\rp}}
\newcommand{\ns}[1]{\ensuremath{\mbox{NS}(#1)}}
\newcommand{\nss}[2]{\ensuremath{{NS\bigl(#1\bigr)}{\oplus}{NS\bigl(#2\bigr)}}}
\newcommand{\pic}[3]{\ensuremath{{Pic}^{#1}_{#2}\bigl(#3 \bigr)}}
\newcommand{\Zp}{\ensuremath{{\field{Z}}_{p}}}
\newcommand{\Zplus}{\ensuremath{{\field{Z}}_{+}}}

        %%%%%%%%%%%% SERIES AND PROJECTIVIZATIONS %%%%%%%%%%%%

\newcommand{\ahcs}[2]{\ensuremath{P_{#1}^{#2}(t)}}
\newcommand{\hcs}[2]{\ensuremath{P_{#1}^{#2}(t)}}
\newcommand{\aecs}[2]{\ensuremath{E_{#1}\bigl(#2\bigr)}}
\newcommand{\ecs}[2]{\ensuremath{E_{#1}\bigl(#2\bigr)}}
\newcommand{\pb}[1]{\ensuremath{{\Pp}\bigl(#1\bigr)}}
\newcommand{\vb}[2]{\ensuremath{{\mathcal O}_{#1}\bigl(#2\bigr)}}
\newcommand{\eone}{\ensuremath{E\oplus{\bone}}}
\newcommand{\eot}{\ensuremath{E_1\oplus E_2}}
\newcommand{\efib}{\ensuremath{{\pb{E_1}\!\!\times_{W}\!\pb{E_2}}}}
\newcommand{\us}[1]{\ensuremath{\underline{#1}}}
%%%%%%%%%%%%%%%ARROWS%%%%%%%%%%%%%%%%%%%%
\newcommand{\by}[1]{\stackrel{#1}{\longrightarrow}}
\newcommand{\onto}{\twoheadrightarrow}
\newcommand{\into}{\hookrighthttp://www.cnn.com/arrow}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      %%%%%%%%%%%%  MISCELLANEOUS  %%%%%%%%%%%%
\newcommand{\tensor}{\otimes}
\newcommand{\ie}{{\it i.e.\/},\/}
\newcommand{\coker}{{\rm coker}\,}
\newcommand{\codim}{{\rm codim}\,}

\newcommand{\co}[2]{\ensuremath{\mathcal{O}_{#1}\bigl(#2\bigr)}}
\newcommand{\eaeq}{\sim_{\text{alg}^+}}
\newcommand{\aeq}{\sim_{\text{alg}}}
\newcommand{\equdef}{:=}
\DeclareMathOperator{\supp}{supp}
%\DeclareMathOperator{\im}{im}
%\DeclareMathOperator{\Jac}{Jac}
\DeclareMathOperator{\Pic}{Pic}
%\DeclareMathOperator{\Div}{Div_{T}}
%\DeclareMathOperator{\Hom}{Hom}
%\DeclareMathOperator{\Spec}{Spec}
\DeclareMathOperator{\rank}{rk}
\DeclareMathOperator{\effd}{Div_+}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ENUMERATE %%%%%%%%%%%%%%%%%%%%%%%%

\renewcommand{\theenumi}{\Roman{enumi}}
\renewcommand{\labelenumi}{\theenumi.}
\renewcommand{\theenumii}{\arabic{enumii}}
\renewcommand{\labelenumii}{\theenumii.}
\renewcommand{\theenumiii}{\arabic{enumiii}}
\renewcommand{\labelenumiii}{http://www.cnn.com/\theenumii.\theenumiii.}
%\renewcommand{\p at enumiii}{\theenumii}

%%%%%%%%%%%%%%%%%%%%    Page layout   %%%%%%%%%%%%%%%%%%%%

%\markright{First Draft}
%\pagestyle{myheadings}

\hfuzz1.5pc % Don't bother to report overfull boxes if overage is < 1pc
%\vfuzz3pc % only for draftheadstyle

%\show \serieslogo@
%\show \makeatletter

%\makeatletter
%\renewcommand{\serieslogo@}{\begin{minipage}{8cm}
%To appear in \\ {\sc Journal of Algebraic Geometry}
%\end{minipage}}
%\renewcommand{\@setcopyright}{}
%\makeatother


%\setlength{\headsep}{0pt}
%\setlength{\headheight}{0pt}
%\setlength{\topmargin}{0pt}
%\setlength{\footskip}{50pt}
\setlength{\oddsidemargin}{0in}
\setlength{\evensidemargin}{0in}
\setlength{\textwidth}{6.5in}
\setlength{\textheight}{8.5in}
\setlength{\parskip}{1mm}
\renewcommand{\baselinestretch}{1.25}

%%%%%%%%%%%%%%%%%%%%    Top Matter (amsart style)  %%%%%%%%%%%%%%%%%%%%%

%\date{ }
%\title[Chow varietihttp://www.rae.es/es and Euler-Chow series]{Some remarks on Chow
%varieties and Euler-Chow series} 
%\author{E. Javier Elizondo}
%\address{Instituto de Matem\'aticas, UNAM, Mexico}
%\thanks{The first author was supported in part by grants UNAM-DGAPA
%IN119298 and CONACYT 27969E} 
%\email{javier at math.unam.mx}

%\author{V. Srinivas}
%\address{School of Mathematics, Tata Institute of Fundamental Research, Homi Bhabha
%Road, Mumbai-400005, India}
%\thanks{ Srinvias, here you have to write if you like to thanks} 
%\email{srinivas at math.tifr.res.in}



\begin{document}
%\maketitle

\begin{flushright}
Name:\underline{\hspace{7cm} }\\
UIN:\underline{\hspace{7cm} }
\end{flushright} %\vspace{1.5cm}
\begin{flushleft}
MATH-172-501
\end{flushleft}
\begin{center}{\Large {\bf Final Exam}}\end{center}
\begin{center}{\large Javier Elizondo}\end{center}\vspace{.3cm}
You should name and write the tests for the convergence of series that
you need in solving a problem. 

\begin{enumerate}
\item[I.] % 7-review- 453-18
Let $\cal R$ be the region in the first quadrant bounded by
  the curves\ $y=x^3$ \ and\ $y=2x-x^2$. Calculate the volume obtained
  by rotating $\cal R$ about the $y$-axis. \vspace{.3cm}\\
Sol. $V= \int_0^1 2\pi x(2x-x^2-x^3)dx = 13\pi/13  $

\item[II.]  % 7-review-453-29
A force of 30 N is required to maintain a spring stretched from its
natural length of 12 cm to a length of 15 cm. How much work is done in
stretching the spring from 12 cm to 20 cm? \vspace{.3cm}\\
Sol. $30N = f(x)= kx =k(0.03m) \Rightarrow k=(30/0.03) (N/m) =1000
(N/m)$. \newline Now, $W = \int_0^{0.08} kx\,dx = 3.2 \,J$

\item[III.] % 8.3-476-27
Compute $$\int e^x \sqrt{9-e^{2x}}\, dx$$ 
Sol.$u = e^x \Rightarrow du = e^x \,dx.\Rightarrow \int e^x
\sqrt{9-e^{2x}} =\int \sqrt{9-u^2} \int (3\cos\theta)3\cos\theta =$
\newline $= 9/2 (\theta + \sin\theta \cos\theta) + C$   

\item[IV.]  % 8.4-485-31
Compute $$\int \frac{5x^2 + 3x -2}{x^3 + 2x^2}\, dx$$
Sol. $$ \int \left(\frac{5x^2 + 3x -2}{x^3 + 2x^2}\right) \, dx =
\int \left(\frac{2}{x}-\frac{1}{x^2}+\frac{3}{x+2}\right) dx =
2\ln|x| + \frac{1}{x} +3\ln|x+2| + C     $$

\item[V.] % 8 review-519-45
Evaluate the integral or prove that it is divergent 
$$ \int_{0}^{3} \frac{dx}{x^2 -x -2}.$$
Sol. $$ \int_{0}^{3} \frac{dx}{x^2 -x -2} = \int_0^2
\frac{dx}{(x+1)(x-2)} + \int_2^3 \frac{dx}{(x+1)(x-2)} $$
$$\text{ But }
  \int_2^3 \frac{dx}{(x+1)(x-2)} = \lim_{t\rightarrow 2^{+}} \left[
    \frac{-1/3}{x+1} + \frac{1/3}{x-2}\right] = \infty  $$

\item[VI.] % 9.1- 534-30
A Tank contains 1000 L of pure water. Brine that contains 0.05 Kg of
salt per liter of water enters the tank at a rate of 5 L/min. Brine
that contains 0.04 kg of salt per liter of water enters the tank at a
rate of 10 L/min. 
The solution
is kept thoroughly mixed and drains from the tank at the same
rate of 15 L/min. How much salt is in the tank after $t$
min?\vspace{.3cm}\\ 
Sol. $$ \frac{dy}{dt} = (0.05)(5) +(0.04)(10) -
\left(\frac{y(t)}{1000}\right) (15) =0.65 -0.015y =
\frac{130-3y}{200}$$
$$\int \frac{dy}{130 - 3y} = \int \frac{dt}{200} \text{ since } y(0)
= 0 \Rightarrow  |130 - 3y| = 130 e^{-3t/200} $$

\item[VII.] % 9.2-540-20
Solve the following differential equation 
$$
x\, \frac{dy}{dx} - \frac{y}{x+1} = x \,\,\,\,\,\,\, y(1)=0, \,\,\,\,\, x>0
$$
Sol. $$ y^\prime - \frac{y}{x(x+1)} = 1 \, \, (x>0) \Rightarrow I(x)
= \int e^{[{1}/{x(x+1)}]dx}= \frac{x+1}{x}  $$
$$ \left( \frac{x+1}{x} \, y\right)^\prime = \frac{x+1}{x} $$
$$ y = \frac{x}{x+1} (x+\ln x +C). \text{ But } y(1) = 0 \Rightarrow C= -1$$

\item[VIII.] % 10.5 617-12
Find the radius and interval of converge of 
$$ \sum_{n=1}^{\infty} \frac{(-1)^n x^{2n-1}}{(2n-1)!}$$
Sol. $$ \lim_{n\rightarrow \infty} \left|
  \frac{a_{n+1}}{a_n}\right|=\lim_{n\rightarrow \infty}
  \frac{x^2}{(2n+1) 2n} = 0 < 1$$
Therefore the series converges for all $x$.  

\item[IX.] % 10.7-633-11
Find the Taylor series for\, $f(x)=\sin x$\ at\ $x=\pi /4$.\newline What is the
radius of convergence?\vspace{.3cm}\\
Sol. $\sin x = f(\pi/4) + f^\prime (\pi/4) (x- (\pi/4)) +
\frac{f^{\prime\prime}(\pi/4)}{2!}(x-\frac{\pi}{4})^2 +
\cdots =$ Therefore
$$ \sin x = \frac{\sqrt{2}}{2}\sum_{n=0}{\infty} \,
\frac{(-1)^{n(n-1)/2} (x-\frac{\pi}{4})^n }{n!} $$
$$\lim_{n\rightarrow \infty} \left| \frac{a_{n+1}}{a_n}\right| =
\lim_{n\rightarrow \infty} \frac{|x-\frac{\pi}{4}|}{n+1} = 0 < 1\vspace{.3cm} $$
Therefore, the series converge for all the real numbers.


\item[X.] % 10.7-633-32
Evaluate the indefinite integral $$\int e^{x^3} dx$$ as an
  infinite series \vspace{.3cm}\\
Sol. 
$$\int e^{x^3} dx = \int \sum_{n=0}^{\infty} \frac{(x^3)^n}{n!} dx =
C + \sum_{n=0}^{\infty} \frac{x^{3n +1}}{(3n+1)n!} \,\, \text{ with }
R = \infty   $$


\end{enumerate}
%\underline{\hspace{16.5cm}}\\
%{\large Some formulas}
%
%$$\int \sec x \, dx = \ln |\sec x + \tan x| + C$$
%$$ \int \csc x \,dx = \ln |\csc x - \cot x | + C$$
\end{document}






      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ





      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



More information about the macostex-archives mailing list