<div class="moz-text-flowed" style="font-family: -moz-fixed">

50 views
Skip to first unread message

Maurice

unread,
Apr 2, 2007, 3:34:58 AM4/2/07
to LaTeX Users Group
Hi all,
I'm new in this group and new to LaTeX.
I have MiKTeX and TeXnicCenter installed on a WinXP computer.
For the moment I just want to make a langage translation (text from
English to French).
My problem: on the PDF the subject line is evrything worksprinted
twice at the top of the first page.

The beginnig of the .tex file is:
\documentclass[12pt]{report}
<div class="moz-text-flowed" style="font-family: -moz-fixed">
\usepackage{latexsym}
\input{amcsec.sty}
\begin{document}
\pagestyle{empty}

and the output error is: !LaTeX Error: Missing \begin{document}

What is the exact purpose of this div command?
What may I try to avoid it to appear on the PDF output?
Thanks for any clue.
Maurice

Maurice

unread,
Apr 2, 2007, 4:20:47 AM4/2/07
to LaTeX Users Group
correction:
My problem: on the PDF the subject line is printed twice at the top
of the first page.

Werner Grundlingh

unread,
Apr 2, 2007, 4:30:11 AM4/2/07
to latex...@googlegroups.com
Dear Maurice,

I don't understand that you are able to compile the LaTeX file into a
readable PDF format while it still generates an error. Either way, the
commands


<div class="moz-text-flowed" style="font-family: -moz-fixed">

in the preamble of your LaTeX document resemble HTML code and should
therefore not form part of your regular LaTeX document.

Werner

Maurice

unread,
Apr 2, 2007, 5:36:33 AM4/2/07
to LaTeX Users Group
Dear Werner,

Yes I find that <div.. line very strange too: it is obviously an HTML
code, but if I remove it I get a meesy PDF output. With it the 6 pages
PDF is nice, but the first lines of the first page. Nevertheless there
is a compiling error!
This is my first LaTeX experience. The person who sent me the file has
no problem. I'm perplexed!
At the start I got three pages as first page, then I exchanged the two
first lines - don't ask me why! (<div... was the fist line) - and now
I get at least the correct number of pages.
Unfortunately I can't send you the whole file: it's a paper for an
international maths competition.
The same <div... code appears at the beginnig of the .sty file...
strange again!

Ooops!!!... this just gives me the idea to remove the <div... from
both files and that was it! Now the PDF output is great.

Thanks for your reply.
Maurice

Reply all
Reply to author
Forward
0 new messages