Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2003-02

making pdf docs

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner

Hi all,

I have trouble making the current docs in pdf (fpc cvs, redhat 7.3). I tried:

[fpc]# make -C docs pdf
make: Entering directory `/[...]/fpc/docs'
pdflatex user
This is pdfTeX, Version 3.14159-14h-released-20010417 (Web2C 7.3.3.1) (./user.tex{/usr/share/texmf/pdftex/config/pdftex.cfg} LaTeX2e <2000/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, italian, nohyphenation, loaded.
(./preamble.inc

! LaTeX Error: \usepackage before \documentclass.

See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help.
...

l.4 \usepackage{
html}
? h
\usepackage may only appear in the document preamble, i.e., between \documentclass and \begin{document}.

-snap-

Is this a bug in the docs or do I need special latex confs/packages or do I need another make command?

Mattias

Reply by email

Michael Van Canneyt
to Mattias Gaertner
Mattias Gaertner wrote 26 lines
Hi all, I have trouble making the current docs in pdf (fpc cvs, redhat 7.3). I tried: [fpc]# make -C docs pdf make: Entering directory `/[...]/fpc/docs' pdflatex user This is pdfTeX, Version 3.14159-14h-released-20010417 (Web2C 7.3.3.1) (./user.tex{/usr/share/texmf/pdftex/config/pdftex.cfg} LaTeX2e <2000/06/01> Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, italian, nohyphenation, loaded. (./preamble.inc ! LaTeX Error: \usepackage before \documentclass. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.4 \usepackage{ html} ? h \usepackage may only appear in the document preamble, i.e., between \documentclass and \begin{document}.

Try a 'make clean' first.

I made the docs two days ago (revising them for the 1.0.8 release) and all works fine.

You can download them from the website BTW. the links to the online PDF documents point to the latest versions.

Michael.

Reply by email

Mattias Gaertner
to Michael Van Canneyt
Show quoted text 32 lines
On Thu, 13 Feb 2003, Mattias Gaertner wrote: > Hi all, > > I have trouble making the current docs in pdf (fpc cvs, redhat 7.3). > I tried: > > [fpc]# make -C docs pdf > make: Entering directory `/[...]/fpc/docs' > pdflatex user > This is pdfTeX, Version 3.14159-14h-released-20010417 (Web2C 7.3.3.1) > (./user.tex{/usr/share/texmf/pdftex/config/pdftex.cfg} > LaTeX2e <2000/06/01> > Babel <v3.7h> and hyphenation patterns for american, french, german, > ngerman, italian, nohyphenation, loaded. > (./preamble.inc > > ! LaTeX Error: \usepackage before \documentclass. > > See the LaTeX manual or LaTeX Companion for explanation. > Type H <return> for immediate help. > ... > > l.4 \usepackage{ > html} > ? h > \usepackage may only appear in the document preamble, i.e., > between \documentclass and \begin{document}. Try a 'make clean' first.

'make rpm' calls 'make -C docs pdf'. AFAIK it does even a 'make distclean'.

Mattias

Show quoted text 12 lines
I made the docs two days ago (revising them for the 1.0.8 release) and all works fine. You can download them from the website BTW. the links to the online PDF documents point to the latest versions. Michael. _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email