[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tex Order Template Weirdness



I've never run into this. Only thing I think I did, was upgrade from 1.2.18 to 1.2.21.

When I try to print PDF, I'm seeing this. The order template itself is attached.

If 1307747392_sales_order_11000009.log exists anywhere, I can't find it.


Error!

   This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
   %&-line parsing enabled.
   entering extended mode
   (./1307747392_sales_order_11000009.tex
   LaTeX2e <2005/12/01>
   Babel <v3.8h> and hyphenation patterns for english, usenglishmax,
   dumylang, noh
   yphenation, croatian, ukrainian, russian, bulgarian, czech, slovak,
   danish, dut
   ch, finnish, basque, french, german, ngerman, ibycus, greek, monogreek,
   ancient
   greek, hungarian, italian, latin, mongolian, norsk, icelandic,
   interlingua, tur
   kish, coptic, romanian, welsh, serbian, slovenian, estonian, esperanto,
   upperso
   rbian, indonesian, polish, portuguese, spanish, catalan, galician,
   swedish, loa
   ded.
   (/usr/share/texmf-texlive/tex/latex/koma-script/scrartcl.cls
   Document Class: scrartcl 2006/07/30 v2.95b KOMA-Script document class
   (article)
   (/usr/share/texmf-texlive/tex/latex/koma-script/scrkbase.sty
   (/usr/share/texmf-texlive/tex/latex/koma-script/scrlfile.sty
   Package scrlfile, 2006/03/28 v2.95 KOMA-Script package (loading files)
   Copyright (C) Markus Kohm
   ) (/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty))
   (/usr/share/texmf-texlive/tex/latex/base/size11.clo)
   (/usr/share/texmf-texlive/tex/latex/koma-script/typearea.sty
   Package typearea, 2006/07/30 v2.95b KOMA-Script package (type area)
   Copyright (C) Frank Neukam, 1992-1994
   Copyright (C) Markus Kohm, 1994-2002
   )) (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
   (/usr/share/texmf-texlive/tex/latex/base/latin1.def))
   (/usr/share/texmf-texlive/tex/latex/tools/tabularx.sty
   (/usr/share/texmf-texlive/tex/latex/tools/array.sty))
   (/usr/share/texmf-texlive/tex/latex/geometry/geometry.sty)
   (/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
   (/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
   (/usr/share/texmf-texlive/tex/latex/graphics/trig.sty)
   (/etc/texmf/tex/latex/config/graphics.cfg)
   (/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def)))
   No file 1307747392_sales_order_11000009.aux.
   ! LaTeX Error: File `logo' not found.
   See the LaTeX manual or LaTeX Companion for explanation.
   Type H <return> for immediate help.
   ...
   l.29 }
   Overfull \hbox (10.95003pt too wide) in paragraph at lines 29--30
   []$[]$
   )
   Runaway argument?
   { \textbf {Ordered By} \vspace {0.3cm} \par Joseph XXXXXXX \par 123
   P\ETC.
   ! File ended while scanning use of ..hidden..
   <inserted text>
   \par
   <*> 1307747392_sales_order_11000009.tex
   ! Emergency stop.
   <*> 1307747392_sales_order_11000009.tex
   ! ==> Fatal error occurred, no output PDF file produced!
   Transcript written on 1307747392_sales_order_11000009.log.
\documentclass{scrartcl}
\usepackage[latin1]{inputenc}
\usepackage{tabularx}
\usepackage[letterpaper,top=2cm,bottom=1.5cm,left=1.1cm,right=1.5cm]{geometry}
\usepackage{graphicx}

\begin{document}

\pagestyle{myheadings}
\thispagestyle{empty}

\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont

<?lsmb include letterhead.tex ?>

<?lsmb pagebreak 65 27 48 ?>
\end{tabularx}

  \rule{\textwidth}{2pt}
  
  \hfill
  ..hidden..@{}}
  & \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\
  \end{tabularx}

\newpage

\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}


..hidden..@{}}
  \textbf{\#} & \textbf{Number} & \textbf{Description} & \textbf{Qty} &
  \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\
  & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\
<?lsmb end pagebreak ?>


\vspace*{0.5cm}

\parbox[t]{.5\textwidth}{
\textbf{Ordered By}
\vspace{0.3cm}
  
<?lsmb name ?>

<?lsmb address1 ?>

<?lsmb if address2 ?><?lsmb address2 ?><?lsmb end address2 ?>

<?lsmb city ?>
<?lsmb if state ?>
\hspace{-0.1cm}, <?lsmb state ?>
<?lsmb end state ?>
<?lsmb zipcode ?>

<?lsmb country ?>

\vspace{0.3cm}

<?lsmb if contact ?>
<?lsmb contact ?>
\vspace{0.2cm}
<?lsmb end contact ?>

<?lsmb if customerphone ?>
Tel: <?lsmb customerphone ?>
<?lsmb end customerphone ?>

<?lsmb if customerfax ?>
Fax: <?lsmb customerfax ?>
<?lsmb end customerfax ?>

<?lsmb if email ?><?lsmb email ?><?lsmb end email ?>
}
\hfill

\vspace{1cm}

\textbf{S A L E S} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
\textbf{THIS IS NOT} \parbox{0.3cm}{\hfill} \textbf{AN INVOICE}
\hfill

\vspace{1cm}

\begin{tabularx}{\textwidth}{*{4}{|X}|} \hline
  \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} \\ [0.5em]
  \hline
  <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> \\
  \hline
\end{tabularx}
  
\vspace{1cm}

..hidden..@{}}
  \textbf{\#} & \textbf{Number} & \textbf{Description} & \textbf{Qty} &
  \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\
<?lsmb foreach number ?>
  <?lsmb runningnumber ?>. & <?lsmb number ?> & <?lsmb description ?><?lsmb if itemnotes ?> (<?lsmb itemnotes ?>)<?lsmb end itemnotes ?> & <?lsmb qty ?> &
  <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\
<?lsmb end number ?>
\end{tabularx}


\parbox{\textwidth}{
\rule{\textwidth}{2pt}

\vspace{0.2cm}

\hfill
..hidden..@{}}
  & Subtotal & <?lsmb subtotal ?> \\
<?lsmb foreach tax ?>
  & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\
<?lsmb end tax ?>
  \hline
  & Total & <?lsmb ordtotal ?>\\
\end{tabularx}

\vspace{0.3cm}

<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100
\hfill
All prices in \textbf{<?lsmb currency ?>}.

<?lsmb if terms ?>
Terms: <?lsmb terms ?> days
<?lsmb end terms ?>

\vspace{12pt}

<?lsmb notes ?>

}

\vfill

\centerline{\textbf{Thank You for your valued business!}}

\rule{\textwidth}{0.5pt}

\end{document}