## #176 Latex code from summary stats table does not compile under Latex

None
closed-fixed
nobody
None
4
2013-02-06
2013-02-06
Good_Newz
No

When copying latex code from the summary statistics table (right click on variable->summary statistics->tex->copy) there is an extra characters on each line that prevents the proper compilation of the latex code. The extra character is %. It comes after the name of each statistic. Sample latex code copied from gretl would look like this:

1 \begin{center}
2 Summary Statistics, using the observations 1--10\
3 for the variable test (10 valid observations)\[8pt]
4
5 \begin{tabular}{r@{.}lr@{.}lr@{.}lr@{.}l}
6 \multicolumn{2}{c}{Mean}%
7 & \multicolumn{2}{c}{Median}%

So the last character on line 6 and 7 is unnecessary.

A work around for this issue is to manually remove the % from each line but this is tedious.

Sample session for quick testing of the issue is attached.
I am using Miktex 2.9 with lyx 2.0.5.1 for compilation of the latex code.

1 Attachments

## Discussion

• Good_Newz
2013-02-06

My Gretl version is 1.9.11.

• Allin Cottrell
2013-02-06

The % signs should be harmless, they are just TeX's comment character,
and have the effect in context of joining the lines. The source
compiled fine using TeXLive, so I suspect a Miktex bug. That said,
I've removed them in CVS since they're just a stylistic thing.

• Allin Cottrell
2013-02-06

• status: open --> closed-fixed
• milestone: -->