Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#5290 closed defect (fixed)

Slovak and Czech documents with tables cannot be compiled

Reported by: Uwe Stöhr Owned by: poenitz
Priority: high Milestone: 1.6.0
Component: tabular Version: 1.6.0svn
Severity: major Keywords: patch regression
Cc: ps@…

Description

In LyX we use now \cline or \cmidrule for table lines.
But in Slovak, the "-" character is an active one, so that e.g. \cline{2-3} will
make documents uncompilable.

Here's the solution:
http://groups.google.com/group/comp.text.tex/browse_thread/thread/af769424a4a0f289#

Attachments (3)

bug5290.diff (3.6 KB ) - added by Uwe Stöhr 17 years ago.
patch
newfile16.2.lyx (3.0 KB ) - added by Uwe Stöhr 17 years ago.
LyX testfile
newfile16.lyx (3.0 KB ) - added by Uwe Stöhr 17 years ago.
LyX testfile

Download all attachments as: .zip

Change History (22)

comment:1 by Uwe Stöhr, 17 years ago

Milestone: 1.6.0

by Uwe Stöhr, 17 years ago

Attachment: bug5290.diff added

patch

comment:2 by Uwe Stöhr, 17 years ago

Keywords: patch regression added
Summary: Sloavak document with tables cannot be compiledSloavak and Czech documents with tables cannot be compiled

comment:3 by ps@…, 17 years ago

Cc: ps@… added

i can't confirm your problem, it compiles fine here.
isn't this miktex issue?

by the way the attachment is in version format 341 which does not exist yet.

by Uwe Stöhr, 17 years ago

Attachment: newfile16.lyx added

LyX testfile

comment:4 by Uwe Stöhr, 17 years ago

attachments.isobsolete: 01

comment:5 by Uwe Stöhr, 17 years ago

i can't confirm your problem, it compiles fine here.

Then you have not the right file. The problem is introduced by babel see the
link in my initial comment.

by the way the attachment is in version format 341 which does not exist yet.

Sorry, fixed now.

comment:6 by ps@…, 17 years ago

Then you have not the right file.

what "right file" are you talking about? if you mean attachment even this second

one compiles ok.

comment:7 by Uwe Stöhr, 17 years ago

Summary: Sloavak and Czech documents with tables cannot be compiledSlovak and Czech documents with tables cannot be compiled

what "right file" are you talking about?

The one I just attached.

if you mean attachment even this second one compiles ok.

Although you don't have my patch applied? Can you compile the document when you
set the document language to Slovak?

Can you compile this LaTeX document?:

\documentclass[slovak]{article}
\usepackage[T1]{fontenc}
\usepackage[latin2]{inputenc}
\usepackage{babel}

\begin{document}

\begin{center}

\begin{tabular}{|l
r|r|}

\hline

\multicolumn{1}{|l
}{point a \& b} & 103 & 9

\cline{2-3}
point b \& a & 599 & 340
\hline
point abc & 1009 & 52
\hline
\end{tabular}

\end{center}

\end{document}

comment:8 by ps@…, 17 years ago

Although you don't have my patch applied?

exactly.

Can you compile the document when you set the document language to Slovak?

yes, no problem.

Can you compile this LaTeX document?:

yes, no problem.

tetex 3.0 here

comment:9 by Uwe Stöhr, 17 years ago

Subject: Re: Slovak and Czech documents with tables cannot be compiled

tetex 3.0 here

That's the reason, teTeX is outdated! It is highly recommended to update to TeXLive, also by the
former teTeX maintainer:
http://en.wikipedia.org/wiki/Tetex

As teTeX is outdated, it doesn't ship a recent babel package. The Czech and Slovak babel support has
been revised about a year ago.

As as LaTeX guru as Heiko Oberdiek himself pointed me to the fix, I'll commit my patch now. Please
check if you can still compile the documents, also with my patch and also with the old teTeX.

comment:10 by Uwe Stöhr, 17 years ago

Resolution: fixed
Status: newclosed

comment:11 by ps@…, 17 years ago

please next wait for confirmation before commiting.

comment:12 by ps@…, 17 years ago

"next" -> "next time"

