Sign in Join

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

Mailing lists / fpc-devel / 2003-06

compilation of fpc pdfs 1.1 fails

2 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,

I tried to create fpc rpms for the 1.1 and got the following:

--- snip ---
+ make -C docs pdf FPDOC=/usr/src/redhat/BUILD/fpc-1.1/utils/fpdoc/fpdoc make[1]: Entering directory `/usr/src/redhat/BUILD/fpc-1.1/docs' cp styles/listings.cfg styles/listings.sty styles/lstdoc.sty styles/lstlang1.sty styles/lstlang2.sty styles/lstlang3.sty styles/lstmisc.sty styles/lstpatch.sty styles/syntax.sty . 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 <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, i
talian, 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}
?
--- snap ---

Any ideas?

Mattias

Reply by email

Marco van de Voort
to Mattias Gaertner
Show quoted text 19 lines
I tried to create fpc rpms for the 1.1 and got the following: This is pdfTeX, Version 3.14159-14h-released-20010417 (Web2C 7.3.3.1) (./user.tex{/usr/share/texmf/pdftex/config/pdftex.cfg} LaTeX2e <2001/06/01> Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, i talian, 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} ?

Here they build fine. You could try to delete preamble.inc, maybe that one isn't updated properly.

Some other common caveats: (though I haven't seen the above error before)
- versions, specially when the TeX versions are CVS and not release versions.
- permissions (if e.g. preamble.inc is not writable, odd things can happen)
- strings buffer is too small ("TeX capacity exceeded") -> increase the limits in texmf.cnf appopriately. (string hash size I believe)
- There seem to different packages synth with the same name.
- the mdwtools version is also sensitive.

Reply by email