Re: defective rendering of table in PDF

2014-08-07 Thread Will Parsons
Enrico Forestieri wrote:
 Will Parsons writes:
 
 Scott Kostyshak wrote:
 
  Hi Will,
 
  Thanks for the report. This does indeed seem like a LyX bug. Borders
  are tricky to get right. Can you write instructions for how to
  reproduce the table? Did you do it in LyX or did you import a .tex
  file?
 
 I created it in LyX.  I don't know if I can recreate the steps I took,
 but I'll see if I can.

I wasn't able to reproduce a series of steps, but I did manage to
solve the problem.  I had specified a fixed width of 5.5in (I can't
remember why now), and by deleting this setting the PDF is rendered
correctly.

 I don't know whether this is really a LyX bug or not, but you can
 workaround the issue as follows:

 1) Put the cursor just before the table and enter in ERT the following:
{\def\hline{\cline{1-4}}
 2) Put the cursor just after the table and again enter in ERT:
}
i.e., a single closing brace that pairs with the first one above.
 3) The table should now typeset correctly.

 The opening and closing braces limit the scope of the redefintion
 of \hline to that single table. If you have other tables, you will
 have to repeate the procedure for each one of them, maybe adjusting
 the argument of \cline if they have a different number of columns.

Thanks for the suggestion, but I have managed to solve the problem as
I've described above.  I am curious, though, why you think it mightn't
be a LyX bug?  Or are you suggesting that even if I'd created the
table using LaTeX directly I might have gotten the same result?

-- 
Will



Re: defective rendering of table in PDF

2014-08-07 Thread Enrico Forestieri
Will Parsons writes:

 Thanks for the suggestion, but I have managed to solve the problem as
 I've described above.  I am curious, though, why you think it mightn't
 be a LyX bug?  Or are you suggesting that even if I'd created the
 table using LaTeX directly I might have gotten the same result?

Yes, I meant the last thing. If it was documented that \hline does not
work in a tabular* environment when using the multirow package and that
in this case one should always use \cline, then it would have been a
LyX bug. Since I cannot see such a statement in the multirow docs, I
don't think it is a LyX bug, because LyX is doing the right thing here
(directly working with LaTeX, I would have written the table exactly
like LyX does and I would have incurred in the exact same problem).

-- 
Enrico



Re: defective rendering of table in PDF

2014-08-07 Thread Will Parsons
Enrico Forestieri wrote:
 Will Parsons writes:
 
 Scott Kostyshak wrote:
 
  Hi Will,
 
  Thanks for the report. This does indeed seem like a LyX bug. Borders
  are tricky to get right. Can you write instructions for how to
  reproduce the table? Did you do it in LyX or did you import a .tex
  file?
 
 I created it in LyX.  I don't know if I can recreate the steps I took,
 but I'll see if I can.

I wasn't able to reproduce a series of steps, but I did manage to
solve the problem.  I had specified a fixed width of 5.5in (I can't
remember why now), and by deleting this setting the PDF is rendered
correctly.

 I don't know whether this is really a LyX bug or not, but you can
 workaround the issue as follows:

 1) Put the cursor just before the table and enter in ERT the following:
{\def\hline{\cline{1-4}}
 2) Put the cursor just after the table and again enter in ERT:
}
i.e., a single closing brace that pairs with the first one above.
 3) The table should now typeset correctly.

 The opening and closing braces limit the scope of the redefintion
 of \hline to that single table. If you have other tables, you will
 have to repeate the procedure for each one of them, maybe adjusting
 the argument of \cline if they have a different number of columns.

Thanks for the suggestion, but I have managed to solve the problem as
I've described above.  I am curious, though, why you think it mightn't
be a LyX bug?  Or are you suggesting that even if I'd created the
table using LaTeX directly I might have gotten the same result?

-- 
Will



Re: defective rendering of table in PDF

2014-08-07 Thread Enrico Forestieri
Will Parsons writes:

 Thanks for the suggestion, but I have managed to solve the problem as
 I've described above.  I am curious, though, why you think it mightn't
 be a LyX bug?  Or are you suggesting that even if I'd created the
 table using LaTeX directly I might have gotten the same result?

Yes, I meant the last thing. If it was documented that \hline does not
work in a tabular* environment when using the multirow package and that
in this case one should always use \cline, then it would have been a
LyX bug. Since I cannot see such a statement in the multirow docs, I
don't think it is a LyX bug, because LyX is doing the right thing here
(directly working with LaTeX, I would have written the table exactly
like LyX does and I would have incurred in the exact same problem).