comment:13 by Uwe Stöhr, 17 years ago

Subject: Re: Slovak and Czech documents with tables cannot be compiled

please next wait for confirmation before commiting.

So it works for you? Why should I wait when you are using an outdated TeX distribution where the
problem was not reproducible.

comment:14 by ps@…, 17 years ago

So it works for you?

yes

Why should I wait when you are using an outdated TeX

distribution where the problem was not reproducible.

basically because this patch _could_ break tetex compilation?
if this happened we would be in the same flame as few weeks back - i was not
enjoying it and you very probably too.

tetex is still widely used btw.

comment:15 by Uwe Stöhr, 17 years ago

Subject: Re: Slovak and Czech documents with tables cannot be compiled

basically because this patch _could_ break tetex compilation?
if this happened we would be in the same flame as few weeks back - i was not
enjoying it and you very probably too.

What do you refer to?
Nevertheless, when I have the choice of only being able to compile documents in recent TeX
distribution like MiKTeX, TeXLive, BaKoMaTeX, etc. or only with a 4 year old one that is not
available on Windows and MAC, I of course cannot care about teTeX.

tetex is still widely used btw.

This is no excuse, Win95 and Win98 are also still in use but no program support them anymore.
teTeX contains 4 year old packages in the meantime thousands of LaTeX package bugs have been fixed,
so it is impossible to build in workarounds for teTeX. Sooner or later you will have no other choice
than to update to TeXLive when you stumble over a LaTeX package bug.

comment:16 by ps@…, 17 years ago

This is no excuse, Win95 and Win98 are also still in use but no program support
them anymore.

you are using highly inappropriate comparison. my linux distro switched texlive to
stable half of year ago and tetex is still the the stable one. few months and 13
years is quite a difference, right?

i accept that you dont want to care about something, but there are also other
people who maybe want to care. the usual habit is firstly check things and then
commit them. is it so hard to ask first?

comment:17 by Uwe Stöhr, 17 years ago

Subject: Re: Slovak and Czech documents with tables cannot be compiled

you are using highly inappropriate comparison. my linux distro switched texlive to
stable half of year ago and tetex is still the the stable one. few months and 13
years is quite a difference, right?

Can't you just install TeXLive? Why do you have to wait for your distribution.

As the name implies, TeXLive is a live variant of LaTeX, so you don't have to install it when you
don't like, but can run it from an USB stick, DVD, CD, whatever. (Also I use MiKTeX I also have a
TeXLive DVD to test things out - works fine.)

You might think I don't care about others, but I do. Otherwise I wouldn't have found this bug and
#5291. I just wanted to point out the situation and used dramatic words.

i accept that you dont want to care about something, but there are also other
people who maybe want to care. the usual habit is firstly check things and then
commit them. is it so hard to ask first?

But I asked on the list so you tested it. As you couldn't reproduce it with your distro and I got
the solution form the TeX gurus, I knew it is correct and wouldn't break anything.

comment:18 by ps@…, 17 years ago

Why do you have to wait for your distribution.

you clearly don't understand the linux way :) technically i can, but its not
wise solution. secondary it does not solve anything, since i'm maintainer of lyx
distribution there as you are on windows. when tetex compilation will break i
will be called to fix such bugs either.

I knew it is correct

the point is you didn't know this for tetex and it could break.

anyway i don't want to continue this discussion. my message was not to discuss
tetex/texlive things, but to ask you whether you can conform such a simple thing
as to be more communicative before commiting. if you can't we will have hard
time to cooperate.

comment:19 by Uwe Stöhr, 17 years ago

I knew it is correct

the point is you didn't know this for tetex and it could break.

Don't be unfair, I checked it in because I was sure. As your teTeX had no
problem, with the LaTeX file I asked you to test, I couldn't break it. When you
don't believe me, then have a look what \expandafter do.

comment:20 by ps@…, 17 years ago

Don't be unfair, I checked it in because I was sure.
As your teTeX had no problem, with the LaTeX file I asked you to test, I

couldn't >break it. When you don't believe me, then have a look what
\expandafter do.

if i was unfair then sorry; your request for checking whether it still compiles
didn't sound sure.

Note: See TracTickets for help on using tickets.