José Matos wrote:
On Thursday 18 September 2008 18:47:44 rgheck wrote:
See if what I committed at r26456 seems good. If not, feel free to clean
it up as you wish.
I will change it because the workaround is due to a bug in older versions of
the python library csv and not to any program
On Thursday 18 September 2008 18:47:44 rgheck wrote:
> See if what I committed at r26456 seems good. If not, feel free to clean
> it up as you wish.
I will change it because the workaround is due to a bug in older versions of
the python library csv and not to any program logic. At least a comment
José Matos wrote:
On Thursday 18 September 2008 18:11:43 rgheck wrote:
That one worked here, too. Can you find out what version you csv.py is?
Try the attached this time.
I see what you are doing and I agree. The problem should be the None value for
the dialect, why this fails with t
Konrad Hofbauer wrote:
rgheck wrote:
That one worked here, too. Can you find out what version you csv.py is?
csv.py does not carry version information in the header, but it sits
in Frameworks/Python.framework/Versions/2.3/lib/python2.3/csv.py, and
Python is version 2.3.5.
Try the attached
rgheck wrote:
That one worked here, too. Can you find out what version you csv.py is?
csv.py does not carry version information in the header, but it sits in
Frameworks/Python.framework/Versions/2.3/lib/python2.3/csv.py, and
Python is version 2.3.5.
Try the attached this time.
Both the p
On Thursday 18 September 2008 18:11:43 rgheck wrote:
> That one worked here, too. Can you find out what version you csv.py is?
>
> Try the attached this time.
I see what you are doing and I agree. The problem should be the None value for
the dialect, why this fails with this file and not with oth
On Thursday 18 September 2008 16:42:35 rgheck wrote:
> Works here. I'm guessing maybe you have an older version of python? I
> think line_num may only have come into being with python 2.5 (see here:
> http://docs.python.org/whatsnew/modules.html). If so, probably we
> shouldn't use that but should
Konrad Hofbauer wrote:
Fast reply, including correct diagnose, and patch! :-)
rgheck wrote:
Works here. I'm guessing maybe you have an older version of python?
Indeed. Python 2.3.5.
Since this is the system-default for a fully patched Mac OS X 10.4,
this should be fixed (or mentioned in the
Fast reply, including correct diagnose, and patch! :-)
rgheck wrote:
Works here. I'm guessing maybe you have an older version of python?
Indeed. Python 2.3.5.
Since this is the system-default for a fully patched Mac OS X 10.4, this
should be fixed (or mentioned in the docu that it does not w
Konrad Hofbauer wrote:
Hello,
I try to import the attached simple csv file into Lyx, but csv2lyx
fails with:
$ python
/Applications/LyX-1.6.0rc2.app/Contents/Resources/scripts/csv2lyx.py
NoiseResult.csv Traceback (most recent call last):
File
"/Applications/LyX-1.6.0rc2.app/Con
Hello,
I try to import the attached simple csv file into Lyx, but csv2lyx fails
with:
$ python /Applications/LyX-1.6.0rc2.app/Contents/Resources/scripts/csv2lyx.py NoiseResult.csv
Traceback (most recent call last):
File "/Applications/LyX-1.6.0rc2.app/Contents/Resources/scripts/csv2l
Uwe Stöhr wrote:
> > Hartmut suggested to rename the import format from "Comma-separated
> > values"
>
> > to "Table (CSV)". I'm fine with that.
>
> I did this now in trunk. This could also be done for branch
Done.
Jürgen
> I suggest to commit to the stable branch also the updated version.
Already done.
> Hartmut suggested to rename the import format from "Comma-separated values"
> to "Table (CSV)". I'm fine with that.
I did this now in trunk. This could also be done for branch.
regards Uwe
On Sunday 18 May 2008 20:22:44 Uwe Stöhr wrote:
> OK, done. As Jürgen agreed, I also committed it to branch.
>
> regards Uwe
I suggest to commit to the stable branch also the updated version. Note that I
had removed the reference from the documentation to the file format, it is
easier to all of
José Matos schrieb:
The last version of Hartmut (#c19) can be committed to trunk, now any
improvement can happen on the repository. :-)
OK, done. As Jürgen agreed, I also committed it to branch.
regards Uwe
José Matos wrote:
> The last version of Hartmut (#c19) can be committed to trunk, now any
> improvement can happen on the repository. :-)
+1.
It will be easier to follow the changes in diffs than in reworked files.
Hartmut suggested to rename the import format from "Comma-separated values"
to "T
On Saturday 17 May 2008 17:32:01 Uwe Stöhr wrote:
> The new version works perfect for me. But Hartmut has found a bug:
> http://bugzilla.lyx.org/show_bug.cgi?id=4852#c18
> and has a fix for this.
> I doubt that his testfile is conform to the CSV specification. So Hartmut,
> could you please send a
The new version works perfect for me. But Hartmut has found a bug:
http://bugzilla.lyx.org/show_bug.cgi?id=4852#c18
and has a fix for this.
I doubt that his testfile is conform to the CSV specification. So Hartmut, could you please send a
diff to José's version to see what you have done to fix t
On Friday 16 May 2008 01:12:14 Uwe Stöhr wrote:
> > Instead of using our method to decide what is the column delimiter I
> > have used the csv sniffer (that is the method name, not my fault). :-)
>
> The sniffer works with all my test documents, also the ones generated by
> Excel, but you forgot
a LyX-table for versions 1.5.0 and higher (LyX table format 276).
# It uses Python's csv module for parsing.
# The original csv2lyx was witten by Antonio Gulino <[EMAIL PROTECTED]>
# in Perl for LyX 1.x and modified for LyX table format 276 by the author.
#
import csv, unicodedata
impo
On Wednesday 14 May 2008 23:55:06 Uwe Stöhr wrote:
> Attached is a new CSV2lyx importer written mainly by Hartmut Haase.
> It uses Python's built in CSV reader that is available since Python 2.3. I
> added a method to automatically detect the correct column separator.
>
>
Uwe Stöhr wrote:
> Attached is a new CSV2lyx importer written mainly by Hartmut Haase.
> It uses Python's built in CSV reader that is available since Python 2.3. I
> added a method to automatically detect the correct column separator.
Excellent. After the pythons have reviewed it,
Attached is a new CSV2lyx importer written mainly by Hartmut Haase.
It uses Python's built in CSV reader that is available since Python 2.3. I added a method to
automatically detect the correct column separator.
There are only minor tweaks to do I think. I'm sending it that the Pyth
José Matos wrote:
> I agree with Rich, if it works it should go.
I committed it to trunk now. Please test.
I still haven't decided if it will go into 1.5.5.
Jürgen
On Friday 02 May 2008 20:11:12 rgheck wrote:
> I didn't test it, but I don't see anything wrong with the code. It's not
> the most Python-ish code I ever saw, but if it works, it should be fine.
>
> rh
I agree with Rich, if it works it should go. (With all the due respect to
Harmut but) there is
Jürgen Spitzmüller wrote:
Hartmut Haase wrote:
attached is a little Python-program to convert csv-tables to LyX. It can
easily be built into LyX via configure.py.
Thanks Hartmut, for updating this script and for converting it to Python.
If some Pythonists can review the script (and ma
Hartmut Haase wrote:
> attached is a little Python-program to convert csv-tables to LyX. It can
> easily be built into LyX via configure.py.
Thanks Hartmut, for updating this script and for converting it to Python.
If some Pythonists can review the script (and maybe one ot two people test
it), I
Hi,
attached is a little Python-program to convert csv-tables to LyX. It can
easily be built into LyX via configure.py.
--
Viele Grüße,
Hartmut
Hungerhilfe: http://www.thehungersite.com
Kampagne gegen den Ausverkauf der Deutschen Bahn:
http://www.bahn-fuer-alle.de
Das heutige Motto:
Never say
Hartmut Haase wrote:
> I have "modernized" csv2lyx to meet the needs of lyx154, and
> I believe we should/could implement it into LyX.
Good idea in general, but it needs to be rewritten in python to be included in
the LyX distribution.
Jürgen
Hi,
I have "modernized" csv2lyx to meet the needs of lyx154, and
I believe we should/could implement it into LyX. I have tested it, and it
works fine. Or does anybody know another method to import tables from MS or
OO?
--
Viele Grüße,
Hartmut
Hungerhilfe: http://www.thehung
On Tuesday 11 March 2008 09:17:05 Hartmut Haase wrote:
> Hi,
> I attach a little script that converts csv-tables to LyX.
That seems to be a popular need as there is already another script that does
the same.
ftp://ftp.lyx.org/pub/lyx/contrib/tools/csv2lyx-1.0.0.tar.gz
> Unfortunately
> I attach a little script that converts csv-tables to LyX. Unfortunately it is
> a little old, and the output cannot be read by LyX > 1.3.x (I use lyx137).
> Maybe a developer can uptdate it and/or implement it into LyX because it is
> the only program I know to get tables in a resonable way in
nto LyX.
--
Viele Grüße,
Hartmut
Hungerhilfe: http://www.thehungersite.com
Kampagne gegen den Ausverkauf der Deutschen Bahn:
http://www.bahn-fuer-alle.de
Das heutige Motto:
You have an unusual equipment for success. Be sure to use it properly.
csv2lyx-1.0.0.tar.gz
Description: application/tgz
> "Antonio" == Antonio Gulino <[EMAIL PROTECTED]> writes:
Antonio> Because I think I have some problems with my mailsystem, I
Antonio> post again this response. Sorry for the disturb. antonio
Thanks. The file is on ftp.lyx.org/pub/lyx/contrib now.
JMarc
lt;[EMAIL PROTECTED]>
Cc: Guenter Milde <[EMAIL PROTECTED]>
Subject: Re: csv2lyx to the contribs?
Si j'ai bien compris, voulais-tu un tar-file comprimé.
Le contenu est (tar xfvz csv2lyx-1.0.0.tar.gz):
./csv2lyx-1.0.0/
./csv2lyx-1.0.0/README
./csv2lyx-1.0.0/csv2lyx
./csv2lyx-1.0.0/csv2lyx.htm
>>>>> "Antonio" == Antonio Gulino <[EMAIL PROTECTED]> writes:
Antonio> On Wed, 7 Nov 2001, Guenter Milde wrote:
>> By the way, how about uploading the csv2lyx script to the contribs
>> on the main lyx server?
Antonio> Why not?
Antonio> If you
On Wed, 7 Nov 2001, Guenter Milde wrote:
> By the way, how about uploading the csv2lyx script to the contribs on
> the main lyx server?
Why not?
If you think it's a good idea, let me know. I send you the last version.
Maybe I must do other things, like a README file or so.
Changin
37 matches
Mail list logo