-- 
Enrico



Re: defective rendering of table in PDF

2014-08-07 Thread Will Parsons
Enrico Forestieri wrote:
> Will Parsons writes:
>> 
>> Scott Kostyshak wrote:
>> >
>> > Hi Will,
>> >
>> > Thanks for the report. This does indeed seem like a LyX bug. Borders
>> > are tricky to get right. Can you write instructions for how to
>> > reproduce the table? Did you do it in LyX or did you import a .tex
>> > file?
>> 
>> I created it in LyX.  I don't know if I can recreate the steps I took,
>> but I'll see if I can.

I wasn't able to reproduce a series of steps, but I did manage to
solve the problem.  I had specified a fixed width of 5.5in (I can't
remember why now), and by deleting this setting the PDF is rendered
correctly.

> I don't know whether this is really a LyX bug or not, but you can
> workaround the issue as follows:
>
> 1) Put the cursor just before the table and enter in ERT the following:
>{\def\hline{\cline{1-4}}
> 2) Put the cursor just after the table and again enter in ERT:
>}
>i.e., a single closing brace that pairs with the first one above.
> 3) The table should now typeset correctly.
>
> The opening and closing braces limit the scope of the redefintion
> of \hline to that single table. If you have other tables, you will
> have to repeate the procedure for each one of them, maybe adjusting
> the argument of \cline if they have a different number of columns.

Thanks for the suggestion, but I have managed to solve the problem as
I've described above.  I am curious, though, why you think it mightn't
be a LyX bug?  Or are you suggesting that even if I'd created the
table using LaTeX directly I might have gotten the same result?

-- 
Will



Re: defective rendering of table in PDF

2014-08-07 Thread Enrico Forestieri
Will Parsons writes:

> Thanks for the suggestion, but I have managed to solve the problem as
> I've described above.  I am curious, though, why you think it mightn't
> be a LyX bug?  Or are you suggesting that even if I'd created the
> table using LaTeX directly I might have gotten the same result?

Yes, I meant the last thing. If it was documented that \hline does not
work in a tabular* environment when using the multirow package and that
in this case one should always use \cline, then it would have been a
LyX bug. Since I cannot see such a statement in the multirow docs, I
don't think it is a LyX bug, because LyX is doing the right thing here
(directly working with LaTeX, I would have written the table exactly
like LyX does and I would have incurred in the exact same problem).

-- 
Enrico



Re: defective rendering of table in PDF

2014-08-04 Thread Will Parsons
Scott Kostyshak wrote:
 On Sat, Aug 2, 2014 at 4:11 PM, Will Parsons varro@nodomain.invalid wrote:
 A document that I'm writing contains a table that gets improperly
 rendered when converted to PDF, i.e., some of the cell border lines
 are incomplete - they do not extend to the full width of the cell.
 The method of conversion to PDF doesn't seem to matter, so I assume
 the problem occurs at the LyX/LaTeX level.

 The following is a stripped down version of the document containing
 the problematic table:

 Hi Will,

 Thanks for the report. This does indeed seem like a LyX bug. Borders
 are tricky to get right. Can you write instructions for how to
 reproduce the table? Did you do it in LyX or did you import a .tex
 file?

I created it in LyX.  I don't know if I can recreate the steps I took,
but I'll see if I can.

-- 
Will



Re: defective rendering of table in PDF

2014-08-04 Thread Enrico Forestieri
Will Parsons writes:
 
 Scott Kostyshak wrote:
 
  Hi Will,
 
  Thanks for the report. This does indeed seem like a LyX bug. Borders
  are tricky to get right. Can you write instructions for how to
  reproduce the table? Did you do it in LyX or did you import a .tex
  file?
 
 I created it in LyX.  I don't know if I can recreate the steps I took,
 but I'll see if I can.
 

I don't know whether this is really a LyX bug or not, but you can
workaround the issue as follows:

1) Put the cursor just before the table and enter in ERT the following:
   {\def\hline{\cline{1-4}}
2) Put the cursor just after the table and again enter in ERT:
   }
   i.e., a single closing brace that pairs with the first one above.
3) The table should now typeset correctly.

The opening and closing braces limit the scope of the redefintion
of \hline to that single table. If you have other tables, you will
have to repeate the procedure for each one of them, maybe adjusting
the argument of \cline if they have a different number of columns.

HTH

-- 
Enrico





Re: defective rendering of table in PDF

2014-08-04 Thread Benedict Holland
I really do not typically recommend that you learn Latex this but in this
specific situation, I have not found a great way to use Lyx. Tables in
Latex are trivial to set up. They are also fully customizable and once you
get use to them, they are really easy to write well. Tables is the single
thing I can only recommend that you just learn how to write in Latex. It
removes lots of problems.

~Ben


On Mon, Aug 4, 2014 at 8:57 PM, Enrico Forestieri for...@lyx.org wrote:

 Will Parsons writes:
 
  Scott Kostyshak wrote:
  
   Hi Will,
  
   Thanks for the report. This does indeed seem like a LyX bug. Borders
   are tricky to get right. Can you write instructions for how to
   reproduce the table? Did you do it in LyX or did you import a .tex
   file?
 
  I created it in LyX.  I don't know if I can recreate the steps I took,
  but I'll see if I can.
 

 I don't know whether this is really a LyX bug or not, but you can
 workaround the issue as follows:

 1) Put the cursor just before the table and enter in ERT the following:
{\def\hline{\cline{1-4}}
 2) Put the cursor just after the table and again enter in ERT:
}
i.e., a single closing brace that pairs with the first one above.
 3) The table should now typeset correctly.

 The opening and closing braces limit the scope of the redefintion
 of \hline to that single table. If you have other tables, you will
 have to repeate the procedure for each one of them, maybe adjusting
 the argument of \cline if they have a different number of columns.

 HTH

 --
 Enrico






Re: defective rendering of table in PDF

2014-08-04 Thread Enrico Forestieri
Benedict Holland writes:
 
 I really do not typically recommend that you learn Latex this but in
 this specific situation, I have not found a great way to use Lyx.
 Tables in Latex are trivial to set up. They are also fully customizable
 and once you get use to them, they are really easy to write well.
 Tables is the single thing I can only recommend that you just learn
 how to write in Latex. It removes lots of problems. 

I don't think this holds in this specific case. In LaTeX, I would have
written the table exactly as LyX does (which is similar to many examples
in the multirow package documentation) and would have incurred in the
exact same problem. You should learn LaTeX well above what is necessary
for using it with LyX to be able to solve such issues.

-- 
Enrico



Re: defective rendering of table in PDF

2014-08-04 Thread Will Parsons
Scott Kostyshak wrote:
 On Sat, Aug 2, 2014 at 4:11 PM, Will Parsons varro@nodomain.invalid wrote:
 A document that I'm writing contains a table that gets improperly
 rendered when converted to PDF, i.e., some of the cell border lines
 are incomplete - they do not extend to the full width of the cell.
 The method of conversion to PDF doesn't seem to matter, so I assume
 the problem occurs at the LyX/LaTeX level.

 The following is a stripped down version of the document containing
 the problematic table:

 Hi Will,

 Thanks for the report. This does indeed seem like a LyX bug. Borders
 are tricky to get right. Can you write instructions for how to
 reproduce the table? Did you do it in LyX or did you import a .tex
 file?

I created it in LyX.  I don't know if I can recreate the steps I took,
but I'll see if I can.

-- 
Will



Re: defective rendering of table in PDF

2014-08-04 Thread Enrico Forestieri
Will Parsons writes:
 
 Scott Kostyshak wrote:
 
  Hi Will,
 
  Thanks for the report. This does indeed seem like a LyX bug. Borders
  are tricky to get right. Can you write instructions for how to
  reproduce the table? Did you do it in LyX or did you import a .tex
  file?
 
 I created it in LyX.  I don't know if I can recreate the steps I took,
 but I'll see if I can.
 

I don't know whether this is really a LyX bug or not, but you can
workaround the issue as follows:

1) Put the cursor just before the table and enter in ERT the following:
   {\def\hline{\cline{1-4}}
2) Put the cursor just after the table and again enter in ERT:
   }
   i.e., a single closing brace that pairs with the first one above.
3) The table should now typeset correctly.

The opening and closing braces limit the scope of the redefintion
of \hline to that single table. If you have other tables, you will
have to repeate the procedure for each one of them, maybe adjusting
the argument of \cline if they have a different number of columns.

HTH

-- 
Enrico





Re: defective rendering of table in PDF

2014-08-04 Thread Benedict Holland
I really do not typically recommend that you learn Latex this but in this
specific situation, I have not found a great way to use Lyx. Tables in
Latex are trivial to set up. They are also fully customizable and once you
get use to them, they are really easy to write well. Tables is the single
thing I can only recommend that you just learn how to write in Latex. It
removes lots of problems.

~Ben


On Mon, Aug 4, 2014 at 8:57 PM, Enrico Forestieri for...@lyx.org wrote:

 Will Parsons writes:
 
  Scott Kostyshak wrote:
  
   Hi Will,
  
   Thanks for the report. This does indeed seem like a LyX bug. Borders
   are tricky to get right. Can you write instructions for how to
   reproduce the table? Did you do it in LyX or did you import a .tex
   file?
 
  I created it in LyX.  I don't know if I can recreate the steps I took,
  but I'll see if I can.
 

 I don't know whether this is really a LyX bug or not, but you can
 workaround the issue as follows:

 1) Put the cursor just before the table and enter in ERT the following:
{\def\hline{\cline{1-4}}
 2) Put the cursor just after the table and again enter in ERT:
}
i.e., a single closing brace that pairs with the first one above.
 3) The table should now typeset correctly.

 The opening and closing braces limit the scope of the redefintion
 of \hline to that single table. If you have other tables, you will
 have to repeate the procedure for each one of them, maybe adjusting
 the argument of \cline if they have a different number of columns.

 HTH

 --
 Enrico






Re: defective rendering of table in PDF

2014-08-04 Thread Enrico Forestieri
Benedict Holland writes:
 
 I really do not typically recommend that you learn Latex this but in
 this specific situation, I have not found a great way to use Lyx.
 Tables in Latex are trivial to set up. They are also fully customizable
 and once you get use to them, they are really easy to write well.
 Tables is the single thing I can only recommend that you just learn
 how to write in Latex. It removes lots of problems. 

I don't think this holds in this specific case. In LaTeX, I would have
written the table exactly as LyX does (which is similar to many examples
in the multirow package documentation) and would have incurred in the
exact same problem. You should learn LaTeX well above what is necessary
for using it with LyX to be able to solve such issues.

-- 
Enrico



Re: defective rendering of table in PDF

2014-08-04 Thread Will Parsons
Scott Kostyshak wrote:
> On Sat, Aug 2, 2014 at 4:11 PM, Will Parsons  wrote:
>> A document that I'm writing contains a table that gets improperly
>> rendered when converted to PDF, i.e., some of the cell border lines
>> are incomplete - they do not extend to the full width of the cell.
>> The method of conversion to PDF doesn't seem to matter, so I assume
>> the problem occurs at the LyX/LaTeX level.
>>
>> The following is a stripped down version of the document containing
>> the problematic table:
>
> Hi Will,
>
> Thanks for the report. This does indeed seem like a LyX bug. Borders
> are tricky to get right. Can you write instructions for how to
> reproduce the table? Did you do it in LyX or did you import a .tex
> file?

I created it in LyX.  I don't know if I can recreate the steps I took,
but I'll see if I can.

-- 
Will



Re: defective rendering of table in PDF

2014-08-04 Thread Enrico Forestieri
Will Parsons writes:
> 
> Scott Kostyshak wrote:
> >
> > Hi Will,
> >
> > Thanks for the report. This does indeed seem like a LyX bug. Borders
> > are tricky to get right. Can you write instructions for how to
> > reproduce the table? Did you do it in LyX or did you import a .tex
> > file?
> 
> I created it in LyX.  I don't know if I can recreate the steps I took,
> but I'll see if I can.
> 

I don't know whether this is really a LyX bug or not, but you can
workaround the issue as follows:

1) Put the cursor just before the table and enter in ERT the following:
   {\def\hline{\cline{1-4}}
2) Put the cursor just after the table and again enter in ERT:
   }
   i.e., a single closing brace that pairs with the first one above.
3) The table should now typeset correctly.

The opening and closing braces limit the scope of the redefintion
of \hline to that single table. If you have other tables, you will
have to repeate the procedure for each one of them, maybe adjusting
the argument of \cline if they have a different number of columns.

HTH

-- 
Enrico





Re: defective rendering of table in PDF

2014-08-04 Thread Benedict Holland
I really do not typically recommend that you learn Latex this but in this
specific situation, I have not found a great way to use Lyx. Tables in
Latex are trivial to set up. They are also fully customizable and once you
get use to them, they are really easy to write well. Tables is the single
thing I can only recommend that you just learn how to write in Latex. It
removes lots of problems.

~Ben


On Mon, Aug 4, 2014 at 8:57 PM, Enrico Forestieri  wrote:

> Will Parsons writes:
> >
> > Scott Kostyshak wrote:
> > >
> > > Hi Will,
> > >
> > > Thanks for the report. This does indeed seem like a LyX bug. Borders
> > > are tricky to get right. Can you write instructions for how to
> > > reproduce the table? Did you do it in LyX or did you import a .tex
> > > file?
> >
> > I created it in LyX.  I don't know if I can recreate the steps I took,
> > but I'll see if I can.
> >
>
> I don't know whether this is really a LyX bug or not, but you can
> workaround the issue as follows:
>
> 1) Put the cursor just before the table and enter in ERT the following:
>{\def\hline{\cline{1-4}}
> 2) Put the cursor just after the table and again enter in ERT:
>}
>i.e., a single closing brace that pairs with the first one above.
> 3) The table should now typeset correctly.
>
> The opening and closing braces limit the scope of the redefintion
> of \hline to that single table. If you have other tables, you will
> have to repeate the procedure for each one of them, maybe adjusting
> the argument of \cline if they have a different number of columns.
>
> HTH
>
> --
> Enrico
>
>
>
>


Re: defective rendering of table in PDF

2014-08-04 Thread Enrico Forestieri
Benedict Holland writes:
> 
> I really do not typically recommend that you learn Latex this but in
> this specific situation, I have not found a great way to use Lyx.
> Tables in Latex are trivial to set up. They are also fully customizable
> and once you get use to them, they are really easy to write well.
> Tables is the single thing I can only recommend that you just learn
> how to write in Latex. It removes lots of problems. 

I don't think this holds in this specific case. In LaTeX, I would have
written the table exactly as LyX does (which is similar to many examples
in the multirow package documentation) and would have incurred in the
exact same problem. You should learn LaTeX well above what is necessary
for using it with LyX to be able to solve such issues.

-- 
Enrico



Re: defective rendering of table in PDF

2014-08-02 Thread Scott Kostyshak
On Sat, Aug 2, 2014 at 4:11 PM, Will Parsons varro@nodomain.invalid wrote:
 A document that I'm writing contains a table that gets improperly
 rendered when converted to PDF, i.e., some of the cell border lines
 are incomplete - they do not extend to the full width of the cell.
 The method of conversion to PDF doesn't seem to matter, so I assume
 the problem occurs at the LyX/LaTeX level.

 The following is a stripped down version of the document containing
 the problematic table:

Hi Will,

Thanks for the report. This does indeed seem like a LyX bug. Borders
are tricky to get right. Can you write instructions for how to
reproduce the table? Did you do it in LyX or did you import a .tex
file?

Best,

Scott


Re: defective rendering of table in PDF

2014-08-02 Thread Scott Kostyshak
On Sat, Aug 2, 2014 at 4:11 PM, Will Parsons varro@nodomain.invalid wrote:
 A document that I'm writing contains a table that gets improperly
 rendered when converted to PDF, i.e., some of the cell border lines
 are incomplete - they do not extend to the full width of the cell.
 The method of conversion to PDF doesn't seem to matter, so I assume
 the problem occurs at the LyX/LaTeX level.

 The following is a stripped down version of the document containing
 the problematic table:

Hi Will,

Thanks for the report. This does indeed seem like a LyX bug. Borders
are tricky to get right. Can you write instructions for how to
reproduce the table? Did you do it in LyX or did you import a .tex
file?

Best,

Scott


Re: defective rendering of table in PDF

2014-08-02 Thread Scott Kostyshak
On Sat, Aug 2, 2014 at 4:11 PM, Will Parsons  wrote:
> A document that I'm writing contains a table that gets improperly
> rendered when converted to PDF, i.e., some of the cell border lines
> are incomplete - they do not extend to the full width of the cell.
> The method of conversion to PDF doesn't seem to matter, so I assume
> the problem occurs at the LyX/LaTeX level.
>
> The following is a stripped down version of the document containing
> the problematic table:

Hi Will,

Thanks for the report. This does indeed seem like a LyX bug. Borders
are tricky to get right. Can you write instructions for how to
reproduce the table? Did you do it in LyX or did you import a .tex
file?

Best,

Scott