GeneralGnumeric Table lets Text exceed Page

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
rkt_flo
Posts: 4
Joined: Wed Jan 04, 2012 8:38 pm

Gnumeric Table lets Text exceed Page

Post by rkt_flo »

Dear People!

Hopefully I'm at the right place with the request for some help. if not, sorry, please tell me where to post my problem!

I have the following problem: I wrote a table in gumeric, saved it as *.tex for including it to my LaTeX file.

Some maybe helpful informations: i use a mac with OSX 10.6, TexShop, and

Code: Select all

\usepackage[applemac]{inputenc}
in my header i used:

Code: Select all

\def\inputGnumericTable{}   
	\usepackage{fullpage}
	\usepackage{color}
      \usepackage{array}
	\usepackage{longtable}
      \usepackage{calc}
      \usepackage{multirow}
      \usepackage{hhline}
      \usepackage{ifthen}
and included it with:

Code: Select all

\begin{table}[h]
\label{work_functions}
\input{work_functions_metal.tex}
\caption{Work functions of different metals, taken from\cite{lutz}}
\end{table}
THE PROBLEM:
I can see the table properly,

BUT

after the table, the whole text (in my .pdf) is written over the rest of the page (where the footer is supposed to be, but no text) and vanishes somewhere in nirvana, the following pages disappear...
if i use

Code: Select all

\begin{table}[p]
the table is posted in the end, but the text behaves the same way from that point on where the \input code stands...

Could somebody tell me what i'm doing wrong??

THANKS
Regards
Flo

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: Gnumeric Table lets Text exceed Page

Post by kaiserkarl13 »

I'm guessing there's an error somewhere that you're ignoring. We'd need to see an example file (the one you're \input-ing) to see exactly what is wrong.

My copy of Gnumeric will generate two types of LaTeX output: a full document *which includes the \documentclass and other preamble commands* or a table fragment *which does not include the \begin{tabular}...\end{tabular} commands necessary to make the table*.

So I'd have a look at the parts marked by *'s in the above paragraph. If that doesn't solve it, you'll need to post more markup so we can figure out what's happening.
rkt_flo
Posts: 4
Joined: Wed Jan 04, 2012 8:38 pm

Re: Gnumeric Table lets Text exceed Page

Post by rkt_flo »

he,
i'm saving in the whole header style, i'm loading that one up....
and the page out of my thesis where the error occurs....

when compiling there are no errors in the TexShop's console....

do you need more of my thesis LaTeX code?
thanks
best regards
Flo
Attachments
gnueric_tex_problem.pdf
the page where the error occurs
(211.31 KiB) Downloaded 140 times
work_functions_metal.tex
the gnumeric file saved as *.tex
(10.07 KiB) Downloaded 139 times
kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Gnumeric Table lets Text exceed Page

Post by kaiserkarl13 »

I now understand why the \documentclass line isn't breaking things: the \@ifundefined line causes it not to be processed!

This now falls under the category of "works for me": try processing this code

Code: Select all

\documentclass{article}
\usepackage{fullpage}
\usepackage{color}
\usepackage{array}
\usepackage{longtable}
\usepackage{calc}
\usepackage{multirow}
\usepackage{hhline}
\usepackage{ifthen}

\begin{document}

Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.

Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.


Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.

Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.


Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.


Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.

\def\inputGnumericTable{}
\begin{table}[h]
  \label{work_functions}
  \input{work_functions_metal.tex}
  \caption{Work functions of different metals, taken from blah.}
\end{table}


Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.


Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.


Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.


Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.


Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.
Hello! This is a stub document.

Hello! This is a stub document.
\end{document}
I tried adding/deleting lines, and if I get it so that the table should straddle the page break, it gives me the following warning:
"LaTeX Warning: `h' float specifier changed to `ht'."
and then puts the table at the top. If you can provide me with a smaller chunk of text that reproduces the error, then we can go further, but I still think there's something wrong elsewhere in the document that is causing this.

By the way, your \label command needs to come after your caption command, otherwise your table number will be wrong.
rkt_flo
Posts: 4
Joined: Wed Jan 04, 2012 8:38 pm

Re: Gnumeric Table lets Text exceed Page

Post by rkt_flo »

thanks for your help, after two days of trying to reproduce the error i gave up. as i simply continued writing, the error disappeared. so far.

i hope its not coming back, if it does i'm going to reproduce the error and post it here....

best regard!!!
rkt_flo
Posts: 4
Joined: Wed Jan 04, 2012 8:38 pm

Re: Gnumeric Table lets Text exceed Page

Post by rkt_flo »

hi me again!
ok, the error still occurs! i CAN'T REPRODUCE IT on purpose, if i delete the chapters before the "mad" one, the error is gone. i tried a \newpage before the chapter but that didn't help.

im going insane! is there anybody who could look at my whole document if i would send it to him/her by mail (and he/she keeps it private)?? my mail-adress is ... so anybody who would do so can mail me without posting his/her mail (hope thats ok with the GTC of this forum)

thanks for helping!!
br
Flo
kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: Gnumeric Table lets Text exceed Page

Post by kaiserkarl13 »

It sounds like the problem might be due to something in the previous chapter. Check your log file and see whether there is a suspicious warning or error message.

If you can't find something there, I'd suggest finding someone locally to help you---help on these sorts of problems on a forum or even via e-mail tends to be hit and miss when you reach the "irreproducible error" stage.
Post Reply