Re: [SLUG] Re: Creating PDFs

2002-04-18 Thread Andrew Bennetts

On Thu, Apr 18, 2002 at 01:47:48PM +1000, Terry Collins wrote:
  
 [terryc@owl 2002]$ pdftex 20020417-perm.tex

You're running TeX (well, pdftex)...

 (20020417-perm.tex[/usr/share/texmf/pdftex/config/pdftex.cfg]
 Babel v3.6Z and hyphenation patterns for american, french, german,
 ngerman, i
 talian, portuges, russian, spanish, nohyphenation, loaded.
 ! Undefined control sequence.
 l.4 \documentclass
   [a4paper,12pt]{report}
 ? 
 
 And it repeats for every latex command

...but you say it's a LaTeX document.

Do you get the same problem if you use pdflatex instead of pdftex?

If not, does it work, or what error does it give?

-Andrew.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Re: Creating PDFs

2002-04-18 Thread Angus Lees

On Thu, Apr 18, 2002 at 03:14:12PM +1000, Terry Collins wrote:
 Angus Lees wrote:
  On Thu, Apr 18, 2002 at 01:12:29PM +1000, Terry Collins wrote:
   Angus Lees wrote:
At Wed, 3 Apr 2002 11:39:31 +1000, marty  wrote:
 what tools are people using to create PDFs?
   
i use pdftex (or rather, pdflatex).
  
   Can I ask how?
   both pdftex  pdflatex just reject all the latex stuff with !undefined
   control sequence and the doco is no help.
  
  hmm.. it just works for me (unless you do something silly like try and
  use pstricks)
 
 Okay, that means I'm fundamentally doing the correct thing. Just a few
 crinkles involved
 
  
  what version of pdftex (--version) ?
 
 [terryc@owl 2002]$ pdftex -version 
 pdfTeX (Web2C 7.3.1) 3.14159-0.13d

0.13d is *ancient* (by pdftex standards)

my (standard debian unstable tetex packages) have:
pdfTeX (Web2C 7.3.7) 3.14159-1.00a-pretest-2004-ojmw

iirc, the latest pdftex release is 1.00b-pretest and included in tex live.

its possible to compile a newer pdftex and drop it over an existing install
(i've done it). you have to remember to rebuild the pdflatex format, and
install the relevant .pool files - not just the pdftex binary.

  which tex installation? version? (distro?)
 
 Whatever came on the RH7.1 CDs from Everything Linux. I haven't upgraded
 anything yet.

redhat use the latest stable release of tetex. everyone else (suse,
debian, tex live) are using tetex-beta.

the only places where tex is evolving fast enough these days for that to
be a problem is pdftex and context. if you need either of these, always
look around for a newer version.

it looks like thomas esser will be releasing a new stable version of
tetex fairly soon though.

-- 
 - Gus
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Re: Creating PDFs

2002-04-18 Thread Michael Lake

Terry Collins wrote:
 
 Mike Lake wrote:
 
  Terry wrote
  ! Undefined control sequence.
  l.4 \documentclass
[a4paper,12pt]{report}
?
 
  And it repeats for every latex command
 
 Well, at least the first 10.
 
  What does it do if you try latex ie not pdflatex ?
 
 Works fine for latex.

Right then we do have a valid LaTeX file not a Tex file.

 By going latex - dvips - ps2pdf - I can get a pdf with fuzzy text. So
 I'm assuming that there is nothing wrong with the document.

Thats a different problem. The fonts in the PDF are
bitmapped and that can be solved easy. We will tackle that
later by embedding the fonts or using PS TYpe 1 fonts
instead.
.
  Is there anything in the file before \documentclass that might be
  causing the error?
 
 % This is /home/terryc/latex/terryc/resumes/2002/20020417.tex
 % Updated by Terry Collins on 20020417.

Thats OK.

 That is the $64K question. I can not see anything, but latex
 occcassionally seems to find phantoms. Retyping those lines made no
 difference. Removing those lines made no difference. Guess I just have
 to wait for the wind to change {:-). Following Gus's suggestion, I will
 just start with a simple one pager, then two, etc until I work out what
 it doesn't like.

Yep. Just have one paragraph after the begin{document} and
before the \end{document}. See if it barfs on that.

Mike

-- 
mailer errorAvailable signature space taken up by legal
waffle, insufficient space for normal signature.
/mailer error


UTS CRICOS Provider Code:  00099F

DISCLAIMER
=
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Re: Creating PDFs

2002-04-17 Thread Terry Collins

Angus Lees wrote:
 
 At Wed, 3 Apr 2002 11:39:31 +1000, marty  wrote:
  what tools are people using to create PDFs?
 
 i use pdftex (or rather, pdflatex). 

Can I ask how?
both pdftex  pdflatex just reject all the latex stuff with !undefined
control sequence and the doco is no help.


-- 
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   Wombat Outdoor Adventures Bicycles, Books, Computers, GIS

 People without trees are like fish without clean water
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Re: Creating PDFs

2002-04-17 Thread Michael Lake

Terry Collins wrote:
 Can I ask how?
 both pdftex  pdflatex just reject all the latex stuff with !undefined
 control sequence and the doco is no help.

Details 

-- 

Michael Lake
University of Technology, Sydney
Email: mailto:[EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Linux enthusiast, active caver and interested in anything technical.



UTS CRICOS Provider Code:  00099F

DISCLAIMER
=
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.
=


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Re: Creating PDFs

2002-04-17 Thread Terry Collins

Michael Lake wrote:
 
 Terry Collins wrote:
  Can I ask how?
  both pdftex  pdflatex just reject all the latex stuff with !undefined
  control sequence and the doco is no help.
 
 Details 

 
[terryc@owl 2002]$ pdftex 20020417-perm.tex
This is pdfTeX, Version 3.14159-13d (Web2C 7.3.1)
(20020417-perm.tex[/usr/share/texmf/pdftex/config/pdftex.cfg]
Babel v3.6Z and hyphenation patterns for american, french, german,
ngerman, i
talian, portuges, russian, spanish, nohyphenation, loaded.
! Undefined control sequence.
l.4 \documentclass
  [a4paper,12pt]{report}
? 

And it repeats for every latex command


-- 
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   Wombat Outdoor Adventures Bicycles, Books, Computers, GIS

 People without trees are like fish without clean water
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Re: Creating PDFs

2002-04-17 Thread Mike Lake

Terry wrote
! Undefined control sequence.
l.4 \documentclass
  [a4paper,12pt]{report}
  ? 

And it repeats for every latex command

What does it do if you try latex ie not pdflatex ?
What does it do if you use article class instead of report for latex or
pdflatex.
Is there anything in the file before \documentclass that might be
causing the error?


-- 
One way to make your old car run better is to look up the price of a new model.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver and interested in anything technical.
   ***




UTS CRICOS Provider Code:  00099F

DISCLAIMER
=
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.
=


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Re: Creating PDFs

2002-04-17 Thread Terry Collins

Mike Lake wrote:
 
 Terry wrote
 ! Undefined control sequence.
 l.4 \documentclass
   [a4paper,12pt]{report}
   ?
 
 And it repeats for every latex command

Well, at least the first 10.
 
 What does it do if you try latex ie not pdflatex ?

Works fine for latex.
By going latex - dvips - ps2pdf - I can get a pdf with fuzzy text. So
I'm assuming that there is nothing wrong with the document.

 What does it do if you use article class instead of report for latex or
 pdflatex.

Same problem

 Is there anything in the file before \documentclass that might be
 causing the error?

% This is /home/terryc/latex/terryc/resumes/2002/20020417.tex
% Updated by Terry Collins on 20020417.


That is the $64K question. I can not see anything, but latex
occcassionally seems to find phantoms. Retyping those lines made no
difference. Removing those lines made no difference. Guess I just have
to wait for the wind to change {:-). Following Gus's suggestion, I will
just start with a simple one pager, then two, etc until I work out what
it doesn't like.

Thanks.


-- 
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   Wombat Outdoor Adventures Bicycles, Books, Computers, GIS

 People without trees are like fish without clean water
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Re: Creating PDFs

2002-04-17 Thread Triet Hoai Lai

Terry Collins [EMAIL PROTECTED] writes:

 [terryc@owl 2002]$ pdftex 20020417-perm.tex
 This is pdfTeX, Version 3.14159-13d (Web2C 7.3.1)
 (20020417-perm.tex[/usr/share/texmf/pdftex/config/pdftex.cfg]
 Babel v3.6Z and hyphenation patterns for american, french, german,
 ngerman, i
 talian, portuges, russian, spanish, nohyphenation, loaded.
 ! Undefined control sequence.
 l.4 \documentclass
   [a4paper,12pt]{report}
 ? 

 And it repeats for every latex command

pdftex is equivalent to tex and can only run with plain TeX.  If your
LaTeX document doesn't include any EPS/PS, pdflatex should work.  Here is
template so that you can run both latex and pdflatex:

%% Preamble
\ifx\pdfoutput\undefined% We're not running pdftex
\documentclass[a4paper,12pt]{report}
\else
\documentclass[pdftex,a4paper,12pt]{report}
%% More options described in pdfTeX manual
\pdfcompresslevel=9
\pdfinfo
{ /Title (Title of Document)
  /Author (Your Name)
  /Subject (???)  
  /Keywords (???)
}
\fi
...
\begin{document}
...
%% Example of including figures: pdflatex supports PDF, PNG and JPEG graphics
\begin{figure}
  \centering
  \ifx\pdfoutput\undefined
  \includegraphics{fig.eps}
  \else
  \includegraphics{fig.pdf} 
  \fi  
   
\end{figure}
...
\end{documnent}

-- 
Triet H. Lai
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Re: Creating PDFs

2002-04-06 Thread Alan L Tyree

 
 At Fri, 5 Apr 2002 19:27:50 +1000, marty  wrote:
  $author = Angus Lees ;
   At Wed, 3 Apr 2002 11:39:31 +1000, marty  wrote:
what tools are people using to create PDFs? 
   
   i use pdftex (or rather, pdflatex). it usually produces pdf's of
   higher quality (conformance to pdf standard and general layout) than
   the adobe tools themselves.
  
  i never used latex before, any good tools or primers on it?
 
 LyX is probably the best gui editor for producing TeX, but writing the
 source directly isn't that hard either.
 
 after you've installed the relevant TeX packages (probably something
 involving the string tetex), have a look for a document called
 lshort.dvi (or maybe .ps). if it wasn't installed do a web search
 for it (its The Not So Short Guide to LaTeX2e).
 
 that will give you the basics. for further stuff, start looking at
 individual installed packages (find a texmf/doc directory or use
 texdoctk (if available)), packages you don't have - but could if you
 wanted (on ctan.org), and maybe at the mailing lists on www.tug.org.
 
 and feel free to ask questions on the slug list too.
 
 -- 
  - Gus

And, if you are writing anything longer than a note to Mum, I
recommend Emacs + Auctex + Reftex. Fantastic author support for longer
documents.

Cheers,
Alan

-- 
--
Alan L Tyree[EMAIL PROTECTED]
http://www.law.usyd.edu.au/~alant
Tel: +61 2 4782 2670
Mobile: +61 419 638 170
Fax: +61 2 4782 7092
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Re: Creating PDFs

2002-04-05 Thread Martin

$author = Angus Lees ;
 
 At Wed, 3 Apr 2002 11:39:31 +1000, marty  wrote:
  what tools are people using to create PDFs? 
 
 i use pdftex (or rather, pdflatex). it usually produces pdf's of
 higher quality (conformance to pdf standard and general layout) than
 the adobe tools themselves.

i never used latex before, any good tools or primers on it?


  the tool doesn't need to work with .doc's, just any format i can save from
  abiword in...
 
 i presume abiword can save a plain text file ?

it can, it can do quite a few formats...


there were quite a few suggestions to use ps2pdf, but absent from the save as 
list was postscript...

it took a decent whack from the self applied clue stick to realise that
printing to a file produced postscript output...

however the resulting PDF chopped half a character from the ends of a couple
of lines... but i was at the point where close enough was good enough...

marty

--
Skirwan - And if pigs can fly, and I can ride one, and they fly me to hell, 
   and it just froze over, and we all have ice cream... [1]

talonyx - I really need to stop reading Slashdot while on codeiene... [2]

[1] - http://slashdot.org/comments.pl?sid=28984cid=3113144
[2] - http://slashdot.org/comments.pl?sid=28984cid=3113355
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Re: Creating PDFs

2002-04-05 Thread Christopher Booth

Hi Martin

On Fri, 5 Apr 2002 19:27:50 +1000 
Martin [EMAIL PROTECTED] wrote:

 there were quite a few suggestions to use ps2pdf, but absent from the
 save as 
 list was postscript...
 

it took a decent whack from the self applied clue stick to realise that
printing to a file produced postscript output...

however the resulting PDF chopped half a character from the ends of a
couple of lines... but i was at the point where close enough was good enough...

marty

I'm sorry you didn't understand my previous post (repeated below)

Quick and dirty :-
Output from Abiword to a Postscript file. (Print to file)
eg. myfile.ps

run ps2pdf

ps2pdf myfile.ps fymile.pdf

Also when you print from Abiword, choose the option to embed fonts. (available in 
0.9.2 which I have)

You can try creating up to 5 online with adobe site
http://cpdf.adobe.com/index.pl/511146710.26606?BP=E
or
http://www.ps2pdf.com/convert/index.htm

Chris
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug