LyXProblem after .tex - Import

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
dehan
Posts: 2
Joined: Fri Jun 19, 2015 4:56 pm

Problem after .tex - Import

Post by dehan »

Hi there :)

I am a very beginner and not an english-native speaker.please answer slowly :)

i want to write my master thesis with lyx but have less experience with latex. therefore i importet a working .tex-file to work with.
but there is a problem: lyx seems to missinterprete the code.
in a correct kind the .tex-file contains:
\captionsetup[figure]{labelfont=it, labelsep=period}
\captionsetup[table]{labelsep=space}
the package "caption" has been loaded in Miktex.
when i export the lyx-file to pdf, i get an error:
package caption error: [ undefined
and:
\captionsetup{[}
figure{]}{labelfont=it, labelsep=period} \captionsetup{...
it seems, that lyx didn´t recognize the "[" ?



furthermore, lyx has problems to create this 2-row table:
\begin{table} [h!]
\renewcommand{\arraystretch}{1.4}
\noindent \begin{tabular}{ p{2cm} p{10cm} }
Gc & kristalline Intelligenz\\
Gf & fluide Intelligenz\\
\end{tabular}
\end{table}
the message is:
! Extra alignment tab has been changed to \cr.
________________
179 kristalline Intelligenz &

You have given more \span or & marks than there were
in the preamble to the \halign or \valign now in progress.
What i´m doing wrong?


Thank you
Last edited by dehan on Fri Jun 19, 2015 5:23 pm, edited 3 times in total.

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Problem after .tex - Import

Post by Johannes_B »

Originally from goLaTeX


We have a very limited LyX-workforce, but they will need to know your LyX version and the OS you are using.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
dehan
Posts: 2
Joined: Fri Jun 19, 2015 4:56 pm

Re: Problem after .tex - Import

Post by dehan »

thanks for the fast reaction :)

i have win7 64
and LYX 2.1.3 german
Post Reply